bindings

package
v0.0.0-...-5994507 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CanonicalTransactionChainABI = CanonicalTransactionChainMetaData.ABI

CanonicalTransactionChainABI is the input ABI used to generate the binding from. Deprecated: Use CanonicalTransactionChainMetaData.ABI instead.

View Source
var CanonicalTransactionChainBin = CanonicalTransactionChainMetaData.Bin

CanonicalTransactionChainBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CanonicalTransactionChainMetaData.Bin instead.

View Source
var CanonicalTransactionChainMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_libAddressManager\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_maxTransactionGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2GasDiscountDivisor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_enqueueGasCost\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"l2GasDiscountDivisor\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"enqueueGasCost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"enqueueL2GasPrepaid\",\"type\":\"uint256\"}],\"name\":\"L2GasParamsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_startingQueueIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_numQueueElements\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalElements\",\"type\":\"uint256\"}],\"name\":\"QueueBatchAppended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_startingQueueIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_numQueueElements\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalElements\",\"type\":\"uint256\"}],\"name\":\"SequencerBatchAppended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_batchSize\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_prevTotalElements\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"TransactionBatchAppended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_l1TxOrigin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_queueIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"TransactionEnqueued\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_ROLLUP_TX_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_ROLLUP_TX_GAS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appendSequencerBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"batches\",\"outputs\":[{\"internalType\":\"contractIChainStorageContainer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"enqueue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enqueueGasCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enqueueL2GasPrepaid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastBlockNumber\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastTimestamp\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextQueueIndex\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumPendingQueueElements\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getQueueElement\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"}],\"internalType\":\"structLib_OVMCodec.QueueElement\",\"name\":\"_element\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getQueueLength\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBatches\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalBatches\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalElements\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalElements\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2GasDiscountDivisor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"libAddressManager\",\"outputs\":[{\"internalType\":\"contractLib_AddressManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxTransactionGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2GasDiscountDivisor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_enqueueGasCost\",\"type\":\"uint256\"}],\"name\":\"setGasParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5060405162001a9838038062001a9883398101604081905261003191610072565b600080546001600160a01b0319166001600160a01b03861617905560048390556002829055600181905561006581836100bd565b600355506100ea92505050565b6000806000806080858703121561008857600080fd5b84516001600160a01b038116811461009f57600080fd5b60208601516040870151606090970151919890975090945092505050565b60008160001904831182151516156100e557634e487b7160e01b600052601160045260246000fd5b500290565b61199e80620000fa6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",
}

CanonicalTransactionChainMetaData contains all meta data concerning the CanonicalTransactionChain contract.

View Source
var CrossDomainMessengerABI = CrossDomainMessengerMetaData.ABI

CrossDomainMessengerABI is the input ABI used to generate the binding from. Deprecated: Use CrossDomainMessengerMetaData.ABI instead.

View Source
var CrossDomainMessengerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"MESSAGE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_CALLDATA_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CALL_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CONSTANT_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_GAS_CHECK_BUFFER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_RESERVED_GAS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"baseGas\",\"inputs\":[{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"failedMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"messageNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"otherMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"relayMessage\",\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"sendMessage\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"successfulMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"xDomainMessageSender\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"FailedRelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessage\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"messageNonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessageExtension1\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}

CrossDomainMessengerMetaData contains all meta data concerning the CrossDomainMessenger contract.

View Source
var L1CrossDomainMessengerABI = L1CrossDomainMessengerMetaData.ABI

L1CrossDomainMessengerABI is the input ABI used to generate the binding from. Deprecated: Use L1CrossDomainMessengerMetaData.ABI instead.

View Source
var L1CrossDomainMessengerBin = L1CrossDomainMessengerMetaData.Bin

L1CrossDomainMessengerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L1CrossDomainMessengerMetaData.Bin instead.

View Source
var L1CrossDomainMessengerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"MESSAGE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_CALLDATA_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PORTAL\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractOptimismPortal\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CALL_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CONSTANT_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_GAS_CHECK_BUFFER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_RESERVED_GAS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"baseGas\",\"inputs\":[{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"failedMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_superchainConfig\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"},{\"name\":\"_portal\",\"type\":\"address\",\"internalType\":\"contractOptimismPortal\"},{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"messageNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nativeTokenAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onApprove\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"otherMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"portal\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractOptimismPortal\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"relayMessage\",\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"sendMessage\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"sendNativeTokenMessage\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"successfulMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"superchainConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unpackOnApproveData\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"xDomainMessageSender\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"FailedRelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessage\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"messageNonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessageExtension1\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
	Bin: "0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200023f565b600054600390600160a81b900460ff1615801562000052575060005460ff808316600160a01b90920416105b620000bb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a81b1960ff8416600160a01b021661ffff60a01b1990911617600160a81b17905560fb80546001600160a01b038087166001600160a01b03199283161790925560fc805486841690831617905560fd8054928516929091169190911790556200013f73420000000000000000000000000000000000000762000188565b6000805460ff60a81b1916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b600054600160a81b900460ff16620001f75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000b2565b60cc546001600160a01b03166200021d5760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b612ddb806200024f6000396000f3fe6080604052600436106101c25760003560e01c80635c975abb116100f7578063a4e7f8bd11610095578063d764ad0b11610064578063d764ad0b14610559578063db505d801461056c578063e0e593c514610599578063ecc70428146105b957600080fd5b8063a4e7f8bd146104b9578063b1b1b209146104e9578063b28ade2514610519578063c0c53b8b1461053957600080fd5b806383a74074116100d157806383a74074146104455780638cbeeef21461035757806392a162cf1461045c5780639fce812c1461048e57600080fd5b80635c975abb146103ee5780636425666b146104035780636e296e451461043057600080fd5b80633dbb202b116101645780634c1d6a691161013e5780634c1d6a69146103575780634d0047ee1461036d57806354fd4d50146103825780635644cfdf146103d857600080fd5b80633dbb202b146102fa5780633f827a5a1461030f5780634273ca161461033757600080fd5b80630ff754ea116101a05780630ff754ea1461023f5780632828d7e81461028b57806333d7e2bd146102a057806335e80ab3146102cd57600080fd5b806301ffc9a7146101c7578063028f85f7146101fc5780630c5684981461022a575b600080fd5b3480156101d357600080fd5b506101e76101e2366004612601565b61061e565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211601081565b60405167ffffffffffffffff90911681526020016101f3565b34801561023657600080fd5b50610211603f81565b34801561024b57600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f3565b34801561029757600080fd5b50610211604081565b3480156102ac57600080fd5b5060fd546102669073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102d957600080fd5b5060fb546102669073ffffffffffffffffffffffffffffffffffffffff1681565b61030d6103083660046126ca565b6106b7565b005b34801561031b57600080fd5b50610324600181565b60405161ffff90911681526020016101f3565b34801561034357600080fd5b506101e7610352366004612731565b610914565b34801561036357600080fd5b50610211619c4081565b34801561037957600080fd5b50610266610ac8565b34801561038e57600080fd5b506103cb6040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101f3919061281a565b3480156103e457600080fd5b5061021161138881565b3480156103fa57600080fd5b506101e7610b61565b34801561040f57600080fd5b5060fc546102669073ffffffffffffffffffffffffffffffffffffffff1681565b34801561043c57600080fd5b50610266610bf5565b34801561045157600080fd5b5061021162030d4081565b34801561046857600080fd5b5061047c61047736600461282d565b610cdc565b6040516101f3969594939291906128b8565b34801561049a57600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff16610266565b3480156104c557600080fd5b506101e76104d4366004612910565b60ce6020526000908152604090205460ff1681565b3480156104f557600080fd5b506101e7610504366004612910565b60cb6020526000908152604090205460ff1681565b34801561052557600080fd5b50610211610534366004612929565b610dc5565b34801561054557600080fd5b5061030d61055436600461297d565b610e35565b61030d6105673660046129c8565b611072565b34801561057857600080fd5b5060cf546102669073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105a557600080fd5b5061030d6105b4366004612a4e565b611b04565b3480156105c557600080fd5b5061061060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101f3565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f4273ca160000000000000000000000000000000000000000000000000000000014806106b157507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b60cf546107e99073ffffffffffffffffffffffffffffffffffffffff166106df858585610dc5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061074b60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016107679796959493929190612abf565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611b19565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561086e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610880959493929190612b1e565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b600061091e610ac8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f6f6e6c7920616363657074206e617469766520746f6b656e20617070726f766560448201527f2063616c6c6261636b000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000806000803660006109f08989610cdc565b9550955095509550955095508573ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff16148015610a365750838a145b8015610a425750600084115b610aa8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f696e76616c6964206f6e417070726f766520646174610000000000000000000060448201526064016109d4565b610ab6868686868686611c1a565b5060019b9a5050505050505050505050565b60fd54604080517f4d0047ee000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691634d0047ee9160048083019260209291908290030181865afa158015610b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c9190612b6c565b905090565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610bd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c9190612b89565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610cbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084016109d4565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60008080803681604c871015610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f496e76616c6964206f6e417070726f7665206461746120666f72204c3143726f60448201527f7373446f6d61696e4d657373656e67657200000000000000000000000000000060648201526084016109d4565b5050508435606090811c96601487013590911c95602881013595604882013560e01c9550604c90910193507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb4019150565b6000611388619c4080603f610de1604063ffffffff8816612bda565b610deb9190612c0a565b610df6601088612bda565b610e039062030d40612c58565b610e0d9190612c58565b610e179190612c58565b610e219190612c58565b610e2b9190612c58565b90505b9392505050565b6000546003907501000000000000000000000000000000000000000000900460ff16158015610e83575060005460ff8083167401000000000000000000000000000000000000000090920416105b610f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016109d4565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff60ff84167401000000000000000000000000000000000000000002167fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff90911617750100000000000000000000000000000000000000000017905560fb805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc805486841690831617905560fd80549285169290911691909117905561100e734200000000000000000000000000000000000007611ee6565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b61107a610b61565b156110e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c312043726f7373446f6d61696e4d657373656e6765723a207061757365640060448201526064016109d4565b341561116f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f00000000000000000000000000000000000000000000000060648201526084016109d4565b60f087901c6002811061122a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a4016109d4565b8061ffff1660000361131f57600061127b878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f9250612022915050565b600081815260cb602052604090205490915060ff161561131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c6179656400000000000000000060648201526084016109d4565b505b6000611365898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061204192505050565b90506000611371610ac8565b905061137b612064565b156113d257600082815260ce602052604090205460ff161561139f5761139f612c84565b86156113cd5760fc546113cd9073ffffffffffffffffffffffffffffffffffffffff8381169116308a612140565b611470565b600082815260ce602052604090205460ff16611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c617965640000000000000000000000000000000060648201526084016109d4565b611479886121db565b1580156114b257508073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605960248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f657373206f72206e6174697665546f6b656e4164647265737300000000000000608482015260a4016109d4565b600082815260cb602052604090205460ff1615611603576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c617965640000000000000000000060648201526084016109d4565b61162486611615611388619c40612c58565b67ffffffffffffffff1661221e565b158061164a575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561176457600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d6573736167650000000000000000000000000000000000000060648201526084016109d4565b505050611afb565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b1617905560018715611848576040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a81166004830152602482018a905283169063095ea7b3906044016020604051808303816000875af1158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190612b89565b90505b600061189a8a619c405a61185c9190612cb3565b60008a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061223c92505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905088158015906118d5575080155b15611976576040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b811660048301526000602483015284169063095ea7b3906044016020604051808303816000875af115801561194f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119739190612b89565b91505b8080156119805750815b156119e857600084815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555185917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2611af5565b600084815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555185917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3201611af5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d6573736167650000000000000000000000000000000000000060648201526084016109d4565b50505050505b50505050505050565b611b12338686848787611c1a565b5050505050565b3415611b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f44656e79206465706f736974696e67204554480000000000000000000000000060448201526064016109d4565b60fc546040517fb9e5595800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b9e5595890611be29087908690819089906000908990600401612cca565b600060405180830381600087803b158015611bfc57600080fd5b505af1158015611c10573d6000803e3d6000fd5b5050505050505050565b8315611cee576000611c2a610ac8565b9050611c4e73ffffffffffffffffffffffffffffffffffffffff8216883088612140565b60fc546040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018790529082169063095ea7b3906044016020604051808303816000875af1158015611cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ceb9190612b89565b50505b60cf54611d9e9073ffffffffffffffffffffffffffffffffffffffff16611d16848487610dc5565b867fd764ad0b00000000000000000000000000000000000000000000000000000000611d8260cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b8b8b8b8b8b8b6040516024016107679796959493929190612abf565b8473ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a878484611e2360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b88604051611e35959493929190612b1e565b60405180910390a28573ffffffffffffffffffffffffffffffffffffffff167f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d54685604051611e8591815260200190565b60405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff00000000000000000000000000000000000000000000000000000000000090911617905550505050565b6000547501000000000000000000000000000000000000000000900460ff16611f91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016109d4565b60cc5473ffffffffffffffffffffffffffffffffffffffff16611fdb5760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600061203085858585612256565b805190602001209050949350505050565b60006120518787878787876122ef565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610b5c575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa158015612100573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121249190612b6c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526121d590859061238e565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff82163014806106b157505060fc5473ffffffffffffffffffffffffffffffffffffffff90811691161490565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161226f9493929190612d1d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161230c96959493929190612d67565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b60006123f0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661249f9092919063ffffffff16565b80519091501561249a578080602001905181019061240e9190612b89565b61249a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016109d4565b505050565b6060610e2b84846000858573ffffffffffffffffffffffffffffffffffffffff85163b612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109d4565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125519190612db2565b60006040518083038185875af1925050503d806000811461258e576040519150601f19603f3d011682016040523d82523d6000602084013e612593565b606091505b50915091506125a38282866125ae565b979650505050505050565b606083156125bd575081610e2e565b8251156125cd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d4919061281a565b60006020828403121561261357600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e2e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b803563ffffffff811681146126c557600080fd5b919050565b600080600080606085870312156126e057600080fd5b84356126eb81612643565b9350602085013567ffffffffffffffff81111561270757600080fd5b61271387828801612668565b90945092506127269050604086016126b1565b905092959194509250565b60008060008060006080868803121561274957600080fd5b853561275481612643565b9450602086013561276481612643565b935060408601359250606086013567ffffffffffffffff81111561278757600080fd5b61279388828901612668565b969995985093965092949392505050565b60005b838110156127bf5781810151838201526020016127a7565b838111156121d55750506000910152565b600081518084526127e88160208601602086016127a4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610e2e60208301846127d0565b6000806020838503121561284057600080fd5b823567ffffffffffffffff81111561285757600080fd5b61286385828601612668565b90969095509350505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015263ffffffff8516606083015260a0608083015261290460a08301848661286f565b98975050505050505050565b60006020828403121561292257600080fd5b5035919050565b60008060006040848603121561293e57600080fd5b833567ffffffffffffffff81111561295557600080fd5b61296186828701612668565b90945092506129749050602085016126b1565b90509250925092565b60008060006060848603121561299257600080fd5b833561299d81612643565b925060208401356129ad81612643565b915060408401356129bd81612643565b809150509250925092565b600080600080600080600060c0888a0312156129e357600080fd5b8735965060208801356129f581612643565b95506040880135612a0581612643565b9450606088013593506080880135925060a088013567ffffffffffffffff811115612a2f57600080fd5b612a3b8a828b01612668565b989b979a50959850939692959293505050565b600080600080600060808688031215612a6657600080fd5b8535612a7181612643565b945060208601359350604086013567ffffffffffffffff811115612a9457600080fd5b612aa088828901612668565b9094509250612ab39050606087016126b1565b90509295509295909350565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152612b1160c08301848661286f565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000612b4e60808301868861286f565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215612b7e57600080fd5b8151610e2e81612643565b600060208284031215612b9b57600080fd5b81518015158114610e2e57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615612c0157612c01612bab565b02949350505050565b600067ffffffffffffffff80841680612c4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115612c7b57612c7b612bab565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015612cc557612cc5612bab565b500390565b73ffffffffffffffffffffffffffffffffffffffff8716815285602082015284604082015267ffffffffffffffff84166060820152821515608082015260c060a0820152600061290460c08301846127d0565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152612d5660808301856127d0565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261290460c08301846127d0565b60008251612dc48184602087016127a4565b919091019291505056fea164736f6c634300080f000a",
}

L1CrossDomainMessengerMetaData contains all meta data concerning the L1CrossDomainMessenger contract.

View Source
var L1StandardBridgeABI = L1StandardBridgeMetaData.ABI

L1StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use L1StandardBridgeMetaData.ABI instead.

View Source
var L1StandardBridgeBin = L1StandardBridgeMetaData.Bin

L1StandardBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L1StandardBridgeMetaData.Bin instead.

View Source
var L1StandardBridgeMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_BRIDGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeERC20To\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeETH\",\"inputs\":[{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"bridgeETHTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"bridgeNativeToken\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeNativeTokenTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositERC20\",\"inputs\":[{\"name\":\"_l1Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositERC20To\",\"inputs\":[{\"name\":\"_l1Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositETH\",\"inputs\":[{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"depositETHTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"depositNativeToken\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositNativeTokenTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"deposits\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"finalizeBridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizeBridgeETH\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"finalizeERC20Withdrawal\",\"inputs\":[{\"name\":\"_l1Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizeETHWithdrawal\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_messenger\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"},{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"},{\"name\":\"_superchainConfig\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l2TokenBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"messenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nativeTokenAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onApprove\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"otherBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"superchainConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unpackOnApproveData\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ERC20BridgeFinalized\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20BridgeInitiated\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20DepositInitiated\",\"inputs\":[{\"name\":\"l1Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"l2Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20WithdrawalFinalized\",\"inputs\":[{\"name\":\"l1Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"l2Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeFinalized\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeInitiated\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHDepositInitiated\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHWithdrawalFinalized\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false}]",
	Bin: "0x60806040523480156200001157600080fd5b50620000206000808062000026565b620001f8565b600054600390610100900460ff1615801562000049575060005460ff8083169116105b620000b25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805461ffff191660ff831617610100179055603380546001600160a01b038085166001600160a01b031992831617909255603280549286169290911691909117905562000116847342000000000000000000000000000000000000106200015d565b6000805461ff001916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b600054610100900460ff16620001ca5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000a9565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b6138ef80620002086000396000f3fe6080604052600436106101dc5760003560e01c80637f46ddb21161010257806395911e5a11610095578063c0c53b8b11610064578063c0c53b8b14610648578063c89701a214610668578063e11013dd14610695578063e56b44a31461047f57600080fd5b806395911e5a1461051f5780639a2ac6d514610602578063a9f9e67514610615578063b1a1a8821461063557600080fd5b80638f601f66116100d15780638f601f661461055f57806391c49bf8146104d4578063927ede2d146105a557806392a162cf146105d057600080fd5b80637f46ddb2146104d4578063838b2520146104ff57806386c1a9de1461051f578063870876231461053f57600080fd5b80633cb747bf1161017a57806354fd4d501161014957806354fd4d50146104295780635791f5c21461047f57806358a997f61461049f5780635c975abb146104bf57600080fd5b80633cb747bf146103a75780634273ca16146103d45780634d0047ee146103f4578063540abf731461040957600080fd5b80631532ec34116101b65780631532ec34146103025780631635f5fd1461031557806333d7e2bd1461032857806335e80ab31461037a57600080fd5b80630166a07a1461029a57806301ffc9a7146102ba57806309fc8843146102ef57600080fd5b3661029557333b15610275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610293333362030d40604051806020016040528060008152506106a8565b005b600080fd5b3480156102a657600080fd5b506102936102b5366004613132565b6106bb565b3480156102c657600080fd5b506102da6102d53660046131ca565b610ca4565b60405190151581526020015b60405180910390f35b6102936102fd366004613225565b610d3d565b610293610310366004613278565b610e14565b610293610323366004613278565b610e28565b34801561033457600080fd5b506032546103559073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102e6565b34801561038657600080fd5b506033546103559073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103b357600080fd5b506003546103559073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103e057600080fd5b506102da6103ef366004613278565b611259565b34801561040057600080fd5b50610355611417565b34801561041557600080fd5b506102936104243660046132eb565b6114b0565b34801561043557600080fd5b506104726040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102e691906133d8565b34801561048b57600080fd5b5061029361049a3660046133eb565b6114fe565b3480156104ab57600080fd5b506102936104ba36600461343f565b611541565b3480156104cb57600080fd5b506102da611615565b3480156104e057600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff16610355565b34801561050b57600080fd5b5061029361051a3660046132eb565b6116a9565b34801561052b57600080fd5b5061029361053a3660046134c2565b6116ee565b34801561054b57600080fd5b5061029361055a36600461343f565b6117c0565b34801561056b57600080fd5b5061059761057a36600461351c565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102e6565b3480156105b157600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610355565b3480156105dc57600080fd5b506105f06105eb366004613555565b611894565b6040516102e696959493929190613597565b610293610610366004613623565b61197d565b34801561062157600080fd5b50610293610630366004613132565b6119bf565b610293610643366004613225565b6119ce565b34801561065457600080fd5b50610293610663366004613652565b611a9f565b34801561067457600080fd5b506004546103559073ffffffffffffffffffffffffffffffffffffffff1681565b6102936106a3366004613623565b611c55565b6106b58484348585611c98565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561078e575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610752573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610776919061369d565b73ffffffffffffffffffffffffffffffffffffffff16145b610840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a40161026c565b610848611615565b156108af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4c31205374616e646172644272696467653a2070617573656400000000000000604482015260640161026c565b60006108b9611417565b90506108c488611f3f565b80156108fc57508073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b15610a4a5761090b8888611f9b565b6109bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a40161026c565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528916906340c10f1990604401600060405180830381600087803b158015610a2d57600080fd5b505af1158015610a41573d6000803e3d6000fd5b50505050610c9a565b73ffffffffffffffffffffffffffffffffffffffff8816158015610a97575073ffffffffffffffffffffffffffffffffffffffff8716734200000000000000000000000000000000000486145b15610b90576000610ab9865a87604051806020016040528060008152506120bb565b905080610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c65640000000000000000000000000000000000000000000000000000000000606482015260840161026c565b610b8a87878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120d592505050565b50610bf5565b610bb173ffffffffffffffffffffffffffffffffffffffff89168686612148565b610bf5888888888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061221c92505050565b8773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c9a5773ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610c669085906136e9565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c16835292905220555b5050505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f4273ca16000000000000000000000000000000000000000000000000000000001480610d3757507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b333b15610dcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f41000000000000000000606482015260840161026c565b610e0f3333348686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c9892505050565b505050565b610e218585858585610e28565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610efb575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee3919061369d565b73ffffffffffffffffffffffffffffffffffffffff16145b610fad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a40161026c565b610fb5611615565b1561101c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4c31205374616e646172644272696467653a2070617573656400000000000000604482015260640161026c565b6000611026611417565b905034156110b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206d757374206e6f74207265636569766560448201527f204574686572206576656e20696620746869732069732070617961626c650000606482015260840161026c565b3073ffffffffffffffffffffffffffffffffffffffff86160361115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c660000000000000000000000000000000000000000000000000000000000606482015260840161026c565b60035473ffffffffffffffffffffffffffffffffffffffff90811690861603611206576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e676572000000000000000000000000000000000000000000000000606482015260840161026c565b60035461122e9073ffffffffffffffffffffffffffffffffffffffff838116911630876122aa565b6112518173deaddeaddeaddeaddeaddeaddeaddeaddead000088888888886106bb565b505050505050565b600080611264611417565b90503373ffffffffffffffffffffffffffffffffffffffff82161461130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f6f6e6c7920616363657074206e617469766520746f6b656e20617070726f766560448201527f2063616c6c6261636b0000000000000000000000000000000000000000000000606482015260840161026c565b600080600080600061131d8989611894565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250969b50949950929750909550935050505073ffffffffffffffffffffffffffffffffffffffff8c81169086161480156113865750828a145b80156113925750600083115b6113f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f696e76616c6964206f6e417070726f7665206461746100000000000000000000604482015260640161026c565b6114058585858585612308565b5060019b9a5050505050505050505050565b603254604080517f4d0047ee000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691634d0047ee9160048083019260209291908290030181865afa158015611487573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ab919061369d565b905090565b6114f587873388888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061252692505050565b50505050505050565b610e213386868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061230892505050565b333b156115d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f41000000000000000000606482015260840161026c565b61125186863333888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061258192505050565b603354604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015611685573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ab9190613700565b6114f587873388888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061258192505050565b333b1561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f41000000000000000000606482015260840161026c565b6106b53333868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061230892505050565b333b1561184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f41000000000000000000606482015260840161026c565b61125186863333888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061252692505050565b60008080803681604c87101561192c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e76616c6964206f6e417070726f7665206461746120666f72204c3153746160448201527f6e64617264427269646765000000000000000000000000000000000000000000606482015260840161026c565b5050508435606090811c96601487013590911c95602881013595604882013560e01c9550604c90910193507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb4019150565b6106b533858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106a892505050565b6114f5878787878787876106bb565b333b15611a5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f41000000000000000000606482015260840161026c565b610e0f33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106a892505050565b600054600390610100900460ff16158015611ac1575060005460ff8083169116105b611b4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161026c565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001660ff8316176101001790556033805473ffffffffffffffffffffffffffffffffffffffff8085167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556032805492861692909116919091179055611bf184734200000000000000000000000000000000000010612590565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6106b53385348686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c9892505050565b823414611d27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c75650000606482015260840161026c565b7342000000000000000000000000000000000004866000527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b6020527f93848fc853fd2af31e80d9c5877c6e8e6fe1846ae85b985f9f0f735e671f910054611d90908490613722565b7342000000000000000000000000000000000004866000527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b6020527f93848fc853fd2af31e80d9c5877c6e8e6fe1846ae85b985f9f0f735e671f910055611dfa8585858461267a565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611e7390734200000000000000000000000000000000000486906000908c908c908c908b9060240161373a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611f0692918790600401613795565b600060405180830381600087803b158015611f2057600080fd5b505af1158015611f34573d6000803e3d6000fd5b505050505050505050565b6000611f6b827f1d1d8b63000000000000000000000000000000000000000000000000000000006126ed565b80610d375750610d37827fec4fc8e3000000000000000000000000000000000000000000000000000000006126ed565b6000611fc7837f1d1d8b63000000000000000000000000000000000000000000000000000000006126ed565b15612070578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061369d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050610d37565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612017573d6000803e3d6000fd5b600080600080845160208601878a8af19695505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63184846040516121349291906137da565b60405180910390a36106b584848484612710565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610e0f9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261277d565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3868686604051612294939291906137f3565b60405180910390a4611251868686868686612889565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526106b59085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161219a565b6000612312611417565b905061233673ffffffffffffffffffffffffffffffffffffffff82168730876122aa565b6003546040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018690529082169063095ea7b3906044016020604051808303816000875af11580156123af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d39190613700565b506123f68173deaddeaddeaddeaddeaddeaddeaddeaddead000088888887612911565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff9283169263e0e593c592169087907f1635f5fd0000000000000000000000000000000000000000000000000000000090612458908c908c9085908b90602401613831565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526124ec939291899060040161387a565b600060405180830381600087803b15801561250657600080fd5b505af115801561251a573d6000803e3d6000fd5b50505050505050505050565b8673ffffffffffffffffffffffffffffffffffffffff16612545611417565b73ffffffffffffffffffffffffffffffffffffffff16036125725761256d8585858585612308565b6114f5565b6114f58787878787878761299f565b6114f587878787878787612526565b600054610100900460ff16612627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161026c565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f2384846040516126d99291906137da565b60405180910390a36106b584848484612cca565b60006126f883612d29565b801561270957506127098383612d8d565b9392505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161276f9291906137da565b60405180910390a350505050565b60006127df826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e5c9092919063ffffffff16565b805190915015610e0f57808060200190518101906127fd9190613700565b610e0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161026c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051612901939291906137f3565b60405180910390a4505050505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396868686604051612989939291906137f3565b60405180910390a4611251868686868686612e73565b6129a887611f3f565b15612af6576129b78787611f9b565b612a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a40161026c565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015612ad957600080fd5b505af1158015612aed573d6000803e3d6000fd5b50505050612b8a565b612b1873ffffffffffffffffffffffffffffffffffffffff88168630866122aa565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054612b56908490613722565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b612b98878787878786612911565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090612bfc908b908d908c908c908c908b9060240161373a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252612c8f92918790600401613795565b600060405180830381600087803b158015612ca957600080fd5b505af1158015612cbd573d6000803e3d6000fd5b5050505050505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161276f9291906137da565b6000612d55827f01ffc9a700000000000000000000000000000000000000000000000000000000612d8d565b8015610d375750612d86827fffffffff00000000000000000000000000000000000000000000000000000000612d8d565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612e45575060208210155b8015612e515750600081115b979650505050505050565b6060612e6b8484600085612eeb565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051612901939291906137f3565b606082471015612f7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161026c565b73ffffffffffffffffffffffffffffffffffffffff85163b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161026c565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161302491906138c6565b60006040518083038185875af1925050503d8060008114613061576040519150601f19603f3d011682016040523d82523d6000602084013e613066565b606091505b5091509150612e5182828660608315613080575081612709565b8251156130905782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026c91906133d8565b73ffffffffffffffffffffffffffffffffffffffff811681146130e657600080fd5b50565b60008083601f8401126130fb57600080fd5b50813567ffffffffffffffff81111561311357600080fd5b60208301915083602082850101111561312b57600080fd5b9250929050565b600080600080600080600060c0888a03121561314d57600080fd5b8735613158816130c4565b96506020880135613168816130c4565b95506040880135613178816130c4565b94506060880135613188816130c4565b93506080880135925060a088013567ffffffffffffffff8111156131ab57600080fd5b6131b78a828b016130e9565b989b979a50959850939692959293505050565b6000602082840312156131dc57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461270957600080fd5b803563ffffffff8116811461322057600080fd5b919050565b60008060006040848603121561323a57600080fd5b6132438461320c565b9250602084013567ffffffffffffffff81111561325f57600080fd5b61326b868287016130e9565b9497909650939450505050565b60008060008060006080868803121561329057600080fd5b853561329b816130c4565b945060208601356132ab816130c4565b935060408601359250606086013567ffffffffffffffff8111156132ce57600080fd5b6132da888289016130e9565b969995985093965092949392505050565b600080600080600080600060c0888a03121561330657600080fd5b8735613311816130c4565b96506020880135613321816130c4565b95506040880135613331816130c4565b9450606088013593506133466080890161320c565b925060a088013567ffffffffffffffff8111156131ab57600080fd5b60005b8381101561337d578181015183820152602001613365565b838111156106b55750506000910152565b600081518084526133a6816020860160208601613362565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612709602083018461338e565b60008060008060006080868803121561340357600080fd5b853561340e816130c4565b9450602086013593506134236040870161320c565b9250606086013567ffffffffffffffff8111156132ce57600080fd5b60008060008060008060a0878903121561345857600080fd5b8635613463816130c4565b95506020870135613473816130c4565b9450604087013593506134886060880161320c565b9250608087013567ffffffffffffffff8111156134a457600080fd5b6134b089828a016130e9565b979a9699509497509295939492505050565b600080600080606085870312156134d857600080fd5b843593506134e86020860161320c565b9250604085013567ffffffffffffffff81111561350457600080fd5b613510878288016130e9565b95989497509550505050565b6000806040838503121561352f57600080fd5b823561353a816130c4565b9150602083013561354a816130c4565b809150509250929050565b6000806020838503121561356857600080fd5b823567ffffffffffffffff81111561357f57600080fd5b61358b858286016130e9565b90969095509350505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015263ffffffff8516606083015260a060808301528260a0830152828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b6000806000806060858703121561363957600080fd5b8435613644816130c4565b93506134e86020860161320c565b60008060006060848603121561366757600080fd5b8335613672816130c4565b92506020840135613682816130c4565b91506040840135613692816130c4565b809150509250925092565b6000602082840312156136af57600080fd5b8151612709816130c4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136fb576136fb6136ba565b500390565b60006020828403121561371257600080fd5b8151801515811461270957600080fd5b60008219821115613735576137356136ba565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261378960c083018461338e565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006137c4606083018561338e565b905063ffffffff83166040830152949350505050565b828152604060208201526000612e6b604083018461338e565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000613828606083018461338e565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613870608083018461338e565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526080604082015260006138af608083018561338e565b905063ffffffff8316606083015295945050505050565b600082516138d8818460208701613362565b919091019291505056fea164736f6c634300080f000a",
}

