UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

201 lines (200 loc) 3.73 kB
[ { "inputs": [ { "internalType": "contract IL1StandardBridge", "name": "l1Bridge", "type": "address" }, { "internalType": "contract IWrappedNative", "name": "wrappedNative", "type": "address" }, { "internalType": "contract IOptimismPortal", "name": "optimismPortal", "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": [], "name": "InvalidFinalizationAction", "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": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "finalizeWithdrawERC20", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getBridgeFeeInNative", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getL1Bridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOptimismPortal", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWrappedNative", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "", "type": "bytes" } ], "name": "sendERC20", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]