Documentation ¶
Index ¶
- Variables
- type Bridgel2sovereignchain
- type Bridgel2sovereignchainBridgeEvent
- type Bridgel2sovereignchainBridgeEventIterator
- type Bridgel2sovereignchainCaller
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) ActivateEmergencyState(opts *bind.CallOpts) error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) BASEINITBYTECODEWRAPPEDTOKEN(opts *bind.CallOpts) ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) BridgeManager(opts *bind.CallOpts) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) CalculateRoot(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) CalculateTokenWrapperAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address, ...) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) ClaimedBitMap(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) DeactivateEmergencyState(opts *bind.CallOpts) error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) DepositCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenMetadata(opts *bind.CallOpts) ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenNetwork(opts *bind.CallOpts) (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetLeafValue(opts *bind.CallOpts, leafType uint8, originNetwork uint32, ...) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetTokenMetadata(opts *bind.CallOpts, token common.Address) ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetTokenWrappedAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) IsClaimed(opts *bind.CallOpts, leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) LastUpdatedDepositCount(opts *bind.CallOpts) (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) NetworkID(opts *bind.CallOpts) (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) PolygonRollupManager(opts *bind.CallOpts) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) PrecalculatedWrapperAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address, ...) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) TokenInfoToWrappedToken(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) VerifyMerkleProof(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32, ...) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) WETHToken(opts *bind.CallOpts) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) WrappedAddressIsNotMintable(opts *bind.CallOpts, wrappedAddress common.Address) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) WrappedTokenToTokenInfo(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type Bridgel2sovereignchainCallerRaw
- type Bridgel2sovereignchainCallerSession
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) ActivateEmergencyState() error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) BASEINITBYTECODEWRAPPEDTOKEN() ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) BridgeManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) CalculateTokenWrapperAddress(originNetwork uint32, originTokenAddress common.Address, token common.Address) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) DeactivateEmergencyState() error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) DepositCount() (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenAddress() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenMetadata() ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenNetwork() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetRoot() ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetTokenMetadata(token common.Address) ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GlobalExitRootManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) IsClaimed(leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) IsEmergencyState() (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) LastUpdatedDepositCount() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) NetworkID() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) PolygonRollupManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, ...) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) WETHToken() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) WrappedAddressIsNotMintable(wrappedAddress common.Address) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct{ ... }, error)
- type Bridgel2sovereignchainClaimEvent
- type Bridgel2sovereignchainClaimEventIterator
- type Bridgel2sovereignchainEmergencyStateActivated
- type Bridgel2sovereignchainEmergencyStateActivatedIterator
- type Bridgel2sovereignchainEmergencyStateDeactivated
- type Bridgel2sovereignchainEmergencyStateDeactivatedIterator
- type Bridgel2sovereignchainFilterer
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterBridgeEvent(opts *bind.FilterOpts) (*Bridgel2sovereignchainBridgeEventIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterClaimEvent(opts *bind.FilterOpts) (*Bridgel2sovereignchainClaimEventIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*Bridgel2sovereignchainEmergencyStateActivatedIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*Bridgel2sovereignchainEmergencyStateDeactivatedIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterInitialized(opts *bind.FilterOpts) (*Bridgel2sovereignchainInitializedIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterMigrateLegacyToken(opts *bind.FilterOpts) (*Bridgel2sovereignchainMigrateLegacyTokenIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterNewWrappedToken(opts *bind.FilterOpts) (*Bridgel2sovereignchainNewWrappedTokenIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterRemoveLegacySovereignTokenAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetBridgeManager(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetBridgeManagerIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetSovereignTokenAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetSovereignTokenAddressIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetSovereignWETHAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetSovereignWETHAddressIterator, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseBridgeEvent(log types.Log) (*Bridgel2sovereignchainBridgeEvent, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseClaimEvent(log types.Log) (*Bridgel2sovereignchainClaimEvent, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseEmergencyStateActivated(log types.Log) (*Bridgel2sovereignchainEmergencyStateActivated, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseEmergencyStateDeactivated(log types.Log) (*Bridgel2sovereignchainEmergencyStateDeactivated, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseInitialized(log types.Log) (*Bridgel2sovereignchainInitialized, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseMigrateLegacyToken(log types.Log) (*Bridgel2sovereignchainMigrateLegacyToken, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseNewWrappedToken(log types.Log) (*Bridgel2sovereignchainNewWrappedToken, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseRemoveLegacySovereignTokenAddress(log types.Log) (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddress, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetBridgeManager(log types.Log) (*Bridgel2sovereignchainSetBridgeManager, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetSovereignTokenAddress(log types.Log) (*Bridgel2sovereignchainSetSovereignTokenAddress, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetSovereignWETHAddress(log types.Log) (*Bridgel2sovereignchainSetSovereignWETHAddress, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchBridgeEvent(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainBridgeEvent) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchClaimEvent(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainClaimEvent) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainInitialized) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchMigrateLegacyToken(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainMigrateLegacyToken) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchNewWrappedToken(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainNewWrappedToken) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchRemoveLegacySovereignTokenAddress(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetBridgeManager(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainSetBridgeManager) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetSovereignTokenAddress(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetSovereignWETHAddress(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type Bridgel2sovereignchainInitialized
- type Bridgel2sovereignchainInitializedIterator
- type Bridgel2sovereignchainMigrateLegacyToken
- type Bridgel2sovereignchainMigrateLegacyTokenIterator
- type Bridgel2sovereignchainNewWrappedToken
- type Bridgel2sovereignchainNewWrappedTokenIterator
- type Bridgel2sovereignchainRaw
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Bridgel2sovereignchainRemoveLegacySovereignTokenAddress
- type Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator
- type Bridgel2sovereignchainSession
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ActivateEmergencyState() error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BASEINITBYTECODEWRAPPEDTOKEN() ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeMessageWETH(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) CalculateTokenWrapperAddress(originNetwork uint32, originTokenAddress common.Address, token common.Address) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ClaimedBitMap(arg0 *big.Int) (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) DeactivateEmergencyState() error
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) DepositCount() (*big.Int, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenAddress() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenMetadata() ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenNetwork() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetRoot() ([32]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetTokenMetadata(token common.Address) ([]byte, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetTokenWrappedAddress(originNetwork uint32, originTokenAddress common.Address) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GlobalExitRootManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) Initialize(_networkID uint32, _gasTokenAddress common.Address, _gasTokenNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) Initialize0(arg0 uint32, arg1 common.Address, arg2 uint32, arg3 common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) IsClaimed(leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) IsEmergencyState() (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) LastUpdatedDepositCount() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) MigrateLegacyToken(legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) NetworkID() (uint32, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) PolygonRollupManager() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) PrecalculatedWrapperAddress(originNetwork uint32, originTokenAddress common.Address, name string, ...) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) RemoveLegacySovereignTokenAddress(sovereignTokenAddress common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetBridgeManager(_bridgeManager common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetMultipleSovereignTokenAddress(originNetworks []uint32, originTokenAddresses []common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetSovereignTokenAddress(originNetwork uint32, originTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetSovereignWETHAddress(sovereignWETHTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) TokenInfoToWrappedToken(arg0 [32]byte) (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) UpdateGlobalExitRoot() (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) WETHToken() (common.Address, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) WrappedAddressIsNotMintable(wrappedAddress common.Address) (bool, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) WrappedTokenToTokenInfo(arg0 common.Address) (struct{ ... }, error)
- type Bridgel2sovereignchainSetBridgeManager
- type Bridgel2sovereignchainSetBridgeManagerIterator
- type Bridgel2sovereignchainSetSovereignTokenAddress
- type Bridgel2sovereignchainSetSovereignTokenAddressIterator
- type Bridgel2sovereignchainSetSovereignWETHAddress
- type Bridgel2sovereignchainSetSovereignWETHAddressIterator
- type Bridgel2sovereignchainTransactor
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) BridgeAsset(opts *bind.TransactOpts, destinationNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) BridgeMessage(opts *bind.TransactOpts, destinationNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) BridgeMessageWETH(opts *bind.TransactOpts, destinationNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) ClaimAsset(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) ClaimMessage(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) Initialize(opts *bind.TransactOpts, _networkID uint32, _gasTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) Initialize0(opts *bind.TransactOpts, arg0 uint32, arg1 common.Address, arg2 uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) MigrateLegacyToken(opts *bind.TransactOpts, legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) RemoveLegacySovereignTokenAddress(opts *bind.TransactOpts, sovereignTokenAddress common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetBridgeManager(opts *bind.TransactOpts, _bridgeManager common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetMultipleSovereignTokenAddress(opts *bind.TransactOpts, originNetworks []uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetSovereignTokenAddress(opts *bind.TransactOpts, originNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetSovereignWETHAddress(opts *bind.TransactOpts, sovereignWETHTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) UpdateGlobalExitRoot(opts *bind.TransactOpts) (*types.Transaction, error)
- type Bridgel2sovereignchainTransactorRaw
- type Bridgel2sovereignchainTransactorSession
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) BridgeAsset(destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) BridgeMessage(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) BridgeMessageWETH(destinationNetwork uint32, destinationAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) Initialize(_networkID uint32, _gasTokenAddress common.Address, _gasTokenNetwork uint32, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) Initialize0(arg0 uint32, arg1 common.Address, arg2 uint32, arg3 common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) MigrateLegacyToken(legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) RemoveLegacySovereignTokenAddress(sovereignTokenAddress common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetBridgeManager(_bridgeManager common.Address) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetMultipleSovereignTokenAddress(originNetworks []uint32, originTokenAddresses []common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetSovereignTokenAddress(originNetwork uint32, originTokenAddress common.Address, ...) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetSovereignWETHAddress(sovereignWETHTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
- func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) UpdateGlobalExitRoot() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var Bridgel2sovereignchainABI = Bridgel2sovereignchainMetaData.ABI
Bridgel2sovereignchainABI is the input ABI used to generate the binding from. Deprecated: Use Bridgel2sovereignchainMetaData.ABI instead.
var Bridgel2sovereignchainBin = Bridgel2sovereignchainMetaData.Bin
Bridgel2sovereignchainBin is the compiled bytecode used for deploying new contracts. Deprecated: Use Bridgel2sovereignchainMetaData.Bin instead.
var Bridgel2sovereignchainMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountDoesNotMatchMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DestinationNetworkInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EtherTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedTokenWrappedDeployment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasTokenNetworkMustBeZeroOnEther\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GlobalExitRootInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputArraysLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitializeFunction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSmtProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSovereignWETHAddressParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MsgValueNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NativeTokenIsEther\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoValueInMessagesOnGasTokenNetworks\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidBridgeManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotValidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyBridgeManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyNotEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyRollupManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OriginNetworkInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenAlreadyMapped\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenAlreadyUpdated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotMapped\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotRemapped\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WETHRemappingNotSupportedOnGasTokenNetworks\",\"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\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"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\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"legacyTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"updatedTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MigrateLegacyToken\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sovereignTokenAddress\",\"type\":\"address\"}],\"name\":\"RemoveLegacySovereignTokenAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bridgeManager\",\"type\":\"address\"}],\"name\":\"SetBridgeManager\",\"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\":\"sovereignTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isNotMintable\",\"type\":\"bool\"}],\"name\":\"SetSovereignTokenAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sovereignWETHTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isNotMintable\",\"type\":\"bool\"}],\"name\":\"SetSovereignWETHAddress\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASE_INIT_BYTECODE_WRAPPED_TOKEN\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETHToken\",\"outputs\":[{\"internalType\":\"contractTokenWrapped\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activateEmergencyState\",\"outputs\":[],\"stateMutability\":\"pure\",\"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\":[],\"name\":\"bridgeManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountWETH\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"forceUpdateGlobalExitRoot\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"bridgeMessageWETH\",\"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\"}],\"name\":\"calculateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"calculateTokenWrapperAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"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\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"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\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasTokenMetadata\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasTokenNetwork\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"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\":[],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getTokenMetadata\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"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\":\"address\",\"name\":\"_gasTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_gasTokenNetwork\",\"type\":\"uint32\"},{\"internalType\":\"contractIBasePolygonZkEVMGlobalExitRoot\",\"name\":\"_globalExitRootManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_polygonRollupManager\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_gasTokenMetadata\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_bridgeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_sovereignWETHAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_sovereignWETHAddressIsNotMintable\",\"type\":\"bool\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"contractIBasePolygonZkEVMGlobalExitRoot\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"leafIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"sourceBridgeNetwork\",\"type\":\"uint32\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"legacyTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"migrateLegacyToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"polygonRollupManager\",\"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\":\"address\",\"name\":\"sovereignTokenAddress\",\"type\":\"address\"}],\"name\":\"removeLegacySovereignTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridgeManager\",\"type\":\"address\"}],\"name\":\"setBridgeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"originNetworks\",\"type\":\"uint32[]\"},{\"internalType\":\"address[]\",\"name\":\"originTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"sovereignTokenAddresses\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"isNotMintable\",\"type\":\"bool[]\"}],\"name\":\"setMultipleSovereignTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sovereignTokenAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isNotMintable\",\"type\":\"bool\"}],\"name\":\"setSovereignTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sovereignWETHTokenAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isNotMintable\",\"type\":\"bool\"}],\"name\":\"setSovereignWETHAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"wrappedAddress\",\"type\":\"address\"}],\"name\":\"wrappedAddressIsNotMintable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isNotMintable\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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: "0x608060405234801562000010575f80fd5b506200001b6200002b565b620000256200002b565b620000ea565b5f54610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff9081161015620000e8575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b615fc380620000f85f395ff3fe6080604052600436106101e4575f3560e01c80638ed7e3f2116101075780638ed7e3f2146104ba5780639e76158f146104d9578063aaa13cc2146104f8578063b42f6b3a14610517578063b458696214610536578063b8b284d014610555578063bab161bf14610574578063be5831c714610595578063bf130d7f146105b8578063c00f14ab146105d7578063c0f49163146105f6578063cc46163214610624578063ccaa2d1114610643578063cd58657914610662578063d02103ca14610675578063dbc1697614610246578063eabd372a1461069b578063ee25560b146106ba578063f5efcd79146106e5578063f811bff714610704578063fb57083414610723575f80fd5b806314cc01a0146101e857806315064c961461021d5780632072f6c51461024657806322e95f2c1461025c578063240ff3781461027b57806327aef4e81461028e5780632dfdf0b5146102af578063318aee3d146102d25780633c351e10146103395780633cbc795b146103585780633e197043146103905780634b2f336d146103af57806357cfbee3146103ce5780635ca1e165146103ed5780637843298b1461040157806379e2cf971461042057806381b1c1741461043457806383c43a551461046857806383f244031461047c5780638c0dd4701461049b575b5f80fd5b3480156101f3575f80fd5b5060a354610207906001600160a01b031681565b60405161021491906131d2565b60405180910390f35b348015610228575f80fd5b506068546102369060ff1681565b6040519015158152602001610214565b348015610251575f80fd5b5061025a610742565b005b348015610267575f80fd5b50610207610276366004613210565b61075b565b61025a610289366004613296565b6107a9565b348015610299575f80fd5b506102a2610819565b6040516102149190613357565b3480156102ba575f80fd5b506102c460535481565b604051908152602001610214565b3480156102dd575f80fd5b506103156102ec366004613370565b606b6020525f908152604090205463ffffffff811690600160201b90046001600160a01b031682565b6040805163ffffffff90931683526001600160a01b03909116602083015201610214565b348015610344575f80fd5b50606d54610207906001600160a01b031681565b348015610363575f80fd5b50606d5461037b90600160a01b900463ffffffff1681565b60405163ffffffff9091168152602001610214565b34801561039b575f80fd5b506102c46103aa366004613399565b6108a5565b3480156103ba575f80fd5b50606f54610207906001600160a01b031681565b3480156103d9575f80fd5b5061025a6103e836600461354b565b610931565b3480156103f8575f80fd5b506102c4610a27565b34801561040c575f80fd5b5061020761041b36600461364a565b610b03565b34801561042b575f80fd5b5061025a610b2c565b34801561043f575f80fd5b5061020761044e366004613690565b606a6020525f90815260409020546001600160a01b031681565b348015610473575f80fd5b506102a2610b4f565b348015610487575f80fd5b506102c46104963660046136b8565b610b6e565b3480156104a6575f80fd5b5061025a6104b5366004613767565b610c43565b3480156104c5575f80fd5b50606c54610207906001600160a01b031681565b3480156104e4575f80fd5b5061025a6104f3366004613830565b610f29565b348015610503575f80fd5b5061020761051236600461385a565b611061565b348015610522575f80fd5b5061025a6105313660046138ef565b611161565b348015610541575f80fd5b5061025a610550366004613370565b61119e565b348015610560575f80fd5b5061025a61056f366004613946565b6112ff565b34801561057f575f80fd5b5060685461037b90610100900463ffffffff1681565b3480156105a0575f80fd5b5060685461037b90600160c81b900463ffffffff1681565b3480156105c3575f80fd5b5061025a6105d23660046139c3565b611378565b3480156105e2575f80fd5b506102a26105f1366004613370565b611442565b348015610601575f80fd5b50610236610610366004613370565b60a26020525f908152604090205460ff1681565b34801561062f575f80fd5b5061023661063e3660046139ef565b611487565b34801561064e575f80fd5b5061025a61065d366004613a20565b61150e565b61025a610670366004613b03565b6118f2565b348015610680575f80fd5b5060685461020790600160281b90046001600160a01b031681565b3480156106a6575f80fd5b5061025a6106b5366004613370565b611c92565b3480156106c5575f80fd5b506102c46106d4366004613690565b60696020525f908152604090205481565b3480156106f0575f80fd5b5061025a6106ff366004613a20565b611d3b565b34801561070f575f80fd5b5061025a61071e366004613b92565b611f81565b34801561072e575f80fd5b5061023661073d366004613c21565b612015565b604051631bb787f360e11b815260040160405180910390fd5b5f606a5f8484604051602001610772929190613c66565b60408051601f198184030181529181528151602092830120835290820192909252015f20546001600160a01b031690505b92915050565b60685460ff16156107cd57604051630bc011ff60e21b815260040160405180910390fd5b34158015906107e65750606f546001600160a01b031615155b15610804576040516301bd897160e61b815260040160405180910390fd5b61081285853486868661202c565b5050505050565b606e805461082690613c90565b80601f016020809104026020016040519081016040528092919081815260200182805461085290613c90565b801561089d5780601f106108745761010080835404028352916020019161089d565b820191905f5260205f20905b81548152906001019060200180831161088057829003601f168201915b505050505081565b6040516001600160f81b031960f889901b1660208201526001600160e01b031960e088811b821660218401526001600160601b0319606089811b821660258601529188901b909216603984015285901b16603d82015260518101839052607181018290525f90609101604051602081830303815290604052805190602001209050979650505050505050565b60a3546001600160a01b0316331461095c576040516357b738d160e11b815260040160405180910390fd5b8251845114158061096f57508151845114155b8061097c57508051845114155b1561099a5760405163434f49f560e11b815260040160405180910390fd5b5f5b825181101561081257610a158582815181106109ba576109ba613cc8565b60200260200101518583815181106109d4576109d4613cc8565b60200260200101518584815181106109ee576109ee613cc8565b6020026020010151858581518110610a0857610a08613cc8565b60200260200101516120f6565b80610a1f81613cf0565b91505061099c565b6053545f90819081805b6020811015610afa578083901c600116600103610a8e5760338160208110610a5b57610a5b613cc8565b01546040805160208101929092528101859052606001604051602081830303815290604052805190602001209350610abb565b60408051602081018690529081018390526060016040516020818303038152906040528051906020012093505b60408051602081018490529081018390526060016040516020818303038152906040528051906020012091508080610af290613cf0565b915050610a31565b50919392505050565b5f610b248484610b12856122a6565b610b1b86612361565b61051287612415565b949350505050565b605354606854600160c81b900463ffffffff161015610b4d57610b4d6124c9565b565b60405180611ba00160405280611b668152602001614428611b66913981565b5f83815b6020811015610c3a57600163ffffffff8516821c81169003610bdd57848160208110610ba057610ba0613cc8565b602002013582604051602001610bc0929190918252602082015260400190565b604051602081830303815290604052805190602001209150610c28565b81858260208110610bf057610bf0613cc8565b6020020135604051602001610c0f929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b80610c3281613cf0565b915050610b72565b50949350505050565b5f54610100900460ff1615808015610c6157505f54600160ff909116105b80610c815750610c7030612557565b158015610c8157505f5460ff166001145b610ca65760405162461bcd60e51b8152600401610c9d90613d08565b60405180910390fd5b5f805460ff191660011790558015610cc7575f805461ff0019166101001790555b60688054610100600160c81b03191661010063ffffffff8d1602600160281b600160c81b03191617600160281b6001600160a01b038a81169190910291909117909155606c80546001600160a01b03199081168984161790915560a380549091168683161790558916610d955763ffffffff881615610d5957604051630d43a60960e11b815260040160405180910390fd5b6001600160a01b038316151580610d7257506001821515145b15610d9057604051630e6e237560e11b815260040160405180910390fd5b610ed0565b606d805463ffffffff8a16600160a01b026001600160c01b03199091166001600160a01b038c1617179055606e610dcc8682613d9b565b506001600160a01b038316610e9857811515600103610dfe57604051630e6e237560e11b815260040160405180910390fd5b610e735f801b6012604051602001610e5f91906060808252600d908201526c2bb930b83832b21022ba3432b960991b608082015260a060208201819052600490820152630ae8aa8960e31b60c082015260ff91909116604082015260e00190565b604051602081830303815290604052612566565b606f80546001600160a01b0319166001600160a01b0392909216919091179055610ed0565b606f80546001600160a01b0319166001600160a01b0385169081179091555f90815260a260205260409020805460ff19168315151790555b610ed86125e0565b8015610f1d575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b6001600160a01b038083165f908152606b602090815260409182902082518084019093525463ffffffff81168352600160201b900490921691810182905290610f855760405163828d566360e01b815260040160405180910390fd5b5f606a5f835f01518460200151604051602001610fa3929190613c66565b60408051601f198184030181529181528151602092830120835290820192909252015f20546001600160a01b03908116915084168103610ff65760405163e273c4a160e01b815260040160405180910390fd5b611000848461260e565b61100b81338561269e565b604080513381526001600160a01b0386811660208301528316818301526060810185905290517fb7f8fd4d1faf9b2929dc269f59c53e3a2bccc44e9950f33a568fcbcb37eb69a99181900360800190a150505050565b5f808686604051602001611076929190613c66565b6040516020818303038152906040528051906020012090505f60ff60f81b308360405180611ba00160405280611b668152602001614428611b6691398989896040516020016110c793929190613e56565b60408051601f19818403018152908290526110e59291602001613e8e565b6040516020818303038152906040528051906020012060405160200161113d94939291906001600160f81b031994909416845260609290921b6001600160601b03191660018401526015830152603582015260550190565b60408051808303601f19018152919052805160209091012098975050505050505050565b60a3546001600160a01b0316331461118c576040516357b738d160e11b815260040160405180910390fd5b611198848484846120f6565b50505050565b60a3546001600160a01b031633146111c9576040516357b738d160e11b815260040160405180910390fd5b6001600160a01b038082165f908152606b6020908152604080832081518083018352905463ffffffff8116808352600160201b909104909516818401819052915190946112199390929101613c66565b60408051601f1981840301815291815281516020928301205f818152606a9093529120549091506001600160a01b0316158061126d57505f818152606a60205260409020546001600160a01b038481169116145b1561128b5760405163e0c897a760e01b815260040160405180910390fd5b6001600160a01b0383165f908152606b6020908152604080832080546001600160c01b031916905560a290915290819020805460ff19169055517fc2ae0bd0ec0fd0352bfe5bacac49637af342c1e40f1b80a7f74440dc7fe3f063906112f29085906131d2565b60405180910390a1505050565b60685460ff161561132357604051630bc011ff60e21b815260040160405180910390fd5b606f546001600160a01b031661134c5760405163dde3cda760e01b815260040160405180910390fd5b606f54611362906001600160a01b03168561260e565b61137086868686868661202c565b505050505050565b60a3546001600160a01b031633146113a3576040516357b738d160e11b815260040160405180910390fd5b606d546001600160a01b03166113cc57604051634cb4711360e11b815260040160405180910390fd5b606f80546001600160a01b0319166001600160a01b0384169081179091555f81815260a26020908152604091829020805460ff19168515159081179091558251938452908301527fc7318b7ed6ba4f2908a3de396d8ab49b1dadb55db5b55123247a401f29ff8d82910160405180910390a15050565b606061144d826122a6565b61145683612361565b61145f84612415565b60405160200161147193929190613e56565b6040516020818303038152906040529050919050565b6068545f908190610100900463ffffffff161580156114ac575063ffffffff83166001145b156114be575063ffffffff83166114e5565b6114d2600160201b63ffffffff8516613ebc565b6114e29063ffffffff8616613ed3565b90505b600881901c5f90815260696020526040902054600160ff9092169190911b908116149392505050565b60685460ff161561153257604051630bc011ff60e21b815260040160405180910390fd5b60685463ffffffff8681166101009092041614611562576040516302caf51760e11b815260040160405180910390fd5b6115958c8c8c8c8c6115905f8e8e8e8e8e8e8e604051611583929190613ee6565b60405180910390206108a5565b61272e565b6001600160a01b03861661167c57606f546001600160a01b0316611660575f6001600160a01b03851684825b6040519080825280601f01601f1916602001820160405280156115eb576020820181803683370190505b506040516115f99190613ef5565b5f6040518083038185875af1925050503d805f8114611633576040519150601f19603f3d011682016040523d82523d5f602084013e611638565b606091505b505090508061165a57604051630ce8f45160e31b815260040160405180910390fd5b506118a5565b606f54611677906001600160a01b0316858561269e565b6118a5565b606d546001600160a01b0387811691161480156116aa5750606d5463ffffffff888116600160a01b90920416145b156116c1575f6001600160a01b03851684826115c1565b60685463ffffffff6101009091048116908816036116ed576116776001600160a01b0387168585612887565b5f8787604051602001611701929190613c66565b60408051601f1981840301815291815281516020928301205f818152606a9093529120549091506001600160a01b031680611897575f6117768386868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061256692505050565b905061178381888861269e565b80606a5f8581526020019081526020015f205f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060405180604001604052808b63ffffffff1681526020018a6001600160a01b0316815250606b5f836001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015f6101000a81548163ffffffff021916908363ffffffff1602179055506020820151815f0160046101000a8154816001600160a01b0302191690836001600160a01b031602179055509050507f490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a398a8a838888604051611889959493929190613f38565b60405180910390a1506118a2565b6118a281878761269e565b50505b7f1df3f2a973a00d6635911755c260704e95e8a5876997546798770f76396fda4d8a888887876040516118dc959493929190613f70565b60405180910390a1505050505050505050505050565b60685460ff161561191657604051630bc011ff60e21b815260040160405180910390fd5b61191e6128dd565b60685463ffffffff61010090910481169088160361194f576040516302caf51760e11b815260040160405180910390fd5b5f806060876001600160a01b038816611a32578834146119825760405163b89240f560e01b815260040160405180910390fd5b606d54606e80546001600160a01b0383169650600160a01b90920463ffffffff169450906119af90613c90565b80601f01602080910402602001604051908101604052809291908181526020018280546119db90613c90565b8015611a265780601f106119fd57610100808354040283529160200191611a26565b820191905f5260205f20905b815481529060010190602001808311611a0957829003601f168201915b50505050509150611c09565b3415611a515760405163798ee6f160e01b815260040160405180910390fd5b606f546001600160a01b0390811690891603611a7657611a71888a61260e565b611c09565b6001600160a01b038089165f908152606b602090815260409182902082518084019093525463ffffffff81168352600160201b90049092169181018290529015611ad557611ac4898b61260e565b602081015181519095509350611bfc565b8515611ae757611ae7898b8989612936565b6040516370a0823160e01b81525f906001600160a01b038b16906370a0823190611b159030906004016131d2565b602060405180830381865afa158015611b30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b549190613fa2565b9050611b6b6001600160a01b038b1633308e612c71565b6040516370a0823160e01b81525f906001600160a01b038c16906370a0823190611b999030906004016131d2565b602060405180830381865afa158015611bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd89190613fa2565b9050611be48282613fb9565b6068548c9850610100900463ffffffff169650935050505b611c0589611442565b9250505b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b5f84868e8e8688605354604051611c48989796959493929190613fcc565b60405180910390a1611c6e611c695f85878f8f8789805190602001206108a5565b612ca9565b8615611c7c57611c7c6124c9565b50505050611c8960018055565b50505050505050565b60a3546001600160a01b03163314611cbd576040516357b738d160e11b815260040160405180910390fd5b6001600160a01b038116611ce457604051631bb787f360e11b815260040160405180910390fd5b60a380546001600160a01b0319166001600160a01b0383169081179091556040517f32cf74f8a6d5f88593984d2cd52be5592bfa6884f5896175801a5069ef09cd6791611d30916131d2565b60405180910390a150565b60685460ff1615611d5f57604051630bc011ff60e21b815260040160405180910390fd5b60685463ffffffff8681166101009092041614611d8f576040516302caf51760e11b815260040160405180910390fd5b611db18c8c8c8c8c61159060018e8e8e8e8e8e8e604051611583929190613ee6565b606f545f906001600160a01b0316611e6457846001600160a01b031684888a8686604051602401611de59493929190614036565b60408051601f198184030181529181526020820180516001600160e01b0316630c035af960e11b17905251611e1a9190613ef5565b5f6040518083038185875af1925050503d805f8114611e54576040519150601f19603f3d011682016040523d82523d5f602084013e611e59565b606091505b505080915050611f15565b606f54611e7b906001600160a01b0316868661269e565b846001600160a01b031687898585604051602401611e9c9493929190614036565b60408051601f198184030181529181526020820180516001600160e01b0316630c035af960e11b17905251611ed19190613ef5565b5f604051808303815f865af19150503d805f8114611f0a576040519150601f19603f3d011682016040523d82523d5f602084013e611f0f565b606091505b50909150505b80611f33576040516337e391c360e01b815260040160405180910390fd5b7f1df3f2a973a00d6635911755c260704e95e8a5876997546798770f76396fda4d8b89898888604051611f6a959493929190613f70565b60405180910390a150505050505050505050505050565b5f54610100900460ff1615808015611f9f57505f54600160ff909116105b80611fbf5750611fae30612557565b158015611fbf57505f5460ff166001145b611fdb5760405162461bcd60e51b8152600401610c9d90613d08565b5f805460ff191660011790558015611ffc575f805461ff0019166101001790555b60405163f57ac68360e01b815260040160405180910390fd5b5f81612022868686610b6e565b1495945050505050565b60685463ffffffff61010090910481169087160361205d576040516302caf51760e11b815260040160405180910390fd5b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b6001606860019054906101000a900463ffffffff163389898988886053546040516120b199989796959493929190614070565b60405180910390a16120e8611c696001606860019054906101000a900463ffffffff16338a8a8a8989604051611583929190613ee6565b8215611370576113706124c9565b6001600160a01b038316158061211357506001600160a01b038216155b156121315760405163f6b2911f60e01b815260040160405180910390fd5b60685463ffffffff6101009091048116908516036121625760405163658b23ad60e01b815260040160405180910390fd5b6001600160a01b038281165f908152606b6020526040902054600160201b900416156121a1576040516317abdeeb60e21b815260040160405180910390fd5b5f84846040516020016121b5929190613c66565b60408051808303601f1901815282825280516020918201205f818152606a835283812080546001600160a01b0319166001600160a01b038a8116918217909255868601865263ffffffff8c81168089528c8416878a01818152848752606b89528987209a518b54915194166001600160c01b031990911617600160201b93909516929092029390931790975560a2855291859020805460ff191689151590811790915585519182529381019590955292840192909252606083015291507fdbe8a5da6a7a916d9adfda9160167a0f8a3da415ee6610e810e753853597fce79060800160405180910390a15050505050565b60408051600481526024810182526020810180516001600160e01b03166306fdde0360e01b17905290516060915f9182916001600160a01b038616916122ec9190613ef5565b5f60405180830381855afa9150503d805f8114612324576040519150601f19603f3d011682016040523d82523d5f602084013e612329565b606091505b50915091508161235857604051806040016040528060078152602001664e4f5f4e414d4560c81b815250610b24565b610b2481612d91565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b17905290516060915f9182916001600160a01b038616916123a79190613ef5565b5f60405180830381855afa9150503d805f81146123df576040519150601f19603f3d011682016040523d82523d5f602084013e6123e4565b606091505b50915091508161235857604051806040016040528060098152602001681393d7d4d6535093d360ba1b815250610b24565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f91829182916001600160a01b0386169161245a9190613ef5565b5f60405180830381855afa9150503d805f8114612492576040519150601f19603f3d011682016040523d82523d5f602084013e612497565b606091505b50915091508180156124aa575080516020145b6124b5576012610b24565b80806020019051810190610b2491906140dc565b6053546068805463ffffffff909216600160c81b0263ffffffff60c81b1990921691909117908190556001600160a01b03600160281b909104166333d6247d612510610a27565b6040518263ffffffff1660e01b815260040161252e91815260200190565b5f604051808303815f87803b158015612545575f80fd5b505af1158015611198573d5f803e3d5ffd5b6001600160a01b03163b151590565b5f8060405180611ba00160405280611b668152602001614428611b66913983604051602001612596929190613e8e565b6040516020818303038152906040529050838151602083015ff591506001600160a01b0382166125d9576040516305f7d84960e51b815260040160405180910390fd5b5092915050565b5f54610100900460ff166126065760405162461bcd60e51b8152600401610c9d906140f7565b610b4d612f1a565b6001600160a01b0382165f90815260a2602052604090205460ff1615612647576126436001600160a01b038316333084612c71565b5050565b604051632770a7eb60e21b81526001600160a01b03831690639dc29fac906126759033908590600401614142565b5f604051808303815f87803b15801561268c575f80fd5b505af1158015611370573d5f803e3d5ffd5b6001600160a01b0383165f90815260a2602052604090205460ff16156126d7576126d26001600160a01b0384168383612887565b505050565b6040516340c10f1960e01b81526001600160a01b038416906340c10f19906127059085908590600401614142565b5f604051808303815f87803b15801561271c575f80fd5b505af1158015611c89573d5f803e3d5ffd5b606854604080516020808201879052818301869052825180830384018152606083019384905280519101206312bd9b1960e11b90925260648101919091525f91600160281b90046001600160a01b03169063257b3632906084016020604051808303815f875af11580156127a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127c89190613fa2565b9050805f036127e957604051622f6fad60e01b815260040160405180910390fd5b5f80600160401b87161561282857869150612806848a8489612015565b612823576040516338105f3b60e21b815260040160405180910390fd5b612872565b602087901c61283881600161415b565b915087925061285361284b868c86610b6e565b8a8389612015565b612870576040516338105f3b60e21b815260040160405180910390fd5b505b61287c8282612f40565b505050505050505050565b6126d28363a9059cbb60e01b84846040516024016128a6929190614142565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612fe6565b60026001540361292f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c9d565b6002600155565b5f6129446004828486614178565b61294d9161419f565b9050632afa533160e01b6001600160e01b0319821601612adc575f80808080808061297b896004818d614178565b81019061298891906141cf565b9650965096509650965096509650336001600160a01b0316876001600160a01b0316146129c85760405163912ecce760e01b815260040160405180910390fd5b6001600160a01b03861630146129f15760405163750643af60e01b815260040160405180910390fd5b8a8514612a11576040516303fffc4b60e01b815260040160405180910390fd5b604080516001600160a01b0389811660248301528881166044830152606482018890526084820187905260ff861660a483015260c4820185905260e48083018590528351808403909101815261010490920183526020820180516001600160e01b031663d505accf60e01b1790529151918e1691612a8f9190613ef5565b5f604051808303815f865af19150503d805f8114612ac8576040519150601f19603f3d011682016040523d82523d5f602084013e612acd565b606091505b50505050505050505050610812565b6001600160e01b031981166323f2ebc360e21b14612b0d57604051637141605d60e11b815260040160405180910390fd5b5f80808080808080612b228a6004818e614178565b810190612b2f919061421e565b97509750975097509750975097509750336001600160a01b0316886001600160a01b031614612b715760405163912ecce760e01b815260040160405180910390fd5b6001600160a01b0387163014612b9a5760405163750643af60e01b815260040160405180910390fd5b604080516001600160a01b038a811660248301528981166044830152606482018990526084820188905286151560a483015260ff861660c483015260e482018590526101048083018590528351808403909101815261012490920183526020820180516001600160e01b03166323f2ebc360e21b1790529151918f1691612c219190613ef5565b5f604051808303815f865af19150503d805f8114612c5a576040519150601f19603f3d011682016040523d82523d5f602084013e612c5f565b606091505b50505050505050505050505050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526111989085906323b872dd60e01b906084016128a6565b806001612cb86020600261437c565b612cc29190613fb9565b60535410612ce3576040516377ae67b360e11b815260040160405180910390fd5b5f60535f8154612cf290613cf0565b918290555090505f5b6020811015612d82578082901c600116600103612d2e578260338260208110612d2657612d26613cc8565b015550505050565b60338160208110612d4157612d41613cc8565b015460408051602081019290925281018490526060016040516020818303038152906040528051906020012092508080612d7a90613cf0565b915050612cfb565b506126d2614387565b60018055565b60606040825110612db057818060200190518101906107a3919061439b565b8151602003612ee7575f5b602081108015612dea5750828181518110612dd857612dd8613cc8565b01602001516001600160f81b03191615155b15612e015780612df981613cf0565b915050612dbb565b805f03612e385750506040805180820190915260128152714e4f545f56414c49445f454e434f44494e4760701b6020820152919050565b5f816001600160401b03811115612e5157612e51613413565b6040519080825280601f01601f191660200182016040528015612e7b576020820181803683370190505b5090505f5b82811015612edf57848181518110612e9a57612e9a613cc8565b602001015160f81c60f81b828281518110612eb757612eb7613cc8565b60200101906001600160f81b03191690815f1a90535080612ed781613cf0565b915050612e80565b509392505050565b50506040805180820190915260128152714e4f545f56414c49445f454e434f44494e4760701b602082015290565b919050565b5f54610100900460ff16612d8b5760405162461bcd60e51b8152600401610c9d906140f7565b6068545f90610100900463ffffffff16158015612f63575063ffffffff82166001145b15612f75575063ffffffff8216612f9c565b612f89600160201b63ffffffff8416613ebc565b612f999063ffffffff8516613ed3565b90505b600881901c5f8181526069602052604081208054600160ff861690811b91821892839055929091908183169003611c8957604051630c8d9eab60e31b815260040160405180910390fd5b5f61303a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166130b79092919063ffffffff16565b8051909150156126d25780806020019051810190613058919061440c565b6126d25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c9d565b6060610b2484845f85855f80866001600160a01b031685876040516130dc9190613ef5565b5f6040518083038185875af1925050503d805f8114613116576040519150601f19603f3d011682016040523d82523d5f602084013e61311b565b606091505b509150915061312c87838387613137565b979650505050505050565b606083156131a35782515f0361319c5761315085612557565b61319c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c9d565b5081610b24565b610b2483838151156131b85781518083602001fd5b8060405162461bcd60e51b8152600401610c9d9190613357565b6001600160a01b0391909116815260200190565b803563ffffffff81168114612f15575f80fd5b6001600160a01b038116811461320d575f80fd5b50565b5f8060408385031215613221575f80fd5b61322a836131e6565b9150602083013561323a816131f9565b809150509250929050565b801515811461320d575f80fd5b5f8083601f840112613262575f80fd5b5081356001600160401b03811115613278575f80fd5b60208301915083602082850101111561328f575f80fd5b9250929050565b5f805f805f608086880312156132aa575f80fd5b6132b3866131e6565b945060208601356132c3816131f9565b935060408601356132d381613245565b925060608601356001600160401b038111156132ed575f80fd5b6132f988828901613252565b969995985093965092949392505050565b5f5b8381101561332457818101518382015260200161330c565b50505f910152565b5f815180845261334381602086016020860161330a565b601f01601f19169290920160200192915050565b602081525f613369602083018461332c565b9392505050565b5f60208284031215613380575f80fd5b8135613369816131f9565b60ff8116811461320d575f80fd5b5f805f805f805f60e0888a0312156133af575f80fd5b87356133ba8161338b565b96506133c8602089016131e6565b955060408801356133d8816131f9565b94506133e6606089016131e6565b935060808801356133f6816131f9565b9699959850939692959460a0840135945060c09093013592915050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561344f5761344f613413565b604052919050565b5f6001600160401b0382111561346f5761346f613413565b5060051b60200190565b5f82601f830112613488575f80fd5b8135602061349d61349883613457565b613427565b82815260059290921b840181019181810190868411156134bb575f80fd5b8286015b848110156134df5780356134d2816131f9565b83529183019183016134bf565b509695505050505050565b5f82601f8301126134f9575f80fd5b8135602061350961349883613457565b82815260059290921b84018101918181019086841115613527575f80fd5b8286015b848110156134df57803561353e81613245565b835291830191830161352b565b5f805f806080858703121561355e575f80fd5b84356001600160401b0380821115613574575f80fd5b818701915087601f830112613587575f80fd5b8135602061359761349883613457565b82815260059290921b8401810191818101908b8411156135b5575f80fd5b948201945b838610156135da576135cb866131e6565b825294820194908201906135ba565b985050880135925050808211156135ef575f80fd5b6135fb88838901613479565b94506040870135915080821115613610575f80fd5b61361c88838901613479565b93506060870135915080821115613631575f80fd5b5061363e878288016134ea565b91505092959194509250565b5f805f6060848603121561365c575f80fd5b613665846131e6565b92506020840135613675816131f9565b91506040840135613685816131f9565b809150509250925092565b5f602082840312156136a0575f80fd5b5035919050565b8061040081018310156107a3575f80fd5b5f805f61044084860312156136cb575f80fd5b833592506136dc85602086016136a7565b91506136eb61042085016131e6565b90509250925092565b5f6001600160401b0382111561370c5761370c613413565b50601f01601f191660200190565b5f82601f830112613729575f80fd5b8135613737613498826136f4565b81815284602083860101111561374b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f805f805f6101208a8c031215613780575f80fd5b6137898a6131e6565b985060208a0135613799816131f9565b97506137a760408b016131e6565b965060608a01356137b7816131f9565b955060808a01356137c7816131f9565b945060a08a01356001600160401b038111156137e1575f80fd5b6137ed8c828d0161371a565b94505060c08a01356137fe816131f9565b925060e08a013561380e816131f9565b91506101008a013561381f81613245565b809150509295985092959850929598565b5f8060408385031215613841575f80fd5b823561384c816131f9565b946020939093013593505050565b5f805f805f60a0868803121561386e575f80fd5b613877866131e6565b94506020860135613887816131f9565b935060408601356001600160401b03808211156138a2575f80fd5b6138ae89838a0161371a565b945060608801359150808211156138c3575f80fd5b506138d08882890161371a565b92505060808601356138e18161338b565b809150509295509295909350565b5f805f8060808587031215613902575f80fd5b61390b856131e6565b9350602085013561391b816131f9565b9250604085013561392b816131f9565b9150606085013561393b81613245565b939692955090935050565b5f805f805f8060a0878903121561395b575f80fd5b613964876131e6565b95506020870135613974816131f9565b945060408701359350606087013561398b81613245565b925060808701356001600160401b038111156139a5575f80fd5b6139b189828a01613252565b979a9699509497509295939492505050565b5f80604083850312156139d4575f80fd5b82356139df816131f9565b9150602083013561323a81613245565b5f8060408385031215613a00575f80fd5b613a09836131e6565b9150613a17602084016131e6565b90509250929050565b5f805f805f805f805f805f806109208d8f031215613a3c575f80fd5b613a468e8e6136a7565b9b50613a568e6104008f016136a7565b9a506108008d013599506108208d013598506108408d01359750613a7d6108608e016131e6565b9650613a8d6108808e01356131f9565b6108808d01359550613aa26108a08e016131e6565b9450613ab26108c08e01356131f9565b6108c08d013593506108e08d013592506001600160401b036109008e01351115613ada575f80fd5b613aeb8e6109008f01358f01613252565b81935080925050509295989b509295989b509295989b565b5f805f805f805f60c0888a031215613b19575f80fd5b613b22886131e6565b96506020880135613b32816131f9565b9550604088013594506060880135613b49816131f9565b93506080880135613b5981613245565b925060a08801356001600160401b03811115613b73575f80fd5b613b7f8a828b01613252565b989b979a50959850939692959293505050565b5f805f805f8060c08789031215613ba7575f80fd5b613bb0876131e6565b95506020870135613bc0816131f9565b9450613bce604088016131e6565b93506060870135613bde816131f9565b92506080870135613bee816131f9565b915060a08701356001600160401b03811115613c08575f80fd5b613c1489828a0161371a565b9150509295509295509295565b5f805f806104608587031215613c35575f80fd5b84359350613c4686602087016136a7565b9250613c5561042086016131e6565b939692955092936104400135925050565b60e09290921b6001600160e01b031916825260601b6001600160601b031916600482015260180190565b600181811c90821680613ca457607f821691505b602082108103613cc257634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201613d0157613d01613cdc565b5060010190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b601f8211156126d2575f81815260208120601f850160051c81016020861015613d7c5750805b601f850160051c820191505b8181101561137057828155600101613d88565b81516001600160401b03811115613db457613db4613413565b613dc881613dc28454613c90565b84613d56565b602080601f831160018114613dfb575f8415613de45750858301515b5f19600386901b1c1916600185901b178555611370565b5f85815260208120601f198616915b82811015613e2957888601518255948401946001909101908401613e0a565b5085821015613e4657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b606081525f613e68606083018661332c565b8281036020840152613e7a818661332c565b91505060ff83166040830152949350505050565b5f8351613e9f81846020880161330a565b835190830190613eb381836020880161330a565b01949350505050565b80820281158282048414176107a3576107a3613cdc565b808201808211156107a3576107a3613cdc565b818382375f9101908152919050565b5f8251613f0681846020870161330a565b9190910192915050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b63ffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f9061312c9083018486613f10565b94855263ffffffff9390931660208501526001600160a01b039182166040850152166060830152608082015260a00190565b5f60208284031215613fb2575f80fd5b5051919050565b818103818111156107a3576107a3613cdc565b60ff8916815263ffffffff88811660208301526001600160a01b03888116604084015287821660608401528616608083015260a0820185905261010060c083018190525f9161401d8483018761332c565b925080851660e085015250509998505050505050505050565b6001600160a01b038516815263ffffffff841660208201526060604082018190525f906140669083018486613f10565b9695505050505050565b60ff8a16815263ffffffff89811660208301526001600160a01b03898116604084015288821660608401528716608083015260a0820186905261010060c083018190525f916140c28483018789613f10565b925080851660e085015250509a9950505050505050505050565b5f602082840312156140ec575f80fd5b81516133698161338b565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b03929092168252602082015260400190565b63ffffffff8181168382160190808211156125d9576125d9613cdc565b5f8085851115614186575f80fd5b83861115614192575f80fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156141c75780818660040360031b1b83161692505b505092915050565b5f805f805f805f60e0888a0312156141e5575f80fd5b87356141f0816131f9565b96506020880135614200816131f9565b9550604088013594506060880135935060808801356133f68161338b565b5f805f805f805f80610100898b031215614236575f80fd5b8835614241816131f9565b97506020890135614251816131f9565b96506040890135955060608901359450608089013561426f81613245565b935060a089013561427f8161338b565b979a969950949793969295929450505060c08201359160e0013590565b600181815b808511156142d657815f19048211156142bc576142bc613cdc565b808516156142c957918102915b93841c93908002906142a1565b509250929050565b5f826142ec575060016107a3565b816142f857505f6107a3565b816001811461430e576002811461431857614334565b60019150506107a3565b60ff84111561432957614329613cdc565b50506001821b6107a3565b5060208310610133831016604e8410600b8410161715614357575081810a6107a3565b614361838361429c565b805f190482111561437457614374613cdc565b029392505050565b5f61336983836142de565b634e487b7160e01b5f52600160045260245ffd5b5f602082840312156143ab575f80fd5b81516001600160401b038111156143c0575f80fd5b8201601f810184136143d0575f80fd5b80516143de613498826136f4565b8181528560208385010111156143f2575f80fd5b61440382602083016020860161330a565b95945050505050565b5f6020828403121561441c575f80fd5b81516133698161324556fe6101006040523480156200001257600080fd5b5060405162001b6638038062001b6683398101604081905262000035916200028d565b82826003620000458382620003a1565b506004620000548282620003a1565b50503360c0525060ff811660e052466080819052620000739062000080565b60a052506200046d915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000ad6200012e565b805160209182012060408051808201825260018152603160f81b90840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b6060600380546200013f9062000312565b80601f01602080910402602001604051908101604052809291908181526020018280546200016d9062000312565b8015620001be5780601f106200019257610100808354040283529160200191620001be565b820191906000526020600020905b815481529060010190602001808311620001a057829003601f168201915b5050505050905090565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f057600080fd5b81516001600160401b03808211156200020d576200020d620001c8565b604051601f8301601f19908116603f01168101908282118183101715620002385762000238620001c8565b816040528381526020925086838588010111156200025557600080fd5b600091505b838210156200027957858201830151818301840152908201906200025a565b600093810190920192909252949350505050565b600080600060608486031215620002a357600080fd5b83516001600160401b0380821115620002bb57600080fd5b620002c987838801620001de565b94506020860151915080821115620002e057600080fd5b50620002ef86828701620001de565b925050604084015160ff811681146200030757600080fd5b809150509250925092565b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620001c8565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516116aa620004bc6000396000610237015260008181610307015281816105c001526106a70152600061053a015260008181610379015261050401526116aa6000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063a457c2d71161008c578063d505accf11610066578063d505accf1461039b578063dd62ed3e146103ae578063ffa1ad74146103f457600080fd5b8063a457c2d71461034e578063a9059cbb14610361578063cd0d00961461037457600080fd5b806395d89b41116100bd57806395d89b41146102e75780639dc29fac146102ef578063a3c573eb1461030257600080fd5b806370a08231146102915780637ecebe00146102c757600080fd5b806330adf81f1161012f5780633644e515116101145780633644e51514610261578063395093511461026957806340c10f191461027c57600080fd5b806330adf81f14610209578063313ce5671461023057600080fd5b806318160ddd1161016057806318160ddd146101bd57806320606b70146101cf57806323b872dd146101f657600080fd5b806306fdde031461017c578063095ea7b31461019a575b600080fd5b610184610430565b60405161019191906113e4565b60405180910390f35b6101ad6101a8366004611479565b6104c2565b6040519015158152602001610191565b6002545b604051908152602001610191565b6101c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6101ad6102043660046114a3565b6104dc565b6101c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610191565b6101c1610500565b6101ad610277366004611479565b61055c565b61028f61028a366004611479565b6105a8565b005b6101c161029f3660046114df565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101c16102d53660046114df565b60056020526000908152604090205481565b610184610680565b61028f6102fd366004611479565b61068f565b6103297f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610191565b6101ad61035c366004611479565b61075e565b6101ad61036f366004611479565b61082f565b6101c17f000000000000000000000000000000000000000000000000000000000000000081565b61028f6103a9366004611501565b61083d565b6101c16103bc366004611574565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101846040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60606003805461043f906115a7565b80601f016020809104026020016040519081016040528092919081815260200182805461046b906115a7565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b6000336104d0818585610b73565b60019150505b92915050565b6000336104ea858285610d27565b6104f5858585610dfe565b506001949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000004614610537576105324661106d565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104d090829086906105a3908790611629565b610b73565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d4272696467650000000000000000000000000000000060648201526084015b60405180910390fd5b61067c8282611135565b5050565b60606004805461043f906115a7565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d427269646765000000000000000000000000000000006064820152608401610669565b61067c8282611228565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610669565b6104f58286868403610b73565b6000336104d0818585610dfe565b834211156108cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f546f6b656e577261707065643a3a7065726d69743a204578706972656420706560448201527f726d6974000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866109268361163c565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610991610500565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610ad057508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e577261707065643a3a7065726d69743a20496e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610669565b610b678a8a8a610b73565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610df85781811015610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610669565b610df88484848403610b73565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ea1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610df8565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611098610430565b8051602091820120604080518082018252600181527f310000000000000000000000000000000000000000000000000000000000000090840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff82166111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610669565b80600260008282546111c49190611629565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff82166112cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d1a565b600060208083528351808285015260005b81811015611411578581018301518582016040015282016113f5565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461147457600080fd5b919050565b6000806040838503121561148c57600080fd5b61149583611450565b946020939093013593505050565b6000806000606084860312156114b857600080fd5b6114c184611450565b92506114cf60208501611450565b9150604084013590509250925092565b6000602082840312156114f157600080fd5b6114fa82611450565b9392505050565b600080600080600080600060e0888a03121561151c57600080fd5b61152588611450565b965061153360208901611450565b95506040880135945060608801359350608088013560ff8116811461155757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561158757600080fd5b61159083611450565b915061159e60208401611450565b90509250929050565b600181811c908216806115bb57607f821691505b6020821081036115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156104d6576104d66115fa565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361166d5761166d6115fa565b506001019056fea26469706673582212208d88fee561cff7120d381c345cfc534cef8229a272dc5809d4bbb685ad67141164736f6c63430008110033a2646970667358221220a5d64501f6fec8003211019d4cad99636f119bd92a70e8827fad95b513cb971464736f6c63430008140033",
}
Bridgel2sovereignchainMetaData contains all meta data concerning the Bridgel2sovereignchain contract.
Functions ¶
This section is empty.
Types ¶
type Bridgel2sovereignchain ¶
type Bridgel2sovereignchain struct { Bridgel2sovereignchainCaller // Read-only binding to the contract Bridgel2sovereignchainTransactor // Write-only binding to the contract Bridgel2sovereignchainFilterer // Log filterer for contract events }
Bridgel2sovereignchain is an auto generated Go binding around an Ethereum contract.
func DeployBridgel2sovereignchain ¶
func DeployBridgel2sovereignchain(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Bridgel2sovereignchain, error)
DeployBridgel2sovereignchain deploys a new Ethereum contract, binding an instance of Bridgel2sovereignchain to it.
func NewBridgel2sovereignchain ¶
func NewBridgel2sovereignchain(address common.Address, backend bind.ContractBackend) (*Bridgel2sovereignchain, error)
NewBridgel2sovereignchain creates a new instance of Bridgel2sovereignchain, bound to a specific deployed contract.
type Bridgel2sovereignchainBridgeEvent ¶
type Bridgel2sovereignchainBridgeEvent 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 }
Bridgel2sovereignchainBridgeEvent represents a BridgeEvent event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainBridgeEventIterator ¶
type Bridgel2sovereignchainBridgeEventIterator struct { Event *Bridgel2sovereignchainBridgeEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainBridgeEventIterator is returned from FilterBridgeEvent and is used to iterate over the raw logs and unpacked data for BridgeEvent events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainBridgeEventIterator) Close ¶
func (it *Bridgel2sovereignchainBridgeEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainBridgeEventIterator) Error ¶
func (it *Bridgel2sovereignchainBridgeEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainBridgeEventIterator) Next ¶
func (it *Bridgel2sovereignchainBridgeEventIterator) 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 Bridgel2sovereignchainCaller ¶
type Bridgel2sovereignchainCaller struct {
// contains filtered or unexported fields
}
Bridgel2sovereignchainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgel2sovereignchainCaller ¶
func NewBridgel2sovereignchainCaller(address common.Address, caller bind.ContractCaller) (*Bridgel2sovereignchainCaller, error)
NewBridgel2sovereignchainCaller creates a new read-only instance of Bridgel2sovereignchain, bound to a specific deployed contract.
func (*Bridgel2sovereignchainCaller) ActivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) ActivateEmergencyState(opts *bind.CallOpts) error
ActivateEmergencyState is a free data retrieval call binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() pure returns()
func (*Bridgel2sovereignchainCaller) BASEINITBYTECODEWRAPPEDTOKEN ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) BASEINITBYTECODEWRAPPEDTOKEN(opts *bind.CallOpts) ([]byte, error)
BASEINITBYTECODEWRAPPEDTOKEN is a free data retrieval call binding the contract method 0x83c43a55.
Solidity: function BASE_INIT_BYTECODE_WRAPPED_TOKEN() view returns(bytes)
func (*Bridgel2sovereignchainCaller) BridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) BridgeManager(opts *bind.CallOpts) (common.Address, error)
BridgeManager is a free data retrieval call binding the contract method 0x14cc01a0.
Solidity: function bridgeManager() view returns(address)
func (*Bridgel2sovereignchainCaller) CalculateRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) CalculateRoot(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
func (*Bridgel2sovereignchainCaller) CalculateTokenWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) CalculateTokenWrapperAddress(opts *bind.CallOpts, originNetwork uint32, originTokenAddress common.Address, token common.Address) (common.Address, error)
CalculateTokenWrapperAddress is a free data retrieval call binding the contract method 0x7843298b.
Solidity: function calculateTokenWrapperAddress(uint32 originNetwork, address originTokenAddress, address token) view returns(address)
func (*Bridgel2sovereignchainCaller) ClaimedBitMap ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) DeactivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) DeactivateEmergencyState(opts *bind.CallOpts) error
DeactivateEmergencyState is a free data retrieval call binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() pure returns()
func (*Bridgel2sovereignchainCaller) DepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) GasTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenAddress(opts *bind.CallOpts) (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*Bridgel2sovereignchainCaller) GasTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenMetadata(opts *bind.CallOpts) ([]byte, error)
GasTokenMetadata is a free data retrieval call binding the contract method 0x27aef4e8.
Solidity: function gasTokenMetadata() view returns(bytes)
func (*Bridgel2sovereignchainCaller) GasTokenNetwork ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GasTokenNetwork(opts *bind.CallOpts) (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*Bridgel2sovereignchainCaller) GetLeafValue ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) GetRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*Bridgel2sovereignchainCaller) GetTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) GetTokenMetadata(opts *bind.CallOpts, token common.Address) ([]byte, error)
GetTokenMetadata is a free data retrieval call binding the contract method 0xc00f14ab.
Solidity: function getTokenMetadata(address token) view returns(bytes)
func (*Bridgel2sovereignchainCaller) GetTokenWrappedAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) GlobalExitRootManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) IsClaimed ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) IsClaimed(opts *bind.CallOpts, leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0xcc461632.
Solidity: function isClaimed(uint32 leafIndex, uint32 sourceBridgeNetwork) view returns(bool)
func (*Bridgel2sovereignchainCaller) IsEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) LastUpdatedDepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) NetworkID ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) PolygonRollupManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) PolygonRollupManager(opts *bind.CallOpts) (common.Address, error)
PolygonRollupManager is a free data retrieval call binding the contract method 0x8ed7e3f2.
Solidity: function polygonRollupManager() view returns(address)
func (*Bridgel2sovereignchainCaller) PrecalculatedWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) TokenInfoToWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) VerifyMerkleProof ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 (*Bridgel2sovereignchainCaller) WETHToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) WETHToken(opts *bind.CallOpts) (common.Address, error)
WETHToken is a free data retrieval call binding the contract method 0x4b2f336d.
Solidity: function WETHToken() view returns(address)
func (*Bridgel2sovereignchainCaller) WrappedAddressIsNotMintable ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) WrappedAddressIsNotMintable(opts *bind.CallOpts, wrappedAddress common.Address) (bool, error)
WrappedAddressIsNotMintable is a free data retrieval call binding the contract method 0xc0f49163.
Solidity: function wrappedAddressIsNotMintable(address wrappedAddress) view returns(bool isNotMintable)
func (*Bridgel2sovereignchainCaller) WrappedTokenToTokenInfo ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCaller) 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 Bridgel2sovereignchainCallerRaw ¶
type Bridgel2sovereignchainCallerRaw struct {
Contract *Bridgel2sovereignchainCaller // Generic read-only contract binding to access the raw methods on
}
Bridgel2sovereignchainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Bridgel2sovereignchainCallerRaw) Call ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerRaw) 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 Bridgel2sovereignchainCallerSession ¶
type Bridgel2sovereignchainCallerSession struct { Contract *Bridgel2sovereignchainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Bridgel2sovereignchainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Bridgel2sovereignchainCallerSession) ActivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) ActivateEmergencyState() error
ActivateEmergencyState is a free data retrieval call binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() pure returns()
func (*Bridgel2sovereignchainCallerSession) BASEINITBYTECODEWRAPPEDTOKEN ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) BASEINITBYTECODEWRAPPEDTOKEN() ([]byte, error)
BASEINITBYTECODEWRAPPEDTOKEN is a free data retrieval call binding the contract method 0x83c43a55.
Solidity: function BASE_INIT_BYTECODE_WRAPPED_TOKEN() view returns(bytes)
func (*Bridgel2sovereignchainCallerSession) BridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) BridgeManager() (common.Address, error)
BridgeManager is a free data retrieval call binding the contract method 0x14cc01a0.
Solidity: function bridgeManager() view returns(address)
func (*Bridgel2sovereignchainCallerSession) CalculateRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
func (*Bridgel2sovereignchainCallerSession) CalculateTokenWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) CalculateTokenWrapperAddress(originNetwork uint32, originTokenAddress common.Address, token common.Address) (common.Address, error)
CalculateTokenWrapperAddress is a free data retrieval call binding the contract method 0x7843298b.
Solidity: function calculateTokenWrapperAddress(uint32 originNetwork, address originTokenAddress, address token) view returns(address)
func (*Bridgel2sovereignchainCallerSession) ClaimedBitMap ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) DeactivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) DeactivateEmergencyState() error
DeactivateEmergencyState is a free data retrieval call binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() pure returns()
func (*Bridgel2sovereignchainCallerSession) DepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) DepositCount() (*big.Int, error)
DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.
Solidity: function depositCount() view returns(uint256)
func (*Bridgel2sovereignchainCallerSession) GasTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenAddress() (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*Bridgel2sovereignchainCallerSession) GasTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenMetadata() ([]byte, error)
GasTokenMetadata is a free data retrieval call binding the contract method 0x27aef4e8.
Solidity: function gasTokenMetadata() view returns(bytes)
func (*Bridgel2sovereignchainCallerSession) GasTokenNetwork ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GasTokenNetwork() (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*Bridgel2sovereignchainCallerSession) GetLeafValue ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) GetRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetRoot() ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*Bridgel2sovereignchainCallerSession) GetTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GetTokenMetadata(token common.Address) ([]byte, error)
GetTokenMetadata is a free data retrieval call binding the contract method 0xc00f14ab.
Solidity: function getTokenMetadata(address token) view returns(bytes)
func (*Bridgel2sovereignchainCallerSession) GetTokenWrappedAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) GlobalExitRootManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*Bridgel2sovereignchainCallerSession) IsClaimed ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) IsClaimed(leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0xcc461632.
Solidity: function isClaimed(uint32 leafIndex, uint32 sourceBridgeNetwork) view returns(bool)
func (*Bridgel2sovereignchainCallerSession) IsEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*Bridgel2sovereignchainCallerSession) LastUpdatedDepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) LastUpdatedDepositCount() (uint32, error)
LastUpdatedDepositCount is a free data retrieval call binding the contract method 0xbe5831c7.
Solidity: function lastUpdatedDepositCount() view returns(uint32)
func (*Bridgel2sovereignchainCallerSession) NetworkID ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) NetworkID() (uint32, error)
NetworkID is a free data retrieval call binding the contract method 0xbab161bf.
Solidity: function networkID() view returns(uint32)
func (*Bridgel2sovereignchainCallerSession) PolygonRollupManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) PolygonRollupManager() (common.Address, error)
PolygonRollupManager is a free data retrieval call binding the contract method 0x8ed7e3f2.
Solidity: function polygonRollupManager() view returns(address)
func (*Bridgel2sovereignchainCallerSession) PrecalculatedWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) TokenInfoToWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) VerifyMerkleProof ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 (*Bridgel2sovereignchainCallerSession) WETHToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) WETHToken() (common.Address, error)
WETHToken is a free data retrieval call binding the contract method 0x4b2f336d.
Solidity: function WETHToken() view returns(address)
func (*Bridgel2sovereignchainCallerSession) WrappedAddressIsNotMintable ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) WrappedAddressIsNotMintable(wrappedAddress common.Address) (bool, error)
WrappedAddressIsNotMintable is a free data retrieval call binding the contract method 0xc0f49163.
Solidity: function wrappedAddressIsNotMintable(address wrappedAddress) view returns(bool isNotMintable)
func (*Bridgel2sovereignchainCallerSession) WrappedTokenToTokenInfo ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainCallerSession) 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 Bridgel2sovereignchainClaimEvent ¶
type Bridgel2sovereignchainClaimEvent struct { GlobalIndex *big.Int OriginNetwork uint32 OriginAddress common.Address DestinationAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainClaimEvent represents a ClaimEvent event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainClaimEventIterator ¶
type Bridgel2sovereignchainClaimEventIterator struct { Event *Bridgel2sovereignchainClaimEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainClaimEventIterator is returned from FilterClaimEvent and is used to iterate over the raw logs and unpacked data for ClaimEvent events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainClaimEventIterator) Close ¶
func (it *Bridgel2sovereignchainClaimEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainClaimEventIterator) Error ¶
func (it *Bridgel2sovereignchainClaimEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainClaimEventIterator) Next ¶
func (it *Bridgel2sovereignchainClaimEventIterator) 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 Bridgel2sovereignchainEmergencyStateActivated ¶
type Bridgel2sovereignchainEmergencyStateActivated struct {
Raw types.Log // Blockchain specific contextual infos
}
Bridgel2sovereignchainEmergencyStateActivated represents a EmergencyStateActivated event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainEmergencyStateActivatedIterator ¶
type Bridgel2sovereignchainEmergencyStateActivatedIterator struct { Event *Bridgel2sovereignchainEmergencyStateActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainEmergencyStateActivatedIterator is returned from FilterEmergencyStateActivated and is used to iterate over the raw logs and unpacked data for EmergencyStateActivated events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainEmergencyStateActivatedIterator) Close ¶
func (it *Bridgel2sovereignchainEmergencyStateActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainEmergencyStateActivatedIterator) Error ¶
func (it *Bridgel2sovereignchainEmergencyStateActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainEmergencyStateActivatedIterator) Next ¶
func (it *Bridgel2sovereignchainEmergencyStateActivatedIterator) 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 Bridgel2sovereignchainEmergencyStateDeactivated ¶
type Bridgel2sovereignchainEmergencyStateDeactivated struct {
Raw types.Log // Blockchain specific contextual infos
}
Bridgel2sovereignchainEmergencyStateDeactivated represents a EmergencyStateDeactivated event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainEmergencyStateDeactivatedIterator ¶
type Bridgel2sovereignchainEmergencyStateDeactivatedIterator struct { Event *Bridgel2sovereignchainEmergencyStateDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainEmergencyStateDeactivatedIterator is returned from FilterEmergencyStateDeactivated and is used to iterate over the raw logs and unpacked data for EmergencyStateDeactivated events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainEmergencyStateDeactivatedIterator) Close ¶
func (it *Bridgel2sovereignchainEmergencyStateDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainEmergencyStateDeactivatedIterator) Error ¶
func (it *Bridgel2sovereignchainEmergencyStateDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainEmergencyStateDeactivatedIterator) Next ¶
func (it *Bridgel2sovereignchainEmergencyStateDeactivatedIterator) 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 Bridgel2sovereignchainFilterer ¶
type Bridgel2sovereignchainFilterer struct {
// contains filtered or unexported fields
}
Bridgel2sovereignchainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgel2sovereignchainFilterer ¶
func NewBridgel2sovereignchainFilterer(address common.Address, filterer bind.ContractFilterer) (*Bridgel2sovereignchainFilterer, error)
NewBridgel2sovereignchainFilterer creates a new log filterer instance of Bridgel2sovereignchain, bound to a specific deployed contract.
func (*Bridgel2sovereignchainFilterer) FilterBridgeEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterBridgeEvent(opts *bind.FilterOpts) (*Bridgel2sovereignchainBridgeEventIterator, 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 (*Bridgel2sovereignchainFilterer) FilterClaimEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterClaimEvent(opts *bind.FilterOpts) (*Bridgel2sovereignchainClaimEventIterator, error)
FilterClaimEvent is a free log retrieval operation binding the contract event 0x1df3f2a973a00d6635911755c260704e95e8a5876997546798770f76396fda4d.
Solidity: event ClaimEvent(uint256 globalIndex, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) FilterEmergencyStateActivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*Bridgel2sovereignchainEmergencyStateActivatedIterator, error)
FilterEmergencyStateActivated is a free log retrieval operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*Bridgel2sovereignchainFilterer) FilterEmergencyStateDeactivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*Bridgel2sovereignchainEmergencyStateDeactivatedIterator, error)
FilterEmergencyStateDeactivated is a free log retrieval operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*Bridgel2sovereignchainFilterer) FilterInitialized ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterInitialized(opts *bind.FilterOpts) (*Bridgel2sovereignchainInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*Bridgel2sovereignchainFilterer) FilterMigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterMigrateLegacyToken(opts *bind.FilterOpts) (*Bridgel2sovereignchainMigrateLegacyTokenIterator, error)
FilterMigrateLegacyToken is a free log retrieval operation binding the contract event 0xb7f8fd4d1faf9b2929dc269f59c53e3a2bccc44e9950f33a568fcbcb37eb69a9.
Solidity: event MigrateLegacyToken(address sender, address legacyTokenAddress, address updatedTokenAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) FilterNewWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterNewWrappedToken(opts *bind.FilterOpts) (*Bridgel2sovereignchainNewWrappedTokenIterator, 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 (*Bridgel2sovereignchainFilterer) FilterRemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterRemoveLegacySovereignTokenAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator, error)
FilterRemoveLegacySovereignTokenAddress is a free log retrieval operation binding the contract event 0xc2ae0bd0ec0fd0352bfe5bacac49637af342c1e40f1b80a7f74440dc7fe3f063.
Solidity: event RemoveLegacySovereignTokenAddress(address sovereignTokenAddress)
func (*Bridgel2sovereignchainFilterer) FilterSetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetBridgeManager(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetBridgeManagerIterator, error)
FilterSetBridgeManager is a free log retrieval operation binding the contract event 0x32cf74f8a6d5f88593984d2cd52be5592bfa6884f5896175801a5069ef09cd67.
Solidity: event SetBridgeManager(address bridgeManager)
func (*Bridgel2sovereignchainFilterer) FilterSetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetSovereignTokenAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetSovereignTokenAddressIterator, error)
FilterSetSovereignTokenAddress is a free log retrieval operation binding the contract event 0xdbe8a5da6a7a916d9adfda9160167a0f8a3da415ee6610e810e753853597fce7.
Solidity: event SetSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable)
func (*Bridgel2sovereignchainFilterer) FilterSetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) FilterSetSovereignWETHAddress(opts *bind.FilterOpts) (*Bridgel2sovereignchainSetSovereignWETHAddressIterator, error)
FilterSetSovereignWETHAddress is a free log retrieval operation binding the contract event 0xc7318b7ed6ba4f2908a3de396d8ab49b1dadb55db5b55123247a401f29ff8d82.
Solidity: event SetSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable)
func (*Bridgel2sovereignchainFilterer) ParseBridgeEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseBridgeEvent(log types.Log) (*Bridgel2sovereignchainBridgeEvent, 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 (*Bridgel2sovereignchainFilterer) ParseClaimEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseClaimEvent(log types.Log) (*Bridgel2sovereignchainClaimEvent, error)
ParseClaimEvent is a log parse operation binding the contract event 0x1df3f2a973a00d6635911755c260704e95e8a5876997546798770f76396fda4d.
Solidity: event ClaimEvent(uint256 globalIndex, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) ParseEmergencyStateActivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseEmergencyStateActivated(log types.Log) (*Bridgel2sovereignchainEmergencyStateActivated, error)
ParseEmergencyStateActivated is a log parse operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*Bridgel2sovereignchainFilterer) ParseEmergencyStateDeactivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseEmergencyStateDeactivated(log types.Log) (*Bridgel2sovereignchainEmergencyStateDeactivated, error)
ParseEmergencyStateDeactivated is a log parse operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*Bridgel2sovereignchainFilterer) ParseInitialized ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseInitialized(log types.Log) (*Bridgel2sovereignchainInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*Bridgel2sovereignchainFilterer) ParseMigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseMigrateLegacyToken(log types.Log) (*Bridgel2sovereignchainMigrateLegacyToken, error)
ParseMigrateLegacyToken is a log parse operation binding the contract event 0xb7f8fd4d1faf9b2929dc269f59c53e3a2bccc44e9950f33a568fcbcb37eb69a9.
Solidity: event MigrateLegacyToken(address sender, address legacyTokenAddress, address updatedTokenAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) ParseNewWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseNewWrappedToken(log types.Log) (*Bridgel2sovereignchainNewWrappedToken, error)
ParseNewWrappedToken is a log parse operation binding the contract event 0x490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a39.
Solidity: event NewWrappedToken(uint32 originNetwork, address originTokenAddress, address wrappedTokenAddress, bytes metadata)
func (*Bridgel2sovereignchainFilterer) ParseRemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseRemoveLegacySovereignTokenAddress(log types.Log) (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddress, error)
ParseRemoveLegacySovereignTokenAddress is a log parse operation binding the contract event 0xc2ae0bd0ec0fd0352bfe5bacac49637af342c1e40f1b80a7f74440dc7fe3f063.
Solidity: event RemoveLegacySovereignTokenAddress(address sovereignTokenAddress)
func (*Bridgel2sovereignchainFilterer) ParseSetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetBridgeManager(log types.Log) (*Bridgel2sovereignchainSetBridgeManager, error)
ParseSetBridgeManager is a log parse operation binding the contract event 0x32cf74f8a6d5f88593984d2cd52be5592bfa6884f5896175801a5069ef09cd67.
Solidity: event SetBridgeManager(address bridgeManager)
func (*Bridgel2sovereignchainFilterer) ParseSetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetSovereignTokenAddress(log types.Log) (*Bridgel2sovereignchainSetSovereignTokenAddress, error)
ParseSetSovereignTokenAddress is a log parse operation binding the contract event 0xdbe8a5da6a7a916d9adfda9160167a0f8a3da415ee6610e810e753853597fce7.
Solidity: event SetSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable)
func (*Bridgel2sovereignchainFilterer) ParseSetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) ParseSetSovereignWETHAddress(log types.Log) (*Bridgel2sovereignchainSetSovereignWETHAddress, error)
ParseSetSovereignWETHAddress is a log parse operation binding the contract event 0xc7318b7ed6ba4f2908a3de396d8ab49b1dadb55db5b55123247a401f29ff8d82.
Solidity: event SetSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable)
func (*Bridgel2sovereignchainFilterer) WatchBridgeEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchBridgeEvent(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainBridgeEvent) (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 (*Bridgel2sovereignchainFilterer) WatchClaimEvent ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchClaimEvent(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainClaimEvent) (event.Subscription, error)
WatchClaimEvent is a free log subscription operation binding the contract event 0x1df3f2a973a00d6635911755c260704e95e8a5876997546798770f76396fda4d.
Solidity: event ClaimEvent(uint256 globalIndex, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) WatchEmergencyStateActivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainEmergencyStateActivated) (event.Subscription, error)
WatchEmergencyStateActivated is a free log subscription operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*Bridgel2sovereignchainFilterer) WatchEmergencyStateDeactivated ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainEmergencyStateDeactivated) (event.Subscription, error)
WatchEmergencyStateDeactivated is a free log subscription operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*Bridgel2sovereignchainFilterer) WatchInitialized ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*Bridgel2sovereignchainFilterer) WatchMigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchMigrateLegacyToken(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainMigrateLegacyToken) (event.Subscription, error)
WatchMigrateLegacyToken is a free log subscription operation binding the contract event 0xb7f8fd4d1faf9b2929dc269f59c53e3a2bccc44e9950f33a568fcbcb37eb69a9.
Solidity: event MigrateLegacyToken(address sender, address legacyTokenAddress, address updatedTokenAddress, uint256 amount)
func (*Bridgel2sovereignchainFilterer) WatchNewWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchNewWrappedToken(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainNewWrappedToken) (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)
func (*Bridgel2sovereignchainFilterer) WatchRemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchRemoveLegacySovereignTokenAddress(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainRemoveLegacySovereignTokenAddress) (event.Subscription, error)
WatchRemoveLegacySovereignTokenAddress is a free log subscription operation binding the contract event 0xc2ae0bd0ec0fd0352bfe5bacac49637af342c1e40f1b80a7f74440dc7fe3f063.
Solidity: event RemoveLegacySovereignTokenAddress(address sovereignTokenAddress)
func (*Bridgel2sovereignchainFilterer) WatchSetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetBridgeManager(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainSetBridgeManager) (event.Subscription, error)
WatchSetBridgeManager is a free log subscription operation binding the contract event 0x32cf74f8a6d5f88593984d2cd52be5592bfa6884f5896175801a5069ef09cd67.
Solidity: event SetBridgeManager(address bridgeManager)
func (*Bridgel2sovereignchainFilterer) WatchSetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetSovereignTokenAddress(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainSetSovereignTokenAddress) (event.Subscription, error)
WatchSetSovereignTokenAddress is a free log subscription operation binding the contract event 0xdbe8a5da6a7a916d9adfda9160167a0f8a3da415ee6610e810e753853597fce7.
Solidity: event SetSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable)
func (*Bridgel2sovereignchainFilterer) WatchSetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainFilterer) WatchSetSovereignWETHAddress(opts *bind.WatchOpts, sink chan<- *Bridgel2sovereignchainSetSovereignWETHAddress) (event.Subscription, error)
WatchSetSovereignWETHAddress is a free log subscription operation binding the contract event 0xc7318b7ed6ba4f2908a3de396d8ab49b1dadb55db5b55123247a401f29ff8d82.
Solidity: event SetSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable)
type Bridgel2sovereignchainInitialized ¶
type Bridgel2sovereignchainInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainInitialized represents a Initialized event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainInitializedIterator ¶
type Bridgel2sovereignchainInitializedIterator struct { Event *Bridgel2sovereignchainInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainInitializedIterator) Close ¶
func (it *Bridgel2sovereignchainInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainInitializedIterator) Error ¶
func (it *Bridgel2sovereignchainInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainInitializedIterator) Next ¶
func (it *Bridgel2sovereignchainInitializedIterator) 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 Bridgel2sovereignchainMigrateLegacyToken ¶
type Bridgel2sovereignchainMigrateLegacyToken struct { Sender common.Address LegacyTokenAddress common.Address UpdatedTokenAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainMigrateLegacyToken represents a MigrateLegacyToken event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainMigrateLegacyTokenIterator ¶
type Bridgel2sovereignchainMigrateLegacyTokenIterator struct { Event *Bridgel2sovereignchainMigrateLegacyToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainMigrateLegacyTokenIterator is returned from FilterMigrateLegacyToken and is used to iterate over the raw logs and unpacked data for MigrateLegacyToken events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainMigrateLegacyTokenIterator) Close ¶
func (it *Bridgel2sovereignchainMigrateLegacyTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainMigrateLegacyTokenIterator) Error ¶
func (it *Bridgel2sovereignchainMigrateLegacyTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainMigrateLegacyTokenIterator) Next ¶
func (it *Bridgel2sovereignchainMigrateLegacyTokenIterator) 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 Bridgel2sovereignchainNewWrappedToken ¶
type Bridgel2sovereignchainNewWrappedToken struct { OriginNetwork uint32 OriginTokenAddress common.Address WrappedTokenAddress common.Address Metadata []byte Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainNewWrappedToken represents a NewWrappedToken event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainNewWrappedTokenIterator ¶
type Bridgel2sovereignchainNewWrappedTokenIterator struct { Event *Bridgel2sovereignchainNewWrappedToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainNewWrappedTokenIterator is returned from FilterNewWrappedToken and is used to iterate over the raw logs and unpacked data for NewWrappedToken events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainNewWrappedTokenIterator) Close ¶
func (it *Bridgel2sovereignchainNewWrappedTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainNewWrappedTokenIterator) Error ¶
func (it *Bridgel2sovereignchainNewWrappedTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainNewWrappedTokenIterator) Next ¶
func (it *Bridgel2sovereignchainNewWrappedTokenIterator) 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 Bridgel2sovereignchainRaw ¶
type Bridgel2sovereignchainRaw struct {
Contract *Bridgel2sovereignchain // Generic contract binding to access the raw methods on
}
Bridgel2sovereignchainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Bridgel2sovereignchainRaw) Call ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) 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 (*Bridgel2sovereignchainRaw) Transact ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Bridgel2sovereignchainRaw) Transfer ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainRaw) 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 Bridgel2sovereignchainRemoveLegacySovereignTokenAddress ¶
type Bridgel2sovereignchainRemoveLegacySovereignTokenAddress struct { SovereignTokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainRemoveLegacySovereignTokenAddress represents a RemoveLegacySovereignTokenAddress event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator ¶
type Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator struct { Event *Bridgel2sovereignchainRemoveLegacySovereignTokenAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator is returned from FilterRemoveLegacySovereignTokenAddress and is used to iterate over the raw logs and unpacked data for RemoveLegacySovereignTokenAddress events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) Close ¶
func (it *Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) Error ¶
func (it *Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) Next ¶
func (it *Bridgel2sovereignchainRemoveLegacySovereignTokenAddressIterator) 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 Bridgel2sovereignchainSession ¶
type Bridgel2sovereignchainSession struct { Contract *Bridgel2sovereignchain // 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 }
Bridgel2sovereignchainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Bridgel2sovereignchainSession) ActivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ActivateEmergencyState() error
ActivateEmergencyState is a free data retrieval call binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() pure returns()
func (*Bridgel2sovereignchainSession) BASEINITBYTECODEWRAPPEDTOKEN ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BASEINITBYTECODEWRAPPEDTOKEN() ([]byte, error)
BASEINITBYTECODEWRAPPEDTOKEN is a free data retrieval call binding the contract method 0x83c43a55.
Solidity: function BASE_INIT_BYTECODE_WRAPPED_TOKEN() view returns(bytes)
func (*Bridgel2sovereignchainSession) BridgeAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) BridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeManager() (common.Address, error)
BridgeManager is a free data retrieval call binding the contract method 0x14cc01a0.
Solidity: function bridgeManager() view returns(address)
func (*Bridgel2sovereignchainSession) BridgeMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) BridgeMessageWETH ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) BridgeMessageWETH(destinationNetwork uint32, destinationAddress common.Address, amountWETH *big.Int, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessageWETH is a paid mutator transaction binding the contract method 0xb8b284d0.
Solidity: function bridgeMessageWETH(uint32 destinationNetwork, address destinationAddress, uint256 amountWETH, bool forceUpdateGlobalExitRoot, bytes metadata) returns()
func (*Bridgel2sovereignchainSession) CalculateRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
func (*Bridgel2sovereignchainSession) CalculateTokenWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) CalculateTokenWrapperAddress(originNetwork uint32, originTokenAddress common.Address, token common.Address) (common.Address, error)
CalculateTokenWrapperAddress is a free data retrieval call binding the contract method 0x7843298b.
Solidity: function calculateTokenWrapperAddress(uint32 originNetwork, address originTokenAddress, address token) view returns(address)
func (*Bridgel2sovereignchainSession) ClaimAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainSession) ClaimMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainSession) ClaimedBitMap ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) DeactivateEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) DeactivateEmergencyState() error
DeactivateEmergencyState is a free data retrieval call binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() pure returns()
func (*Bridgel2sovereignchainSession) DepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) DepositCount() (*big.Int, error)
DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.
Solidity: function depositCount() view returns(uint256)
func (*Bridgel2sovereignchainSession) GasTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenAddress() (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*Bridgel2sovereignchainSession) GasTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenMetadata() ([]byte, error)
GasTokenMetadata is a free data retrieval call binding the contract method 0x27aef4e8.
Solidity: function gasTokenMetadata() view returns(bytes)
func (*Bridgel2sovereignchainSession) GasTokenNetwork ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GasTokenNetwork() (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*Bridgel2sovereignchainSession) GetLeafValue ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) GetRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetRoot() ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*Bridgel2sovereignchainSession) GetTokenMetadata ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GetTokenMetadata(token common.Address) ([]byte, error)
GetTokenMetadata is a free data retrieval call binding the contract method 0xc00f14ab.
Solidity: function getTokenMetadata(address token) view returns(bytes)
func (*Bridgel2sovereignchainSession) GetTokenWrappedAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) GlobalExitRootManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*Bridgel2sovereignchainSession) Initialize ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) Initialize(_networkID uint32, _gasTokenAddress common.Address, _gasTokenNetwork uint32, _globalExitRootManager common.Address, _polygonRollupManager common.Address, _gasTokenMetadata []byte, _bridgeManager common.Address, _sovereignWETHAddress common.Address, _sovereignWETHAddressIsNotMintable bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8c0dd470.
Solidity: function initialize(uint32 _networkID, address _gasTokenAddress, uint32 _gasTokenNetwork, address _globalExitRootManager, address _polygonRollupManager, bytes _gasTokenMetadata, address _bridgeManager, address _sovereignWETHAddress, bool _sovereignWETHAddressIsNotMintable) returns()
func (*Bridgel2sovereignchainSession) Initialize0 ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) Initialize0(arg0 uint32, arg1 common.Address, arg2 uint32, arg3 common.Address, arg4 common.Address, arg5 []byte) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xf811bff7.
Solidity: function initialize(uint32 , address , uint32 , address , address , bytes ) returns()
func (*Bridgel2sovereignchainSession) IsClaimed ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) IsClaimed(leafIndex uint32, sourceBridgeNetwork uint32) (bool, error)
IsClaimed is a free data retrieval call binding the contract method 0xcc461632.
Solidity: function isClaimed(uint32 leafIndex, uint32 sourceBridgeNetwork) view returns(bool)
func (*Bridgel2sovereignchainSession) IsEmergencyState ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*Bridgel2sovereignchainSession) LastUpdatedDepositCount ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) LastUpdatedDepositCount() (uint32, error)
LastUpdatedDepositCount is a free data retrieval call binding the contract method 0xbe5831c7.
Solidity: function lastUpdatedDepositCount() view returns(uint32)
func (*Bridgel2sovereignchainSession) MigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) MigrateLegacyToken(legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
MigrateLegacyToken is a paid mutator transaction binding the contract method 0x9e76158f.
Solidity: function migrateLegacyToken(address legacyTokenAddress, uint256 amount) returns()
func (*Bridgel2sovereignchainSession) NetworkID ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) NetworkID() (uint32, error)
NetworkID is a free data retrieval call binding the contract method 0xbab161bf.
Solidity: function networkID() view returns(uint32)
func (*Bridgel2sovereignchainSession) PolygonRollupManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) PolygonRollupManager() (common.Address, error)
PolygonRollupManager is a free data retrieval call binding the contract method 0x8ed7e3f2.
Solidity: function polygonRollupManager() view returns(address)
func (*Bridgel2sovereignchainSession) PrecalculatedWrapperAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) RemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) RemoveLegacySovereignTokenAddress(sovereignTokenAddress common.Address) (*types.Transaction, error)
RemoveLegacySovereignTokenAddress is a paid mutator transaction binding the contract method 0xb4586962.
Solidity: function removeLegacySovereignTokenAddress(address sovereignTokenAddress) returns()
func (*Bridgel2sovereignchainSession) SetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetBridgeManager(_bridgeManager common.Address) (*types.Transaction, error)
SetBridgeManager is a paid mutator transaction binding the contract method 0xeabd372a.
Solidity: function setBridgeManager(address _bridgeManager) returns()
func (*Bridgel2sovereignchainSession) SetMultipleSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetMultipleSovereignTokenAddress(originNetworks []uint32, originTokenAddresses []common.Address, sovereignTokenAddresses []common.Address, isNotMintable []bool) (*types.Transaction, error)
SetMultipleSovereignTokenAddress is a paid mutator transaction binding the contract method 0x57cfbee3.
Solidity: function setMultipleSovereignTokenAddress(uint32[] originNetworks, address[] originTokenAddresses, address[] sovereignTokenAddresses, bool[] isNotMintable) returns()
func (*Bridgel2sovereignchainSession) SetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetSovereignTokenAddress(originNetwork uint32, originTokenAddress common.Address, sovereignTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignTokenAddress is a paid mutator transaction binding the contract method 0xb42f6b3a.
Solidity: function setSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainSession) SetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) SetSovereignWETHAddress(sovereignWETHTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignWETHAddress is a paid mutator transaction binding the contract method 0xbf130d7f.
Solidity: function setSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainSession) TokenInfoToWrappedToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) UpdateGlobalExitRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) UpdateGlobalExitRoot() (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()
func (*Bridgel2sovereignchainSession) VerifyMerkleProof ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 (*Bridgel2sovereignchainSession) WETHToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) WETHToken() (common.Address, error)
WETHToken is a free data retrieval call binding the contract method 0x4b2f336d.
Solidity: function WETHToken() view returns(address)
func (*Bridgel2sovereignchainSession) WrappedAddressIsNotMintable ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) WrappedAddressIsNotMintable(wrappedAddress common.Address) (bool, error)
WrappedAddressIsNotMintable is a free data retrieval call binding the contract method 0xc0f49163.
Solidity: function wrappedAddressIsNotMintable(address wrappedAddress) view returns(bool isNotMintable)
func (*Bridgel2sovereignchainSession) WrappedTokenToTokenInfo ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainSession) 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 Bridgel2sovereignchainSetBridgeManager ¶
type Bridgel2sovereignchainSetBridgeManager struct { BridgeManager common.Address Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainSetBridgeManager represents a SetBridgeManager event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainSetBridgeManagerIterator ¶
type Bridgel2sovereignchainSetBridgeManagerIterator struct { Event *Bridgel2sovereignchainSetBridgeManager // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainSetBridgeManagerIterator is returned from FilterSetBridgeManager and is used to iterate over the raw logs and unpacked data for SetBridgeManager events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainSetBridgeManagerIterator) Close ¶
func (it *Bridgel2sovereignchainSetBridgeManagerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainSetBridgeManagerIterator) Error ¶
func (it *Bridgel2sovereignchainSetBridgeManagerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainSetBridgeManagerIterator) Next ¶
func (it *Bridgel2sovereignchainSetBridgeManagerIterator) 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 Bridgel2sovereignchainSetSovereignTokenAddress ¶
type Bridgel2sovereignchainSetSovereignTokenAddress struct { OriginNetwork uint32 OriginTokenAddress common.Address SovereignTokenAddress common.Address IsNotMintable bool Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainSetSovereignTokenAddress represents a SetSovereignTokenAddress event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainSetSovereignTokenAddressIterator ¶
type Bridgel2sovereignchainSetSovereignTokenAddressIterator struct { Event *Bridgel2sovereignchainSetSovereignTokenAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainSetSovereignTokenAddressIterator is returned from FilterSetSovereignTokenAddress and is used to iterate over the raw logs and unpacked data for SetSovereignTokenAddress events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainSetSovereignTokenAddressIterator) Close ¶
func (it *Bridgel2sovereignchainSetSovereignTokenAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainSetSovereignTokenAddressIterator) Error ¶
func (it *Bridgel2sovereignchainSetSovereignTokenAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainSetSovereignTokenAddressIterator) Next ¶
func (it *Bridgel2sovereignchainSetSovereignTokenAddressIterator) 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 Bridgel2sovereignchainSetSovereignWETHAddress ¶
type Bridgel2sovereignchainSetSovereignWETHAddress struct { SovereignWETHTokenAddress common.Address IsNotMintable bool Raw types.Log // Blockchain specific contextual infos }
Bridgel2sovereignchainSetSovereignWETHAddress represents a SetSovereignWETHAddress event raised by the Bridgel2sovereignchain contract.
type Bridgel2sovereignchainSetSovereignWETHAddressIterator ¶
type Bridgel2sovereignchainSetSovereignWETHAddressIterator struct { Event *Bridgel2sovereignchainSetSovereignWETHAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bridgel2sovereignchainSetSovereignWETHAddressIterator is returned from FilterSetSovereignWETHAddress and is used to iterate over the raw logs and unpacked data for SetSovereignWETHAddress events raised by the Bridgel2sovereignchain contract.
func (*Bridgel2sovereignchainSetSovereignWETHAddressIterator) Close ¶
func (it *Bridgel2sovereignchainSetSovereignWETHAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bridgel2sovereignchainSetSovereignWETHAddressIterator) Error ¶
func (it *Bridgel2sovereignchainSetSovereignWETHAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bridgel2sovereignchainSetSovereignWETHAddressIterator) Next ¶
func (it *Bridgel2sovereignchainSetSovereignWETHAddressIterator) 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 Bridgel2sovereignchainTransactor ¶
type Bridgel2sovereignchainTransactor struct {
// contains filtered or unexported fields
}
Bridgel2sovereignchainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgel2sovereignchainTransactor ¶
func NewBridgel2sovereignchainTransactor(address common.Address, transactor bind.ContractTransactor) (*Bridgel2sovereignchainTransactor, error)
NewBridgel2sovereignchainTransactor creates a new write-only instance of Bridgel2sovereignchain, bound to a specific deployed contract.
func (*Bridgel2sovereignchainTransactor) BridgeAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) 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 (*Bridgel2sovereignchainTransactor) BridgeMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) 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 (*Bridgel2sovereignchainTransactor) BridgeMessageWETH ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) BridgeMessageWETH(opts *bind.TransactOpts, destinationNetwork uint32, destinationAddress common.Address, amountWETH *big.Int, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessageWETH is a paid mutator transaction binding the contract method 0xb8b284d0.
Solidity: function bridgeMessageWETH(uint32 destinationNetwork, address destinationAddress, uint256 amountWETH, bool forceUpdateGlobalExitRoot, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactor) ClaimAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) ClaimAsset(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactor) ClaimMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) ClaimMessage(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactor) Initialize ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) Initialize(opts *bind.TransactOpts, _networkID uint32, _gasTokenAddress common.Address, _gasTokenNetwork uint32, _globalExitRootManager common.Address, _polygonRollupManager common.Address, _gasTokenMetadata []byte, _bridgeManager common.Address, _sovereignWETHAddress common.Address, _sovereignWETHAddressIsNotMintable bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8c0dd470.
Solidity: function initialize(uint32 _networkID, address _gasTokenAddress, uint32 _gasTokenNetwork, address _globalExitRootManager, address _polygonRollupManager, bytes _gasTokenMetadata, address _bridgeManager, address _sovereignWETHAddress, bool _sovereignWETHAddressIsNotMintable) returns()
func (*Bridgel2sovereignchainTransactor) Initialize0 ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) Initialize0(opts *bind.TransactOpts, arg0 uint32, arg1 common.Address, arg2 uint32, arg3 common.Address, arg4 common.Address, arg5 []byte) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xf811bff7.
Solidity: function initialize(uint32 , address , uint32 , address , address , bytes ) returns()
func (*Bridgel2sovereignchainTransactor) MigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) MigrateLegacyToken(opts *bind.TransactOpts, legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
MigrateLegacyToken is a paid mutator transaction binding the contract method 0x9e76158f.
Solidity: function migrateLegacyToken(address legacyTokenAddress, uint256 amount) returns()
func (*Bridgel2sovereignchainTransactor) RemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) RemoveLegacySovereignTokenAddress(opts *bind.TransactOpts, sovereignTokenAddress common.Address) (*types.Transaction, error)
RemoveLegacySovereignTokenAddress is a paid mutator transaction binding the contract method 0xb4586962.
Solidity: function removeLegacySovereignTokenAddress(address sovereignTokenAddress) returns()
func (*Bridgel2sovereignchainTransactor) SetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetBridgeManager(opts *bind.TransactOpts, _bridgeManager common.Address) (*types.Transaction, error)
SetBridgeManager is a paid mutator transaction binding the contract method 0xeabd372a.
Solidity: function setBridgeManager(address _bridgeManager) returns()
func (*Bridgel2sovereignchainTransactor) SetMultipleSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetMultipleSovereignTokenAddress(opts *bind.TransactOpts, originNetworks []uint32, originTokenAddresses []common.Address, sovereignTokenAddresses []common.Address, isNotMintable []bool) (*types.Transaction, error)
SetMultipleSovereignTokenAddress is a paid mutator transaction binding the contract method 0x57cfbee3.
Solidity: function setMultipleSovereignTokenAddress(uint32[] originNetworks, address[] originTokenAddresses, address[] sovereignTokenAddresses, bool[] isNotMintable) returns()
func (*Bridgel2sovereignchainTransactor) SetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetSovereignTokenAddress(opts *bind.TransactOpts, originNetwork uint32, originTokenAddress common.Address, sovereignTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignTokenAddress is a paid mutator transaction binding the contract method 0xb42f6b3a.
Solidity: function setSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainTransactor) SetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) SetSovereignWETHAddress(opts *bind.TransactOpts, sovereignWETHTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignWETHAddress is a paid mutator transaction binding the contract method 0xbf130d7f.
Solidity: function setSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainTransactor) UpdateGlobalExitRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactor) UpdateGlobalExitRoot(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()
type Bridgel2sovereignchainTransactorRaw ¶
type Bridgel2sovereignchainTransactorRaw struct {
Contract *Bridgel2sovereignchainTransactor // Generic write-only contract binding to access the raw methods on
}
Bridgel2sovereignchainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Bridgel2sovereignchainTransactorRaw) Transact ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Bridgel2sovereignchainTransactorRaw) Transfer ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorRaw) 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 Bridgel2sovereignchainTransactorSession ¶
type Bridgel2sovereignchainTransactorSession struct { Contract *Bridgel2sovereignchainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Bridgel2sovereignchainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Bridgel2sovereignchainTransactorSession) BridgeAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) 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 (*Bridgel2sovereignchainTransactorSession) BridgeMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) 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 (*Bridgel2sovereignchainTransactorSession) BridgeMessageWETH ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) BridgeMessageWETH(destinationNetwork uint32, destinationAddress common.Address, amountWETH *big.Int, forceUpdateGlobalExitRoot bool, metadata []byte) (*types.Transaction, error)
BridgeMessageWETH is a paid mutator transaction binding the contract method 0xb8b284d0.
Solidity: function bridgeMessageWETH(uint32 destinationNetwork, address destinationAddress, uint256 amountWETH, bool forceUpdateGlobalExitRoot, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactorSession) ClaimAsset ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactorSession) ClaimMessage ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, 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 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*Bridgel2sovereignchainTransactorSession) Initialize ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) Initialize(_networkID uint32, _gasTokenAddress common.Address, _gasTokenNetwork uint32, _globalExitRootManager common.Address, _polygonRollupManager common.Address, _gasTokenMetadata []byte, _bridgeManager common.Address, _sovereignWETHAddress common.Address, _sovereignWETHAddressIsNotMintable bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8c0dd470.
Solidity: function initialize(uint32 _networkID, address _gasTokenAddress, uint32 _gasTokenNetwork, address _globalExitRootManager, address _polygonRollupManager, bytes _gasTokenMetadata, address _bridgeManager, address _sovereignWETHAddress, bool _sovereignWETHAddressIsNotMintable) returns()
func (*Bridgel2sovereignchainTransactorSession) Initialize0 ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) Initialize0(arg0 uint32, arg1 common.Address, arg2 uint32, arg3 common.Address, arg4 common.Address, arg5 []byte) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xf811bff7.
Solidity: function initialize(uint32 , address , uint32 , address , address , bytes ) returns()
func (*Bridgel2sovereignchainTransactorSession) MigrateLegacyToken ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) MigrateLegacyToken(legacyTokenAddress common.Address, amount *big.Int) (*types.Transaction, error)
MigrateLegacyToken is a paid mutator transaction binding the contract method 0x9e76158f.
Solidity: function migrateLegacyToken(address legacyTokenAddress, uint256 amount) returns()
func (*Bridgel2sovereignchainTransactorSession) RemoveLegacySovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) RemoveLegacySovereignTokenAddress(sovereignTokenAddress common.Address) (*types.Transaction, error)
RemoveLegacySovereignTokenAddress is a paid mutator transaction binding the contract method 0xb4586962.
Solidity: function removeLegacySovereignTokenAddress(address sovereignTokenAddress) returns()
func (*Bridgel2sovereignchainTransactorSession) SetBridgeManager ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetBridgeManager(_bridgeManager common.Address) (*types.Transaction, error)
SetBridgeManager is a paid mutator transaction binding the contract method 0xeabd372a.
Solidity: function setBridgeManager(address _bridgeManager) returns()
func (*Bridgel2sovereignchainTransactorSession) SetMultipleSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetMultipleSovereignTokenAddress(originNetworks []uint32, originTokenAddresses []common.Address, sovereignTokenAddresses []common.Address, isNotMintable []bool) (*types.Transaction, error)
SetMultipleSovereignTokenAddress is a paid mutator transaction binding the contract method 0x57cfbee3.
Solidity: function setMultipleSovereignTokenAddress(uint32[] originNetworks, address[] originTokenAddresses, address[] sovereignTokenAddresses, bool[] isNotMintable) returns()
func (*Bridgel2sovereignchainTransactorSession) SetSovereignTokenAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetSovereignTokenAddress(originNetwork uint32, originTokenAddress common.Address, sovereignTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignTokenAddress is a paid mutator transaction binding the contract method 0xb42f6b3a.
Solidity: function setSovereignTokenAddress(uint32 originNetwork, address originTokenAddress, address sovereignTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainTransactorSession) SetSovereignWETHAddress ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) SetSovereignWETHAddress(sovereignWETHTokenAddress common.Address, isNotMintable bool) (*types.Transaction, error)
SetSovereignWETHAddress is a paid mutator transaction binding the contract method 0xbf130d7f.
Solidity: function setSovereignWETHAddress(address sovereignWETHTokenAddress, bool isNotMintable) returns()
func (*Bridgel2sovereignchainTransactorSession) UpdateGlobalExitRoot ¶
func (_Bridgel2sovereignchain *Bridgel2sovereignchainTransactorSession) UpdateGlobalExitRoot() (*types.Transaction, error)
UpdateGlobalExitRoot is a paid mutator transaction binding the contract method 0x79e2cf97.
Solidity: function updateGlobalExitRoot() returns()