core

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const Erc20ABI = "" /* 3871-byte string literal not displayed */

Erc20ABI is the input ABI used to generate the binding from.

Variables

View Source
var Erc20Bin = "" /* 7122-byte string literal not displayed */

Erc20Bin is the compiled bytecode used for deploying new contracts.

View Source
var GovernanceABI = GovernanceMetaData.ABI

GovernanceABI is the input ABI used to generate the binding from. Deprecated: Use GovernanceMetaData.ABI instead.

View Source
var GovernanceMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"AssetPausedUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"assetId\",\"type\":\"uint16\"}],\"name\":\"NewAsset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractAssetGovernance\",\"name\":\"newAssetGovernance\",\"type\":\"address\"}],\"name\":\"NewAssetGovernance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"NewGovernor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"name\":\"ValidatorStatusUpdate\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_ACCOUNT_INDEX\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_AMOUNT_OF_REGISTERED_ASSETS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_DEPOSIT_AMOUNT\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_FUNGIBLE_ASSET_ID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NFT_INDEX\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SECURITY_COUNCIL_MEMBERS_NUMBER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHORTEST_UPGRADE_NOTICE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SPECIAL_ACCOUNT_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SPECIAL_ACCOUNT_ID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TX_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_NOTICE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WITHDRAWAL_GAS_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_asset\",\"type\":\"address\"}],\"name\":\"addAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"assetAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetGovernance\",\"outputs\":[{\"internalType\":\"contractAssetGovernance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"assetsList\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractAssetGovernance\",\"name\":\"_newAssetGovernance\",\"type\":\"address\"}],\"name\":\"changeAssetGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernor\",\"type\":\"address\"}],\"name\":\"changeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initializationParameters\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAddressExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkGovernor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"pausedAssets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"requireActiveValidator\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"requireGovernor\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_assetAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_assetPaused\",\"type\":\"bool\"}],\"name\":\"setAssetPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_active\",\"type\":\"bool\"}],\"name\":\"setValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"upgradeParameters\",\"type\":\"bytes\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_assetAddr\",\"type\":\"address\"}],\"name\":\"validateAssetAddress\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"validateAssetTokenLister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"validators\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

GovernanceMetaData contains all meta data concerning the Governance contract.

View Source
var ZkBNBABI = ZkBNBMetaData.ABI

ZkBNBABI is the input ABI used to generate the binding from. Deprecated: Use ZkBNBMetaData.ABI instead.

View Source
var ZkBNBMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"BlockCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"BlockVerification\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"totalBlocksVerified\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"totalBlocksCommitted\",\"type\":\"uint32\"}],\"name\":\"BlocksRevert\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"pairIndex\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"asset0Id\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"asset1Id\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"feeRate\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"treasuryAccountIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"treasuryRate\",\"type\":\"uint16\"}],\"name\":\"CreateTokenPair\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"assetId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accountName\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"zkbnbBlockNumber\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"accountIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accountName\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"assetId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"DepositCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accountNameHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"nftContentHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"creatorTreasuryRate\",\"type\":\"uint16\"}],\"name\":\"DepositNft\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"DesertMode\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"zkbnbBlockId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"accountId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"FullExitCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"NewDefaultNFTFactory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_creatorAccountNameHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"_collectionId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_factoryAddress\",\"type\":\"address\"}],\"name\":\"NewNFTFactory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"serialId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"enumTxTypes.TxType\",\"name\":\"txType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expirationBlock\",\"type\":\"uint256\"}],\"name\":\"NewPriorityRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNoticePeriod\",\"type\":\"uint256\"}],\"name\":\"NoticePeriodChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"nameHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"zkbnbPubKeyX\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"zkbnbPubKeyY\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"accountIndex\",\"type\":\"uint32\"}],\"name\":\"RegisterZNS\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"pairIndex\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"feeRate\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"treasuryAccountIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"treasuryRate\",\"type\":\"uint16\"}],\"name\":\"UpdateTokenPair\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"accountIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"nftL1Address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nftL1TokenId\",\"type\":\"uint256\"}],\"name\":\"WithdrawNft\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"assetId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"nftIndex\",\"type\":\"uint40\"}],\"name\":\"WithdrawalNFTPending\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_ACCOUNT_INDEX\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_AMOUNT_OF_REGISTERED_ASSETS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_DEPOSIT_AMOUNT\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_FUNGIBLE_ASSET_ID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_NFT_INDEX\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SECURITY_COUNCIL_MEMBERS_NUMBER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHORTEST_UPGRADE_NOTICE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SPECIAL_ACCOUNT_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SPECIAL_ACCOUNT_ID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TX_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_NOTICE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WITHDRAWAL_GAS_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activateDesertMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"blockSize\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo\",\"name\":\"_lastCommittedBlockData\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"publicData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint32[]\",\"name\":\"publicDataOffsets\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint16\",\"name\":\"blockSize\",\"type\":\"uint16\"}],\"internalType\":\"structOldZkBNB.CommitBlockInfo[]\",\"name\":\"_newBlocksData\",\"type\":\"tuple[]\"}],\"name\":\"commitBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cutUpgradeNoticePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultNFTFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint104\",\"name\":\"_amount\",\"type\":\"uint104\"},{\"internalType\":\"string\",\"name\":\"_accountName\",\"type\":\"string\"}],\"name\":\"depositBEP20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_accountName\",\"type\":\"string\"}],\"name\":\"depositBNB\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_accountName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_nftL1Address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_nftL1TokenId\",\"type\":\"uint256\"}],\"name\":\"depositNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"desertMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"firstPriorityRequestId\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"accountNameHash\",\"type\":\"bytes32\"}],\"name\":\"getAddressByAccountNameHash\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_creatorAccountNameHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_collectionId\",\"type\":\"uint32\"}],\"name\":\"getNFTFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNoticePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_assetAddr\",\"type\":\"address\"}],\"name\":\"getPendingBalance\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initializationParameters\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isReadyForUpgrade\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"nftFactories\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_zkbnbPubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_zkbnbPubKeyY\",\"type\":\"bytes32\"}],\"name\":\"registerZNS\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_accountName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_asset\",\"type\":\"address\"}],\"name\":\"requestFullExit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_accountName\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"_nftIndex\",\"type\":\"uint32\"}],\"name\":\"requestFullExitNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"blockSize\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo[]\",\"name\":\"_blocksToRevert\",\"type\":\"tuple[]\"}],\"name\":\"revertBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractNFTFactory\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"setDefaultNFTFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"storedBlockHashes\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBlocksCommitted\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBlocksVerified\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalOpenPriorityRequests\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalTokenPairs\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_amount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"_maxAmount\",\"type\":\"uint128\"}],\"name\":\"transferERC20\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"withdrawnAmount\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"feeRate\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"treasuryAccountIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint16\",\"name\":\"treasuryRate\",\"type\":\"uint16\"}],\"internalType\":\"structOldZkBNB.PairInfo\",\"name\":\"_pairInfo\",\"type\":\"tuple\"}],\"name\":\"updatePairRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newVerifierAddress\",\"type\":\"address\"}],\"name\":\"updateZkBNBVerifier\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"upgradeParameters\",\"type\":\"bytes\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeCanceled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeFinishes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeNoticePeriodStarted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradePreparationStarted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"blockSize\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo\",\"name\":\"blockHeader\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"pendingOnchainOpsPubData\",\"type\":\"bytes[]\"}],\"internalType\":\"structOldZkBNB.VerifyAndExecuteBlockInfo[]\",\"name\":\"_blocks\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_proofs\",\"type\":\"uint256[]\"}],\"name\":\"verifyAndExecuteBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_amount\",\"type\":\"uint128\"}],\"name\":\"withdrawPendingBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_nftIndex\",\"type\":\"uint40\"}],\"name\":\"withdrawPendingNFTBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ZkBNBMetaData contains all meta data concerning the ZkBNB contract.

Functions

func CommitBlocks

func CommitBlocks(
	cli *rpc.ProviderClient, authCli *rpc.AuthClient, instance *ZkBNB,
	lastBlock StorageStoredBlockInfo, commitBlocksInfo []OldZkBNBCommitBlockInfo,
	gasPrice *big.Int, gasLimit uint64,
) (txHash string, err error)

CommitBlocks: commit blocks

func ConstructTransactOpts

func ConstructTransactOpts(cli *rpc.ProviderClient, authCli *rpc.AuthClient, gasPrice *big.Int, gasLimit uint64) (transactOpts *bind.TransactOpts, err error)

func RevertBlocks

func RevertBlocks(
	cli *rpc.ProviderClient, authCli *rpc.AuthClient, instance *ZkBNB,
	revertBlocks []StorageStoredBlockInfo,
	gasPrice *big.Int, gasLimit uint64,
) (txHash string, err error)

func VerifyAndExecuteBlocks

func VerifyAndExecuteBlocks(
	cli *rpc.ProviderClient, authCli *rpc.AuthClient, instance *ZkBNB,
	verifyAndExecuteBlocksInfo []OldZkBNBVerifyAndExecuteBlockInfo, proofs []*big.Int,
	gasPrice *big.Int, gasLimit uint64,
) (txHash string, err error)

VerifyAndExecuteBlocks: verify and execute blocks

Types

type Erc20

type Erc20 struct {
	Erc20Caller     // Read-only binding to the contract
	Erc20Transactor // Write-only binding to the contract
	Erc20Filterer   // Log filterer for contract events
}

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

func DeployErc20

func DeployErc20(auth *bind.TransactOpts, backend bind.ContractBackend, _initialSupply *big.Int, _name string, _symbol string) (common.Address, *types.Transaction, *Erc20, error)

DeployErc20 deploys a new Ethereum contract, binding an instance of Erc20 to it.

func LoadERC20

func LoadERC20(cli *rpc.ProviderClient, addr string) (instance *Erc20, err error)

func NewErc20

func NewErc20(address common.Address, backend bind.ContractBackend) (*Erc20, error)

NewErc20 creates a new instance of Erc20, bound to a specific deployed contract.

type Erc20Approval

type Erc20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Erc20Approval represents a Approval event raised by the Erc20 contract.

type Erc20ApprovalIterator

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

Erc20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc20 contract.

func (*Erc20ApprovalIterator) Close

func (it *Erc20ApprovalIterator) Close() error

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

func (*Erc20ApprovalIterator) Error

func (it *Erc20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20ApprovalIterator) Next

func (it *Erc20ApprovalIterator) 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 Erc20Caller

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

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

func NewErc20Caller

func NewErc20Caller(address common.Address, caller bind.ContractCaller) (*Erc20Caller, error)

NewErc20Caller creates a new read-only instance of Erc20, bound to a specific deployed contract.

func (*Erc20Caller) Allowance

func (_Erc20 *Erc20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Erc20Caller) BalanceOf

func (_Erc20 *Erc20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*Erc20Caller) Decimals

func (_Erc20 *Erc20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Erc20Caller) Name

func (_Erc20 *Erc20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Erc20Caller) Symbol

func (_Erc20 *Erc20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Erc20Caller) TotalSupply