L1StandardBridgeMetaData contains all meta data concerning the L1StandardBridge contract.

View Source
var L2CrossDomainMessengerABI = L2CrossDomainMessengerMetaData.ABI

L2CrossDomainMessengerABI is the input ABI used to generate the binding from. Deprecated: Use L2CrossDomainMessengerMetaData.ABI instead.

View Source
var L2CrossDomainMessengerBin = L2CrossDomainMessengerMetaData.Bin

L2CrossDomainMessengerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2CrossDomainMessengerMetaData.Bin instead.

View Source
var L2CrossDomainMessengerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"MESSAGE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_CALLDATA_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CALL_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_CONSTANT_OVERHEAD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_GAS_CHECK_BUFFER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"RELAY_RESERVED_GAS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"baseGas\",\"inputs\":[{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"failedMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_l1CrossDomainMessenger\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l1CrossDomainMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"messageNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"otherMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"relayMessage\",\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"sendMessage\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"successfulMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"xDomainMessageSender\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"FailedRelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RelayedMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessage\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"messageNonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SentMessageExtension1\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
	Bin: "0x60806040523480156200001157600080fd5b506200001e600062000024565b620001ea565b600054600390600160a81b900460ff1615801562000050575060005460ff808316600160a01b90920416105b620000b95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a81b1960ff8416600160a01b021661ffff60a01b1990911617600160a81b179055620000ec8262000133565b6000805460ff60a81b1916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b600054600160a81b900460ff16620001a25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000b0565b60cc546001600160a01b0316620001c85760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611c2c80620001fa6000396000f3fe60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da366004611725565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b60405161019991906117f7565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611811565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611811565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a236600461182a565b6107b5565b3480156103b357600080fd5b506101df6103c236600461187e565b610823565b6101df6103d536600461189b565b6109e8565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c979695949392919061196a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526112cd565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106359594939291906119c9565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a46565b6107db9190611a76565b6107e6601088611a46565b6107f39062030d40611ac4565b6107fd9190611ac4565b6108079190611ac4565b6108119190611ac4565b61081b9190611ac4565b949350505050565b6000546003907501000000000000000000000000000000000000000000900460ff16158015610871575060005460ff8083167401000000000000000000000000000000000000000090920416105b6108fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff60ff84167401000000000000000000000000000000000000000002167fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff9091161775010000000000000000000000000000000000000000001790556109868261135b565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60f087901c60028110610aa3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610b98576000610af4878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f9250611497915050565b600081815260cb602052604090205490915060ff1615610b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610bde898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114b692505050565b9050610c2760cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c5f57853414610c3b57610c3b611af0565b600081815260ce602052604090205460ff1615610c5a57610c5a611af0565b610db1565b3415610d13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610db1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610dba876114d9565b15610e6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f2d85610f1e611388619c40611ac4565b67ffffffffffffffff1661152e565b1580610f53575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561106c57600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3201611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112c4565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a1617905560006110fd88619c405a6110c09190611b1f565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061154c92505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111b357600082815260cb602052604090205460ff161561115057611150611af0565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112c0565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061132390889088908790600401611b36565b6000604051808303818588803b15801561133c57600080fd5b505af1158015611350573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611406576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114505760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114a585858585611566565b805190602001209050949350505050565b60006114c68787878787876115ff565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611528575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161157f9493929190611b7e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161161c96959493929190611bc8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146116c057600080fd5b50565b60008083601f8401126116d557600080fd5b50813567ffffffffffffffff8111156116ed57600080fd5b60208301915083602082850101111561170557600080fd5b9250929050565b803563ffffffff8116811461172057600080fd5b919050565b6000806000806060858703121561173b57600080fd5b84356117468161169e565b9350602085013567ffffffffffffffff81111561176257600080fd5b61176e878288016116c3565b909450925061178190506040860161170c565b905092959194509250565b6000815180845260005b818110156117b257602081850181015186830182015201611796565b818111156117c4576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061180a602083018461178c565b9392505050565b60006020828403121561182357600080fd5b5035919050565b60008060006040848603121561183f57600080fd5b833567ffffffffffffffff81111561185657600080fd5b611862868287016116c3565b909450925061187590506020850161170c565b90509250925092565b60006020828403121561189057600080fd5b813561180a8161169e565b600080600080600080600060c0888a0312156118b657600080fd5b8735965060208801356118c88161169e565b955060408801356118d88161169e565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561190257600080fd5b61190e8a828b016116c3565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a08301526119bc60c083018486611921565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff861681526080602082015260006119f9608083018688611921565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611a6d57611a6d611a17565b02949350505050565b600067ffffffffffffffff80841680611ab8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611ae757611ae7611a17565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b3157611b31611a17565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611b75606083018461178c565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611bb7608083018561178c565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c1360c083018461178c565b9897505050505050505056fea164736f6c634300080f000a",
}

L2CrossDomainMessengerMetaData contains all meta data concerning the L2CrossDomainMessenger contract.

View Source
var L2OutputOracleABI = L2OutputOracleMetaData.ABI

L2OutputOracleABI is the input ABI used to generate the binding from. Deprecated: Use L2OutputOracleMetaData.ABI instead.

View Source
var L2OutputOracleBin = L2OutputOracleMetaData.Bin

L2OutputOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2OutputOracleMetaData.Bin instead.

View Source
var L2OutputOracleMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"CHALLENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"FINALIZATION_PERIOD_SECONDS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"L2_BLOCK_TIME\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PROPOSER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"SUBMISSION_INTERVAL\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"challenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"computeL2Timestamp\",\"inputs\":[{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deleteL2Outputs\",\"inputs\":[{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizationPeriodSeconds\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2Output\",\"inputs\":[{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputProposal\",\"components\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2OutputAfter\",\"inputs\":[{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputProposal\",\"components\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2OutputIndexAfter\",\"inputs\":[{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_submissionInterval\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_l2BlockTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_startingBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_startingTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_challenger\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_finalizationPeriodSeconds\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l2BlockTime\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestOutputIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nextBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nextOutputIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeL2Output\",\"inputs\":[{\"name\":\"_outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_l1BlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_l1BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"proposer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"startingBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"startingTimestamp\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"submissionInterval\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OutputProposed\",\"inputs\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"l2OutputIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"l1Timestamp\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OutputsDeleted\",\"inputs\":[{\"name\":\"prevNextOutputIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"newNextOutputIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
	Bin: "0x60806040523480156200001157600080fd5b50620000256001806000808080806200002b565b62000328565b600054610100900460ff16158080156200004c5750600054600160ff909116105b806200007c575062000069306200031960201b6200135d1760201c565b1580156200007c575060005460ff166001145b620000e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000109576000805461ff0019166101001790555b60008811620001815760405162461bcd60e51b815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e20300000000000006064820152608401620000dc565b60008711620001f95760405162461bcd60e51b815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e20300000000000000000000000006064820152608401620000dc565b428511156200027f5760405162461bcd60e51b8152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201526374696d6560e01b608482015260a401620000dc565b6004889055600587905560018690556002859055600780546001600160a01b038087166001600160a01b0319928316179092556006805492861692909116919091179055600882905580156200030f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6001600160a01b03163b151590565b6115d580620003386000396000f3fe60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",
}

L2OutputOracleMetaData contains all meta data concerning the L2OutputOracle contract.

View Source
var L2StandardBridgeABI = L2StandardBridgeMetaData.ABI

L2StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use L2StandardBridgeMetaData.ABI instead.

View Source
var L2StandardBridgeBin = L2StandardBridgeMetaData.Bin

L2StandardBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2StandardBridgeMetaData.Bin instead.

View Source
var L2StandardBridgeMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_BRIDGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeERC20To\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeETH\",\"inputs\":[{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"bridgeETHTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"deposits\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"finalizeBridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizeBridgeETH\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"finalizeDeposit\",\"inputs\":[{\"name\":\"_l1Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_otherBridge\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l1TokenBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"messenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"otherBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdrawNativeToken\",\"inputs\":[{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdrawNativeTokenTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdrawTo\",\"inputs\":[{\"name\":\"_l2Token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"DepositFinalized\",\"inputs\":[{\"name\":\"l1Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"l2Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20BridgeFinalized\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20BridgeInitiated\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeFinalized\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeInitiated\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalInitiated\",\"inputs\":[{\"name\":\"l1Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"l2Token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false}]",
	Bin: "0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b620004dd1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612c1e80620002276000396000f3fe6080604052600436106101635760003560e01c8063662a633a116100c0578063a3a7954811610074578063c4d66de811610059578063c4d66de81461047d578063c89701a21461049d578063e11013dd146104ca57600080fd5b8063a3a7954814610457578063b7420d311461046a57600080fd5b806387087623116100a557806387087623146103c65780638f601f66146103e6578063927ede2d1461042c57600080fd5b8063662a633a146103b35780637f46ddb2146102a357600080fd5b806336c717c111610117578063540abf73116100fc578063540abf731461032157806354fd4d50146103415780635c975abb1461039757600080fd5b806336c717c1146102a35780633cb747bf146102f457600080fd5b80631635f5fd116101485780631635f5fd1461026a578063239955f71461027d57806332b7006d1461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b156101fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b61023073deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d40604051806020016040528060008152506104f9565b005b600080fd5b34801561024357600080fd5b50610230610252366004612611565b6105d4565b6102306102653660046126c2565b610976565b610230610278366004612715565b610a4d565b61023061028b366004612788565b610e9f565b61023061029e3660046127eb565b610efd565b3480156102af57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561030057600080fd5b506003546102ca9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032d57600080fd5b5061023061033c36600461283f565b610fd7565b34801561034d57600080fd5b5061038a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102eb919061292c565b3480156103a357600080fd5b50604051600081526020016102eb565b6102306103c1366004612611565b61101c565b3480156103d257600080fd5b506102306103e136600461293f565b61108f565b3480156103f257600080fd5b5061041e6104013660046129c2565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102eb565b34801561043857600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102ca565b61023061046536600461293f565b611163565b6102306104783660046126c2565b6111a7565b34801561048957600080fd5b506102306104983660046129fb565b61128e565b3480156104a957600080fd5b506004546102ca9073ffffffffffffffffffffffffffffffffffffffff1681565b6102306104d8366004612788565b611437565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff87160161054857610543858585858561147a565b6105cc565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b99190612a18565b90506105ca87828888888888611644565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff16331480156106a7575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561066b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190612a18565b73ffffffffffffffffffffffffffffffffffffffff16145b610759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101f3565b6107628761196f565b156108b05761077187876119d1565b610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101f3565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561089357600080fd5b505af11580156108a7573d6000803e3d6000fd5b50505050610932565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108ee908490612a64565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c1683529390529190912091909155610932908585611af1565b6105ca878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611bc592505050565b333b15610a05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101f3565b610a483333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061147a92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b20575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b089190612a18565b73ffffffffffffffffffffffffffffffffffffffff16145b610bd2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101f3565b823414610c61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101f3565b3073ffffffffffffffffffffffffffffffffffffffff851603610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101f3565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610db1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101f3565b610df385858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c5392505050565b6000610e10855a8660405180602001604052806000815250611cf4565b9050806105cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101f3565b610ef773deaddeaddeaddeaddeaddeaddeaddeaddead00003386348787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104f992505050565b50505050565b333b15610f8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101f3565b610fd0853333878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104f992505050565b5050505050565b6105ca87873388888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061164492505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015611069575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b156110805761107b8585858585610a4d565b6105ca565b6105ca868887878787876105d4565b333b1561111e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101f3565b6105cc86863333888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061164492505050565b6105cc863387878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104f992505050565b333b15611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101f3565b610a4873deaddeaddeaddeaddeaddeaddeaddeaddead00003333348787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104f992505050565b600054610100900460ff16158080156112ae5750600054600160ff909116105b806112c85750303b1580156112c8575060005460ff166001145b611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101f3565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156113b257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6113d073420000000000000000000000000000000000000783611d0e565b801561143357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610ef73385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061147a92505050565b823414611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101f3565b61151585858584611df8565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611578908b908b9086908a90602401612a7b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261160b92918890600401612ac4565b6000604051808303818588803b15801561162457600080fd5b505af1158015611638573d6000803e3d6000fd5b50505050505050505050565b61164d8761196f565b1561179b5761165c87876119d1565b61170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101f3565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b15801561177e57600080fd5b505af1158015611792573d6000803e3d6000fd5b5050505061182f565b6117bd73ffffffffffffffffffffffffffffffffffffffff8816863086611e99565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546117fb908490612b09565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b61183d878787878786611ef7565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a00000000000000000000000000000000000000000000000000000000906118a1908b908d908c908c908c908b90602401612b21565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261193492918790600401612ac4565b600060405180830381600087803b15801561194e57600080fd5b505af1158015611962573d6000803e3d6000fd5b5050505050505050505050565b600061199b827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f85565b806119cb57506119cb827fec4fc8e300000000000000000000000000000000000000000000000000000000611f85565b92915050565b60006119fd837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f85565b15611aa6578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a719190612a18565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161490506119cb565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a4d573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a489084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611fa8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611c3d93929190612b7c565b60405180910390a46105cc8686868686866120b4565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611ce093929190612b7c565b60405180910390a4610ef78484848461213c565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611da5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101f3565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611e8593929190612b7c565b60405180910390a4610ef7848484846121a9565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610ef79085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611b43565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611f6f93929190612b7c565b60405180910390a46105cc868686868686612208565b6000611f9083612280565b8015611fa15750611fa183836122e4565b9392505050565b600061200a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123b39092919063ffffffff16565b805190915015610a4857808060200190518101906120289190612bba565b610a48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101f3565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd86868660405161212c93929190612b7c565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161219b929190612bdc565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161219b929190612bdc565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf86868660405161212c93929190612b7c565b60006122ac827f01ffc9a7000000000000000000000000000000000000000000000000000000006122e4565b80156119cb57506122dd827fffffffff000000000000000000000000000000000000000000000000000000006122e4565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d9150600051905082801561239c575060208210155b80156123a85750600081115b979650505050505050565b60606123c284846000856123ca565b949350505050565b60608247101561245c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101f3565b73ffffffffffffffffffffffffffffffffffffffff85163b6124da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f3565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125039190612bf5565b60006040518083038185875af1925050503d8060008114612540576040519150601f19603f3d011682016040523d82523d6000602084013e612545565b606091505b50915091506123a88282866060831561255f575081611fa1565b82511561256f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f3919061292c565b73ffffffffffffffffffffffffffffffffffffffff811681146125c557600080fd5b50565b60008083601f8401126125da57600080fd5b50813567ffffffffffffffff8111156125f257600080fd5b60208301915083602082850101111561260a57600080fd5b9250929050565b600080600080600080600060c0888a03121561262c57600080fd5b8735612637816125a3565b96506020880135612647816125a3565b95506040880135612657816125a3565b94506060880135612667816125a3565b93506080880135925060a088013567ffffffffffffffff81111561268a57600080fd5b6126968a828b016125c8565b989b979a50959850939692959293505050565b803563ffffffff811681146126bd57600080fd5b919050565b6000806000604084860312156126d757600080fd5b6126e0846126a9565b9250602084013567ffffffffffffffff8111156126fc57600080fd5b612708868287016125c8565b9497909650939450505050565b60008060008060006080868803121561272d57600080fd5b8535612738816125a3565b94506020860135612748816125a3565b935060408601359250606086013567ffffffffffffffff81111561276b57600080fd5b612777888289016125c8565b969995985093965092949392505050565b6000806000806060858703121561279e57600080fd5b84356127a9816125a3565b93506127b7602086016126a9565b9250604085013567ffffffffffffffff8111156127d357600080fd5b6127df878288016125c8565b95989497509550505050565b60008060008060006080868803121561280357600080fd5b853561280e816125a3565b945060208601359350612823604087016126a9565b9250606086013567ffffffffffffffff81111561276b57600080fd5b600080600080600080600060c0888a03121561285a57600080fd5b8735612865816125a3565b96506020880135612875816125a3565b95506040880135612885816125a3565b94506060880135935061289a608089016126a9565b925060a088013567ffffffffffffffff81111561268a57600080fd5b60005b838110156128d15781810151838201526020016128b9565b83811115610ef75750506000910152565b600081518084526128fa8160208601602086016128b6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611fa160208301846128e2565b60008060008060008060a0878903121561295857600080fd5b8635612963816125a3565b95506020870135612973816125a3565b945060408701359350612988606088016126a9565b9250608087013567ffffffffffffffff8111156129a457600080fd5b6129b089828a016125c8565b979a9699509497509295939492505050565b600080604083850312156129d557600080fd5b82356129e0816125a3565b915060208301356129f0816125a3565b809150509250929050565b600060208284031215612a0d57600080fd5b8135611fa1816125a3565b600060208284031215612a2a57600080fd5b8151611fa1816125a3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612a7657612a76612a35565b500390565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612aba60808301846128e2565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612af360608301856128e2565b905063ffffffff83166040830152949350505050565b60008219821115612b1c57612b1c612a35565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612b7060c08301846128e2565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612bb160608301846128e2565b95945050505050565b600060208284031215612bcc57600080fd5b81518015158114611fa157600080fd5b8281526040602082015260006123c260408301846128e2565b60008251612c078184602087016128b6565b919091019291505056fea164736f6c634300080f000a",
}

L2StandardBridgeMetaData contains all meta data concerning the L2StandardBridge contract.

View Source
var L2ToL1MessagePasserABI = L2ToL1MessagePasserMetaData.ABI

L2ToL1MessagePasserABI is the input ABI used to generate the binding from. Deprecated: Use L2ToL1MessagePasserMetaData.ABI instead.

View Source
var L2ToL1MessagePasserBin = L2ToL1MessagePasserMetaData.Bin

L2ToL1MessagePasserBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2ToL1MessagePasserMetaData.Bin instead.

View Source
var L2ToL1MessagePasserMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MESSAGE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initiateWithdrawal\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"messageNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sentMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"MessagePassed\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawerBalanceBurnt\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
	Bin: "0x608060405234801561001057600080fd5b506106d3806100206000396000f3fe6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",
}

L2ToL1MessagePasserMetaData contains all meta data concerning the L2ToL1MessagePasser contract.

View Source
var OptimismPortalABI = OptimismPortalMetaData.ABI

OptimismPortalABI is the input ABI used to generate the binding from. Deprecated: Use OptimismPortalMetaData.ABI instead.

View Source
var OptimismPortalBin = OptimismPortalMetaData.Bin

OptimismPortalBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OptimismPortalMetaData.Bin instead.

View Source
var OptimismPortalMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"depositTransaction\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_gasLimit\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_isCreation\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"donateETH\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"finalizeWithdrawalTransaction\",\"inputs\":[{\"name\":\"_tx\",\"type\":\"tuple\",\"internalType\":\"structTypes.WithdrawalTransaction\",\"components\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizedWithdrawals\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"guardian\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_l2Oracle\",\"type\":\"address\",\"internalType\":\"contractL2OutputOracle\"},{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"},{\"name\":\"_superchainConfig\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isOutputFinalized\",\"inputs\":[{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2Oracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractL2OutputOracle\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2Sender\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minimumGasLimit\",\"inputs\":[{\"name\":\"_byteCount\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"params\",\"inputs\":[],\"outputs\":[{\"name\":\"prevBaseFee\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"prevBoughtGas\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"prevBlockNum\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"paused_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proveWithdrawalTransaction\",\"inputs\":[{\"name\":\"_tx\",\"type\":\"tuple\",\"internalType\":\"structTypes.WithdrawalTransaction\",\"components\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_outputRootProof\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputRootProof\",\"components\":[{\"name\":\"version\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"messagePasserStorageRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"latestBlockhash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_withdrawalProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"provenWithdrawals\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2OutputIndex\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"superchainConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSuperchainConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSystemConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransactionDeposited\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"version\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"opaqueData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalFinalized\",\"inputs\":[{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"success\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalProven\",\"inputs\":[{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"BadTarget\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CallPaused\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"GasEstimation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LargeCalldata\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OutOfGas\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SmallGasLimit\",\"inputs\":[]}]",
	Bin: "0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200028f565b600054610100900460ff1615808015620000475750600054600160ff909116105b806200007757506200006430620001c160201b6200191f1760201c565b15801562000077575060005460ff166001145b620000e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000104576000805461ff0019166101001790555b603680546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b03191661010085841602179055603254166200016a57603280546001600160a01b03191661dead1790555b62000174620001d0565b8015620001bb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff166200023d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d7565b600154600160c01b90046001600160401b03166000036200028d5760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b615142806200029f6000396000f3fe6080604052600436106101125760003560e01c80638c3152e9116100a5578063a35d99df11610074578063cff0ab9611610059578063cff0ab961461039a578063e965084c1461043b578063e9e05c42146104c757600080fd5b8063a35d99df14610341578063c0c53b8b1461037a57600080fd5b80638c3152e9146102975780639b5f694a146102b75780639bf62d82146102e4578063a14238e71461031157600080fd5b806354fd4d50116100e157806354fd4d50146101fc5780635c975abb146102525780636dbffb78146102775780638b4c40b01461013757600080fd5b806333d7e2bd1461013e57806335e80ab314610195578063452a9320146101c75780634870496f146101dc57600080fd5b36610139576101373334620186a06000604051806020016040528060008152506104d5565b005b600080fd5b34801561014a57600080fd5b5060375461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101a157600080fd5b5060355461016b90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156101d357600080fd5b5061016b610692565b3480156101e857600080fd5b506101376101f7366004614709565b61072a565b34801561020857600080fd5b506102456040518060400160405280600581526020017f322e362e3000000000000000000000000000000000000000000000000000000081525081565b60405161018c919061485b565b34801561025e57600080fd5b50610267610d2d565b604051901515815260200161018c565b34801561028357600080fd5b5061026761029236600461486e565b610dc0565b3480156102a357600080fd5b506101376102b2366004614887565b610e7d565b3480156102c357600080fd5b5060365461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102f057600080fd5b5060325461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561031d57600080fd5b5061026761032c36600461486e565b60336020526000908152604090205460ff1681565b34801561034d57600080fd5b5061036161035c3660046148e1565b6116b8565b60405167ffffffffffffffff909116815260200161018c565b34801561038657600080fd5b506101376103953660046148fc565b6116d1565b3480156103a657600080fd5b50600154610402906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff928316602085015291169082015260600161018c565b34801561044757600080fd5b5061049961045636600461486e565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff928316602085015291169082015260600161018c565b6101376104d5366004614955565b8260005a90508380156104fd575073ffffffffffffffffffffffffffffffffffffffff871615155b15610534576040517f13496fda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61053e83516116b8565b67ffffffffffffffff168567ffffffffffffffff16101561058b576040517f4929b80800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201d4c0835111156105c9576040517f73052b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333281146105ea575033731111000000000000000000000000000000001111015b600034888888886040516020016106059594939291906149d2565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610675919061485b565b60405180910390a45050610689828261193b565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614a37565b905090565b610732610d2d565b15610769576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff160361082d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e74726163740060648201526084015b60405180910390fd5b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190614a74565b5190506108db6108d636869003860186614ad9565b611c12565b8114610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610824565b600061097487611c6e565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610a8a5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614a74565b5114155b610b16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e0000000000000000006064820152608401610824565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610bdf9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610bd5888a614b3f565b8a60400135611c9e565b610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610824565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614bc3565b6036546040517fa25ae55700000000000000000000000000000000000000000000000000000000815260048101839052600091610e759173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190614a74565b602001516fffffffffffffffffffffffffffffffff16611cc2565b92915050565b565b610e85610d2d565b15610ebc576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610f65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610824565b6000610f7082611c6e565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361105b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2079657400000000000000000000000000006064820152608401610824565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190614be0565b81602001516fffffffffffffffffffffffffffffffff1610156111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a401610824565b6111d681602001516fffffffffffffffffffffffffffffffff16611cc2565b611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a401610824565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561130f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113339190614a74565b82518151919250146113ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a401610824565b61140c81602001516fffffffffffffffffffffffffffffffff16611cc2565b6114be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a401610824565b60008381526033602052604090205460ff161561155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610824565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516115ff93929190611d68565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061166490841515815260200190565b60405180910390a28015801561167a5750326001145b156116b1576040517feeae4ed300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60006116c5826010614c28565b610e7590615208614c58565b600054610100900460ff16158080156116f15750600054600160ff909116105b8061170b5750303b15801561170b575060005460ff166001145b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610824565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156117f557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166118ae57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6118b6611dc6565b801561191957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611971907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614c84565b9050600061197d611ed9565b90506000816020015160ff16826000015163ffffffff1661199e9190614cca565b90508215611ad5576001546000906119d5908390700100000000000000000000000000000000900467ffffffffffffffff16614d32565b90506000836040015160ff16836119ec9190614da6565b600154611a0c9084906fffffffffffffffffffffffffffffffff16614da6565b611a169190614cca565b600154909150600090611a6790611a409084906fffffffffffffffffffffffffffffffff16614e62565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16611f9a565b90506001861115611a9657611a93611a4082876040015160ff1660018a611a8e9190614c84565b611fb9565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611b08908490700100000000000000000000000000000000900467ffffffffffffffff16614c58565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611b95576040517f77ebef4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154600090611bc1906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816614ed6565b90506000611bd348633b9aca0061200e565b611bdd9083614f13565b905060005a611bec9088614c84565b905080821115611c0857611c08611c038284614c84565b612025565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611c51949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611c51979096959101614f27565b600080611caa86612053565b9050611cb881868686612085565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d569190614be0565b611d609083614f7e565b421192915050565b6000806000611d788660006120b5565b905080611dae576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16611e5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610824565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff16600003610e7b5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614fbb565b6000611faf611fa985856120d3565b836120e3565b90505b9392505050565b6000670de0b6b3a7640000611ffa611fd18583614cca565b611fe390670de0b6b3a7640000614d32565b611ff585670de0b6b3a7640000614da6565b6120f2565b6120049086614da6565b611faf9190614cca565b60008183101561201e5781611fb2565b5090919050565b6000805a90505b825a6120389083614c84565b101561204e576120478261505a565b915061202c565b505050565b6060818051906020012060405160200161206f91815260200190565b6040516020818303038152906040529050919050565b60006120ac84612096878686612123565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60008183121561201e5781611fb2565b600081831261201e5781611fb2565b6000611fb2670de0b6b3a76400008361210a86612ba1565b6121149190614da6565b61211e9190614cca565b612de5565b60606000845111612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610824565b600061219b84613024565b905060006121a886613110565b90506000846040516020016121bf91815260200190565b60405160208183030381529060405290506000805b8451811015612b185760008582815181106121f1576121f1615092565b60200260200101519050845183111561228c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610824565b8260000361234557805180516020918201206040516122da926122b492910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610824565b61249c565b8051516020116123fb578051805160209182012060405161236f926122b492910190815260200190565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610824565b80518451602080870191909120825191909201201461249c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610824565b6124a860106001614f7e565b81602001515103612684578451830361261c576124e281602001516010815181106124d5576124d5615092565b6020026020010151613173565b96506000875111612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610824565b600186516125839190614c84565b8214612611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610824565b505050505050611fb2565b600085848151811061263057612630615092565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061265b5761265b615092565b6020026020010151905061266e816132d3565b955061267b600186614f7e565b94505050612b05565b600281602001515103612a7d57600061269c826132f8565b90506000816000815181106126b3576126b3615092565b016020015160f81c905060006126ca6002836150c1565b6126d59060026150e3565b905060006126e6848360ff1661331c565b905060006126f48a8961331c565b905060006127028383613352565b905080835114612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610824565b60ff8516600214806127a9575060ff85166003145b15612998578082511461283e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610824565b61285887602001516001815181106124d5576124d5615092565b9c5060008d51116128eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610824565b60018c516128f99190614c84565b8814612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610824565b505050505050505050505050611fb2565b60ff851615806129ab575060ff85166001145b156129ea576129d787602001516001815181106129ca576129ca615092565b60200260200101516132d3565b99506129e3818a614f7e565b9850612a72565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610824565b505050505050612b05565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610824565b5080612b108161505a565b9150506121d4565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610824565b6000808213612c0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b60006060612c1984613406565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213612e1657506000919050565b680755bf798b4a1bf1e58212612e88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610824565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff81111561304257613042614529565b60405190808252806020026020018201604052801561308757816020015b60408051808201909152606080825260208201528152602001906001900390816130605790505b50915060005b818110156131095760405180604001604052808583815181106130b2576130b2615092565b602002602001015181526020016130e18684815181106130d4576130d4615092565b60200260200101516134dc565b8152508382815181106130f6576130f6615092565b602090810291909101015260010161308d565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613168578060011b82018184015160001a8060041c8253600f81166001830153505060010161313a565b509295945050505050565b60606000806000613183856134ef565b91945092509050600081600181111561319e5761319e615106565b1461322b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610824565b6132358284614f7e565b8551146132c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610824565b6120ac85602001518484613f5c565b606060208260000151106132ef576132ea82613173565b610e75565b610e7582613ff0565b6060610e7561331783602001516000815181106124d5576124d5615092565b613110565b60608251821061333b5750604080516020810190915260008152610e75565b611fb2838384865161334d9190614c84565b614006565b6000808251845110613365578251613368565b83515b90505b80821080156133ef575082828151811061338757613387615092565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106133c6576133c6615092565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156133ff5781600101915061336b565b5092915050565b6000808211613471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b6060610e756134ea836141de565b6142c7565b6000806000808460000151116135ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b6020840151805160001a607f81116135d2576000600160009450945094505050613f55565b60b781116137e05760006135e7608083614c84565b9050808760000151116136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610824565b6001838101517fff0000000000000000000000000000000000000000000000000000000000000016908214158061371b57507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b6137cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610824565b5060019550935060009250613f55915050565b60bf8111613b2e5760006137f560b783614c84565b9050808760000151116138b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610824565b60018301517fff0000000000000000000000000000000000000000000000000000000000000016600081900361398e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613a52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610824565b613a5c8184614f7e565b895111613b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610824565b613b1c836001614f7e565b9750955060009450613f559350505050565b60f78111613c0f576000613b4360c083614c84565b905080876000015111613bfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b600195509350849250613f55915050565b6000613c1c60f783614c84565b905080876000015111613cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610824565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613e79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610824565b613e838184614f7e565b895111613f38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b613f43836001614f7e565b9750955060019450613f559350505050565b9193909250565b60608167ffffffffffffffff811115613f7757613f77614529565b6040519080825280601f01601f191660200182016040528015613fa1576020820181803683370190505b5090508115611fb2576000613fb68486614f7e565b90506020820160005b84811015613fd7578281015182820152602001613fbf565b84811115613fe6576000858301525b5050509392505050565b6060610e75826020015160008460000151613f5c565b60608182601f011015614075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8282840110156140e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8183018451101561414e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610824565b60608215801561416d57604051915060008252602082016040526141d5565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156141a657805183526020928301920161418e565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b604080518082019091526000808252602082015260008251116142a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b50604080518082019091528151815260209182019181019190915290565b606060008060006142d7856134ef565b9194509250905060018160018111156142f2576142f2615106565b1461437f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610824565b845161438b8385614f7e565b14614418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610824565b604080516020808252610420820190925290816020015b604080518082019091526000808252602082015281526020019060019003908161442f5790505093506000835b865181101561451d576000806144a26040518060400160405280858c600001516144869190614c84565b8152602001858c6020015161449b9190614f7e565b90526134ef565b5091509150604051806040016040528083836144be9190614f7e565b8152602001848b602001516144d39190614f7e565b8152508885815181106144e8576144e8615092565b60209081029190910101526144fe600185614f7e565b935061450a8183614f7e565b6145149084614f7e565b9250505061445c565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561459f5761459f614529565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff811681146145c957600080fd5b50565b600082601f8301126145dd57600080fd5b813567ffffffffffffffff8111156145f7576145f7614529565b61462860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614558565b81815284602083860101111561463d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561466c57600080fd5b60405160c0810167ffffffffffffffff828210818311171561469057614690614529565b8160405282935084358352602085013591506146ab826145a7565b816020840152604085013591506146c1826145a7565b816040840152606085013560608401526080850135608084015260a08501359150808211156146ef57600080fd5b506146fc858286016145cc565b60a0830152505092915050565b600080600080600085870360e081121561472257600080fd5b863567ffffffffffffffff8082111561473a57600080fd5b6147468a838b0161465a565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08401121561477f57600080fd5b60408901955060c089013592508083111561479957600080fd5b828901925089601f8401126147ad57600080fd5b82359150808211156147be57600080fd5b508860208260051b84010111156147d457600080fd5b959894975092955050506020019190565b60005b838110156148005781810151838201526020016147e8565b838111156119195750506000910152565b600081518084526148298160208601602086016147e5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611fb26020830184614811565b60006020828403121561488057600080fd5b5035919050565b60006020828403121561489957600080fd5b813567ffffffffffffffff8111156148b057600080fd5b6148bc8482850161465a565b949350505050565b803567ffffffffffffffff811681146148dc57600080fd5b919050565b6000602082840312156148f357600080fd5b611fb2826148c4565b60008060006060848603121561491157600080fd5b833561491c816145a7565b9250602084013561492c816145a7565b9150604084013561493c816145a7565b809150509250925092565b80151581146145c957600080fd5b600080600080600060a0868803121561496d57600080fd5b8535614978816145a7565b94506020860135935061498d604087016148c4565b9250606086013561499d81614947565b9150608086013567ffffffffffffffff8111156149b957600080fd5b6149c5888289016145cc565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614a268160498501602087016147e5565b919091016049019695505050505050565b600060208284031215614a4957600080fd5b8151611fb2816145a7565b80516fffffffffffffffffffffffffffffffff811681146148dc57600080fd5b600060608284031215614a8657600080fd5b6040516060810181811067ffffffffffffffff82111715614aa957614aa9614529565b60405282518152614abc60208401614a54565b6020820152614acd60408401614a54565b60408201529392505050565b600060808284031215614aeb57600080fd5b6040516080810181811067ffffffffffffffff82111715614b0e57614b0e614529565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614b5a57614b5a614529565b8360051b6020614b6b818301614558565b868152918501918181019036841115614b8357600080fd5b865b84811015614bb757803586811115614b9d5760008081fd5b614ba936828b016145cc565b845250918301918301614b85565b50979650505050505050565b600060208284031215614bd557600080fd5b8151611fb281614947565b600060208284031215614bf257600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614c4f57614c4f614bf9565b02949350505050565b600067ffffffffffffffff808316818516808303821115614c7b57614c7b614bf9565b01949350505050565b600082821015614c9657614c96614bf9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614cd957614cd9614c9b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614d2d57614d2d614bf9565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615614d6c57614d6c614bf9565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615614da057614da0614bf9565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615614de757614de7614bf9565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615614e2257614e22614bf9565b60008712925087820587128484161615614e3e57614e3e614bf9565b87850587128184161615614e5457614e54614bf9565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615614e9c57614e9c614bf9565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615614ed057614ed0614bf9565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0e57614f0e614bf9565b500290565b600082614f2257614f22614c9b565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152614f7260c0830184614811565b98975050505050505050565b60008219821115614f9157614f91614bf9565b500190565b805163ffffffff811681146148dc57600080fd5b805160ff811681146148dc57600080fd5b600060c08284031215614fcd57600080fd5b60405160c0810181811067ffffffffffffffff82111715614ff057614ff0614529565b604052614ffc83614f96565b815261500a60208401614faa565b602082015261501b60408401614faa565b604082015261502c60608401614f96565b606082015261503d60808401614f96565b608082015261504e60a08401614a54565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361508b5761508b614bf9565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff8316806150d4576150d4614c9b565b8060ff84160691505092915050565b600060ff821660ff8416808210156150fd576150fd614bf9565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",
}

