test-contracts-sovryn
Version:
Smart contracts for the Sovryn protocol and external integrations.
74 lines (73 loc) • 1.79 kB
JSON
[
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"internalType": "address",
"name": "_user",
"type": "address"
}
],
"name": "getUserPoolTokenBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_user",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "onTokensDeposited",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_poolToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_user",
"type": "address"
}
],
"name": "withdraw",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]