cic-client
Version:
Typescript libraries for building CIC client applications
97 lines (96 loc) • 2.39 kB
JSON
[
{
"inputs": [
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minReturn",
"type": "uint256"
},
{
"internalType": "address",
"name": "_affiliateAccount",
"type": "address"
},
{
"internalType": "uint256",
"name": "_affiliateFee",
"type": "uint256"
}
],
"name": "convert2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function",
"payable": true
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minReturn",
"type": "uint256"
}
],
"name": "convert",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_path",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "rateByPath",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
}
]