forked from tornadocash/nova-ui
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
|
[
|
||
|
{
|
||
|
"type": "function",
|
||
|
"stateMutability": "view",
|
||
|
"outputs": [{ "type": "bytes32", "name": "", "internalType": "bytes32" }],
|
||
|
"name": "FOREIGN_TO_HOME_FEE",
|
||
|
"inputs": []
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
|
"stateMutability": "view",
|
||
|
"outputs": [{ "type": "bytes32", "name": "", "internalType": "bytes32" }],
|
||
|
"name": "HOME_TO_FOREIGN_FEE",
|
||
|
"inputs": []
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
|
"stateMutability": "view",
|
||
|
"outputs": [{ "type": "uint256", "name": "", "internalType": "uint256" }],
|
||
|
"name": "calculateFee",
|
||
|
"inputs": [
|
||
|
{ "type": "bytes32", "name": "_feeType", "internalType": "bytes32" },
|
||
|
{ "type": "address", "name": "_token", "internalType": "address" },
|
||
|
{ "type": "uint256", "name": "_value", "internalType": "uint256" }
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"type": "function",
|
||
|
"stateMutability": "view",
|
||
|
"outputs": [{ "type": "uint256", "name": "", "internalType": "uint256" }],
|
||
|
"name": "getFee",
|
||
|
"inputs": [
|
||
|
{ "type": "bytes32", "name": "_feeType", "internalType": "bytes32" },
|
||
|
{ "type": "address", "name": "_token", "internalType": "address" }
|
||
|
]
|
||
|
}
|
||
|
]
|