zecreyLegend

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const AssetGovernanceABI = "" /* 3898-byte string literal not displayed */

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

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

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

View Source
const VerifierABI = "" /* 1099-byte string literal not displayed */

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

Variables

View Source
var AssetGovernanceBin = "" /* 6258-byte string literal not displayed */

AssetGovernanceBin is the compiled bytecode used for deploying new contracts.

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 StablePriceOracleABI = StablePriceOracleMetaData.ABI

StablePriceOracleABI is the input ABI used to generate the binding from. Deprecated: Use StablePriceOracleMetaData.ABI instead.

View Source
var StablePriceOracleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_rentPrices\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"prices\",\"type\":\"uint256[]\"}],\"name\":\"RentPriceChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_rentPrices\",\"type\":\"uint256[]\"}],\"name\":\"changeRentPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"price\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price1Letter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price2Letter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price3Letter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StablePriceOracleMetaData contains all meta data concerning the StablePriceOracle contract.

View Source
var VerifierBin = "" /* 15580-byte string literal not displayed */

VerifierBin is the compiled bytecode used for deploying new contracts.

View Source
var ZecreyLegendABI = ZecreyLegendMetaData.ABI

ZecreyLegendABI is the input ABI used to generate the binding from. Deprecated: Use ZecreyLegendMetaData.ABI instead.

View Source
var ZecreyLegendMetaData = &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\":\"zecreyBlockNumber\",\"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\":\"zecreyBlockId\",\"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\":\"zecreyPubKeyX\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"zecreyPubKeyY\",\"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\":\"structOldZecreyLegend.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\":\"_zecreyPubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_zecreyPubKeyY\",\"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\":\"structOldZecreyLegend.PairInfo\",\"name\":\"_pairInfo\",\"type\":\"tuple\"}],\"name\":\"updatePairRate\",\"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\":\"structOldZecreyLegend.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\"}]",
}

ZecreyLegendMetaData contains all meta data concerning the ZecreyLegend contract.

Functions

func CommitBlocks added in v0.0.14

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

CommitBlocks: commit blocks

func EmptyCallOpts added in v0.0.16

func EmptyCallOpts() *bind.CallOpts

func Price added in v0.0.16

func Price(
	instance *StablePriceOracle,
	name string,
) (amount *big.Int, err error)

func RegisterZNS added in v0.0.16

func RegisterZNS(
	cli *_rpc.ProviderClient, authCli *_rpc.AuthClient, instance *ZecreyLegend, oracleInstance *StablePriceOracle,
	gasPrice *big.Int, gasLimit uint64,
	name string, ownerAddr common.Address, pkX [32]byte, pkY [32]byte,
) (txHash string, err error)

func RevertBlocks added in v0.0.16

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

func VerifyAndExecuteBlocks added in v0.0.14

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

VerifyAndExecuteBlocks: verify and execute blocks

Types

type AssetGovernance

type AssetGovernance struct {
	AssetGovernanceCaller     // Read-only binding to the contract
	AssetGovernanceTransactor // Write-only binding to the contract
	AssetGovernanceFilterer   // Log filterer for contract events
}

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

func DeployAssetGovernance

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

DeployAssetGovernance deploys a new Ethereum contract, binding an instance of AssetGovernance to it.

func NewAssetGovernance

func NewAssetGovernance(address common.Address, backend bind.ContractBackend) (*AssetGovernance, error)

NewAssetGovernance creates a new instance of AssetGovernance, bound to a specific deployed contract.

type AssetGovernanceCaller

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

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

func NewAssetGovernanceCaller

func NewAssetGovernanceCaller(address common.Address, caller bind.ContractCaller) (*AssetGovernanceCaller, error)

NewAssetGovernanceCaller creates a new read-only instance of AssetGovernance, bound to a specific deployed contract.

func (*AssetGovernanceCaller) Governance

func (_AssetGovernance *AssetGovernanceCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*AssetGovernanceCaller) ListingCap

func (_AssetGovernance *AssetGovernanceCaller) ListingCap(opts *bind.CallOpts) (uint16, error)

ListingCap is a free data retrieval call binding the contract method 0x9b453945.

Solidity: function listingCap() view returns(uint16)

func (*AssetGovernanceCaller) ListingFee

func (_AssetGovernance *AssetGovernanceCaller) ListingFee(opts *bind.CallOpts) (*big.Int, error)

ListingFee is a free data retrieval call binding the contract method 0x6a1b7ecc.

Solidity: function listingFee() view returns(uint256)

func (*AssetGovernanceCaller) ListingFeeToken

func (_AssetGovernance *AssetGovernanceCaller) ListingFeeToken(opts *bind.CallOpts) (common.Address, error)

ListingFeeToken is a free data retrieval call binding the contract method 0xa1a18c38.

Solidity: function listingFeeToken() view returns(address)

func (*AssetGovernanceCaller) TokenLister

func (_AssetGovernance *AssetGovernanceCaller) TokenLister(opts *bind.CallOpts, arg0 common.Address) (bool, error)

TokenLister is a free data retrieval call binding the contract method 0xaf3d414b.

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

func (*AssetGovernanceCaller) Treasury

