@axelar-network/interchain-token-service
Version:
Interchain token service for EVM chains to faciliate interchain token transfers and contract calls
139 lines (138 loc) • 4.86 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "FlowLimit",
"sourceName": "contracts/utils/FlowLimit.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "flowAmount",
"type": "uint256"
},
{
"internalType": "address",
"name": "tokenManager",
"type": "address"
}
],
"name": "FlowAmountExceededLimit",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "flowAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "flowToAdd",
"type": "uint256"
},
{
"internalType": "address",
"name": "tokenManager",
"type": "address"
}
],
"name": "FlowAmountOverflow",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "flowAmount",
"type": "uint256"
},
{
"internalType": "address",
"name": "tokenManager",
"type": "address"
}
],
"name": "FlowLimitExceeded",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "tokenId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "flowLimit_",
"type": "uint256"
}
],
"name": "FlowLimitSet",
"type": "event"
},
{
"inputs": [],
"name": "flowInAmount",
"outputs": [
{
"internalType": "uint256",
"name": "flowInAmount_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "flowLimit",
"outputs": [
{
"internalType": "uint256",
"name": "flowLimit_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "flowOutAmount",
"outputs": [
{
"internalType": "uint256",
"name": "flowOutAmount_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x6080604052348015600f57600080fd5b506101d08061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632f3c7888146100465780637dbab19b146100605780638b38b35d14610068575b600080fd5b61004e61008f565b60405190815260200160405180910390f35b61004e6100b3565b7f201b7a0b7c19aaddc4ce9579b7df8d2db123805861bc7763627f13e04d8af42f5461004e565b60008061009e6154604261015f565b905060006100ab826100cf565b549392505050565b6000806100c26154604261015f565b905060006100ab82610124565b604080517fb221f782e2afd1b10c9284a915bb8aa319f8e6cc8d90aebea117327eafbd28c160208201529081018290526000906060015b60408051601f19818403018152919052805160209091012092915050565b604080517ff4ff4213eda59f47bb3fdf8cb7fcc07540628bdeb7f1aebcfe07049bbd9f634f6020820152908101829052600090606001610106565b600082610195577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea2646970667358221220cac326c99e9324404b38e5e904836af34ab9321ee7d777b661c2df63cb94602964736f6c634300081b0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80632f3c7888146100465780637dbab19b146100605780638b38b35d14610068575b600080fd5b61004e61008f565b60405190815260200160405180910390f35b61004e6100b3565b7f201b7a0b7c19aaddc4ce9579b7df8d2db123805861bc7763627f13e04d8af42f5461004e565b60008061009e6154604261015f565b905060006100ab826100cf565b549392505050565b6000806100c26154604261015f565b905060006100ab82610124565b604080517fb221f782e2afd1b10c9284a915bb8aa319f8e6cc8d90aebea117327eafbd28c160208201529081018290526000906060015b60408051601f19818403018152919052805160209091012092915050565b604080517ff4ff4213eda59f47bb3fdf8cb7fcc07540628bdeb7f1aebcfe07049bbd9f634f6020820152908101829052600090606001610106565b600082610195577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea2646970667358221220cac326c99e9324404b38e5e904836af34ab9321ee7d777b661c2df63cb94602964736f6c634300081b0033",
"linkReferences": {},
"deployedLinkReferences": {}
}