@@ -308,7 +308,7 @@ export default class Proxy {
308
308
return this . proxyTx ( proxy , 'sellCancel' , [ cfd . options . address ] , gasLimit , gasPrice , privateKey )
309
309
}
310
310
311
- async proxyBuy ( proxy , cfd , buyBuyerSide , buyValue , gasLimit = 500000 , gasPrice = undefined , privateKey = undefined ) {
311
+ async proxyBuy ( proxy , cfd , buyBuyerSide , buyValue , gasLimit = 800000 , gasPrice = undefined , privateKey = undefined ) {
312
312
return this . proxyTx ( proxy , 'buy' , [
313
313
cfd . options . address ,
314
314
this . daiToken . options . address ,
@@ -325,7 +325,7 @@ export default class Proxy {
325
325
] , gasLimit , gasPrice , privateKey )
326
326
}
327
327
328
- async proxyWithdraw ( proxy , cfd , value , gasLimit = 350000 , gasPrice = undefined , privateKey = undefined ) {
328
+ async proxyWithdraw ( proxy , cfd , value , gasLimit = 700000 , gasPrice = undefined , privateKey = undefined ) {
329
329
return this . proxyTx ( proxy , 'withdraw' , [
330
330
cfd . options . address ,
331
331
value . toString ( )
@@ -336,15 +336,15 @@ export default class Proxy {
336
336
return this . proxyTx ( proxy , 'cancelNew' , [ cfd . options . address ] , gasLimit , gasPrice , privateKey )
337
337
}
338
338
339
- async proxyLiquidateMutual ( proxy , cfd , gasLimit = 500000 , gasPrice = undefined , privateKey = undefined ) {
339
+ async proxyLiquidateMutual ( proxy , cfd , gasLimit = 700000 , gasPrice = undefined , privateKey = undefined ) {
340
340
return this . proxyTx ( proxy , 'liquidateMutual' , [ cfd . options . address ] , gasLimit , gasPrice , privateKey )
341
341
}
342
342
343
343
async proxyLiquidateMutualCancel ( proxy , cfd , gasLimit = 150000 , gasPrice = undefined , privateKey = undefined ) {
344
344
return this . proxyTx ( proxy , 'liquidateMutualCancel' , [ cfd . options . address ] , gasLimit , gasPrice , privateKey )
345
345
}
346
346
347
- async proxyForceTerminate ( proxy , cfd , gasLimit = 400000 , gasPrice = undefined , privateKey = undefined ) {
347
+ async proxyForceTerminate ( proxy , cfd , gasLimit = 700000 , gasPrice = undefined , privateKey = undefined ) {
348
348
return this . proxyTx ( proxy , 'forceTerminate' , [ cfd . options . address ] , gasLimit , gasPrice , privateKey )
349
349
}
350
350
0 commit comments