diff --git a/ethereum/src/send-lockups.js b/ethereum/src/send-lockups.js index 6ca79286..5be26753 100644 --- a/ethereum/src/send-lockups.js +++ b/ethereum/src/send-lockups.js @@ -32,7 +32,15 @@ module.exports = function(callback) { await token.approve(bridge.address, "1000000000000000000"); while (true) { - let ev = await bridge.lockAssets(token.address, "1000", "0x1230000000000000000000000000000000000000000000000000000000000000", 1 /* Solana */, 0); + let ev = await bridge.lockAssets( + token.address, /* asset address */ + "1000000005", /* amount */ + "0x1230000000000000000000000000000000000000000000000000000000000000", /* recipient */ + 1, /* target chain: solana */ + 0, /* nonce */ + false /* refund dust? */ + ); + let block = await web3.eth.getBlock('latest'); console.log("block", block.number, "with txs", block.transactions, "and time", block.timestamp); await advanceBlock();