@gateway.fm/gtw-dvf-client-js
Version:
DVF client js lib with gateway.fm rpc endpoints
365 lines (346 loc) • 7.23 kB
JSON
[
{
"type":"event",
"name":"BridgedDeposit",
"inputs":[
{
"type":"address",
"name":"user",
"internalType":"address",
"indexed":true
},
{
"type":"address",
"name":"token",
"internalType":"address",
"indexed":true
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256",
"indexed":false
}
],
"anonymous":false
},
{
"type":"event",
"name":"BridgedWithdrawal",
"inputs":[
{
"type":"address",
"name":"user",
"internalType":"address",
"indexed":true
},
{
"type":"address",
"name":"token",
"internalType":"address",
"indexed":true
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256",
"indexed":false
},
{
"type":"string",
"name":"withdrawalId",
"internalType":"string",
"indexed":false
}
],
"anonymous":false
},
{
"type":"event",
"name":"OwnershipTransferred",
"inputs":[
{
"type":"address",
"name":"previousOwner",
"internalType":"address",
"indexed":true
},
{
"type":"address",
"name":"newOwner",
"internalType":"address",
"indexed":true
}
],
"anonymous":false
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"addFunds",
"inputs":[
{
"type":"address",
"name":"token",
"internalType":"address"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
}
]
},
{
"type":"function",
"stateMutability":"payable",
"outputs":[
],
"name":"addFundsNative",
"inputs":[
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"authorize",
"inputs":[
{
"type":"address",
"name":"user",
"internalType":"address"
},
{
"type":"bool",
"name":"value",
"internalType":"bool"
}
]
},
{
"type":"function",
"stateMutability":"view",
"outputs":[
{
"type":"bool",
"name":"",
"internalType":"bool"
}
],
"name":"authorized",
"inputs":[
{
"type":"address",
"name":"",
"internalType":"address"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"deposit",
"inputs":[
{
"type":"address",
"name":"token",
"internalType":"address"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
}
]
},
{
"type":"function",
"stateMutability":"payable",
"outputs":[
],
"name":"depositNative",
"inputs":[
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"initialize",
"inputs":[
]
},
{
"type":"function",
"stateMutability":"view",
"outputs":[
{
"type":"address",
"name":"",
"internalType":"address"
}
],
"name":"owner",
"inputs":[
]
},
{
"type":"function",
"stateMutability":"view",
"outputs":[
{
"type":"bool",
"name":"",
"internalType":"bool"
}
],
"name":"processedWithdrawalIds",
"inputs":[
{
"type":"string",
"name":"",
"internalType":"string"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"removeFunds",
"inputs":[
{
"type":"address",
"name":"token",
"internalType":"address"
},
{
"type":"address",
"name":"to",
"internalType":"address"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"removeFundsNative",
"inputs":[
{
"type":"address",
"name":"to",
"internalType":"address payable"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
}
]
},
{
"type":"function",
"stateMutability":"view",
"outputs":[
],
"name":"renounceOwnership",
"inputs":[
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"transferOwner",
"inputs":[
{
"type":"address",
"name":"newOwner",
"internalType":"address"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"transferOwnership",
"inputs":[
{
"type":"address",
"name":"newOwner",
"internalType":"address"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"withdraw",
"inputs":[
{
"type":"address",
"name":"token",
"internalType":"address"
},
{
"type":"address",
"name":"to",
"internalType":"address"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
},
{
"type":"string",
"name":"withdrawalId",
"internalType":"string"
}
]
},
{
"type":"function",
"stateMutability":"nonpayable",
"outputs":[
],
"name":"withdrawNative",
"inputs":[
{
"type":"address",
"name":"to",
"internalType":"address payable"
},
{
"type":"uint256",
"name":"amount",
"internalType":"uint256"
},
{
"type":"string",
"name":"withdrawalId",
"internalType":"string"
}
]
}
]