func (_Erc20 *Erc20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Erc20CallerRaw

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

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

func (*Erc20CallerRaw) Call

func (_Erc20 *Erc20CallerRaw) 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 Erc20CallerSession

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

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

func (*Erc20CallerSession) Allowance

func (_Erc20 *Erc20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Erc20CallerSession) BalanceOf

func (_Erc20 *Erc20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*Erc20CallerSession) Decimals

func (_Erc20 *Erc20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Erc20CallerSession) Name

func (_Erc20 *Erc20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Erc20CallerSession) Symbol

func (_Erc20 *Erc20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Erc20CallerSession) TotalSupply

func (_Erc20 *Erc20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Erc20Filterer

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

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

func NewErc20Filterer

func NewErc20Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc20Filterer, error)

NewErc20Filterer creates a new log filterer instance of Erc20, bound to a specific deployed contract.

func (*Erc20Filterer) FilterApproval

func (_Erc20 *Erc20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20Filterer) FilterTransfer

func (_Erc20 *Erc20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Erc20Filterer) ParseApproval

func (_Erc20 *Erc20Filterer) ParseApproval(log types.Log) (*Erc20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20Filterer) ParseTransfer

func (_Erc20 *Erc20Filterer) ParseTransfer(log types.Log) (*Erc20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Erc20Filterer) WatchApproval

func (_Erc20 *Erc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Erc20Filterer) WatchTransfer

func (_Erc20 *Erc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type Erc20Raw

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

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

func (*Erc20Raw) Call

func (_Erc20 *Erc20Raw) 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 (*Erc20Raw) Transact

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

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

func (*Erc20Raw) Transfer

func (_Erc20 *Erc20Raw) 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 Erc20Session

type Erc20Session struct {
	Contract     *Erc20            // 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
}

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

func (*Erc20Session) Allowance

func (_Erc20 *Erc20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Erc20Session) Approve

func (_Erc20 *Erc20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20Session) BalanceOf

func (_Erc20 *Erc20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*Erc20Session) Decimals

func (_Erc20 *Erc20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Erc20Session) DecreaseAllowance

func (_Erc20 *Erc20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20Session) IncreaseAllowance

func (_Erc20 *Erc20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20Session) Name

func (_Erc20 *Erc20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Erc20Session) Symbol

func (_Erc20 *Erc20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Erc20Session) TotalSupply

func (_Erc20 *Erc20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Erc20Session) Transfer

func (_Erc20 *Erc20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20Session) TransferFrom

func (_Erc20 *Erc20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type Erc20Transactor

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

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

func NewErc20Transactor

func NewErc20Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc20Transactor, error)

NewErc20Transactor creates a new write-only instance of Erc20, bound to a specific deployed contract.

func (*Erc20Transactor) Approve

func (_Erc20 *Erc20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20Transactor) DecreaseAllowance

func (_Erc20 *Erc20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20Transactor) IncreaseAllowance

func (_Erc20 *Erc20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20Transactor) Transfer

func (_Erc20 *Erc20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20Transactor) TransferFrom

func (_Erc20 *Erc20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type Erc20TransactorRaw

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

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

func (*Erc20TransactorRaw) Transact

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

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

func (*Erc20TransactorRaw) Transfer

func (_Erc20 *Erc20TransactorRaw) 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 Erc20TransactorSession

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

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

func (*Erc20TransactorSession) Approve

func (_Erc20 *Erc20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20TransactorSession) DecreaseAllowance

func (_Erc20 *Erc20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20TransactorSession) IncreaseAllowance

func (_Erc20 *Erc20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20TransactorSession) Transfer

func (_Erc20 *Erc20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20TransactorSession) TransferFrom

func (_Erc20 *Erc20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type Erc20Transfer

type Erc20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Erc20Transfer represents a Transfer event raised by the Erc20 contract.

type Erc20TransferIterator

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

Erc20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Erc20 contract.

func (*Erc20TransferIterator) Close

func (it *Erc20TransferIterator) Close() error

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

func (*Erc20TransferIterator) Error

func (it *Erc20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20TransferIterator) Next

func (it *Erc20TransferIterator) 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 Governance

type Governance struct {
	GovernanceCaller     // Read-only binding to the contract
	GovernanceTransactor // Write-only binding to the contract
	GovernanceFilterer   // Log filterer for contract events
}

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

func LoadGovernanceInstance

func LoadGovernanceInstance(cli *rpc.ProviderClient, addr string) (instance *Governance, err error)

func NewGovernance

func NewGovernance(address common.Address, backend bind.ContractBackend) (*Governance, error)

NewGovernance creates a new instance of Governance, bound to a specific deployed contract.

type GovernanceAssetPausedUpdate

type GovernanceAssetPausedUpdate struct {
	Token  common.Address
	Paused bool
	Raw    types.Log // Blockchain specific contextual infos
}

GovernanceAssetPausedUpdate represents a AssetPausedUpdate event raised by the Governance contract.

type GovernanceAssetPausedUpdateIterator

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

GovernanceAssetPausedUpdateIterator is returned from FilterAssetPausedUpdate and is used to iterate over the raw logs and unpacked data for AssetPausedUpdate events raised by the Governance contract.

func (*GovernanceAssetPausedUpdateIterator) Close

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

func (*GovernanceAssetPausedUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceAssetPausedUpdateIterator) Next

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

type GovernanceCaller

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

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

func NewGovernanceCaller

func NewGovernanceCaller(address common.Address, caller bind.ContractCaller) (*GovernanceCaller, error)

NewGovernanceCaller creates a new read-only instance of Governance, bound to a specific deployed contract.

func (*GovernanceCaller) AssetAddresses

func (_Governance *GovernanceCaller) AssetAddresses(opts *bind.CallOpts, arg0 uint16) (common.Address, error)

AssetAddresses is a free data retrieval call binding the contract method 0xdbfc2967.

Solidity: function assetAddresses(uint16 ) view returns(address)

func (*GovernanceCaller) AssetGovernance

func (_Governance *GovernanceCaller) AssetGovernance(opts *bind.CallOpts) (common.Address, error)

AssetGovernance is a free data retrieval call binding the contract method 0xf5e7d6fd.

Solidity: function assetGovernance() view returns(address)

func (*GovernanceCaller) AssetsList

func (_Governance *GovernanceCaller) AssetsList(opts *bind.CallOpts, arg0 common.Address) (uint16, error)

AssetsList is a free data retrieval call binding the contract method 0x1e763ee3.

Solidity: function assetsList(address ) view returns(uint16)

func (*GovernanceCaller) IsAddressExists

func (_Governance *GovernanceCaller) IsAddressExists(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsAddressExists is a free data retrieval call binding the contract method 0x321e182b.

Solidity: function isAddressExists(address ) view returns(bool)

func (*GovernanceCaller) MAXACCOUNTINDEX

func (_Governance *GovernanceCaller) MAXACCOUNTINDEX(opts *bind.CallOpts) (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*GovernanceCaller) MAXAMOUNTOFREGISTEREDASSETS

func (_Governance *GovernanceCaller) MAXAMOUNTOFREGISTEREDASSETS(opts *bind.CallOpts) (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*GovernanceCaller) MAXDEPOSITAMOUNT

func (_Governance *GovernanceCaller) MAXDEPOSITAMOUNT(opts *bind.CallOpts) (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*GovernanceCaller) MAXFUNGIBLEASSETID

func (_Governance *GovernanceCaller) MAXFUNGIBLEASSETID(opts *bind.CallOpts) (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*GovernanceCaller) MAXNFTINDEX

func (_Governance *GovernanceCaller) MAXNFTINDEX(opts *bind.CallOpts) (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*GovernanceCaller) NetworkGovernor

func (_Governance *GovernanceCaller) NetworkGovernor(opts *bind.CallOpts) (common.Address, error)

NetworkGovernor is a free data retrieval call binding the contract method 0xf39349ef.

Solidity: function networkGovernor() view returns(address)

func (*GovernanceCaller) PausedAssets

func (_Governance *GovernanceCaller) PausedAssets(opts *bind.CallOpts, arg0 uint16) (bool, error)

PausedAssets is a free data retrieval call binding the contract method 0x31d8687b.

Solidity: function pausedAssets(uint16 ) view returns(bool)

func (*GovernanceCaller) RequireActiveValidator

func (_Governance *GovernanceCaller) RequireActiveValidator(opts *bind.CallOpts, _address common.Address) error

RequireActiveValidator is a free data retrieval call binding the contract method 0x4b18bd0f.

Solidity: function requireActiveValidator(address _address) view returns()

func (*GovernanceCaller) RequireGovernor

func (_Governance *GovernanceCaller) RequireGovernor(opts *bind.CallOpts, _address common.Address) error

RequireGovernor is a free data retrieval call binding the contract method 0xf5f84ed4.

Solidity: function requireGovernor(address _address) view returns()

func (*GovernanceCaller) SECURITYCOUNCILMEMBERSNUMBER

func (_Governance *GovernanceCaller) SECURITYCOUNCILMEMBERSNUMBER(opts *bind.CallOpts) (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*GovernanceCaller) SHORTESTUPGRADENOTICEPERIOD

func (_Governance *GovernanceCaller) SHORTESTUPGRADENOTICEPERIOD(opts *bind.CallOpts) (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceCaller) SPECIALACCOUNTADDRESS

func (_Governance *GovernanceCaller) SPECIALACCOUNTADDRESS(opts *bind.CallOpts) (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*GovernanceCaller) SPECIALACCOUNTID

func (_Governance *GovernanceCaller) SPECIALACCOUNTID(opts *bind.CallOpts) (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*GovernanceCaller) TXSIZE

func (_Governance *GovernanceCaller) TXSIZE(opts *bind.CallOpts) (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*GovernanceCaller) TotalAssets

func (_Governance *GovernanceCaller) TotalAssets(opts *bind.CallOpts) (uint16, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint16)

func (*GovernanceCaller) UPGRADENOTICEPERIOD

func (_Governance *GovernanceCaller) UPGRADENOTICEPERIOD(opts *bind.CallOpts) (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceCaller) ValidateAssetAddress

func (_Governance *GovernanceCaller) ValidateAssetAddress(opts *bind.CallOpts, _assetAddr common.Address) (uint16, error)

ValidateAssetAddress is a free data retrieval call binding the contract method 0x9bd77609.

Solidity: function validateAssetAddress(address _assetAddr) view returns(uint16)

func (*GovernanceCaller) Validators

func (_Governance *GovernanceCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(bool)

func (*GovernanceCaller) WITHDRAWALGASLIMIT

func (_Governance *GovernanceCaller) WITHDRAWALGASLIMIT(opts *bind.CallOpts) (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

type GovernanceCallerRaw

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

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

func (*GovernanceCallerRaw) Call

func (_Governance *GovernanceCallerRaw) 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 GovernanceCallerSession

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

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

func (*GovernanceCallerSession) AssetAddresses

func (_Governance *GovernanceCallerSession) AssetAddresses(arg0 uint16) (common.Address, error)

AssetAddresses is a free data retrieval call binding the contract method 0xdbfc2967.

Solidity: function assetAddresses(uint16 ) view returns(address)

func (*GovernanceCallerSession) AssetGovernance

func (_Governance *GovernanceCallerSession) AssetGovernance() (common.Address, error)

AssetGovernance is a free data retrieval call binding the contract method 0xf5e7d6fd.

Solidity: function assetGovernance() view returns(address)

func (*GovernanceCallerSession) AssetsList

func (_Governance *GovernanceCallerSession) AssetsList(arg0 common.Address) (uint16, error)

AssetsList is a free data retrieval call binding the contract method 0x1e763ee3.

Solidity: function assetsList(address ) view returns(uint16)

func (*GovernanceCallerSession) IsAddressExists

func (_Governance *GovernanceCallerSession) IsAddressExists(arg0 common.Address) (bool, error)

IsAddressExists is a free data retrieval call binding the contract method 0x321e182b.

Solidity: function isAddressExists(address ) view returns(bool)

func (*GovernanceCallerSession) MAXACCOUNTINDEX

func (_Governance *GovernanceCallerSession) MAXACCOUNTINDEX() (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*GovernanceCallerSession) MAXAMOUNTOFREGISTEREDASSETS

func (_Governance *GovernanceCallerSession) MAXAMOUNTOFREGISTEREDASSETS() (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*GovernanceCallerSession) MAXDEPOSITAMOUNT

func (_Governance *GovernanceCallerSession) MAXDEPOSITAMOUNT() (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*GovernanceCallerSession) MAXFUNGIBLEASSETID

func (_Governance *GovernanceCallerSession) MAXFUNGIBLEASSETID() (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*GovernanceCallerSession) MAXNFTINDEX

func (_Governance *GovernanceCallerSession) MAXNFTINDEX() (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*GovernanceCallerSession) NetworkGovernor

func (_Governance *GovernanceCallerSession) NetworkGovernor() (common.Address, error)

NetworkGovernor is a free data retrieval call binding the contract method 0xf39349ef.

Solidity: function networkGovernor() view returns(address)

func (*GovernanceCallerSession) PausedAssets

func (_Governance *GovernanceCallerSession) PausedAssets(arg0 uint16) (bool, error)

PausedAssets is a free data retrieval call binding the contract method 0x31d8687b.

Solidity: function pausedAssets(uint16 ) view returns(bool)

func (*GovernanceCallerSession) RequireActiveValidator

func (_Governance *GovernanceCallerSession) RequireActiveValidator(_address common.Address) error

RequireActiveValidator is a free data retrieval call binding the contract method 0x4b18bd0f.

Solidity: function requireActiveValidator(address _address) view returns()

func (*GovernanceCallerSession) RequireGovernor

func (_Governance *GovernanceCallerSession) RequireGovernor(_address common.Address) error

RequireGovernor is a free data retrieval call binding the contract method 0xf5f84ed4.

Solidity: function requireGovernor(address _address) view returns()

func (*GovernanceCallerSession) SECURITYCOUNCILMEMBERSNUMBER

func (_Governance *GovernanceCallerSession) SECURITYCOUNCILMEMBERSNUMBER() (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*GovernanceCallerSession) SHORTESTUPGRADENOTICEPERIOD

func (_Governance *GovernanceCallerSession) SHORTESTUPGRADENOTICEPERIOD() (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceCallerSession) SPECIALACCOUNTADDRESS

func (_Governance *GovernanceCallerSession) SPECIALACCOUNTADDRESS() (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*GovernanceCallerSession) SPECIALACCOUNTID

func (_Governance *GovernanceCallerSession) SPECIALACCOUNTID() (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*GovernanceCallerSession) TXSIZE

func (_Governance *GovernanceCallerSession) TXSIZE() (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*GovernanceCallerSession) TotalAssets

func (_Governance *GovernanceCallerSession) TotalAssets() (uint16, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint16)

func (*GovernanceCallerSession) UPGRADENOTICEPERIOD

func (_Governance *GovernanceCallerSession) UPGRADENOTICEPERIOD() (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceCallerSession) ValidateAssetAddress

func (_Governance *GovernanceCallerSession) ValidateAssetAddress(_assetAddr common.Address) (uint16, error)

ValidateAssetAddress is a free data retrieval call binding the contract method 0x9bd77609.

Solidity: function validateAssetAddress(address _assetAddr) view returns(uint16)

func (*GovernanceCallerSession) Validators

func (_Governance *GovernanceCallerSession) Validators(arg0 common.Address) (bool, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(bool)

func (*GovernanceCallerSession) WITHDRAWALGASLIMIT

func (_Governance *GovernanceCallerSession) WITHDRAWALGASLIMIT() (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

type GovernanceFilterer

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

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

func NewGovernanceFilterer

func NewGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernanceFilterer, error)

NewGovernanceFilterer creates a new log filterer instance of Governance, bound to a specific deployed contract.

func (*GovernanceFilterer) FilterAssetPausedUpdate

func (_Governance *GovernanceFilterer) FilterAssetPausedUpdate(opts *bind.FilterOpts) (*GovernanceAssetPausedUpdateIterator, error)

FilterAssetPausedUpdate is a free log retrieval operation binding the contract event 0xf7ca5545623b85829d3abcb6729eb021070bbe93cba64f5c4de6b17b805b7d02.

Solidity: event AssetPausedUpdate(address token, bool paused)

func (*GovernanceFilterer) FilterNewAsset

func (_Governance *GovernanceFilterer) FilterNewAsset(opts *bind.FilterOpts) (*GovernanceNewAssetIterator, error)

FilterNewAsset is a free log retrieval operation binding the contract event 0x990c18cf226b253448a6a051b5cadf51a61f4ca56703374cdd8bf9df04b2f901.

Solidity: event NewAsset(address assetAddress, uint16 assetId)

func (*GovernanceFilterer) FilterNewAssetGovernance

func (_Governance *GovernanceFilterer) FilterNewAssetGovernance(opts *bind.FilterOpts) (*GovernanceNewAssetGovernanceIterator, error)

FilterNewAssetGovernance is a free log retrieval operation binding the contract event 0xc7708091594580aae77e08cb1e2e3b9d2bd0cab0d2d95797248dd95f02d7299e.

Solidity: event NewAssetGovernance(address newAssetGovernance)

func (*GovernanceFilterer) FilterNewGovernor

func (_Governance *GovernanceFilterer) FilterNewGovernor(opts *bind.FilterOpts) (*GovernanceNewGovernorIterator, error)

FilterNewGovernor is a free log retrieval operation binding the contract event 0x5425363a03f182281120f5919107c49c7a1a623acc1cbc6df468b6f0c11fcf8c.

Solidity: event NewGovernor(address newGovernor)

func (*GovernanceFilterer) FilterValidatorStatusUpdate

func (_Governance *GovernanceFilterer) FilterValidatorStatusUpdate(opts *bind.FilterOpts) (*GovernanceValidatorStatusUpdateIterator, error)

FilterValidatorStatusUpdate is a free log retrieval operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address validatorAddress, bool isActive)

func (*GovernanceFilterer) ParseAssetPausedUpdate

func (_Governance *GovernanceFilterer) ParseAssetPausedUpdate(log types.Log) (*GovernanceAssetPausedUpdate, error)

ParseAssetPausedUpdate is a log parse operation binding the contract event 0xf7ca5545623b85829d3abcb6729eb021070bbe93cba64f5c4de6b17b805b7d02.

Solidity: event AssetPausedUpdate(address token, bool paused)

func (*GovernanceFilterer) ParseNewAsset

func (_Governance *GovernanceFilterer) ParseNewAsset(log types.Log) (*GovernanceNewAsset, error)

ParseNewAsset is a log parse operation binding the contract event 0x990c18cf226b253448a6a051b5cadf51a61f4ca56703374cdd8bf9df04b2f901.

Solidity: event NewAsset(address assetAddress, uint16 assetId)

func (*GovernanceFilterer) ParseNewAssetGovernance

func (_Governance *GovernanceFilterer) ParseNewAssetGovernance(log types.Log) (*GovernanceNewAssetGovernance, error)

ParseNewAssetGovernance is a log parse operation binding the contract event 0xc7708091594580aae77e08cb1e2e3b9d2bd0cab0d2d95797248dd95f02d7299e.

Solidity: event NewAssetGovernance(address newAssetGovernance)

func (*GovernanceFilterer) ParseNewGovernor

func (_Governance *GovernanceFilterer) ParseNewGovernor(log types.Log) (*GovernanceNewGovernor, error)

ParseNewGovernor is a log parse operation binding the contract event 0x5425363a03f182281120f5919107c49c7a1a623acc1cbc6df468b6f0c11fcf8c.

Solidity: event NewGovernor(address newGovernor)

func (*GovernanceFilterer) ParseValidatorStatusUpdate

func (_Governance *GovernanceFilterer) ParseValidatorStatusUpdate(log types.Log) (*GovernanceValidatorStatusUpdate, error)

ParseValidatorStatusUpdate is a log parse operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address validatorAddress, bool isActive)

func (*GovernanceFilterer) WatchAssetPausedUpdate

func (_Governance *GovernanceFilterer) WatchAssetPausedUpdate(opts *bind.WatchOpts, sink chan<- *GovernanceAssetPausedUpdate) (event.Subscription, error)

WatchAssetPausedUpdate is a free log subscription operation binding the contract event 0xf7ca5545623b85829d3abcb6729eb021070bbe93cba64f5c4de6b17b805b7d02.

Solidity: event AssetPausedUpdate(address token, bool paused)

func (*GovernanceFilterer) WatchNewAsset

func (_Governance *GovernanceFilterer) WatchNewAsset(opts *bind.WatchOpts, sink chan<- *GovernanceNewAsset) (event.Subscription, error)

WatchNewAsset is a free log subscription operation binding the contract event 0x990c18cf226b253448a6a051b5cadf51a61f4ca56703374cdd8bf9df04b2f901.

Solidity: event NewAsset(address assetAddress, uint16 assetId)

func (*GovernanceFilterer) WatchNewAssetGovernance

func (_Governance *GovernanceFilterer) WatchNewAssetGovernance(opts *bind.WatchOpts, sink chan<- *GovernanceNewAssetGovernance) (event.Subscription, error)

WatchNewAssetGovernance is a free log subscription operation binding the contract event 0xc7708091594580aae77e08cb1e2e3b9d2bd0cab0d2d95797248dd95f02d7299e.

Solidity: event NewAssetGovernance(address newAssetGovernance)

func (*GovernanceFilterer) WatchNewGovernor

func (_Governance *GovernanceFilterer) WatchNewGovernor(opts *bind.WatchOpts, sink chan<- *GovernanceNewGovernor) (event.Subscription, error)

WatchNewGovernor is a free log subscription operation binding the contract event 0x5425363a03f182281120f5919107c49c7a1a623acc1cbc6df468b6f0c11fcf8c.

Solidity: event NewGovernor(address newGovernor)

func (*GovernanceFilterer) WatchValidatorStatusUpdate

func (_Governance *GovernanceFilterer) WatchValidatorStatusUpdate(opts *bind.WatchOpts, sink chan<- *GovernanceValidatorStatusUpdate) (event.Subscription, error)

WatchValidatorStatusUpdate is a free log subscription operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address validatorAddress, bool isActive)

type GovernanceNewAsset

type GovernanceNewAsset struct {
	AssetAddress common.Address
	AssetId      uint16
	Raw          types.Log // Blockchain specific contextual infos
}

GovernanceNewAsset represents a NewAsset event raised by the Governance contract.

type GovernanceNewAssetGovernance

type GovernanceNewAssetGovernance struct {
	NewAssetGovernance common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

GovernanceNewAssetGovernance represents a NewAssetGovernance event raised by the Governance contract.

type GovernanceNewAssetGovernanceIterator

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

GovernanceNewAssetGovernanceIterator is returned from FilterNewAssetGovernance and is used to iterate over the raw logs and unpacked data for NewAssetGovernance events raised by the Governance contract.

func (*GovernanceNewAssetGovernanceIterator) Close

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

func (*GovernanceNewAssetGovernanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceNewAssetGovernanceIterator) Next

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

type GovernanceNewAssetIterator

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

GovernanceNewAssetIterator is returned from FilterNewAsset and is used to iterate over the raw logs and unpacked data for NewAsset events raised by the Governance contract.

func (*GovernanceNewAssetIterator) Close

func (it *GovernanceNewAssetIterator) Close() error

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

func (*GovernanceNewAssetIterator) Error

func (it *GovernanceNewAssetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceNewAssetIterator) Next

func (it *GovernanceNewAssetIterator) 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 GovernanceNewGovernor

type GovernanceNewGovernor struct {
	NewGovernor common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

GovernanceNewGovernor represents a NewGovernor event raised by the Governance contract.

type GovernanceNewGovernorIterator

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

GovernanceNewGovernorIterator is returned from FilterNewGovernor and is used to iterate over the raw logs and unpacked data for NewGovernor events raised by the Governance contract.

func (*GovernanceNewGovernorIterator) Close

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

func (*GovernanceNewGovernorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceNewGovernorIterator) Next

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

type GovernanceRaw

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

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

func (*GovernanceRaw) Call

func (_Governance *GovernanceRaw) 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 (*GovernanceRaw) Transact

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

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

func (*GovernanceRaw) Transfer

func (_Governance *GovernanceRaw) 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 GovernanceSession

type GovernanceSession struct {
	Contract     *Governance       // 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
}

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

func (*GovernanceSession) AddAsset

func (_Governance *GovernanceSession) AddAsset(_asset common.Address) (*types.Transaction, error)

AddAsset is a paid mutator transaction binding the contract method 0x298410e5.

Solidity: function addAsset(address _asset) returns()

func (*GovernanceSession) AssetAddresses

func (_Governance *GovernanceSession) AssetAddresses(arg0 uint16) (common.Address, error)

AssetAddresses is a free data retrieval call binding the contract method 0xdbfc2967.

Solidity: function assetAddresses(uint16 ) view returns(address)

func (*GovernanceSession) AssetGovernance

func (_Governance *GovernanceSession) AssetGovernance() (common.Address, error)

AssetGovernance is a free data retrieval call binding the contract method 0xf5e7d6fd.

Solidity: function assetGovernance() view returns(address)

func (*GovernanceSession) AssetsList

func (_Governance *GovernanceSession) AssetsList(arg0 common.Address) (uint16, error)

AssetsList is a free data retrieval call binding the contract method 0x1e763ee3.

Solidity: function assetsList(address ) view returns(uint16)

func (*GovernanceSession) ChangeAssetGovernance

func (_Governance *GovernanceSession) ChangeAssetGovernance(_newAssetGovernance common.Address) (*types.Transaction, error)

ChangeAssetGovernance is a paid mutator transaction binding the contract method 0xd87e3748.

Solidity: function changeAssetGovernance(address _newAssetGovernance) returns()

func (*GovernanceSession) ChangeGovernor

func (_Governance *GovernanceSession) ChangeGovernor(_newGovernor common.Address) (*types.Transaction, error)

ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.

Solidity: function changeGovernor(address _newGovernor) returns()

func (*GovernanceSession) Initialize

func (_Governance *GovernanceSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*GovernanceSession) IsAddressExists

func (_Governance *GovernanceSession) IsAddressExists(arg0 common.Address) (bool, error)

IsAddressExists is a free data retrieval call binding the contract method 0x321e182b.

Solidity: function isAddressExists(address ) view returns(bool)

func (*GovernanceSession) MAXACCOUNTINDEX

func (_Governance *GovernanceSession) MAXACCOUNTINDEX() (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*GovernanceSession) MAXAMOUNTOFREGISTEREDASSETS

func (_Governance *GovernanceSession) MAXAMOUNTOFREGISTEREDASSETS() (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*GovernanceSession) MAXDEPOSITAMOUNT

func (_Governance *GovernanceSession) MAXDEPOSITAMOUNT() (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*GovernanceSession) MAXFUNGIBLEASSETID

func (_Governance *GovernanceSession) MAXFUNGIBLEASSETID() (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*GovernanceSession) MAXNFTINDEX

func (_Governance *GovernanceSession) MAXNFTINDEX() (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*GovernanceSession) NetworkGovernor

func (_Governance *GovernanceSession) NetworkGovernor() (common.Address, error)

NetworkGovernor is a free data retrieval call binding the contract method 0xf39349ef.

Solidity: function networkGovernor() view returns(address)

func (*GovernanceSession) PausedAssets

func (_Governance *GovernanceSession) PausedAssets(arg0 uint16) (bool, error)

PausedAssets is a free data retrieval call binding the contract method 0x31d8687b.

Solidity: function pausedAssets(uint16 ) view returns(bool)

func (*GovernanceSession) RequireActiveValidator

func (_Governance *GovernanceSession) RequireActiveValidator(_address common.Address) error

RequireActiveValidator is a free data retrieval call binding the contract method 0x4b18bd0f.

Solidity: function requireActiveValidator(address _address) view returns()

func (*GovernanceSession) RequireGovernor

func (_Governance *GovernanceSession) RequireGovernor(_address common.Address) error

RequireGovernor is a free data retrieval call binding the contract method 0xf5f84ed4.

Solidity: function requireGovernor(address _address) view returns()

func (*GovernanceSession) SECURITYCOUNCILMEMBERSNUMBER

func (_Governance *GovernanceSession) SECURITYCOUNCILMEMBERSNUMBER() (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*GovernanceSession) SHORTESTUPGRADENOTICEPERIOD

func (_Governance *GovernanceSession) SHORTESTUPGRADENOTICEPERIOD() (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceSession) SPECIALACCOUNTADDRESS

func (_Governance *GovernanceSession) SPECIALACCOUNTADDRESS() (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*GovernanceSession) SPECIALACCOUNTID

func (_Governance *GovernanceSession) SPECIALACCOUNTID() (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*GovernanceSession) SetAssetPaused

func (_Governance *GovernanceSession) SetAssetPaused(_assetAddress common.Address, _assetPaused bool) (*types.Transaction, error)

SetAssetPaused is a paid mutator transaction binding the contract method 0x2520ce5a.

Solidity: function setAssetPaused(address _assetAddress, bool _assetPaused) returns()

func (*GovernanceSession) SetValidator

func (_Governance *GovernanceSession) SetValidator(_validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*GovernanceSession) TXSIZE

func (_Governance *GovernanceSession) TXSIZE() (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*GovernanceSession) TotalAssets

func (_Governance *GovernanceSession) TotalAssets() (uint16, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint16)

func (*GovernanceSession) UPGRADENOTICEPERIOD

func (_Governance *GovernanceSession) UPGRADENOTICEPERIOD() (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*GovernanceSession) Upgrade

func (_Governance *GovernanceSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*GovernanceSession) ValidateAssetAddress

func (_Governance *GovernanceSession) ValidateAssetAddress(_assetAddr common.Address) (uint16, error)

ValidateAssetAddress is a free data retrieval call binding the contract method 0x9bd77609.

Solidity: function validateAssetAddress(address _assetAddr) view returns(uint16)

func (*GovernanceSession) ValidateAssetTokenLister

func (_Governance *GovernanceSession) ValidateAssetTokenLister(_address common.Address) (*types.Transaction, error)

ValidateAssetTokenLister is a paid mutator transaction binding the contract method 0xc2001b38.

Solidity: function validateAssetTokenLister(address _address) returns()

func (*GovernanceSession) Validators

func (_Governance *GovernanceSession) Validators(arg0 common.Address) (bool, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(bool)

func (*GovernanceSession) WITHDRAWALGASLIMIT

func (_Governance *GovernanceSession) WITHDRAWALGASLIMIT() (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

type GovernanceTransactor

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

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

func NewGovernanceTransactor

func NewGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernanceTransactor, error)

NewGovernanceTransactor creates a new write-only instance of Governance, bound to a specific deployed contract.

func (*GovernanceTransactor) AddAsset

func (_Governance *GovernanceTransactor) AddAsset(opts *bind.TransactOpts, _asset common.Address) (*types.Transaction, error)

AddAsset is a paid mutator transaction binding the contract method 0x298410e5.

Solidity: function addAsset(address _asset) returns()

func (*GovernanceTransactor) ChangeAssetGovernance

func (_Governance *GovernanceTransactor) ChangeAssetGovernance(opts *bind.TransactOpts, _newAssetGovernance common.Address) (*types.Transaction, error)

ChangeAssetGovernance is a paid mutator transaction binding the contract method 0xd87e3748.

Solidity: function changeAssetGovernance(address _newAssetGovernance) returns()

func (*GovernanceTransactor) ChangeGovernor

func (_Governance *GovernanceTransactor) ChangeGovernor(opts *bind.TransactOpts, _newGovernor common.Address) (*types.Transaction, error)

ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.

Solidity: function changeGovernor(address _newGovernor) returns()

func (*GovernanceTransactor) Initialize

func (_Governance *GovernanceTransactor) Initialize(opts *bind.TransactOpts, initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*GovernanceTransactor) SetAssetPaused

func (_Governance *GovernanceTransactor) SetAssetPaused(opts *bind.TransactOpts, _assetAddress common.Address, _assetPaused bool) (*types.Transaction, error)

SetAssetPaused is a paid mutator transaction binding the contract method 0x2520ce5a.

Solidity: function setAssetPaused(address _assetAddress, bool _assetPaused) returns()

func (*GovernanceTransactor) SetValidator

func (_Governance *GovernanceTransactor) SetValidator(opts *bind.TransactOpts, _validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*GovernanceTransactor) Upgrade

func (_Governance *GovernanceTransactor) Upgrade(opts *bind.TransactOpts, upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*GovernanceTransactor) ValidateAssetTokenLister

func (_Governance *GovernanceTransactor) ValidateAssetTokenLister(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

ValidateAssetTokenLister is a paid mutator transaction binding the contract method 0xc2001b38.

Solidity: function validateAssetTokenLister(address _address) returns()

type GovernanceTransactorRaw

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

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

func (*GovernanceTransactorRaw) Transact

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

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

func (*GovernanceTransactorRaw) Transfer

func (_Governance *GovernanceTransactorRaw) 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 GovernanceTransactorSession

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

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

func (*GovernanceTransactorSession) AddAsset

func (_Governance *GovernanceTransactorSession) AddAsset(_asset common.Address) (*types.Transaction, error)

AddAsset is a paid mutator transaction binding the contract method 0x298410e5.

Solidity: function addAsset(address _asset) returns()

func (*GovernanceTransactorSession) ChangeAssetGovernance

func (_Governance *GovernanceTransactorSession) ChangeAssetGovernance(_newAssetGovernance common.Address) (*types.Transaction, error)

ChangeAssetGovernance is a paid mutator transaction binding the contract method 0xd87e3748.

Solidity: function changeAssetGovernance(address _newAssetGovernance) returns()

func (*GovernanceTransactorSession) ChangeGovernor

func (_Governance *GovernanceTransactorSession) ChangeGovernor(_newGovernor common.Address) (*types.Transaction, error)

ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.

Solidity: function changeGovernor(address _newGovernor) returns()

func (*GovernanceTransactorSession) Initialize

func (_Governance *GovernanceTransactorSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*GovernanceTransactorSession) SetAssetPaused

func (_Governance *GovernanceTransactorSession) SetAssetPaused(_assetAddress common.Address, _assetPaused bool) (*types.Transaction, error)

SetAssetPaused is a paid mutator transaction binding the contract method 0x2520ce5a.

Solidity: function setAssetPaused(address _assetAddress, bool _assetPaused) returns()

func (*GovernanceTransactorSession) SetValidator

func (_Governance *GovernanceTransactorSession) SetValidator(_validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*GovernanceTransactorSession) Upgrade

func (_Governance *GovernanceTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*GovernanceTransactorSession) ValidateAssetTokenLister

func (_Governance *GovernanceTransactorSession) ValidateAssetTokenLister(_address common.Address) (*types.Transaction, error)

ValidateAssetTokenLister is a paid mutator transaction binding the contract method 0xc2001b38.

Solidity: function validateAssetTokenLister(address _address) returns()

type GovernanceValidatorStatusUpdate

type GovernanceValidatorStatusUpdate struct {
	ValidatorAddress common.Address
	IsActive         bool
	Raw              types.Log // Blockchain specific contextual infos
}

GovernanceValidatorStatusUpdate represents a ValidatorStatusUpdate event raised by the Governance contract.

type GovernanceValidatorStatusUpdateIterator

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

GovernanceValidatorStatusUpdateIterator is returned from FilterValidatorStatusUpdate and is used to iterate over the raw logs and unpacked data for ValidatorStatusUpdate events raised by the Governance contract.

func (*GovernanceValidatorStatusUpdateIterator) Close

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

func (*GovernanceValidatorStatusUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceValidatorStatusUpdateIterator) Next

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

type OldZkBNBCommitBlockInfo

type OldZkBNBCommitBlockInfo struct {
	NewStateRoot      [32]byte
	PublicData        []byte
	Timestamp         *big.Int
	PublicDataOffsets []uint32
	BlockNumber       uint32
	BlockSize         uint16
}

OldZkBNBCommitBlockInfo is an auto generated low-level Go binding around an user-defined struct.

type OldZkBNBPairInfo

type OldZkBNBPairInfo struct {
	TokenA               common.Address
	TokenB               common.Address
	FeeRate              uint16
	TreasuryAccountIndex uint32
	TreasuryRate         uint16
}

OldZkBNBPairInfo is an auto generated low-level Go binding around an user-defined struct.

type OldZkBNBVerifyAndExecuteBlockInfo

type OldZkBNBVerifyAndExecuteBlockInfo struct {
	BlockHeader              StorageStoredBlockInfo
	PendingOnchainOpsPubData [][]byte
}

OldZkBNBVerifyAndExecuteBlockInfo is an auto generated low-level Go binding around an user-defined struct.

type StorageStoredBlockInfo

type StorageStoredBlockInfo struct {
	BlockSize                    uint16
	BlockNumber                  uint32
	PriorityOperations           uint64
	PendingOnchainOperationsHash [32]byte
	Timestamp                    *big.Int
	StateRoot                    [32]byte
	Commitment                   [32]byte
}

StorageStoredBlockInfo is an auto generated low-level Go binding around an user-defined struct.

type ZkBNB

type ZkBNB struct {
	ZkBNBCaller     // Read-only binding to the contract
	ZkBNBTransactor // Write-only binding to the contract
	ZkBNBFilterer   // Log filterer for contract events
}

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

func LoadZkBNBInstance

func LoadZkBNBInstance(cli *rpc.ProviderClient, addr string) (instance *ZkBNB, err error)

LoadZkBNBInstance: load zkbnb instance if it is already deployed

func NewZkBNB

func NewZkBNB(address common.Address, backend bind.ContractBackend) (*ZkBNB, error)

NewZkBNB creates a new instance of ZkBNB, bound to a specific deployed contract.

type ZkBNBBlockCommit

type ZkBNBBlockCommit struct {
	BlockNumber uint32
	Raw         types.Log // Blockchain specific contextual infos
}

ZkBNBBlockCommit represents a BlockCommit event raised by the ZkBNB contract.

type ZkBNBBlockCommitIterator

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

ZkBNBBlockCommitIterator is returned from FilterBlockCommit and is used to iterate over the raw logs and unpacked data for BlockCommit events raised by the ZkBNB contract.

func (*ZkBNBBlockCommitIterator) Close

func (it *ZkBNBBlockCommitIterator) Close() error

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

func (*ZkBNBBlockCommitIterator) Error

func (it *ZkBNBBlockCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBBlockCommitIterator) Next

func (it *ZkBNBBlockCommitIterator) 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 ZkBNBBlockVerification

type ZkBNBBlockVerification struct {
	BlockNumber uint32
	Raw         types.Log // Blockchain specific contextual infos
}

ZkBNBBlockVerification represents a BlockVerification event raised by the ZkBNB contract.

type ZkBNBBlockVerificationIterator

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

ZkBNBBlockVerificationIterator is returned from FilterBlockVerification and is used to iterate over the raw logs and unpacked data for BlockVerification events raised by the ZkBNB contract.

func (*ZkBNBBlockVerificationIterator) Close

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

func (*ZkBNBBlockVerificationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBBlockVerificationIterator) Next

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

type ZkBNBBlocksRevert

type ZkBNBBlocksRevert struct {
	TotalBlocksVerified  uint32
	TotalBlocksCommitted uint32
	Raw                  types.Log // Blockchain specific contextual infos
}

ZkBNBBlocksRevert represents a BlocksRevert event raised by the ZkBNB contract.

type ZkBNBBlocksRevertIterator

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

ZkBNBBlocksRevertIterator is returned from FilterBlocksRevert and is used to iterate over the raw logs and unpacked data for BlocksRevert events raised by the ZkBNB contract.

func (*ZkBNBBlocksRevertIterator) Close

func (it *ZkBNBBlocksRevertIterator) Close() error

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

func (*ZkBNBBlocksRevertIterator) Error

func (it *ZkBNBBlocksRevertIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBBlocksRevertIterator) Next

func (it *ZkBNBBlocksRevertIterator) 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 ZkBNBCaller

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

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

func NewZkBNBCaller

func NewZkBNBCaller(address common.Address, caller bind.ContractCaller) (*ZkBNBCaller, error)

NewZkBNBCaller creates a new read-only instance of ZkBNB, bound to a specific deployed contract.

func (*ZkBNBCaller) DefaultNFTFactory

func (_ZkBNB *ZkBNBCaller) DefaultNFTFactory(opts *bind.CallOpts) (common.Address, error)

DefaultNFTFactory is a free data retrieval call binding the contract method 0x940f19c0.

Solidity: function defaultNFTFactory() view returns(address)

func (*ZkBNBCaller) DesertMode

func (_ZkBNB *ZkBNBCaller) DesertMode(opts *bind.CallOpts) (bool, error)

DesertMode is a free data retrieval call binding the contract method 0x02cfb563.

Solidity: function desertMode() view returns(bool)

func (*ZkBNBCaller) FirstPriorityRequestId

func (_ZkBNB *ZkBNBCaller) FirstPriorityRequestId(opts *bind.CallOpts) (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkBNBCaller) GetAddressByAccountNameHash

func (_ZkBNB *ZkBNBCaller) GetAddressByAccountNameHash(opts *bind.CallOpts, accountNameHash [32]byte) (common.Address, error)

GetAddressByAccountNameHash is a free data retrieval call binding the contract method 0x0b8f1c0c.

Solidity: function getAddressByAccountNameHash(bytes32 accountNameHash) view returns(address)

func (*ZkBNBCaller) GetNFTFactory

func (_ZkBNB *ZkBNBCaller) GetNFTFactory(opts *bind.CallOpts, _creatorAccountNameHash [32]byte, _collectionId uint32) (common.Address, error)

GetNFTFactory is a free data retrieval call binding the contract method 0x76b4da60.

Solidity: function getNFTFactory(bytes32 _creatorAccountNameHash, uint32 _collectionId) view returns(address)

func (*ZkBNBCaller) GetNoticePeriod

func (_ZkBNB *ZkBNBCaller) GetNoticePeriod(opts *bind.CallOpts) (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkBNBCaller) GetPendingBalance

func (_ZkBNB *ZkBNBCaller) GetPendingBalance(opts *bind.CallOpts, _address common.Address, _assetAddr common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _assetAddr) view returns(uint128)

func (*ZkBNBCaller) IsReadyForUpgrade

func (_ZkBNB *ZkBNBCaller) IsReadyForUpgrade(opts *bind.CallOpts) (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkBNBCaller) MAXACCOUNTINDEX

func (_ZkBNB *ZkBNBCaller) MAXACCOUNTINDEX(opts *bind.CallOpts) (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*ZkBNBCaller) MAXAMOUNTOFREGISTEREDASSETS

func (_ZkBNB *ZkBNBCaller) MAXAMOUNTOFREGISTEREDASSETS(opts *bind.CallOpts) (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*ZkBNBCaller) MAXDEPOSITAMOUNT

func (_ZkBNB *ZkBNBCaller) MAXDEPOSITAMOUNT(opts *bind.CallOpts) (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*ZkBNBCaller) MAXFUNGIBLEASSETID

func (_ZkBNB *ZkBNBCaller) MAXFUNGIBLEASSETID(opts *bind.CallOpts) (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*ZkBNBCaller) MAXNFTINDEX

func (_ZkBNB *ZkBNBCaller) MAXNFTINDEX(opts *bind.CallOpts) (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*ZkBNBCaller) NftFactories

func (_ZkBNB *ZkBNBCaller) NftFactories(opts *bind.CallOpts, arg0 [32]byte, arg1 uint32) (common.Address, error)

NftFactories is a free data retrieval call binding the contract method 0x16335e06.

Solidity: function nftFactories(bytes32 , uint32 ) view returns(address)

func (*ZkBNBCaller) SECURITYCOUNCILMEMBERSNUMBER

func (_ZkBNB *ZkBNBCaller) SECURITYCOUNCILMEMBERSNUMBER(opts *bind.CallOpts) (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*ZkBNBCaller) SHORTESTUPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBCaller) SHORTESTUPGRADENOTICEPERIOD(opts *bind.CallOpts) (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBCaller) SPECIALACCOUNTADDRESS

func (_ZkBNB *ZkBNBCaller) SPECIALACCOUNTADDRESS(opts *bind.CallOpts) (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*ZkBNBCaller) SPECIALACCOUNTID

func (_ZkBNB *ZkBNBCaller) SPECIALACCOUNTID(opts *bind.CallOpts) (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*ZkBNBCaller) StateRoot

func (_ZkBNB *ZkBNBCaller) StateRoot(opts *bind.CallOpts) ([32]byte, error)

StateRoot is a free data retrieval call binding the contract method 0x9588eca2.

Solidity: function stateRoot() view returns(bytes32)

func (*ZkBNBCaller) StoredBlockHashes

func (_ZkBNB *ZkBNBCaller) StoredBlockHashes(opts *bind.CallOpts, arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkBNBCaller) TXSIZE

func (_ZkBNB *ZkBNBCaller) TXSIZE(opts *bind.CallOpts) (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*ZkBNBCaller) TotalBlocksCommitted

func (_ZkBNB *ZkBNBCaller) TotalBlocksCommitted(opts *bind.CallOpts) (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkBNBCaller) TotalBlocksVerified

func (_ZkBNB *ZkBNBCaller) TotalBlocksVerified(opts *bind.CallOpts) (uint32, error)

TotalBlocksVerified is a free data retrieval call binding the contract method 0x2d24006c.

Solidity: function totalBlocksVerified() view returns(uint32)

func (*ZkBNBCaller) TotalOpenPriorityRequests

func (_ZkBNB *ZkBNBCaller) TotalOpenPriorityRequests(opts *bind.CallOpts) (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZkBNBCaller) TotalTokenPairs

func (_ZkBNB *ZkBNBCaller) TotalTokenPairs(opts *bind.CallOpts) (uint16, error)

TotalTokenPairs is a free data retrieval call binding the contract method 0xd0ad718d.

Solidity: function totalTokenPairs() view returns(uint16)

func (*ZkBNBCaller) UPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBCaller) UPGRADENOTICEPERIOD(opts *bind.CallOpts) (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBCaller) WITHDRAWALGASLIMIT

func (_ZkBNB *ZkBNBCaller) WITHDRAWALGASLIMIT(opts *bind.CallOpts) (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

type ZkBNBCallerRaw

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

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

func (*ZkBNBCallerRaw) Call

func (_ZkBNB *ZkBNBCallerRaw) 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 ZkBNBCallerSession

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

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

func (*ZkBNBCallerSession) DefaultNFTFactory

func (_ZkBNB *ZkBNBCallerSession) DefaultNFTFactory() (common.Address, error)

DefaultNFTFactory is a free data retrieval call binding the contract method 0x940f19c0.

Solidity: function defaultNFTFactory() view returns(address)

func (*ZkBNBCallerSession) DesertMode

func (_ZkBNB *ZkBNBCallerSession) DesertMode() (bool, error)

DesertMode is a free data retrieval call binding the contract method 0x02cfb563.

Solidity: function desertMode() view returns(bool)

func (*ZkBNBCallerSession) FirstPriorityRequestId

func (_ZkBNB *ZkBNBCallerSession) FirstPriorityRequestId() (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkBNBCallerSession) GetAddressByAccountNameHash

func (_ZkBNB *ZkBNBCallerSession) GetAddressByAccountNameHash(accountNameHash [32]byte) (common.Address, error)

GetAddressByAccountNameHash is a free data retrieval call binding the contract method 0x0b8f1c0c.

Solidity: function getAddressByAccountNameHash(bytes32 accountNameHash) view returns(address)

func (*ZkBNBCallerSession) GetNFTFactory

func (_ZkBNB *ZkBNBCallerSession) GetNFTFactory(_creatorAccountNameHash [32]byte, _collectionId uint32) (common.Address, error)

GetNFTFactory is a free data retrieval call binding the contract method 0x76b4da60.

Solidity: function getNFTFactory(bytes32 _creatorAccountNameHash, uint32 _collectionId) view returns(address)

func (*ZkBNBCallerSession) GetNoticePeriod

func (_ZkBNB *ZkBNBCallerSession) GetNoticePeriod() (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkBNBCallerSession) GetPendingBalance

func (_ZkBNB *ZkBNBCallerSession) GetPendingBalance(_address common.Address, _assetAddr common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _assetAddr) view returns(uint128)

func (*ZkBNBCallerSession) IsReadyForUpgrade

func (_ZkBNB *ZkBNBCallerSession) IsReadyForUpgrade() (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkBNBCallerSession) MAXACCOUNTINDEX

func (_ZkBNB *ZkBNBCallerSession) MAXACCOUNTINDEX() (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*ZkBNBCallerSession) MAXAMOUNTOFREGISTEREDASSETS

func (_ZkBNB *ZkBNBCallerSession) MAXAMOUNTOFREGISTEREDASSETS() (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*ZkBNBCallerSession) MAXDEPOSITAMOUNT

func (_ZkBNB *ZkBNBCallerSession) MAXDEPOSITAMOUNT() (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*ZkBNBCallerSession) MAXFUNGIBLEASSETID

func (_ZkBNB *ZkBNBCallerSession) MAXFUNGIBLEASSETID() (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*ZkBNBCallerSession) MAXNFTINDEX

func (_ZkBNB *ZkBNBCallerSession) MAXNFTINDEX() (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*ZkBNBCallerSession) NftFactories

func (_ZkBNB *ZkBNBCallerSession) NftFactories(arg0 [32]byte, arg1 uint32) (common.Address, error)

NftFactories is a free data retrieval call binding the contract method 0x16335e06.

Solidity: function nftFactories(bytes32 , uint32 ) view returns(address)

func (*ZkBNBCallerSession) SECURITYCOUNCILMEMBERSNUMBER

func (_ZkBNB *ZkBNBCallerSession) SECURITYCOUNCILMEMBERSNUMBER() (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*ZkBNBCallerSession) SHORTESTUPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBCallerSession) SHORTESTUPGRADENOTICEPERIOD() (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBCallerSession) SPECIALACCOUNTADDRESS

func (_ZkBNB *ZkBNBCallerSession) SPECIALACCOUNTADDRESS() (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*ZkBNBCallerSession) SPECIALACCOUNTID

func (_ZkBNB *ZkBNBCallerSession) SPECIALACCOUNTID() (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*ZkBNBCallerSession) StateRoot

func (_ZkBNB *ZkBNBCallerSession) StateRoot() ([32]byte, error)

StateRoot is a free data retrieval call binding the contract method 0x9588eca2.

Solidity: function stateRoot() view returns(bytes32)

func (*ZkBNBCallerSession) StoredBlockHashes

func (_ZkBNB *ZkBNBCallerSession) StoredBlockHashes(arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkBNBCallerSession) TXSIZE

func (_ZkBNB *ZkBNBCallerSession) TXSIZE() (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*ZkBNBCallerSession) TotalBlocksCommitted

func (_ZkBNB *ZkBNBCallerSession) TotalBlocksCommitted() (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkBNBCallerSession) TotalBlocksVerified

func (_ZkBNB *ZkBNBCallerSession) TotalBlocksVerified() (uint32, error)

TotalBlocksVerified is a free data retrieval call binding the contract method 0x2d24006c.

Solidity: function totalBlocksVerified() view returns(uint32)

func (*ZkBNBCallerSession) TotalOpenPriorityRequests

func (_ZkBNB *ZkBNBCallerSession) TotalOpenPriorityRequests() (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZkBNBCallerSession) TotalTokenPairs

func (_ZkBNB *ZkBNBCallerSession) TotalTokenPairs() (uint16, error)

TotalTokenPairs is a free data retrieval call binding the contract method 0xd0ad718d.

Solidity: function totalTokenPairs() view returns(uint16)

func (*ZkBNBCallerSession) UPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBCallerSession) UPGRADENOTICEPERIOD() (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBCallerSession) WITHDRAWALGASLIMIT

func (_ZkBNB *ZkBNBCallerSession) WITHDRAWALGASLIMIT() (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

type ZkBNBCreateTokenPair

type ZkBNBCreateTokenPair struct {
	PairIndex            uint16
	Asset0Id             uint16
	Asset1Id             uint16
	FeeRate              uint16
	TreasuryAccountIndex uint32
	TreasuryRate         uint16
	Raw                  types.Log // Blockchain specific contextual infos
}

ZkBNBCreateTokenPair represents a CreateTokenPair event raised by the ZkBNB contract.

type ZkBNBCreateTokenPairIterator

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

ZkBNBCreateTokenPairIterator is returned from FilterCreateTokenPair and is used to iterate over the raw logs and unpacked data for CreateTokenPair events raised by the ZkBNB contract.

func (*ZkBNBCreateTokenPairIterator) Close

func (it *ZkBNBCreateTokenPairIterator) Close() error

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

func (*ZkBNBCreateTokenPairIterator) Error

func (it *ZkBNBCreateTokenPairIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBCreateTokenPairIterator) Next

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

type ZkBNBDeposit

type ZkBNBDeposit struct {
	AssetId     uint16
	AccountName [32]byte
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ZkBNBDeposit represents a Deposit event raised by the ZkBNB contract.

type ZkBNBDepositCommit

type ZkBNBDepositCommit struct {
	ZkbnbBlockNumber uint32
	AccountIndex     uint32
	AccountName      [32]byte
	AssetId          uint16
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ZkBNBDepositCommit represents a DepositCommit event raised by the ZkBNB contract.

type ZkBNBDepositCommitIterator

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

ZkBNBDepositCommitIterator is returned from FilterDepositCommit and is used to iterate over the raw logs and unpacked data for DepositCommit events raised by the ZkBNB contract.

func (*ZkBNBDepositCommitIterator) Close

func (it *ZkBNBDepositCommitIterator) Close() error

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

func (*ZkBNBDepositCommitIterator) Error

func (it *ZkBNBDepositCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBDepositCommitIterator) Next

func (it *ZkBNBDepositCommitIterator) 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 ZkBNBDepositIterator

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

ZkBNBDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ZkBNB contract.

func (*ZkBNBDepositIterator) Close

func (it *ZkBNBDepositIterator) Close() error

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

func (*ZkBNBDepositIterator) Error

func (it *ZkBNBDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBDepositIterator) Next

func (it *ZkBNBDepositIterator) 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 ZkBNBDepositNft

type ZkBNBDepositNft struct {
	AccountNameHash     [32]byte
	NftContentHash      [32]byte
	TokenAddress        common.Address
	NftTokenId          *big.Int
	CreatorTreasuryRate uint16
	Raw                 types.Log // Blockchain specific contextual infos
}

ZkBNBDepositNft represents a DepositNft event raised by the ZkBNB contract.

type ZkBNBDepositNftIterator

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

ZkBNBDepositNftIterator is returned from FilterDepositNft and is used to iterate over the raw logs and unpacked data for DepositNft events raised by the ZkBNB contract.

func (*ZkBNBDepositNftIterator) Close

func (it *ZkBNBDepositNftIterator) Close() error

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

func (*ZkBNBDepositNftIterator) Error

func (it *ZkBNBDepositNftIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBDepositNftIterator) Next

func (it *ZkBNBDepositNftIterator) 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 ZkBNBDesertMode

type ZkBNBDesertMode struct {
	Raw types.Log // Blockchain specific contextual infos
}

ZkBNBDesertMode represents a DesertMode event raised by the ZkBNB contract.

type ZkBNBDesertModeIterator

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

ZkBNBDesertModeIterator is returned from FilterDesertMode and is used to iterate over the raw logs and unpacked data for DesertMode events raised by the ZkBNB contract.

func (*ZkBNBDesertModeIterator) Close

func (it *ZkBNBDesertModeIterator) Close() error

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

func (*ZkBNBDesertModeIterator) Error

func (it *ZkBNBDesertModeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBDesertModeIterator) Next

func (it *ZkBNBDesertModeIterator) 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 ZkBNBFilterer

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

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

func NewZkBNBFilterer

func NewZkBNBFilterer(address common.Address, filterer bind.ContractFilterer) (*ZkBNBFilterer, error)

NewZkBNBFilterer creates a new log filterer instance of ZkBNB, bound to a specific deployed contract.

func (*ZkBNBFilterer) FilterBlockCommit

func (_ZkBNB *ZkBNBFilterer) FilterBlockCommit(opts *bind.FilterOpts) (*ZkBNBBlockCommitIterator, error)

FilterBlockCommit is a free log retrieval operation binding the contract event 0x81a92942d0f9c33b897a438384c9c3d88be397776138efa3ba1a4fc8b6268424.

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZkBNBFilterer) FilterBlockVerification

func (_ZkBNB *ZkBNBFilterer) FilterBlockVerification(opts *bind.FilterOpts) (*ZkBNBBlockVerificationIterator, error)

FilterBlockVerification is a free log retrieval operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZkBNBFilterer) FilterBlocksRevert

func (_ZkBNB *ZkBNBFilterer) FilterBlocksRevert(opts *bind.FilterOpts) (*ZkBNBBlocksRevertIterator, error)

FilterBlocksRevert is a free log retrieval operation binding the contract event 0x6f3a8259cce1ea2680115053d21c971aa1764295a45850f520525f2bfdf3c9d3.

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkBNBFilterer) FilterCreateTokenPair

func (_ZkBNB *ZkBNBFilterer) FilterCreateTokenPair(opts *bind.FilterOpts) (*ZkBNBCreateTokenPairIterator, error)

FilterCreateTokenPair is a free log retrieval operation binding the contract event 0x82e21fd4ced46b510ee1bf5a34eea3dc34aa1f5460f53a25dd22828cde30e087.

Solidity: event CreateTokenPair(uint16 pairIndex, uint16 asset0Id, uint16 asset1Id, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) FilterDeposit

func (_ZkBNB *ZkBNBFilterer) FilterDeposit(opts *bind.FilterOpts) (*ZkBNBDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xaa46d46658f805449ac7eaaf11d3eaebb6f508930128d276dfefcc8dc02a13c7.

Solidity: event Deposit(uint16 assetId, bytes32 accountName, uint128 amount)

func (*ZkBNBFilterer) FilterDepositCommit

func (_ZkBNB *ZkBNBFilterer) FilterDepositCommit(opts *bind.FilterOpts, zkbnbBlockNumber []uint32, accountIndex []uint32, assetId []uint16) (*ZkBNBDepositCommitIterator, error)

FilterDepositCommit is a free log retrieval operation binding the contract event 0x9b3e77f05cee61edb7f3e0e85d71a29e89cb18cb4236a8b8cc3e4d66640d8f71.

Solidity: event DepositCommit(uint32 indexed zkbnbBlockNumber, uint32 indexed accountIndex, bytes32 accountName, uint16 indexed assetId, uint128 amount)

func (*ZkBNBFilterer) FilterDepositNft

func (_ZkBNB *ZkBNBFilterer) FilterDepositNft(opts *bind.FilterOpts) (*ZkBNBDepositNftIterator, error)

FilterDepositNft is a free log retrieval operation binding the contract event 0x42f9fbd77faf066fde386943aaafcc841fba6b755dc5da7939a046cbc493c24f.

Solidity: event DepositNft(bytes32 accountNameHash, bytes32 nftContentHash, address tokenAddress, uint256 nftTokenId, uint16 creatorTreasuryRate)

func (*ZkBNBFilterer) FilterDesertMode

func (_ZkBNB *ZkBNBFilterer) FilterDesertMode(opts *bind.FilterOpts) (*ZkBNBDesertModeIterator, error)

FilterDesertMode is a free log retrieval operation binding the contract event 0x9f7e400a81dddbf1c18b1c37f82aa303d166295ca4b577eb2a7c23d4b704ba89.

Solidity: event DesertMode()

func (*ZkBNBFilterer) FilterFullExitCommit

func (_ZkBNB *ZkBNBFilterer) FilterFullExitCommit(opts *bind.FilterOpts, zkbnbBlockId []uint32, accountId []uint32, tokenId []uint16) (*ZkBNBFullExitCommitIterator, error)

FilterFullExitCommit is a free log retrieval operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkbnbBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkBNBFilterer) FilterNewDefaultNFTFactory

func (_ZkBNB *ZkBNBFilterer) FilterNewDefaultNFTFactory(opts *bind.FilterOpts, factory []common.Address) (*ZkBNBNewDefaultNFTFactoryIterator, error)

FilterNewDefaultNFTFactory is a free log retrieval operation binding the contract event 0xadf2ec6c092b7101c958de6b55caf4818f26a946e94fa556cbe3b3f29ff9f2ee.

Solidity: event NewDefaultNFTFactory(address indexed factory)

func (*ZkBNBFilterer) FilterNewNFTFactory

func (_ZkBNB *ZkBNBFilterer) FilterNewNFTFactory(opts *bind.FilterOpts, _creatorAccountNameHash [][32]byte) (*ZkBNBNewNFTFactoryIterator, error)

FilterNewNFTFactory is a free log retrieval operation binding the contract event 0xaa31b08b26b4240f7d2837e3fb6359824b509a4e4c5a5766af80f63c319add7e.

Solidity: event NewNFTFactory(bytes32 indexed _creatorAccountNameHash, uint32 _collectionId, address _factoryAddress)

func (*ZkBNBFilterer) FilterNewPriorityRequest

func (_ZkBNB *ZkBNBFilterer) FilterNewPriorityRequest(opts *bind.FilterOpts) (*ZkBNBNewPriorityRequestIterator, error)

FilterNewPriorityRequest is a free log retrieval operation binding the contract event 0xd0943372c08b438a88d4b39d77216901079eda9ca59d45349841c099083b6830.

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 txType, bytes pubData, uint256 expirationBlock)

func (*ZkBNBFilterer) FilterNoticePeriodChange

func (_ZkBNB *ZkBNBFilterer) FilterNoticePeriodChange(opts *bind.FilterOpts) (*ZkBNBNoticePeriodChangeIterator, error)

FilterNoticePeriodChange is a free log retrieval operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkBNBFilterer) FilterRegisterZNS

func (_ZkBNB *ZkBNBFilterer) FilterRegisterZNS(opts *bind.FilterOpts) (*ZkBNBRegisterZNSIterator, error)

FilterRegisterZNS is a free log retrieval operation binding the contract event 0xebe5b00e9e9052d45c93d72544961460aa0fa30e0142c07d7dd81025cf9dab6c.

Solidity: event RegisterZNS(string name, bytes32 nameHash, address owner, bytes32 zkbnbPubKeyX, bytes32 zkbnbPubKeyY, uint32 accountIndex)

func (*ZkBNBFilterer) FilterUpdateTokenPair

func (_ZkBNB *ZkBNBFilterer) FilterUpdateTokenPair(opts *bind.FilterOpts) (*ZkBNBUpdateTokenPairIterator, error)

FilterUpdateTokenPair is a free log retrieval operation binding the contract event 0x8727712867f019c156b0c25f308498ea1524b635902129b0acd3e9ff2c96f1c8.

Solidity: event UpdateTokenPair(uint16 pairIndex, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) FilterWithdrawNft

func (_ZkBNB *ZkBNBFilterer) FilterWithdrawNft(opts *bind.FilterOpts) (*ZkBNBWithdrawNftIterator, error)

FilterWithdrawNft is a free log retrieval operation binding the contract event 0x001c1fcac2c66b39f6b0a825948e9f8892b2d4a17edc60aaf61ca474e08402ec.

Solidity: event WithdrawNft(uint32 accountIndex, address nftL1Address, address toAddress, uint256 nftL1TokenId)

func (*ZkBNBFilterer) FilterWithdrawal

func (_ZkBNB *ZkBNBFilterer) FilterWithdrawal(opts *bind.FilterOpts) (*ZkBNBWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZkBNBFilterer) FilterWithdrawalNFTPending

func (_ZkBNB *ZkBNBFilterer) FilterWithdrawalNFTPending(opts *bind.FilterOpts, nftIndex []*big.Int) (*ZkBNBWithdrawalNFTPendingIterator, error)

FilterWithdrawalNFTPending is a free log retrieval operation binding the contract event 0x71aea045e572384e5b53812f175c12adb074001c9c13d379730d15188d3729bc.

Solidity: event WithdrawalNFTPending(uint40 indexed nftIndex)

func (*ZkBNBFilterer) ParseBlockCommit

func (_ZkBNB *ZkBNBFilterer) ParseBlockCommit(log types.Log) (*ZkBNBBlockCommit, error)

ParseBlockCommit is a log parse operation binding the contract event 0x81a92942d0f9c33b897a438384c9c3d88be397776138efa3ba1a4fc8b6268424.

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZkBNBFilterer) ParseBlockVerification

func (_ZkBNB *ZkBNBFilterer) ParseBlockVerification(log types.Log) (*ZkBNBBlockVerification, error)

ParseBlockVerification is a log parse operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZkBNBFilterer) ParseBlocksRevert

func (_ZkBNB *ZkBNBFilterer) ParseBlocksRevert(log types.Log) (*ZkBNBBlocksRevert, error)

ParseBlocksRevert is a log parse operation binding the contract event 0x6f3a8259cce1ea2680115053d21c971aa1764295a45850f520525f2bfdf3c9d3.

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkBNBFilterer) ParseCreateTokenPair

func (_ZkBNB *ZkBNBFilterer) ParseCreateTokenPair(log types.Log) (*ZkBNBCreateTokenPair, error)

ParseCreateTokenPair is a log parse operation binding the contract event 0x82e21fd4ced46b510ee1bf5a34eea3dc34aa1f5460f53a25dd22828cde30e087.

Solidity: event CreateTokenPair(uint16 pairIndex, uint16 asset0Id, uint16 asset1Id, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) ParseDeposit

func (_ZkBNB *ZkBNBFilterer) ParseDeposit(log types.Log) (*ZkBNBDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xaa46d46658f805449ac7eaaf11d3eaebb6f508930128d276dfefcc8dc02a13c7.

Solidity: event Deposit(uint16 assetId, bytes32 accountName, uint128 amount)

func (*ZkBNBFilterer) ParseDepositCommit

func (_ZkBNB *ZkBNBFilterer) ParseDepositCommit(log types.Log) (*ZkBNBDepositCommit, error)

ParseDepositCommit is a log parse operation binding the contract event 0x9b3e77f05cee61edb7f3e0e85d71a29e89cb18cb4236a8b8cc3e4d66640d8f71.

Solidity: event DepositCommit(uint32 indexed zkbnbBlockNumber, uint32 indexed accountIndex, bytes32 accountName, uint16 indexed assetId, uint128 amount)

func (*ZkBNBFilterer) ParseDepositNft

func (_ZkBNB *ZkBNBFilterer) ParseDepositNft(log types.Log) (*ZkBNBDepositNft, error)

ParseDepositNft is a log parse operation binding the contract event 0x42f9fbd77faf066fde386943aaafcc841fba6b755dc5da7939a046cbc493c24f.

Solidity: event DepositNft(bytes32 accountNameHash, bytes32 nftContentHash, address tokenAddress, uint256 nftTokenId, uint16 creatorTreasuryRate)

func (*ZkBNBFilterer) ParseDesertMode

func (_ZkBNB *ZkBNBFilterer) ParseDesertMode(log types.Log) (*ZkBNBDesertMode, error)

ParseDesertMode is a log parse operation binding the contract event 0x9f7e400a81dddbf1c18b1c37f82aa303d166295ca4b577eb2a7c23d4b704ba89.

Solidity: event DesertMode()

func (*ZkBNBFilterer) ParseFullExitCommit

func (_ZkBNB *ZkBNBFilterer) ParseFullExitCommit(log types.Log) (*ZkBNBFullExitCommit, error)

ParseFullExitCommit is a log parse operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkbnbBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkBNBFilterer) ParseNewDefaultNFTFactory

func (_ZkBNB *ZkBNBFilterer) ParseNewDefaultNFTFactory(log types.Log) (*ZkBNBNewDefaultNFTFactory, error)

ParseNewDefaultNFTFactory is a log parse operation binding the contract event 0xadf2ec6c092b7101c958de6b55caf4818f26a946e94fa556cbe3b3f29ff9f2ee.

Solidity: event NewDefaultNFTFactory(address indexed factory)

func (*ZkBNBFilterer) ParseNewNFTFactory

func (_ZkBNB *ZkBNBFilterer) ParseNewNFTFactory(log types.Log) (*ZkBNBNewNFTFactory, error)

ParseNewNFTFactory is a log parse operation binding the contract event 0xaa31b08b26b4240f7d2837e3fb6359824b509a4e4c5a5766af80f63c319add7e.

Solidity: event NewNFTFactory(bytes32 indexed _creatorAccountNameHash, uint32 _collectionId, address _factoryAddress)

func (*ZkBNBFilterer) ParseNewPriorityRequest

func (_ZkBNB *ZkBNBFilterer) ParseNewPriorityRequest(log types.Log) (*ZkBNBNewPriorityRequest, error)

ParseNewPriorityRequest is a log parse operation binding the contract event 0xd0943372c08b438a88d4b39d77216901079eda9ca59d45349841c099083b6830.

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 txType, bytes pubData, uint256 expirationBlock)