OptimismPortalMetaData contains all meta data concerning the OptimismPortal contract.

View Source
var StandardBridgeABI = StandardBridgeMetaData.ABI

StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use StandardBridgeMetaData.ABI instead.

View Source
var StandardBridgeMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MESSENGER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"OTHER_BRIDGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeERC20To\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bridgeETH\",\"inputs\":[{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"bridgeETHTo\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_minGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"deposits\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"finalizeBridgeERC20\",\"inputs\":[{\"name\":\"_localToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_remoteToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizeBridgeETH\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"messenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractCrossDomainMessenger\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"otherBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractStandardBridge\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ERC20BridgeFinalized\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ERC20BridgeInitiated\",\"inputs\":[{\"name\":\"localToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"remoteToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeFinalized\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ETHBridgeInitiated\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false}]",
}

StandardBridgeMetaData contains all meta data concerning the StandardBridge contract.

View Source
var StateCommitmentChainABI = StateCommitmentChainMetaData.ABI

StateCommitmentChainABI is the input ABI used to generate the binding from. Deprecated: Use StateCommitmentChainMetaData.ABI instead.

View Source
var StateCommitmentChainBin = StateCommitmentChainMetaData.Bin

StateCommitmentChainBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StateCommitmentChainMetaData.Bin instead.

View Source
var StateCommitmentChainMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_libAddressManager\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fraudProofWindow\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_sequencerPublishWindow\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_batchRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_batchSize\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_prevTotalElements\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"StateBatchAppended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_batchRoot\",\"type\":\"bytes32\"}],\"name\":\"StateBatchDeleted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FRAUD_PROOF_WINDOW\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SEQUENCER_PUBLISH_WINDOW\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_batch\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"_shouldStartAtElement\",\"type\":\"uint256\"}],\"name\":\"appendStateBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"batches\",\"outputs\":[{\"internalType\":\"contractIChainStorageContainer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"batchIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"batchSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevTotalElements\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structLib_OVMCodec.ChainBatchHeader\",\"name\":\"_batchHeader\",\"type\":\"tuple\"}],\"name\":\"deleteStateBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastSequencerTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_lastSequencerTimestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBatches\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalBatches\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalElements\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalElements\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"batchIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"batchSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevTotalElements\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structLib_OVMCodec.ChainBatchHeader\",\"name\":\"_batchHeader\",\"type\":\"tuple\"}],\"name\":\"insideFraudProofWindow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_inside\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"libAddressManager\",\"outputs\":[{\"internalType\":\"contractLib_AddressManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_element\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"batchIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"batchSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevTotalElements\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structLib_OVMCodec.ChainBatchHeader\",\"name\":\"_batchHeader\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structLib_OVMCodec.ChainInclusionProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"verifyStateCommitment\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506040516120bb3803806120bb83398101604081905261002f9161005b565b600080546001600160a01b0319166001600160a01b03949094169390931790925560015560025561009e565b60008060006060848603121561007057600080fd5b83516001600160a01b038116811461008757600080fd5b602085015160409095015190969495509392505050565b61200e806100ad6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",
}

StateCommitmentChainMetaData contains all meta data concerning the StateCommitmentChain contract.

Functions

This section is empty.

Types

type CanonicalTransactionChain

type CanonicalTransactionChain struct {
	CanonicalTransactionChainCaller     // Read-only binding to the contract
	CanonicalTransactionChainTransactor // Write-only binding to the contract
	CanonicalTransactionChainFilterer   // Log filterer for contract events
}

CanonicalTransactionChain is an auto generated Go binding around an Ethereum contract.

func DeployCanonicalTransactionChain

func DeployCanonicalTransactionChain(auth *bind.TransactOpts, backend bind.ContractBackend, _libAddressManager common.Address, _maxTransactionGasLimit *big.Int, _l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (common.Address, *types.Transaction, *CanonicalTransactionChain, error)

DeployCanonicalTransactionChain deploys a new Ethereum contract, binding an instance of CanonicalTransactionChain to it.

func NewCanonicalTransactionChain

func NewCanonicalTransactionChain(address common.Address, backend bind.ContractBackend) (*CanonicalTransactionChain, error)

NewCanonicalTransactionChain creates a new instance of CanonicalTransactionChain, bound to a specific deployed contract.

type CanonicalTransactionChainCaller

type CanonicalTransactionChainCaller struct {
	// contains filtered or unexported fields
}

CanonicalTransactionChainCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCanonicalTransactionChainCaller

func NewCanonicalTransactionChainCaller(address common.Address, caller bind.ContractCaller) (*CanonicalTransactionChainCaller, error)

NewCanonicalTransactionChainCaller creates a new read-only instance of CanonicalTransactionChain, bound to a specific deployed contract.

func (*CanonicalTransactionChainCaller) Batches

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) Batches(opts *bind.CallOpts) (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*CanonicalTransactionChainCaller) EnqueueGasCost

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) EnqueueGasCost(opts *bind.CallOpts) (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*CanonicalTransactionChainCaller) EnqueueL2GasPrepaid

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) EnqueueL2GasPrepaid(opts *bind.CallOpts) (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*CanonicalTransactionChainCaller) GetLastBlockNumber

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetLastBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*CanonicalTransactionChainCaller) GetLastTimestamp

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetLastTimestamp(opts *bind.CallOpts) (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*CanonicalTransactionChainCaller) GetNextQueueIndex

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetNextQueueIndex(opts *bind.CallOpts) (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*CanonicalTransactionChainCaller) GetNumPendingQueueElements

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetNumPendingQueueElements(opts *bind.CallOpts) (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*CanonicalTransactionChainCaller) GetQueueElement

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetQueueElement(opts *bind.CallOpts, _index *big.Int) (LibOVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*CanonicalTransactionChainCaller) GetQueueLength

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetQueueLength(opts *bind.CallOpts) (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*CanonicalTransactionChainCaller) GetTotalBatches

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetTotalBatches(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*CanonicalTransactionChainCaller) GetTotalElements

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) GetTotalElements(opts *bind.CallOpts) (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*CanonicalTransactionChainCaller) L2GasDiscountDivisor

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) L2GasDiscountDivisor(opts *bind.CallOpts) (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*CanonicalTransactionChainCaller) LibAddressManager

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) LibAddressManager(opts *bind.CallOpts) (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*CanonicalTransactionChainCaller) MAXROLLUPTXSIZE

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) MAXROLLUPTXSIZE(opts *bind.CallOpts) (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*CanonicalTransactionChainCaller) MINROLLUPTXGAS

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) MINROLLUPTXGAS(opts *bind.CallOpts) (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*CanonicalTransactionChainCaller) MaxTransactionGasLimit

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) MaxTransactionGasLimit(opts *bind.CallOpts) (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*CanonicalTransactionChainCaller) Resolve

func (_CanonicalTransactionChain *CanonicalTransactionChainCaller) Resolve(opts *bind.CallOpts, _name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

type CanonicalTransactionChainCallerRaw

type CanonicalTransactionChainCallerRaw struct {
	Contract *CanonicalTransactionChainCaller // Generic read-only contract binding to access the raw methods on
}

CanonicalTransactionChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CanonicalTransactionChainCallerRaw) Call

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type CanonicalTransactionChainCallerSession

type CanonicalTransactionChainCallerSession struct {
	Contract *CanonicalTransactionChainCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                    // Call options to use throughout this session
}

CanonicalTransactionChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CanonicalTransactionChainCallerSession) Batches

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*CanonicalTransactionChainCallerSession) EnqueueGasCost

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) EnqueueGasCost() (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) EnqueueL2GasPrepaid

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) EnqueueL2GasPrepaid() (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) GetLastBlockNumber

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetLastBlockNumber() (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*CanonicalTransactionChainCallerSession) GetLastTimestamp

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetLastTimestamp() (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*CanonicalTransactionChainCallerSession) GetNextQueueIndex

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetNextQueueIndex() (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*CanonicalTransactionChainCallerSession) GetNumPendingQueueElements

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetNumPendingQueueElements() (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*CanonicalTransactionChainCallerSession) GetQueueElement

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetQueueElement(_index *big.Int) (LibOVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*CanonicalTransactionChainCallerSession) GetQueueLength

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*CanonicalTransactionChainCallerSession) GetTotalBatches

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*CanonicalTransactionChainCallerSession) GetTotalElements

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*CanonicalTransactionChainCallerSession) L2GasDiscountDivisor

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) L2GasDiscountDivisor() (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) LibAddressManager

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*CanonicalTransactionChainCallerSession) MAXROLLUPTXSIZE

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) MAXROLLUPTXSIZE() (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) MINROLLUPTXGAS

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) MINROLLUPTXGAS() (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) MaxTransactionGasLimit

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) MaxTransactionGasLimit() (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*CanonicalTransactionChainCallerSession) Resolve

func (_CanonicalTransactionChain *CanonicalTransactionChainCallerSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

type CanonicalTransactionChainFilterer

type CanonicalTransactionChainFilterer struct {
	// contains filtered or unexported fields
}

CanonicalTransactionChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCanonicalTransactionChainFilterer

func NewCanonicalTransactionChainFilterer(address common.Address, filterer bind.ContractFilterer) (*CanonicalTransactionChainFilterer, error)

NewCanonicalTransactionChainFilterer creates a new log filterer instance of CanonicalTransactionChain, bound to a specific deployed contract.

func (*CanonicalTransactionChainFilterer) FilterL2GasParamsUpdated

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) FilterL2GasParamsUpdated(opts *bind.FilterOpts) (*CanonicalTransactionChainL2GasParamsUpdatedIterator, error)

FilterL2GasParamsUpdated is a free log retrieval operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*CanonicalTransactionChainFilterer) FilterQueueBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) FilterQueueBatchAppended(opts *bind.FilterOpts) (*CanonicalTransactionChainQueueBatchAppendedIterator, error)

FilterQueueBatchAppended is a free log retrieval operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) FilterSequencerBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) FilterSequencerBatchAppended(opts *bind.FilterOpts) (*CanonicalTransactionChainSequencerBatchAppendedIterator, error)

FilterSequencerBatchAppended is a free log retrieval operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) FilterTransactionBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) FilterTransactionBatchAppended(opts *bind.FilterOpts, _batchIndex []*big.Int) (*CanonicalTransactionChainTransactionBatchAppendedIterator, error)

FilterTransactionBatchAppended is a free log retrieval operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*CanonicalTransactionChainFilterer) FilterTransactionEnqueued

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) FilterTransactionEnqueued(opts *bind.FilterOpts, _l1TxOrigin []common.Address, _target []common.Address, _queueIndex []*big.Int) (*CanonicalTransactionChainTransactionEnqueuedIterator, error)

FilterTransactionEnqueued is a free log retrieval operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

func (*CanonicalTransactionChainFilterer) ParseL2GasParamsUpdated

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) ParseL2GasParamsUpdated(log types.Log) (*CanonicalTransactionChainL2GasParamsUpdated, error)

ParseL2GasParamsUpdated is a log parse operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*CanonicalTransactionChainFilterer) ParseQueueBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) ParseQueueBatchAppended(log types.Log) (*CanonicalTransactionChainQueueBatchAppended, error)

ParseQueueBatchAppended is a log parse operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) ParseSequencerBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) ParseSequencerBatchAppended(log types.Log) (*CanonicalTransactionChainSequencerBatchAppended, error)

ParseSequencerBatchAppended is a log parse operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) ParseTransactionBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) ParseTransactionBatchAppended(log types.Log) (*CanonicalTransactionChainTransactionBatchAppended, error)

ParseTransactionBatchAppended is a log parse operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*CanonicalTransactionChainFilterer) ParseTransactionEnqueued

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) ParseTransactionEnqueued(log types.Log) (*CanonicalTransactionChainTransactionEnqueued, error)

ParseTransactionEnqueued is a log parse operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

func (*CanonicalTransactionChainFilterer) WatchL2GasParamsUpdated

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) WatchL2GasParamsUpdated(opts *bind.WatchOpts, sink chan<- *CanonicalTransactionChainL2GasParamsUpdated) (event.Subscription, error)

WatchL2GasParamsUpdated is a free log subscription operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*CanonicalTransactionChainFilterer) WatchQueueBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) WatchQueueBatchAppended(opts *bind.WatchOpts, sink chan<- *CanonicalTransactionChainQueueBatchAppended) (event.Subscription, error)

WatchQueueBatchAppended is a free log subscription operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) WatchSequencerBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) WatchSequencerBatchAppended(opts *bind.WatchOpts, sink chan<- *CanonicalTransactionChainSequencerBatchAppended) (event.Subscription, error)

WatchSequencerBatchAppended is a free log subscription operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*CanonicalTransactionChainFilterer) WatchTransactionBatchAppended

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) WatchTransactionBatchAppended(opts *bind.WatchOpts, sink chan<- *CanonicalTransactionChainTransactionBatchAppended, _batchIndex []*big.Int) (event.Subscription, error)

WatchTransactionBatchAppended is a free log subscription operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*CanonicalTransactionChainFilterer) WatchTransactionEnqueued

func (_CanonicalTransactionChain *CanonicalTransactionChainFilterer) WatchTransactionEnqueued(opts *bind.WatchOpts, sink chan<- *CanonicalTransactionChainTransactionEnqueued, _l1TxOrigin []common.Address, _target []common.Address, _queueIndex []*big.Int) (event.Subscription, error)

WatchTransactionEnqueued is a free log subscription operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

type CanonicalTransactionChainL2GasParamsUpdated

type CanonicalTransactionChainL2GasParamsUpdated struct {
	L2GasDiscountDivisor *big.Int
	EnqueueGasCost       *big.Int
	EnqueueL2GasPrepaid  *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

CanonicalTransactionChainL2GasParamsUpdated represents a L2GasParamsUpdated event raised by the CanonicalTransactionChain contract.

type CanonicalTransactionChainL2GasParamsUpdatedIterator

type CanonicalTransactionChainL2GasParamsUpdatedIterator struct {
	Event *CanonicalTransactionChainL2GasParamsUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CanonicalTransactionChainL2GasParamsUpdatedIterator is returned from FilterL2GasParamsUpdated and is used to iterate over the raw logs and unpacked data for L2GasParamsUpdated events raised by the CanonicalTransactionChain contract.

func (*CanonicalTransactionChainL2GasParamsUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CanonicalTransactionChainL2GasParamsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CanonicalTransactionChainL2GasParamsUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CanonicalTransactionChainQueueBatchAppended

type CanonicalTransactionChainQueueBatchAppended struct {
	StartingQueueIndex *big.Int
	NumQueueElements   *big.Int
	TotalElements      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

CanonicalTransactionChainQueueBatchAppended represents a QueueBatchAppended event raised by the CanonicalTransactionChain contract.

type CanonicalTransactionChainQueueBatchAppendedIterator

type CanonicalTransactionChainQueueBatchAppendedIterator struct {
	Event *CanonicalTransactionChainQueueBatchAppended // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CanonicalTransactionChainQueueBatchAppendedIterator is returned from FilterQueueBatchAppended and is used to iterate over the raw logs and unpacked data for QueueBatchAppended events raised by the CanonicalTransactionChain contract.

func (*CanonicalTransactionChainQueueBatchAppendedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CanonicalTransactionChainQueueBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CanonicalTransactionChainQueueBatchAppendedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CanonicalTransactionChainRaw

type CanonicalTransactionChainRaw struct {
	Contract *CanonicalTransactionChain // Generic contract binding to access the raw methods on
}

CanonicalTransactionChainRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CanonicalTransactionChainRaw) Call

func (_CanonicalTransactionChain *CanonicalTransactionChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*CanonicalTransactionChainRaw) Transact

func (_CanonicalTransactionChain *CanonicalTransactionChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CanonicalTransactionChainRaw) Transfer

func (_CanonicalTransactionChain *CanonicalTransactionChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CanonicalTransactionChainSequencerBatchAppended

type CanonicalTransactionChainSequencerBatchAppended struct {
	StartingQueueIndex *big.Int
	NumQueueElements   *big.Int
	TotalElements      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

CanonicalTransactionChainSequencerBatchAppended represents a SequencerBatchAppended event raised by the CanonicalTransactionChain contract.

type CanonicalTransactionChainSequencerBatchAppendedIterator

type CanonicalTransactionChainSequencerBatchAppendedIterator struct {
	Event *CanonicalTransactionChainSequencerBatchAppended // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CanonicalTransactionChainSequencerBatchAppendedIterator is returned from FilterSequencerBatchAppended and is used to iterate over the raw logs and unpacked data for SequencerBatchAppended events raised by the CanonicalTransactionChain contract.

func (*CanonicalTransactionChainSequencerBatchAppendedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CanonicalTransactionChainSequencerBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CanonicalTransactionChainSequencerBatchAppendedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CanonicalTransactionChainSession

type CanonicalTransactionChainSession struct {
	Contract     *CanonicalTransactionChain // Generic contract binding to set the session for
	CallOpts     bind.CallOpts              // Call options to use throughout this session
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

CanonicalTransactionChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CanonicalTransactionChainSession) AppendSequencerBatch

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) AppendSequencerBatch() (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*CanonicalTransactionChainSession) Batches

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*CanonicalTransactionChainSession) Enqueue

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) Enqueue(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*CanonicalTransactionChainSession) EnqueueGasCost

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) EnqueueGasCost() (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*CanonicalTransactionChainSession) EnqueueL2GasPrepaid

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) EnqueueL2GasPrepaid() (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*CanonicalTransactionChainSession) GetLastBlockNumber

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetLastBlockNumber() (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*CanonicalTransactionChainSession) GetLastTimestamp

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetLastTimestamp() (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*CanonicalTransactionChainSession) GetNextQueueIndex

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetNextQueueIndex() (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*CanonicalTransactionChainSession) GetNumPendingQueueElements

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetNumPendingQueueElements() (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*CanonicalTransactionChainSession) GetQueueElement

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetQueueElement(_index *big.Int) (LibOVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*CanonicalTransactionChainSession) GetQueueLength

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*CanonicalTransactionChainSession) GetTotalBatches

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*CanonicalTransactionChainSession) GetTotalElements

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*CanonicalTransactionChainSession) L2GasDiscountDivisor

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) L2GasDiscountDivisor() (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*CanonicalTransactionChainSession) LibAddressManager

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*CanonicalTransactionChainSession) MAXROLLUPTXSIZE

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) MAXROLLUPTXSIZE() (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*CanonicalTransactionChainSession) MINROLLUPTXGAS

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) MINROLLUPTXGAS() (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*CanonicalTransactionChainSession) MaxTransactionGasLimit

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) MaxTransactionGasLimit() (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*CanonicalTransactionChainSession) Resolve

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*CanonicalTransactionChainSession) SetGasParams

func (_CanonicalTransactionChain *CanonicalTransactionChainSession) SetGasParams(_l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

type CanonicalTransactionChainTransactionBatchAppended

type CanonicalTransactionChainTransactionBatchAppended struct {
	BatchIndex        *big.Int
	BatchRoot         [32]byte
	BatchSize         *big.Int
	PrevTotalElements *big.Int
	ExtraData         []byte
	Raw               types.Log // Blockchain specific contextual infos
}

CanonicalTransactionChainTransactionBatchAppended represents a TransactionBatchAppended event raised by the CanonicalTransactionChain contract.

type CanonicalTransactionChainTransactionBatchAppendedIterator

type CanonicalTransactionChainTransactionBatchAppendedIterator struct {
	Event *CanonicalTransactionChainTransactionBatchAppended // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CanonicalTransactionChainTransactionBatchAppendedIterator is returned from FilterTransactionBatchAppended and is used to iterate over the raw logs and unpacked data for TransactionBatchAppended events raised by the CanonicalTransactionChain contract.

func (*CanonicalTransactionChainTransactionBatchAppendedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CanonicalTransactionChainTransactionBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CanonicalTransactionChainTransactionBatchAppendedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CanonicalTransactionChainTransactionEnqueued

type CanonicalTransactionChainTransactionEnqueued struct {
	L1TxOrigin common.Address
	Target     common.Address
	GasLimit   *big.Int
	Data       []byte
	QueueIndex *big.Int
	Timestamp  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

CanonicalTransactionChainTransactionEnqueued represents a TransactionEnqueued event raised by the CanonicalTransactionChain contract.

type CanonicalTransactionChainTransactionEnqueuedIterator

type CanonicalTransactionChainTransactionEnqueuedIterator struct {
	Event *CanonicalTransactionChainTransactionEnqueued // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CanonicalTransactionChainTransactionEnqueuedIterator is returned from FilterTransactionEnqueued and is used to iterate over the raw logs and unpacked data for TransactionEnqueued events raised by the CanonicalTransactionChain contract.

func (*CanonicalTransactionChainTransactionEnqueuedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CanonicalTransactionChainTransactionEnqueuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CanonicalTransactionChainTransactionEnqueuedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CanonicalTransactionChainTransactor

type CanonicalTransactionChainTransactor struct {
	// contains filtered or unexported fields
}

CanonicalTransactionChainTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCanonicalTransactionChainTransactor

func NewCanonicalTransactionChainTransactor(address common.Address, transactor bind.ContractTransactor) (*CanonicalTransactionChainTransactor, error)

NewCanonicalTransactionChainTransactor creates a new write-only instance of CanonicalTransactionChain, bound to a specific deployed contract.

func (*CanonicalTransactionChainTransactor) AppendSequencerBatch

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactor) AppendSequencerBatch(opts *bind.TransactOpts) (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*CanonicalTransactionChainTransactor) Enqueue

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactor) Enqueue(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*CanonicalTransactionChainTransactor) SetGasParams

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactor) SetGasParams(opts *bind.TransactOpts, _l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

type CanonicalTransactionChainTransactorRaw

type CanonicalTransactionChainTransactorRaw struct {
	Contract *CanonicalTransactionChainTransactor // Generic write-only contract binding to access the raw methods on
}

CanonicalTransactionChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CanonicalTransactionChainTransactorRaw) Transact

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CanonicalTransactionChainTransactorRaw) Transfer

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CanonicalTransactionChainTransactorSession

type CanonicalTransactionChainTransactorSession struct {
	Contract     *CanonicalTransactionChainTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                    // Transaction auth options to use throughout this session
}

CanonicalTransactionChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CanonicalTransactionChainTransactorSession) AppendSequencerBatch

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactorSession) AppendSequencerBatch() (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*CanonicalTransactionChainTransactorSession) Enqueue

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactorSession) Enqueue(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*CanonicalTransactionChainTransactorSession) SetGasParams

func (_CanonicalTransactionChain *CanonicalTransactionChainTransactorSession) SetGasParams(_l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

type CrossDomainMessenger

type CrossDomainMessenger struct {
	CrossDomainMessengerCaller     // Read-only binding to the contract
	CrossDomainMessengerTransactor // Write-only binding to the contract
	CrossDomainMessengerFilterer   // Log filterer for contract events
}

CrossDomainMessenger is an auto generated Go binding around an Ethereum contract.

func NewCrossDomainMessenger

func NewCrossDomainMessenger(address common.Address, backend bind.ContractBackend) (*CrossDomainMessenger, error)

NewCrossDomainMessenger creates a new instance of CrossDomainMessenger, bound to a specific deployed contract.

type CrossDomainMessengerCaller

type CrossDomainMessengerCaller struct {
	// contains filtered or unexported fields
}

CrossDomainMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCrossDomainMessengerCaller

func NewCrossDomainMessengerCaller(address common.Address, caller bind.ContractCaller) (*CrossDomainMessengerCaller, error)

NewCrossDomainMessengerCaller creates a new read-only instance of CrossDomainMessenger, bound to a specific deployed contract.

func (*CrossDomainMessengerCaller) BaseGas

func (_CrossDomainMessenger *CrossDomainMessengerCaller) BaseGas(opts *bind.CallOpts, _message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*CrossDomainMessengerCaller) FailedMessages

func (_CrossDomainMessenger *CrossDomainMessengerCaller) FailedMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerCaller) MESSAGEVERSION

func (_CrossDomainMessenger *CrossDomainMessengerCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD(opts *bind.CallOpts) (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR

func (_CrossDomainMessenger *CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR

func (_CrossDomainMessenger *CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*CrossDomainMessengerCaller) MessageNonce

func (_CrossDomainMessenger *CrossDomainMessengerCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*CrossDomainMessengerCaller) OTHERMESSENGER

func (_CrossDomainMessenger *CrossDomainMessengerCaller) OTHERMESSENGER(opts *bind.CallOpts) (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*CrossDomainMessengerCaller) OtherMessenger

func (_CrossDomainMessenger *CrossDomainMessengerCaller) OtherMessenger(opts *bind.CallOpts) (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*CrossDomainMessengerCaller) Paused

func (_CrossDomainMessenger *CrossDomainMessengerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CrossDomainMessengerCaller) RELAYCALLOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCaller) RELAYCALLOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCaller) RELAYGASCHECKBUFFER

func (_CrossDomainMessenger *CrossDomainMessengerCaller) RELAYGASCHECKBUFFER(opts *bind.CallOpts) (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*CrossDomainMessengerCaller) RELAYRESERVEDGAS

func (_CrossDomainMessenger *CrossDomainMessengerCaller) RELAYRESERVEDGAS(opts *bind.CallOpts) (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*CrossDomainMessengerCaller) SuccessfulMessages

func (_CrossDomainMessenger *CrossDomainMessengerCaller) SuccessfulMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerCaller) XDomainMessageSender

