UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

132 lines (131 loc) 2.47 kB
[ { "inputs": [], "name": "BridgeAddressCannotBeZero", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "wanted", "type": "uint256" }, { "internalType": "uint256", "name": "got", "type": "uint256" } ], "name": "InsufficientEthValue", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "MsgShouldNotContainValue", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "msgValue", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "MsgValueDoesNotMatchAmount", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "remoteSender", "type": "address" }, { "internalType": "address", "name": "localReceiver", "type": "address" }, { "internalType": "bytes", "name": "bridgeSpecificPayload", "type": "bytes" } ], "name": "finalizeWithdrawERC20", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getBridgeFeeInNative", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "localToken", "type": "address" }, { "internalType": "address", "name": "remoteToken", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "bridgeSpecificPayload", "type": "bytes" } ], "name": "sendERC20", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "payable", "type": "function" } ]