func (_AssetGovernance *AssetGovernanceCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

type AssetGovernanceCallerRaw

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

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

func (*AssetGovernanceCallerRaw) Call

func (_AssetGovernance *AssetGovernanceCallerRaw) 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 AssetGovernanceCallerSession

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

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

func (*AssetGovernanceCallerSession) Governance

func (_AssetGovernance *AssetGovernanceCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*AssetGovernanceCallerSession) ListingCap

func (_AssetGovernance *AssetGovernanceCallerSession) ListingCap() (uint16, error)

ListingCap is a free data retrieval call binding the contract method 0x9b453945.

Solidity: function listingCap() view returns(uint16)

func (*AssetGovernanceCallerSession) ListingFee

func (_AssetGovernance *AssetGovernanceCallerSession) ListingFee() (*big.Int, error)

ListingFee is a free data retrieval call binding the contract method 0x6a1b7ecc.

Solidity: function listingFee() view returns(uint256)

func (*AssetGovernanceCallerSession) ListingFeeToken

func (_AssetGovernance *AssetGovernanceCallerSession) ListingFeeToken() (common.Address, error)

ListingFeeToken is a free data retrieval call binding the contract method 0xa1a18c38.

Solidity: function listingFeeToken() view returns(address)

func (*AssetGovernanceCallerSession) TokenLister

func (_AssetGovernance *AssetGovernanceCallerSession) TokenLister(arg0 common.Address) (bool, error)

TokenLister is a free data retrieval call binding the contract method 0xaf3d414b.

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

func (*AssetGovernanceCallerSession) Treasury

func (_AssetGovernance *AssetGovernanceCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

type AssetGovernanceFilterer

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

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

func NewAssetGovernanceFilterer

func NewAssetGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*AssetGovernanceFilterer, error)

NewAssetGovernanceFilterer creates a new log filterer instance of AssetGovernance, bound to a specific deployed contract.

func (*AssetGovernanceFilterer) FilterListingCapUpdate

func (_AssetGovernance *AssetGovernanceFilterer) FilterListingCapUpdate(opts *bind.FilterOpts) (*AssetGovernanceListingCapUpdateIterator, error)

FilterListingCapUpdate is a free log retrieval operation binding the contract event 0xd07b88b359bb918e12349b2779862f7c6954810991cfcf664e36bd2168f17b0d.

Solidity: event ListingCapUpdate(uint16 newListingCap)

func (*AssetGovernanceFilterer) FilterListingFeeTokenUpdate

func (_AssetGovernance *AssetGovernanceFilterer) FilterListingFeeTokenUpdate(opts *bind.FilterOpts, newListingFeeToken []common.Address) (*AssetGovernanceListingFeeTokenUpdateIterator, error)

FilterListingFeeTokenUpdate is a free log retrieval operation binding the contract event 0x06c002e270943576c6f430ffa27b7c21b4f12f8398079a843e82978a718fe139.

Solidity: event ListingFeeTokenUpdate(address indexed newListingFeeToken, uint256 newListingFee)

func (*AssetGovernanceFilterer) FilterListingFeeUpdate

func (_AssetGovernance *AssetGovernanceFilterer) FilterListingFeeUpdate(opts *bind.FilterOpts) (*AssetGovernanceListingFeeUpdateIterator, error)

FilterListingFeeUpdate is a free log retrieval operation binding the contract event 0xa0951033a9fa04df3877d5fdba9b43d00127caf3d6ff546d0bc633f122844ee6.

Solidity: event ListingFeeUpdate(uint256 newListingFee)

func (*AssetGovernanceFilterer) FilterTokenListerUpdate

func (_AssetGovernance *AssetGovernanceFilterer) FilterTokenListerUpdate(opts *bind.FilterOpts, tokenLister []common.Address) (*AssetGovernanceTokenListerUpdateIterator, error)

FilterTokenListerUpdate is a free log retrieval operation binding the contract event 0x947516bb7f07e641084b9d05943fb1c89e05da3d4d17f707ab4efd6ab58f0910.

Solidity: event TokenListerUpdate(address indexed tokenLister, bool isActive)

func (*AssetGovernanceFilterer) FilterTreasuryUpdate

func (_AssetGovernance *AssetGovernanceFilterer) FilterTreasuryUpdate(opts *bind.FilterOpts) (*AssetGovernanceTreasuryUpdateIterator, error)

FilterTreasuryUpdate is a free log retrieval operation binding the contract event 0x8a3509a4057c89a5993a4a3140c2ebf7e829d325d8998eaa6c48adcff98b2cef.

Solidity: event TreasuryUpdate(address newTreasury)

func (*AssetGovernanceFilterer) ParseListingCapUpdate

func (_AssetGovernance *AssetGovernanceFilterer) ParseListingCapUpdate(log types.Log) (*AssetGovernanceListingCapUpdate, error)

ParseListingCapUpdate is a log parse operation binding the contract event 0xd07b88b359bb918e12349b2779862f7c6954810991cfcf664e36bd2168f17b0d.

Solidity: event ListingCapUpdate(uint16 newListingCap)

func (*AssetGovernanceFilterer) ParseListingFeeTokenUpdate

func (_AssetGovernance *AssetGovernanceFilterer) ParseListingFeeTokenUpdate(log types.Log) (*AssetGovernanceListingFeeTokenUpdate, error)

ParseListingFeeTokenUpdate is a log parse operation binding the contract event 0x06c002e270943576c6f430ffa27b7c21b4f12f8398079a843e82978a718fe139.

Solidity: event ListingFeeTokenUpdate(address indexed newListingFeeToken, uint256 newListingFee)

func (*AssetGovernanceFilterer) ParseListingFeeUpdate

func (_AssetGovernance *AssetGovernanceFilterer) ParseListingFeeUpdate(log types.Log) (*AssetGovernanceListingFeeUpdate, error)

ParseListingFeeUpdate is a log parse operation binding the contract event 0xa0951033a9fa04df3877d5fdba9b43d00127caf3d6ff546d0bc633f122844ee6.

Solidity: event ListingFeeUpdate(uint256 newListingFee)

func (*AssetGovernanceFilterer) ParseTokenListerUpdate

func (_AssetGovernance *AssetGovernanceFilterer) ParseTokenListerUpdate(log types.Log) (*AssetGovernanceTokenListerUpdate, error)

ParseTokenListerUpdate is a log parse operation binding the contract event 0x947516bb7f07e641084b9d05943fb1c89e05da3d4d17f707ab4efd6ab58f0910.

Solidity: event TokenListerUpdate(address indexed tokenLister, bool isActive)

func (*AssetGovernanceFilterer) ParseTreasuryUpdate

func (_AssetGovernance *AssetGovernanceFilterer) ParseTreasuryUpdate(log types.Log) (*AssetGovernanceTreasuryUpdate, error)

ParseTreasuryUpdate is a log parse operation binding the contract event 0x8a3509a4057c89a5993a4a3140c2ebf7e829d325d8998eaa6c48adcff98b2cef.

Solidity: event TreasuryUpdate(address newTreasury)

func (*AssetGovernanceFilterer) WatchListingCapUpdate

func (_AssetGovernance *AssetGovernanceFilterer) WatchListingCapUpdate(opts *bind.WatchOpts, sink chan<- *AssetGovernanceListingCapUpdate) (event.Subscription, error)

WatchListingCapUpdate is a free log subscription operation binding the contract event 0xd07b88b359bb918e12349b2779862f7c6954810991cfcf664e36bd2168f17b0d.

Solidity: event ListingCapUpdate(uint16 newListingCap)

func (*AssetGovernanceFilterer) WatchListingFeeTokenUpdate

func (_AssetGovernance *AssetGovernanceFilterer) WatchListingFeeTokenUpdate(opts *bind.WatchOpts, sink chan<- *AssetGovernanceListingFeeTokenUpdate, newListingFeeToken []common.Address) (event.Subscription, error)

WatchListingFeeTokenUpdate is a free log subscription operation binding the contract event 0x06c002e270943576c6f430ffa27b7c21b4f12f8398079a843e82978a718fe139.

Solidity: event ListingFeeTokenUpdate(address indexed newListingFeeToken, uint256 newListingFee)

func (*AssetGovernanceFilterer) WatchListingFeeUpdate

func (_AssetGovernance *AssetGovernanceFilterer) WatchListingFeeUpdate(opts *bind.WatchOpts, sink chan<- *AssetGovernanceListingFeeUpdate) (event.Subscription, error)

WatchListingFeeUpdate is a free log subscription operation binding the contract event 0xa0951033a9fa04df3877d5fdba9b43d00127caf3d6ff546d0bc633f122844ee6.

Solidity: event ListingFeeUpdate(uint256 newListingFee)

func (*AssetGovernanceFilterer) WatchTokenListerUpdate

func (_AssetGovernance *AssetGovernanceFilterer) WatchTokenListerUpdate(opts *bind.WatchOpts, sink chan<- *AssetGovernanceTokenListerUpdate, tokenLister []common.Address) (event.Subscription, error)

WatchTokenListerUpdate is a free log subscription operation binding the contract event 0x947516bb7f07e641084b9d05943fb1c89e05da3d4d17f707ab4efd6ab58f0910.

Solidity: event TokenListerUpdate(address indexed tokenLister, bool isActive)

func (*AssetGovernanceFilterer) WatchTreasuryUpdate

func (_AssetGovernance *AssetGovernanceFilterer) WatchTreasuryUpdate(opts *bind.WatchOpts, sink chan<- *AssetGovernanceTreasuryUpdate) (event.Subscription, error)

WatchTreasuryUpdate is a free log subscription operation binding the contract event 0x8a3509a4057c89a5993a4a3140c2ebf7e829d325d8998eaa6c48adcff98b2cef.

Solidity: event TreasuryUpdate(address newTreasury)

type AssetGovernanceListingCapUpdate

type AssetGovernanceListingCapUpdate struct {
	NewListingCap uint16
	Raw           types.Log // Blockchain specific contextual infos
}

AssetGovernanceListingCapUpdate represents a ListingCapUpdate event raised by the AssetGovernance contract.

type AssetGovernanceListingCapUpdateIterator

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

AssetGovernanceListingCapUpdateIterator is returned from FilterListingCapUpdate and is used to iterate over the raw logs and unpacked data for ListingCapUpdate events raised by the AssetGovernance contract.

func (*AssetGovernanceListingCapUpdateIterator) Close

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

func (*AssetGovernanceListingCapUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssetGovernanceListingCapUpdateIterator) 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 AssetGovernanceListingFeeTokenUpdate

type AssetGovernanceListingFeeTokenUpdate struct {
	NewListingFeeToken common.Address
	NewListingFee      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

AssetGovernanceListingFeeTokenUpdate represents a ListingFeeTokenUpdate event raised by the AssetGovernance contract.

type AssetGovernanceListingFeeTokenUpdateIterator

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

AssetGovernanceListingFeeTokenUpdateIterator is returned from FilterListingFeeTokenUpdate and is used to iterate over the raw logs and unpacked data for ListingFeeTokenUpdate events raised by the AssetGovernance contract.

func (*AssetGovernanceListingFeeTokenUpdateIterator) Close

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

func (*AssetGovernanceListingFeeTokenUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssetGovernanceListingFeeTokenUpdateIterator) 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 AssetGovernanceListingFeeUpdate

type AssetGovernanceListingFeeUpdate struct {
	NewListingFee *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

AssetGovernanceListingFeeUpdate represents a ListingFeeUpdate event raised by the AssetGovernance contract.

type AssetGovernanceListingFeeUpdateIterator

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

AssetGovernanceListingFeeUpdateIterator is returned from FilterListingFeeUpdate and is used to iterate over the raw logs and unpacked data for ListingFeeUpdate events raised by the AssetGovernance contract.

func (*AssetGovernanceListingFeeUpdateIterator) Close

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

func (*AssetGovernanceListingFeeUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssetGovernanceListingFeeUpdateIterator) 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 AssetGovernanceRaw

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

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

func (*AssetGovernanceRaw) Call

func (_AssetGovernance *AssetGovernanceRaw) 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 (*AssetGovernanceRaw) Transact

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

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

func (*AssetGovernanceRaw) Transfer

func (_AssetGovernance *AssetGovernanceRaw) 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 AssetGovernanceSession

type AssetGovernanceSession struct {
	Contract     *AssetGovernance  // 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
}

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

func (*AssetGovernanceSession) AddAsset

func (_AssetGovernance *AssetGovernanceSession) AddAsset(_assetAddress common.Address) (*types.Transaction, error)

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

Solidity: function addAsset(address _assetAddress) returns()

func (*AssetGovernanceSession) Governance

func (_AssetGovernance *AssetGovernanceSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*AssetGovernanceSession) Initialize

func (_AssetGovernance *AssetGovernanceSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*AssetGovernanceSession) ListingCap

func (_AssetGovernance *AssetGovernanceSession) ListingCap() (uint16, error)

ListingCap is a free data retrieval call binding the contract method 0x9b453945.

Solidity: function listingCap() view returns(uint16)

func (*AssetGovernanceSession) ListingFee

func (_AssetGovernance *AssetGovernanceSession) ListingFee() (*big.Int, error)

ListingFee is a free data retrieval call binding the contract method 0x6a1b7ecc.

Solidity: function listingFee() view returns(uint256)

func (*AssetGovernanceSession) ListingFeeToken

func (_AssetGovernance *AssetGovernanceSession) ListingFeeToken() (common.Address, error)

ListingFeeToken is a free data retrieval call binding the contract method 0xa1a18c38.

Solidity: function listingFeeToken() view returns(address)

func (*AssetGovernanceSession) SetLister

func (_AssetGovernance *AssetGovernanceSession) SetLister(_listerAddress common.Address, _active bool) (*types.Transaction, error)

SetLister is a paid mutator transaction binding the contract method 0x719c150c.

Solidity: function setLister(address _listerAddress, bool _active) returns()

func (*AssetGovernanceSession) SetListingCap

func (_AssetGovernance *AssetGovernanceSession) SetListingCap(_newListingCap uint16) (*types.Transaction, error)

SetListingCap is a paid mutator transaction binding the contract method 0xb42a9d80.

Solidity: function setListingCap(uint16 _newListingCap) returns()

func (*AssetGovernanceSession) SetListingFee

func (_AssetGovernance *AssetGovernanceSession) SetListingFee(_newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 _newListingFee) returns()

func (*AssetGovernanceSession) SetListingFeeToken

func (_AssetGovernance *AssetGovernanceSession) SetListingFeeToken(_newListingFeeToken common.Address, _newListingFee *big.Int) (*types.Transaction, error)

SetListingFeeToken is a paid mutator transaction binding the contract method 0x70de40b0.

Solidity: function setListingFeeToken(address _newListingFeeToken, uint256 _newListingFee) returns()

func (*AssetGovernanceSession) SetTreasury

func (_AssetGovernance *AssetGovernanceSession) SetTreasury(_newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*AssetGovernanceSession) TokenLister

func (_AssetGovernance *AssetGovernanceSession) TokenLister(arg0 common.Address) (bool, error)

TokenLister is a free data retrieval call binding the contract method 0xaf3d414b.

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

func (*AssetGovernanceSession) Treasury

func (_AssetGovernance *AssetGovernanceSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*AssetGovernanceSession) Upgrade

func (_AssetGovernance *AssetGovernanceSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

type AssetGovernanceTokenListerUpdate

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

AssetGovernanceTokenListerUpdate represents a TokenListerUpdate event raised by the AssetGovernance contract.

type AssetGovernanceTokenListerUpdateIterator

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

AssetGovernanceTokenListerUpdateIterator is returned from FilterTokenListerUpdate and is used to iterate over the raw logs and unpacked data for TokenListerUpdate events raised by the AssetGovernance contract.

func (*AssetGovernanceTokenListerUpdateIterator) Close

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

func (*AssetGovernanceTokenListerUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssetGovernanceTokenListerUpdateIterator) 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 AssetGovernanceTransactor

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

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

func NewAssetGovernanceTransactor

func NewAssetGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*AssetGovernanceTransactor, error)

NewAssetGovernanceTransactor creates a new write-only instance of AssetGovernance, bound to a specific deployed contract.

func (*AssetGovernanceTransactor) AddAsset

func (_AssetGovernance *AssetGovernanceTransactor) AddAsset(opts *bind.TransactOpts, _assetAddress common.Address) (*types.Transaction, error)

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

Solidity: function addAsset(address _assetAddress) returns()

func (*AssetGovernanceTransactor) Initialize

func (_AssetGovernance *AssetGovernanceTransactor) 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 (*AssetGovernanceTransactor) SetLister

func (_AssetGovernance *AssetGovernanceTransactor) SetLister(opts *bind.TransactOpts, _listerAddress common.Address, _active bool) (*types.Transaction, error)

SetLister is a paid mutator transaction binding the contract method 0x719c150c.

Solidity: function setLister(address _listerAddress, bool _active) returns()

func (*AssetGovernanceTransactor) SetListingCap

func (_AssetGovernance *AssetGovernanceTransactor) SetListingCap(opts *bind.TransactOpts, _newListingCap uint16) (*types.Transaction, error)

SetListingCap is a paid mutator transaction binding the contract method 0xb42a9d80.

Solidity: function setListingCap(uint16 _newListingCap) returns()

func (*AssetGovernanceTransactor) SetListingFee

func (_AssetGovernance *AssetGovernanceTransactor) SetListingFee(opts *bind.TransactOpts, _newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 _newListingFee) returns()

func (*AssetGovernanceTransactor) SetListingFeeToken

func (_AssetGovernance *AssetGovernanceTransactor) SetListingFeeToken(opts *bind.TransactOpts, _newListingFeeToken common.Address, _newListingFee *big.Int) (*types.Transaction, error)

SetListingFeeToken is a paid mutator transaction binding the contract method 0x70de40b0.

Solidity: function setListingFeeToken(address _newListingFeeToken, uint256 _newListingFee) returns()

func (*AssetGovernanceTransactor) SetTreasury

func (_AssetGovernance *AssetGovernanceTransactor) SetTreasury(opts *bind.TransactOpts, _newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*AssetGovernanceTransactor) Upgrade

func (_AssetGovernance *AssetGovernanceTransactor) 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()

type AssetGovernanceTransactorRaw

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

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

func (*AssetGovernanceTransactorRaw) Transact

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

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

func (*AssetGovernanceTransactorRaw) Transfer

func (_AssetGovernance *AssetGovernanceTransactorRaw) 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 AssetGovernanceTransactorSession

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

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

func (*AssetGovernanceTransactorSession) AddAsset

func (_AssetGovernance *AssetGovernanceTransactorSession) AddAsset(_assetAddress common.Address) (*types.Transaction, error)

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

Solidity: function addAsset(address _assetAddress) returns()

func (*AssetGovernanceTransactorSession) Initialize

func (_AssetGovernance *AssetGovernanceTransactorSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*AssetGovernanceTransactorSession) SetLister

func (_AssetGovernance *AssetGovernanceTransactorSession) SetLister(_listerAddress common.Address, _active bool) (*types.Transaction, error)

SetLister is a paid mutator transaction binding the contract method 0x719c150c.

Solidity: function setLister(address _listerAddress, bool _active) returns()

func (*AssetGovernanceTransactorSession) SetListingCap

func (_AssetGovernance *AssetGovernanceTransactorSession) SetListingCap(_newListingCap uint16) (*types.Transaction, error)

SetListingCap is a paid mutator transaction binding the contract method 0xb42a9d80.

Solidity: function setListingCap(uint16 _newListingCap) returns()

func (*AssetGovernanceTransactorSession) SetListingFee

func (_AssetGovernance *AssetGovernanceTransactorSession) SetListingFee(_newListingFee *big.Int) (*types.Transaction, error)

SetListingFee is a paid mutator transaction binding the contract method 0x131dbd09.

Solidity: function setListingFee(uint256 _newListingFee) returns()

func (*AssetGovernanceTransactorSession) SetListingFeeToken

func (_AssetGovernance *AssetGovernanceTransactorSession) SetListingFeeToken(_newListingFeeToken common.Address, _newListingFee *big.Int) (*types.Transaction, error)

SetListingFeeToken is a paid mutator transaction binding the contract method 0x70de40b0.

Solidity: function setListingFeeToken(address _newListingFeeToken, uint256 _newListingFee) returns()

func (*AssetGovernanceTransactorSession) SetTreasury

func (_AssetGovernance *AssetGovernanceTransactorSession) SetTreasury(_newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*AssetGovernanceTransactorSession) Upgrade

func (_AssetGovernance *AssetGovernanceTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

type AssetGovernanceTreasuryUpdate

type AssetGovernanceTreasuryUpdate struct {
	NewTreasury common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

AssetGovernanceTreasuryUpdate represents a TreasuryUpdate event raised by the AssetGovernance contract.

type AssetGovernanceTreasuryUpdateIterator

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

AssetGovernanceTreasuryUpdateIterator is returned from FilterTreasuryUpdate and is used to iterate over the raw logs and unpacked data for TreasuryUpdate events raised by the AssetGovernance contract.

func (*AssetGovernanceTreasuryUpdateIterator) Close

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

func (*AssetGovernanceTreasuryUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssetGovernanceTreasuryUpdateIterator) 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 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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 added in v0.0.14

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 OldZecreyLegendCommitBlockInfo added in v0.0.14

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

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

type OldZecreyLegendPairInfo added in v0.0.14

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

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

type OldZecreyLegendVerifyAndExecuteBlockInfo added in v0.0.14

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

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

type StablePriceOracle added in v0.0.16

type StablePriceOracle struct {
	StablePriceOracleCaller     // Read-only binding to the contract
	StablePriceOracleTransactor // Write-only binding to the contract
	StablePriceOracleFilterer   // Log filterer for contract events
}

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

func LoadStablePriceOracleInstance added in v0.0.16

func LoadStablePriceOracleInstance(cli *_rpc.ProviderClient, addr string) (instance *StablePriceOracle, err error)

LoadZecreyLegendInstance: load zecrey legend instance if it is already deployed

func NewStablePriceOracle added in v0.0.16

func NewStablePriceOracle(address common.Address, backend bind.ContractBackend) (*StablePriceOracle, error)

NewStablePriceOracle creates a new instance of StablePriceOracle, bound to a specific deployed contract.

type StablePriceOracleCaller added in v0.0.16

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

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

func NewStablePriceOracleCaller added in v0.0.16

func NewStablePriceOracleCaller(address common.Address, caller bind.ContractCaller) (*StablePriceOracleCaller, error)

NewStablePriceOracleCaller creates a new read-only instance of StablePriceOracle, bound to a specific deployed contract.

func (*StablePriceOracleCaller) Owner added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StablePriceOracleCaller) Price added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCaller) Price(opts *bind.CallOpts, name string) (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xfe2c6198.

Solidity: function price(string name) view returns(uint256)

func (*StablePriceOracleCaller) Price1Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCaller) Price1Letter(opts *bind.CallOpts) (*big.Int, error)

Price1Letter is a free data retrieval call binding the contract method 0x2c0fd74c.

Solidity: function price1Letter() view returns(uint256)

func (*StablePriceOracleCaller) Price2Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCaller) Price2Letter(opts *bind.CallOpts) (*big.Int, error)

Price2Letter is a free data retrieval call binding the contract method 0xcd5d2c74.

Solidity: function price2Letter() view returns(uint256)

func (*StablePriceOracleCaller) Price3Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCaller) Price3Letter(opts *bind.CallOpts) (*big.Int, error)

Price3Letter is a free data retrieval call binding the contract method 0xa200e153.

Solidity: function price3Letter() view returns(uint256)

type StablePriceOracleCallerRaw added in v0.0.16

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

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

func (*StablePriceOracleCallerRaw) Call added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerRaw) 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 StablePriceOracleCallerSession added in v0.0.16

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

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