func (_CrossDomainMessenger *CrossDomainMessengerCaller) XDomainMessageSender(opts *bind.CallOpts) (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type CrossDomainMessengerCallerRaw

type CrossDomainMessengerCallerRaw struct {
	Contract *CrossDomainMessengerCaller // Generic read-only contract binding to access the raw methods on
}

CrossDomainMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CrossDomainMessengerCallerRaw) Call

func (_CrossDomainMessenger *CrossDomainMessengerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type CrossDomainMessengerCallerSession

type CrossDomainMessengerCallerSession struct {
	Contract *CrossDomainMessengerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts               // Call options to use throughout this session
}

CrossDomainMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CrossDomainMessengerCallerSession) BaseGas

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*CrossDomainMessengerCallerSession) FailedMessages

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerCallerSession) MESSAGEVERSION

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*CrossDomainMessengerCallerSession) MessageNonce

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*CrossDomainMessengerCallerSession) OTHERMESSENGER

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*CrossDomainMessengerCallerSession) OtherMessenger

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*CrossDomainMessengerCallerSession) Paused

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*CrossDomainMessengerCallerSession) RELAYRESERVEDGAS

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*CrossDomainMessengerCallerSession) SuccessfulMessages

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerCallerSession) XDomainMessageSender

func (_CrossDomainMessenger *CrossDomainMessengerCallerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type CrossDomainMessengerFailedRelayedMessage

type CrossDomainMessengerFailedRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

CrossDomainMessengerFailedRelayedMessage represents a FailedRelayedMessage event raised by the CrossDomainMessenger contract.

type CrossDomainMessengerFailedRelayedMessageIterator

type CrossDomainMessengerFailedRelayedMessageIterator struct {
	Event *CrossDomainMessengerFailedRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CrossDomainMessengerFailedRelayedMessageIterator is returned from FilterFailedRelayedMessage and is used to iterate over the raw logs and unpacked data for FailedRelayedMessage events raised by the CrossDomainMessenger contract.

func (*CrossDomainMessengerFailedRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CrossDomainMessengerFailedRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrossDomainMessengerFailedRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CrossDomainMessengerFilterer

type CrossDomainMessengerFilterer struct {
	// contains filtered or unexported fields
}

CrossDomainMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCrossDomainMessengerFilterer

func NewCrossDomainMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*CrossDomainMessengerFilterer, error)

NewCrossDomainMessengerFilterer creates a new log filterer instance of CrossDomainMessenger, bound to a specific deployed contract.

func (*CrossDomainMessengerFilterer) FilterFailedRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) FilterFailedRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*CrossDomainMessengerFailedRelayedMessageIterator, error)

FilterFailedRelayedMessage is a free log retrieval operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) FilterInitialized

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) FilterInitialized(opts *bind.FilterOpts) (*CrossDomainMessengerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrossDomainMessengerFilterer) FilterRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) FilterRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*CrossDomainMessengerRelayedMessageIterator, error)

FilterRelayedMessage is a free log retrieval operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) FilterSentMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) FilterSentMessage(opts *bind.FilterOpts, target []common.Address) (*CrossDomainMessengerSentMessageIterator, error)

FilterSentMessage is a free log retrieval operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*CrossDomainMessengerFilterer) FilterSentMessageExtension1

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) FilterSentMessageExtension1(opts *bind.FilterOpts, sender []common.Address) (*CrossDomainMessengerSentMessageExtension1Iterator, error)

FilterSentMessageExtension1 is a free log retrieval operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*CrossDomainMessengerFilterer) ParseFailedRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) ParseFailedRelayedMessage(log types.Log) (*CrossDomainMessengerFailedRelayedMessage, error)

ParseFailedRelayedMessage is a log parse operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) ParseInitialized

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) ParseInitialized(log types.Log) (*CrossDomainMessengerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrossDomainMessengerFilterer) ParseRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) ParseRelayedMessage(log types.Log) (*CrossDomainMessengerRelayedMessage, error)

ParseRelayedMessage is a log parse operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) ParseSentMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) ParseSentMessage(log types.Log) (*CrossDomainMessengerSentMessage, error)

ParseSentMessage is a log parse operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*CrossDomainMessengerFilterer) ParseSentMessageExtension1

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) ParseSentMessageExtension1(log types.Log) (*CrossDomainMessengerSentMessageExtension1, error)

ParseSentMessageExtension1 is a log parse operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*CrossDomainMessengerFilterer) WatchFailedRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) WatchFailedRelayedMessage(opts *bind.WatchOpts, sink chan<- *CrossDomainMessengerFailedRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchFailedRelayedMessage is a free log subscription operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) WatchInitialized

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *CrossDomainMessengerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrossDomainMessengerFilterer) WatchRelayedMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) WatchRelayedMessage(opts *bind.WatchOpts, sink chan<- *CrossDomainMessengerRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchRelayedMessage is a free log subscription operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*CrossDomainMessengerFilterer) WatchSentMessage

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) WatchSentMessage(opts *bind.WatchOpts, sink chan<- *CrossDomainMessengerSentMessage, target []common.Address) (event.Subscription, error)

WatchSentMessage is a free log subscription operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*CrossDomainMessengerFilterer) WatchSentMessageExtension1

func (_CrossDomainMessenger *CrossDomainMessengerFilterer) WatchSentMessageExtension1(opts *bind.WatchOpts, sink chan<- *CrossDomainMessengerSentMessageExtension1, sender []common.Address) (event.Subscription, error)

WatchSentMessageExtension1 is a free log subscription operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

type CrossDomainMessengerInitialized

type CrossDomainMessengerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

CrossDomainMessengerInitialized represents a Initialized event raised by the CrossDomainMessenger contract.

type CrossDomainMessengerInitializedIterator

type CrossDomainMessengerInitializedIterator struct {
	Event *CrossDomainMessengerInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CrossDomainMessengerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the CrossDomainMessenger contract.

func (*CrossDomainMessengerInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CrossDomainMessengerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrossDomainMessengerInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CrossDomainMessengerRaw

type CrossDomainMessengerRaw struct {
	Contract *CrossDomainMessenger // Generic contract binding to access the raw methods on
}

CrossDomainMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CrossDomainMessengerRaw) Call

func (_CrossDomainMessenger *CrossDomainMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*CrossDomainMessengerRaw) Transact

func (_CrossDomainMessenger *CrossDomainMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CrossDomainMessengerRaw) Transfer

func (_CrossDomainMessenger *CrossDomainMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CrossDomainMessengerRelayedMessage

type CrossDomainMessengerRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

CrossDomainMessengerRelayedMessage represents a RelayedMessage event raised by the CrossDomainMessenger contract.

type CrossDomainMessengerRelayedMessageIterator

type CrossDomainMessengerRelayedMessageIterator struct {
	Event *CrossDomainMessengerRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CrossDomainMessengerRelayedMessageIterator is returned from FilterRelayedMessage and is used to iterate over the raw logs and unpacked data for RelayedMessage events raised by the CrossDomainMessenger contract.

func (*CrossDomainMessengerRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CrossDomainMessengerRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrossDomainMessengerRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CrossDomainMessengerSentMessage

type CrossDomainMessengerSentMessage struct {
	Target       common.Address
	Sender       common.Address
	Message      []byte
	MessageNonce *big.Int
	GasLimit     *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CrossDomainMessengerSentMessage represents a SentMessage event raised by the CrossDomainMessenger contract.

type CrossDomainMessengerSentMessageExtension1

type CrossDomainMessengerSentMessageExtension1 struct {
	Sender common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CrossDomainMessengerSentMessageExtension1 represents a SentMessageExtension1 event raised by the CrossDomainMessenger contract.

type CrossDomainMessengerSentMessageExtension1Iterator

type CrossDomainMessengerSentMessageExtension1Iterator struct {
	Event *CrossDomainMessengerSentMessageExtension1 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CrossDomainMessengerSentMessageExtension1Iterator is returned from FilterSentMessageExtension1 and is used to iterate over the raw logs and unpacked data for SentMessageExtension1 events raised by the CrossDomainMessenger contract.

func (*CrossDomainMessengerSentMessageExtension1Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CrossDomainMessengerSentMessageExtension1Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrossDomainMessengerSentMessageExtension1Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CrossDomainMessengerSentMessageIterator

type CrossDomainMessengerSentMessageIterator struct {
	Event *CrossDomainMessengerSentMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CrossDomainMessengerSentMessageIterator is returned from FilterSentMessage and is used to iterate over the raw logs and unpacked data for SentMessage events raised by the CrossDomainMessenger contract.

func (*CrossDomainMessengerSentMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CrossDomainMessengerSentMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrossDomainMessengerSentMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CrossDomainMessengerSession

type CrossDomainMessengerSession struct {
	Contract     *CrossDomainMessenger // Generic contract binding to set the session for
	CallOpts     bind.CallOpts         // Call options to use throughout this session
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

CrossDomainMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CrossDomainMessengerSession) BaseGas

func (_CrossDomainMessenger *CrossDomainMessengerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*CrossDomainMessengerSession) FailedMessages

func (_CrossDomainMessenger *CrossDomainMessengerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerSession) MESSAGEVERSION

func (_CrossDomainMessenger *CrossDomainMessengerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_CrossDomainMessenger *CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_CrossDomainMessenger *CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*CrossDomainMessengerSession) MessageNonce

func (_CrossDomainMessenger *CrossDomainMessengerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*CrossDomainMessengerSession) OTHERMESSENGER

func (_CrossDomainMessenger *CrossDomainMessengerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*CrossDomainMessengerSession) OtherMessenger

func (_CrossDomainMessenger *CrossDomainMessengerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*CrossDomainMessengerSession) Paused

func (_CrossDomainMessenger *CrossDomainMessengerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CrossDomainMessengerSession) RELAYCALLOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD

func (_CrossDomainMessenger *CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*CrossDomainMessengerSession) RELAYGASCHECKBUFFER

func (_CrossDomainMessenger *CrossDomainMessengerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*CrossDomainMessengerSession) RELAYRESERVEDGAS

func (_CrossDomainMessenger *CrossDomainMessengerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*CrossDomainMessengerSession) RelayMessage

func (_CrossDomainMessenger *CrossDomainMessengerSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*CrossDomainMessengerSession) SendMessage

func (_CrossDomainMessenger *CrossDomainMessengerSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

func (*CrossDomainMessengerSession) SuccessfulMessages

func (_CrossDomainMessenger *CrossDomainMessengerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*CrossDomainMessengerSession) XDomainMessageSender

func (_CrossDomainMessenger *CrossDomainMessengerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type CrossDomainMessengerTransactor

type CrossDomainMessengerTransactor struct {
	// contains filtered or unexported fields
}

CrossDomainMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCrossDomainMessengerTransactor

func NewCrossDomainMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*CrossDomainMessengerTransactor, error)

NewCrossDomainMessengerTransactor creates a new write-only instance of CrossDomainMessenger, bound to a specific deployed contract.

func (*CrossDomainMessengerTransactor) RelayMessage

func (_CrossDomainMessenger *CrossDomainMessengerTransactor) RelayMessage(opts *bind.TransactOpts, _nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*CrossDomainMessengerTransactor) SendMessage

func (_CrossDomainMessenger *CrossDomainMessengerTransactor) SendMessage(opts *bind.TransactOpts, _target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

type CrossDomainMessengerTransactorRaw

type CrossDomainMessengerTransactorRaw struct {
	Contract *CrossDomainMessengerTransactor // Generic write-only contract binding to access the raw methods on
}

CrossDomainMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CrossDomainMessengerTransactorRaw) Transact

func (_CrossDomainMessenger *CrossDomainMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CrossDomainMessengerTransactorRaw) Transfer

func (_CrossDomainMessenger *CrossDomainMessengerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CrossDomainMessengerTransactorSession

type CrossDomainMessengerTransactorSession struct {
	Contract     *CrossDomainMessengerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

CrossDomainMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CrossDomainMessengerTransactorSession) RelayMessage

func (_CrossDomainMessenger *CrossDomainMessengerTransactorSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*CrossDomainMessengerTransactorSession) SendMessage

func (_CrossDomainMessenger *CrossDomainMessengerTransactorSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

type L1CrossDomainMessenger

type L1CrossDomainMessenger struct {
	L1CrossDomainMessengerCaller     // Read-only binding to the contract
	L1CrossDomainMessengerTransactor // Write-only binding to the contract
	L1CrossDomainMessengerFilterer   // Log filterer for contract events
}

L1CrossDomainMessenger is an auto generated Go binding around an Ethereum contract.

func DeployL1CrossDomainMessenger

func DeployL1CrossDomainMessenger(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L1CrossDomainMessenger, error)

DeployL1CrossDomainMessenger deploys a new Ethereum contract, binding an instance of L1CrossDomainMessenger to it.

func NewL1CrossDomainMessenger

func NewL1CrossDomainMessenger(address common.Address, backend bind.ContractBackend) (*L1CrossDomainMessenger, error)

NewL1CrossDomainMessenger creates a new instance of L1CrossDomainMessenger, bound to a specific deployed contract.

type L1CrossDomainMessengerCaller

type L1CrossDomainMessengerCaller struct {
	// contains filtered or unexported fields
}

L1CrossDomainMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL1CrossDomainMessengerCaller

func NewL1CrossDomainMessengerCaller(address common.Address, caller bind.ContractCaller) (*L1CrossDomainMessengerCaller, error)

NewL1CrossDomainMessengerCaller creates a new read-only instance of L1CrossDomainMessenger, bound to a specific deployed contract.

func (*L1CrossDomainMessengerCaller) BaseGas

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) BaseGas(opts *bind.CallOpts, _message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L1CrossDomainMessengerCaller) FailedMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) FailedMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerCaller) MESSAGEVERSION

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L1CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD(opts *bind.CallOpts) (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L1CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L1CrossDomainMessengerCaller) MessageNonce

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L1CrossDomainMessengerCaller) NativeTokenAddress

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) NativeTokenAddress(opts *bind.CallOpts) (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1CrossDomainMessengerCaller) OTHERMESSENGER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) OTHERMESSENGER(opts *bind.CallOpts) (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L1CrossDomainMessengerCaller) OtherMessenger

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) OtherMessenger(opts *bind.CallOpts) (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L1CrossDomainMessengerCaller) PORTAL

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) PORTAL(opts *bind.CallOpts) (common.Address, error)

PORTAL is a free data retrieval call binding the contract method 0x0ff754ea.

Solidity: function PORTAL() view returns(address)

func (*L1CrossDomainMessengerCaller) Paused

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1CrossDomainMessengerCaller) Portal

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) Portal(opts *bind.CallOpts) (common.Address, error)

Portal is a free data retrieval call binding the contract method 0x6425666b.

Solidity: function portal() view returns(address)

func (*L1CrossDomainMessengerCaller) RELAYCALLOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) RELAYCALLOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCaller) RELAYGASCHECKBUFFER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) RELAYGASCHECKBUFFER(opts *bind.CallOpts) (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L1CrossDomainMessengerCaller) RELAYRESERVEDGAS

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) RELAYRESERVEDGAS(opts *bind.CallOpts) (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L1CrossDomainMessengerCaller) SuccessfulMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) SuccessfulMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerCaller) SuperchainConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1CrossDomainMessengerCaller) SupportsInterface

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1CrossDomainMessengerCaller) SystemConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1CrossDomainMessengerCaller) UnpackOnApproveData

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) UnpackOnApproveData(opts *bind.CallOpts, _data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1CrossDomainMessengerCaller) Version

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L1CrossDomainMessengerCaller) XDomainMessageSender

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCaller) XDomainMessageSender(opts *bind.CallOpts) (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L1CrossDomainMessengerCallerRaw

type L1CrossDomainMessengerCallerRaw struct {
	Contract *L1CrossDomainMessengerCaller // Generic read-only contract binding to access the raw methods on
}

L1CrossDomainMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L1CrossDomainMessengerCallerRaw) Call

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L1CrossDomainMessengerCallerSession

type L1CrossDomainMessengerCallerSession struct {
	Contract *L1CrossDomainMessengerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                 // Call options to use throughout this session
}

L1CrossDomainMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L1CrossDomainMessengerCallerSession) BaseGas

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L1CrossDomainMessengerCallerSession) FailedMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerCallerSession) MESSAGEVERSION

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L1CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) MessageNonce

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L1CrossDomainMessengerCallerSession) NativeTokenAddress

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) NativeTokenAddress() (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1CrossDomainMessengerCallerSession) OTHERMESSENGER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L1CrossDomainMessengerCallerSession) OtherMessenger

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L1CrossDomainMessengerCallerSession) PORTAL

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) PORTAL() (common.Address, error)

PORTAL is a free data retrieval call binding the contract method 0x0ff754ea.

Solidity: function PORTAL() view returns(address)

func (*L1CrossDomainMessengerCallerSession) Paused

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1CrossDomainMessengerCallerSession) Portal

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) Portal() (common.Address, error)

Portal is a free data retrieval call binding the contract method 0x6425666b.

Solidity: function portal() view returns(address)

func (*L1CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) RELAYRESERVEDGAS

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L1CrossDomainMessengerCallerSession) SuccessfulMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerCallerSession) SuperchainConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1CrossDomainMessengerCallerSession) SupportsInterface

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1CrossDomainMessengerCallerSession) SystemConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1CrossDomainMessengerCallerSession) UnpackOnApproveData

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) UnpackOnApproveData(_data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1CrossDomainMessengerCallerSession) Version

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L1CrossDomainMessengerCallerSession) XDomainMessageSender

func (_L1CrossDomainMessenger *L1CrossDomainMessengerCallerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L1CrossDomainMessengerFailedRelayedMessage

type L1CrossDomainMessengerFailedRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

L1CrossDomainMessengerFailedRelayedMessage represents a FailedRelayedMessage event raised by the L1CrossDomainMessenger contract.

type L1CrossDomainMessengerFailedRelayedMessageIterator

type L1CrossDomainMessengerFailedRelayedMessageIterator struct {
	Event *L1CrossDomainMessengerFailedRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1CrossDomainMessengerFailedRelayedMessageIterator is returned from FilterFailedRelayedMessage and is used to iterate over the raw logs and unpacked data for FailedRelayedMessage events raised by the L1CrossDomainMessenger contract.

func (*L1CrossDomainMessengerFailedRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1CrossDomainMessengerFailedRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1CrossDomainMessengerFailedRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1CrossDomainMessengerFilterer

type L1CrossDomainMessengerFilterer struct {
	// contains filtered or unexported fields
}

L1CrossDomainMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL1CrossDomainMessengerFilterer

func NewL1CrossDomainMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*L1CrossDomainMessengerFilterer, error)

NewL1CrossDomainMessengerFilterer creates a new log filterer instance of L1CrossDomainMessenger, bound to a specific deployed contract.

func (*L1CrossDomainMessengerFilterer) FilterFailedRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) FilterFailedRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*L1CrossDomainMessengerFailedRelayedMessageIterator, error)

FilterFailedRelayedMessage is a free log retrieval operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) FilterInitialized

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) FilterInitialized(opts *bind.FilterOpts) (*L1CrossDomainMessengerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L1CrossDomainMessengerFilterer) FilterRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) FilterRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*L1CrossDomainMessengerRelayedMessageIterator, error)

FilterRelayedMessage is a free log retrieval operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) FilterSentMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) FilterSentMessage(opts *bind.FilterOpts, target []common.Address) (*L1CrossDomainMessengerSentMessageIterator, error)

FilterSentMessage is a free log retrieval operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L1CrossDomainMessengerFilterer) FilterSentMessageExtension1

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) FilterSentMessageExtension1(opts *bind.FilterOpts, sender []common.Address) (*L1CrossDomainMessengerSentMessageExtension1Iterator, error)

FilterSentMessageExtension1 is a free log retrieval operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*L1CrossDomainMessengerFilterer) ParseFailedRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) ParseFailedRelayedMessage(log types.Log) (*L1CrossDomainMessengerFailedRelayedMessage, error)

ParseFailedRelayedMessage is a log parse operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) ParseInitialized

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) ParseInitialized(log types.Log) (*L1CrossDomainMessengerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L1CrossDomainMessengerFilterer) ParseRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) ParseRelayedMessage(log types.Log) (*L1CrossDomainMessengerRelayedMessage, error)

ParseRelayedMessage is a log parse operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) ParseSentMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) ParseSentMessage(log types.Log) (*L1CrossDomainMessengerSentMessage, error)

ParseSentMessage is a log parse operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L1CrossDomainMessengerFilterer) ParseSentMessageExtension1

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) ParseSentMessageExtension1(log types.Log) (*L1CrossDomainMessengerSentMessageExtension1, error)

ParseSentMessageExtension1 is a log parse operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*L1CrossDomainMessengerFilterer) WatchFailedRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) WatchFailedRelayedMessage(opts *bind.WatchOpts, sink chan<- *L1CrossDomainMessengerFailedRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchFailedRelayedMessage is a free log subscription operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) WatchInitialized

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L1CrossDomainMessengerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L1CrossDomainMessengerFilterer) WatchRelayedMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) WatchRelayedMessage(opts *bind.WatchOpts, sink chan<- *L1CrossDomainMessengerRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchRelayedMessage is a free log subscription operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L1CrossDomainMessengerFilterer) WatchSentMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) WatchSentMessage(opts *bind.WatchOpts, sink chan<- *L1CrossDomainMessengerSentMessage, target []common.Address) (event.Subscription, error)

WatchSentMessage is a free log subscription operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L1CrossDomainMessengerFilterer) WatchSentMessageExtension1

func (_L1CrossDomainMessenger *L1CrossDomainMessengerFilterer) WatchSentMessageExtension1(opts *bind.WatchOpts, sink chan<- *L1CrossDomainMessengerSentMessageExtension1, sender []common.Address) (event.Subscription, error)

WatchSentMessageExtension1 is a free log subscription operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

type L1CrossDomainMessengerInitialized

type L1CrossDomainMessengerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L1CrossDomainMessengerInitialized represents a Initialized event raised by the L1CrossDomainMessenger contract.

type L1CrossDomainMessengerInitializedIterator

type L1CrossDomainMessengerInitializedIterator struct {
	Event *L1CrossDomainMessengerInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1CrossDomainMessengerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L1CrossDomainMessenger contract.

func (*L1CrossDomainMessengerInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1CrossDomainMessengerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1CrossDomainMessengerInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1CrossDomainMessengerRaw

type L1CrossDomainMessengerRaw struct {
	Contract *L1CrossDomainMessenger // Generic contract binding to access the raw methods on
}

L1CrossDomainMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L1CrossDomainMessengerRaw) Call

func (_L1CrossDomainMessenger *L1CrossDomainMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L1CrossDomainMessengerRaw) Transact

func (_L1CrossDomainMessenger *L1CrossDomainMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L1CrossDomainMessengerRaw) Transfer

func (_L1CrossDomainMessenger *L1CrossDomainMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L1CrossDomainMessengerRelayedMessage

type L1CrossDomainMessengerRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

L1CrossDomainMessengerRelayedMessage represents a RelayedMessage event raised by the L1CrossDomainMessenger contract.

type L1CrossDomainMessengerRelayedMessageIterator

type L1CrossDomainMessengerRelayedMessageIterator struct {
	Event *L1CrossDomainMessengerRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1CrossDomainMessengerRelayedMessageIterator is returned from FilterRelayedMessage and is used to iterate over the raw logs and unpacked data for RelayedMessage events raised by the L1CrossDomainMessenger contract.

func (*L1CrossDomainMessengerRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1CrossDomainMessengerRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1CrossDomainMessengerRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1CrossDomainMessengerSentMessage

type L1CrossDomainMessengerSentMessage struct {
	Target       common.Address
	Sender       common.Address
	Message      []byte
	MessageNonce *big.Int
	GasLimit     *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

L1CrossDomainMessengerSentMessage represents a SentMessage event raised by the L1CrossDomainMessenger contract.

type L1CrossDomainMessengerSentMessageExtension1

type L1CrossDomainMessengerSentMessageExtension1 struct {
	Sender common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

L1CrossDomainMessengerSentMessageExtension1 represents a SentMessageExtension1 event raised by the L1CrossDomainMessenger contract.

type L1CrossDomainMessengerSentMessageExtension1Iterator

type L1CrossDomainMessengerSentMessageExtension1Iterator struct {
	Event *L1CrossDomainMessengerSentMessageExtension1 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1CrossDomainMessengerSentMessageExtension1Iterator is returned from FilterSentMessageExtension1 and is used to iterate over the raw logs and unpacked data for SentMessageExtension1 events raised by the L1CrossDomainMessenger contract.

func (*L1CrossDomainMessengerSentMessageExtension1Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1CrossDomainMessengerSentMessageExtension1Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1CrossDomainMessengerSentMessageExtension1Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1CrossDomainMessengerSentMessageIterator

type L1CrossDomainMessengerSentMessageIterator struct {
	Event *L1CrossDomainMessengerSentMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1CrossDomainMessengerSentMessageIterator is returned from FilterSentMessage and is used to iterate over the raw logs and unpacked data for SentMessage events raised by the L1CrossDomainMessenger contract.

func (*L1CrossDomainMessengerSentMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1CrossDomainMessengerSentMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1CrossDomainMessengerSentMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1CrossDomainMessengerSession

type L1CrossDomainMessengerSession struct {
	Contract     *L1CrossDomainMessenger // Generic contract binding to set the session for
	CallOpts     bind.CallOpts           // Call options to use throughout this session
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

L1CrossDomainMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L1CrossDomainMessengerSession) BaseGas

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L1CrossDomainMessengerSession) FailedMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerSession) Initialize

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) Initialize(_superchainConfig common.Address, _portal common.Address, _systemConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _superchainConfig, address _portal, address _systemConfig) returns()

func (*L1CrossDomainMessengerSession) MESSAGEVERSION

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L1CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L1CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L1CrossDomainMessengerSession) MessageNonce

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L1CrossDomainMessengerSession) NativeTokenAddress

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) NativeTokenAddress() (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1CrossDomainMessengerSession) OTHERMESSENGER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L1CrossDomainMessengerSession) OnApprove

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) OnApprove(_owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1CrossDomainMessengerSession) OtherMessenger

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L1CrossDomainMessengerSession) PORTAL

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) PORTAL() (common.Address, error)

PORTAL is a free data retrieval call binding the contract method 0x0ff754ea.

Solidity: function PORTAL() view returns(address)

func (*L1CrossDomainMessengerSession) Paused

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1CrossDomainMessengerSession) Portal

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) Portal() (common.Address, error)

Portal is a free data retrieval call binding the contract method 0x6425666b.

Solidity: function portal() view returns(address)

func (*L1CrossDomainMessengerSession) RELAYCALLOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L1CrossDomainMessengerSession) RELAYGASCHECKBUFFER

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L1CrossDomainMessengerSession) RELAYRESERVEDGAS

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L1CrossDomainMessengerSession) RelayMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L1CrossDomainMessengerSession) SendMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

func (*L1CrossDomainMessengerSession) SendNativeTokenMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SendNativeTokenMessage(_target common.Address, _amount *big.Int, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendNativeTokenMessage is a paid mutator transaction binding the contract method 0xe0e593c5.

Solidity: function sendNativeTokenMessage(address _target, uint256 _amount, bytes _message, uint32 _minGasLimit) returns()

func (*L1CrossDomainMessengerSession) SuccessfulMessages

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L1CrossDomainMessengerSession) SuperchainConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1CrossDomainMessengerSession) SupportsInterface

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1CrossDomainMessengerSession) SystemConfig

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1CrossDomainMessengerSession) UnpackOnApproveData

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) UnpackOnApproveData(_data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1CrossDomainMessengerSession) Version

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L1CrossDomainMessengerSession) XDomainMessageSender

func (_L1CrossDomainMessenger *L1CrossDomainMessengerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L1CrossDomainMessengerTransactor

type L1CrossDomainMessengerTransactor struct {
	// contains filtered or unexported fields
}

L1CrossDomainMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL1CrossDomainMessengerTransactor

func NewL1CrossDomainMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*L1CrossDomainMessengerTransactor, error)

NewL1CrossDomainMessengerTransactor creates a new write-only instance of L1CrossDomainMessenger, bound to a specific deployed contract.

func (*L1CrossDomainMessengerTransactor) Initialize

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactor) Initialize(opts *bind.TransactOpts, _superchainConfig common.Address, _portal common.Address, _systemConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _superchainConfig, address _portal, address _systemConfig) returns()

func (*L1CrossDomainMessengerTransactor) OnApprove

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactor) OnApprove(opts *bind.TransactOpts, _owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1CrossDomainMessengerTransactor) RelayMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactor) RelayMessage(opts *bind.TransactOpts, _nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L1CrossDomainMessengerTransactor) SendMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactor) SendMessage(opts *bind.TransactOpts, _target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

func (*L1CrossDomainMessengerTransactor) SendNativeTokenMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactor) SendNativeTokenMessage(opts *bind.TransactOpts, _target common.Address, _amount *big.Int, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendNativeTokenMessage is a paid mutator transaction binding the contract method 0xe0e593c5.

Solidity: function sendNativeTokenMessage(address _target, uint256 _amount, bytes _message, uint32 _minGasLimit) returns()

type L1CrossDomainMessengerTransactorRaw

type L1CrossDomainMessengerTransactorRaw struct {
	Contract *L1CrossDomainMessengerTransactor // Generic write-only contract binding to access the raw methods on
}

L1CrossDomainMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L1CrossDomainMessengerTransactorRaw) Transact

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L1CrossDomainMessengerTransactorRaw) Transfer

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L1CrossDomainMessengerTransactorSession

type L1CrossDomainMessengerTransactorSession struct {
	Contract     *L1CrossDomainMessengerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                 // Transaction auth options to use throughout this session
}

L1CrossDomainMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L1CrossDomainMessengerTransactorSession) Initialize

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorSession) Initialize(_superchainConfig common.Address, _portal common.Address, _systemConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _superchainConfig, address _portal, address _systemConfig) returns()

func (*L1CrossDomainMessengerTransactorSession) OnApprove

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorSession) OnApprove(_owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1CrossDomainMessengerTransactorSession) RelayMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L1CrossDomainMessengerTransactorSession) SendMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

func (*L1CrossDomainMessengerTransactorSession) SendNativeTokenMessage

func (_L1CrossDomainMessenger *L1CrossDomainMessengerTransactorSession) SendNativeTokenMessage(_target common.Address, _amount *big.Int, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendNativeTokenMessage is a paid mutator transaction binding the contract method 0xe0e593c5.

Solidity: function sendNativeTokenMessage(address _target, uint256 _amount, bytes _message, uint32 _minGasLimit) returns()

type L1StandardBridge

type L1StandardBridge struct {
	L1StandardBridgeCaller     // Read-only binding to the contract
	L1StandardBridgeTransactor // Write-only binding to the contract
	L1StandardBridgeFilterer   // Log filterer for contract events
}

L1StandardBridge is an auto generated Go binding around an Ethereum contract.

func DeployL1StandardBridge

func DeployL1StandardBridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L1StandardBridge, error)