func (*ZkBNBFilterer) ParseNoticePeriodChange

func (_ZkBNB *ZkBNBFilterer) ParseNoticePeriodChange(log types.Log) (*ZkBNBNoticePeriodChange, error)

ParseNoticePeriodChange is a log parse operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkBNBFilterer) ParseRegisterZNS

func (_ZkBNB *ZkBNBFilterer) ParseRegisterZNS(log types.Log) (*ZkBNBRegisterZNS, error)

ParseRegisterZNS is a log parse operation binding the contract event 0xebe5b00e9e9052d45c93d72544961460aa0fa30e0142c07d7dd81025cf9dab6c.

Solidity: event RegisterZNS(string name, bytes32 nameHash, address owner, bytes32 zkbnbPubKeyX, bytes32 zkbnbPubKeyY, uint32 accountIndex)

func (*ZkBNBFilterer) ParseUpdateTokenPair

func (_ZkBNB *ZkBNBFilterer) ParseUpdateTokenPair(log types.Log) (*ZkBNBUpdateTokenPair, error)

ParseUpdateTokenPair is a log parse operation binding the contract event 0x8727712867f019c156b0c25f308498ea1524b635902129b0acd3e9ff2c96f1c8.

Solidity: event UpdateTokenPair(uint16 pairIndex, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) ParseWithdrawNft