func (*StablePriceOracleCallerSession) Owner added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StablePriceOracleCallerSession) Price added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerSession) Price(name string) (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xfe2c6198.

Solidity: function price(string name) view returns(uint256)

func (*StablePriceOracleCallerSession) Price1Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerSession) Price1Letter() (*big.Int, error)

Price1Letter is a free data retrieval call binding the contract method 0x2c0fd74c.

Solidity: function price1Letter() view returns(uint256)

func (*StablePriceOracleCallerSession) Price2Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerSession) Price2Letter() (*big.Int, error)

Price2Letter is a free data retrieval call binding the contract method 0xcd5d2c74.

Solidity: function price2Letter() view returns(uint256)

func (*StablePriceOracleCallerSession) Price3Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleCallerSession) Price3Letter() (*big.Int, error)

Price3Letter is a free data retrieval call binding the contract method 0xa200e153.

Solidity: function price3Letter() view returns(uint256)

type StablePriceOracleFilterer added in v0.0.16

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

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

func NewStablePriceOracleFilterer added in v0.0.16

func NewStablePriceOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*StablePriceOracleFilterer, error)

NewStablePriceOracleFilterer creates a new log filterer instance of StablePriceOracle, bound to a specific deployed contract.

func (*StablePriceOracleFilterer) FilterOwnershipTransferred added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StablePriceOracleOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StablePriceOracleFilterer) FilterRentPriceChanged added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) FilterRentPriceChanged(opts *bind.FilterOpts) (*StablePriceOracleRentPriceChangedIterator, error)

FilterRentPriceChanged is a free log retrieval operation binding the contract event 0x73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df.

Solidity: event RentPriceChanged(uint256[] prices)

func (*StablePriceOracleFilterer) ParseOwnershipTransferred added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) ParseOwnershipTransferred(log types.Log) (*StablePriceOracleOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StablePriceOracleFilterer) ParseRentPriceChanged added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) ParseRentPriceChanged(log types.Log) (*StablePriceOracleRentPriceChanged, error)

ParseRentPriceChanged is a log parse operation binding the contract event 0x73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df.

Solidity: event RentPriceChanged(uint256[] prices)

func (*StablePriceOracleFilterer) WatchOwnershipTransferred added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StablePriceOracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StablePriceOracleFilterer) WatchRentPriceChanged added in v0.0.16