DeployL1StandardBridge deploys a new Ethereum contract, binding an instance of L1StandardBridge to it.

func NewL1StandardBridge

func NewL1StandardBridge(address common.Address, backend bind.ContractBackend) (*L1StandardBridge, error)

NewL1StandardBridge creates a new instance of L1StandardBridge, bound to a specific deployed contract.

type L1StandardBridgeCaller

type L1StandardBridgeCaller struct {
	// contains filtered or unexported fields
}

L1StandardBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL1StandardBridgeCaller

func NewL1StandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*L1StandardBridgeCaller, error)

NewL1StandardBridgeCaller creates a new read-only instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeCaller) Deposits

func (_L1StandardBridge *L1StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeCaller) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeCaller) L2TokenBridge(opts *bind.CallOpts) (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeCaller) MESSENGER

func (_L1StandardBridge *L1StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeCaller) Messenger

func (_L1StandardBridge *L1StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeCaller) NativeTokenAddress

func (_L1StandardBridge *L1StandardBridgeCaller) NativeTokenAddress(opts *bind.CallOpts) (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1StandardBridgeCaller) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeCaller) OtherBridge

func (_L1StandardBridge *L1StandardBridgeCaller) OtherBridge(opts *bind.CallOpts) (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L1StandardBridgeCaller) Paused

func (_L1StandardBridge *L1StandardBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1StandardBridgeCaller) SuperchainConfig

func (_L1StandardBridge *L1StandardBridgeCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1StandardBridgeCaller) SupportsInterface

func (_L1StandardBridge *L1StandardBridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1StandardBridgeCaller) SystemConfig

func (_L1StandardBridge *L1StandardBridgeCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1StandardBridgeCaller) UnpackOnApproveData

func (_L1StandardBridge *L1StandardBridgeCaller) UnpackOnApproveData(opts *bind.CallOpts, _data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1StandardBridgeCaller) Version

func (_L1StandardBridge *L1StandardBridgeCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeCallerRaw

type L1StandardBridgeCallerRaw struct {
	Contract *L1StandardBridgeCaller // Generic read-only contract binding to access the raw methods on
}

L1StandardBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L1StandardBridgeCallerRaw) Call

func (_L1StandardBridge *L1StandardBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L1StandardBridgeCallerSession

type L1StandardBridgeCallerSession struct {
	Contract *L1StandardBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

L1StandardBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L1StandardBridgeCallerSession) Deposits

func (_L1StandardBridge *L1StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeCallerSession) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeCallerSession) L2TokenBridge() (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeCallerSession) MESSENGER

func (_L1StandardBridge *L1StandardBridgeCallerSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeCallerSession) Messenger

func (_L1StandardBridge *L1StandardBridgeCallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeCallerSession) NativeTokenAddress

func (_L1StandardBridge *L1StandardBridgeCallerSession) NativeTokenAddress() (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1StandardBridgeCallerSession) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeCallerSession) OtherBridge

func (_L1StandardBridge *L1StandardBridgeCallerSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L1StandardBridgeCallerSession) Paused

func (_L1StandardBridge *L1StandardBridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1StandardBridgeCallerSession) SuperchainConfig

func (_L1StandardBridge *L1StandardBridgeCallerSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1StandardBridgeCallerSession) SupportsInterface

func (_L1StandardBridge *L1StandardBridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1StandardBridgeCallerSession) SystemConfig

func (_L1StandardBridge *L1StandardBridgeCallerSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1StandardBridgeCallerSession) UnpackOnApproveData

func (_L1StandardBridge *L1StandardBridgeCallerSession) UnpackOnApproveData(_data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1StandardBridgeCallerSession) Version

func (_L1StandardBridge *L1StandardBridgeCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeERC20BridgeFinalized

type L1StandardBridgeERC20BridgeFinalized struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

L1StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20BridgeFinalizedIterator

type L1StandardBridgeERC20BridgeFinalizedIterator struct {
	Event *L1StandardBridgeERC20BridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20BridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeERC20BridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20BridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeERC20BridgeInitiated

type L1StandardBridgeERC20BridgeInitiated struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

L1StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20BridgeInitiatedIterator

type L1StandardBridgeERC20BridgeInitiatedIterator struct {
	Event *L1StandardBridgeERC20BridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20BridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeERC20BridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20BridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeERC20DepositInitiated

type L1StandardBridgeERC20DepositInitiated struct {
	L1Token   common.Address
	L2Token   common.Address
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeERC20DepositInitiated represents a ERC20DepositInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20DepositInitiatedIterator

type L1StandardBridgeERC20DepositInitiatedIterator struct {
	Event *L1StandardBridgeERC20DepositInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20DepositInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeERC20DepositInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20DepositInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeERC20WithdrawalFinalized

type L1StandardBridgeERC20WithdrawalFinalized struct {
	L1Token   common.Address
	L2Token   common.Address
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20WithdrawalFinalizedIterator

type L1StandardBridgeERC20WithdrawalFinalizedIterator struct {
	Event *L1StandardBridgeERC20WithdrawalFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeETHBridgeFinalized

type L1StandardBridgeETHBridgeFinalized struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeETHBridgeFinalizedIterator

type L1StandardBridgeETHBridgeFinalizedIterator struct {
	Event *L1StandardBridgeETHBridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHBridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeETHBridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHBridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeETHBridgeInitiated

type L1StandardBridgeETHBridgeInitiated struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeETHBridgeInitiatedIterator

type L1StandardBridgeETHBridgeInitiatedIterator struct {
	Event *L1StandardBridgeETHBridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHBridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeETHBridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHBridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeETHDepositInitiated

type L1StandardBridgeETHDepositInitiated struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeETHDepositInitiated represents a ETHDepositInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeETHDepositInitiatedIterator

type L1StandardBridgeETHDepositInitiatedIterator struct {
	Event *L1StandardBridgeETHDepositInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeETHDepositInitiatedIterator is returned from FilterETHDepositInitiated and is used to iterate over the raw logs and unpacked data for ETHDepositInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHDepositInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeETHDepositInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHDepositInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeETHWithdrawalFinalized

type L1StandardBridgeETHWithdrawalFinalized struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L1StandardBridgeETHWithdrawalFinalized represents a ETHWithdrawalFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeETHWithdrawalFinalizedIterator

type L1StandardBridgeETHWithdrawalFinalizedIterator struct {
	Event *L1StandardBridgeETHWithdrawalFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeETHWithdrawalFinalizedIterator is returned from FilterETHWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ETHWithdrawalFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeFilterer

type L1StandardBridgeFilterer struct {
	// contains filtered or unexported fields
}

L1StandardBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL1StandardBridgeFilterer

func NewL1StandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L1StandardBridgeFilterer, error)

NewL1StandardBridgeFilterer creates a new log filterer instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeFilterer) FilterERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeFinalizedIterator, error)

FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeInitiatedIterator, error)

FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20DepositInitiatedIterator, error)

FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20WithdrawalFinalizedIterator, error)

FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeFinalizedIterator, error)

FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeInitiatedIterator, error)

FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHDepositInitiatedIterator, error)

FilterETHDepositInitiated is a free log retrieval operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHWithdrawalFinalizedIterator, error)

FilterETHWithdrawalFinalized is a free log retrieval operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterInitialized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*L1StandardBridgeInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L1StandardBridgeFilterer) ParseERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1StandardBridgeERC20BridgeFinalized, error)

ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1StandardBridgeERC20BridgeInitiated, error)

ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1StandardBridgeERC20DepositInitiated, error)

ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1StandardBridgeERC20WithdrawalFinalized, error)

ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1StandardBridgeETHBridgeFinalized, error)

ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1StandardBridgeETHBridgeInitiated, error)

ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1StandardBridgeETHDepositInitiated, error)

ParseETHDepositInitiated is a log parse operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1StandardBridgeETHWithdrawalFinalized, error)

ParseETHWithdrawalFinalized is a log parse operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseInitialized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseInitialized(log types.Log) (*L1StandardBridgeInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L1StandardBridgeFilterer) WatchERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20DepositInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20WithdrawalFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHDepositInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHDepositInitiated is a free log subscription operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHWithdrawalFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHWithdrawalFinalized is a free log subscription operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchInitialized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type L1StandardBridgeInitialized

type L1StandardBridgeInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L1StandardBridgeInitialized represents a Initialized event raised by the L1StandardBridge contract.

type L1StandardBridgeInitializedIterator

type L1StandardBridgeInitializedIterator struct {
	Event *L1StandardBridgeInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L1StandardBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L1StandardBridgeInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L1StandardBridgeRaw

type L1StandardBridgeRaw struct {
	Contract *L1StandardBridge // Generic contract binding to access the raw methods on
}

L1StandardBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L1StandardBridgeRaw) Call

func (_L1StandardBridge *L1StandardBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L1StandardBridgeRaw) Transact

func (_L1StandardBridge *L1StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L1StandardBridgeRaw) Transfer

func (_L1StandardBridge *L1StandardBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L1StandardBridgeSession

type L1StandardBridgeSession struct {
	Contract     *L1StandardBridge // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

L1StandardBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L1StandardBridgeSession) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) BridgeETH

func (_L1StandardBridge *L1StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) BridgeNativeToken

func (_L1StandardBridge *L1StandardBridgeSession) BridgeNativeToken(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeToken is a paid mutator transaction binding the contract method 0x95911e5a.

Solidity: function bridgeNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) BridgeNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeSession) BridgeNativeTokenTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeTokenTo is a paid mutator transaction binding the contract method 0xe56b44a3.

Solidity: function bridgeNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositERC20

func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositETH

func (_L1StandardBridge *L1StandardBridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) DepositNativeToken

func (_L1StandardBridge *L1StandardBridgeSession) DepositNativeToken(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeToken is a paid mutator transaction binding the contract method 0x86c1a9de.

Solidity: function depositNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeSession) DepositNativeTokenTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeTokenTo is a paid mutator transaction binding the contract method 0x5791f5c2.

Solidity: function depositNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) Deposits

func (_L1StandardBridge *L1StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeSession) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeSession) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeSession) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) Initialize

func (_L1StandardBridge *L1StandardBridgeSession) Initialize(_messenger common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _messenger, address _systemConfig, address _superchainConfig) returns()

func (*L1StandardBridgeSession) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeSession) L2TokenBridge() (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeSession) MESSENGER

func (_L1StandardBridge *L1StandardBridgeSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeSession) Messenger

func (_L1StandardBridge *L1StandardBridgeSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeSession) NativeTokenAddress

func (_L1StandardBridge *L1StandardBridgeSession) NativeTokenAddress() (common.Address, error)

NativeTokenAddress is a free data retrieval call binding the contract method 0x4d0047ee.

Solidity: function nativeTokenAddress() view returns(address)

func (*L1StandardBridgeSession) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeSession) OnApprove

func (_L1StandardBridge *L1StandardBridgeSession) OnApprove(_owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1StandardBridgeSession) OtherBridge

func (_L1StandardBridge *L1StandardBridgeSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L1StandardBridgeSession) Paused

func (_L1StandardBridge *L1StandardBridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L1StandardBridgeSession) Receive

func (_L1StandardBridge *L1StandardBridgeSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*L1StandardBridgeSession) SuperchainConfig

func (_L1StandardBridge *L1StandardBridgeSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*L1StandardBridgeSession) SupportsInterface

func (_L1StandardBridge *L1StandardBridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

func (*L1StandardBridgeSession) SystemConfig

func (_L1StandardBridge *L1StandardBridgeSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*L1StandardBridgeSession) UnpackOnApproveData

func (_L1StandardBridge *L1StandardBridgeSession) UnpackOnApproveData(_data []byte) (struct {
	From        common.Address
	To          common.Address
	Amount      *big.Int
	MinGasLimit uint32
	Message     []byte
}, error)

UnpackOnApproveData is a free data retrieval call binding the contract method 0x92a162cf.

Solidity: function unpackOnApproveData(bytes _data) pure returns(address _from, address _to, uint256 _amount, uint32 _minGasLimit, bytes _message)

func (*L1StandardBridgeSession) Version

func (_L1StandardBridge *L1StandardBridgeSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeTransactor

type L1StandardBridgeTransactor struct {
	// contains filtered or unexported fields
}

L1StandardBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL1StandardBridgeTransactor

func NewL1StandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L1StandardBridgeTransactor, error)

NewL1StandardBridgeTransactor creates a new write-only instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeTransactor) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) BridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) BridgeNativeToken

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeNativeToken(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeToken is a paid mutator transaction binding the contract method 0x95911e5a.

Solidity: function bridgeNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) BridgeNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeNativeTokenTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeTokenTo is a paid mutator transaction binding the contract method 0xe56b44a3.

Solidity: function bridgeNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositETH

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) DepositNativeToken

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositNativeToken(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeToken is a paid mutator transaction binding the contract method 0x86c1a9de.

Solidity: function depositNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositNativeTokenTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeTokenTo is a paid mutator transaction binding the contract method 0x5791f5c2.

Solidity: function depositNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) Initialize

func (_L1StandardBridge *L1StandardBridgeTransactor) Initialize(opts *bind.TransactOpts, _messenger common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _messenger, address _systemConfig, address _superchainConfig) returns()

func (*L1StandardBridgeTransactor) OnApprove

func (_L1StandardBridge *L1StandardBridgeTransactor) OnApprove(opts *bind.TransactOpts, _owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1StandardBridgeTransactor) Receive

func (_L1StandardBridge *L1StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type L1StandardBridgeTransactorRaw

type L1StandardBridgeTransactorRaw struct {
	Contract *L1StandardBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

L1StandardBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L1StandardBridgeTransactorRaw) Transact

func (_L1StandardBridge *L1StandardBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L1StandardBridgeTransactorRaw) Transfer

func (_L1StandardBridge *L1StandardBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L1StandardBridgeTransactorSession

type L1StandardBridgeTransactorSession struct {
	Contract     *L1StandardBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

L1StandardBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L1StandardBridgeTransactorSession) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) BridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) BridgeNativeToken

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeNativeToken(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeToken is a paid mutator transaction binding the contract method 0x95911e5a.

Solidity: function bridgeNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) BridgeNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeNativeTokenTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeNativeTokenTo is a paid mutator transaction binding the contract method 0xe56b44a3.

Solidity: function bridgeNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) DepositNativeToken

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositNativeToken(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeToken is a paid mutator transaction binding the contract method 0x86c1a9de.

Solidity: function depositNativeToken(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositNativeTokenTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositNativeTokenTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositNativeTokenTo is a paid mutator transaction binding the contract method 0x5791f5c2.

Solidity: function depositNativeTokenTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) Initialize

func (_L1StandardBridge *L1StandardBridgeTransactorSession) Initialize(_messenger common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _messenger, address _systemConfig, address _superchainConfig) returns()

func (*L1StandardBridgeTransactorSession) OnApprove

func (_L1StandardBridge *L1StandardBridgeTransactorSession) OnApprove(_owner common.Address, arg1 common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0x4273ca16.

Solidity: function onApprove(address _owner, address , uint256 _amount, bytes _data) returns(bool)

func (*L1StandardBridgeTransactorSession) Receive

func (_L1StandardBridge *L1StandardBridgeTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type L2CrossDomainMessenger

type L2CrossDomainMessenger struct {
	L2CrossDomainMessengerCaller     // Read-only binding to the contract
	L2CrossDomainMessengerTransactor // Write-only binding to the contract
	L2CrossDomainMessengerFilterer   // Log filterer for contract events
}

L2CrossDomainMessenger is an auto generated Go binding around an Ethereum contract.

func DeployL2CrossDomainMessenger

func DeployL2CrossDomainMessenger(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2CrossDomainMessenger, error)

DeployL2CrossDomainMessenger deploys a new Ethereum contract, binding an instance of L2CrossDomainMessenger to it.

func NewL2CrossDomainMessenger

func NewL2CrossDomainMessenger(address common.Address, backend bind.ContractBackend) (*L2CrossDomainMessenger, error)

NewL2CrossDomainMessenger creates a new instance of L2CrossDomainMessenger, bound to a specific deployed contract.

type L2CrossDomainMessengerCaller

type L2CrossDomainMessengerCaller struct {
	// contains filtered or unexported fields
}

L2CrossDomainMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL2CrossDomainMessengerCaller

func NewL2CrossDomainMessengerCaller(address common.Address, caller bind.ContractCaller) (*L2CrossDomainMessengerCaller, error)

NewL2CrossDomainMessengerCaller creates a new read-only instance of L2CrossDomainMessenger, bound to a specific deployed contract.

func (*L2CrossDomainMessengerCaller) BaseGas

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) BaseGas(opts *bind.CallOpts, _message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L2CrossDomainMessengerCaller) FailedMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) FailedMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerCaller) L1CrossDomainMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) L1CrossDomainMessenger(opts *bind.CallOpts) (common.Address, error)

L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.

Solidity: function l1CrossDomainMessenger() view returns(address)

func (*L2CrossDomainMessengerCaller) MESSAGEVERSION

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) MINGASCALLDATAOVERHEAD(opts *bind.CallOpts) (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADDENOMINATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L2CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) MINGASDYNAMICOVERHEADNUMERATOR(opts *bind.CallOpts) (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L2CrossDomainMessengerCaller) MessageNonce

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2CrossDomainMessengerCaller) OTHERMESSENGER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) OTHERMESSENGER(opts *bind.CallOpts) (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L2CrossDomainMessengerCaller) OtherMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) OtherMessenger(opts *bind.CallOpts) (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L2CrossDomainMessengerCaller) Paused

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2CrossDomainMessengerCaller) RELAYCALLOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) RELAYCALLOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) RELAYCONSTANTOVERHEAD(opts *bind.CallOpts) (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCaller) RELAYGASCHECKBUFFER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) RELAYGASCHECKBUFFER(opts *bind.CallOpts) (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L2CrossDomainMessengerCaller) RELAYRESERVEDGAS

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) RELAYRESERVEDGAS(opts *bind.CallOpts) (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L2CrossDomainMessengerCaller) SuccessfulMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) SuccessfulMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerCaller) Version

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L2CrossDomainMessengerCaller) XDomainMessageSender

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCaller) XDomainMessageSender(opts *bind.CallOpts) (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L2CrossDomainMessengerCallerRaw

type L2CrossDomainMessengerCallerRaw struct {
	Contract *L2CrossDomainMessengerCaller // Generic read-only contract binding to access the raw methods on
}

L2CrossDomainMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L2CrossDomainMessengerCallerRaw) Call

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L2CrossDomainMessengerCallerSession

type L2CrossDomainMessengerCallerSession struct {
	Contract *L2CrossDomainMessengerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                 // Call options to use throughout this session
}

L2CrossDomainMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L2CrossDomainMessengerCallerSession) BaseGas

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L2CrossDomainMessengerCallerSession) FailedMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerCallerSession) L1CrossDomainMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) L1CrossDomainMessenger() (common.Address, error)

L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.

Solidity: function l1CrossDomainMessenger() view returns(address)

func (*L2CrossDomainMessengerCallerSession) MESSAGEVERSION

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) MessageNonce

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2CrossDomainMessengerCallerSession) OTHERMESSENGER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L2CrossDomainMessengerCallerSession) OtherMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L2CrossDomainMessengerCallerSession) Paused

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) RELAYRESERVEDGAS

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L2CrossDomainMessengerCallerSession) SuccessfulMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerCallerSession) Version

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L2CrossDomainMessengerCallerSession) XDomainMessageSender

func (_L2CrossDomainMessenger *L2CrossDomainMessengerCallerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L2CrossDomainMessengerFailedRelayedMessage

type L2CrossDomainMessengerFailedRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

L2CrossDomainMessengerFailedRelayedMessage represents a FailedRelayedMessage event raised by the L2CrossDomainMessenger contract.

type L2CrossDomainMessengerFailedRelayedMessageIterator

type L2CrossDomainMessengerFailedRelayedMessageIterator struct {
	Event *L2CrossDomainMessengerFailedRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2CrossDomainMessengerFailedRelayedMessageIterator is returned from FilterFailedRelayedMessage and is used to iterate over the raw logs and unpacked data for FailedRelayedMessage events raised by the L2CrossDomainMessenger contract.

func (*L2CrossDomainMessengerFailedRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2CrossDomainMessengerFailedRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2CrossDomainMessengerFailedRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2CrossDomainMessengerFilterer

type L2CrossDomainMessengerFilterer struct {
	// contains filtered or unexported fields
}

L2CrossDomainMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL2CrossDomainMessengerFilterer

func NewL2CrossDomainMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*L2CrossDomainMessengerFilterer, error)

NewL2CrossDomainMessengerFilterer creates a new log filterer instance of L2CrossDomainMessenger, bound to a specific deployed contract.

func (*L2CrossDomainMessengerFilterer) FilterFailedRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) FilterFailedRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*L2CrossDomainMessengerFailedRelayedMessageIterator, error)

FilterFailedRelayedMessage is a free log retrieval operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) FilterInitialized

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2CrossDomainMessengerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2CrossDomainMessengerFilterer) FilterRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) FilterRelayedMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*L2CrossDomainMessengerRelayedMessageIterator, error)

FilterRelayedMessage is a free log retrieval operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) FilterSentMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) FilterSentMessage(opts *bind.FilterOpts, target []common.Address) (*L2CrossDomainMessengerSentMessageIterator, error)

FilterSentMessage is a free log retrieval operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L2CrossDomainMessengerFilterer) FilterSentMessageExtension1

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) FilterSentMessageExtension1(opts *bind.FilterOpts, sender []common.Address) (*L2CrossDomainMessengerSentMessageExtension1Iterator, error)

FilterSentMessageExtension1 is a free log retrieval operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*L2CrossDomainMessengerFilterer) ParseFailedRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) ParseFailedRelayedMessage(log types.Log) (*L2CrossDomainMessengerFailedRelayedMessage, error)

ParseFailedRelayedMessage is a log parse operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) ParseInitialized

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) ParseInitialized(log types.Log) (*L2CrossDomainMessengerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2CrossDomainMessengerFilterer) ParseRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) ParseRelayedMessage(log types.Log) (*L2CrossDomainMessengerRelayedMessage, error)

ParseRelayedMessage is a log parse operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) ParseSentMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) ParseSentMessage(log types.Log) (*L2CrossDomainMessengerSentMessage, error)

ParseSentMessage is a log parse operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L2CrossDomainMessengerFilterer) ParseSentMessageExtension1

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) ParseSentMessageExtension1(log types.Log) (*L2CrossDomainMessengerSentMessageExtension1, error)

ParseSentMessageExtension1 is a log parse operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

func (*L2CrossDomainMessengerFilterer) WatchFailedRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) WatchFailedRelayedMessage(opts *bind.WatchOpts, sink chan<- *L2CrossDomainMessengerFailedRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchFailedRelayedMessage is a free log subscription operation binding the contract event 0x99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f.

Solidity: event FailedRelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) WatchInitialized

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2CrossDomainMessengerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2CrossDomainMessengerFilterer) WatchRelayedMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) WatchRelayedMessage(opts *bind.WatchOpts, sink chan<- *L2CrossDomainMessengerRelayedMessage, msgHash [][32]byte) (event.Subscription, error)

WatchRelayedMessage is a free log subscription operation binding the contract event 0x4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c.

Solidity: event RelayedMessage(bytes32 indexed msgHash)

func (*L2CrossDomainMessengerFilterer) WatchSentMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) WatchSentMessage(opts *bind.WatchOpts, sink chan<- *L2CrossDomainMessengerSentMessage, target []common.Address) (event.Subscription, error)

WatchSentMessage is a free log subscription operation binding the contract event 0xcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a.

Solidity: event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit)

func (*L2CrossDomainMessengerFilterer) WatchSentMessageExtension1

func (_L2CrossDomainMessenger *L2CrossDomainMessengerFilterer) WatchSentMessageExtension1(opts *bind.WatchOpts, sink chan<- *L2CrossDomainMessengerSentMessageExtension1, sender []common.Address) (event.Subscription, error)

WatchSentMessageExtension1 is a free log subscription operation binding the contract event 0x8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d546.

Solidity: event SentMessageExtension1(address indexed sender, uint256 value)

type L2CrossDomainMessengerInitialized

type L2CrossDomainMessengerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L2CrossDomainMessengerInitialized represents a Initialized event raised by the L2CrossDomainMessenger contract.

type L2CrossDomainMessengerInitializedIterator

type L2CrossDomainMessengerInitializedIterator struct {
	Event *L2CrossDomainMessengerInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2CrossDomainMessengerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L2CrossDomainMessenger contract.

func (*L2CrossDomainMessengerInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2CrossDomainMessengerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2CrossDomainMessengerInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2CrossDomainMessengerRaw

type L2CrossDomainMessengerRaw struct {
	Contract *L2CrossDomainMessenger // Generic contract binding to access the raw methods on
}

L2CrossDomainMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L2CrossDomainMessengerRaw) Call

func (_L2CrossDomainMessenger *L2CrossDomainMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L2CrossDomainMessengerRaw) Transact

func (_L2CrossDomainMessenger *L2CrossDomainMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2CrossDomainMessengerRaw) Transfer

func (_L2CrossDomainMessenger *L2CrossDomainMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2CrossDomainMessengerRelayedMessage

type L2CrossDomainMessengerRelayedMessage struct {
	MsgHash [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

L2CrossDomainMessengerRelayedMessage represents a RelayedMessage event raised by the L2CrossDomainMessenger contract.

type L2CrossDomainMessengerRelayedMessageIterator

type L2CrossDomainMessengerRelayedMessageIterator struct {
	Event *L2CrossDomainMessengerRelayedMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2CrossDomainMessengerRelayedMessageIterator is returned from FilterRelayedMessage and is used to iterate over the raw logs and unpacked data for RelayedMessage events raised by the L2CrossDomainMessenger contract.

func (*L2CrossDomainMessengerRelayedMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2CrossDomainMessengerRelayedMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2CrossDomainMessengerRelayedMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2CrossDomainMessengerSentMessage

type L2CrossDomainMessengerSentMessage struct {
	Target       common.Address
	Sender       common.Address
	Message      []byte
	MessageNonce *big.Int
	GasLimit     *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

L2CrossDomainMessengerSentMessage represents a SentMessage event raised by the L2CrossDomainMessenger contract.

type L2CrossDomainMessengerSentMessageExtension1

type L2CrossDomainMessengerSentMessageExtension1 struct {
	Sender common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

L2CrossDomainMessengerSentMessageExtension1 represents a SentMessageExtension1 event raised by the L2CrossDomainMessenger contract.

type L2CrossDomainMessengerSentMessageExtension1Iterator

type L2CrossDomainMessengerSentMessageExtension1Iterator struct {
	Event *L2CrossDomainMessengerSentMessageExtension1 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2CrossDomainMessengerSentMessageExtension1Iterator is returned from FilterSentMessageExtension1 and is used to iterate over the raw logs and unpacked data for SentMessageExtension1 events raised by the L2CrossDomainMessenger contract.

func (*L2CrossDomainMessengerSentMessageExtension1Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2CrossDomainMessengerSentMessageExtension1Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2CrossDomainMessengerSentMessageExtension1Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2CrossDomainMessengerSentMessageIterator

type L2CrossDomainMessengerSentMessageIterator struct {
	Event *L2CrossDomainMessengerSentMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2CrossDomainMessengerSentMessageIterator is returned from FilterSentMessage and is used to iterate over the raw logs and unpacked data for SentMessage events raised by the L2CrossDomainMessenger contract.

func (*L2CrossDomainMessengerSentMessageIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2CrossDomainMessengerSentMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2CrossDomainMessengerSentMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2CrossDomainMessengerSession

type L2CrossDomainMessengerSession struct {
	Contract     *L2CrossDomainMessenger // Generic contract binding to set the session for
	CallOpts     bind.CallOpts           // Call options to use throughout this session
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

L2CrossDomainMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L2CrossDomainMessengerSession) BaseGas

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) BaseGas(_message []byte, _minGasLimit uint32) (uint64, error)

BaseGas is a free data retrieval call binding the contract method 0xb28ade25.

Solidity: function baseGas(bytes _message, uint32 _minGasLimit) pure returns(uint64)

func (*L2CrossDomainMessengerSession) FailedMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) FailedMessages(arg0 [32]byte) (bool, error)

FailedMessages is a free data retrieval call binding the contract method 0xa4e7f8bd.

Solidity: function failedMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerSession) Initialize

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) Initialize(_l1CrossDomainMessenger common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _l1CrossDomainMessenger) returns()

func (*L2CrossDomainMessengerSession) L1CrossDomainMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) L1CrossDomainMessenger() (common.Address, error)

L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.

Solidity: function l1CrossDomainMessenger() view returns(address)

func (*L2CrossDomainMessengerSession) MESSAGEVERSION

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) MINGASCALLDATAOVERHEAD() (uint64, error)

MINGASCALLDATAOVERHEAD is a free data retrieval call binding the contract method 0x028f85f7.

Solidity: function MIN_GAS_CALLDATA_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) MINGASDYNAMICOVERHEADDENOMINATOR() (uint64, error)

MINGASDYNAMICOVERHEADDENOMINATOR is a free data retrieval call binding the contract method 0x0c568498.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() view returns(uint64)

func (*L2CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) MINGASDYNAMICOVERHEADNUMERATOR() (uint64, error)

MINGASDYNAMICOVERHEADNUMERATOR is a free data retrieval call binding the contract method 0x2828d7e8.

Solidity: function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() view returns(uint64)

func (*L2CrossDomainMessengerSession) MessageNonce

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2CrossDomainMessengerSession) OTHERMESSENGER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) OTHERMESSENGER() (common.Address, error)

OTHERMESSENGER is a free data retrieval call binding the contract method 0x9fce812c.

Solidity: function OTHER_MESSENGER() view returns(address)

func (*L2CrossDomainMessengerSession) OtherMessenger

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) OtherMessenger() (common.Address, error)

OtherMessenger is a free data retrieval call binding the contract method 0xdb505d80.

Solidity: function otherMessenger() view returns(address)

func (*L2CrossDomainMessengerSession) Paused

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2CrossDomainMessengerSession) RELAYCALLOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) RELAYCALLOVERHEAD() (uint64, error)

RELAYCALLOVERHEAD is a free data retrieval call binding the contract method 0x4c1d6a69.

Solidity: function RELAY_CALL_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) RELAYCONSTANTOVERHEAD() (uint64, error)

RELAYCONSTANTOVERHEAD is a free data retrieval call binding the contract method 0x83a74074.

Solidity: function RELAY_CONSTANT_OVERHEAD() view returns(uint64)

func (*L2CrossDomainMessengerSession) RELAYGASCHECKBUFFER

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) RELAYGASCHECKBUFFER() (uint64, error)

RELAYGASCHECKBUFFER is a free data retrieval call binding the contract method 0x5644cfdf.

Solidity: function RELAY_GAS_CHECK_BUFFER() view returns(uint64)

