UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

156 lines (155 loc) 2.87 kB
[ { "inputs": [ { "internalType": "contract IL2GatewayRouter", "name": "l2GatewayRouter", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "recipient", "type": "address" } ], "name": "depositNativeToL1", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "finalizeWithdrawERC20", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getBridgeFeeInNative", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "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": "", "type": "bytes" } ], "name": "sendERC20", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "payable", "type": "function" } ]