func (_StablePriceOracle *StablePriceOracleFilterer) WatchRentPriceChanged(opts *bind.WatchOpts, sink chan<- *StablePriceOracleRentPriceChanged) (event.Subscription, error)

WatchRentPriceChanged is a free log subscription operation binding the contract event 0x73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df.

Solidity: event RentPriceChanged(uint256[] prices)

type StablePriceOracleOwnershipTransferred added in v0.0.16

type StablePriceOracleOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

StablePriceOracleOwnershipTransferred represents a OwnershipTransferred event raised by the StablePriceOracle contract.

type StablePriceOracleOwnershipTransferredIterator added in v0.0.16

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

StablePriceOracleOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StablePriceOracle contract.

func (*StablePriceOracleOwnershipTransferredIterator) Close added in v0.0.16

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

func (*StablePriceOracleOwnershipTransferredIterator) Error added in v0.0.16

Error returns any retrieval or parsing error occurred during filtering.

func (*StablePriceOracleOwnershipTransferredIterator) Next added in v0.0.16

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 StablePriceOracleRaw added in v0.0.16

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

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

func (*StablePriceOracleRaw) Call added in v0.0.16

func (_StablePriceOracle *StablePriceOracleRaw) 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 (*StablePriceOracleRaw) Transact added in v0.0.16

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

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

func (*StablePriceOracleRaw) Transfer added in v0.0.16

func (_StablePriceOracle *StablePriceOracleRaw) 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 StablePriceOracleRentPriceChanged added in v0.0.16

type StablePriceOracleRentPriceChanged struct {
	Prices []*big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

StablePriceOracleRentPriceChanged represents a RentPriceChanged event raised by the StablePriceOracle contract.

type StablePriceOracleRentPriceChangedIterator added in v0.0.16

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

StablePriceOracleRentPriceChangedIterator is returned from FilterRentPriceChanged and is used to iterate over the raw logs and unpacked data for RentPriceChanged events raised by the StablePriceOracle contract.

func (*StablePriceOracleRentPriceChangedIterator) Close added in v0.0.16

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

func (*StablePriceOracleRentPriceChangedIterator) Error added in v0.0.16

Error returns any retrieval or parsing error occurred during filtering.

func (*StablePriceOracleRentPriceChangedIterator) Next added in v0.0.16

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 StablePriceOracleSession added in v0.0.16

type StablePriceOracleSession struct {
	Contract     *StablePriceOracle // 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
}

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

func (*StablePriceOracleSession) ChangeRentPrice added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) ChangeRentPrice(_rentPrices []*big.Int) (*types.Transaction, error)

ChangeRentPrice is a paid mutator transaction binding the contract method 0x50f13aa8.

Solidity: function changeRentPrice(uint256[] _rentPrices) returns()

func (*StablePriceOracleSession) Owner added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StablePriceOracleSession) Price added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) Price(name string) (*big.Int, error)

Price is a free data retrieval call binding the contract method 0xfe2c6198.

Solidity: function price(string name) view returns(uint256)

func (*StablePriceOracleSession) Price1Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) Price1Letter() (*big.Int, error)

Price1Letter is a free data retrieval call binding the contract method 0x2c0fd74c.

Solidity: function price1Letter() view returns(uint256)

func (*StablePriceOracleSession) Price2Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) Price2Letter() (*big.Int, error)

Price2Letter is a free data retrieval call binding the contract method 0xcd5d2c74.

Solidity: function price2Letter() view returns(uint256)

func (*StablePriceOracleSession) Price3Letter added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) Price3Letter() (*big.Int, error)

Price3Letter is a free data retrieval call binding the contract method 0xa200e153.

Solidity: function price3Letter() view returns(uint256)

func (*StablePriceOracleSession) RenounceOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StablePriceOracleSession) TransferOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type StablePriceOracleTransactor added in v0.0.16

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

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

func NewStablePriceOracleTransactor added in v0.0.16

func NewStablePriceOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*StablePriceOracleTransactor, error)

NewStablePriceOracleTransactor creates a new write-only instance of StablePriceOracle, bound to a specific deployed contract.

func (*StablePriceOracleTransactor) ChangeRentPrice added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactor) ChangeRentPrice(opts *bind.TransactOpts, _rentPrices []*big.Int) (*types.Transaction, error)

ChangeRentPrice is a paid mutator transaction binding the contract method 0x50f13aa8.

Solidity: function changeRentPrice(uint256[] _rentPrices) returns()

func (*StablePriceOracleTransactor) RenounceOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StablePriceOracleTransactor) TransferOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type StablePriceOracleTransactorRaw added in v0.0.16

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

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

func (*StablePriceOracleTransactorRaw) Transact added in v0.0.16

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

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

func (*StablePriceOracleTransactorRaw) Transfer added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactorRaw) 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 StablePriceOracleTransactorSession added in v0.0.16

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

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

func (*StablePriceOracleTransactorSession) ChangeRentPrice added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactorSession) ChangeRentPrice(_rentPrices []*big.Int) (*types.Transaction, error)

ChangeRentPrice is a paid mutator transaction binding the contract method 0x50f13aa8.

Solidity: function changeRentPrice(uint256[] _rentPrices) returns()

func (*StablePriceOracleTransactorSession) RenounceOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StablePriceOracleTransactorSession) TransferOwnership added in v0.0.16

func (_StablePriceOracle *StablePriceOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type StorageStoredBlockInfo added in v0.0.14

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 Verifier

type Verifier struct {
	VerifierCaller     // Read-only binding to the contract
	VerifierTransactor // Write-only binding to the contract
	VerifierFilterer   // Log filterer for contract events
}

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

func DeployVerifier

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

DeployVerifier deploys a new Ethereum contract, binding an instance of Verifier to it.

func NewVerifier

func NewVerifier(address common.Address, backend bind.ContractBackend) (*Verifier, error)

NewVerifier creates a new instance of Verifier, bound to a specific deployed contract.

type VerifierCaller

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

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

func NewVerifierCaller

func NewVerifierCaller(address common.Address, caller bind.ContractCaller) (*VerifierCaller, error)

NewVerifierCaller creates a new read-only instance of Verifier, bound to a specific deployed contract.

func (*VerifierCaller) ScalarField

func (_Verifier *VerifierCaller) ScalarField(opts *bind.CallOpts) (*big.Int, error)

ScalarField is a free data retrieval call binding the contract method 0xdaad1e63.

Solidity: function ScalarField() pure returns(uint256)

func (*VerifierCaller) VerifyBatchProofs

func (_Verifier *VerifierCaller) VerifyBatchProofs(opts *bind.CallOpts, in_proof []*big.Int, proof_inputs []*big.Int, num_proofs *big.Int) (bool, error)

VerifyBatchProofs is a free data retrieval call binding the contract method 0xc50e8263.

Solidity: function verifyBatchProofs(uint256[] in_proof, uint256[] proof_inputs, uint256 num_proofs) view returns(bool success)

func (*VerifierCaller) VerifyProof

func (_Verifier *VerifierCaller) VerifyProof(opts *bind.CallOpts, in_proof []*big.Int, proof_inputs []*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x721ea4ac.

Solidity: function verifyProof(uint256[] in_proof, uint256[] proof_inputs) view returns(bool)

type VerifierCallerRaw

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

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

func (*VerifierCallerRaw) Call

func (_Verifier *VerifierCallerRaw) 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 VerifierCallerSession

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

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

func (*VerifierCallerSession) ScalarField

func (_Verifier *VerifierCallerSession) ScalarField() (*big.Int, error)

ScalarField is a free data retrieval call binding the contract method 0xdaad1e63.

Solidity: function ScalarField() pure returns(uint256)

func (*VerifierCallerSession) VerifyBatchProofs

func (_Verifier *VerifierCallerSession) VerifyBatchProofs(in_proof []*big.Int, proof_inputs []*big.Int, num_proofs *big.Int) (bool, error)

VerifyBatchProofs is a free data retrieval call binding the contract method 0xc50e8263.

Solidity: function verifyBatchProofs(uint256[] in_proof, uint256[] proof_inputs, uint256 num_proofs) view returns(bool success)

func (*VerifierCallerSession) VerifyProof

func (_Verifier *VerifierCallerSession) VerifyProof(in_proof []*big.Int, proof_inputs []*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x721ea4ac.

Solidity: function verifyProof(uint256[] in_proof, uint256[] proof_inputs) view returns(bool)

type VerifierFilterer

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

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

func NewVerifierFilterer

func NewVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*VerifierFilterer, error)

NewVerifierFilterer creates a new log filterer instance of Verifier, bound to a specific deployed contract.

type VerifierRaw

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

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

func (*VerifierRaw) Call

func (_Verifier *VerifierRaw) 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 (*VerifierRaw) Transact

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

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

func (*VerifierRaw) Transfer

func (_Verifier *VerifierRaw) 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 VerifierSession

type VerifierSession struct {
	Contract     *Verifier         // 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
}

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

func (*VerifierSession) ScalarField

func (_Verifier *VerifierSession) ScalarField() (*big.Int, error)

ScalarField is a free data retrieval call binding the contract method 0xdaad1e63.

Solidity: function ScalarField() pure returns(uint256)

func (*VerifierSession) Upgrade

func (_Verifier *VerifierSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*VerifierSession) VerifyBatchProofs

func (_Verifier *VerifierSession) VerifyBatchProofs(in_proof []*big.Int, proof_inputs []*big.Int, num_proofs *big.Int) (bool, error)

VerifyBatchProofs is a free data retrieval call binding the contract method 0xc50e8263.

Solidity: function verifyBatchProofs(uint256[] in_proof, uint256[] proof_inputs, uint256 num_proofs) view returns(bool success)

func (*VerifierSession) VerifyProof

func (_Verifier *VerifierSession) VerifyProof(in_proof []*big.Int, proof_inputs []*big.Int) (bool, error)

VerifyProof is a free data retrieval call binding the contract method 0x721ea4ac.

Solidity: function verifyProof(uint256[] in_proof, uint256[] proof_inputs) view returns(bool)

type VerifierTransactor

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

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

func NewVerifierTransactor

func NewVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*VerifierTransactor, error)

NewVerifierTransactor creates a new write-only instance of Verifier, bound to a specific deployed contract.

func (*VerifierTransactor) Upgrade

func (_Verifier *VerifierTransactor) 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()

type VerifierTransactorRaw

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

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

func (*VerifierTransactorRaw) Transact

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

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

func (*VerifierTransactorRaw) Transfer

func (_Verifier *VerifierTransactorRaw) 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 VerifierTransactorSession

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

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

func (*VerifierTransactorSession) Upgrade

func (_Verifier *VerifierTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

type ZecreyLegend

type ZecreyLegend struct {
	ZecreyLegendCaller     // Read-only binding to the contract
	ZecreyLegendTransactor // Write-only binding to the contract
	ZecreyLegendFilterer   // Log filterer for contract events
}

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

func LoadZecreyLegendInstance

func LoadZecreyLegendInstance(cli *_rpc.ProviderClient, addr string) (instance *ZecreyLegend, err error)

LoadZecreyLegendInstance: load zecrey legend instance if it is already deployed

func NewZecreyLegend

func NewZecreyLegend(address common.Address, backend bind.ContractBackend) (*ZecreyLegend, error)

NewZecreyLegend creates a new instance of ZecreyLegend, bound to a specific deployed contract.

type ZecreyLegendBlockCommit

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

ZecreyLegendBlockCommit represents a BlockCommit event raised by the ZecreyLegend contract.

type ZecreyLegendBlockCommitIterator

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

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

func (*ZecreyLegendBlockCommitIterator) Close

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

func (*ZecreyLegendBlockCommitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendBlockCommitIterator) 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 ZecreyLegendBlockVerification

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

ZecreyLegendBlockVerification represents a BlockVerification event raised by the ZecreyLegend contract.

type ZecreyLegendBlockVerificationIterator

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

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

func (*ZecreyLegendBlockVerificationIterator) Close

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

func (*ZecreyLegendBlockVerificationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendBlockVerificationIterator) 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 ZecreyLegendBlocksRevert

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

ZecreyLegendBlocksRevert represents a BlocksRevert event raised by the ZecreyLegend contract.

type ZecreyLegendBlocksRevertIterator

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

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

func (*ZecreyLegendBlocksRevertIterator) Close

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

func (*ZecreyLegendBlocksRevertIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendBlocksRevertIterator) 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 ZecreyLegendCaller

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

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

func NewZecreyLegendCaller

func NewZecreyLegendCaller(address common.Address, caller bind.ContractCaller) (*ZecreyLegendCaller, error)

NewZecreyLegendCaller creates a new read-only instance of ZecreyLegend, bound to a specific deployed contract.

func (*ZecreyLegendCaller) DefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) DesertMode

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) FirstPriorityRequestId

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) GetAddressByAccountNameHash

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) GetNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) GetNoticePeriod

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) GetPendingBalance

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) IsReadyForUpgrade

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) MAXACCOUNTINDEX

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) MAXAMOUNTOFREGISTEREDASSETS

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) MAXDEPOSITAMOUNT

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) MAXFUNGIBLEASSETID

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) MAXNFTINDEX added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) NftFactories added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) SECURITYCOUNCILMEMBERSNUMBER

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) SHORTESTUPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) SPECIALACCOUNTADDRESS

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) SPECIALACCOUNTID

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) StateRoot added in v0.0.15

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) StoredBlockHashes added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) TXSIZE added in v0.0.15

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) TotalBlocksCommitted

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) TotalBlocksVerified

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) TotalOpenPriorityRequests

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) TotalTokenPairs

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) UPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendCaller) 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 (*ZecreyLegendCaller) WITHDRAWALGASLIMIT