func (*L2CrossDomainMessengerSession) RELAYRESERVEDGAS

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) RELAYRESERVEDGAS() (uint64, error)

RELAYRESERVEDGAS is a free data retrieval call binding the contract method 0x8cbeeef2.

Solidity: function RELAY_RESERVED_GAS() view returns(uint64)

func (*L2CrossDomainMessengerSession) RelayMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L2CrossDomainMessengerSession) SendMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

func (*L2CrossDomainMessengerSession) SuccessfulMessages

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)

SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.

Solidity: function successfulMessages(bytes32 ) view returns(bool)

func (*L2CrossDomainMessengerSession) Version

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L2CrossDomainMessengerSession) XDomainMessageSender

func (_L2CrossDomainMessenger *L2CrossDomainMessengerSession) XDomainMessageSender() (common.Address, error)

XDomainMessageSender is a free data retrieval call binding the contract method 0x6e296e45.

Solidity: function xDomainMessageSender() view returns(address)

type L2CrossDomainMessengerTransactor

type L2CrossDomainMessengerTransactor struct {
	// contains filtered or unexported fields
}

L2CrossDomainMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL2CrossDomainMessengerTransactor

func NewL2CrossDomainMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*L2CrossDomainMessengerTransactor, error)

NewL2CrossDomainMessengerTransactor creates a new write-only instance of L2CrossDomainMessenger, bound to a specific deployed contract.

func (*L2CrossDomainMessengerTransactor) Initialize

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactor) Initialize(opts *bind.TransactOpts, _l1CrossDomainMessenger common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _l1CrossDomainMessenger) returns()

func (*L2CrossDomainMessengerTransactor) RelayMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactor) RelayMessage(opts *bind.TransactOpts, _nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L2CrossDomainMessengerTransactor) SendMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactor) SendMessage(opts *bind.TransactOpts, _target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

type L2CrossDomainMessengerTransactorRaw

type L2CrossDomainMessengerTransactorRaw struct {
	Contract *L2CrossDomainMessengerTransactor // Generic write-only contract binding to access the raw methods on
}

L2CrossDomainMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L2CrossDomainMessengerTransactorRaw) Transact

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2CrossDomainMessengerTransactorRaw) Transfer

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2CrossDomainMessengerTransactorSession

type L2CrossDomainMessengerTransactorSession struct {
	Contract     *L2CrossDomainMessengerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                 // Transaction auth options to use throughout this session
}

L2CrossDomainMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L2CrossDomainMessengerTransactorSession) Initialize

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactorSession) Initialize(_l1CrossDomainMessenger common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _l1CrossDomainMessenger) returns()

func (*L2CrossDomainMessengerTransactorSession) RelayMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactorSession) RelayMessage(_nonce *big.Int, _sender common.Address, _target common.Address, _value *big.Int, _minGasLimit *big.Int, _message []byte) (*types.Transaction, error)

RelayMessage is a paid mutator transaction binding the contract method 0xd764ad0b.

Solidity: function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes _message) payable returns()

func (*L2CrossDomainMessengerTransactorSession) SendMessage

func (_L2CrossDomainMessenger *L2CrossDomainMessengerTransactorSession) SendMessage(_target common.Address, _message []byte, _minGasLimit uint32) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0x3dbb202b.

Solidity: function sendMessage(address _target, bytes _message, uint32 _minGasLimit) payable returns()

type L2OutputOracle

type L2OutputOracle struct {
	L2OutputOracleCaller     // Read-only binding to the contract
	L2OutputOracleTransactor // Write-only binding to the contract
	L2OutputOracleFilterer   // Log filterer for contract events
}

L2OutputOracle is an auto generated Go binding around an Ethereum contract.

func DeployL2OutputOracle

func DeployL2OutputOracle(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2OutputOracle, error)

DeployL2OutputOracle deploys a new Ethereum contract, binding an instance of L2OutputOracle to it.

func NewL2OutputOracle

func NewL2OutputOracle(address common.Address, backend bind.ContractBackend) (*L2OutputOracle, error)

NewL2OutputOracle creates a new instance of L2OutputOracle, bound to a specific deployed contract.

type L2OutputOracleCaller

type L2OutputOracleCaller struct {
	// contains filtered or unexported fields
}

L2OutputOracleCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL2OutputOracleCaller

func NewL2OutputOracleCaller(address common.Address, caller bind.ContractCaller) (*L2OutputOracleCaller, error)

NewL2OutputOracleCaller creates a new read-only instance of L2OutputOracle, bound to a specific deployed contract.

func (*L2OutputOracleCaller) CHALLENGER

func (_L2OutputOracle *L2OutputOracleCaller) CHALLENGER(opts *bind.CallOpts) (common.Address, error)

CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.

Solidity: function CHALLENGER() view returns(address)

func (*L2OutputOracleCaller) Challenger

func (_L2OutputOracle *L2OutputOracleCaller) Challenger(opts *bind.CallOpts) (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*L2OutputOracleCaller) ComputeL2Timestamp

func (_L2OutputOracle *L2OutputOracleCaller) ComputeL2Timestamp(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)

ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.

Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleCaller) FINALIZATIONPERIODSECONDS

func (_L2OutputOracle *L2OutputOracleCaller) FINALIZATIONPERIODSECONDS(opts *bind.CallOpts) (*big.Int, error)

FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.

Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)

func (*L2OutputOracleCaller) FinalizationPeriodSeconds

func (_L2OutputOracle *L2OutputOracleCaller) FinalizationPeriodSeconds(opts *bind.CallOpts) (*big.Int, error)

FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.

Solidity: function finalizationPeriodSeconds() view returns(uint256)

func (*L2OutputOracleCaller) GetL2Output

func (_L2OutputOracle *L2OutputOracleCaller) GetL2Output(opts *bind.CallOpts, _l2OutputIndex *big.Int) (TypesOutputProposal, error)

GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.

Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleCaller) GetL2OutputAfter

func (_L2OutputOracle *L2OutputOracleCaller) GetL2OutputAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (TypesOutputProposal, error)

GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.

Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleCaller) GetL2OutputIndexAfter

func (_L2OutputOracle *L2OutputOracleCaller) GetL2OutputIndexAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)

GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.

Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleCaller) L2BLOCKTIME

func (_L2OutputOracle *L2OutputOracleCaller) L2BLOCKTIME(opts *bind.CallOpts) (*big.Int, error)

L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.

Solidity: function L2_BLOCK_TIME() view returns(uint256)

func (*L2OutputOracleCaller) L2BlockTime

func (_L2OutputOracle *L2OutputOracleCaller) L2BlockTime(opts *bind.CallOpts) (*big.Int, error)

L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.

Solidity: function l2BlockTime() view returns(uint256)

func (*L2OutputOracleCaller) LatestBlockNumber

func (_L2OutputOracle *L2OutputOracleCaller) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)

LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.

Solidity: function latestBlockNumber() view returns(uint256)

func (*L2OutputOracleCaller) LatestOutputIndex

func (_L2OutputOracle *L2OutputOracleCaller) LatestOutputIndex(opts *bind.CallOpts) (*big.Int, error)

LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.

Solidity: function latestOutputIndex() view returns(uint256)

func (*L2OutputOracleCaller) NextBlockNumber

func (_L2OutputOracle *L2OutputOracleCaller) NextBlockNumber(opts *bind.CallOpts) (*big.Int, error)

NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.

Solidity: function nextBlockNumber() view returns(uint256)

func (*L2OutputOracleCaller) NextOutputIndex

func (_L2OutputOracle *L2OutputOracleCaller) NextOutputIndex(opts *bind.CallOpts) (*big.Int, error)

NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.

Solidity: function nextOutputIndex() view returns(uint256)

func (*L2OutputOracleCaller) PROPOSER

func (_L2OutputOracle *L2OutputOracleCaller) PROPOSER(opts *bind.CallOpts) (common.Address, error)

PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.

Solidity: function PROPOSER() view returns(address)

func (*L2OutputOracleCaller) Proposer

func (_L2OutputOracle *L2OutputOracleCaller) Proposer(opts *bind.CallOpts) (common.Address, error)

Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.

Solidity: function proposer() view returns(address)

func (*L2OutputOracleCaller) SUBMISSIONINTERVAL

func (_L2OutputOracle *L2OutputOracleCaller) SUBMISSIONINTERVAL(opts *bind.CallOpts) (*big.Int, error)

SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.

Solidity: function SUBMISSION_INTERVAL() view returns(uint256)

func (*L2OutputOracleCaller) StartingBlockNumber

func (_L2OutputOracle *L2OutputOracleCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)

StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.

Solidity: function startingBlockNumber() view returns(uint256)

func (*L2OutputOracleCaller) StartingTimestamp

func (_L2OutputOracle *L2OutputOracleCaller) StartingTimestamp(opts *bind.CallOpts) (*big.Int, error)

StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.

Solidity: function startingTimestamp() view returns(uint256)

func (*L2OutputOracleCaller) SubmissionInterval

func (_L2OutputOracle *L2OutputOracleCaller) SubmissionInterval(opts *bind.CallOpts) (*big.Int, error)

SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.

Solidity: function submissionInterval() view returns(uint256)

func (*L2OutputOracleCaller) Version

func (_L2OutputOracle *L2OutputOracleCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2OutputOracleCallerRaw

type L2OutputOracleCallerRaw struct {
	Contract *L2OutputOracleCaller // Generic read-only contract binding to access the raw methods on
}

L2OutputOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L2OutputOracleCallerRaw) Call

func (_L2OutputOracle *L2OutputOracleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L2OutputOracleCallerSession

type L2OutputOracleCallerSession struct {
	Contract *L2OutputOracleCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

L2OutputOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L2OutputOracleCallerSession) CHALLENGER

func (_L2OutputOracle *L2OutputOracleCallerSession) CHALLENGER() (common.Address, error)

CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.

Solidity: function CHALLENGER() view returns(address)

func (*L2OutputOracleCallerSession) Challenger

func (_L2OutputOracle *L2OutputOracleCallerSession) Challenger() (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*L2OutputOracleCallerSession) ComputeL2Timestamp

func (_L2OutputOracle *L2OutputOracleCallerSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)

ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.

Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleCallerSession) FINALIZATIONPERIODSECONDS

func (_L2OutputOracle *L2OutputOracleCallerSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)

FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.

Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)

func (*L2OutputOracleCallerSession) FinalizationPeriodSeconds

func (_L2OutputOracle *L2OutputOracleCallerSession) FinalizationPeriodSeconds() (*big.Int, error)

FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.

Solidity: function finalizationPeriodSeconds() view returns(uint256)

func (*L2OutputOracleCallerSession) GetL2Output

func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)

GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.

Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleCallerSession) GetL2OutputAfter

func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)

GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.

Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleCallerSession) GetL2OutputIndexAfter

func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)

GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.

Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleCallerSession) L2BLOCKTIME

func (_L2OutputOracle *L2OutputOracleCallerSession) L2BLOCKTIME() (*big.Int, error)

L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.

Solidity: function L2_BLOCK_TIME() view returns(uint256)

func (*L2OutputOracleCallerSession) L2BlockTime

func (_L2OutputOracle *L2OutputOracleCallerSession) L2BlockTime() (*big.Int, error)

L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.

Solidity: function l2BlockTime() view returns(uint256)

func (*L2OutputOracleCallerSession) LatestBlockNumber

func (_L2OutputOracle *L2OutputOracleCallerSession) LatestBlockNumber() (*big.Int, error)

LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.

Solidity: function latestBlockNumber() view returns(uint256)

func (*L2OutputOracleCallerSession) LatestOutputIndex

func (_L2OutputOracle *L2OutputOracleCallerSession) LatestOutputIndex() (*big.Int, error)

LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.

Solidity: function latestOutputIndex() view returns(uint256)

func (*L2OutputOracleCallerSession) NextBlockNumber

func (_L2OutputOracle *L2OutputOracleCallerSession) NextBlockNumber() (*big.Int, error)

NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.

Solidity: function nextBlockNumber() view returns(uint256)

func (*L2OutputOracleCallerSession) NextOutputIndex

func (_L2OutputOracle *L2OutputOracleCallerSession) NextOutputIndex() (*big.Int, error)

NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.

Solidity: function nextOutputIndex() view returns(uint256)

func (*L2OutputOracleCallerSession) PROPOSER

func (_L2OutputOracle *L2OutputOracleCallerSession) PROPOSER() (common.Address, error)

PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.

Solidity: function PROPOSER() view returns(address)

func (*L2OutputOracleCallerSession) Proposer

func (_L2OutputOracle *L2OutputOracleCallerSession) Proposer() (common.Address, error)

Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.

Solidity: function proposer() view returns(address)

func (*L2OutputOracleCallerSession) SUBMISSIONINTERVAL

func (_L2OutputOracle *L2OutputOracleCallerSession) SUBMISSIONINTERVAL() (*big.Int, error)

SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.

Solidity: function SUBMISSION_INTERVAL() view returns(uint256)

func (*L2OutputOracleCallerSession) StartingBlockNumber

func (_L2OutputOracle *L2OutputOracleCallerSession) StartingBlockNumber() (*big.Int, error)

StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.

Solidity: function startingBlockNumber() view returns(uint256)

func (*L2OutputOracleCallerSession) StartingTimestamp

func (_L2OutputOracle *L2OutputOracleCallerSession) StartingTimestamp() (*big.Int, error)

StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.

Solidity: function startingTimestamp() view returns(uint256)

func (*L2OutputOracleCallerSession) SubmissionInterval

func (_L2OutputOracle *L2OutputOracleCallerSession) SubmissionInterval() (*big.Int, error)

SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.

Solidity: function submissionInterval() view returns(uint256)

func (*L2OutputOracleCallerSession) Version

func (_L2OutputOracle *L2OutputOracleCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2OutputOracleFilterer

type L2OutputOracleFilterer struct {
	// contains filtered or unexported fields
}

L2OutputOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL2OutputOracleFilterer

func NewL2OutputOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*L2OutputOracleFilterer, error)

NewL2OutputOracleFilterer creates a new log filterer instance of L2OutputOracle, bound to a specific deployed contract.

func (*L2OutputOracleFilterer) FilterInitialized

func (_L2OutputOracle *L2OutputOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2OutputOracleInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2OutputOracleFilterer) FilterOutputProposed

func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (*L2OutputOracleOutputProposedIterator, error)

FilterOutputProposed is a free log retrieval operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.

Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)

func (*L2OutputOracleFilterer) FilterOutputsDeleted

func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputsDeleted(opts *bind.FilterOpts, prevNextOutputIndex []*big.Int, newNextOutputIndex []*big.Int) (*L2OutputOracleOutputsDeletedIterator, error)

FilterOutputsDeleted is a free log retrieval operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.

Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)

func (*L2OutputOracleFilterer) ParseInitialized

func (_L2OutputOracle *L2OutputOracleFilterer) ParseInitialized(log types.Log) (*L2OutputOracleInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2OutputOracleFilterer) ParseOutputProposed

func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputProposed(log types.Log) (*L2OutputOracleOutputProposed, error)

ParseOutputProposed is a log parse operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.

Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)

func (*L2OutputOracleFilterer) ParseOutputsDeleted

func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputsDeleted(log types.Log) (*L2OutputOracleOutputsDeleted, error)

ParseOutputsDeleted is a log parse operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.

Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)

func (*L2OutputOracleFilterer) WatchInitialized

func (_L2OutputOracle *L2OutputOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2OutputOracleInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2OutputOracleFilterer) WatchOutputProposed

func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputProposed, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (event.Subscription, error)

WatchOutputProposed is a free log subscription operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.

Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)

func (*L2OutputOracleFilterer) WatchOutputsDeleted

func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputsDeleted(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputsDeleted, prevNextOutputIndex []*big.Int, newNextOutputIndex []*big.Int) (event.Subscription, error)

WatchOutputsDeleted is a free log subscription operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.

Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)

type L2OutputOracleInitialized

type L2OutputOracleInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L2OutputOracleInitialized represents a Initialized event raised by the L2OutputOracle contract.

type L2OutputOracleInitializedIterator

type L2OutputOracleInitializedIterator struct {
	Event *L2OutputOracleInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2OutputOracleInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L2OutputOracle contract.

func (*L2OutputOracleInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2OutputOracleInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2OutputOracleInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2OutputOracleOutputProposed

type L2OutputOracleOutputProposed struct {
	OutputRoot    [32]byte
	L2OutputIndex *big.Int
	L2BlockNumber *big.Int
	L1Timestamp   *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

L2OutputOracleOutputProposed represents a OutputProposed event raised by the L2OutputOracle contract.

type L2OutputOracleOutputProposedIterator

type L2OutputOracleOutputProposedIterator struct {
	Event *L2OutputOracleOutputProposed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2OutputOracleOutputProposedIterator is returned from FilterOutputProposed and is used to iterate over the raw logs and unpacked data for OutputProposed events raised by the L2OutputOracle contract.

func (*L2OutputOracleOutputProposedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2OutputOracleOutputProposedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2OutputOracleOutputProposedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2OutputOracleOutputsDeleted

type L2OutputOracleOutputsDeleted struct {
	PrevNextOutputIndex *big.Int
	NewNextOutputIndex  *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

L2OutputOracleOutputsDeleted represents a OutputsDeleted event raised by the L2OutputOracle contract.

type L2OutputOracleOutputsDeletedIterator

type L2OutputOracleOutputsDeletedIterator struct {
	Event *L2OutputOracleOutputsDeleted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2OutputOracleOutputsDeletedIterator is returned from FilterOutputsDeleted and is used to iterate over the raw logs and unpacked data for OutputsDeleted events raised by the L2OutputOracle contract.

func (*L2OutputOracleOutputsDeletedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2OutputOracleOutputsDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2OutputOracleOutputsDeletedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2OutputOracleRaw

type L2OutputOracleRaw struct {
	Contract *L2OutputOracle // Generic contract binding to access the raw methods on
}

L2OutputOracleRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L2OutputOracleRaw) Call

func (_L2OutputOracle *L2OutputOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L2OutputOracleRaw) Transact

func (_L2OutputOracle *L2OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2OutputOracleRaw) Transfer

func (_L2OutputOracle *L2OutputOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2OutputOracleSession

type L2OutputOracleSession struct {
	Contract     *L2OutputOracle   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

L2OutputOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L2OutputOracleSession) CHALLENGER

func (_L2OutputOracle *L2OutputOracleSession) CHALLENGER() (common.Address, error)

CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.

Solidity: function CHALLENGER() view returns(address)

func (*L2OutputOracleSession) Challenger

func (_L2OutputOracle *L2OutputOracleSession) Challenger() (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*L2OutputOracleSession) ComputeL2Timestamp

func (_L2OutputOracle *L2OutputOracleSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)

ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.

Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleSession) DeleteL2Outputs

func (_L2OutputOracle *L2OutputOracleSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)

DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.

Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()

func (*L2OutputOracleSession) FINALIZATIONPERIODSECONDS

func (_L2OutputOracle *L2OutputOracleSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)

FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.

Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)

func (*L2OutputOracleSession) FinalizationPeriodSeconds

func (_L2OutputOracle *L2OutputOracleSession) FinalizationPeriodSeconds() (*big.Int, error)

FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.

Solidity: function finalizationPeriodSeconds() view returns(uint256)

func (*L2OutputOracleSession) GetL2Output

func (_L2OutputOracle *L2OutputOracleSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)

GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.

Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleSession) GetL2OutputAfter

func (_L2OutputOracle *L2OutputOracleSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)

GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.

Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))

func (*L2OutputOracleSession) GetL2OutputIndexAfter

func (_L2OutputOracle *L2OutputOracleSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)

GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.

Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)

func (*L2OutputOracleSession) Initialize

func (_L2OutputOracle *L2OutputOracleSession) Initialize(_submissionInterval *big.Int, _l2BlockTime *big.Int, _startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address, _finalizationPeriodSeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1c89c97d.

Solidity: function initialize(uint256 _submissionInterval, uint256 _l2BlockTime, uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger, uint256 _finalizationPeriodSeconds) returns()

func (*L2OutputOracleSession) L2BLOCKTIME

func (_L2OutputOracle *L2OutputOracleSession) L2BLOCKTIME() (*big.Int, error)

L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.

Solidity: function L2_BLOCK_TIME() view returns(uint256)

func (*L2OutputOracleSession) L2BlockTime

func (_L2OutputOracle *L2OutputOracleSession) L2BlockTime() (*big.Int, error)

L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.

Solidity: function l2BlockTime() view returns(uint256)

func (*L2OutputOracleSession) LatestBlockNumber

func (_L2OutputOracle *L2OutputOracleSession) LatestBlockNumber() (*big.Int, error)

LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.

Solidity: function latestBlockNumber() view returns(uint256)

func (*L2OutputOracleSession) LatestOutputIndex

func (_L2OutputOracle *L2OutputOracleSession) LatestOutputIndex() (*big.Int, error)

LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.

Solidity: function latestOutputIndex() view returns(uint256)

func (*L2OutputOracleSession) NextBlockNumber

func (_L2OutputOracle *L2OutputOracleSession) NextBlockNumber() (*big.Int, error)

NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.

Solidity: function nextBlockNumber() view returns(uint256)

func (*L2OutputOracleSession) NextOutputIndex

func (_L2OutputOracle *L2OutputOracleSession) NextOutputIndex() (*big.Int, error)

NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.

Solidity: function nextOutputIndex() view returns(uint256)

func (*L2OutputOracleSession) PROPOSER

func (_L2OutputOracle *L2OutputOracleSession) PROPOSER() (common.Address, error)

PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.

Solidity: function PROPOSER() view returns(address)

func (*L2OutputOracleSession) ProposeL2Output

func (_L2OutputOracle *L2OutputOracleSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)

ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.

Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()

func (*L2OutputOracleSession) Proposer

func (_L2OutputOracle *L2OutputOracleSession) Proposer() (common.Address, error)

Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.

Solidity: function proposer() view returns(address)

func (*L2OutputOracleSession) SUBMISSIONINTERVAL

func (_L2OutputOracle *L2OutputOracleSession) SUBMISSIONINTERVAL() (*big.Int, error)

SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.

Solidity: function SUBMISSION_INTERVAL() view returns(uint256)

func (*L2OutputOracleSession) StartingBlockNumber

func (_L2OutputOracle *L2OutputOracleSession) StartingBlockNumber() (*big.Int, error)

StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.

Solidity: function startingBlockNumber() view returns(uint256)

func (*L2OutputOracleSession) StartingTimestamp

func (_L2OutputOracle *L2OutputOracleSession) StartingTimestamp() (*big.Int, error)

StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.

Solidity: function startingTimestamp() view returns(uint256)

func (*L2OutputOracleSession) SubmissionInterval

func (_L2OutputOracle *L2OutputOracleSession) SubmissionInterval() (*big.Int, error)

SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.

Solidity: function submissionInterval() view returns(uint256)

func (*L2OutputOracleSession) Version

func (_L2OutputOracle *L2OutputOracleSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2OutputOracleTransactor

type L2OutputOracleTransactor struct {
	// contains filtered or unexported fields
}

L2OutputOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL2OutputOracleTransactor

func NewL2OutputOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*L2OutputOracleTransactor, error)

NewL2OutputOracleTransactor creates a new write-only instance of L2OutputOracle, bound to a specific deployed contract.

func (*L2OutputOracleTransactor) DeleteL2Outputs

func (_L2OutputOracle *L2OutputOracleTransactor) DeleteL2Outputs(opts *bind.TransactOpts, _l2OutputIndex *big.Int) (*types.Transaction, error)

DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.

Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()

func (*L2OutputOracleTransactor) Initialize

func (_L2OutputOracle *L2OutputOracleTransactor) Initialize(opts *bind.TransactOpts, _submissionInterval *big.Int, _l2BlockTime *big.Int, _startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address, _finalizationPeriodSeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1c89c97d.

Solidity: function initialize(uint256 _submissionInterval, uint256 _l2BlockTime, uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger, uint256 _finalizationPeriodSeconds) returns()

func (*L2OutputOracleTransactor) ProposeL2Output

func (_L2OutputOracle *L2OutputOracleTransactor) ProposeL2Output(opts *bind.TransactOpts, _outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)

ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.

Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()

type L2OutputOracleTransactorRaw

type L2OutputOracleTransactorRaw struct {
	Contract *L2OutputOracleTransactor // Generic write-only contract binding to access the raw methods on
}

L2OutputOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L2OutputOracleTransactorRaw) Transact

func (_L2OutputOracle *L2OutputOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2OutputOracleTransactorRaw) Transfer

func (_L2OutputOracle *L2OutputOracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2OutputOracleTransactorSession

type L2OutputOracleTransactorSession struct {
	Contract     *L2OutputOracleTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

L2OutputOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L2OutputOracleTransactorSession) DeleteL2Outputs

func (_L2OutputOracle *L2OutputOracleTransactorSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)

DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.

Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()

func (*L2OutputOracleTransactorSession) Initialize

func (_L2OutputOracle *L2OutputOracleTransactorSession) Initialize(_submissionInterval *big.Int, _l2BlockTime *big.Int, _startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address, _finalizationPeriodSeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x1c89c97d.

Solidity: function initialize(uint256 _submissionInterval, uint256 _l2BlockTime, uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger, uint256 _finalizationPeriodSeconds) returns()

func (*L2OutputOracleTransactorSession) ProposeL2Output

func (_L2OutputOracle *L2OutputOracleTransactorSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)

ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.

Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()

type L2StandardBridge

type L2StandardBridge struct {
	L2StandardBridgeCaller     // Read-only binding to the contract
	L2StandardBridgeTransactor // Write-only binding to the contract
	L2StandardBridgeFilterer   // Log filterer for contract events
}

L2StandardBridge is an auto generated Go binding around an Ethereum contract.

func DeployL2StandardBridge

func DeployL2StandardBridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2StandardBridge, error)

DeployL2StandardBridge deploys a new Ethereum contract, binding an instance of L2StandardBridge to it.

func NewL2StandardBridge

func NewL2StandardBridge(address common.Address, backend bind.ContractBackend) (*L2StandardBridge, error)

NewL2StandardBridge creates a new instance of L2StandardBridge, bound to a specific deployed contract.

type L2StandardBridgeCaller

type L2StandardBridgeCaller struct {
	// contains filtered or unexported fields
}

L2StandardBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL2StandardBridgeCaller

func NewL2StandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*L2StandardBridgeCaller, error)

NewL2StandardBridgeCaller creates a new read-only instance of L2StandardBridge, bound to a specific deployed contract.

func (*L2StandardBridgeCaller) Deposits

func (_L2StandardBridge *L2StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L2StandardBridgeCaller) L1TokenBridge

func (_L2StandardBridge *L2StandardBridgeCaller) L1TokenBridge(opts *bind.CallOpts) (common.Address, error)

L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.

Solidity: function l1TokenBridge() view returns(address)

func (*L2StandardBridgeCaller) MESSENGER

func (_L2StandardBridge *L2StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L2StandardBridgeCaller) Messenger

func (_L2StandardBridge *L2StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L2StandardBridgeCaller) OTHERBRIDGE

func (_L2StandardBridge *L2StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L2StandardBridgeCaller) OtherBridge

func (_L2StandardBridge *L2StandardBridgeCaller) OtherBridge(opts *bind.CallOpts) (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L2StandardBridgeCaller) Paused

func (_L2StandardBridge *L2StandardBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2StandardBridgeCaller) Version

func (_L2StandardBridge *L2StandardBridgeCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2StandardBridgeCallerRaw

type L2StandardBridgeCallerRaw struct {
	Contract *L2StandardBridgeCaller // Generic read-only contract binding to access the raw methods on
}

L2StandardBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L2StandardBridgeCallerRaw) Call

func (_L2StandardBridge *L2StandardBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L2StandardBridgeCallerSession

type L2StandardBridgeCallerSession struct {
	Contract *L2StandardBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

L2StandardBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L2StandardBridgeCallerSession) Deposits

func (_L2StandardBridge *L2StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L2StandardBridgeCallerSession) L1TokenBridge

func (_L2StandardBridge *L2StandardBridgeCallerSession) L1TokenBridge() (common.Address, error)

L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.

Solidity: function l1TokenBridge() view returns(address)

func (*L2StandardBridgeCallerSession) MESSENGER

func (_L2StandardBridge *L2StandardBridgeCallerSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L2StandardBridgeCallerSession) Messenger

func (_L2StandardBridge *L2StandardBridgeCallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L2StandardBridgeCallerSession) OTHERBRIDGE

func (_L2StandardBridge *L2StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L2StandardBridgeCallerSession) OtherBridge

func (_L2StandardBridge *L2StandardBridgeCallerSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L2StandardBridgeCallerSession) Paused

func (_L2StandardBridge *L2StandardBridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2StandardBridgeCallerSession) Version

func (_L2StandardBridge *L2StandardBridgeCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2StandardBridgeDepositFinalized

type L2StandardBridgeDepositFinalized struct {
	L1Token   common.Address
	L2Token   common.Address
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L2StandardBridgeDepositFinalized represents a DepositFinalized event raised by the L2StandardBridge contract.

type L2StandardBridgeDepositFinalizedIterator

type L2StandardBridgeDepositFinalizedIterator struct {
	Event *L2StandardBridgeDepositFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeDepositFinalizedIterator is returned from FilterDepositFinalized and is used to iterate over the raw logs and unpacked data for DepositFinalized events raised by the L2StandardBridge contract.

func (*L2StandardBridgeDepositFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeDepositFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeDepositFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeERC20BridgeFinalized

type L2StandardBridgeERC20BridgeFinalized struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

L2StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L2StandardBridge contract.

type L2StandardBridgeERC20BridgeFinalizedIterator

type L2StandardBridgeERC20BridgeFinalizedIterator struct {
	Event *L2StandardBridgeERC20BridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L2StandardBridge contract.

func (*L2StandardBridgeERC20BridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeERC20BridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeERC20BridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeERC20BridgeInitiated

type L2StandardBridgeERC20BridgeInitiated struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

L2StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L2StandardBridge contract.

type L2StandardBridgeERC20BridgeInitiatedIterator

type L2StandardBridgeERC20BridgeInitiatedIterator struct {
	Event *L2StandardBridgeERC20BridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L2StandardBridge contract.

func (*L2StandardBridgeERC20BridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeERC20BridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeERC20BridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeETHBridgeFinalized

type L2StandardBridgeETHBridgeFinalized struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L2StandardBridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the L2StandardBridge contract.

type L2StandardBridgeETHBridgeFinalizedIterator

type L2StandardBridgeETHBridgeFinalizedIterator struct {
	Event *L2StandardBridgeETHBridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the L2StandardBridge contract.

func (*L2StandardBridgeETHBridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeETHBridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeETHBridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeETHBridgeInitiated

type L2StandardBridgeETHBridgeInitiated struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L2StandardBridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the L2StandardBridge contract.

type L2StandardBridgeETHBridgeInitiatedIterator

type L2StandardBridgeETHBridgeInitiatedIterator struct {
	Event *L2StandardBridgeETHBridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the L2StandardBridge contract.

func (*L2StandardBridgeETHBridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeETHBridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeETHBridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeFilterer

type L2StandardBridgeFilterer struct {
	// contains filtered or unexported fields
}

L2StandardBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL2StandardBridgeFilterer

func NewL2StandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L2StandardBridgeFilterer, error)

NewL2StandardBridgeFilterer creates a new log filterer instance of L2StandardBridge, bound to a specific deployed contract.

func (*L2StandardBridgeFilterer) FilterDepositFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L2StandardBridgeDepositFinalizedIterator, error)

FilterDepositFinalized is a free log retrieval operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.

Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) FilterERC20BridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L2StandardBridgeERC20BridgeFinalizedIterator, error)

FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) FilterERC20BridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L2StandardBridgeERC20BridgeInitiatedIterator, error)

FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) FilterETHBridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L2StandardBridgeETHBridgeFinalizedIterator, error)

FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) FilterETHBridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L2StandardBridgeETHBridgeInitiatedIterator, error)

FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) FilterInitialized

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2StandardBridgeInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2StandardBridgeFilterer) FilterWithdrawalInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L2StandardBridgeWithdrawalInitiatedIterator, error)

FilterWithdrawalInitiated is a free log retrieval operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.

Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseDepositFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFinalized(log types.Log) (*L2StandardBridgeDepositFinalized, error)

ParseDepositFinalized is a log parse operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.

Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseERC20BridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L2StandardBridgeERC20BridgeFinalized, error)

ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseERC20BridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L2StandardBridgeERC20BridgeInitiated, error)

ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseETHBridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L2StandardBridgeETHBridgeFinalized, error)

ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseETHBridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L2StandardBridgeETHBridgeInitiated, error)

ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) ParseInitialized

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseInitialized(log types.Log) (*L2StandardBridgeInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2StandardBridgeFilterer) ParseWithdrawalInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*L2StandardBridgeWithdrawalInitiated, error)