func (_ZkBNB *ZkBNBFilterer) ParseWithdrawNft(log types.Log) (*ZkBNBWithdrawNft, error)

ParseWithdrawNft is a log parse operation binding the contract event 0x001c1fcac2c66b39f6b0a825948e9f8892b2d4a17edc60aaf61ca474e08402ec.

Solidity: event WithdrawNft(uint32 accountIndex, address nftL1Address, address toAddress, uint256 nftL1TokenId)

func (*ZkBNBFilterer) ParseWithdrawal

func (_ZkBNB *ZkBNBFilterer) ParseWithdrawal(log types.Log) (*ZkBNBWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZkBNBFilterer) ParseWithdrawalNFTPending

func (_ZkBNB *ZkBNBFilterer) ParseWithdrawalNFTPending(log types.Log) (*ZkBNBWithdrawalNFTPending, error)

ParseWithdrawalNFTPending is a log parse operation binding the contract event 0x71aea045e572384e5b53812f175c12adb074001c9c13d379730d15188d3729bc.

Solidity: event WithdrawalNFTPending(uint40 indexed nftIndex)

func (*ZkBNBFilterer) WatchBlockCommit

func (_ZkBNB *ZkBNBFilterer) WatchBlockCommit(opts *bind.WatchOpts, sink chan<- *ZkBNBBlockCommit) (event.Subscription, error)