func (_ZecreyLegend *ZecreyLegendCaller) 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 ZecreyLegendCallerRaw

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

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

func (*ZecreyLegendCallerRaw) Call

func (_ZecreyLegend *ZecreyLegendCallerRaw) 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 ZecreyLegendCallerSession

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

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

func (*ZecreyLegendCallerSession) DefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCallerSession) DefaultNFTFactory() (common.Address, error)

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

Solidity: function defaultNFTFactory() view returns(address)

func (*ZecreyLegendCallerSession) DesertMode

func (_ZecreyLegend *ZecreyLegendCallerSession) DesertMode() (bool, error)

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

Solidity: function desertMode() view returns(bool)

func (*ZecreyLegendCallerSession) FirstPriorityRequestId

func (_ZecreyLegend *ZecreyLegendCallerSession) FirstPriorityRequestId() (uint64, error)

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

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZecreyLegendCallerSession) GetAddressByAccountNameHash

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) GetNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) GetNoticePeriod

func (_ZecreyLegend *ZecreyLegendCallerSession) GetNoticePeriod() (*big.Int, error)

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

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZecreyLegendCallerSession) GetPendingBalance

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) IsReadyForUpgrade

func (_ZecreyLegend *ZecreyLegendCallerSession) IsReadyForUpgrade() (bool, error)

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

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZecreyLegendCallerSession) MAXACCOUNTINDEX

func (_ZecreyLegend *ZecreyLegendCallerSession) MAXACCOUNTINDEX() (uint32, error)

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

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*ZecreyLegendCallerSession) MAXAMOUNTOFREGISTEREDASSETS

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) MAXDEPOSITAMOUNT

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) MAXFUNGIBLEASSETID

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) MAXNFTINDEX added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) NftFactories added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) SECURITYCOUNCILMEMBERSNUMBER

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) SHORTESTUPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) SPECIALACCOUNTADDRESS

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) SPECIALACCOUNTID

func (_ZecreyLegend *ZecreyLegendCallerSession) SPECIALACCOUNTID() (uint32, error)

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

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*ZecreyLegendCallerSession) StateRoot added in v0.0.15

func (_ZecreyLegend *ZecreyLegendCallerSession) StateRoot() ([32]byte, error)

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

Solidity: function stateRoot() view returns(bytes32)

func (*ZecreyLegendCallerSession) StoredBlockHashes added in v0.0.14

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) TXSIZE added in v0.0.15

func (_ZecreyLegend *ZecreyLegendCallerSession) TXSIZE() (*big.Int, error)

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

Solidity: function TX_SIZE() view returns(uint256)

func (*ZecreyLegendCallerSession) TotalBlocksCommitted

func (_ZecreyLegend *ZecreyLegendCallerSession) TotalBlocksCommitted() (uint32, error)

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

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZecreyLegendCallerSession) TotalBlocksVerified

func (_ZecreyLegend *ZecreyLegendCallerSession) TotalBlocksVerified() (uint32, error)

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

Solidity: function totalBlocksVerified() view returns(uint32)

func (*ZecreyLegendCallerSession) TotalOpenPriorityRequests

func (_ZecreyLegend *ZecreyLegendCallerSession) TotalOpenPriorityRequests() (uint64, error)

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

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZecreyLegendCallerSession) TotalTokenPairs

func (_ZecreyLegend *ZecreyLegendCallerSession) TotalTokenPairs() (uint16, error)

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

Solidity: function totalTokenPairs() view returns(uint16)

func (*ZecreyLegendCallerSession) UPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 (*ZecreyLegendCallerSession) WITHDRAWALGASLIMIT

func (_ZecreyLegend *ZecreyLegendCallerSession) 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 ZecreyLegendCreateTokenPair

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

ZecreyLegendCreateTokenPair represents a CreateTokenPair event raised by the ZecreyLegend contract.

type ZecreyLegendCreateTokenPairIterator

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

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

func (*ZecreyLegendCreateTokenPairIterator) Close

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

func (*ZecreyLegendCreateTokenPairIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendCreateTokenPairIterator) 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 ZecreyLegendDeposit

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

ZecreyLegendDeposit represents a Deposit event raised by the ZecreyLegend contract.

type ZecreyLegendDepositCommit

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

ZecreyLegendDepositCommit represents a DepositCommit event raised by the ZecreyLegend contract.

type ZecreyLegendDepositCommitIterator

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

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

func (*ZecreyLegendDepositCommitIterator) Close

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

func (*ZecreyLegendDepositCommitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendDepositCommitIterator) 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 ZecreyLegendDepositIterator

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

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

func (*ZecreyLegendDepositIterator) Close

func (it *ZecreyLegendDepositIterator) Close() error

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

func (*ZecreyLegendDepositIterator) Error

func (it *ZecreyLegendDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendDepositIterator) Next

func (it *ZecreyLegendDepositIterator) 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 ZecreyLegendDepositNft

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

ZecreyLegendDepositNft represents a DepositNft event raised by the ZecreyLegend contract.

type ZecreyLegendDepositNftIterator

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

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

func (*ZecreyLegendDepositNftIterator) Close

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

func (*ZecreyLegendDepositNftIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendDepositNftIterator) 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 ZecreyLegendDesertMode

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

ZecreyLegendDesertMode represents a DesertMode event raised by the ZecreyLegend contract.

type ZecreyLegendDesertModeIterator

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

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

func (*ZecreyLegendDesertModeIterator) Close

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

func (*ZecreyLegendDesertModeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendDesertModeIterator) 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 ZecreyLegendFilterer

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

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

func NewZecreyLegendFilterer

func NewZecreyLegendFilterer(address common.Address, filterer bind.ContractFilterer) (*ZecreyLegendFilterer, error)

NewZecreyLegendFilterer creates a new log filterer instance of ZecreyLegend, bound to a specific deployed contract.

func (*ZecreyLegendFilterer) FilterBlockCommit

func (_ZecreyLegend *ZecreyLegendFilterer) FilterBlockCommit(opts *bind.FilterOpts) (*ZecreyLegendBlockCommitIterator, error)

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

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZecreyLegendFilterer) FilterBlockVerification

func (_ZecreyLegend *ZecreyLegendFilterer) FilterBlockVerification(opts *bind.FilterOpts) (*ZecreyLegendBlockVerificationIterator, error)

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

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZecreyLegendFilterer) FilterBlocksRevert