ParseWithdrawalInitiated is a log parse operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.

Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchDepositFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchDepositFinalized is a free log subscription operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.

Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchERC20BridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchERC20BridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchETHBridgeFinalized

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchETHBridgeInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L2StandardBridgeFilterer) WatchInitialized

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*L2StandardBridgeFilterer) WatchWithdrawalInitiated

func (_L2StandardBridge *L2StandardBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeWithdrawalInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchWithdrawalInitiated is a free log subscription operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.

Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

type L2StandardBridgeInitialized

type L2StandardBridgeInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L2StandardBridgeInitialized represents a Initialized event raised by the L2StandardBridge contract.

type L2StandardBridgeInitializedIterator

type L2StandardBridgeInitializedIterator struct {
	Event *L2StandardBridgeInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L2StandardBridge contract.

func (*L2StandardBridgeInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2StandardBridgeRaw

type L2StandardBridgeRaw struct {
	Contract *L2StandardBridge // Generic contract binding to access the raw methods on
}

L2StandardBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L2StandardBridgeRaw) Call

func (_L2StandardBridge *L2StandardBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L2StandardBridgeRaw) Transact

func (_L2StandardBridge *L2StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2StandardBridgeRaw) Transfer

func (_L2StandardBridge *L2StandardBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2StandardBridgeSession

type L2StandardBridgeSession struct {
	Contract     *L2StandardBridge // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

L2StandardBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L2StandardBridgeSession) BridgeERC20

func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeSession) BridgeERC20To

func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeSession) BridgeETH

func (_L2StandardBridge *L2StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) BridgeETHTo

func (_L2StandardBridge *L2StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) Deposits

func (_L2StandardBridge *L2StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L2StandardBridgeSession) FinalizeBridgeERC20

func (_L2StandardBridge *L2StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L2StandardBridgeSession) FinalizeBridgeETH

func (_L2StandardBridge *L2StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) FinalizeDeposit

func (_L2StandardBridge *L2StandardBridgeSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.

Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) Initialize

func (_L2StandardBridge *L2StandardBridgeSession) Initialize(_otherBridge common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _otherBridge) returns()

func (*L2StandardBridgeSession) L1TokenBridge

func (_L2StandardBridge *L2StandardBridgeSession) L1TokenBridge() (common.Address, error)

L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.

Solidity: function l1TokenBridge() view returns(address)

func (*L2StandardBridgeSession) MESSENGER

func (_L2StandardBridge *L2StandardBridgeSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L2StandardBridgeSession) Messenger

func (_L2StandardBridge *L2StandardBridgeSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L2StandardBridgeSession) OTHERBRIDGE

func (_L2StandardBridge *L2StandardBridgeSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L2StandardBridgeSession) OtherBridge

func (_L2StandardBridge *L2StandardBridgeSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*L2StandardBridgeSession) Paused

func (_L2StandardBridge *L2StandardBridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*L2StandardBridgeSession) Receive

func (_L2StandardBridge *L2StandardBridgeSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*L2StandardBridgeSession) Version

func (_L2StandardBridge *L2StandardBridgeSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*L2StandardBridgeSession) Withdraw

func (_L2StandardBridge *L2StandardBridgeSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.

Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) WithdrawNativeToken

func (_L2StandardBridge *L2StandardBridgeSession) WithdrawNativeToken(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0xb7420d31.

Solidity: function withdrawNativeToken(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) WithdrawNativeTokenTo

func (_L2StandardBridge *L2StandardBridgeSession) WithdrawNativeTokenTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeTokenTo is a paid mutator transaction binding the contract method 0x239955f7.

Solidity: function withdrawNativeTokenTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeSession) WithdrawTo

func (_L2StandardBridge *L2StandardBridgeSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.

Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

type L2StandardBridgeTransactor

type L2StandardBridgeTransactor struct {
	// contains filtered or unexported fields
}

L2StandardBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL2StandardBridgeTransactor

func NewL2StandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L2StandardBridgeTransactor, error)

NewL2StandardBridgeTransactor creates a new write-only instance of L2StandardBridge, bound to a specific deployed contract.

func (*L2StandardBridgeTransactor) BridgeERC20

func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeTransactor) BridgeERC20To

func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeTransactor) BridgeETH

func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) BridgeETHTo

func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) FinalizeBridgeERC20

func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L2StandardBridgeTransactor) FinalizeBridgeETH

func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) FinalizeDeposit

func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.

Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) Initialize

func (_L2StandardBridge *L2StandardBridgeTransactor) Initialize(opts *bind.TransactOpts, _otherBridge common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _otherBridge) returns()

func (*L2StandardBridgeTransactor) Receive

func (_L2StandardBridge *L2StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*L2StandardBridgeTransactor) Withdraw

func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.

Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) WithdrawNativeToken

func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawNativeToken(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0xb7420d31.

Solidity: function withdrawNativeToken(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) WithdrawNativeTokenTo

func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawNativeTokenTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeTokenTo is a paid mutator transaction binding the contract method 0x239955f7.

Solidity: function withdrawNativeTokenTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactor) WithdrawTo

func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawTo(opts *bind.TransactOpts, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.

Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

type L2StandardBridgeTransactorRaw

type L2StandardBridgeTransactorRaw struct {
	Contract *L2StandardBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

L2StandardBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L2StandardBridgeTransactorRaw) Transact

func (_L2StandardBridge *L2StandardBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2StandardBridgeTransactorRaw) Transfer

func (_L2StandardBridge *L2StandardBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2StandardBridgeTransactorSession

type L2StandardBridgeTransactorSession struct {
	Contract     *L2StandardBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

L2StandardBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L2StandardBridgeTransactorSession) BridgeERC20

func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeTransactorSession) BridgeERC20To

func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L2StandardBridgeTransactorSession) BridgeETH

func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) BridgeETHTo

func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) FinalizeBridgeERC20

func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L2StandardBridgeTransactorSession) FinalizeBridgeETH

func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) FinalizeDeposit

func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.

Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) Initialize

func (_L2StandardBridge *L2StandardBridgeTransactorSession) Initialize(_otherBridge common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _otherBridge) returns()

func (*L2StandardBridgeTransactorSession) Receive

func (_L2StandardBridge *L2StandardBridgeTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*L2StandardBridgeTransactorSession) Withdraw

func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.

Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) WithdrawNativeToken

func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawNativeToken(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeToken is a paid mutator transaction binding the contract method 0xb7420d31.

Solidity: function withdrawNativeToken(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) WithdrawNativeTokenTo

func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawNativeTokenTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawNativeTokenTo is a paid mutator transaction binding the contract method 0x239955f7.

Solidity: function withdrawNativeTokenTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L2StandardBridgeTransactorSession) WithdrawTo

func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.

Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()

type L2StandardBridgeWithdrawalInitiated

type L2StandardBridgeWithdrawalInitiated struct {
	L1Token   common.Address
	L2Token   common.Address
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

L2StandardBridgeWithdrawalInitiated represents a WithdrawalInitiated event raised by the L2StandardBridge contract.

type L2StandardBridgeWithdrawalInitiatedIterator

type L2StandardBridgeWithdrawalInitiatedIterator struct {
	Event *L2StandardBridgeWithdrawalInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2StandardBridgeWithdrawalInitiatedIterator is returned from FilterWithdrawalInitiated and is used to iterate over the raw logs and unpacked data for WithdrawalInitiated events raised by the L2StandardBridge contract.

func (*L2StandardBridgeWithdrawalInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2StandardBridgeWithdrawalInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2StandardBridgeWithdrawalInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2ToL1MessagePasser

type L2ToL1MessagePasser struct {
	L2ToL1MessagePasserCaller     // Read-only binding to the contract
	L2ToL1MessagePasserTransactor // Write-only binding to the contract
	L2ToL1MessagePasserFilterer   // Log filterer for contract events
}

L2ToL1MessagePasser is an auto generated Go binding around an Ethereum contract.

func DeployL2ToL1MessagePasser

func DeployL2ToL1MessagePasser(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2ToL1MessagePasser, error)

DeployL2ToL1MessagePasser deploys a new Ethereum contract, binding an instance of L2ToL1MessagePasser to it.

func NewL2ToL1MessagePasser

func NewL2ToL1MessagePasser(address common.Address, backend bind.ContractBackend) (*L2ToL1MessagePasser, error)

NewL2ToL1MessagePasser creates a new instance of L2ToL1MessagePasser, bound to a specific deployed contract.

type L2ToL1MessagePasserCaller

type L2ToL1MessagePasserCaller struct {
	// contains filtered or unexported fields
}

L2ToL1MessagePasserCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL2ToL1MessagePasserCaller

func NewL2ToL1MessagePasserCaller(address common.Address, caller bind.ContractCaller) (*L2ToL1MessagePasserCaller, error)

NewL2ToL1MessagePasserCaller creates a new read-only instance of L2ToL1MessagePasser, bound to a specific deployed contract.

func (*L2ToL1MessagePasserCaller) MESSAGEVERSION

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2ToL1MessagePasserCaller) MessageNonce

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2ToL1MessagePasserCaller) SentMessages

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) SentMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

SentMessages is a free data retrieval call binding the contract method 0x82e3702d.

Solidity: function sentMessages(bytes32 ) view returns(bool)

func (*L2ToL1MessagePasserCaller) Version

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2ToL1MessagePasserCallerRaw

type L2ToL1MessagePasserCallerRaw struct {
	Contract *L2ToL1MessagePasserCaller // Generic read-only contract binding to access the raw methods on
}

L2ToL1MessagePasserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L2ToL1MessagePasserCallerRaw) Call

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type L2ToL1MessagePasserCallerSession

type L2ToL1MessagePasserCallerSession struct {
	Contract *L2ToL1MessagePasserCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

L2ToL1MessagePasserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L2ToL1MessagePasserCallerSession) MESSAGEVERSION

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2ToL1MessagePasserCallerSession) MessageNonce

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2ToL1MessagePasserCallerSession) SentMessages

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) SentMessages(arg0 [32]byte) (bool, error)

SentMessages is a free data retrieval call binding the contract method 0x82e3702d.

Solidity: function sentMessages(bytes32 ) view returns(bool)

func (*L2ToL1MessagePasserCallerSession) Version

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2ToL1MessagePasserFilterer

type L2ToL1MessagePasserFilterer struct {
	// contains filtered or unexported fields
}

L2ToL1MessagePasserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL2ToL1MessagePasserFilterer

func NewL2ToL1MessagePasserFilterer(address common.Address, filterer bind.ContractFilterer) (*L2ToL1MessagePasserFilterer, error)

NewL2ToL1MessagePasserFilterer creates a new log filterer instance of L2ToL1MessagePasser, bound to a specific deployed contract.

func (*L2ToL1MessagePasserFilterer) FilterMessagePassed

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterMessagePassed(opts *bind.FilterOpts, nonce []*big.Int, sender []common.Address, target []common.Address) (*L2ToL1MessagePasserMessagePassedIterator, error)

FilterMessagePassed is a free log retrieval operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.

Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)

func (*L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt(opts *bind.FilterOpts, amount []*big.Int) (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator, error)

FilterWithdrawerBalanceBurnt is a free log retrieval operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.

Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)

func (*L2ToL1MessagePasserFilterer) ParseMessagePassed

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseMessagePassed(log types.Log) (*L2ToL1MessagePasserMessagePassed, error)

ParseMessagePassed is a log parse operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.

Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)

func (*L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt(log types.Log) (*L2ToL1MessagePasserWithdrawerBalanceBurnt, error)

ParseWithdrawerBalanceBurnt is a log parse operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.

Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)

func (*L2ToL1MessagePasserFilterer) WatchMessagePassed

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchMessagePassed(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserMessagePassed, nonce []*big.Int, sender []common.Address, target []common.Address) (event.Subscription, error)

WatchMessagePassed is a free log subscription operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.

Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)

func (*L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt

func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserWithdrawerBalanceBurnt, amount []*big.Int) (event.Subscription, error)

WatchWithdrawerBalanceBurnt is a free log subscription operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.

Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)

type L2ToL1MessagePasserMessagePassed

type L2ToL1MessagePasserMessagePassed struct {
	Nonce          *big.Int
	Sender         common.Address
	Target         common.Address
	Value          *big.Int
	GasLimit       *big.Int
	Data           []byte
	WithdrawalHash [32]byte
	Raw            types.Log // Blockchain specific contextual infos
}

L2ToL1MessagePasserMessagePassed represents a MessagePassed event raised by the L2ToL1MessagePasser contract.

type L2ToL1MessagePasserMessagePassedIterator

type L2ToL1MessagePasserMessagePassedIterator struct {
	Event *L2ToL1MessagePasserMessagePassed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2ToL1MessagePasserMessagePassedIterator is returned from FilterMessagePassed and is used to iterate over the raw logs and unpacked data for MessagePassed events raised by the L2ToL1MessagePasser contract.

func (*L2ToL1MessagePasserMessagePassedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2ToL1MessagePasserMessagePassedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2ToL1MessagePasserMessagePassedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type L2ToL1MessagePasserRaw

type L2ToL1MessagePasserRaw struct {
	Contract *L2ToL1MessagePasser // Generic contract binding to access the raw methods on
}

L2ToL1MessagePasserRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L2ToL1MessagePasserRaw) Call

func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*L2ToL1MessagePasserRaw) Transact

func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2ToL1MessagePasserRaw) Transfer

func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2ToL1MessagePasserSession

type L2ToL1MessagePasserSession struct {
	Contract     *L2ToL1MessagePasser // Generic contract binding to set the session for
	CallOpts     bind.CallOpts        // Call options to use throughout this session
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

L2ToL1MessagePasserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L2ToL1MessagePasserSession) Burn

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Burn() (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44df8e70.

Solidity: function burn() returns()

func (*L2ToL1MessagePasserSession) InitiateWithdrawal

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.

Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()

func (*L2ToL1MessagePasserSession) MESSAGEVERSION

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MESSAGEVERSION() (uint16, error)

MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.

Solidity: function MESSAGE_VERSION() view returns(uint16)

func (*L2ToL1MessagePasserSession) MessageNonce

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MessageNonce() (*big.Int, error)

MessageNonce is a free data retrieval call binding the contract method 0xecc70428.

Solidity: function messageNonce() view returns(uint256)

func (*L2ToL1MessagePasserSession) Receive

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*L2ToL1MessagePasserSession) SentMessages

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) SentMessages(arg0 [32]byte) (bool, error)

SentMessages is a free data retrieval call binding the contract method 0x82e3702d.

Solidity: function sentMessages(bytes32 ) view returns(bool)

func (*L2ToL1MessagePasserSession) Version

func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L2ToL1MessagePasserTransactor

type L2ToL1MessagePasserTransactor struct {
	// contains filtered or unexported fields
}

L2ToL1MessagePasserTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL2ToL1MessagePasserTransactor

func NewL2ToL1MessagePasserTransactor(address common.Address, transactor bind.ContractTransactor) (*L2ToL1MessagePasserTransactor, error)

NewL2ToL1MessagePasserTransactor creates a new write-only instance of L2ToL1MessagePasser, bound to a specific deployed contract.

func (*L2ToL1MessagePasserTransactor) Burn

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Burn(opts *bind.TransactOpts) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44df8e70.

Solidity: function burn() returns()

func (*L2ToL1MessagePasserTransactor) InitiateWithdrawal

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) InitiateWithdrawal(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.

Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()

func (*L2ToL1MessagePasserTransactor) Receive

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type L2ToL1MessagePasserTransactorRaw

type L2ToL1MessagePasserTransactorRaw struct {
	Contract *L2ToL1MessagePasserTransactor // Generic write-only contract binding to access the raw methods on
}

L2ToL1MessagePasserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L2ToL1MessagePasserTransactorRaw) Transact

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2ToL1MessagePasserTransactorRaw) Transfer

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type L2ToL1MessagePasserTransactorSession

type L2ToL1MessagePasserTransactorSession struct {
	Contract     *L2ToL1MessagePasserTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

L2ToL1MessagePasserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L2ToL1MessagePasserTransactorSession) Burn

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Burn() (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44df8e70.

Solidity: function burn() returns()

func (*L2ToL1MessagePasserTransactorSession) InitiateWithdrawal

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.

Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()

func (*L2ToL1MessagePasserTransactorSession) Receive

func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type L2ToL1MessagePasserWithdrawerBalanceBurnt

type L2ToL1MessagePasserWithdrawerBalanceBurnt struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

L2ToL1MessagePasserWithdrawerBalanceBurnt represents a WithdrawerBalanceBurnt event raised by the L2ToL1MessagePasser contract.

type L2ToL1MessagePasserWithdrawerBalanceBurntIterator

type L2ToL1MessagePasserWithdrawerBalanceBurntIterator struct {
	Event *L2ToL1MessagePasserWithdrawerBalanceBurnt // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

L2ToL1MessagePasserWithdrawerBalanceBurntIterator is returned from FilterWithdrawerBalanceBurnt and is used to iterate over the raw logs and unpacked data for WithdrawerBalanceBurnt events raised by the L2ToL1MessagePasser contract.

func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LibOVMCodecChainBatchHeader

type LibOVMCodecChainBatchHeader struct {
	BatchIndex        *big.Int
	BatchRoot         [32]byte
	BatchSize         *big.Int
	PrevTotalElements *big.Int
	ExtraData         []byte
}

LibOVMCodecChainBatchHeader is an auto generated low-level Go binding around an user-defined struct.

type LibOVMCodecChainInclusionProof

type LibOVMCodecChainInclusionProof struct {
	Index    *big.Int
	Siblings [][32]byte
}

LibOVMCodecChainInclusionProof is an auto generated low-level Go binding around an user-defined struct.

type LibOVMCodecQueueElement

type LibOVMCodecQueueElement struct {
	TransactionHash [32]byte
	Timestamp       *big.Int
	BlockNumber     *big.Int
}

LibOVMCodecQueueElement is an auto generated low-level Go binding around an user-defined struct.

type OptimismPortal

type OptimismPortal struct {
	OptimismPortalCaller     // Read-only binding to the contract
	OptimismPortalTransactor // Write-only binding to the contract
	OptimismPortalFilterer   // Log filterer for contract events
}

OptimismPortal is an auto generated Go binding around an Ethereum contract.

func DeployOptimismPortal

func DeployOptimismPortal(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OptimismPortal, error)

DeployOptimismPortal deploys a new Ethereum contract, binding an instance of OptimismPortal to it.

func NewOptimismPortal

func NewOptimismPortal(address common.Address, backend bind.ContractBackend) (*OptimismPortal, error)

NewOptimismPortal creates a new instance of OptimismPortal, bound to a specific deployed contract.

type OptimismPortalCaller

type OptimismPortalCaller struct {
	// contains filtered or unexported fields
}

OptimismPortalCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOptimismPortalCaller

func NewOptimismPortalCaller(address common.Address, caller bind.ContractCaller) (*OptimismPortalCaller, error)

NewOptimismPortalCaller creates a new read-only instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalCaller) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalCaller) FinalizedWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalCaller) Guardian

func (_OptimismPortal *OptimismPortalCaller) Guardian(opts *bind.CallOpts) (common.Address, error)

Guardian is a free data retrieval call binding the contract method 0x452a9320.

Solidity: function guardian() view returns(address)

func (*OptimismPortalCaller) IsOutputFinalized

func (_OptimismPortal *OptimismPortalCaller) IsOutputFinalized(opts *bind.CallOpts, _l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalCaller) L2Oracle

func (_OptimismPortal *OptimismPortalCaller) L2Oracle(opts *bind.CallOpts) (common.Address, error)

L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.

Solidity: function l2Oracle() view returns(address)

func (*OptimismPortalCaller) L2Sender

func (_OptimismPortal *OptimismPortalCaller) L2Sender(opts *bind.CallOpts) (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalCaller) MinimumGasLimit

func (_OptimismPortal *OptimismPortalCaller) MinimumGasLimit(opts *bind.CallOpts, _byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalCaller) Params

func (_OptimismPortal *OptimismPortalCaller) Params(opts *bind.CallOpts) (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalCaller) Paused

func (_OptimismPortal *OptimismPortalCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*OptimismPortalCaller) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalCaller) ProvenWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalCaller) SuperchainConfig

func (_OptimismPortal *OptimismPortalCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*OptimismPortalCaller) SystemConfig

func (_OptimismPortal *OptimismPortalCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*OptimismPortalCaller) Version

func (_OptimismPortal *OptimismPortalCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalCallerRaw

type OptimismPortalCallerRaw struct {
	Contract *OptimismPortalCaller // Generic read-only contract binding to access the raw methods on
}

OptimismPortalCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OptimismPortalCallerRaw) Call

func (_OptimismPortal *OptimismPortalCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type OptimismPortalCallerSession

type OptimismPortalCallerSession struct {
	Contract *OptimismPortalCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

OptimismPortalCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OptimismPortalCallerSession) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalCallerSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalCallerSession) Guardian

func (_OptimismPortal *OptimismPortalCallerSession) Guardian() (common.Address, error)

Guardian is a free data retrieval call binding the contract method 0x452a9320.

Solidity: function guardian() view returns(address)

func (*OptimismPortalCallerSession) IsOutputFinalized

func (_OptimismPortal *OptimismPortalCallerSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalCallerSession) L2Oracle

func (_OptimismPortal *OptimismPortalCallerSession) L2Oracle() (common.Address, error)

L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.

Solidity: function l2Oracle() view returns(address)

func (*OptimismPortalCallerSession) L2Sender

func (_OptimismPortal *OptimismPortalCallerSession) L2Sender() (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalCallerSession) MinimumGasLimit

func (_OptimismPortal *OptimismPortalCallerSession) MinimumGasLimit(_byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalCallerSession) Params

func (_OptimismPortal *OptimismPortalCallerSession) Params() (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalCallerSession) Paused

func (_OptimismPortal *OptimismPortalCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*OptimismPortalCallerSession) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalCallerSession) ProvenWithdrawals(arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalCallerSession) SuperchainConfig

func (_OptimismPortal *OptimismPortalCallerSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*OptimismPortalCallerSession) SystemConfig

func (_OptimismPortal *OptimismPortalCallerSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*OptimismPortalCallerSession) Version

func (_OptimismPortal *OptimismPortalCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalFilterer

type OptimismPortalFilterer struct {
	// contains filtered or unexported fields
}

OptimismPortalFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOptimismPortalFilterer

func NewOptimismPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*OptimismPortalFilterer, error)

NewOptimismPortalFilterer creates a new log filterer instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalFilterer) FilterInitialized

func (_OptimismPortal *OptimismPortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortalInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) FilterTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, version []*big.Int) (*OptimismPortalTransactionDepositedIterator, error)

FilterTransactionDeposited is a free log retrieval operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) FilterWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*OptimismPortalWithdrawalFinalizedIterator, error)

FilterWithdrawalFinalized is a free log retrieval operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) FilterWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (*OptimismPortalWithdrawalProvenIterator, error)

FilterWithdrawalProven is a free log retrieval operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

func (*OptimismPortalFilterer) ParseInitialized

func (_OptimismPortal *OptimismPortalFilterer) ParseInitialized(log types.Log) (*OptimismPortalInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) ParseTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) ParseTransactionDeposited(log types.Log) (*OptimismPortalTransactionDeposited, error)

ParseTransactionDeposited is a log parse operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) ParseWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalFinalized(log types.Log) (*OptimismPortalWithdrawalFinalized, error)

ParseWithdrawalFinalized is a log parse operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) ParseWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalProven(log types.Log) (*OptimismPortalWithdrawalProven, error)

ParseWithdrawalProven is a log parse operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

func (*OptimismPortalFilterer) WatchInitialized

func (_OptimismPortal *OptimismPortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OptimismPortalInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) WatchTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortalTransactionDeposited, from []common.Address, to []common.Address, version []*big.Int) (event.Subscription, error)

WatchTransactionDeposited is a free log subscription operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) WatchWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalFinalized, withdrawalHash [][32]byte) (event.Subscription, error)

WatchWithdrawalFinalized is a free log subscription operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) WatchWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalProven, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdrawalProven is a free log subscription operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

type OptimismPortalInitialized

type OptimismPortalInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

OptimismPortalInitialized represents a Initialized event raised by the OptimismPortal contract.

type OptimismPortalInitializedIterator

type OptimismPortalInitializedIterator struct {
	Event *OptimismPortalInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OptimismPortalInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the OptimismPortal contract.

func (*OptimismPortalInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OptimismPortalInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OptimismPortalRaw

type OptimismPortalRaw struct {
	Contract *OptimismPortal // Generic contract binding to access the raw methods on
}

OptimismPortalRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OptimismPortalRaw) Call

func (_OptimismPortal *OptimismPortalRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*OptimismPortalRaw) Transact

func (_OptimismPortal *OptimismPortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OptimismPortalRaw) Transfer

func (_OptimismPortal *OptimismPortalRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OptimismPortalSession

type OptimismPortalSession struct {
	Contract     *OptimismPortal   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

OptimismPortalSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OptimismPortalSession) DepositTransaction

func (_OptimismPortal *OptimismPortalSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalSession) DonateETH

func (_OptimismPortal *OptimismPortalSession) DonateETH() (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalSession) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalSession) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalSession) Guardian

func (_OptimismPortal *OptimismPortalSession) Guardian() (common.Address, error)

Guardian is a free data retrieval call binding the contract method 0x452a9320.

Solidity: function guardian() view returns(address)

func (*OptimismPortalSession) Initialize

func (_OptimismPortal *OptimismPortalSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()

func (*OptimismPortalSession) IsOutputFinalized

func (_OptimismPortal *OptimismPortalSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalSession) L2Oracle

func (_OptimismPortal *OptimismPortalSession) L2Oracle() (common.Address, error)

L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.

Solidity: function l2Oracle() view returns(address)

func (*OptimismPortalSession) L2Sender

func (_OptimismPortal *OptimismPortalSession) L2Sender() (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalSession) MinimumGasLimit

func (_OptimismPortal *OptimismPortalSession) MinimumGasLimit(_byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalSession) Params

func (_OptimismPortal *OptimismPortalSession) Params() (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalSession) Paused

func (_OptimismPortal *OptimismPortalSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*OptimismPortalSession) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalSession) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalSession) ProvenWithdrawals(arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalSession) Receive

func (_OptimismPortal *OptimismPortalSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*OptimismPortalSession) SuperchainConfig

func (_OptimismPortal *OptimismPortalSession) SuperchainConfig() (common.Address, error)

SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.

Solidity: function superchainConfig() view returns(address)

func (*OptimismPortalSession) SystemConfig

func (_OptimismPortal *OptimismPortalSession) SystemConfig() (common.Address, error)

SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.

Solidity: function systemConfig() view returns(address)

func (*OptimismPortalSession) Version

func (_OptimismPortal *OptimismPortalSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalTransactionDeposited

type OptimismPortalTransactionDeposited struct {
	From       common.Address
	To         common.Address
	Version    *big.Int
	OpaqueData []byte
	Raw        types.Log // Blockchain specific contextual infos
}

OptimismPortalTransactionDeposited represents a TransactionDeposited event raised by the OptimismPortal contract.

type OptimismPortalTransactionDepositedIterator

type OptimismPortalTransactionDepositedIterator struct {
	Event *OptimismPortalTransactionDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OptimismPortalTransactionDepositedIterator is returned from FilterTransactionDeposited and is used to iterate over the raw logs and unpacked data for TransactionDeposited events raised by the OptimismPortal contract.

func (*OptimismPortalTransactionDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OptimismPortalTransactionDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalTransactionDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OptimismPortalTransactor

type OptimismPortalTransactor struct {
	// contains filtered or unexported fields
}

OptimismPortalTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOptimismPortalTransactor

func NewOptimismPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*OptimismPortalTransactor, error)

NewOptimismPortalTransactor creates a new write-only instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalTransactor) DepositTransaction

func (_OptimismPortal *OptimismPortalTransactor) DepositTransaction(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalTransactor) DonateETH

func (_OptimismPortal *OptimismPortalTransactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalTransactor) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactor) FinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalTransactor) Initialize

func (_OptimismPortal *OptimismPortalTransactor) Initialize(opts *bind.TransactOpts, _l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()

func (*OptimismPortalTransactor) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalTransactor) Receive

func (_OptimismPortal *OptimismPortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type OptimismPortalTransactorRaw

type OptimismPortalTransactorRaw struct {
	Contract *OptimismPortalTransactor // Generic write-only contract binding to access the raw methods on
}

OptimismPortalTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OptimismPortalTransactorRaw) Transact

func (_OptimismPortal *OptimismPortalTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OptimismPortalTransactorRaw) Transfer

func (_OptimismPortal *OptimismPortalTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OptimismPortalTransactorSession

type OptimismPortalTransactorSession struct {
	Contract     *OptimismPortalTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

OptimismPortalTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OptimismPortalTransactorSession) DepositTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalTransactorSession) DonateETH

func (_OptimismPortal *OptimismPortalTransactorSession) DonateETH() (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalTransactorSession) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalTransactorSession) Initialize

func (_OptimismPortal *OptimismPortalTransactorSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()

func (*OptimismPortalTransactorSession) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalTransactorSession) Receive