WatchBlockCommit is a free log subscription operation binding the contract event 0x81a92942d0f9c33b897a438384c9c3d88be397776138efa3ba1a4fc8b6268424.

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZkBNBFilterer) WatchBlockVerification

func (_ZkBNB *ZkBNBFilterer) WatchBlockVerification(opts *bind.WatchOpts, sink chan<- *ZkBNBBlockVerification) (event.Subscription, error)

WatchBlockVerification is a free log subscription operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZkBNBFilterer) WatchBlocksRevert

func (_ZkBNB *ZkBNBFilterer) WatchBlocksRevert(opts *bind.WatchOpts, sink chan<- *ZkBNBBlocksRevert) (event.Subscription, error)

WatchBlocksRevert is a free log subscription operation binding the contract event 0x6f3a8259cce1ea2680115053d21c971aa1764295a45850f520525f2bfdf3c9d3.

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkBNBFilterer) WatchCreateTokenPair

func (_ZkBNB *ZkBNBFilterer) WatchCreateTokenPair(opts *bind.WatchOpts, sink chan<- *ZkBNBCreateTokenPair) (event.Subscription, error)

WatchCreateTokenPair is a free log subscription operation binding the contract event 0x82e21fd4ced46b510ee1bf5a34eea3dc34aa1f5460f53a25dd22828cde30e087.