func (_ZecreyLegend *ZecreyLegendFilterer) FilterBlocksRevert(opts *bind.FilterOpts) (*ZecreyLegendBlocksRevertIterator, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZecreyLegendFilterer) FilterCreateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) FilterCreateTokenPair(opts *bind.FilterOpts) (*ZecreyLegendCreateTokenPairIterator, 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 (*ZecreyLegendFilterer) FilterDeposit

func (_ZecreyLegend *ZecreyLegendFilterer) FilterDeposit(opts *bind.FilterOpts) (*ZecreyLegendDepositIterator, error)

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

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

func (*ZecreyLegendFilterer) FilterDepositCommit

func (_ZecreyLegend *ZecreyLegendFilterer) FilterDepositCommit(opts *bind.FilterOpts, zecreyBlockNumber []uint32, accountIndex []uint32, assetId []uint16) (*ZecreyLegendDepositCommitIterator, error)

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

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

func (*ZecreyLegendFilterer) FilterDepositNft

func (_ZecreyLegend *ZecreyLegendFilterer) FilterDepositNft(opts *bind.FilterOpts) (*ZecreyLegendDepositNftIterator, 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 (*ZecreyLegendFilterer) FilterDesertMode

func (_ZecreyLegend *ZecreyLegendFilterer) FilterDesertMode(opts *bind.FilterOpts) (*ZecreyLegendDesertModeIterator, error)

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

Solidity: event DesertMode()

func (*ZecreyLegendFilterer) FilterFullExitCommit

func (_ZecreyLegend *ZecreyLegendFilterer) FilterFullExitCommit(opts *bind.FilterOpts, zecreyBlockId []uint32, accountId []uint32, tokenId []uint16) (*ZecreyLegendFullExitCommitIterator, error)

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

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

func (*ZecreyLegendFilterer) FilterNewDefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) FilterNewDefaultNFTFactory(opts *bind.FilterOpts, factory []common.Address) (*ZecreyLegendNewDefaultNFTFactoryIterator, error)

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

Solidity: event NewDefaultNFTFactory(address indexed factory)

func (*ZecreyLegendFilterer) FilterNewNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) FilterNewNFTFactory(opts *bind.FilterOpts, _creatorAccountNameHash [][32]byte) (*ZecreyLegendNewNFTFactoryIterator, error)

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

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

func (*ZecreyLegendFilterer) FilterNewPriorityRequest

func (_ZecreyLegend *ZecreyLegendFilterer) FilterNewPriorityRequest(opts *bind.FilterOpts) (*ZecreyLegendNewPriorityRequestIterator, 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 (*ZecreyLegendFilterer) FilterNoticePeriodChange

func (_ZecreyLegend *ZecreyLegendFilterer) FilterNoticePeriodChange(opts *bind.FilterOpts) (*ZecreyLegendNoticePeriodChangeIterator, error)

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

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZecreyLegendFilterer) FilterRegisterZNS

func (_ZecreyLegend *ZecreyLegendFilterer) FilterRegisterZNS(opts *bind.FilterOpts) (*ZecreyLegendRegisterZNSIterator, error)

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

Solidity: event RegisterZNS(string name, bytes32 nameHash, address owner, bytes32 zecreyPubKeyX, bytes32 zecreyPubKeyY, uint32 accountIndex)

func (*ZecreyLegendFilterer) FilterUpdateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) FilterUpdateTokenPair(opts *bind.FilterOpts) (*ZecreyLegendUpdateTokenPairIterator, 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 (*ZecreyLegendFilterer) FilterWithdrawNft

func (_ZecreyLegend *ZecreyLegendFilterer) FilterWithdrawNft(opts *bind.FilterOpts) (*ZecreyLegendWithdrawNftIterator, 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 (*ZecreyLegendFilterer) FilterWithdrawal

func (_ZecreyLegend *ZecreyLegendFilterer) FilterWithdrawal(opts *bind.FilterOpts) (*ZecreyLegendWithdrawalIterator, error)

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

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZecreyLegendFilterer) FilterWithdrawalNFTPending added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) FilterWithdrawalNFTPending(opts *bind.FilterOpts, nftIndex []*big.Int) (*ZecreyLegendWithdrawalNFTPendingIterator, error)

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

Solidity: event WithdrawalNFTPending(uint40 indexed nftIndex)

func (*ZecreyLegendFilterer) ParseBlockCommit

func (_ZecreyLegend *ZecreyLegendFilterer) ParseBlockCommit(log types.Log) (*ZecreyLegendBlockCommit, error)

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

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZecreyLegendFilterer) ParseBlockVerification

func (_ZecreyLegend *ZecreyLegendFilterer) ParseBlockVerification(log types.Log) (*ZecreyLegendBlockVerification, error)

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

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZecreyLegendFilterer) ParseBlocksRevert

func (_ZecreyLegend *ZecreyLegendFilterer) ParseBlocksRevert(log types.Log) (*ZecreyLegendBlocksRevert, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZecreyLegendFilterer) ParseCreateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) ParseCreateTokenPair(log types.Log) (*ZecreyLegendCreateTokenPair, 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 (*ZecreyLegendFilterer) ParseDeposit

func (_ZecreyLegend *ZecreyLegendFilterer) ParseDeposit(log types.Log) (*ZecreyLegendDeposit, error)

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

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

func (*ZecreyLegendFilterer) ParseDepositCommit

func (_ZecreyLegend *ZecreyLegendFilterer) ParseDepositCommit(log types.Log) (*ZecreyLegendDepositCommit, error)

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

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

func (*ZecreyLegendFilterer) ParseDepositNft

func (_ZecreyLegend *ZecreyLegendFilterer) ParseDepositNft(log types.Log) (*ZecreyLegendDepositNft, 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 (*ZecreyLegendFilterer) ParseDesertMode

func (_ZecreyLegend *ZecreyLegendFilterer) ParseDesertMode(log types.Log) (*ZecreyLegendDesertMode, error)

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

Solidity: event DesertMode()

func (*ZecreyLegendFilterer) ParseFullExitCommit

func (_ZecreyLegend *ZecreyLegendFilterer) ParseFullExitCommit(log types.Log) (*ZecreyLegendFullExitCommit, error)

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

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

func (*ZecreyLegendFilterer) ParseNewDefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) ParseNewDefaultNFTFactory(log types.Log) (*ZecreyLegendNewDefaultNFTFactory, error)

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

Solidity: event NewDefaultNFTFactory(address indexed factory)

func (*ZecreyLegendFilterer) ParseNewNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) ParseNewNFTFactory(log types.Log) (*ZecreyLegendNewNFTFactory, error)

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

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

func (*ZecreyLegendFilterer) ParseNewPriorityRequest

func (_ZecreyLegend *ZecreyLegendFilterer) ParseNewPriorityRequest(log types.Log) (*ZecreyLegendNewPriorityRequest, 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 (*ZecreyLegendFilterer) ParseNoticePeriodChange

func (_ZecreyLegend *ZecreyLegendFilterer) ParseNoticePeriodChange(log types.Log) (*ZecreyLegendNoticePeriodChange, error)

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

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZecreyLegendFilterer) ParseRegisterZNS

func (_ZecreyLegend *ZecreyLegendFilterer) ParseRegisterZNS(log types.Log) (*ZecreyLegendRegisterZNS, error)

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

Solidity: event RegisterZNS(string name, bytes32 nameHash, address owner, bytes32 zecreyPubKeyX, bytes32 zecreyPubKeyY, uint32 accountIndex)

func (*ZecreyLegendFilterer) ParseUpdateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) ParseUpdateTokenPair(log types.Log) (*ZecreyLegendUpdateTokenPair, error)

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

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

func (*ZecreyLegendFilterer) ParseWithdrawNft

func (_ZecreyLegend *ZecreyLegendFilterer) ParseWithdrawNft(log types.Log) (*ZecreyLegendWithdrawNft, error)

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

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

func (*ZecreyLegendFilterer) ParseWithdrawal

func (_ZecreyLegend *ZecreyLegendFilterer) ParseWithdrawal(log types.Log) (*ZecreyLegendWithdrawal, error)

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

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZecreyLegendFilterer) ParseWithdrawalNFTPending added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) ParseWithdrawalNFTPending(log types.Log) (*ZecreyLegendWithdrawalNFTPending, error)

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

Solidity: event WithdrawalNFTPending(uint40 indexed nftIndex)

func (*ZecreyLegendFilterer) WatchBlockCommit

func (_ZecreyLegend *ZecreyLegendFilterer) WatchBlockCommit(opts *bind.WatchOpts, sink chan<- *ZecreyLegendBlockCommit) (event.Subscription, error)

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

Solidity: event BlockCommit(uint32 blockNumber)

func (*ZecreyLegendFilterer) WatchBlockVerification

func (_ZecreyLegend *ZecreyLegendFilterer) WatchBlockVerification(opts *bind.WatchOpts, sink chan<- *ZecreyLegendBlockVerification) (event.Subscription, error)

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

Solidity: event BlockVerification(uint32 blockNumber)

func (*ZecreyLegendFilterer) WatchBlocksRevert