func (_OptimismPortal *OptimismPortalTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type OptimismPortalWithdrawalFinalized

type OptimismPortalWithdrawalFinalized struct {
	WithdrawalHash [32]byte
	Success        bool
	Raw            types.Log // Blockchain specific contextual infos
}

OptimismPortalWithdrawalFinalized represents a WithdrawalFinalized event raised by the OptimismPortal contract.

type OptimismPortalWithdrawalFinalizedIterator

type OptimismPortalWithdrawalFinalizedIterator struct {
	Event *OptimismPortalWithdrawalFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OptimismPortalWithdrawalFinalizedIterator is returned from FilterWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for WithdrawalFinalized events raised by the OptimismPortal contract.

func (*OptimismPortalWithdrawalFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OptimismPortalWithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalWithdrawalFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OptimismPortalWithdrawalProven

type OptimismPortalWithdrawalProven struct {
	WithdrawalHash [32]byte
	From           common.Address
	To             common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

OptimismPortalWithdrawalProven represents a WithdrawalProven event raised by the OptimismPortal contract.

type OptimismPortalWithdrawalProvenIterator

type OptimismPortalWithdrawalProvenIterator struct {
	Event *OptimismPortalWithdrawalProven // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OptimismPortalWithdrawalProvenIterator is returned from FilterWithdrawalProven and is used to iterate over the raw logs and unpacked data for WithdrawalProven events raised by the OptimismPortal contract.

func (*OptimismPortalWithdrawalProvenIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OptimismPortalWithdrawalProvenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalWithdrawalProvenIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridge

type StandardBridge struct {
	StandardBridgeCaller     // Read-only binding to the contract
	StandardBridgeTransactor // Write-only binding to the contract
	StandardBridgeFilterer   // Log filterer for contract events
}

StandardBridge is an auto generated Go binding around an Ethereum contract.

func NewStandardBridge

func NewStandardBridge(address common.Address, backend bind.ContractBackend) (*StandardBridge, error)

NewStandardBridge creates a new instance of StandardBridge, bound to a specific deployed contract.

type StandardBridgeCaller

type StandardBridgeCaller struct {
	// contains filtered or unexported fields
}

StandardBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStandardBridgeCaller

func NewStandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*StandardBridgeCaller, error)

NewStandardBridgeCaller creates a new read-only instance of StandardBridge, bound to a specific deployed contract.

func (*StandardBridgeCaller) Deposits

func (_StandardBridge *StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*StandardBridgeCaller) MESSENGER

func (_StandardBridge *StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*StandardBridgeCaller) Messenger

func (_StandardBridge *StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*StandardBridgeCaller) OTHERBRIDGE

func (_StandardBridge *StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*StandardBridgeCaller) OtherBridge

func (_StandardBridge *StandardBridgeCaller) OtherBridge(opts *bind.CallOpts) (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*StandardBridgeCaller) Paused

func (_StandardBridge *StandardBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type StandardBridgeCallerRaw

type StandardBridgeCallerRaw struct {
	Contract *StandardBridgeCaller // Generic read-only contract binding to access the raw methods on
}

StandardBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StandardBridgeCallerRaw) Call

func (_StandardBridge *StandardBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StandardBridgeCallerSession

type StandardBridgeCallerSession struct {
	Contract *StandardBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

StandardBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StandardBridgeCallerSession) Deposits

func (_StandardBridge *StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*StandardBridgeCallerSession) MESSENGER

func (_StandardBridge *StandardBridgeCallerSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*StandardBridgeCallerSession) Messenger

func (_StandardBridge *StandardBridgeCallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*StandardBridgeCallerSession) OTHERBRIDGE

func (_StandardBridge *StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*StandardBridgeCallerSession) OtherBridge

func (_StandardBridge *StandardBridgeCallerSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*StandardBridgeCallerSession) Paused

func (_StandardBridge *StandardBridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type StandardBridgeERC20BridgeFinalized

type StandardBridgeERC20BridgeFinalized struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the StandardBridge contract.

type StandardBridgeERC20BridgeFinalizedIterator

type StandardBridgeERC20BridgeFinalizedIterator struct {
	Event *StandardBridgeERC20BridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the StandardBridge contract.

func (*StandardBridgeERC20BridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardBridgeERC20BridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardBridgeERC20BridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridgeERC20BridgeInitiated

type StandardBridgeERC20BridgeInitiated struct {
	LocalToken  common.Address
	RemoteToken common.Address
	From        common.Address
	To          common.Address
	Amount      *big.Int
	ExtraData   []byte
	Raw         types.Log // Blockchain specific contextual infos
}

StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the StandardBridge contract.

type StandardBridgeERC20BridgeInitiatedIterator

type StandardBridgeERC20BridgeInitiatedIterator struct {
	Event *StandardBridgeERC20BridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the StandardBridge contract.

func (*StandardBridgeERC20BridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardBridgeERC20BridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardBridgeERC20BridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridgeETHBridgeFinalized

type StandardBridgeETHBridgeFinalized struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

StandardBridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the StandardBridge contract.

type StandardBridgeETHBridgeFinalizedIterator

type StandardBridgeETHBridgeFinalizedIterator struct {
	Event *StandardBridgeETHBridgeFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardBridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the StandardBridge contract.

func (*StandardBridgeETHBridgeFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardBridgeETHBridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardBridgeETHBridgeFinalizedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridgeETHBridgeInitiated

type StandardBridgeETHBridgeInitiated struct {
	From      common.Address
	To        common.Address
	Amount    *big.Int
	ExtraData []byte
	Raw       types.Log // Blockchain specific contextual infos
}

StandardBridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the StandardBridge contract.

type StandardBridgeETHBridgeInitiatedIterator

type StandardBridgeETHBridgeInitiatedIterator struct {
	Event *StandardBridgeETHBridgeInitiated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardBridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the StandardBridge contract.

func (*StandardBridgeETHBridgeInitiatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardBridgeETHBridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardBridgeETHBridgeInitiatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridgeFilterer

type StandardBridgeFilterer struct {
	// contains filtered or unexported fields
}

StandardBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStandardBridgeFilterer

func NewStandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardBridgeFilterer, error)

NewStandardBridgeFilterer creates a new log filterer instance of StandardBridge, bound to a specific deployed contract.

func (*StandardBridgeFilterer) FilterERC20BridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*StandardBridgeERC20BridgeFinalizedIterator, error)

FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) FilterERC20BridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*StandardBridgeERC20BridgeInitiatedIterator, error)

FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) FilterETHBridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardBridgeETHBridgeFinalizedIterator, error)

FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) FilterETHBridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardBridgeETHBridgeInitiatedIterator, error)

FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) FilterInitialized

func (_StandardBridge *StandardBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*StandardBridgeInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*StandardBridgeFilterer) ParseERC20BridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*StandardBridgeERC20BridgeFinalized, error)

ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) ParseERC20BridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*StandardBridgeERC20BridgeInitiated, error)

ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) ParseETHBridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*StandardBridgeETHBridgeFinalized, error)

ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) ParseETHBridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*StandardBridgeETHBridgeInitiated, error)

ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) ParseInitialized

func (_StandardBridge *StandardBridgeFilterer) ParseInitialized(log types.Log) (*StandardBridgeInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*StandardBridgeFilterer) WatchERC20BridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) WatchERC20BridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) WatchETHBridgeFinalized

func (_StandardBridge *StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *StandardBridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) WatchETHBridgeInitiated

func (_StandardBridge *StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *StandardBridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*StandardBridgeFilterer) WatchInitialized

func (_StandardBridge *StandardBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StandardBridgeInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type StandardBridgeInitialized

type StandardBridgeInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

StandardBridgeInitialized represents a Initialized event raised by the StandardBridge contract.

type StandardBridgeInitializedIterator

type StandardBridgeInitializedIterator struct {
	Event *StandardBridgeInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the StandardBridge contract.

func (*StandardBridgeInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardBridgeInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardBridgeInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StandardBridgeRaw

type StandardBridgeRaw struct {
	Contract *StandardBridge // Generic contract binding to access the raw methods on
}

StandardBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StandardBridgeRaw) Call

func (_StandardBridge *StandardBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*StandardBridgeRaw) Transact

func (_StandardBridge *StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StandardBridgeRaw) Transfer

func (_StandardBridge *StandardBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StandardBridgeSession

type StandardBridgeSession struct {
	Contract     *StandardBridge   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

StandardBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StandardBridgeSession) BridgeERC20

func (_StandardBridge *StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeSession) BridgeERC20To

func (_StandardBridge *StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeSession) BridgeETH

func (_StandardBridge *StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeSession) BridgeETHTo

func (_StandardBridge *StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeSession) Deposits

func (_StandardBridge *StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*StandardBridgeSession) FinalizeBridgeERC20

func (_StandardBridge *StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*StandardBridgeSession) FinalizeBridgeETH

func (_StandardBridge *StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*StandardBridgeSession) MESSENGER

func (_StandardBridge *StandardBridgeSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*StandardBridgeSession) Messenger

func (_StandardBridge *StandardBridgeSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*StandardBridgeSession) OTHERBRIDGE

func (_StandardBridge *StandardBridgeSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*StandardBridgeSession) OtherBridge

func (_StandardBridge *StandardBridgeSession) OtherBridge() (common.Address, error)

OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.

Solidity: function otherBridge() view returns(address)

func (*StandardBridgeSession) Paused

func (_StandardBridge *StandardBridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StandardBridgeSession) Receive

func (_StandardBridge *StandardBridgeSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type StandardBridgeTransactor

type StandardBridgeTransactor struct {
	// contains filtered or unexported fields
}

StandardBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStandardBridgeTransactor

func NewStandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardBridgeTransactor, error)

NewStandardBridgeTransactor creates a new write-only instance of StandardBridge, bound to a specific deployed contract.

func (*StandardBridgeTransactor) BridgeERC20

func (_StandardBridge *StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeTransactor) BridgeERC20To

func (_StandardBridge *StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeTransactor) BridgeETH

func (_StandardBridge *StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeTransactor) BridgeETHTo

func (_StandardBridge *StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeTransactor) FinalizeBridgeERC20

func (_StandardBridge *StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*StandardBridgeTransactor) FinalizeBridgeETH

func (_StandardBridge *StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*StandardBridgeTransactor) Receive

func (_StandardBridge *StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type StandardBridgeTransactorRaw

type StandardBridgeTransactorRaw struct {
	Contract *StandardBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

StandardBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StandardBridgeTransactorRaw) Transact

func (_StandardBridge *StandardBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StandardBridgeTransactorRaw) Transfer

func (_StandardBridge *StandardBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StandardBridgeTransactorSession

type StandardBridgeTransactorSession struct {
	Contract     *StandardBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

StandardBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StandardBridgeTransactorSession) BridgeERC20

func (_StandardBridge *StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeTransactorSession) BridgeERC20To

func (_StandardBridge *StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*StandardBridgeTransactorSession) BridgeETH

func (_StandardBridge *StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeTransactorSession) BridgeETHTo

func (_StandardBridge *StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*StandardBridgeTransactorSession) FinalizeBridgeERC20

func (_StandardBridge *StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*StandardBridgeTransactorSession) FinalizeBridgeETH

func (_StandardBridge *StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*StandardBridgeTransactorSession) Receive

func (_StandardBridge *StandardBridgeTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type StateCommitmentChain

type StateCommitmentChain struct {
	StateCommitmentChainCaller     // Read-only binding to the contract
	StateCommitmentChainTransactor // Write-only binding to the contract
	StateCommitmentChainFilterer   // Log filterer for contract events
}

StateCommitmentChain is an auto generated Go binding around an Ethereum contract.

func DeployStateCommitmentChain

func DeployStateCommitmentChain(auth *bind.TransactOpts, backend bind.ContractBackend, _libAddressManager common.Address, _fraudProofWindow *big.Int, _sequencerPublishWindow *big.Int) (common.Address, *types.Transaction, *StateCommitmentChain, error)

DeployStateCommitmentChain deploys a new Ethereum contract, binding an instance of StateCommitmentChain to it.

func NewStateCommitmentChain

func NewStateCommitmentChain(address common.Address, backend bind.ContractBackend) (*StateCommitmentChain, error)

NewStateCommitmentChain creates a new instance of StateCommitmentChain, bound to a specific deployed contract.

type StateCommitmentChainCaller

type StateCommitmentChainCaller struct {
	// contains filtered or unexported fields
}

StateCommitmentChainCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStateCommitmentChainCaller

func NewStateCommitmentChainCaller(address common.Address, caller bind.ContractCaller) (*StateCommitmentChainCaller, error)

NewStateCommitmentChainCaller creates a new read-only instance of StateCommitmentChain, bound to a specific deployed contract.

func (*StateCommitmentChainCaller) Batches

func (_StateCommitmentChain *StateCommitmentChainCaller) Batches(opts *bind.CallOpts) (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*StateCommitmentChainCaller) FRAUDPROOFWINDOW

func (_StateCommitmentChain *StateCommitmentChainCaller) FRAUDPROOFWINDOW(opts *bind.CallOpts) (*big.Int, error)

FRAUDPROOFWINDOW is a free data retrieval call binding the contract method 0xc17b291b.

Solidity: function FRAUD_PROOF_WINDOW() view returns(uint256)

func (*StateCommitmentChainCaller) GetLastSequencerTimestamp

func (_StateCommitmentChain *StateCommitmentChainCaller) GetLastSequencerTimestamp(opts *bind.CallOpts) (*big.Int, error)

GetLastSequencerTimestamp is a free data retrieval call binding the contract method 0x7ad168a0.

Solidity: function getLastSequencerTimestamp() view returns(uint256 _lastSequencerTimestamp)

func (*StateCommitmentChainCaller) GetTotalBatches

func (_StateCommitmentChain *StateCommitmentChainCaller) GetTotalBatches(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*StateCommitmentChainCaller) GetTotalElements

func (_StateCommitmentChain *StateCommitmentChainCaller) GetTotalElements(opts *bind.CallOpts) (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*StateCommitmentChainCaller) InsideFraudProofWindow

func (_StateCommitmentChain *StateCommitmentChainCaller) InsideFraudProofWindow(opts *bind.CallOpts, _batchHeader LibOVMCodecChainBatchHeader) (bool, error)

InsideFraudProofWindow is a free data retrieval call binding the contract method 0x9418bddd.

Solidity: function insideFraudProofWindow((uint256,bytes32,uint256,uint256,bytes) _batchHeader) view returns(bool _inside)

func (*StateCommitmentChainCaller) LibAddressManager

func (_StateCommitmentChain *StateCommitmentChainCaller) LibAddressManager(opts *bind.CallOpts) (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*StateCommitmentChainCaller) Resolve

func (_StateCommitmentChain *StateCommitmentChainCaller) Resolve(opts *bind.CallOpts, _name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*StateCommitmentChainCaller) SEQUENCERPUBLISHWINDOW

func (_StateCommitmentChain *StateCommitmentChainCaller) SEQUENCERPUBLISHWINDOW(opts *bind.CallOpts) (*big.Int, error)

SEQUENCERPUBLISHWINDOW is a free data retrieval call binding the contract method 0x81eb62ef.

Solidity: function SEQUENCER_PUBLISH_WINDOW() view returns(uint256)

func (*StateCommitmentChainCaller) VerifyStateCommitment

func (_StateCommitmentChain *StateCommitmentChainCaller) VerifyStateCommitment(opts *bind.CallOpts, _element [32]byte, _batchHeader LibOVMCodecChainBatchHeader, _proof LibOVMCodecChainInclusionProof) (bool, error)

VerifyStateCommitment is a free data retrieval call binding the contract method 0x4d69ee57.

Solidity: function verifyStateCommitment(bytes32 _element, (uint256,bytes32,uint256,uint256,bytes) _batchHeader, (uint256,bytes32[]) _proof) view returns(bool)

type StateCommitmentChainCallerRaw

type StateCommitmentChainCallerRaw struct {
	Contract *StateCommitmentChainCaller // Generic read-only contract binding to access the raw methods on
}

StateCommitmentChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StateCommitmentChainCallerRaw) Call

func (_StateCommitmentChain *StateCommitmentChainCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StateCommitmentChainCallerSession

type StateCommitmentChainCallerSession struct {
	Contract *StateCommitmentChainCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts               // Call options to use throughout this session
}

StateCommitmentChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StateCommitmentChainCallerSession) Batches

func (_StateCommitmentChain *StateCommitmentChainCallerSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*StateCommitmentChainCallerSession) FRAUDPROOFWINDOW

func (_StateCommitmentChain *StateCommitmentChainCallerSession) FRAUDPROOFWINDOW() (*big.Int, error)

FRAUDPROOFWINDOW is a free data retrieval call binding the contract method 0xc17b291b.

Solidity: function FRAUD_PROOF_WINDOW() view returns(uint256)

func (*StateCommitmentChainCallerSession) GetLastSequencerTimestamp

func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetLastSequencerTimestamp() (*big.Int, error)

GetLastSequencerTimestamp is a free data retrieval call binding the contract method 0x7ad168a0.

Solidity: function getLastSequencerTimestamp() view returns(uint256 _lastSequencerTimestamp)

func (*StateCommitmentChainCallerSession) GetTotalBatches

func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*StateCommitmentChainCallerSession) GetTotalElements

func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*StateCommitmentChainCallerSession) InsideFraudProofWindow

func (_StateCommitmentChain *StateCommitmentChainCallerSession) InsideFraudProofWindow(_batchHeader LibOVMCodecChainBatchHeader) (bool, error)

InsideFraudProofWindow is a free data retrieval call binding the contract method 0x9418bddd.

Solidity: function insideFraudProofWindow((uint256,bytes32,uint256,uint256,bytes) _batchHeader) view returns(bool _inside)

func (*StateCommitmentChainCallerSession) LibAddressManager

func (_StateCommitmentChain *StateCommitmentChainCallerSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*StateCommitmentChainCallerSession) Resolve

func (_StateCommitmentChain *StateCommitmentChainCallerSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*StateCommitmentChainCallerSession) SEQUENCERPUBLISHWINDOW

func (_StateCommitmentChain *StateCommitmentChainCallerSession) SEQUENCERPUBLISHWINDOW() (*big.Int, error)

SEQUENCERPUBLISHWINDOW is a free data retrieval call binding the contract method 0x81eb62ef.

Solidity: function SEQUENCER_PUBLISH_WINDOW() view returns(uint256)

func (*StateCommitmentChainCallerSession) VerifyStateCommitment

func (_StateCommitmentChain *StateCommitmentChainCallerSession) VerifyStateCommitment(_element [32]byte, _batchHeader LibOVMCodecChainBatchHeader, _proof LibOVMCodecChainInclusionProof) (bool, error)

VerifyStateCommitment is a free data retrieval call binding the contract method 0x4d69ee57.

Solidity: function verifyStateCommitment(bytes32 _element, (uint256,bytes32,uint256,uint256,bytes) _batchHeader, (uint256,bytes32[]) _proof) view returns(bool)

type StateCommitmentChainFilterer

type StateCommitmentChainFilterer struct {
	// contains filtered or unexported fields
}

StateCommitmentChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStateCommitmentChainFilterer

func NewStateCommitmentChainFilterer(address common.Address, filterer bind.ContractFilterer) (*StateCommitmentChainFilterer, error)

NewStateCommitmentChainFilterer creates a new log filterer instance of StateCommitmentChain, bound to a specific deployed contract.

func (*StateCommitmentChainFilterer) FilterStateBatchAppended

func (_StateCommitmentChain *StateCommitmentChainFilterer) FilterStateBatchAppended(opts *bind.FilterOpts, _batchIndex []*big.Int) (*StateCommitmentChainStateBatchAppendedIterator, error)

FilterStateBatchAppended is a free log retrieval operation binding the contract event 0x16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c5.

Solidity: event StateBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*StateCommitmentChainFilterer) FilterStateBatchDeleted

func (_StateCommitmentChain *StateCommitmentChainFilterer) FilterStateBatchDeleted(opts *bind.FilterOpts, _batchIndex []*big.Int) (*StateCommitmentChainStateBatchDeletedIterator, error)

FilterStateBatchDeleted is a free log retrieval operation binding the contract event 0x8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64.

Solidity: event StateBatchDeleted(uint256 indexed _batchIndex, bytes32 _batchRoot)

func (*StateCommitmentChainFilterer) ParseStateBatchAppended

func (_StateCommitmentChain *StateCommitmentChainFilterer) ParseStateBatchAppended(log types.Log) (*StateCommitmentChainStateBatchAppended, error)

ParseStateBatchAppended is a log parse operation binding the contract event 0x16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c5.

Solidity: event StateBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*StateCommitmentChainFilterer) ParseStateBatchDeleted

func (_StateCommitmentChain *StateCommitmentChainFilterer) ParseStateBatchDeleted(log types.Log) (*StateCommitmentChainStateBatchDeleted, error)

ParseStateBatchDeleted is a log parse operation binding the contract event 0x8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64.

Solidity: event StateBatchDeleted(uint256 indexed _batchIndex, bytes32 _batchRoot)

func (*StateCommitmentChainFilterer) WatchStateBatchAppended

func (_StateCommitmentChain *StateCommitmentChainFilterer) WatchStateBatchAppended(opts *bind.WatchOpts, sink chan<- *StateCommitmentChainStateBatchAppended, _batchIndex []*big.Int) (event.Subscription, error)

WatchStateBatchAppended is a free log subscription operation binding the contract event 0x16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c5.

Solidity: event StateBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*StateCommitmentChainFilterer) WatchStateBatchDeleted

func (_StateCommitmentChain *StateCommitmentChainFilterer) WatchStateBatchDeleted(opts *bind.WatchOpts, sink chan<- *StateCommitmentChainStateBatchDeleted, _batchIndex []*big.Int) (event.Subscription, error)

WatchStateBatchDeleted is a free log subscription operation binding the contract event 0x8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64.

Solidity: event StateBatchDeleted(uint256 indexed _batchIndex, bytes32 _batchRoot)

type StateCommitmentChainRaw

type StateCommitmentChainRaw struct {
	Contract *StateCommitmentChain // Generic contract binding to access the raw methods on
}

StateCommitmentChainRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StateCommitmentChainRaw) Call

func (_StateCommitmentChain *StateCommitmentChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*StateCommitmentChainRaw) Transact

func (_StateCommitmentChain *StateCommitmentChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StateCommitmentChainRaw) Transfer

func (_StateCommitmentChain *StateCommitmentChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateCommitmentChainSession

type StateCommitmentChainSession struct {
	Contract     *StateCommitmentChain // Generic contract binding to set the session for
	CallOpts     bind.CallOpts         // Call options to use throughout this session
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

StateCommitmentChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StateCommitmentChainSession) AppendStateBatch

func (_StateCommitmentChain *StateCommitmentChainSession) AppendStateBatch(_batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error)

AppendStateBatch is a paid mutator transaction binding the contract method 0x8ca5cbb9.

Solidity: function appendStateBatch(bytes32[] _batch, uint256 _shouldStartAtElement) returns()

func (*StateCommitmentChainSession) Batches

func (_StateCommitmentChain *StateCommitmentChainSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*StateCommitmentChainSession) DeleteStateBatch

func (_StateCommitmentChain *StateCommitmentChainSession) DeleteStateBatch(_batchHeader LibOVMCodecChainBatchHeader) (*types.Transaction, error)

DeleteStateBatch is a paid mutator transaction binding the contract method 0xb8e189ac.

Solidity: function deleteStateBatch((uint256,bytes32,uint256,uint256,bytes) _batchHeader) returns()

func (*StateCommitmentChainSession) FRAUDPROOFWINDOW

func (_StateCommitmentChain *StateCommitmentChainSession) FRAUDPROOFWINDOW() (*big.Int, error)

FRAUDPROOFWINDOW is a free data retrieval call binding the contract method 0xc17b291b.

Solidity: function FRAUD_PROOF_WINDOW() view returns(uint256)

func (*StateCommitmentChainSession) GetLastSequencerTimestamp

func (_StateCommitmentChain *StateCommitmentChainSession) GetLastSequencerTimestamp() (*big.Int, error)

GetLastSequencerTimestamp is a free data retrieval call binding the contract method 0x7ad168a0.

Solidity: function getLastSequencerTimestamp() view returns(uint256 _lastSequencerTimestamp)

func (*StateCommitmentChainSession) GetTotalBatches

func (_StateCommitmentChain *StateCommitmentChainSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*StateCommitmentChainSession) GetTotalElements

func (_StateCommitmentChain *StateCommitmentChainSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*StateCommitmentChainSession) InsideFraudProofWindow

func (_StateCommitmentChain *StateCommitmentChainSession) InsideFraudProofWindow(_batchHeader LibOVMCodecChainBatchHeader) (bool, error)

InsideFraudProofWindow is a free data retrieval call binding the contract method 0x9418bddd.

Solidity: function insideFraudProofWindow((uint256,bytes32,uint256,uint256,bytes) _batchHeader) view returns(bool _inside)

func (*StateCommitmentChainSession) LibAddressManager

func (_StateCommitmentChain *StateCommitmentChainSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*StateCommitmentChainSession) Resolve

func (_StateCommitmentChain *StateCommitmentChainSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*StateCommitmentChainSession) SEQUENCERPUBLISHWINDOW

func (_StateCommitmentChain *StateCommitmentChainSession) SEQUENCERPUBLISHWINDOW() (*big.Int, error)

SEQUENCERPUBLISHWINDOW is a free data retrieval call binding the contract method 0x81eb62ef.

Solidity: function SEQUENCER_PUBLISH_WINDOW() view returns(uint256)

func (*StateCommitmentChainSession) VerifyStateCommitment

func (_StateCommitmentChain *StateCommitmentChainSession) VerifyStateCommitment(_element [32]byte, _batchHeader LibOVMCodecChainBatchHeader, _proof LibOVMCodecChainInclusionProof) (bool, error)

VerifyStateCommitment is a free data retrieval call binding the contract method 0x4d69ee57.

Solidity: function verifyStateCommitment(bytes32 _element, (uint256,bytes32,uint256,uint256,bytes) _batchHeader, (uint256,bytes32[]) _proof) view returns(bool)

type StateCommitmentChainStateBatchAppended

type StateCommitmentChainStateBatchAppended struct {
	BatchIndex        *big.Int
	BatchRoot         [32]byte
	BatchSize         *big.Int
	PrevTotalElements *big.Int
	ExtraData         []byte
	Raw               types.Log // Blockchain specific contextual infos
}

StateCommitmentChainStateBatchAppended represents a StateBatchAppended event raised by the StateCommitmentChain contract.

type StateCommitmentChainStateBatchAppendedIterator

type StateCommitmentChainStateBatchAppendedIterator struct {
	Event *StateCommitmentChainStateBatchAppended // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StateCommitmentChainStateBatchAppendedIterator is returned from FilterStateBatchAppended and is used to iterate over the raw logs and unpacked data for StateBatchAppended events raised by the StateCommitmentChain contract.

func (*StateCommitmentChainStateBatchAppendedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StateCommitmentChainStateBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StateCommitmentChainStateBatchAppendedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StateCommitmentChainStateBatchDeleted

type StateCommitmentChainStateBatchDeleted struct {
	BatchIndex *big.Int
	BatchRoot  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

StateCommitmentChainStateBatchDeleted represents a StateBatchDeleted event raised by the StateCommitmentChain contract.

type StateCommitmentChainStateBatchDeletedIterator

type StateCommitmentChainStateBatchDeletedIterator struct {
	Event *StateCommitmentChainStateBatchDeleted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StateCommitmentChainStateBatchDeletedIterator is returned from FilterStateBatchDeleted and is used to iterate over the raw logs and unpacked data for StateBatchDeleted events raised by the StateCommitmentChain contract.

func (*StateCommitmentChainStateBatchDeletedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StateCommitmentChainStateBatchDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StateCommitmentChainStateBatchDeletedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StateCommitmentChainTransactor

type StateCommitmentChainTransactor struct {
	// contains filtered or unexported fields
}

StateCommitmentChainTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStateCommitmentChainTransactor

func NewStateCommitmentChainTransactor(address common.Address, transactor bind.ContractTransactor) (*StateCommitmentChainTransactor, error)

NewStateCommitmentChainTransactor creates a new write-only instance of StateCommitmentChain, bound to a specific deployed contract.

func (*StateCommitmentChainTransactor) AppendStateBatch

func (_StateCommitmentChain *StateCommitmentChainTransactor) AppendStateBatch(opts *bind.TransactOpts, _batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error)

AppendStateBatch is a paid mutator transaction binding the contract method 0x8ca5cbb9.

Solidity: function appendStateBatch(bytes32[] _batch, uint256 _shouldStartAtElement) returns()

func (*StateCommitmentChainTransactor) DeleteStateBatch

func (_StateCommitmentChain *StateCommitmentChainTransactor) DeleteStateBatch(opts *bind.TransactOpts, _batchHeader LibOVMCodecChainBatchHeader) (*types.Transaction, error)

DeleteStateBatch is a paid mutator transaction binding the contract method 0xb8e189ac.

Solidity: function deleteStateBatch((uint256,bytes32,uint256,uint256,bytes) _batchHeader) returns()

type StateCommitmentChainTransactorRaw

type StateCommitmentChainTransactorRaw struct {
	Contract *StateCommitmentChainTransactor // Generic write-only contract binding to access the raw methods on
}

StateCommitmentChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StateCommitmentChainTransactorRaw) Transact

func (_StateCommitmentChain *StateCommitmentChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StateCommitmentChainTransactorRaw) Transfer

func (_StateCommitmentChain *StateCommitmentChainTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateCommitmentChainTransactorSession

type StateCommitmentChainTransactorSession struct {
	Contract     *StateCommitmentChainTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

StateCommitmentChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StateCommitmentChainTransactorSession) AppendStateBatch

func (_StateCommitmentChain *StateCommitmentChainTransactorSession) AppendStateBatch(_batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error)

AppendStateBatch is a paid mutator transaction binding the contract method 0x8ca5cbb9.

Solidity: function appendStateBatch(bytes32[] _batch, uint256 _shouldStartAtElement) returns()

func (*StateCommitmentChainTransactorSession) DeleteStateBatch

func (_StateCommitmentChain *StateCommitmentChainTransactorSession) DeleteStateBatch(_batchHeader LibOVMCodecChainBatchHeader) (*types.Transaction, error)

DeleteStateBatch is a paid mutator transaction binding the contract method 0xb8e189ac.

Solidity: function deleteStateBatch((uint256,bytes32,uint256,uint256,bytes) _batchHeader) returns()

type TypesOutputProposal

type TypesOutputProposal struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2BlockNumber *big.Int
}

TypesOutputProposal is an auto generated low-level Go binding around an user-defined struct.

type TypesOutputRootProof

type TypesOutputRootProof struct {
	Version                  [32]byte
	StateRoot                [32]byte
	MessagePasserStorageRoot [32]byte
	LatestBlockhash          [32]byte
}

TypesOutputRootProof is an auto generated low-level Go binding around an user-defined struct.

type TypesWithdrawalTransaction

type TypesWithdrawalTransaction struct {
	Nonce    *big.Int
	Sender   common.Address
	Target   common.Address
	Value    *big.Int
	GasLimit *big.Int
	Data     []byte
}

TypesWithdrawalTransaction is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL