Skip to content

Commit

Permalink
Merge pull request #9 from FUSIONFoundation/develop
Browse files Browse the repository at this point in the history
add buildSendTimeLockTx
khaneight authored Apr 23, 2020
2 parents fb854d3 + 7d865f8 commit fff83e6
Showing 3 changed files with 11 additions and 1 deletion.
Binary file modified examples/blockexplorerapi/Archive.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions lib/web3FusionExtend.js
Original file line number Diff line number Diff line change
@@ -633,6 +633,16 @@ exports.extend = function(web3) {
call: "fsntx_takeSwap",
params: 1,
inputFormatter: [web3._extend.formatters.inputTransactionFormatter]
}),
new web3._extend.Method({
name: "buildSendTimeLockTx",
call: "fsntx_buildSendTimeLockTx",
params: 1,
inputFormatter: [
function(options) {
return web3._extend.formatters.inputTransactionFormatter(options);
}
]
})
]
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-fusion-extend",
"version": "1.0.0-beta.36",
"version": "1.0.0-beta.37",
"description": "A web3 layer with functions for FUSON's protocol",
"main": "./index.js",
"directories": {

0 comments on commit fff83e6

Please sign in to comment.