func (_ZecreyLegend *ZecreyLegendFilterer) WatchBlocksRevert(opts *bind.WatchOpts, sink chan<- *ZecreyLegendBlocksRevert) (event.Subscription, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZecreyLegendFilterer) WatchCreateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) WatchCreateTokenPair(opts *bind.WatchOpts, sink chan<- *ZecreyLegendCreateTokenPair) (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 (*ZecreyLegendFilterer) WatchDeposit

func (_ZecreyLegend *ZecreyLegendFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZecreyLegendDeposit) (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 (*ZecreyLegendFilterer) WatchDepositCommit

func (_ZecreyLegend *ZecreyLegendFilterer) WatchDepositCommit(opts *bind.WatchOpts, sink chan<- *ZecreyLegendDepositCommit, zecreyBlockNumber []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 zecreyBlockNumber, uint32 indexed accountIndex, bytes32 accountName, uint16 indexed assetId, uint128 amount)

func (*ZecreyLegendFilterer) WatchDepositNft

func (_ZecreyLegend *ZecreyLegendFilterer) WatchDepositNft(opts *bind.WatchOpts, sink chan<- *ZecreyLegendDepositNft) (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 (*ZecreyLegendFilterer) WatchDesertMode

func (_ZecreyLegend *ZecreyLegendFilterer) WatchDesertMode(opts *bind.WatchOpts, sink chan<- *ZecreyLegendDesertMode) (event.Subscription, error)

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

Solidity: event DesertMode()

func (*ZecreyLegendFilterer) WatchFullExitCommit

func (_ZecreyLegend *ZecreyLegendFilterer) WatchFullExitCommit(opts *bind.WatchOpts, sink chan<- *ZecreyLegendFullExitCommit, zecreyBlockId []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 zecreyBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZecreyLegendFilterer) WatchNewDefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) WatchNewDefaultNFTFactory(opts *bind.WatchOpts, sink chan<- *ZecreyLegendNewDefaultNFTFactory, 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 (*ZecreyLegendFilterer) WatchNewNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) WatchNewNFTFactory(opts *bind.WatchOpts, sink chan<- *ZecreyLegendNewNFTFactory, _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 (*ZecreyLegendFilterer) WatchNewPriorityRequest

func (_ZecreyLegend *ZecreyLegendFilterer) WatchNewPriorityRequest(opts *bind.WatchOpts, sink chan<- *ZecreyLegendNewPriorityRequest) (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 (*ZecreyLegendFilterer) WatchNoticePeriodChange

func (_ZecreyLegend *ZecreyLegendFilterer) WatchNoticePeriodChange(opts *bind.WatchOpts, sink chan<- *ZecreyLegendNoticePeriodChange) (event.Subscription, error)

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

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZecreyLegendFilterer) WatchRegisterZNS

func (_ZecreyLegend *ZecreyLegendFilterer) WatchRegisterZNS(opts *bind.WatchOpts, sink chan<- *ZecreyLegendRegisterZNS) (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 zecreyPubKeyX, bytes32 zecreyPubKeyY, uint32 accountIndex)

func (*ZecreyLegendFilterer) WatchUpdateTokenPair

func (_ZecreyLegend *ZecreyLegendFilterer) WatchUpdateTokenPair(opts *bind.WatchOpts, sink chan<- *ZecreyLegendUpdateTokenPair) (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 (*ZecreyLegendFilterer) WatchWithdrawNft

func (_ZecreyLegend *ZecreyLegendFilterer) WatchWithdrawNft(opts *bind.WatchOpts, sink chan<- *ZecreyLegendWithdrawNft) (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 (*ZecreyLegendFilterer) WatchWithdrawal

func (_ZecreyLegend *ZecreyLegendFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ZecreyLegendWithdrawal) (event.Subscription, error)

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

Solidity: event Withdrawal(uint16 assetId, uint128 amount)

func (*ZecreyLegendFilterer) WatchWithdrawalNFTPending added in v0.0.14

func (_ZecreyLegend *ZecreyLegendFilterer) WatchWithdrawalNFTPending(opts *bind.WatchOpts, sink chan<- *ZecreyLegendWithdrawalNFTPending, 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 ZecreyLegendFullExitCommit

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

ZecreyLegendFullExitCommit represents a FullExitCommit event raised by the ZecreyLegend contract.

type ZecreyLegendFullExitCommitIterator

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

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

func (*ZecreyLegendFullExitCommitIterator) Close

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

func (*ZecreyLegendFullExitCommitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendFullExitCommitIterator) 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 ZecreyLegendNewDefaultNFTFactory added in v0.0.14

type ZecreyLegendNewDefaultNFTFactory struct {
	Factory common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ZecreyLegendNewDefaultNFTFactory represents a NewDefaultNFTFactory event raised by the ZecreyLegend contract.

type ZecreyLegendNewDefaultNFTFactoryIterator added in v0.0.14

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

ZecreyLegendNewDefaultNFTFactoryIterator is returned from FilterNewDefaultNFTFactory and is used to iterate over the raw logs and unpacked data for NewDefaultNFTFactory events raised by the ZecreyLegend contract.

func (*ZecreyLegendNewDefaultNFTFactoryIterator) Close added in v0.0.14

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

func (*ZecreyLegendNewDefaultNFTFactoryIterator) Error added in v0.0.14

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendNewDefaultNFTFactoryIterator) Next added in v0.0.14

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 ZecreyLegendNewNFTFactory added in v0.0.14

type ZecreyLegendNewNFTFactory struct {
	CreatorAccountNameHash [32]byte
	CollectionId           uint32
	FactoryAddress         common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

ZecreyLegendNewNFTFactory represents a NewNFTFactory event raised by the ZecreyLegend contract.

type ZecreyLegendNewNFTFactoryIterator added in v0.0.14

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

ZecreyLegendNewNFTFactoryIterator is returned from FilterNewNFTFactory and is used to iterate over the raw logs and unpacked data for NewNFTFactory events raised by the ZecreyLegend contract.

func (*ZecreyLegendNewNFTFactoryIterator) Close added in v0.0.14

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

func (*ZecreyLegendNewNFTFactoryIterator) Error added in v0.0.14

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendNewNFTFactoryIterator) Next added in v0.0.14

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 ZecreyLegendNewPriorityRequest

type ZecreyLegendNewPriorityRequest struct {
	Sender          common.Address
	SerialId        uint64
	TxType          uint8
	PubData         []byte
	ExpirationBlock *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZecreyLegendNewPriorityRequest represents a NewPriorityRequest event raised by the ZecreyLegend contract.

type ZecreyLegendNewPriorityRequestIterator

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

ZecreyLegendNewPriorityRequestIterator is returned from FilterNewPriorityRequest and is used to iterate over the raw logs and unpacked data for NewPriorityRequest events raised by the ZecreyLegend contract.

func (*ZecreyLegendNewPriorityRequestIterator) Close

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

func (*ZecreyLegendNewPriorityRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendNewPriorityRequestIterator) 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 ZecreyLegendNoticePeriodChange

type ZecreyLegendNoticePeriodChange struct {
	NewNoticePeriod *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZecreyLegendNoticePeriodChange represents a NoticePeriodChange event raised by the ZecreyLegend contract.

type ZecreyLegendNoticePeriodChangeIterator

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

ZecreyLegendNoticePeriodChangeIterator is returned from FilterNoticePeriodChange and is used to iterate over the raw logs and unpacked data for NoticePeriodChange events raised by the ZecreyLegend contract.

func (*ZecreyLegendNoticePeriodChangeIterator) Close

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

func (*ZecreyLegendNoticePeriodChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendNoticePeriodChangeIterator) 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 ZecreyLegendRaw

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

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

func (*ZecreyLegendRaw) Call

func (_ZecreyLegend *ZecreyLegendRaw) 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 (*ZecreyLegendRaw) Transact

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

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

func (*ZecreyLegendRaw) Transfer

func (_ZecreyLegend *ZecreyLegendRaw) 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 ZecreyLegendRegisterZNS

type ZecreyLegendRegisterZNS struct {
	Name          string
	NameHash      [32]byte
	Owner         common.Address
	ZecreyPubKeyX [32]byte
	ZecreyPubKeyY [32]byte
	AccountIndex  uint32
	Raw           types.Log // Blockchain specific contextual infos
}

ZecreyLegendRegisterZNS represents a RegisterZNS event raised by the ZecreyLegend contract.

type ZecreyLegendRegisterZNSIterator

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

ZecreyLegendRegisterZNSIterator is returned from FilterRegisterZNS and is used to iterate over the raw logs and unpacked data for RegisterZNS events raised by the ZecreyLegend contract.

func (*ZecreyLegendRegisterZNSIterator) Close

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

func (*ZecreyLegendRegisterZNSIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendRegisterZNSIterator) 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 ZecreyLegendSession

type ZecreyLegendSession struct {
	Contract     *ZecreyLegend     // 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
}

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

func (*ZecreyLegendSession) ActivateDesertMode

func (_ZecreyLegend *ZecreyLegendSession) ActivateDesertMode() (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZecreyLegendSession) CommitBlocks

func (_ZecreyLegend *ZecreyLegendSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZecreyLegendCommitBlockInfo) (*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 (*ZecreyLegendSession) CreatePair

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) CutUpgradeNoticePeriod

func (_ZecreyLegend *ZecreyLegendSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZecreyLegendSession) DefaultNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) DefaultNFTFactory() (common.Address, error)

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

Solidity: function defaultNFTFactory() view returns(address)

func (*ZecreyLegendSession) DepositBEP20

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) DepositBNB

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) DepositNft

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) DesertMode

func (_ZecreyLegend *ZecreyLegendSession) DesertMode() (bool, error)

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

Solidity: function desertMode() view returns(bool)

func (*ZecreyLegendSession) FirstPriorityRequestId

func (_ZecreyLegend *ZecreyLegendSession) FirstPriorityRequestId() (uint64, error)

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

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZecreyLegendSession) GetAddressByAccountNameHash

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) GetNFTFactory added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) GetNoticePeriod

func (_ZecreyLegend *ZecreyLegendSession) GetNoticePeriod() (*big.Int, error)

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

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZecreyLegendSession) GetPendingBalance

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) Initialize

func (_ZecreyLegend *ZecreyLegendSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZecreyLegendSession) IsReadyForUpgrade

func (_ZecreyLegend *ZecreyLegendSession) IsReadyForUpgrade() (bool, error)

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

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZecreyLegendSession) MAXACCOUNTINDEX

func (_ZecreyLegend *ZecreyLegendSession) MAXACCOUNTINDEX() (uint32, error)

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

Solidity: function MAX_ACCOUNT_INDEX() view returns(uint32)

func (*ZecreyLegendSession) MAXAMOUNTOFREGISTEREDASSETS

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) MAXDEPOSITAMOUNT

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) MAXFUNGIBLEASSETID

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) MAXNFTINDEX added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) NftFactories added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) OnERC721Received added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) RegisterZNS

func (_ZecreyLegend *ZecreyLegendSession) RegisterZNS(_name string, _owner common.Address, _zecreyPubKeyX [32]byte, _zecreyPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zecreyPubKeyX, bytes32 _zecreyPubKeyY) payable returns()

func (*ZecreyLegendSession) RequestFullExit

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) RequestFullExitNft

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) RevertBlocks

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) SECURITYCOUNCILMEMBERSNUMBER

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) SHORTESTUPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) SPECIALACCOUNTADDRESS

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) SPECIALACCOUNTID

func (_ZecreyLegend *ZecreyLegendSession) SPECIALACCOUNTID() (uint32, error)

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

Solidity: function SPECIAL_ACCOUNT_ID() view returns(uint32)

func (*ZecreyLegendSession) SetDefaultNFTFactory added in v0.0.15

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) StateRoot added in v0.0.15

func (_ZecreyLegend *ZecreyLegendSession) StateRoot() ([32]byte, error)

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

Solidity: function stateRoot() view returns(bytes32)

func (*ZecreyLegendSession) StoredBlockHashes added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) TXSIZE added in v0.0.15

func (_ZecreyLegend *ZecreyLegendSession) TXSIZE() (*big.Int, error)

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

Solidity: function TX_SIZE() view returns(uint256)

func (*ZecreyLegendSession) TotalBlocksCommitted

func (_ZecreyLegend *ZecreyLegendSession) TotalBlocksCommitted() (uint32, error)

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

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZecreyLegendSession) TotalBlocksVerified

func (_ZecreyLegend *ZecreyLegendSession) TotalBlocksVerified() (uint32, error)

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

Solidity: function totalBlocksVerified() view returns(uint32)

