nova-ui/abi/FeeManager.json
2022-12-04 07:02:30 +01:00

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" }
]
}
]