Documentation ¶
Index ¶
- Variables
- type Oldpolygonzkevmbridge
- type OldpolygonzkevmbridgeBridgeEvent
- type OldpolygonzkevmbridgeBridgeEventIterator
- type OldpolygonzkevmbridgeCaller
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) ClaimedBitMap(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) DepositCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetDepositRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetLeafValue(opts *bind.CallOpts, leafType uint8, originNetwork uint32, ...) ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetTokenWrappedAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) IsClaimed(opts *bind.CallOpts, index *big.Int) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) LastUpdatedDepositCount(opts *bind.CallOpts) (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) NetworkID(opts *bind.CallOpts) (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) PolygonZkEVMaddress(opts *bind.CallOpts) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) PrecalculatedWrapperAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address, ...) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) TokenInfoToWrappedToken(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) VerifyMerkleProof(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32, ...) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) WrappedTokenToTokenInfo(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type OldpolygonzkevmbridgeCallerRaw
- type OldpolygonzkevmbridgeCallerSession
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) DepositCount() (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetDepositRoot() ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GlobalExitRootManager() (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) IsClaimed(index *big.Int) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) IsEmergencyState() (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) LastUpdatedDepositCount() (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) NetworkID() (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) PolygonZkEVMaddress() (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, ...) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct{ ... }, error)
- type OldpolygonzkevmbridgeClaimEvent
- type OldpolygonzkevmbridgeClaimEventIterator
- type OldpolygonzkevmbridgeEmergencyStateActivated
- type OldpolygonzkevmbridgeEmergencyStateActivatedIterator
- type OldpolygonzkevmbridgeEmergencyStateDeactivated
- type OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator
- type OldpolygonzkevmbridgeFilterer
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterBridgeEvent(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeBridgeEventIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterClaimEvent(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeClaimEventIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeEmergencyStateActivatedIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeInitializedIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterNewWrappedToken(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeNewWrappedTokenIterator, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseBridgeEvent(log types.Log) (*OldpolygonzkevmbridgeBridgeEvent, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseClaimEvent(log types.Log) (*OldpolygonzkevmbridgeClaimEvent, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseEmergencyStateActivated(log types.Log) (*OldpolygonzkevmbridgeEmergencyStateActivated, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseEmergencyStateDeactivated(log types.Log) (*OldpolygonzkevmbridgeEmergencyStateDeactivated, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseInitialized(log types.Log) (*OldpolygonzkevmbridgeInitialized, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseNewWrappedToken(log types.Log) (*OldpolygonzkevmbridgeNewWrappedToken, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchBridgeEvent(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeBridgeEvent) (event.Subscription, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchClaimEvent(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeClaimEvent) (event.Subscription, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeInitialized) (event.Subscription, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchNewWrappedToken(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeNewWrappedToken) (event.Subscription, error)
- type OldpolygonzkevmbridgeInitialized
- type OldpolygonzkevmbridgeInitializedIterator
- type OldpolygonzkevmbridgeNewWrappedToken
- type OldpolygonzkevmbridgeNewWrappedTokenIterator
- type OldpolygonzkevmbridgeRaw
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OldpolygonzkevmbridgeSession
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ActivateEmergencyState() (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimAsset(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimMessage(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) DeactivateEmergencyState() (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) DepositCount() (*big.Int, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetDepositRoot() ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GlobalExitRootManager() (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) Initialize(_networkID uint32, _globalExitRootManager common.Address, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) IsClaimed(index *big.Int) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) IsEmergencyState() (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) LastUpdatedDepositCount() (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) NetworkID() (uint32, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) PolygonZkEVMaddress() (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, ...) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) UpdateGlobalExitRoot() (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct{ ... }, error)
- type OldpolygonzkevmbridgeTransactor
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) BridgeAsset(opts *bind.TransactOpts, destinationNetwork uint32, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) BridgeMessage(opts *bind.TransactOpts, destinationNetwork uint32, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ClaimAsset(opts *bind.TransactOpts, smtProof [32][32]byte, index uint32, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ClaimMessage(opts *bind.TransactOpts, smtProof [32][32]byte, index uint32, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) Initialize(opts *bind.TransactOpts, _networkID uint32, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) UpdateGlobalExitRoot(opts *bind.TransactOpts) (*types.Transaction, error)
- type OldpolygonzkevmbridgeTransactorRaw
- type OldpolygonzkevmbridgeTransactorSession
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ActivateEmergencyState() (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ClaimAsset(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ClaimMessage(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) Initialize(_networkID uint32, _globalExitRootManager common.Address, ...) (*types.Transaction, error)
- func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) UpdateGlobalExitRoot() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var OldpolygonzkevmbridgeABI = OldpolygonzkevmbridgeMetaData.ABI
OldpolygonzkevmbridgeABI is the input ABI used to generate the binding from. Deprecated: Use OldpolygonzkevmbridgeMetaData.ABI instead.
var OldpolygonzkevmbridgeBin = OldpolygonzkevmbridgeMetaData.Bin
OldpolygonzkevmbridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OldpolygonzkevmbridgeMetaData.Bin instead.
var OldpolygonzkevmbridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountDoesNotMatchMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DestinationNetworkInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EtherTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GlobalExitRootInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSmtProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MsgValueNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyNotEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPolygonZkEVM\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"leafType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"depositCount\",\"type\":\"uint32\"}],\"name\":\"BridgeEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ClaimEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateDeactivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"wrappedTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"NewWrappedToken\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"activateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"forceUpdateGlobalExitRoot\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"permitData\",\"type\":\"bytes\"}],\"name\":\"bridgeAsset\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"forceUpdateGlobalExitRoot\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"bridgeMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[32]\",\"name\":\"smtProof\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"claimAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[32]\",\"name\":\"smtProof\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"claimMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"claimedBitMap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deactivateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"leafType\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadataHash\",\"type\":\"bytes32\"}],\"name\":\"getLeafValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"}],\"name\":\"getTokenWrappedAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalExitRootManager\",\"outputs\":[{\"internalType\":\"contractIBasePolygonZkEVMGlobalExitRoot\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_networkID\",\"type\":\"uint32\"},{\"internalType\":\"contractIBasePolygonZkEVMGlobalExitRoot\",\"name\":\"_globalExitRootManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_polygonZkEVMaddress\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"isClaimed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isEmergencyState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdatedDepositCount\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"polygonZkEVMaddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"name\":\"precalculatedWrapperAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"tokenInfoToWrappedToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"leafHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProof\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"verifyMerkleProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"wrappedTokenToTokenInfo\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50615c83806100206000396000f3fe6080604052600436106200019f5760003560e01c8063647c576c11620000e7578063be5831c71162000089578063dbc169761162000060578063dbc169761462000639578063ee25560b1462000651578063fb570834146200068257600080fd5b8063be5831c714620005ae578063cd58657914620005ea578063d02103ca146200060157600080fd5b80639e34070f11620000be5780639e34070f146200050a578063aaa13cc2146200054f578063bab161bf146200057457600080fd5b8063647c576c146200048657806379e2cf9714620004ab57806381b1c17414620004c357600080fd5b80632d2c9d94116200015157806334ac9cf2116200012857806334ac9cf2146200034b5780633ae05047146200037a5780633e197043146200039257600080fd5b80632d2c9d9414620002765780632dfdf0b5146200029b578063318aee3d14620002c257600080fd5b806322e95f2c116200018657806322e95f2c14620001ef578063240ff378146200023a5780632cffd02e146200025157600080fd5b806315064c9614620001a45780632072f6c514620001d5575b600080fd5b348015620001b157600080fd5b50606854620001c09060ff1681565b60405190151581526020015b60405180910390f35b348015620001e257600080fd5b50620001ed620006a7565b005b348015620001fc57600080fd5b50620002146200020e366004620032db565b62000705565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620001cc565b620001ed6200024b36600462003372565b620007a8565b3480156200025e57600080fd5b50620001ed6200027036600462003409565b620009d0565b3480156200028357600080fd5b50620001ed6200029536600462003409565b62000f74565b348015620002a857600080fd5b50620002b360535481565b604051908152602001620001cc565b348015620002cf57600080fd5b5062000319620002e1366004620034ef565b606b6020526000908152604090205463ffffffff811690640100000000900473ffffffffffffffffffffffffffffffffffffffff1682565b6040805163ffffffff909316835273ffffffffffffffffffffffffffffffffffffffff909116602083015201620001cc565b3480156200035857600080fd5b50606c54620002149073ffffffffffffffffffffffffffffffffffffffff1681565b3480156200038757600080fd5b50620002b362001178565b3480156200039f57600080fd5b50620002b3620003b136600462003526565b6040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b3480156200049357600080fd5b50620001ed620004a5366004620035b0565b6200125e565b348015620004b857600080fd5b50620001ed620014ad565b348015620004d057600080fd5b5062000214620004e236600462003600565b606a6020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156200051757600080fd5b50620001c06200052936600462003600565b600881901c600090815260696020526040902054600160ff9092169190911b9081161490565b3480156200055c57600080fd5b50620002146200056e3660046200361a565b620014e7565b3480156200058157600080fd5b506068546200059890610100900463ffffffff1681565b60405163ffffffff9091168152602001620001cc565b348015620005bb57600080fd5b506068546200059890790100000000000000000000000000000000000000000000000000900463ffffffff1681565b620001ed620005fb366004620036ce565b620016d3565b3480156200060e57600080fd5b50606854620002149065010000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156200064657600080fd5b50620001ed62001c37565b3480156200065e57600080fd5b50620002b36200067036600462003600565b60696020526000908152604090205481565b3480156200068f57600080fd5b50620001c0620006a136600462003770565b62001c93565b606c5473ffffffffffffffffffffffffffffffffffffffff163314620006f9576040517fe2e8106b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200070362001d7c565b565b6040805160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016602080830191909152606084901b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602483015282516018818403018152603890920183528151918101919091206000908152606a909152205473ffffffffffffffffffffffffffffffffffffffff165b92915050565b60685460ff1615620007e6576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60685463ffffffff8681166101009092041614806200080c5750600263ffffffff861610155b1562000844576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b6001606860019054906101000a900463ffffffff163388883488886053546040516200089a9998979695949392919062003806565b60405180910390a1620009b8620009b26001606860019054906101000a900463ffffffff16338989348989604051620008d592919062003881565b60405180910390206040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b62001e10565b8215620009c957620009c962001f27565b5050505050565b60685460ff161562000a0e576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000a258b8b8b8b8b8b8b8b8b8b8b600062001ffc565b73ffffffffffffffffffffffffffffffffffffffff861662000b01576040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff861690859060405162000a7a9190620038e6565b60006040518083038185875af1925050503d806000811462000ab9576040519150601f19603f3d011682016040523d82523d6000602084013e62000abe565b606091505b505090508062000afa576040517f6747a28800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5062000efc565b60685463ffffffff61010090910481169088160362000b435762000b3d73ffffffffffffffffffffffffffffffffffffffff87168585620021ed565b62000efc565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e089901b1660208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b166024820152600090603801604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152606a90935291205490915073ffffffffffffffffffffffffffffffffffffffff168062000e6e576000808062000c1886880188620039fb565b92509250925060008584848460405162000c329062003292565b62000c409392919062003abd565b8190604051809103906000f590508015801562000c61573d6000803e3d6000fd5b506040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c81166004830152602482018c9052919250908216906340c10f1990604401600060405180830381600087803b15801562000cd757600080fd5b505af115801562000cec573d6000803e3d6000fd5b5050505080606a600088815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180604001604052808e63ffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815250606b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050507f490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a398d8d838b8b60405162000e5c95949392919062003afa565b60405180910390a15050505062000ef9565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018790528216906340c10f1990604401600060405180830381600087803b15801562000edf57600080fd5b505af115801562000ef4573d6000803e3d6000fd5b505050505b50505b6040805163ffffffff8c811682528916602082015273ffffffffffffffffffffffffffffffffffffffff88811682840152861660608201526080810185905290517f25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe275459839181900360a00190a15050505050505050505050565b60685460ff161562000fb2576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000fc98b8b8b8b8b8b8b8b8b8b8b600162001ffc565b60008473ffffffffffffffffffffffffffffffffffffffff1684888a868660405160240162000ffc949392919062003b42565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1806b5f200000000000000000000000000000000000000000000000000000000179052516200107f9190620038e6565b60006040518083038185875af1925050503d8060008114620010be576040519150601f19603f3d011682016040523d82523d6000602084013e620010c3565b606091505b5050905080620010ff576040517f37e391c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805163ffffffff8d811682528a16602082015273ffffffffffffffffffffffffffffffffffffffff89811682840152871660608201526080810186905290517f25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe275459839181900360a00190a1505050505050505050505050565b605354600090819081805b602081101562001255578083901c600116600103620011e65760338160208110620011b257620011b262003b8a565b0154604080516020810192909252810185905260600160405160208183030381529060405280519060200120935062001213565b60408051602081018690529081018390526060016040516020818303038152906040528051906020012093505b604080516020810184905290810183905260600160405160208183030381529060405280519060200120915080806200124c9062003be8565b91505062001183565b50919392505050565b600054610100900460ff16158080156200127f5750600054600160ff909116105b806200129b5750303b1580156200129b575060005460ff166001145b6200132d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156200138c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b606880547fffffffffffffff000000000000000000000000000000000000000000000000ff1661010063ffffffff8716027fffffffffffffff0000000000000000000000000000000000000000ffffffffff16176501000000000073ffffffffffffffffffffffffffffffffffffffff8681169190910291909117909155606c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001691841691909117905562001443620022c3565b8015620014a757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b605354606854790100000000000000000000000000000000000000000000000000900463ffffffff16101562000703576200070362001f27565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e089901b1660208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660248201526000908190603801604051602081830303815290604052805190602001209050600060ff60f81b3083604051806020016200157d9062003292565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f909101166040819052620015c8908d908d908d908d908d9060200162003c23565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905262001606929160200162003c64565b604051602081830303815290604052805190602001206040516020016200168f94939291907fff0000000000000000000000000000000000000000000000000000000000000094909416845260609290921b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660018401526015830152603582015260550190565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291905280516020909101209a9950505050505050505050565b60685460ff161562001711576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200171b62002366565b60685463ffffffff888116610100909204161480620017415750600263ffffffff881610155b1562001779576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060608773ffffffffffffffffffffffffffffffffffffffff8816620017df57883414620017d5576040517fb89240f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000925062001ad9565b341562001818576040517f798ee6f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8089166000908152606b602090815260409182902082518084019093525463ffffffff811683526401000000009004909216918101829052901562001908576040517f9dc29fac000000000000000000000000000000000000000000000000000000008152336004820152602481018b905273ffffffffffffffffffffffffffffffffffffffff8a1690639dc29fac90604401600060405180830381600087803b158015620018db57600080fd5b505af1158015620018f0573d6000803e3d6000fd5b50505050806020015194508060000151935062001ad7565b85156200191d576200191d898b8989620023db565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401602060405180830381865afa1580156200198b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019b1919062003c97565b9050620019d773ffffffffffffffffffffffffffffffffffffffff8b1633308e620028f9565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8c16906370a0823190602401602060405180830381865afa15801562001a45573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a6b919062003c97565b905062001a79828262003cb1565b6068548c9850610100900463ffffffff169650935062001a998762002959565b62001aa48c62002a71565b62001aaf8d62002b7e565b60405160200162001ac39392919062003abd565b604051602081830303815290604052945050505b505b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b600084868e8e868860535460405162001b1b98979695949392919062003cc7565b60405180910390a162001c0f620009b2600085878f8f8789805190602001206040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b861562001c205762001c2062001f27565b5050505062001c2e60018055565b50505050505050565b606c5473ffffffffffffffffffffffffffffffffffffffff16331462001c89576040517fe2e8106b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200070362002c80565b600084815b602081101562001d6e57600163ffffffff8616821c8116900362001d0a5785816020811062001ccb5762001ccb62003b8a565b60200201358260405160200162001cec929190918252602082015260400190565b60405160208183030381529060405280519060200120915062001d59565b8186826020811062001d205762001d2062003b8a565b602002013560405160200162001d40929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b8062001d658162003be8565b91505062001c98565b50821490505b949350505050565b60685460ff161562001dba576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a549790600090a1565b80600162001e216020600262003e79565b62001e2d919062003cb1565b6053541062001e68576040517fef5ccf6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060536000815462001e7b9062003be8565b9182905550905060005b602081101562001f17578082901c60011660010362001ebd57826033826020811062001eb55762001eb562003b8a565b015550505050565b6033816020811062001ed35762001ed362003b8a565b01546040805160208101929092528101849052606001604051602081830303815290604052805190602001209250808062001f0e9062003be8565b91505062001e85565b5062001f2262003e87565b505050565b6053546068805463ffffffff909216790100000000000000000000000000000000000000000000000000027fffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179081905573ffffffffffffffffffffffffffffffffffffffff65010000000000909104166333d6247d62001fad62001178565b6040518263ffffffff1660e01b815260040162001fcc91815260200190565b600060405180830381600087803b15801562001fe757600080fd5b505af1158015620014a7573d6000803e3d6000fd5b6200200d8b63ffffffff1662002d10565b6068546040805160208082018e90528183018d9052825180830384018152606083019384905280519101207f257b363200000000000000000000000000000000000000000000000000000000909252606481019190915260009165010000000000900473ffffffffffffffffffffffffffffffffffffffff169063257b3632906084016020604051808303816000875af1158015620020b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020d6919062003c97565b90508060000362002112576040517e2f6fad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60685463ffffffff88811661010090920416146200215c576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606854600090610100900463ffffffff166200217a5750896200217d565b508a5b620021a66200219d848c8c8c8c8c8c8c604051620008d592919062003881565b8f8f8462001c93565b620021dd576040517fe0417cec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905262001f229084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262002d75565b600054610100900460ff166200235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840162001324565b6200070362002e88565b600260015403620023d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162001324565b6002600155565b6000620023ec600482848662003eb6565b620023f79162003ee2565b90507f2afa5331000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000821601620026765760008080808080806200245a896004818d62003eb6565b81019062002469919062003f2b565b96509650965096509650965096503373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614620024dd576040517f912ecce700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff861630146200252d576040517f750643af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8a851462002567576040517f03fffc4b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260ff861660a483015260c4820185905260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd505accf000000000000000000000000000000000000000000000000000000001790529151918e1691620026229190620038e6565b6000604051808303816000865af19150503d806000811462002661576040519150601f19603f3d011682016040523d82523d6000602084013e62002666565b606091505b50505050505050505050620009c9565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f8fcbaf0c0000000000000000000000000000000000000000000000000000000014620026f2576040517fe282c0ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808080808080806200270a8a6004818e62003eb6565b81019062002719919062003f86565b975097509750975097509750975097503373ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146200278f576040517f912ecce700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff87163014620027df576040517f750643af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905286151560a483015260ff861660c483015260e482018590526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8fcbaf0c000000000000000000000000000000000000000000000000000000001790529151918f1691620028a39190620038e6565b6000604051808303816000865af19150503d8060008114620028e2576040519150601f19603f3d011682016040523d82523d6000602084013e620028e7565b606091505b50505050505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052620014a79085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162002240565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde03000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff861691620029dd9190620038e6565b600060405180830381855afa9150503d806000811462002a1a576040519150601f19603f3d011682016040523d82523d6000602084013e62002a1f565b606091505b50915091508162002a66576040518060400160405280600781526020017f4e4f5f4e414d450000000000000000000000000000000000000000000000000081525062001d74565b62001d748162002f21565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b41000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff86169162002af59190620038e6565b600060405180830381855afa9150503d806000811462002b32576040519150601f19603f3d011682016040523d82523d6000602084013e62002b37565b606091505b50915091508162002a66576040518060400160405280600981526020017f4e4f5f53594d424f4c000000000000000000000000000000000000000000000081525062001d74565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829173ffffffffffffffffffffffffffffffffffffffff86169162002c019190620038e6565b600060405180830381855afa9150503d806000811462002c3e576040519150601f19603f3d011682016040523d82523d6000602084013e62002c43565b606091505b509150915081801562002c57575080516020145b62002c6457601262001d74565b8080602001905181019062001d74919062004012565b60018055565b60685460ff1662002cbd576040517f5386698100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b390600090a1565b600881901c60008181526069602052604081208054600160ff861690811b91821892839055929091908183169003620009c9576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600062002dd9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620031119092919063ffffffff16565b80519091501562001f22578080602001905181019062002dfa919062004032565b62001f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840162001324565b600054610100900460ff1662002c7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840162001324565b6060604082511062002f435781806020019051810190620007a2919062004052565b8151602003620030d35760005b60208110801562002f9b575082818151811062002f715762002f7162003b8a565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b1562002fb6578062002fad8162003be8565b91505062002f50565b8060000362002ffa57505060408051808201909152601281527f4e4f545f56414c49445f454e434f44494e4700000000000000000000000000006020820152919050565b60008167ffffffffffffffff81111562003018576200301862003891565b6040519080825280601f01601f19166020018201604052801562003043576020820181803683370190505b50905060005b82811015620030cb5784818151811062003067576200306762003b8a565b602001015160f81c60f81b82828151811062003087576200308762003b8a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080620030c28162003be8565b91505062003049565b509392505050565b505060408051808201909152601281527f4e4f545f56414c49445f454e434f44494e470000000000000000000000000000602082015290565b919050565b606062001d748484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051620031489190620038e6565b60006040518083038185875af1925050503d806000811462003187576040519150601f19603f3d011682016040523d82523d6000602084013e6200318c565b606091505b50915091506200319f87838387620031aa565b979650505050505050565b60608315620032455782516000036200323d5773ffffffffffffffffffffffffffffffffffffffff85163b6200323d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162001324565b508162001d74565b62001d7483838151156200325c5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620013249190620040d2565b611b6680620040e883390190565b803563ffffffff811681146200310c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114620032d857600080fd5b50565b60008060408385031215620032ef57600080fd5b620032fa83620032a0565b915060208301356200330c81620032b5565b809150509250929050565b8015158114620032d857600080fd5b60008083601f8401126200333957600080fd5b50813567ffffffffffffffff8111156200335257600080fd5b6020830191508360208285010111156200336b57600080fd5b9250929050565b6000806000806000608086880312156200338b57600080fd5b6200339686620032a0565b94506020860135620033a881620032b5565b93506040860135620033ba8162003317565b9250606086013567ffffffffffffffff811115620033d757600080fd5b620033e58882890162003326565b969995985093965092949392505050565b806104008101831015620007a257600080fd5b60008060008060008060008060008060006105208c8e0312156200342c57600080fd5b620034388d8d620033f6565b9a50620034496104008d01620032a0565b99506104208c013598506104408c013597506200346a6104608d01620032a0565b96506104808c01356200347d81620032b5565b95506200348e6104a08d01620032a0565b94506104c08c0135620034a181620032b5565b93506104e08c013592506105008c013567ffffffffffffffff811115620034c757600080fd5b620034d58e828f0162003326565b915080935050809150509295989b509295989b9093969950565b6000602082840312156200350257600080fd5b81356200350f81620032b5565b9392505050565b60ff81168114620032d857600080fd5b600080600080600080600060e0888a0312156200354257600080fd5b87356200354f8162003516565b96506200355f60208901620032a0565b955060408801356200357181620032b5565b94506200358160608901620032a0565b935060808801356200359381620032b5565b9699959850939692959460a0840135945060c09093013592915050565b600080600060608486031215620035c657600080fd5b620035d184620032a0565b92506020840135620035e381620032b5565b91506040840135620035f581620032b5565b809150509250925092565b6000602082840312156200361357600080fd5b5035919050565b600080600080600080600060a0888a0312156200363657600080fd5b6200364188620032a0565b965060208801356200365381620032b5565b9550604088013567ffffffffffffffff808211156200367157600080fd5b6200367f8b838c0162003326565b909750955060608a01359150808211156200369957600080fd5b50620036a88a828b0162003326565b9094509250506080880135620036be8162003516565b8091505092959891949750929550565b600080600080600080600060c0888a031215620036ea57600080fd5b620036f588620032a0565b965060208801356200370781620032b5565b95506040880135945060608801356200372081620032b5565b93506080880135620037328162003317565b925060a088013567ffffffffffffffff8111156200374f57600080fd5b6200375d8a828b0162003326565b989b979a50959850939692959293505050565b60008060008061046085870312156200378857600080fd5b843593506200379b8660208701620033f6565b9250620037ac6104208601620032a0565b939692955092936104400135925050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600061010060ff8c16835263ffffffff808c16602085015273ffffffffffffffffffffffffffffffffffffffff808c166040860152818b166060860152808a166080860152508760a08501528160c0850152620038678285018789620037bd565b925080851660e085015250509a9950505050505050505050565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60005b83811015620038dd578181015183820152602001620038c3565b50506000910152565b60008251620038fa818460208701620038c0565b9190910192915050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156200394e576200394e62003891565b604052919050565b600067ffffffffffffffff82111562003973576200397362003891565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112620039b157600080fd5b8135620039c8620039c28262003956565b62003904565b818152846020838601011115620039de57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121562003a1157600080fd5b833567ffffffffffffffff8082111562003a2a57600080fd5b62003a38878388016200399f565b9450602086013591508082111562003a4f57600080fd5b5062003a5e868287016200399f565b9250506040840135620035f58162003516565b6000815180845262003a8b816020860160208601620038c0565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60608152600062003ad2606083018662003a71565b828103602084015262003ae6818662003a71565b91505060ff83166040830152949350505050565b63ffffffff86168152600073ffffffffffffffffffffffffffffffffffffffff8087166020840152808616604084015250608060608301526200319f608083018486620037bd565b73ffffffffffffffffffffffffffffffffffffffff8516815263ffffffff8416602082015260606040820152600062003b80606083018486620037bd565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362003c1c5762003c1c62003bb9565b5060010190565b60608152600062003c39606083018789620037bd565b828103602084015262003c4e818688620037bd565b91505060ff831660408301529695505050505050565b6000835162003c78818460208801620038c0565b83519083019062003c8e818360208801620038c0565b01949350505050565b60006020828403121562003caa57600080fd5b5051919050565b81810381811115620007a257620007a262003bb9565b600061010060ff8b16835263ffffffff808b16602085015273ffffffffffffffffffffffffffffffffffffffff808b166040860152818a1660608601528089166080860152508660a08501528160c085015262003d278285018762003a71565b925080851660e085015250509998505050505050505050565b600181815b8085111562003d9f57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111562003d835762003d8362003bb9565b8085161562003d9157918102915b93841c939080029062003d45565b509250929050565b60008262003db857506001620007a2565b8162003dc757506000620007a2565b816001811462003de0576002811462003deb5762003e0b565b6001915050620007a2565b60ff84111562003dff5762003dff62003bb9565b50506001821b620007a2565b5060208310610133831016604e8410600b841016171562003e30575081810a620007a2565b62003e3c838362003d40565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111562003e715762003e7162003bb9565b029392505050565b60006200350f838362003da7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000808585111562003ec757600080fd5b8386111562003ed557600080fd5b5050820193919092039150565b7fffffffff00000000000000000000000000000000000000000000000000000000813581811691600485101562003f235780818660040360031b1b83161692505b505092915050565b600080600080600080600060e0888a03121562003f4757600080fd5b873562003f5481620032b5565b9650602088013562003f6681620032b5565b955060408801359450606088013593506080880135620035938162003516565b600080600080600080600080610100898b03121562003fa457600080fd5b883562003fb181620032b5565b9750602089013562003fc381620032b5565b96506040890135955060608901359450608089013562003fe38162003317565b935060a089013562003ff58162003516565b979a969950949793969295929450505060c08201359160e0013590565b6000602082840312156200402557600080fd5b81516200350f8162003516565b6000602082840312156200404557600080fd5b81516200350f8162003317565b6000602082840312156200406557600080fd5b815167ffffffffffffffff8111156200407d57600080fd5b8201601f810184136200408f57600080fd5b8051620040a0620039c28262003956565b818152856020838501011115620040b657600080fd5b620040c9826020830160208601620038c0565b95945050505050565b6020815260006200350f602083018462003a7156fe6101006040523480156200001257600080fd5b5060405162001b6638038062001b6683398101604081905262000035916200028d565b82826003620000458382620003a1565b506004620000548282620003a1565b50503360c0525060ff811660e052466080819052620000739062000080565b60a052506200046d915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000ad6200012e565b805160209182012060408051808201825260018152603160f81b90840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b6060600380546200013f9062000312565b80601f01602080910402602001604051908101604052809291908181526020018280546200016d9062000312565b8015620001be5780601f106200019257610100808354040283529160200191620001be565b820191906000526020600020905b815481529060010190602001808311620001a057829003601f168201915b5050505050905090565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f057600080fd5b81516001600160401b03808211156200020d576200020d620001c8565b604051601f8301601f19908116603f01168101908282118183101715620002385762000238620001c8565b816040528381526020925086838588010111156200025557600080fd5b600091505b838210156200027957858201830151818301840152908201906200025a565b600093810190920192909252949350505050565b600080600060608486031215620002a357600080fd5b83516001600160401b0380821115620002bb57600080fd5b620002c987838801620001de565b94506020860151915080821115620002e057600080fd5b50620002ef86828701620001de565b925050604084015160ff811681146200030757600080fd5b809150509250925092565b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620001c8565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516116aa620004bc6000396000610237015260008181610307015281816105c001526106a70152600061053a015260008181610379015261050401526116aa6000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063a457c2d71161008c578063d505accf11610066578063d505accf1461039b578063dd62ed3e146103ae578063ffa1ad74146103f457600080fd5b8063a457c2d71461034e578063a9059cbb14610361578063cd0d00961461037457600080fd5b806395d89b41116100bd57806395d89b41146102e75780639dc29fac146102ef578063a3c573eb1461030257600080fd5b806370a08231146102915780637ecebe00146102c757600080fd5b806330adf81f1161012f5780633644e515116101145780633644e51514610261578063395093511461026957806340c10f191461027c57600080fd5b806330adf81f14610209578063313ce5671461023057600080fd5b806318160ddd1161016057806318160ddd146101bd57806320606b70146101cf57806323b872dd146101f657600080fd5b806306fdde031461017c578063095ea7b31461019a575b600080fd5b610184610430565b60405161019191906113e4565b60405180910390f35b6101ad6101a8366004611479565b6104c2565b6040519015158152602001610191565b6002545b604051908152602001610191565b6101c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6101ad6102043660046114a3565b6104dc565b6101c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610191565b6101c1610500565b6101ad610277366004611479565b61055c565b61028f61028a366004611479565b6105a8565b005b6101c161029f3660046114df565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101c16102d53660046114df565b60056020526000908152604090205481565b610184610680565b61028f6102fd366004611479565b61068f565b6103297f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610191565b6101ad61035c366004611479565b61075e565b6101ad61036f366004611479565b61082f565b6101c17f000000000000000000000000000000000000000000000000000000000000000081565b61028f6103a9366004611501565b61083d565b6101c16103bc366004611574565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101846040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60606003805461043f906115a7565b80601f016020809104026020016040519081016040528092919081815260200182805461046b906115a7565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b6000336104d0818585610b73565b60019150505b92915050565b6000336104ea858285610d27565b6104f5858585610dfe565b506001949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000004614610537576105324661106d565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104d090829086906105a3908790611629565b610b73565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d4272696467650000000000000000000000000000000060648201526084015b60405180910390fd5b61067c8282611135565b5050565b60606004805461043f906115a7565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d427269646765000000000000000000000000000000006064820152608401610669565b61067c8282611228565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610669565b6104f58286868403610b73565b6000336104d0818585610dfe565b834211156108cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f546f6b656e577261707065643a3a7065726d69743a204578706972656420706560448201527f726d6974000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866109268361163c565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610991610500565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610ad057508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e577261707065643a3a7065726d69743a20496e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610669565b610b678a8a8a610b73565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610df85781811015610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610669565b610df88484848403610b73565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ea1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610df8565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611098610430565b8051602091820120604080518082018252600181527f310000000000000000000000000000000000000000000000000000000000000090840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff82166111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610669565b80600260008282546111c49190611629565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff82166112cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d1a565b600060208083528351808285015260005b81811015611411578581018301518582016040015282016113f5565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461147457600080fd5b919050565b6000806040838503121561148c57600080fd5b61149583611450565b946020939093013593505050565b6000806000606084860312156114b857600080fd5b6114c184611450565b92506114cf60208501611450565b9150604084013590509250925092565b6000602082840312156114f157600080fd5b6114fa82611450565b9392505050565b600080600080600080600060e0888a03121561151c57600080fd5b61152588611450565b965061153360208901611450565b95506040880135945060608801359350608088013560ff8116811461155757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561158757600080fd5b61159083611450565b915061159e60208401611450565b90509250929050565b600181811c908216806115bb57607f821691505b6020821081036115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156104d6576104d66115fa565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361166d5761166d6115fa565b506001019056fea26469706673582212208d88fee561cff7120d381c345cfc534cef8229a272dc5809d4bbb685ad67141164736f6c63430008110033a2646970667358221220d9b3ca7b13ec80ac58634ddf0ecebe71e209a71f532614949b9e720413f50c8364736f6c63430008110033",
}
OldpolygonzkevmbridgeMetaData contains all meta data concerning the Oldpolygonzkevmbridge contract.
Functions ¶
This section is empty.
Types ¶
type Oldpolygonzkevmbridge ¶
type Oldpolygonzkevmbridge struct { OldpolygonzkevmbridgeCaller // Read-only binding to the contract OldpolygonzkevmbridgeTransactor // Write-only binding to the contract OldpolygonzkevmbridgeFilterer // Log filterer for contract events }
Oldpolygonzkevmbridge is an auto generated Go binding around an Ethereum contract.
func DeployOldpolygonzkevmbridge ¶
func DeployOldpolygonzkevmbridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Oldpolygonzkevmbridge, error)
DeployOldpolygonzkevmbridge deploys a new Ethereum contract, binding an instance of Oldpolygonzkevmbridge to it.
func NewOldpolygonzkevmbridge ¶
func NewOldpolygonzkevmbridge(address common.Address, backend bind.ContractBackend) (*Oldpolygonzkevmbridge, error)
NewOldpolygonzkevmbridge creates a new instance of Oldpolygonzkevmbridge, bound to a specific deployed contract.
type OldpolygonzkevmbridgeBridgeEvent ¶
type OldpolygonzkevmbridgeBridgeEvent struct { LeafType uint8 OriginNetwork uint32 OriginAddress common.Address DestinationNetwork uint32 DestinationAddress common.Address Amount *big.Int Metadata []byte DepositCount uint32 Raw types.Log // Blockchain specific contextual infos }
OldpolygonzkevmbridgeBridgeEvent represents a BridgeEvent event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeBridgeEventIterator ¶
type OldpolygonzkevmbridgeBridgeEventIterator struct { Event *OldpolygonzkevmbridgeBridgeEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeBridgeEventIterator is returned from FilterBridgeEvent and is used to iterate over the raw logs and unpacked data for BridgeEvent events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeBridgeEventIterator) Close ¶
func (it *OldpolygonzkevmbridgeBridgeEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeBridgeEventIterator) Error ¶
func (it *OldpolygonzkevmbridgeBridgeEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeBridgeEventIterator) Next ¶
func (it *OldpolygonzkevmbridgeBridgeEventIterator) Next() bool
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 OldpolygonzkevmbridgeCaller ¶
type OldpolygonzkevmbridgeCaller struct {
// contains filtered or unexported fields
}
OldpolygonzkevmbridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOldpolygonzkevmbridgeCaller ¶
func NewOldpolygonzkevmbridgeCaller(address common.Address, caller bind.ContractCaller) (*OldpolygonzkevmbridgeCaller, error)
NewOldpolygonzkevmbridgeCaller creates a new read-only instance of Oldpolygonzkevmbridge, bound to a specific deployed contract.
func (*OldpolygonzkevmbridgeCaller) ClaimedBitMap ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) ClaimedBitMap(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ClaimedBitMap is a free data retrieval call binding the contract method 0xee25560b.
Solidity: function claimedBitMap(uint256 ) view returns(uint256)
func (*OldpolygonzkevmbridgeCaller) DepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) DepositCount(opts *bind.CallOpts) (*big.Int, error)
DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.
Solidity: function depositCount() view returns(uint256)
func (*OldpolygonzkevmbridgeCaller) GetDepositRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetDepositRoot(opts *bind.CallOpts) ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0x3ae05047.
Solidity: function getDepositRoot() view returns(bytes32)
func (*OldpolygonzkevmbridgeCaller) GetLeafValue ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetLeafValue(opts *bind.CallOpts, leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
func (*OldpolygonzkevmbridgeCaller) GetTokenWrappedAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GetTokenWrappedAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
GetTokenWrappedAddress is a free data retrieval call binding the contract method 0x22e95f2c.
Solidity: function getTokenWrappedAddress(uint32 originNetwork, address originTokenAddress) view returns(address)
func (*OldpolygonzkevmbridgeCaller) GlobalExitRootManager ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*OldpolygonzkevmbridgeCaller) IsClaimed ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) IsClaimed(opts *bind.CallOpts, index *big.Int) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0x9e34070f.
Solidity: function isClaimed(uint256 index) view returns(bool)
func (*OldpolygonzkevmbridgeCaller) IsEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*OldpolygonzkevmbridgeCaller) LastUpdatedDepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) LastUpdatedDepositCount(opts *bind.CallOpts) (uint32, error)
LastUpdatedDepositCount is a free data retrieval call binding the contract method 0xbe5831c7.
Solidity: function lastUpdatedDepositCount() view returns(uint32)
func (*OldpolygonzkevmbridgeCaller) NetworkID ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) NetworkID(opts *bind.CallOpts) (uint32, error)
NetworkID is a free data retrieval call binding the contract method 0xbab161bf.
Solidity: function networkID() view returns(uint32)
func (*OldpolygonzkevmbridgeCaller) PolygonZkEVMaddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) PolygonZkEVMaddress(opts *bind.CallOpts) (common.Address, error)
PolygonZkEVMaddress is a free data retrieval call binding the contract method 0x34ac9cf2.
Solidity: function polygonZkEVMaddress() view returns(address)
func (*OldpolygonzkevmbridgeCaller) PrecalculatedWrapperAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) PrecalculatedWrapperAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address, name string, symbol string, decimals uint8) (common.Address, error)
PrecalculatedWrapperAddress is a free data retrieval call binding the contract method 0xaaa13cc2.
Solidity: function precalculatedWrapperAddress(uint32 originNetwork, address originTokenAddress, string name, string symbol, uint8 decimals) view returns(address)
func (*OldpolygonzkevmbridgeCaller) TokenInfoToWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) TokenInfoToWrappedToken(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
TokenInfoToWrappedToken is a free data retrieval call binding the contract method 0x81b1c174.
Solidity: function tokenInfoToWrappedToken(bytes32 ) view returns(address)
func (*OldpolygonzkevmbridgeCaller) VerifyMerkleProof ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) VerifyMerkleProof(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
func (*OldpolygonzkevmbridgeCaller) WrappedTokenToTokenInfo ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCaller) WrappedTokenToTokenInfo(opts *bind.CallOpts, arg0 common.Address) (struct { OriginNetwork uint32 OriginTokenAddress common.Address }, error)
WrappedTokenToTokenInfo is a free data retrieval call binding the contract method 0x318aee3d.
Solidity: function wrappedTokenToTokenInfo(address ) view returns(uint32 originNetwork, address originTokenAddress)
type OldpolygonzkevmbridgeCallerRaw ¶
type OldpolygonzkevmbridgeCallerRaw struct {
Contract *OldpolygonzkevmbridgeCaller // Generic read-only contract binding to access the raw methods on
}
OldpolygonzkevmbridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OldpolygonzkevmbridgeCallerRaw) Call ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerRaw) 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 OldpolygonzkevmbridgeCallerSession ¶
type OldpolygonzkevmbridgeCallerSession struct { Contract *OldpolygonzkevmbridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OldpolygonzkevmbridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OldpolygonzkevmbridgeCallerSession) ClaimedBitMap ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
ClaimedBitMap is a free data retrieval call binding the contract method 0xee25560b.
Solidity: function claimedBitMap(uint256 ) view returns(uint256)
func (*OldpolygonzkevmbridgeCallerSession) DepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) DepositCount() (*big.Int, error)
DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.
Solidity: function depositCount() view returns(uint256)
func (*OldpolygonzkevmbridgeCallerSession) GetDepositRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetDepositRoot() ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0x3ae05047.
Solidity: function getDepositRoot() view returns(bytes32)
func (*OldpolygonzkevmbridgeCallerSession) GetLeafValue ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
func (*OldpolygonzkevmbridgeCallerSession) GetTokenWrappedAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
GetTokenWrappedAddress is a free data retrieval call binding the contract method 0x22e95f2c.
Solidity: function getTokenWrappedAddress(uint32 originNetwork, address originTokenAddress) view returns(address)
func (*OldpolygonzkevmbridgeCallerSession) GlobalExitRootManager ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*OldpolygonzkevmbridgeCallerSession) IsClaimed ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) IsClaimed(index *big.Int) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0x9e34070f.
Solidity: function isClaimed(uint256 index) view returns(bool)
func (*OldpolygonzkevmbridgeCallerSession) IsEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*OldpolygonzkevmbridgeCallerSession) LastUpdatedDepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) LastUpdatedDepositCount() (uint32, error)
LastUpdatedDepositCount is a free data retrieval call binding the contract method 0xbe5831c7.
Solidity: function lastUpdatedDepositCount() view returns(uint32)
func (*OldpolygonzkevmbridgeCallerSession) NetworkID ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) NetworkID() (uint32, error)
NetworkID is a free data retrieval call binding the contract method 0xbab161bf.
Solidity: function networkID() view returns(uint32)
func (*OldpolygonzkevmbridgeCallerSession) PolygonZkEVMaddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) PolygonZkEVMaddress() (common.Address, error)
PolygonZkEVMaddress is a free data retrieval call binding the contract method 0x34ac9cf2.
Solidity: function polygonZkEVMaddress() view returns(address)
func (*OldpolygonzkevmbridgeCallerSession) PrecalculatedWrapperAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, symbol string, decimals uint8) (common.Address, error)
PrecalculatedWrapperAddress is a free data retrieval call binding the contract method 0xaaa13cc2.
Solidity: function precalculatedWrapperAddress(uint32 originNetwork, address originTokenAddress, string name, string symbol, uint8 decimals) view returns(address)
func (*OldpolygonzkevmbridgeCallerSession) TokenInfoToWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
TokenInfoToWrappedToken is a free data retrieval call binding the contract method 0x81b1c174.
Solidity: function tokenInfoToWrappedToken(bytes32 ) view returns(address)
func (*OldpolygonzkevmbridgeCallerSession) VerifyMerkleProof ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
func (*OldpolygonzkevmbridgeCallerSession) WrappedTokenToTokenInfo ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeCallerSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct { OriginNetwork uint32 OriginTokenAddress common.Address }, error)
WrappedTokenToTokenInfo is a free data retrieval call binding the contract method 0x318aee3d.
Solidity: function wrappedTokenToTokenInfo(address ) view returns(uint32 originNetwork, address originTokenAddress)
type OldpolygonzkevmbridgeClaimEvent ¶
type OldpolygonzkevmbridgeClaimEvent struct { Index uint32 OriginNetwork uint32 OriginAddress common.Address DestinationAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OldpolygonzkevmbridgeClaimEvent represents a ClaimEvent event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeClaimEventIterator ¶
type OldpolygonzkevmbridgeClaimEventIterator struct { Event *OldpolygonzkevmbridgeClaimEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeClaimEventIterator is returned from FilterClaimEvent and is used to iterate over the raw logs and unpacked data for ClaimEvent events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeClaimEventIterator) Close ¶
func (it *OldpolygonzkevmbridgeClaimEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeClaimEventIterator) Error ¶
func (it *OldpolygonzkevmbridgeClaimEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeClaimEventIterator) Next ¶
func (it *OldpolygonzkevmbridgeClaimEventIterator) Next() bool
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 OldpolygonzkevmbridgeEmergencyStateActivated ¶
type OldpolygonzkevmbridgeEmergencyStateActivated struct {
Raw types.Log // Blockchain specific contextual infos
}
OldpolygonzkevmbridgeEmergencyStateActivated represents a EmergencyStateActivated event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeEmergencyStateActivatedIterator ¶
type OldpolygonzkevmbridgeEmergencyStateActivatedIterator struct { Event *OldpolygonzkevmbridgeEmergencyStateActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeEmergencyStateActivatedIterator is returned from FilterEmergencyStateActivated and is used to iterate over the raw logs and unpacked data for EmergencyStateActivated events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Close ¶
func (it *OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Error ¶
func (it *OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Next ¶
func (it *OldpolygonzkevmbridgeEmergencyStateActivatedIterator) Next() bool
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 OldpolygonzkevmbridgeEmergencyStateDeactivated ¶
type OldpolygonzkevmbridgeEmergencyStateDeactivated struct {
Raw types.Log // Blockchain specific contextual infos
}
OldpolygonzkevmbridgeEmergencyStateDeactivated represents a EmergencyStateDeactivated event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator ¶
type OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator struct { Event *OldpolygonzkevmbridgeEmergencyStateDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator is returned from FilterEmergencyStateDeactivated and is used to iterate over the raw logs and unpacked data for EmergencyStateDeactivated events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Close ¶
func (it *OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Error ¶
func (it *OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Next ¶
func (it *OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator) Next() bool
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 OldpolygonzkevmbridgeFilterer ¶
type OldpolygonzkevmbridgeFilterer struct {
// contains filtered or unexported fields
}
OldpolygonzkevmbridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOldpolygonzkevmbridgeFilterer ¶
func NewOldpolygonzkevmbridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*OldpolygonzkevmbridgeFilterer, error)
NewOldpolygonzkevmbridgeFilterer creates a new log filterer instance of Oldpolygonzkevmbridge, bound to a specific deployed contract.
func (*OldpolygonzkevmbridgeFilterer) FilterBridgeEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterBridgeEvent(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeBridgeEventIterator, error)
FilterBridgeEvent is a free log retrieval operation binding the contract event 0x501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b.
Solidity: event BridgeEvent(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata, uint32 depositCount)
func (*OldpolygonzkevmbridgeFilterer) FilterClaimEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterClaimEvent(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeClaimEventIterator, error)
FilterClaimEvent is a free log retrieval operation binding the contract event 0x25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe27545983.
Solidity: event ClaimEvent(uint32 index, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*OldpolygonzkevmbridgeFilterer) FilterEmergencyStateActivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeEmergencyStateActivatedIterator, error)
FilterEmergencyStateActivated is a free log retrieval operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*OldpolygonzkevmbridgeFilterer) FilterEmergencyStateDeactivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeEmergencyStateDeactivatedIterator, error)
FilterEmergencyStateDeactivated is a free log retrieval operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*OldpolygonzkevmbridgeFilterer) FilterInitialized ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OldpolygonzkevmbridgeFilterer) FilterNewWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) FilterNewWrappedToken(opts *bind.FilterOpts) (*OldpolygonzkevmbridgeNewWrappedTokenIterator, error)
FilterNewWrappedToken is a free log retrieval operation binding the contract event 0x490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a39.
Solidity: event NewWrappedToken(uint32 originNetwork, address originTokenAddress, address wrappedTokenAddress, bytes metadata)
func (*OldpolygonzkevmbridgeFilterer) ParseBridgeEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseBridgeEvent(log types.Log) (*OldpolygonzkevmbridgeBridgeEvent, error)
ParseBridgeEvent is a log parse operation binding the contract event 0x501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b.
Solidity: event BridgeEvent(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata, uint32 depositCount)
func (*OldpolygonzkevmbridgeFilterer) ParseClaimEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseClaimEvent(log types.Log) (*OldpolygonzkevmbridgeClaimEvent, error)
ParseClaimEvent is a log parse operation binding the contract event 0x25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe27545983.
Solidity: event ClaimEvent(uint32 index, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*OldpolygonzkevmbridgeFilterer) ParseEmergencyStateActivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseEmergencyStateActivated(log types.Log) (*OldpolygonzkevmbridgeEmergencyStateActivated, error)
ParseEmergencyStateActivated is a log parse operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*OldpolygonzkevmbridgeFilterer) ParseEmergencyStateDeactivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseEmergencyStateDeactivated(log types.Log) (*OldpolygonzkevmbridgeEmergencyStateDeactivated, error)
ParseEmergencyStateDeactivated is a log parse operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*OldpolygonzkevmbridgeFilterer) ParseInitialized ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseInitialized(log types.Log) (*OldpolygonzkevmbridgeInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OldpolygonzkevmbridgeFilterer) ParseNewWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) ParseNewWrappedToken(log types.Log) (*OldpolygonzkevmbridgeNewWrappedToken, error)
ParseNewWrappedToken is a log parse operation binding the contract event 0x490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a39.
Solidity: event NewWrappedToken(uint32 originNetwork, address originTokenAddress, address wrappedTokenAddress, bytes metadata)
func (*OldpolygonzkevmbridgeFilterer) WatchBridgeEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchBridgeEvent(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeBridgeEvent) (event.Subscription, error)
WatchBridgeEvent is a free log subscription operation binding the contract event 0x501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b.
Solidity: event BridgeEvent(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata, uint32 depositCount)
func (*OldpolygonzkevmbridgeFilterer) WatchClaimEvent ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchClaimEvent(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeClaimEvent) (event.Subscription, error)
WatchClaimEvent is a free log subscription operation binding the contract event 0x25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe27545983.
Solidity: event ClaimEvent(uint32 index, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*OldpolygonzkevmbridgeFilterer) WatchEmergencyStateActivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeEmergencyStateActivated) (event.Subscription, error)
WatchEmergencyStateActivated is a free log subscription operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*OldpolygonzkevmbridgeFilterer) WatchEmergencyStateDeactivated ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeEmergencyStateDeactivated) (event.Subscription, error)
WatchEmergencyStateDeactivated is a free log subscription operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*OldpolygonzkevmbridgeFilterer) WatchInitialized ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OldpolygonzkevmbridgeFilterer) WatchNewWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeFilterer) WatchNewWrappedToken(opts *bind.WatchOpts, sink chan<- *OldpolygonzkevmbridgeNewWrappedToken) (event.Subscription, error)
WatchNewWrappedToken is a free log subscription operation binding the contract event 0x490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a39.
Solidity: event NewWrappedToken(uint32 originNetwork, address originTokenAddress, address wrappedTokenAddress, bytes metadata)
type OldpolygonzkevmbridgeInitialized ¶
type OldpolygonzkevmbridgeInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
OldpolygonzkevmbridgeInitialized represents a Initialized event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeInitializedIterator ¶
type OldpolygonzkevmbridgeInitializedIterator struct { Event *OldpolygonzkevmbridgeInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeInitializedIterator) Close ¶
func (it *OldpolygonzkevmbridgeInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeInitializedIterator) Error ¶
func (it *OldpolygonzkevmbridgeInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeInitializedIterator) Next ¶
func (it *OldpolygonzkevmbridgeInitializedIterator) Next() bool
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 OldpolygonzkevmbridgeNewWrappedToken ¶
type OldpolygonzkevmbridgeNewWrappedToken struct { OriginNetwork uint32 OriginTokenAddress common.Address WrappedTokenAddress common.Address Metadata []byte Raw types.Log // Blockchain specific contextual infos }
OldpolygonzkevmbridgeNewWrappedToken represents a NewWrappedToken event raised by the Oldpolygonzkevmbridge contract.
type OldpolygonzkevmbridgeNewWrappedTokenIterator ¶
type OldpolygonzkevmbridgeNewWrappedTokenIterator struct { Event *OldpolygonzkevmbridgeNewWrappedToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OldpolygonzkevmbridgeNewWrappedTokenIterator is returned from FilterNewWrappedToken and is used to iterate over the raw logs and unpacked data for NewWrappedToken events raised by the Oldpolygonzkevmbridge contract.
func (*OldpolygonzkevmbridgeNewWrappedTokenIterator) Close ¶
func (it *OldpolygonzkevmbridgeNewWrappedTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OldpolygonzkevmbridgeNewWrappedTokenIterator) Error ¶
func (it *OldpolygonzkevmbridgeNewWrappedTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OldpolygonzkevmbridgeNewWrappedTokenIterator) Next ¶
func (it *OldpolygonzkevmbridgeNewWrappedTokenIterator) Next() bool
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 OldpolygonzkevmbridgeRaw ¶
type OldpolygonzkevmbridgeRaw struct {
Contract *Oldpolygonzkevmbridge // Generic contract binding to access the raw methods on
}
OldpolygonzkevmbridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OldpolygonzkevmbridgeRaw) Call ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) 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 (*OldpolygonzkevmbridgeRaw) Transact ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OldpolygonzkevmbridgeRaw) Transfer ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeRaw) 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 OldpolygonzkevmbridgeSession ¶
type OldpolygonzkevmbridgeSession struct { Contract *Oldpolygonzkevmbridge // 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 }
OldpolygonzkevmbridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OldpolygonzkevmbridgeSession) ActivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ActivateEmergencyState() (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*OldpolygonzkevmbridgeSession) BridgeAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, token common.Address, forceUpdateGlobalExitRoot bool, permitData []byte) (*types.Transaction, error)
BridgeAsset is a paid mutator transaction binding the contract method 0xcd586579.
Solidity: function bridgeAsset(uint32 destinationNetwork, address destinationAddress, uint256 amount, address token, bool forceUpdateGlobalExitRoot, bytes permitData) payable returns()
func (*OldpolygonzkevmbridgeSession) BridgeMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessage is a paid mutator transaction binding the contract method 0x240ff378.
Solidity: function bridgeMessage(uint32 destinationNetwork, address destinationAddress, bool forceUpdateGlobalExitRoot, bytes metadata) payable returns()
func (*OldpolygonzkevmbridgeSession) ClaimAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimAsset(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0x2cffd02e.
Solidity: function claimAsset(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeSession) ClaimMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimMessage(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0x2d2c9d94.
Solidity: function claimMessage(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeSession) ClaimedBitMap ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
ClaimedBitMap is a free data retrieval call binding the contract method 0xee25560b.
Solidity: function claimedBitMap(uint256 ) view returns(uint256)
func (*OldpolygonzkevmbridgeSession) DeactivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) DeactivateEmergencyState() (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*OldpolygonzkevmbridgeSession) DepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) DepositCount() (*big.Int, error)
DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.
Solidity: function depositCount() view returns(uint256)
func (*OldpolygonzkevmbridgeSession) GetDepositRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetDepositRoot() ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0x3ae05047.
Solidity: function getDepositRoot() view returns(bytes32)
func (*OldpolygonzkevmbridgeSession) GetLeafValue ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
func (*OldpolygonzkevmbridgeSession) GetTokenWrappedAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
GetTokenWrappedAddress is a free data retrieval call binding the contract method 0x22e95f2c.
Solidity: function getTokenWrappedAddress(uint32 originNetwork, address originTokenAddress) view returns(address)
func (*OldpolygonzkevmbridgeSession) GlobalExitRootManager ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*OldpolygonzkevmbridgeSession) Initialize ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) Initialize(_networkID uint32, _globalExitRootManager common.Address, _polygonZkEVMaddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x647c576c.
Solidity: function initialize(uint32 _networkID, address _globalExitRootManager, address _polygonZkEVMaddress) returns()
func (*OldpolygonzkevmbridgeSession) IsClaimed ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) IsClaimed(index *big.Int) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0x9e34070f.
Solidity: function isClaimed(uint256 index) view returns(bool)
func (*OldpolygonzkevmbridgeSession) IsEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*OldpolygonzkevmbridgeSession) LastUpdatedDepositCount ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) LastUpdatedDepositCount() (uint32, error)
LastUpdatedDepositCount is a free data retrieval call binding the contract method 0xbe5831c7.
Solidity: function lastUpdatedDepositCount() view returns(uint32)
func (*OldpolygonzkevmbridgeSession) NetworkID ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) NetworkID() (uint32, error)
NetworkID is a free data retrieval call binding the contract method 0xbab161bf.
Solidity: function networkID() view returns(uint32)
func (*OldpolygonzkevmbridgeSession) PolygonZkEVMaddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) PolygonZkEVMaddress() (common.Address, error)
PolygonZkEVMaddress is a free data retrieval call binding the contract method 0x34ac9cf2.
Solidity: function polygonZkEVMaddress() view returns(address)
func (*OldpolygonzkevmbridgeSession) PrecalculatedWrapperAddress ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, symbol string, decimals uint8) (common.Address, error)
PrecalculatedWrapperAddress is a free data retrieval call binding the contract method 0xaaa13cc2.
Solidity: function precalculatedWrapperAddress(uint32 originNetwork, address originTokenAddress, string name, string symbol, uint8 decimals) view returns(address)
func (*OldpolygonzkevmbridgeSession) TokenInfoToWrappedToken ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
TokenInfoToWrappedToken is a free data retrieval call binding the contract method 0x81b1c174.
Solidity: function tokenInfoToWrappedToken(bytes32 ) view returns(address)
func (*OldpolygonzkevmbridgeSession) UpdateGlobalExitRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) UpdateGlobalExitRoot() (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()
func (*OldpolygonzkevmbridgeSession) VerifyMerkleProof ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
func (*OldpolygonzkevmbridgeSession) WrappedTokenToTokenInfo ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct { OriginNetwork uint32 OriginTokenAddress common.Address }, error)
WrappedTokenToTokenInfo is a free data retrieval call binding the contract method 0x318aee3d.
Solidity: function wrappedTokenToTokenInfo(address ) view returns(uint32 originNetwork, address originTokenAddress)
type OldpolygonzkevmbridgeTransactor ¶
type OldpolygonzkevmbridgeTransactor struct {
// contains filtered or unexported fields
}
OldpolygonzkevmbridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOldpolygonzkevmbridgeTransactor ¶
func NewOldpolygonzkevmbridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*OldpolygonzkevmbridgeTransactor, error)
NewOldpolygonzkevmbridgeTransactor creates a new write-only instance of Oldpolygonzkevmbridge, bound to a specific deployed contract.
func (*OldpolygonzkevmbridgeTransactor) ActivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*OldpolygonzkevmbridgeTransactor) BridgeAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) BridgeAsset(opts *bind.TransactOpts, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, token common.Address, forceUpdateGlobalExitRoot bool, permitData []byte) (*types.Transaction, error)
BridgeAsset is a paid mutator transaction binding the contract method 0xcd586579.
Solidity: function bridgeAsset(uint32 destinationNetwork, address destinationAddress, uint256 amount, address token, bool forceUpdateGlobalExitRoot, bytes permitData) payable returns()
func (*OldpolygonzkevmbridgeTransactor) BridgeMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) BridgeMessage(opts *bind.TransactOpts, destinationNetwork uint32, destinationAddress common.Address, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessage is a paid mutator transaction binding the contract method 0x240ff378.
Solidity: function bridgeMessage(uint32 destinationNetwork, address destinationAddress, bool forceUpdateGlobalExitRoot, bytes metadata) payable returns()
func (*OldpolygonzkevmbridgeTransactor) ClaimAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ClaimAsset(opts *bind.TransactOpts, smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0x2cffd02e.
Solidity: function claimAsset(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeTransactor) ClaimMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) ClaimMessage(opts *bind.TransactOpts, smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0x2d2c9d94.
Solidity: function claimMessage(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeTransactor) DeactivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*OldpolygonzkevmbridgeTransactor) Initialize ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) Initialize(opts *bind.TransactOpts, _networkID uint32, _globalExitRootManager common.Address, _polygonZkEVMaddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x647c576c.
Solidity: function initialize(uint32 _networkID, address _globalExitRootManager, address _polygonZkEVMaddress) returns()
func (*OldpolygonzkevmbridgeTransactor) UpdateGlobalExitRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactor) UpdateGlobalExitRoot(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()
type OldpolygonzkevmbridgeTransactorRaw ¶
type OldpolygonzkevmbridgeTransactorRaw struct {
Contract *OldpolygonzkevmbridgeTransactor // Generic write-only contract binding to access the raw methods on
}
OldpolygonzkevmbridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OldpolygonzkevmbridgeTransactorRaw) Transact ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OldpolygonzkevmbridgeTransactorRaw) Transfer ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorRaw) 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 OldpolygonzkevmbridgeTransactorSession ¶
type OldpolygonzkevmbridgeTransactorSession struct { Contract *OldpolygonzkevmbridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OldpolygonzkevmbridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OldpolygonzkevmbridgeTransactorSession) ActivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ActivateEmergencyState() (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*OldpolygonzkevmbridgeTransactorSession) BridgeAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, token common.Address, forceUpdateGlobalExitRoot bool, permitData []byte) (*types.Transaction, error)
BridgeAsset is a paid mutator transaction binding the contract method 0xcd586579.
Solidity: function bridgeAsset(uint32 destinationNetwork, address destinationAddress, uint256 amount, address token, bool forceUpdateGlobalExitRoot, bytes permitData) payable returns()
func (*OldpolygonzkevmbridgeTransactorSession) BridgeMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessage is a paid mutator transaction binding the contract method 0x240ff378.
Solidity: function bridgeMessage(uint32 destinationNetwork, address destinationAddress, bool forceUpdateGlobalExitRoot, bytes metadata) payable returns()
func (*OldpolygonzkevmbridgeTransactorSession) ClaimAsset ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ClaimAsset(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0x2cffd02e.
Solidity: function claimAsset(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeTransactorSession) ClaimMessage ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) ClaimMessage(smtProof [32][32]byte, index uint32, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0x2d2c9d94.
Solidity: function claimMessage(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*OldpolygonzkevmbridgeTransactorSession) DeactivateEmergencyState ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*OldpolygonzkevmbridgeTransactorSession) Initialize ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) Initialize(_networkID uint32, _globalExitRootManager common.Address, _polygonZkEVMaddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x647c576c.
Solidity: function initialize(uint32 _networkID, address _globalExitRootManager, address _polygonZkEVMaddress) returns()
func (*OldpolygonzkevmbridgeTransactorSession) UpdateGlobalExitRoot ¶
func (_Oldpolygonzkevmbridge *OldpolygonzkevmbridgeTransactorSession) UpdateGlobalExitRoot() (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()