func (*ZecreyLegendSession) TotalOpenPriorityRequests

func (_ZecreyLegend *ZecreyLegendSession) TotalOpenPriorityRequests() (uint64, error)

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

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZecreyLegendSession) TotalTokenPairs

func (_ZecreyLegend *ZecreyLegendSession) TotalTokenPairs() (uint16, error)

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

Solidity: function totalTokenPairs() view returns(uint16)

func (*ZecreyLegendSession) TransferERC20

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) UPGRADENOTICEPERIOD

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) UpdatePairRate

func (_ZecreyLegend *ZecreyLegendSession) UpdatePairRate(_pairInfo OldZecreyLegendPairInfo) (*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 (*ZecreyLegendSession) Upgrade

func (_ZecreyLegend *ZecreyLegendSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZecreyLegendSession) UpgradeCanceled

func (_ZecreyLegend *ZecreyLegendSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZecreyLegendSession) UpgradeFinishes

func (_ZecreyLegend *ZecreyLegendSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZecreyLegendSession) UpgradeNoticePeriodStarted

func (_ZecreyLegend *ZecreyLegendSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZecreyLegendSession) UpgradePreparationStarted

func (_ZecreyLegend *ZecreyLegendSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZecreyLegendSession) VerifyAndExecuteBlocks added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) VerifyAndExecuteBlocks(_blocks []OldZecreyLegendVerifyAndExecuteBlockInfo, _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 (*ZecreyLegendSession) WITHDRAWALGASLIMIT

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) WithdrawPendingBalance

func (_ZecreyLegend *ZecreyLegendSession) 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 (*ZecreyLegendSession) WithdrawPendingNFTBalance added in v0.0.14

func (_ZecreyLegend *ZecreyLegendSession) 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 ZecreyLegendTransactor

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

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

func NewZecreyLegendTransactor

func NewZecreyLegendTransactor(address common.Address, transactor bind.ContractTransactor) (*ZecreyLegendTransactor, error)

NewZecreyLegendTransactor creates a new write-only instance of ZecreyLegend, bound to a specific deployed contract.

func (*ZecreyLegendTransactor) ActivateDesertMode

func (_ZecreyLegend *ZecreyLegendTransactor) ActivateDesertMode(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZecreyLegendTransactor) CommitBlocks

func (_ZecreyLegend *ZecreyLegendTransactor) CommitBlocks(opts *bind.TransactOpts, _lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZecreyLegendCommitBlockInfo) (*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 (*ZecreyLegendTransactor) CreatePair

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) CutUpgradeNoticePeriod

func (_ZecreyLegend *ZecreyLegendTransactor) CutUpgradeNoticePeriod(opts *bind.TransactOpts) (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZecreyLegendTransactor) DepositBEP20

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) DepositBNB

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) DepositNft

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) Initialize

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) OnERC721Received added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) RegisterZNS

func (_ZecreyLegend *ZecreyLegendTransactor) RegisterZNS(opts *bind.TransactOpts, _name string, _owner common.Address, _zecreyPubKeyX [32]byte, _zecreyPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zecreyPubKeyX, bytes32 _zecreyPubKeyY) payable returns()

func (*ZecreyLegendTransactor) RequestFullExit

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) RequestFullExitNft

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) RevertBlocks

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) SetDefaultNFTFactory added in v0.0.15

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) TransferERC20

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) UpdatePairRate

func (_ZecreyLegend *ZecreyLegendTransactor) UpdatePairRate(opts *bind.TransactOpts, _pairInfo OldZecreyLegendPairInfo) (*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 (*ZecreyLegendTransactor) Upgrade

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) UpgradeCanceled

func (_ZecreyLegend *ZecreyLegendTransactor) UpgradeCanceled(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZecreyLegendTransactor) UpgradeFinishes

func (_ZecreyLegend *ZecreyLegendTransactor) UpgradeFinishes(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZecreyLegendTransactor) UpgradeNoticePeriodStarted

func (_ZecreyLegend *ZecreyLegendTransactor) UpgradeNoticePeriodStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZecreyLegendTransactor) UpgradePreparationStarted

func (_ZecreyLegend *ZecreyLegendTransactor) UpgradePreparationStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZecreyLegendTransactor) VerifyAndExecuteBlocks added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactor) VerifyAndExecuteBlocks(opts *bind.TransactOpts, _blocks []OldZecreyLegendVerifyAndExecuteBlockInfo, _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 (*ZecreyLegendTransactor) WithdrawPendingBalance

func (_ZecreyLegend *ZecreyLegendTransactor) 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 (*ZecreyLegendTransactor) WithdrawPendingNFTBalance added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactor) 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 ZecreyLegendTransactorRaw

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

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

func (*ZecreyLegendTransactorRaw) Transact

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

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

func (*ZecreyLegendTransactorRaw) Transfer

func (_ZecreyLegend *ZecreyLegendTransactorRaw) 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 ZecreyLegendTransactorSession

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

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

func (*ZecreyLegendTransactorSession) ActivateDesertMode

func (_ZecreyLegend *ZecreyLegendTransactorSession) ActivateDesertMode() (*types.Transaction, error)

ActivateDesertMode is a paid mutator transaction binding the contract method 0x22b22256.

Solidity: function activateDesertMode() returns(bool)

func (*ZecreyLegendTransactorSession) CommitBlocks

func (_ZecreyLegend *ZecreyLegendTransactorSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []OldZecreyLegendCommitBlockInfo) (*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 (*ZecreyLegendTransactorSession) CreatePair

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) CutUpgradeNoticePeriod

func (_ZecreyLegend *ZecreyLegendTransactorSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZecreyLegendTransactorSession) DepositBEP20

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) DepositBNB

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) DepositNft

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) Initialize

func (_ZecreyLegend *ZecreyLegendTransactorSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

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

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZecreyLegendTransactorSession) OnERC721Received added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) RegisterZNS

func (_ZecreyLegend *ZecreyLegendTransactorSession) RegisterZNS(_name string, _owner common.Address, _zecreyPubKeyX [32]byte, _zecreyPubKeyY [32]byte) (*types.Transaction, error)

RegisterZNS is a paid mutator transaction binding the contract method 0x3fdeb67d.

Solidity: function registerZNS(string _name, address _owner, bytes32 _zecreyPubKeyX, bytes32 _zecreyPubKeyY) payable returns()

func (*ZecreyLegendTransactorSession) RequestFullExit

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) RequestFullExitNft

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) RevertBlocks

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) SetDefaultNFTFactory added in v0.0.15

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) TransferERC20

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) UpdatePairRate

func (_ZecreyLegend *ZecreyLegendTransactorSession) UpdatePairRate(_pairInfo OldZecreyLegendPairInfo) (*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 (*ZecreyLegendTransactorSession) Upgrade

func (_ZecreyLegend *ZecreyLegendTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

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

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZecreyLegendTransactorSession) UpgradeCanceled

func (_ZecreyLegend *ZecreyLegendTransactorSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZecreyLegendTransactorSession) UpgradeFinishes

func (_ZecreyLegend *ZecreyLegendTransactorSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZecreyLegendTransactorSession) UpgradeNoticePeriodStarted

func (_ZecreyLegend *ZecreyLegendTransactorSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZecreyLegendTransactorSession) UpgradePreparationStarted

func (_ZecreyLegend *ZecreyLegendTransactorSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZecreyLegendTransactorSession) VerifyAndExecuteBlocks added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactorSession) VerifyAndExecuteBlocks(_blocks []OldZecreyLegendVerifyAndExecuteBlockInfo, _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 (*ZecreyLegendTransactorSession) WithdrawPendingBalance

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 (*ZecreyLegendTransactorSession) WithdrawPendingNFTBalance added in v0.0.14

func (_ZecreyLegend *ZecreyLegendTransactorSession) 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 ZecreyLegendUpdateTokenPair

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

ZecreyLegendUpdateTokenPair represents a UpdateTokenPair event raised by the ZecreyLegend contract.

type ZecreyLegendUpdateTokenPairIterator

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

ZecreyLegendUpdateTokenPairIterator is returned from FilterUpdateTokenPair and is used to iterate over the raw logs and unpacked data for UpdateTokenPair events raised by the ZecreyLegend contract.

func (*ZecreyLegendUpdateTokenPairIterator) Close

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

func (*ZecreyLegendUpdateTokenPairIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendUpdateTokenPairIterator) 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 ZecreyLegendWithdrawNft

type ZecreyLegendWithdrawNft struct {
	AccountIndex uint32
	NftL1Address common.Address
	ToAddress    common.Address
	NftL1TokenId *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ZecreyLegendWithdrawNft represents a WithdrawNft event raised by the ZecreyLegend contract.

type ZecreyLegendWithdrawNftIterator

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

ZecreyLegendWithdrawNftIterator is returned from FilterWithdrawNft and is used to iterate over the raw logs and unpacked data for WithdrawNft events raised by the ZecreyLegend contract.

func (*ZecreyLegendWithdrawNftIterator) Close

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

func (*ZecreyLegendWithdrawNftIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendWithdrawNftIterator) 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 ZecreyLegendWithdrawal

type ZecreyLegendWithdrawal struct {
	AssetId uint16
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZecreyLegendWithdrawal represents a Withdrawal event raised by the ZecreyLegend contract.

type ZecreyLegendWithdrawalIterator

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

ZecreyLegendWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the ZecreyLegend contract.

func (*ZecreyLegendWithdrawalIterator) Close

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

func (*ZecreyLegendWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendWithdrawalIterator) 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 ZecreyLegendWithdrawalNFTPending added in v0.0.14

type ZecreyLegendWithdrawalNFTPending struct {
	NftIndex *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ZecreyLegendWithdrawalNFTPending represents a WithdrawalNFTPending event raised by the ZecreyLegend contract.

type ZecreyLegendWithdrawalNFTPendingIterator added in v0.0.14

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

ZecreyLegendWithdrawalNFTPendingIterator is returned from FilterWithdrawalNFTPending and is used to iterate over the raw logs and unpacked data for WithdrawalNFTPending events raised by the ZecreyLegend contract.

func (*ZecreyLegendWithdrawalNFTPendingIterator) Close added in v0.0.14

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

func (*ZecreyLegendWithdrawalNFTPendingIterator) Error added in v0.0.14

Error returns any retrieval or parsing error occurred during filtering.

func (*ZecreyLegendWithdrawalNFTPendingIterator) Next added in v0.0.14

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