|
@@ -447,7 +447,7 @@ export abstract class BaseClient {
|
|
|
// receiver
|
|
|
// you have to provide one of timeout
|
|
|
new Height(0, 0), // timeout height
|
|
|
- ((new Date().valueOf() + 100000) * 1000000).toString(), // timeout timestamp
|
|
|
+ ((new Date().valueOf() + 3500000) * 1000000).toString(), // timeout timestamp
|
|
|
// timeout timestamp
|
|
|
`{"move":{"message":{"module_address":"0x42cd8467b1c86e59bf319e5664a09b6b5840bb3fac64f5ce690b5041c530565a","module_name":"swap_transfer","function_name":"mixed_route_swap_to","type_args":[],"args":["KxToiwb36zAB/GsetggCNYVVpN+xpO02UHMJotdmzk0=","AQIBACBjlv8aKTjnJqzBAbnFQUuAXZpgXAPI4IMk9cDIgH98vA==",${size2},${size},${bcs
|
|
|
.address()
|
|
@@ -567,15 +567,14 @@ export abstract class BaseClient {
|
|
|
}
|
|
|
|
|
|
async newBridgeUsdc2BlackWings() {
|
|
|
- const random = this.randomAmount(1000000, 1000000 * 3)
|
|
|
const msg = new MsgTransfer(
|
|
|
'transfer',
|
|
|
'channel-13',
|
|
|
- new Coin('uusdc', random),
|
|
|
+ new Coin('uusdc', 1000000),
|
|
|
this.key.accAddress,
|
|
|
this.key.accAddress,
|
|
|
null, // timeout height
|
|
|
- ((new Date().valueOf() + 100000) * 1000000).toString(),
|
|
|
+ ((new Date().valueOf() + 3500000) * 1000000).toString(),
|
|
|
)
|
|
|
return await this.broadcast(msg)
|
|
|
}
|
|
@@ -588,7 +587,7 @@ export abstract class BaseClient {
|
|
|
this.key.accAddress,
|
|
|
this.key.accAddress,
|
|
|
null, // timeout height
|
|
|
- ((new Date().valueOf() + 100000) * 1000000).toString(),
|
|
|
+ ((new Date().valueOf() + 3500000) * 1000000).toString(),
|
|
|
)
|
|
|
return await this.broadcast(msg)
|
|
|
}
|
|
@@ -601,7 +600,7 @@ export abstract class BaseClient {
|
|
|
this.key.accAddress,
|
|
|
this.key.accAddress,
|
|
|
null, // timeout height
|
|
|
- ((new Date().valueOf() + 100000) * 1000000).toString(),
|
|
|
+ ((new Date().valueOf() + 3500000) * 1000000).toString(),
|
|
|
)
|
|
|
return await this.broadcast(msg)
|
|
|
}
|
|
@@ -613,7 +612,7 @@ export abstract class BaseClient {
|
|
|
this.key.accAddress,
|
|
|
this.key.accAddress,
|
|
|
null, // timeout height
|
|
|
- ((new Date().valueOf() + 100000) * 1000000).toString(),
|
|
|
+ ((new Date().valueOf() + 3500000) * 1000000).toString(),
|
|
|
)
|
|
|
return await this.broadcast(msg)
|
|
|
}
|