Solidity: event CreateTokenPair(uint16 pairIndex, uint16 asset0Id, uint16 asset1Id, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) WatchDeposit

func (_ZkBNB *ZkBNBFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZkBNBDeposit) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xaa46d46658f805449ac7eaaf11d3eaebb6f508930128d276dfefcc8dc02a13c7.

Solidity: event Deposit(uint16 assetId, bytes32 accountName, uint128 amount)

func (*ZkBNBFilterer) WatchDepositCommit

func (_ZkBNB *ZkBNBFilterer) WatchDepositCommit(opts *bind.WatchOpts, sink chan<- *ZkBNBDepositCommit, zkbnbBlockNumber []uint32, accountIndex []uint32, assetId []uint16) (event.Subscription, error)

WatchDepositCommit is a free log subscription operation binding the contract event 0x9b3e77f05cee61edb7f3e0e85d71a29e89cb18cb4236a8b8cc3e4d66640d8f71.

Solidity: event DepositCommit(uint32 indexed zkbnbBlockNumber, uint32 indexed accountIndex, bytes32 accountName, uint16 indexed assetId, uint128 amount)

func (*ZkBNBFilterer) WatchDepositNft

func (_ZkBNB *ZkBNBFilterer) WatchDepositNft(opts *bind.WatchOpts, sink chan<- *ZkBNBDepositNft) (event.Subscription, error)

WatchDepositNft is a free log subscription operation binding the contract event 0x42f9fbd77faf066fde386943aaafcc841fba6b755dc5da7939a046cbc493c24f.

Solidity: event DepositNft(bytes32 accountNameHash, bytes32 nftContentHash, address tokenAddress, uint256 nftTokenId, uint16 creatorTreasuryRate)

func (*ZkBNBFilterer) WatchDesertMode

func (_ZkBNB *ZkBNBFilterer) WatchDesertMode(opts *bind.WatchOpts, sink chan<- *ZkBNBDesertMode) (event.Subscription, error)

WatchDesertMode is a free log subscription operation binding the contract event 0x9f7e400a81dddbf1c18b1c37f82aa303d166295ca4b577eb2a7c23d4b704ba89.

Solidity: event DesertMode()

func (*ZkBNBFilterer) WatchFullExitCommit

func (_ZkBNB *ZkBNBFilterer) WatchFullExitCommit(opts *bind.WatchOpts, sink chan<- *ZkBNBFullExitCommit, zkbnbBlockId []uint32, accountId []uint32, tokenId []uint16) (event.Subscription, error)

WatchFullExitCommit is a free log subscription operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkbnbBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkBNBFilterer) WatchNewDefaultNFTFactory

func (_ZkBNB *ZkBNBFilterer) WatchNewDefaultNFTFactory(opts *bind.WatchOpts, sink chan<- *ZkBNBNewDefaultNFTFactory, factory []common.Address) (event.Subscription, error)

WatchNewDefaultNFTFactory is a free log subscription operation binding the contract event 0xadf2ec6c092b7101c958de6b55caf4818f26a946e94fa556cbe3b3f29ff9f2ee.

Solidity: event NewDefaultNFTFactory(address indexed factory)

func (*ZkBNBFilterer) WatchNewNFTFactory

func (_ZkBNB *ZkBNBFilterer) WatchNewNFTFactory(opts *bind.WatchOpts, sink chan<- *ZkBNBNewNFTFactory, _creatorAccountNameHash [][32]byte) (event.Subscription, error)

WatchNewNFTFactory is a free log subscription operation binding the contract event 0xaa31b08b26b4240f7d2837e3fb6359824b509a4e4c5a5766af80f63c319add7e.

Solidity: event NewNFTFactory(bytes32 indexed _creatorAccountNameHash, uint32 _collectionId, address _factoryAddress)

func (*ZkBNBFilterer) WatchNewPriorityRequest

func (_ZkBNB *ZkBNBFilterer) WatchNewPriorityRequest(opts *bind.WatchOpts, sink chan<- *ZkBNBNewPriorityRequest) (event.Subscription, error)

WatchNewPriorityRequest is a free log subscription operation binding the contract event 0xd0943372c08b438a88d4b39d77216901079eda9ca59d45349841c099083b6830.

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 txType, bytes pubData, uint256 expirationBlock)

func (*ZkBNBFilterer) WatchNoticePeriodChange

func (_ZkBNB *ZkBNBFilterer) WatchNoticePeriodChange(opts *bind.WatchOpts, sink chan<- *ZkBNBNoticePeriodChange) (event.Subscription, error)

WatchNoticePeriodChange is a free log subscription operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkBNBFilterer) WatchRegisterZNS

func (_ZkBNB *ZkBNBFilterer) WatchRegisterZNS(opts *bind.WatchOpts, sink chan<- *ZkBNBRegisterZNS) (event.Subscription, error)

WatchRegisterZNS is a free log subscription operation binding the contract event 0xebe5b00e9e9052d45c93d72544961460aa0fa30e0142c07d7dd81025cf9dab6c.

Solidity: event RegisterZNS(string name, bytes32 nameHash, address owner, bytes32 zkbnbPubKeyX, bytes32 zkbnbPubKeyY, uint32 accountIndex)

func (*ZkBNBFilterer) WatchUpdateTokenPair

func (_ZkBNB *ZkBNBFilterer) WatchUpdateTokenPair(opts *bind.WatchOpts, sink chan<- *ZkBNBUpdateTokenPair) (event.Subscription, error)

WatchUpdateTokenPair is a free log subscription operation binding the contract event 0x8727712867f019c156b0c25f308498ea1524b635902129b0acd3e9ff2c96f1c8.

Solidity: event UpdateTokenPair(uint16 pairIndex, uint16 feeRate, uint32 treasuryAccountIndex, uint16 treasuryRate)

func (*ZkBNBFilterer) WatchWithdrawNft

func (_ZkBNB *ZkBNBFilterer) WatchWithdrawNft(opts *bind.WatchOpts, sink chan<- *ZkBNBWithdrawNft) (event.Subscription, error)

WatchWithdrawNft is a free log subscription operation binding the contract event 0x001c1fcac2c66b39f6b0a825948e9f8892b2d4a17edc60aaf61ca474e08402ec.

Solidity: event WithdrawNft(uint32 accountIndex, address nftL1Address, address toAddress, uint256 nftL1TokenId)

func (*ZkBNBFilterer) WatchWithdrawal

func (_ZkBNB *ZkBNBFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ZkBNBWithdrawal) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZkBNBFilterer) WatchWithdrawalNFTPending

func (_ZkBNB *ZkBNBFilterer) WatchWithdrawalNFTPending(opts *bind.WatchOpts, sink chan<- *ZkBNBWithdrawalNFTPending, nftIndex []*big.Int) (event.Subscription, error)

WatchWithdrawalNFTPending is a free log subscription operation binding the contract event 0x71aea045e572384e5b53812f175c12adb074001c9c13d379730d15188d3729bc.

Solidity: event WithdrawalNFTPending(uint40 indexed nftIndex)

type ZkBNBFullExitCommit

type ZkBNBFullExitCommit struct {
	ZkbnbBlockId uint32
	AccountId    uint32
	Owner        common.Address
	TokenId      uint16
	Amount       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ZkBNBFullExitCommit represents a FullExitCommit event raised by the ZkBNB contract.

type ZkBNBFullExitCommitIterator

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

ZkBNBFullExitCommitIterator is returned from FilterFullExitCommit and is used to iterate over the raw logs and unpacked data for FullExitCommit events raised by the ZkBNB contract.

func (*ZkBNBFullExitCommitIterator) Close

func (it *ZkBNBFullExitCommitIterator) Close() error

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

func (*ZkBNBFullExitCommitIterator) Error

func (it *ZkBNBFullExitCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBFullExitCommitIterator) Next

func (it *ZkBNBFullExitCommitIterator) 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 ZkBNBNewDefaultNFTFactory

type ZkBNBNewDefaultNFTFactory struct {
	Factory common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ZkBNBNewDefaultNFTFactory represents a NewDefaultNFTFactory event raised by the ZkBNB contract.

type ZkBNBNewDefaultNFTFactoryIterator

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

ZkBNBNewDefaultNFTFactoryIterator is returned from FilterNewDefaultNFTFactory and is used to iterate over the raw logs and unpacked data for NewDefaultNFTFactory events raised by the ZkBNB contract.

func (*ZkBNBNewDefaultNFTFactoryIterator) Close

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

func (*ZkBNBNewDefaultNFTFactoryIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBNewDefaultNFTFactoryIterator) Next

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

type ZkBNBNewNFTFactory

type ZkBNBNewNFTFactory struct {
	CreatorAccountNameHash [32]byte
	CollectionId           uint32
	FactoryAddress         common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

ZkBNBNewNFTFactory represents a NewNFTFactory event raised by the ZkBNB contract.

type ZkBNBNewNFTFactoryIterator

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

ZkBNBNewNFTFactoryIterator is returned from FilterNewNFTFactory and is used to iterate over the raw logs and unpacked data for NewNFTFactory events raised by the ZkBNB contract.

func (*ZkBNBNewNFTFactoryIterator) Close

func (it *ZkBNBNewNFTFactoryIterator) Close() error

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

func (*ZkBNBNewNFTFactoryIterator) Error

func (it *ZkBNBNewNFTFactoryIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBNewNFTFactoryIterator) Next

func (it *ZkBNBNewNFTFactoryIterator) 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 ZkBNBNewPriorityRequest

type ZkBNBNewPriorityRequest struct {
	Sender          common.Address
	SerialId        uint64
	TxType          uint8
	PubData         []byte
	ExpirationBlock *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZkBNBNewPriorityRequest represents a NewPriorityRequest event raised by the ZkBNB contract.

type ZkBNBNewPriorityRequestIterator

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

ZkBNBNewPriorityRequestIterator is returned from FilterNewPriorityRequest and is used to iterate over the raw logs and unpacked data for NewPriorityRequest events raised by the ZkBNB contract.

func (*ZkBNBNewPriorityRequestIterator) Close

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

func (*ZkBNBNewPriorityRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBNewPriorityRequestIterator) Next

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

type ZkBNBNoticePeriodChange

type ZkBNBNoticePeriodChange struct {
	NewNoticePeriod *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZkBNBNoticePeriodChange represents a NoticePeriodChange event raised by the ZkBNB contract.

type ZkBNBNoticePeriodChangeIterator

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

ZkBNBNoticePeriodChangeIterator is returned from FilterNoticePeriodChange and is used to iterate over the raw logs and unpacked data for NoticePeriodChange events raised by the ZkBNB contract.

func (*ZkBNBNoticePeriodChangeIterator) Close

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

func (*ZkBNBNoticePeriodChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBNoticePeriodChangeIterator) Next

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

type ZkBNBRaw

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

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

func (*ZkBNBRaw) Call

func (_ZkBNB *ZkBNBRaw) 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 (*ZkBNBRaw) Transact

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

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

func (*ZkBNBRaw) Transfer

func (_ZkBNB *ZkBNBRaw) 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 ZkBNBRegisterZNS

type ZkBNBRegisterZNS struct {
	Name         string
	NameHash     [32]byte
	Owner        common.Address
	ZkbnbPubKeyX [32]byte
	ZkbnbPubKeyY [32]byte
	AccountIndex uint32
	Raw          types.Log // Blockchain specific contextual infos
}

ZkBNBRegisterZNS represents a RegisterZNS event raised by the ZkBNB contract.

type ZkBNBRegisterZNSIterator

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

ZkBNBRegisterZNSIterator is returned from FilterRegisterZNS and is used to iterate over the raw logs and unpacked data for RegisterZNS events raised by the ZkBNB contract.

func (*ZkBNBRegisterZNSIterator) Close

func (it *ZkBNBRegisterZNSIterator) Close() error

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

func (*ZkBNBRegisterZNSIterator) Error

func (it *ZkBNBRegisterZNSIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBRegisterZNSIterator) Next

func (it *ZkBNBRegisterZNSIterator) 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 ZkBNBSession

type ZkBNBSession struct {
	Contract     *ZkBNB            // 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
}

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

func (*ZkBNBSession) ActivateDesertMode

func (_ZkBNB *ZkBNBSession) ActivateDesertMode() (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZkBNBSession) CommitBlocks

func (_ZkBNB *ZkBNBSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZkBNBCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x2a54f972.

Solidity: function commitBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,uint32[],uint32,uint16)[] _newBlocksData) returns()

func (*ZkBNBSession) CreatePair

func (_ZkBNB *ZkBNBSession) CreatePair(_tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address _tokenA, address _tokenB) returns()

func (*ZkBNBSession) CutUpgradeNoticePeriod

func (_ZkBNB *ZkBNBSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkBNBSession) DefaultNFTFactory

func (_ZkBNB *ZkBNBSession) DefaultNFTFactory() (common.Address, error)

DefaultNFTFactory is a free data retrieval call binding the contract method 0x940f19c0.

Solidity: function defaultNFTFactory() view returns(address)

func (*ZkBNBSession) DepositBEP20

func (_ZkBNB *ZkBNBSession) DepositBEP20(_token common.Address, _amount *big.Int, _accountName string) (*types.Transaction, error)

DepositBEP20 is a paid mutator transaction binding the contract method 0x1caf5d25.

Solidity: function depositBEP20(address _token, uint104 _amount, string _accountName) returns()

func (*ZkBNBSession) DepositBNB

func (_ZkBNB *ZkBNBSession) DepositBNB(_accountName string) (*types.Transaction, error)

DepositBNB is a paid mutator transaction binding the contract method 0x51344683.

Solidity: function depositBNB(string _accountName) payable returns()

func (*ZkBNBSession) DepositNft

func (_ZkBNB *ZkBNBSession) DepositNft(_accountName string, _nftL1Address common.Address, _nftL1TokenId *big.Int) (*types.Transaction, error)

DepositNft is a paid mutator transaction binding the contract method 0xfb99514b.

Solidity: function depositNft(string _accountName, address _nftL1Address, uint256 _nftL1TokenId) returns()

func (*ZkBNBSession) DesertMode

func (_ZkBNB *ZkBNBSession) DesertMode() (bool, error)

DesertMode is a free data retrieval call binding the contract method 0x02cfb563.

Solidity: function desertMode() view returns(bool)

func (*ZkBNBSession) FirstPriorityRequestId

func (_ZkBNB *ZkBNBSession) FirstPriorityRequestId() (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkBNBSession) GetAddressByAccountNameHash

func (_ZkBNB *ZkBNBSession) GetAddressByAccountNameHash(accountNameHash [32]byte) (common.Address, error)

GetAddressByAccountNameHash is a free data retrieval call binding the contract method 0x0b8f1c0c.

Solidity: function getAddressByAccountNameHash(bytes32 accountNameHash) view returns(address)

func (*ZkBNBSession) GetNFTFactory

func (_ZkBNB *ZkBNBSession) GetNFTFactory(_creatorAccountNameHash [32]byte, _collectionId uint32) (common.Address, error)

GetNFTFactory is a free data retrieval call binding the contract method 0x76b4da60.

Solidity: function getNFTFactory(bytes32 _creatorAccountNameHash, uint32 _collectionId) view returns(address)

func (*ZkBNBSession) GetNoticePeriod

func (_ZkBNB *ZkBNBSession) GetNoticePeriod() (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkBNBSession) GetPendingBalance

func (_ZkBNB *ZkBNBSession) GetPendingBalance(_address common.Address, _assetAddr common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _assetAddr) view returns(uint128)

func (*ZkBNBSession) Initialize

func (_ZkBNB *ZkBNBSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkBNBSession) IsReadyForUpgrade

func (_ZkBNB *ZkBNBSession) IsReadyForUpgrade() (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkBNBSession) MAXACCOUNTINDEX

func (_ZkBNB *ZkBNBSession) MAXACCOUNTINDEX() (uint32, error)

MAXACCOUNTINDEX is a free data retrieval call binding the contract method 0x437545f9.

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*ZkBNBSession) MAXAMOUNTOFREGISTEREDASSETS

func (_ZkBNB *ZkBNBSession) MAXAMOUNTOFREGISTEREDASSETS() (uint16, error)

MAXAMOUNTOFREGISTEREDASSETS is a free data retrieval call binding the contract method 0x0d360b7f.

Solidity: function MAX_AMOUNT_OF_REGISTERED_ASSETS() view returns(uint16)

func (*ZkBNBSession) MAXDEPOSITAMOUNT

func (_ZkBNB *ZkBNBSession) MAXDEPOSITAMOUNT() (*big.Int, error)

MAXDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x4c34a982.

Solidity: function MAX_DEPOSIT_AMOUNT() view returns(uint128)

func (*ZkBNBSession) MAXFUNGIBLEASSETID

func (_ZkBNB *ZkBNBSession) MAXFUNGIBLEASSETID() (uint32, error)

MAXFUNGIBLEASSETID is a free data retrieval call binding the contract method 0x437da02f.

Solidity: function MAX_FUNGIBLE_ASSET_ID() view returns(uint32)

func (*ZkBNBSession) MAXNFTINDEX

func (_ZkBNB *ZkBNBSession) MAXNFTINDEX() (*big.Int, error)

MAXNFTINDEX is a free data retrieval call binding the contract method 0x14791ad2.

Solidity: function MAX_NFT_INDEX() view returns(uint40)

func (*ZkBNBSession) NftFactories

func (_ZkBNB *ZkBNBSession) NftFactories(arg0 [32]byte, arg1 uint32) (common.Address, error)

NftFactories is a free data retrieval call binding the contract method 0x16335e06.

Solidity: function nftFactories(bytes32 , uint32 ) view returns(address)

func (*ZkBNBSession) OnERC721Received

func (_ZkBNB *ZkBNBSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) returns(bytes4)

func (*ZkBNBSession) RegisterZNS

func (_ZkBNB *ZkBNBSession) RegisterZNS(_name string, _owner common.Address, _zkbnbPubKeyX [32]byte, _zkbnbPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zkbnbPubKeyX, bytes32 _zkbnbPubKeyY) payable returns()

func (*ZkBNBSession) RequestFullExit

func (_ZkBNB *ZkBNBSession) RequestFullExit(_accountName string, _asset common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0x8da64c7f.

Solidity: function requestFullExit(string _accountName, address _asset) returns()

func (*ZkBNBSession) RequestFullExitNft

func (_ZkBNB *ZkBNBSession) RequestFullExitNft(_accountName string, _nftIndex uint32) (*types.Transaction, error)

RequestFullExitNft is a paid mutator transaction binding the contract method 0x1bd24317.

Solidity: function requestFullExitNft(string _accountName, uint32 _nftIndex) returns()

func (*ZkBNBSession) RevertBlocks

func (_ZkBNB *ZkBNBSession) RevertBlocks(_blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0x97a2eabe.

Solidity: function revertBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkBNBSession) SECURITYCOUNCILMEMBERSNUMBER

func (_ZkBNB *ZkBNBSession) SECURITYCOUNCILMEMBERSNUMBER() (*big.Int, error)

SECURITYCOUNCILMEMBERSNUMBER is a free data retrieval call binding the contract method 0x4a51a71f.

Solidity: function SECURITY_COUNCIL_MEMBERS_NUMBER() view returns(uint256)

func (*ZkBNBSession) SHORTESTUPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBSession) SHORTESTUPGRADENOTICEPERIOD() (*big.Int, error)

SHORTESTUPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0x85053581.

Solidity: function SHORTEST_UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBSession) SPECIALACCOUNTADDRESS

func (_ZkBNB *ZkBNBSession) SPECIALACCOUNTADDRESS() (common.Address, error)

SPECIALACCOUNTADDRESS is a free data retrieval call binding the contract method 0x7ea399c1.

Solidity: function SPECIAL_ACCOUNT_ADDRESS() view returns(address)

func (*ZkBNBSession) SPECIALACCOUNTID

func (_ZkBNB *ZkBNBSession) SPECIALACCOUNTID() (uint32, error)

SPECIALACCOUNTID is a free data retrieval call binding the contract method 0x4242d5b3.

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*ZkBNBSession) SetDefaultNFTFactory

func (_ZkBNB *ZkBNBSession) SetDefaultNFTFactory(_factory common.Address) (*types.Transaction, error)

SetDefaultNFTFactory is a paid mutator transaction binding the contract method 0xce09e20d.

Solidity: function setDefaultNFTFactory(address _factory) returns()

func (*ZkBNBSession) StateRoot

func (_ZkBNB *ZkBNBSession) StateRoot() ([32]byte, error)

StateRoot is a free data retrieval call binding the contract method 0x9588eca2.

Solidity: function stateRoot() view returns(bytes32)

func (*ZkBNBSession) StoredBlockHashes

func (_ZkBNB *ZkBNBSession) StoredBlockHashes(arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkBNBSession) TXSIZE

func (_ZkBNB *ZkBNBSession) TXSIZE() (*big.Int, error)

TXSIZE is a free data retrieval call binding the contract method 0xe6e3c012.

Solidity: function TX_SIZE() view returns(uint256)

func (*ZkBNBSession) TotalBlocksCommitted

func (_ZkBNB *ZkBNBSession) TotalBlocksCommitted() (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkBNBSession) TotalBlocksVerified

func (_ZkBNB *ZkBNBSession) TotalBlocksVerified() (uint32, error)

TotalBlocksVerified is a free data retrieval call binding the contract method 0x2d24006c.

Solidity: function totalBlocksVerified() view returns(uint32)

func (*ZkBNBSession) TotalOpenPriorityRequests

func (_ZkBNB *ZkBNBSession) TotalOpenPriorityRequests() (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZkBNBSession) TotalTokenPairs

func (_ZkBNB *ZkBNBSession) TotalTokenPairs() (uint16, error)

TotalTokenPairs is a free data retrieval call binding the contract method 0xd0ad718d.

Solidity: function totalTokenPairs() view returns(uint16)

func (*ZkBNBSession) TransferERC20

func (_ZkBNB *ZkBNBSession) TransferERC20(_token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x68809a23.

Solidity: function transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkBNBSession) UPGRADENOTICEPERIOD

func (_ZkBNB *ZkBNBSession) UPGRADENOTICEPERIOD() (*big.Int, error)

UPGRADENOTICEPERIOD is a free data retrieval call binding the contract method 0xcc375fb7.

Solidity: function UPGRADE_NOTICE_PERIOD() view returns(uint256)

func (*ZkBNBSession) UpdatePairRate

func (_ZkBNB *ZkBNBSession) UpdatePairRate(_pairInfo OldZkBNBPairInfo) (*types.Transaction, error)

UpdatePairRate is a paid mutator transaction binding the contract method 0x13a05e23.

Solidity: function updatePairRate((address,address,uint16,uint32,uint16) _pairInfo) returns()

func (*ZkBNBSession) UpdateZkBNBVerifier

func (_ZkBNB *ZkBNBSession) UpdateZkBNBVerifier(_newVerifierAddress common.Address) (*types.Transaction, error)

UpdateZkBNBVerifier is a paid mutator transaction binding the contract method 0xc91cf162.

Solidity: function updateZkBNBVerifier(address _newVerifierAddress) returns()

func (*ZkBNBSession) Upgrade

func (_ZkBNB *ZkBNBSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkBNBSession) UpgradeCanceled

func (_ZkBNB *ZkBNBSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkBNBSession) UpgradeFinishes

func (_ZkBNB *ZkBNBSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkBNBSession) UpgradeNoticePeriodStarted

func (_ZkBNB *ZkBNBSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkBNBSession) UpgradePreparationStarted

func (_ZkBNB *ZkBNBSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkBNBSession) VerifyAndExecuteBlocks

func (_ZkBNB *ZkBNBSession) VerifyAndExecuteBlocks(_blocks []OldZkBNBVerifyAndExecuteBlockInfo, _proofs []*big.Int) (*types.Transaction, error)

VerifyAndExecuteBlocks is a paid mutator transaction binding the contract method 0xf9ea2e71.

Solidity: function verifyAndExecuteBlocks(((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocks, uint256[] _proofs) returns()

func (*ZkBNBSession) WITHDRAWALGASLIMIT

func (_ZkBNB *ZkBNBSession) WITHDRAWALGASLIMIT() (*big.Int, error)

WITHDRAWALGASLIMIT is a free data retrieval call binding the contract method 0xc701f955.

Solidity: function WITHDRAWAL_GAS_LIMIT() view returns(uint256)

func (*ZkBNBSession) WithdrawPendingBalance

func (_ZkBNB *ZkBNBSession) WithdrawPendingBalance(_owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkBNBSession) WithdrawPendingNFTBalance

func (_ZkBNB *ZkBNBSession) WithdrawPendingNFTBalance(_nftIndex *big.Int) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x7ce1017d.

Solidity: function withdrawPendingNFTBalance(uint40 _nftIndex) returns()

type ZkBNBTransactor

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

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

func NewZkBNBTransactor

func NewZkBNBTransactor(address common.Address, transactor bind.ContractTransactor) (*ZkBNBTransactor, error)

NewZkBNBTransactor creates a new write-only instance of ZkBNB, bound to a specific deployed contract.

func (*ZkBNBTransactor) ActivateDesertMode

func (_ZkBNB *ZkBNBTransactor) ActivateDesertMode(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZkBNBTransactor) CommitBlocks

func (_ZkBNB *ZkBNBTransactor) CommitBlocks(opts *bind.TransactOpts, _lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZkBNBCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x2a54f972.

Solidity: function commitBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,uint32[],uint32,uint16)[] _newBlocksData) returns()

func (*ZkBNBTransactor) CreatePair

func (_ZkBNB *ZkBNBTransactor) CreatePair(opts *bind.TransactOpts, _tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address _tokenA, address _tokenB) returns()

func (*ZkBNBTransactor) CutUpgradeNoticePeriod

func (_ZkBNB *ZkBNBTransactor) CutUpgradeNoticePeriod(opts *bind.TransactOpts) (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkBNBTransactor) DepositBEP20

func (_ZkBNB *ZkBNBTransactor) DepositBEP20(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _accountName string) (*types.Transaction, error)

DepositBEP20 is a paid mutator transaction binding the contract method 0x1caf5d25.

Solidity: function depositBEP20(address _token, uint104 _amount, string _accountName) returns()

func (*ZkBNBTransactor) DepositBNB

func (_ZkBNB *ZkBNBTransactor) DepositBNB(opts *bind.TransactOpts, _accountName string) (*types.Transaction, error)

DepositBNB is a paid mutator transaction binding the contract method 0x51344683.

Solidity: function depositBNB(string _accountName) payable returns()

func (*ZkBNBTransactor) DepositNft

func (_ZkBNB *ZkBNBTransactor) DepositNft(opts *bind.TransactOpts, _accountName string, _nftL1Address common.Address, _nftL1TokenId *big.Int) (*types.Transaction, error)

DepositNft is a paid mutator transaction binding the contract method 0xfb99514b.

Solidity: function depositNft(string _accountName, address _nftL1Address, uint256 _nftL1TokenId) returns()

func (*ZkBNBTransactor) Initialize

func (_ZkBNB *ZkBNBTransactor) Initialize(opts *bind.TransactOpts, initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkBNBTransactor) OnERC721Received

func (_ZkBNB *ZkBNBTransactor) OnERC721Received(opts *bind.TransactOpts, operator common.Address, from common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) returns(bytes4)

func (*ZkBNBTransactor) RegisterZNS

func (_ZkBNB *ZkBNBTransactor) RegisterZNS(opts *bind.TransactOpts, _name string, _owner common.Address, _zkbnbPubKeyX [32]byte, _zkbnbPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zkbnbPubKeyX, bytes32 _zkbnbPubKeyY) payable returns()

func (*ZkBNBTransactor) RequestFullExit

func (_ZkBNB *ZkBNBTransactor) RequestFullExit(opts *bind.TransactOpts, _accountName string, _asset common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0x8da64c7f.

Solidity: function requestFullExit(string _accountName, address _asset) returns()

func (*ZkBNBTransactor) RequestFullExitNft

func (_ZkBNB *ZkBNBTransactor) RequestFullExitNft(opts *bind.TransactOpts, _accountName string, _nftIndex uint32) (*types.Transaction, error)

RequestFullExitNft is a paid mutator transaction binding the contract method 0x1bd24317.

Solidity: function requestFullExitNft(string _accountName, uint32 _nftIndex) returns()

func (*ZkBNBTransactor) RevertBlocks

func (_ZkBNB *ZkBNBTransactor) RevertBlocks(opts *bind.TransactOpts, _blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0x97a2eabe.

Solidity: function revertBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkBNBTransactor) SetDefaultNFTFactory

func (_ZkBNB *ZkBNBTransactor) SetDefaultNFTFactory(opts *bind.TransactOpts, _factory common.Address) (*types.Transaction, error)

SetDefaultNFTFactory is a paid mutator transaction binding the contract method 0xce09e20d.

Solidity: function setDefaultNFTFactory(address _factory) returns()

func (*ZkBNBTransactor) TransferERC20

func (_ZkBNB *ZkBNBTransactor) TransferERC20(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x68809a23.

Solidity: function transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkBNBTransactor) UpdatePairRate

func (_ZkBNB *ZkBNBTransactor) UpdatePairRate(opts *bind.TransactOpts, _pairInfo OldZkBNBPairInfo) (*types.Transaction, error)

UpdatePairRate is a paid mutator transaction binding the contract method 0x13a05e23.

Solidity: function updatePairRate((address,address,uint16,uint32,uint16) _pairInfo) returns()

func (*ZkBNBTransactor) UpdateZkBNBVerifier

func (_ZkBNB *ZkBNBTransactor) UpdateZkBNBVerifier(opts *bind.TransactOpts, _newVerifierAddress common.Address) (*types.Transaction, error)

UpdateZkBNBVerifier is a paid mutator transaction binding the contract method 0xc91cf162.

Solidity: function updateZkBNBVerifier(address _newVerifierAddress) returns()

func (*ZkBNBTransactor) Upgrade

func (_ZkBNB *ZkBNBTransactor) Upgrade(opts *bind.TransactOpts, upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkBNBTransactor) UpgradeCanceled

func (_ZkBNB *ZkBNBTransactor) UpgradeCanceled(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkBNBTransactor) UpgradeFinishes

func (_ZkBNB *ZkBNBTransactor) UpgradeFinishes(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkBNBTransactor) UpgradeNoticePeriodStarted

func (_ZkBNB *ZkBNBTransactor) UpgradeNoticePeriodStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkBNBTransactor) UpgradePreparationStarted

func (_ZkBNB *ZkBNBTransactor) UpgradePreparationStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkBNBTransactor) VerifyAndExecuteBlocks

func (_ZkBNB *ZkBNBTransactor) VerifyAndExecuteBlocks(opts *bind.TransactOpts, _blocks []OldZkBNBVerifyAndExecuteBlockInfo, _proofs []*big.Int) (*types.Transaction, error)

VerifyAndExecuteBlocks is a paid mutator transaction binding the contract method 0xf9ea2e71.

Solidity: function verifyAndExecuteBlocks(((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocks, uint256[] _proofs) returns()

func (*ZkBNBTransactor) WithdrawPendingBalance

func (_ZkBNB *ZkBNBTransactor) WithdrawPendingBalance(opts *bind.TransactOpts, _owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkBNBTransactor) WithdrawPendingNFTBalance

func (_ZkBNB *ZkBNBTransactor) WithdrawPendingNFTBalance(opts *bind.TransactOpts, _nftIndex *big.Int) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x7ce1017d.

Solidity: function withdrawPendingNFTBalance(uint40 _nftIndex) returns()

type ZkBNBTransactorRaw

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

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

func (*ZkBNBTransactorRaw) Transact

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

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

func (*ZkBNBTransactorRaw) Transfer

func (_ZkBNB *ZkBNBTransactorRaw) 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 ZkBNBTransactorSession

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

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

func (*ZkBNBTransactorSession) ActivateDesertMode

func (_ZkBNB *ZkBNBTransactorSession) ActivateDesertMode() (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZkBNBTransactorSession) CommitBlocks

func (_ZkBNB *ZkBNBTransactorSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZkBNBCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x2a54f972.

Solidity: function commitBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,uint32[],uint32,uint16)[] _newBlocksData) returns()

func (*ZkBNBTransactorSession) CreatePair

func (_ZkBNB *ZkBNBTransactorSession) CreatePair(_tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address _tokenA, address _tokenB) returns()

func (*ZkBNBTransactorSession) CutUpgradeNoticePeriod

func (_ZkBNB *ZkBNBTransactorSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkBNBTransactorSession) DepositBEP20

func (_ZkBNB *ZkBNBTransactorSession) DepositBEP20(_token common.Address, _amount *big.Int, _accountName string) (*types.Transaction, error)

DepositBEP20 is a paid mutator transaction binding the contract method 0x1caf5d25.

Solidity: function depositBEP20(address _token, uint104 _amount, string _accountName) returns()

func (*ZkBNBTransactorSession) DepositBNB

func (_ZkBNB *ZkBNBTransactorSession) DepositBNB(_accountName string) (*types.Transaction, error)

DepositBNB is a paid mutator transaction binding the contract method 0x51344683.

Solidity: function depositBNB(string _accountName) payable returns()

func (*ZkBNBTransactorSession) DepositNft

func (_ZkBNB *ZkBNBTransactorSession) DepositNft(_accountName string, _nftL1Address common.Address, _nftL1TokenId *big.Int) (*types.Transaction, error)

DepositNft is a paid mutator transaction binding the contract method 0xfb99514b.

Solidity: function depositNft(string _accountName, address _nftL1Address, uint256 _nftL1TokenId) returns()

func (*ZkBNBTransactorSession) Initialize

func (_ZkBNB *ZkBNBTransactorSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkBNBTransactorSession) OnERC721Received

func (_ZkBNB *ZkBNBTransactorSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) returns(bytes4)

func (*ZkBNBTransactorSession) RegisterZNS

func (_ZkBNB *ZkBNBTransactorSession) RegisterZNS(_name string, _owner common.Address, _zkbnbPubKeyX [32]byte, _zkbnbPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zkbnbPubKeyX, bytes32 _zkbnbPubKeyY) payable returns()

func (*ZkBNBTransactorSession) RequestFullExit

func (_ZkBNB *ZkBNBTransactorSession) RequestFullExit(_accountName string, _asset common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0x8da64c7f.

Solidity: function requestFullExit(string _accountName, address _asset) returns()

func (*ZkBNBTransactorSession) RequestFullExitNft

func (_ZkBNB *ZkBNBTransactorSession) RequestFullExitNft(_accountName string, _nftIndex uint32) (*types.Transaction, error)

RequestFullExitNft is a paid mutator transaction binding the contract method 0x1bd24317.

Solidity: function requestFullExitNft(string _accountName, uint32 _nftIndex) returns()

func (*ZkBNBTransactorSession) RevertBlocks

func (_ZkBNB *ZkBNBTransactorSession) RevertBlocks(_blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0x97a2eabe.

Solidity: function revertBlocks((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkBNBTransactorSession) SetDefaultNFTFactory

func (_ZkBNB *ZkBNBTransactorSession) SetDefaultNFTFactory(_factory common.Address) (*types.Transaction, error)

SetDefaultNFTFactory is a paid mutator transaction binding the contract method 0xce09e20d.

Solidity: function setDefaultNFTFactory(address _factory) returns()

func (*ZkBNBTransactorSession) TransferERC20

func (_ZkBNB *ZkBNBTransactorSession) TransferERC20(_token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x68809a23.

Solidity: function transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkBNBTransactorSession) UpdatePairRate

func (_ZkBNB *ZkBNBTransactorSession) UpdatePairRate(_pairInfo OldZkBNBPairInfo) (*types.Transaction, error)

UpdatePairRate is a paid mutator transaction binding the contract method 0x13a05e23.

Solidity: function updatePairRate((address,address,uint16,uint32,uint16) _pairInfo) returns()

func (*ZkBNBTransactorSession) UpdateZkBNBVerifier

func (_ZkBNB *ZkBNBTransactorSession) UpdateZkBNBVerifier(_newVerifierAddress common.Address) (*types.Transaction, error)

UpdateZkBNBVerifier is a paid mutator transaction binding the contract method 0xc91cf162.

Solidity: function updateZkBNBVerifier(address _newVerifierAddress) returns()

func (*ZkBNBTransactorSession) Upgrade

func (_ZkBNB *ZkBNBTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkBNBTransactorSession) UpgradeCanceled

func (_ZkBNB *ZkBNBTransactorSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkBNBTransactorSession) UpgradeFinishes

func (_ZkBNB *ZkBNBTransactorSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkBNBTransactorSession) UpgradeNoticePeriodStarted

func (_ZkBNB *ZkBNBTransactorSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkBNBTransactorSession) UpgradePreparationStarted

func (_ZkBNB *ZkBNBTransactorSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkBNBTransactorSession) VerifyAndExecuteBlocks

func (_ZkBNB *ZkBNBTransactorSession) VerifyAndExecuteBlocks(_blocks []OldZkBNBVerifyAndExecuteBlockInfo, _proofs []*big.Int) (*types.Transaction, error)

VerifyAndExecuteBlocks is a paid mutator transaction binding the contract method 0xf9ea2e71.

Solidity: function verifyAndExecuteBlocks(((uint16,uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocks, uint256[] _proofs) returns()

func (*ZkBNBTransactorSession) WithdrawPendingBalance

func (_ZkBNB *ZkBNBTransactorSession) WithdrawPendingBalance(_owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkBNBTransactorSession) WithdrawPendingNFTBalance

func (_ZkBNB *ZkBNBTransactorSession) WithdrawPendingNFTBalance(_nftIndex *big.Int) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x7ce1017d.

Solidity: function withdrawPendingNFTBalance(uint40 _nftIndex) returns()

type ZkBNBUpdateTokenPair

type ZkBNBUpdateTokenPair struct {
	PairIndex            uint16
	FeeRate              uint16
	TreasuryAccountIndex uint32
	TreasuryRate         uint16
	Raw                  types.Log // Blockchain specific contextual infos
}

ZkBNBUpdateTokenPair represents a UpdateTokenPair event raised by the ZkBNB contract.

type ZkBNBUpdateTokenPairIterator

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

ZkBNBUpdateTokenPairIterator is returned from FilterUpdateTokenPair and is used to iterate over the raw logs and unpacked data for UpdateTokenPair events raised by the ZkBNB contract.

func (*ZkBNBUpdateTokenPairIterator) Close

func (it *ZkBNBUpdateTokenPairIterator) Close() error

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

func (*ZkBNBUpdateTokenPairIterator) Error

func (it *ZkBNBUpdateTokenPairIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBUpdateTokenPairIterator) Next

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

type ZkBNBWithdrawNft

type ZkBNBWithdrawNft struct {
	AccountIndex uint32
	NftL1Address common.Address
	ToAddress    common.Address
	NftL1TokenId *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ZkBNBWithdrawNft represents a WithdrawNft event raised by the ZkBNB contract.

type ZkBNBWithdrawNftIterator

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

ZkBNBWithdrawNftIterator is returned from FilterWithdrawNft and is used to iterate over the raw logs and unpacked data for WithdrawNft events raised by the ZkBNB contract.

func (*ZkBNBWithdrawNftIterator) Close

func (it *ZkBNBWithdrawNftIterator) Close() error

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

func (*ZkBNBWithdrawNftIterator) Error

func (it *ZkBNBWithdrawNftIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBWithdrawNftIterator) Next

func (it *ZkBNBWithdrawNftIterator) 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 ZkBNBWithdrawal

type ZkBNBWithdrawal struct {
	AssetId uint16
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZkBNBWithdrawal represents a Withdrawal event raised by the ZkBNB contract.

type ZkBNBWithdrawalIterator

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

ZkBNBWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the ZkBNB contract.

func (*ZkBNBWithdrawalIterator) Close

func (it *ZkBNBWithdrawalIterator) Close() error

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

func (*ZkBNBWithdrawalIterator) Error

func (it *ZkBNBWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBWithdrawalIterator) Next

func (it *ZkBNBWithdrawalIterator) 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 ZkBNBWithdrawalNFTPending

type ZkBNBWithdrawalNFTPending struct {
	NftIndex *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ZkBNBWithdrawalNFTPending represents a WithdrawalNFTPending event raised by the ZkBNB contract.

type ZkBNBWithdrawalNFTPendingIterator

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

ZkBNBWithdrawalNFTPendingIterator is returned from FilterWithdrawalNFTPending and is used to iterate over the raw logs and unpacked data for WithdrawalNFTPending events raised by the ZkBNB contract.

func (*ZkBNBWithdrawalNFTPendingIterator) Close

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

func (*ZkBNBWithdrawalNFTPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkBNBWithdrawalNFTPendingIterator) Next

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL