bindings

package
v0.0.0-...-1d04f91 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LPWANClientABI = LPWANClientMetaData.ABI

LPWANClientABI is the input ABI used to generate the binding from. Deprecated: Use LPWANClientMetaData.ABI instead.

View Source
var LPWANClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"RELAY_INVALID_COST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RELAY_INVALID_HEIGHT\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BurnExcessToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"rewardType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ClaimReward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"ControllerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"__Controllable_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnExcessToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"}],\"name\":\"claimAllReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"}],\"name\":\"claimProposedCostReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"}],\"name\":\"claimProposedReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"}],\"name\":\"claimProvenCostReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"burn\",\"type\":\"bool\"}],\"name\":\"claimProvenReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"controllers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestProvenL1Height\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMEP1004Addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxCostMxc\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRelaySyncStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"ProposedRewardEventHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ProvenRewardEventHeight\",\"type\":\"uint256\"}],\"internalType\":\"structLPWAN.RelaySyncStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getRewardData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"proposedReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provenReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposedCostReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provenCostReward\",\"type\":\"uint256\"}],\"internalType\":\"structLPWAN.RewardData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalCostEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalRewardData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"proposedReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provenReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposedCostReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provenCostReward\",\"type\":\"uint256\"}],\"internalType\":\"structLPWAN.RewardData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"MEP1004Address_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ethPriceOracle_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_SNCode\",\"type\":\"string\"}],\"name\":\"mintMEP1004Stations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ethPriceOracle_\",\"type\":\"address\"}],\"name\":\"setEthOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"MEP1004Address\",\"type\":\"address\"}],\"name\":\"setMEP1004Addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxCostMxc_\",\"type\":\"uint256\"}],\"name\":\"setMaxCostMxc\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposedRewardHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provenRewardHeight\",\"type\":\"uint256\"}],\"name\":\"setRelaySyncStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_MEP1002TokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_MEP1004TokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"string\",\"name\":\"_item\",\"type\":\"string\"}],\"name\":\"submitLocationProofs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"rewardHeight\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cost\",\"type\":\"uint256\"}],\"internalType\":\"structLPWAN.RewardEvent[]\",\"name\":\"rewardEvents\",\"type\":\"tuple[]\"},{\"internalType\":\"bool\",\"name\":\"setting\",\"type\":\"bool\"}],\"name\":\"syncProposedRewardEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"rewardHeight\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cost\",\"type\":\"uint256\"}],\"internalType\":\"structLPWAN.RewardEvent[]\",\"name\":\"rewardEvents\",\"type\":\"tuple[]\"},{\"internalType\":\"bool\",\"name\":\"setting\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"latestProvenL1Height\",\"type\":\"uint256\"}],\"name\":\"syncProvenRewardEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

LPWANClientMetaData contains all meta data concerning the LPWANClient contract.

View Source
var MxcL1ClientABI = MxcL1ClientMetaData.ABI

MxcL1ClientABI is the input ABI used to generate the binding from. Deprecated: Use MxcL1ClientMetaData.ABI instead.

View Source
var MxcL1ClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"L1_ALREADY_PROVEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ALREADY_PROVEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_BLOCK_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_BLOCK_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_BLOCK_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_DEPOSIT_REQUIREMENT\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"L1_EVIDENCE_MISMATCH\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"L1_EVIDENCE_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_FORK_CHOICE_NOT_FOUND\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_FORK_CHOICE_NOT_FOUND\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INSUFFICIENT_TOKEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INSUFFICIENT_TOKEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INSUFFICIENT_TOKEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INSUFFICIENT_TOKEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_CONFIG\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_CONFIG\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_ETH_DEPOSIT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_EVIDENCE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_EVIDENCE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_METADATA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_METADATA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PARAM\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PROOF_OVERWRITE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PROOF_OVERWRITE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_NOT_SPECIAL_PROVER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_NOT_SPECIAL_PROVER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_NOT_UNLOCK\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ORACLE_PROVER_DISABLED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ORACLE_PROVER_DISABLED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SAME_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SAME_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SYSTEM_PROVER_DISABLED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SYSTEM_PROVER_DISABLED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SYSTEM_PROVER_PROHIBITED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SYSTEM_PROVER_PROHIBITED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TOO_MANY_BLOCKS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TOO_MANY_BLOCKS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_HASH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_HASH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_NOT_EXIST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_NOT_EXIST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_RANGE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST_RANGE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Overflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_DENIED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_INVALID_ADDR\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"RESOLVER_ZERO_ADDR\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addressManager\",\"type\":\"address\"}],\"name\":\"AddressManagerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"BlockProposeReward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"l1Height\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"l1Hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mixHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txListHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint24\",\"name\":\"txListByteStart\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"txListByteEnd\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"gasLimit\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"internalType\":\"structMxcData.EthDeposit[]\",\"name\":\"depositsProcessed\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"baseFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockReward\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structMxcData.BlockMetadata\",\"name\":\"meta\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"blockFee\",\"type\":\"uint64\"}],\"name\":\"BlockProposed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"signalRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"parentGasUsed\",\"type\":\"uint32\"}],\"name\":\"BlockProven\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"BlockProvenReward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"BlockVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"srcHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"signalRoot\",\"type\":\"bytes32\"}],\"name\":\"CrossChainSynced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"structMxcData.EthDeposit\",\"name\":\"deposit\",\"type\":\"tuple\"}],\"name\":\"EthDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"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\":\"uint64\",\"name\":\"proofTimeTarget\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"proofTimeIssued\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"blockFee\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"adjustmentQuotient\",\"type\":\"uint16\"}],\"name\":\"ProofParamsChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addressManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEtherToL2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"depositMxcToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"type\":\"uint256\"}],\"name\":\"getBlock\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"_metaHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_proposer\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_proposedAt\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockFee\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNumProposedBlocks\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ringBufferSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxVerificationsPerTx\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"blockMaxGasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxTransactionsPerBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxBytesPerTxList\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"txListCacheExpiry\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofCooldownPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"systemProofCooldownPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"realProofSkipSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ethDepositGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ethDepositMaxFee\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"minEthDepositsPerBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxEthDepositsPerBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint96\",\"name\":\"maxEthDepositAmount\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"minEthDepositAmount\",\"type\":\"uint96\"},{\"internalType\":\"bool\",\"name\":\"relaySignalRoot\",\"type\":\"bool\"}],\"internalType\":\"structMxcData.Config\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"type\":\"uint256\"}],\"name\":\"getCrossChainBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"type\":\"uint256\"}],\"name\":\"getCrossChainSignalRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"parentGasUsed\",\"type\":\"uint32\"}],\"name\":\"getForkChoice\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"signalRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"provenAt\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"gasUsed\",\"type\":\"uint32\"}],\"internalType\":\"structMxcData.ForkChoice\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getMxcTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"proofTime\",\"type\":\"uint64\"}],\"name\":\"getProofReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProposeReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStateVariables\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"accBlockFees\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"numBlocks\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeIssued\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeTarget\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBlockId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"accProposedAt\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nextEthDepositToProcess\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"numEthDeposits\",\"type\":\"uint64\"}],\"internalType\":\"structMxcData.StateVariables\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"}],\"name\":\"getVerifierName\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_genesisBlockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"_initBlockFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_initProofTimeTarget\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_initProofTimeIssued\",\"type\":\"uint64\"},{\"internalType\":\"uint16\",\"name\":\"_adjustmentQuotient\",\"type\":\"uint16\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"txList\",\"type\":\"bytes\"}],\"name\":\"proposeBlock\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"l1Height\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"l1Hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mixHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txListHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint24\",\"name\":\"txListByteStart\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"txListByteEnd\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"gasLimit\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"internalType\":\"structMxcData.EthDeposit[]\",\"name\":\"depositsProcessed\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"baseFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockReward\",\"type\":\"uint256\"}],\"internalType\":\"structMxcData.BlockMetadata\",\"name\":\"meta\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"proveBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAddressManager\",\"type\":\"address\"}],\"name\":\"setAddressManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newProofTimeTarget\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"newProofTimeIssued\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"newBlockFee\",\"type\":\"uint64\"},{\"internalType\":\"uint16\",\"name\":\"newAdjustmentQuotient\",\"type\":\"uint16\"}],\"name\":\"setProofParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"genesisHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint16\",\"name\":\"adjustmentQuotient\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"prevBaseFee\",\"type\":\"uint48\"},{\"internalType\":\"uint64\",\"name\":\"__reserved72\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"accProposedAt\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"accBlockFees\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"numBlocks\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nextEthDepositToProcess\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeIssued\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBlockId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeTarget\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxBlocks\",\"type\":\"uint256\"}],\"name\":\"verifyBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawMxcToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

MxcL1ClientMetaData contains all meta data concerning the MxcL1Client contract.

View Source
var MxcL2ClientABI = MxcL2ClientMetaData.ABI

MxcL2ClientABI is the input ABI used to generate the binding from. Deprecated: Use MxcL2ClientMetaData.ABI instead.

View Source
var MxcL2ClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"expected\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actual\",\"type\":\"uint64\"}],\"name\":\"L2_BASEFEE_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_1559_PARAMS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_CHAIN_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_GOLDEN_TOUCH_K\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_SENDER\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"L2_PUBLIC_INPUT_HASH_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_TOO_LATE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"M1559_OUT_OF_STOCK\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"M1559_OUT_OF_STOCK\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"expected\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actual\",\"type\":\"uint64\"}],\"name\":\"M1559_UNEXPECTED_CHANGE\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"expected\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actual\",\"type\":\"uint64\"}],\"name\":\"M1559_UNEXPECTED_CHANGE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Overflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_DENIED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_INVALID_ADDR\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"RESOLVER_ZERO_ADDR\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addressManager\",\"type\":\"address\"}],\"name\":\"AddressManagerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"number\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"basefee\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"gaslimit\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prevrandao\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"coinbase\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"chainid\",\"type\":\"uint32\"}],\"name\":\"Anchored\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"srcHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"signalRoot\",\"type\":\"bytes32\"}],\"name\":\"CrossChainSynced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GOLDEN_TOUCH_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOLDEN_TOUCH_PRIVATEKEY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addressManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"l1Hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l1SignalRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"l1Height\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"parentGasUsed\",\"type\":\"uint64\"}],\"name\":\"anchor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasExcess\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"timeSinceParent\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"parentGasUsed\",\"type\":\"uint64\"}],\"name\":\"getBasefee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_basefee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getCrossChainBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getCrossChainSignalRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEIP1559Config\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"yscale\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"xscale\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasIssuedPerSecond\",\"type\":\"uint64\"}],\"internalType\":\"structMxcL2.EIP1559Config\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"basefee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasIssuedPerSecond\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasExcessMax\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasTarget\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"ratio2x1x\",\"type\":\"uint64\"}],\"internalType\":\"structMxcL2.EIP1559Params\",\"name\":\"_param1559\",\"type\":\"tuple\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSyncedL1Height\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parentTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAddressManager\",\"type\":\"address\"}],\"name\":\"setAddressManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"k\",\"type\":\"uint8\"}],\"name\":\"signAnchor\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"r\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"s\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MxcL2ClientMetaData contains all meta data concerning the MxcL2Client contract.

View Source
var MxcTokenClientABI = MxcTokenClientMetaData.ABI

MxcTokenClientABI is the input ABI used to generate the binding from. Deprecated: Use MxcTokenClientMetaData.ABI instead.

View Source
var MxcTokenClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"MXC_INVALID_ADDR\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MXC_INVALID_PREMINT_PARAMS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MXC_MINT_DISALLOWED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_DENIED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_INVALID_ADDR\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"RESOLVER_ZERO_ADDR\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"addressManager\",\"type\":\"address\"}],\"name\":\"AddressManagerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Snapshot\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addressManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"snapshotId\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"pos\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint224\",\"name\":\"votes\",\"type\":\"uint224\"}],\"internalType\":\"structERC20VotesUpgradeable.Checkpoint\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"exchange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"_premintRecipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_premintAmounts\",\"type\":\"uint256[]\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAddressManager\",\"type\":\"address\"}],\"name\":\"setAddressManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oldMxcToken_\",\"type\":\"address\"}],\"name\":\"setMxcToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snapshot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"syncL2Burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"snapshotId\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MxcTokenClientMetaData contains all meta data concerning the MxcTokenClient contract.

Functions

This section is empty.

Types

type ERC20VotesUpgradeableCheckpoint

type ERC20VotesUpgradeableCheckpoint struct {
	FromBlock uint32
	Votes     *big.Int
}

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

type LPWANClient

type LPWANClient struct {
	LPWANClientCaller     // Read-only binding to the contract
	LPWANClientTransactor // Write-only binding to the contract
	LPWANClientFilterer   // Log filterer for contract events
}

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

func NewLPWANClient

func NewLPWANClient(address common.Address, backend bind.ContractBackend) (*LPWANClient, error)

NewLPWANClient creates a new instance of LPWANClient, bound to a specific deployed contract.

type LPWANClientBurnExcessToken

type LPWANClientBurnExcessToken struct {
	Id     *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

LPWANClientBurnExcessToken represents a BurnExcessToken event raised by the LPWANClient contract.

type LPWANClientBurnExcessTokenIterator

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

LPWANClientBurnExcessTokenIterator is returned from FilterBurnExcessToken and is used to iterate over the raw logs and unpacked data for BurnExcessToken events raised by the LPWANClient contract.

func (*LPWANClientBurnExcessTokenIterator) Close

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

func (*LPWANClientBurnExcessTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPWANClientBurnExcessTokenIterator) 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 LPWANClientCaller

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

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

func NewLPWANClientCaller

func NewLPWANClientCaller(address common.Address, caller bind.ContractCaller) (*LPWANClientCaller, error)

NewLPWANClientCaller creates a new read-only instance of LPWANClient, bound to a specific deployed contract.

func (*LPWANClientCaller) Controllers

func (_LPWANClient *LPWANClientCaller) Controllers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

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

func (*LPWANClientCaller) GetLatestProvenL1Height

func (_LPWANClient *LPWANClientCaller) GetLatestProvenL1Height(opts *bind.CallOpts) (*big.Int, error)

GetLatestProvenL1Height is a free data retrieval call binding the contract method 0xe9fd96aa.

Solidity: function getLatestProvenL1Height() view returns(uint256)

func (*LPWANClientCaller) GetMEP1004Addr

func (_LPWANClient *LPWANClientCaller) GetMEP1004Addr(opts *bind.CallOpts) (common.Address, error)

GetMEP1004Addr is a free data retrieval call binding the contract method 0x90ce65e7.

Solidity: function getMEP1004Addr() view returns(address)

func (*LPWANClientCaller) GetMaxCostMxc

func (_LPWANClient *LPWANClientCaller) GetMaxCostMxc(opts *bind.CallOpts) (*big.Int, error)

GetMaxCostMxc is a free data retrieval call binding the contract method 0x02614f92.

Solidity: function getMaxCostMxc() view returns(uint256)

func (*LPWANClientCaller) GetRelaySyncStatus

func (_LPWANClient *LPWANClientCaller) GetRelaySyncStatus(opts *bind.CallOpts) (LPWANRelaySyncStatus, error)

GetRelaySyncStatus is a free data retrieval call binding the contract method 0xe3fb4590.

Solidity: function getRelaySyncStatus() view returns((uint256,uint256))

func (*LPWANClientCaller) GetRewardData

func (_LPWANClient *LPWANClientCaller) GetRewardData(opts *bind.CallOpts, account common.Address) (LPWANRewardData, error)

GetRewardData is a free data retrieval call binding the contract method 0x451831e4.

Solidity: function getRewardData(address account) view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientCaller) GetTotalCostEth

func (_LPWANClient *LPWANClientCaller) GetTotalCostEth(opts *bind.CallOpts) (*big.Int, error)

GetTotalCostEth is a free data retrieval call binding the contract method 0x8c0be20d.

Solidity: function getTotalCostEth() view returns(uint256)

func (*LPWANClientCaller) GetTotalRewardData

func (_LPWANClient *LPWANClientCaller) GetTotalRewardData(opts *bind.CallOpts) (LPWANRewardData, error)

GetTotalRewardData is a free data retrieval call binding the contract method 0x6fa4e42d.

Solidity: function getTotalRewardData() view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientCaller) Owner

func (_LPWANClient *LPWANClientCaller) 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)

type LPWANClientCallerRaw

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

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

func (*LPWANClientCallerRaw) Call

func (_LPWANClient *LPWANClientCallerRaw) 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 LPWANClientCallerSession

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

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

func (*LPWANClientCallerSession) Controllers

func (_LPWANClient *LPWANClientCallerSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

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

func (*LPWANClientCallerSession) GetLatestProvenL1Height

func (_LPWANClient *LPWANClientCallerSession) GetLatestProvenL1Height() (*big.Int, error)

GetLatestProvenL1Height is a free data retrieval call binding the contract method 0xe9fd96aa.

Solidity: function getLatestProvenL1Height() view returns(uint256)

func (*LPWANClientCallerSession) GetMEP1004Addr

func (_LPWANClient *LPWANClientCallerSession) GetMEP1004Addr() (common.Address, error)

GetMEP1004Addr is a free data retrieval call binding the contract method 0x90ce65e7.

Solidity: function getMEP1004Addr() view returns(address)

func (*LPWANClientCallerSession) GetMaxCostMxc

func (_LPWANClient *LPWANClientCallerSession) GetMaxCostMxc() (*big.Int, error)

GetMaxCostMxc is a free data retrieval call binding the contract method 0x02614f92.

Solidity: function getMaxCostMxc() view returns(uint256)

func (*LPWANClientCallerSession) GetRelaySyncStatus

func (_LPWANClient *LPWANClientCallerSession) GetRelaySyncStatus() (LPWANRelaySyncStatus, error)

GetRelaySyncStatus is a free data retrieval call binding the contract method 0xe3fb4590.

Solidity: function getRelaySyncStatus() view returns((uint256,uint256))

func (*LPWANClientCallerSession) GetRewardData

func (_LPWANClient *LPWANClientCallerSession) GetRewardData(account common.Address) (LPWANRewardData, error)

GetRewardData is a free data retrieval call binding the contract method 0x451831e4.

Solidity: function getRewardData(address account) view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientCallerSession) GetTotalCostEth

func (_LPWANClient *LPWANClientCallerSession) GetTotalCostEth() (*big.Int, error)

GetTotalCostEth is a free data retrieval call binding the contract method 0x8c0be20d.

Solidity: function getTotalCostEth() view returns(uint256)

func (*LPWANClientCallerSession) GetTotalRewardData

func (_LPWANClient *LPWANClientCallerSession) GetTotalRewardData() (LPWANRewardData, error)

GetTotalRewardData is a free data retrieval call binding the contract method 0x6fa4e42d.

Solidity: function getTotalRewardData() view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientCallerSession) Owner

func (_LPWANClient *LPWANClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type LPWANClientClaimReward

type LPWANClientClaimReward struct {
	Account    common.Address
	Burn       bool
	RewardType *big.Int
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

LPWANClientClaimReward represents a ClaimReward event raised by the LPWANClient contract.

type LPWANClientClaimRewardIterator

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

LPWANClientClaimRewardIterator is returned from FilterClaimReward and is used to iterate over the raw logs and unpacked data for ClaimReward events raised by the LPWANClient contract.

func (*LPWANClientClaimRewardIterator) Close

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

func (*LPWANClientClaimRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPWANClientClaimRewardIterator) 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 LPWANClientControllerChanged

type LPWANClientControllerChanged struct {
	Controller common.Address
	Enabled    bool
	Raw        types.Log // Blockchain specific contextual infos
}

LPWANClientControllerChanged represents a ControllerChanged event raised by the LPWANClient contract.

type LPWANClientControllerChangedIterator

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

LPWANClientControllerChangedIterator is returned from FilterControllerChanged and is used to iterate over the raw logs and unpacked data for ControllerChanged events raised by the LPWANClient contract.

func (*LPWANClientControllerChangedIterator) Close

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

func (*LPWANClientControllerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPWANClientControllerChangedIterator) 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 LPWANClientFilterer

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

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

func NewLPWANClientFilterer

func NewLPWANClientFilterer(address common.Address, filterer bind.ContractFilterer) (*LPWANClientFilterer, error)

NewLPWANClientFilterer creates a new log filterer instance of LPWANClient, bound to a specific deployed contract.

func (*LPWANClientFilterer) FilterBurnExcessToken

func (_LPWANClient *LPWANClientFilterer) FilterBurnExcessToken(opts *bind.FilterOpts, id []*big.Int, amount []*big.Int) (*LPWANClientBurnExcessTokenIterator, error)

FilterBurnExcessToken is a free log retrieval operation binding the contract event 0x50b7fb3383de2508212f88c1dd0d32ddf0ca63749f5ff5d6c06538f9f872ae4e.

Solidity: event BurnExcessToken(uint256 indexed id, uint256 indexed amount)

func (*LPWANClientFilterer) FilterClaimReward

func (_LPWANClient *LPWANClientFilterer) FilterClaimReward(opts *bind.FilterOpts, account []common.Address, burn []bool, rewardType []*big.Int) (*LPWANClientClaimRewardIterator, error)

FilterClaimReward is a free log retrieval operation binding the contract event 0x1428870caf6bc74a66b702732942aaeff425bc9bb621cabdadbc35fb4a5804d0.

Solidity: event ClaimReward(address indexed account, bool indexed burn, uint256 indexed rewardType, uint256 amount)

func (*LPWANClientFilterer) FilterControllerChanged

func (_LPWANClient *LPWANClientFilterer) FilterControllerChanged(opts *bind.FilterOpts, controller []common.Address) (*LPWANClientControllerChangedIterator, error)

FilterControllerChanged is a free log retrieval operation binding the contract event 0x4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf87.

Solidity: event ControllerChanged(address indexed controller, bool enabled)

func (*LPWANClientFilterer) FilterInitialized

func (_LPWANClient *LPWANClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*LPWANClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*LPWANClientFilterer) FilterOwnershipTransferred

func (_LPWANClient *LPWANClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LPWANClientOwnershipTransferredIterator, error)

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

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

func (*LPWANClientFilterer) ParseBurnExcessToken

func (_LPWANClient *LPWANClientFilterer) ParseBurnExcessToken(log types.Log) (*LPWANClientBurnExcessToken, error)

ParseBurnExcessToken is a log parse operation binding the contract event 0x50b7fb3383de2508212f88c1dd0d32ddf0ca63749f5ff5d6c06538f9f872ae4e.

Solidity: event BurnExcessToken(uint256 indexed id, uint256 indexed amount)

func (*LPWANClientFilterer) ParseClaimReward

func (_LPWANClient *LPWANClientFilterer) ParseClaimReward(log types.Log) (*LPWANClientClaimReward, error)

ParseClaimReward is a log parse operation binding the contract event 0x1428870caf6bc74a66b702732942aaeff425bc9bb621cabdadbc35fb4a5804d0.

Solidity: event ClaimReward(address indexed account, bool indexed burn, uint256 indexed rewardType, uint256 amount)

func (*LPWANClientFilterer) ParseControllerChanged

func (_LPWANClient *LPWANClientFilterer) ParseControllerChanged(log types.Log) (*LPWANClientControllerChanged, error)

ParseControllerChanged is a log parse operation binding the contract event 0x4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf87.

Solidity: event ControllerChanged(address indexed controller, bool enabled)

func (*LPWANClientFilterer) ParseInitialized

func (_LPWANClient *LPWANClientFilterer) ParseInitialized(log types.Log) (*LPWANClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*LPWANClientFilterer) ParseOwnershipTransferred

func (_LPWANClient *LPWANClientFilterer) ParseOwnershipTransferred(log types.Log) (*LPWANClientOwnershipTransferred, error)

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

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

func (*LPWANClientFilterer) WatchBurnExcessToken

func (_LPWANClient *LPWANClientFilterer) WatchBurnExcessToken(opts *bind.WatchOpts, sink chan<- *LPWANClientBurnExcessToken, id []*big.Int, amount []*big.Int) (event.Subscription, error)

WatchBurnExcessToken is a free log subscription operation binding the contract event 0x50b7fb3383de2508212f88c1dd0d32ddf0ca63749f5ff5d6c06538f9f872ae4e.

Solidity: event BurnExcessToken(uint256 indexed id, uint256 indexed amount)

func (*LPWANClientFilterer) WatchClaimReward

func (_LPWANClient *LPWANClientFilterer) WatchClaimReward(opts *bind.WatchOpts, sink chan<- *LPWANClientClaimReward, account []common.Address, burn []bool, rewardType []*big.Int) (event.Subscription, error)

WatchClaimReward is a free log subscription operation binding the contract event 0x1428870caf6bc74a66b702732942aaeff425bc9bb621cabdadbc35fb4a5804d0.

Solidity: event ClaimReward(address indexed account, bool indexed burn, uint256 indexed rewardType, uint256 amount)

func (*LPWANClientFilterer) WatchControllerChanged

func (_LPWANClient *LPWANClientFilterer) WatchControllerChanged(opts *bind.WatchOpts, sink chan<- *LPWANClientControllerChanged, controller []common.Address) (event.Subscription, error)

WatchControllerChanged is a free log subscription operation binding the contract event 0x4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf87.

Solidity: event ControllerChanged(address indexed controller, bool enabled)

func (*LPWANClientFilterer) WatchInitialized

func (_LPWANClient *LPWANClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LPWANClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*LPWANClientFilterer) WatchOwnershipTransferred

func (_LPWANClient *LPWANClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LPWANClientOwnershipTransferred, 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)

type LPWANClientInitialized

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

LPWANClientInitialized represents a Initialized event raised by the LPWANClient contract.

type LPWANClientInitializedIterator

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

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

func (*LPWANClientInitializedIterator) Close

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

func (*LPWANClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPWANClientInitializedIterator) 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 LPWANClientOwnershipTransferred

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

LPWANClientOwnershipTransferred represents a OwnershipTransferred event raised by the LPWANClient contract.

type LPWANClientOwnershipTransferredIterator

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

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

func (*LPWANClientOwnershipTransferredIterator) Close

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

func (*LPWANClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LPWANClientOwnershipTransferredIterator) 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 LPWANClientRaw

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

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

func (*LPWANClientRaw) Call

func (_LPWANClient *LPWANClientRaw) 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 (*LPWANClientRaw) Transact

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

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

func (*LPWANClientRaw) Transfer

func (_LPWANClient *LPWANClientRaw) 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 LPWANClientSession

type LPWANClientSession struct {
	Contract     *LPWANClient      // 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
}

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

func (*LPWANClientSession) BurnExcessToken

func (_LPWANClient *LPWANClientSession) BurnExcessToken(amount *big.Int) (*types.Transaction, error)

BurnExcessToken is a paid mutator transaction binding the contract method 0xf4a6842a.

Solidity: function burnExcessToken(uint256 amount) returns()

func (*LPWANClientSession) ClaimAllReward

func (_LPWANClient *LPWANClientSession) ClaimAllReward(burn bool) (*types.Transaction, error)

ClaimAllReward is a paid mutator transaction binding the contract method 0x41ddcee4.

Solidity: function claimAllReward(bool burn) returns()

func (*LPWANClientSession) ClaimProposedCostReward

func (_LPWANClient *LPWANClientSession) ClaimProposedCostReward(burn bool) (*types.Transaction, error)

ClaimProposedCostReward is a paid mutator transaction binding the contract method 0x1368243a.

Solidity: function claimProposedCostReward(bool burn) returns()

func (*LPWANClientSession) ClaimProposedReward

func (_LPWANClient *LPWANClientSession) ClaimProposedReward(burn bool) (*types.Transaction, error)

ClaimProposedReward is a paid mutator transaction binding the contract method 0x5abf3150.

Solidity: function claimProposedReward(bool burn) returns()

func (*LPWANClientSession) ClaimProvenCostReward

func (_LPWANClient *LPWANClientSession) ClaimProvenCostReward(burn bool) (*types.Transaction, error)

ClaimProvenCostReward is a paid mutator transaction binding the contract method 0x694a61f1.

Solidity: function claimProvenCostReward(bool burn) returns()

func (*LPWANClientSession) ClaimProvenReward

func (_LPWANClient *LPWANClientSession) ClaimProvenReward(burn bool) (*types.Transaction, error)

ClaimProvenReward is a paid mutator transaction binding the contract method 0xf5a0545e.

Solidity: function claimProvenReward(bool burn) returns()

func (*LPWANClientSession) ControllableInit

func (_LPWANClient *LPWANClientSession) ControllableInit() (*types.Transaction, error)

ControllableInit is a paid mutator transaction binding the contract method 0x5d79343d.

Solidity: function __Controllable_init() returns()

func (*LPWANClientSession) Controllers

func (_LPWANClient *LPWANClientSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

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

func (*LPWANClientSession) GetLatestProvenL1Height

func (_LPWANClient *LPWANClientSession) GetLatestProvenL1Height() (*big.Int, error)

GetLatestProvenL1Height is a free data retrieval call binding the contract method 0xe9fd96aa.

Solidity: function getLatestProvenL1Height() view returns(uint256)

func (*LPWANClientSession) GetMEP1004Addr

func (_LPWANClient *LPWANClientSession) GetMEP1004Addr() (common.Address, error)

GetMEP1004Addr is a free data retrieval call binding the contract method 0x90ce65e7.

Solidity: function getMEP1004Addr() view returns(address)

func (*LPWANClientSession) GetMaxCostMxc

func (_LPWANClient *LPWANClientSession) GetMaxCostMxc() (*big.Int, error)

GetMaxCostMxc is a free data retrieval call binding the contract method 0x02614f92.

Solidity: function getMaxCostMxc() view returns(uint256)

func (*LPWANClientSession) GetRelaySyncStatus

func (_LPWANClient *LPWANClientSession) GetRelaySyncStatus() (LPWANRelaySyncStatus, error)

GetRelaySyncStatus is a free data retrieval call binding the contract method 0xe3fb4590.

Solidity: function getRelaySyncStatus() view returns((uint256,uint256))

func (*LPWANClientSession) GetRewardData

func (_LPWANClient *LPWANClientSession) GetRewardData(account common.Address) (LPWANRewardData, error)

GetRewardData is a free data retrieval call binding the contract method 0x451831e4.

Solidity: function getRewardData(address account) view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientSession) GetTotalCostEth

func (_LPWANClient *LPWANClientSession) GetTotalCostEth() (*big.Int, error)

GetTotalCostEth is a free data retrieval call binding the contract method 0x8c0be20d.

Solidity: function getTotalCostEth() view returns(uint256)

func (*LPWANClientSession) GetTotalRewardData

func (_LPWANClient *LPWANClientSession) GetTotalRewardData() (LPWANRewardData, error)

GetTotalRewardData is a free data retrieval call binding the contract method 0x6fa4e42d.

Solidity: function getTotalRewardData() view returns((uint256,uint256,uint256,uint256))

func (*LPWANClientSession) Initialize

func (_LPWANClient *LPWANClientSession) Initialize(MEP1004Address_ common.Address, ethPriceOracle_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address MEP1004Address_, address ethPriceOracle_) returns()

func (*LPWANClientSession) MintMEP1004Stations

func (_LPWANClient *LPWANClientSession) MintMEP1004Stations(_to common.Address, _SNCode string) (*types.Transaction, error)

MintMEP1004Stations is a paid mutator transaction binding the contract method 0xf2b9ec40.

Solidity: function mintMEP1004Stations(address _to, string _SNCode) returns()

func (*LPWANClientSession) Owner

func (_LPWANClient *LPWANClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LPWANClientSession) RenounceOwnership

func (_LPWANClient *LPWANClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPWANClientSession) SetController

func (_LPWANClient *LPWANClientSession) SetController(controller common.Address, enabled bool) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0xe0dba60f.

Solidity: function setController(address controller, bool enabled) returns()

func (*LPWANClientSession) SetEthOracle

func (_LPWANClient *LPWANClientSession) SetEthOracle(ethPriceOracle_ common.Address) (*types.Transaction, error)

SetEthOracle is a paid mutator transaction binding the contract method 0xa6cd75dc.

Solidity: function setEthOracle(address ethPriceOracle_) returns()

func (*LPWANClientSession) SetMEP1004Addr

func (_LPWANClient *LPWANClientSession) SetMEP1004Addr(MEP1004Address common.Address) (*types.Transaction, error)

SetMEP1004Addr is a paid mutator transaction binding the contract method 0x157b4378.

Solidity: function setMEP1004Addr(address MEP1004Address) returns(address)

func (*LPWANClientSession) SetMaxCostMxc

func (_LPWANClient *LPWANClientSession) SetMaxCostMxc(maxCostMxc_ *big.Int) (*types.Transaction, error)

SetMaxCostMxc is a paid mutator transaction binding the contract method 0xea66254a.

Solidity: function setMaxCostMxc(uint256 maxCostMxc_) returns()

func (*LPWANClientSession) SetRelaySyncStatus

func (_LPWANClient *LPWANClientSession) SetRelaySyncStatus(proposedRewardHeight *big.Int, provenRewardHeight *big.Int) (*types.Transaction, error)

SetRelaySyncStatus is a paid mutator transaction binding the contract method 0xac3c4f2b.

Solidity: function setRelaySyncStatus(uint256 proposedRewardHeight, uint256 provenRewardHeight) returns()

func (*LPWANClientSession) SubmitLocationProofs

func (_LPWANClient *LPWANClientSession) SubmitLocationProofs(_MEP1002TokenId *big.Int, _MEP1004TokenIds []*big.Int, _item string) (*types.Transaction, error)

SubmitLocationProofs is a paid mutator transaction binding the contract method 0xcdceeba0.

Solidity: function submitLocationProofs(uint256 _MEP1002TokenId, uint256[] _MEP1004TokenIds, string _item) returns()

func (*LPWANClientSession) SyncProposedRewardEvent

func (_LPWANClient *LPWANClientSession) SyncProposedRewardEvent(rewardEvents []LPWANRewardEvent, setting bool) (*types.Transaction, error)

SyncProposedRewardEvent is a paid mutator transaction binding the contract method 0x23196cf2.

Solidity: function syncProposedRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting) returns()

func (*LPWANClientSession) SyncProvenRewardEvent

func (_LPWANClient *LPWANClientSession) SyncProvenRewardEvent(rewardEvents []LPWANRewardEvent, setting bool, latestProvenL1Height *big.Int) (*types.Transaction, error)

SyncProvenRewardEvent is a paid mutator transaction binding the contract method 0xc4adca8d.

Solidity: function syncProvenRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting, uint256 latestProvenL1Height) returns()

func (*LPWANClientSession) TransferOwnership

func (_LPWANClient *LPWANClientSession) 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 LPWANClientTransactor

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

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

func NewLPWANClientTransactor

func NewLPWANClientTransactor(address common.Address, transactor bind.ContractTransactor) (*LPWANClientTransactor, error)

NewLPWANClientTransactor creates a new write-only instance of LPWANClient, bound to a specific deployed contract.

func (*LPWANClientTransactor) BurnExcessToken

func (_LPWANClient *LPWANClientTransactor) BurnExcessToken(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

BurnExcessToken is a paid mutator transaction binding the contract method 0xf4a6842a.

Solidity: function burnExcessToken(uint256 amount) returns()

func (*LPWANClientTransactor) ClaimAllReward

func (_LPWANClient *LPWANClientTransactor) ClaimAllReward(opts *bind.TransactOpts, burn bool) (*types.Transaction, error)

ClaimAllReward is a paid mutator transaction binding the contract method 0x41ddcee4.

Solidity: function claimAllReward(bool burn) returns()

func (*LPWANClientTransactor) ClaimProposedCostReward

func (_LPWANClient *LPWANClientTransactor) ClaimProposedCostReward(opts *bind.TransactOpts, burn bool) (*types.Transaction, error)

ClaimProposedCostReward is a paid mutator transaction binding the contract method 0x1368243a.

Solidity: function claimProposedCostReward(bool burn) returns()

func (*LPWANClientTransactor) ClaimProposedReward

func (_LPWANClient *LPWANClientTransactor) ClaimProposedReward(opts *bind.TransactOpts, burn bool) (*types.Transaction, error)

ClaimProposedReward is a paid mutator transaction binding the contract method 0x5abf3150.

Solidity: function claimProposedReward(bool burn) returns()

func (*LPWANClientTransactor) ClaimProvenCostReward

func (_LPWANClient *LPWANClientTransactor) ClaimProvenCostReward(opts *bind.TransactOpts, burn bool) (*types.Transaction, error)

ClaimProvenCostReward is a paid mutator transaction binding the contract method 0x694a61f1.

Solidity: function claimProvenCostReward(bool burn) returns()

func (*LPWANClientTransactor) ClaimProvenReward

func (_LPWANClient *LPWANClientTransactor) ClaimProvenReward(opts *bind.TransactOpts, burn bool) (*types.Transaction, error)

ClaimProvenReward is a paid mutator transaction binding the contract method 0xf5a0545e.

Solidity: function claimProvenReward(bool burn) returns()

func (*LPWANClientTransactor) ControllableInit

func (_LPWANClient *LPWANClientTransactor) ControllableInit(opts *bind.TransactOpts) (*types.Transaction, error)

ControllableInit is a paid mutator transaction binding the contract method 0x5d79343d.

Solidity: function __Controllable_init() returns()

func (*LPWANClientTransactor) Initialize

func (_LPWANClient *LPWANClientTransactor) Initialize(opts *bind.TransactOpts, MEP1004Address_ common.Address, ethPriceOracle_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address MEP1004Address_, address ethPriceOracle_) returns()

func (*LPWANClientTransactor) MintMEP1004Stations

func (_LPWANClient *LPWANClientTransactor) MintMEP1004Stations(opts *bind.TransactOpts, _to common.Address, _SNCode string) (*types.Transaction, error)

MintMEP1004Stations is a paid mutator transaction binding the contract method 0xf2b9ec40.

Solidity: function mintMEP1004Stations(address _to, string _SNCode) returns()

func (*LPWANClientTransactor) RenounceOwnership

func (_LPWANClient *LPWANClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPWANClientTransactor) SetController

func (_LPWANClient *LPWANClientTransactor) SetController(opts *bind.TransactOpts, controller common.Address, enabled bool) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0xe0dba60f.

Solidity: function setController(address controller, bool enabled) returns()

func (*LPWANClientTransactor) SetEthOracle

func (_LPWANClient *LPWANClientTransactor) SetEthOracle(opts *bind.TransactOpts, ethPriceOracle_ common.Address) (*types.Transaction, error)

SetEthOracle is a paid mutator transaction binding the contract method 0xa6cd75dc.

Solidity: function setEthOracle(address ethPriceOracle_) returns()

func (*LPWANClientTransactor) SetMEP1004Addr

func (_LPWANClient *LPWANClientTransactor) SetMEP1004Addr(opts *bind.TransactOpts, MEP1004Address common.Address) (*types.Transaction, error)

SetMEP1004Addr is a paid mutator transaction binding the contract method 0x157b4378.

Solidity: function setMEP1004Addr(address MEP1004Address) returns(address)

func (*LPWANClientTransactor) SetMaxCostMxc

func (_LPWANClient *LPWANClientTransactor) SetMaxCostMxc(opts *bind.TransactOpts, maxCostMxc_ *big.Int) (*types.Transaction, error)

SetMaxCostMxc is a paid mutator transaction binding the contract method 0xea66254a.

Solidity: function setMaxCostMxc(uint256 maxCostMxc_) returns()

func (*LPWANClientTransactor) SetRelaySyncStatus

func (_LPWANClient *LPWANClientTransactor) SetRelaySyncStatus(opts *bind.TransactOpts, proposedRewardHeight *big.Int, provenRewardHeight *big.Int) (*types.Transaction, error)

SetRelaySyncStatus is a paid mutator transaction binding the contract method 0xac3c4f2b.

Solidity: function setRelaySyncStatus(uint256 proposedRewardHeight, uint256 provenRewardHeight) returns()

func (*LPWANClientTransactor) SubmitLocationProofs

func (_LPWANClient *LPWANClientTransactor) SubmitLocationProofs(opts *bind.TransactOpts, _MEP1002TokenId *big.Int, _MEP1004TokenIds []*big.Int, _item string) (*types.Transaction, error)

SubmitLocationProofs is a paid mutator transaction binding the contract method 0xcdceeba0.

Solidity: function submitLocationProofs(uint256 _MEP1002TokenId, uint256[] _MEP1004TokenIds, string _item) returns()

func (*LPWANClientTransactor) SyncProposedRewardEvent

func (_LPWANClient *LPWANClientTransactor) SyncProposedRewardEvent(opts *bind.TransactOpts, rewardEvents []LPWANRewardEvent, setting bool) (*types.Transaction, error)

SyncProposedRewardEvent is a paid mutator transaction binding the contract method 0x23196cf2.

Solidity: function syncProposedRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting) returns()

func (*LPWANClientTransactor) SyncProvenRewardEvent

func (_LPWANClient *LPWANClientTransactor) SyncProvenRewardEvent(opts *bind.TransactOpts, rewardEvents []LPWANRewardEvent, setting bool, latestProvenL1Height *big.Int) (*types.Transaction, error)

SyncProvenRewardEvent is a paid mutator transaction binding the contract method 0xc4adca8d.

Solidity: function syncProvenRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting, uint256 latestProvenL1Height) returns()

func (*LPWANClientTransactor) TransferOwnership

func (_LPWANClient *LPWANClientTransactor) 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 LPWANClientTransactorRaw

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

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

func (*LPWANClientTransactorRaw) Transact

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

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

func (*LPWANClientTransactorRaw) Transfer

func (_LPWANClient *LPWANClientTransactorRaw) 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 LPWANClientTransactorSession

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

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

func (*LPWANClientTransactorSession) BurnExcessToken

func (_LPWANClient *LPWANClientTransactorSession) BurnExcessToken(amount *big.Int) (*types.Transaction, error)

BurnExcessToken is a paid mutator transaction binding the contract method 0xf4a6842a.

Solidity: function burnExcessToken(uint256 amount) returns()

func (*LPWANClientTransactorSession) ClaimAllReward

func (_LPWANClient *LPWANClientTransactorSession) ClaimAllReward(burn bool) (*types.Transaction, error)

ClaimAllReward is a paid mutator transaction binding the contract method 0x41ddcee4.

Solidity: function claimAllReward(bool burn) returns()

func (*LPWANClientTransactorSession) ClaimProposedCostReward

func (_LPWANClient *LPWANClientTransactorSession) ClaimProposedCostReward(burn bool) (*types.Transaction, error)

ClaimProposedCostReward is a paid mutator transaction binding the contract method 0x1368243a.

Solidity: function claimProposedCostReward(bool burn) returns()

func (*LPWANClientTransactorSession) ClaimProposedReward

func (_LPWANClient *LPWANClientTransactorSession) ClaimProposedReward(burn bool) (*types.Transaction, error)

ClaimProposedReward is a paid mutator transaction binding the contract method 0x5abf3150.

Solidity: function claimProposedReward(bool burn) returns()

func (*LPWANClientTransactorSession) ClaimProvenCostReward

func (_LPWANClient *LPWANClientTransactorSession) ClaimProvenCostReward(burn bool) (*types.Transaction, error)

ClaimProvenCostReward is a paid mutator transaction binding the contract method 0x694a61f1.

Solidity: function claimProvenCostReward(bool burn) returns()

func (*LPWANClientTransactorSession) ClaimProvenReward

func (_LPWANClient *LPWANClientTransactorSession) ClaimProvenReward(burn bool) (*types.Transaction, error)

ClaimProvenReward is a paid mutator transaction binding the contract method 0xf5a0545e.

Solidity: function claimProvenReward(bool burn) returns()

func (*LPWANClientTransactorSession) ControllableInit

func (_LPWANClient *LPWANClientTransactorSession) ControllableInit() (*types.Transaction, error)

ControllableInit is a paid mutator transaction binding the contract method 0x5d79343d.

Solidity: function __Controllable_init() returns()

func (*LPWANClientTransactorSession) Initialize

func (_LPWANClient *LPWANClientTransactorSession) Initialize(MEP1004Address_ common.Address, ethPriceOracle_ common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address MEP1004Address_, address ethPriceOracle_) returns()

func (*LPWANClientTransactorSession) MintMEP1004Stations

func (_LPWANClient *LPWANClientTransactorSession) MintMEP1004Stations(_to common.Address, _SNCode string) (*types.Transaction, error)

MintMEP1004Stations is a paid mutator transaction binding the contract method 0xf2b9ec40.

Solidity: function mintMEP1004Stations(address _to, string _SNCode) returns()

func (*LPWANClientTransactorSession) RenounceOwnership

func (_LPWANClient *LPWANClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*LPWANClientTransactorSession) SetController

func (_LPWANClient *LPWANClientTransactorSession) SetController(controller common.Address, enabled bool) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0xe0dba60f.

Solidity: function setController(address controller, bool enabled) returns()

func (*LPWANClientTransactorSession) SetEthOracle

func (_LPWANClient *LPWANClientTransactorSession) SetEthOracle(ethPriceOracle_ common.Address) (*types.Transaction, error)

SetEthOracle is a paid mutator transaction binding the contract method 0xa6cd75dc.

Solidity: function setEthOracle(address ethPriceOracle_) returns()

func (*LPWANClientTransactorSession) SetMEP1004Addr

func (_LPWANClient *LPWANClientTransactorSession) SetMEP1004Addr(MEP1004Address common.Address) (*types.Transaction, error)

SetMEP1004Addr is a paid mutator transaction binding the contract method 0x157b4378.

Solidity: function setMEP1004Addr(address MEP1004Address) returns(address)

func (*LPWANClientTransactorSession) SetMaxCostMxc

func (_LPWANClient *LPWANClientTransactorSession) SetMaxCostMxc(maxCostMxc_ *big.Int) (*types.Transaction, error)

SetMaxCostMxc is a paid mutator transaction binding the contract method 0xea66254a.

Solidity: function setMaxCostMxc(uint256 maxCostMxc_) returns()

func (*LPWANClientTransactorSession) SetRelaySyncStatus

func (_LPWANClient *LPWANClientTransactorSession) SetRelaySyncStatus(proposedRewardHeight *big.Int, provenRewardHeight *big.Int) (*types.Transaction, error)

SetRelaySyncStatus is a paid mutator transaction binding the contract method 0xac3c4f2b.

Solidity: function setRelaySyncStatus(uint256 proposedRewardHeight, uint256 provenRewardHeight) returns()

func (*LPWANClientTransactorSession) SubmitLocationProofs

func (_LPWANClient *LPWANClientTransactorSession) SubmitLocationProofs(_MEP1002TokenId *big.Int, _MEP1004TokenIds []*big.Int, _item string) (*types.Transaction, error)

SubmitLocationProofs is a paid mutator transaction binding the contract method 0xcdceeba0.

Solidity: function submitLocationProofs(uint256 _MEP1002TokenId, uint256[] _MEP1004TokenIds, string _item) returns()

func (*LPWANClientTransactorSession) SyncProposedRewardEvent

func (_LPWANClient *LPWANClientTransactorSession) SyncProposedRewardEvent(rewardEvents []LPWANRewardEvent, setting bool) (*types.Transaction, error)

SyncProposedRewardEvent is a paid mutator transaction binding the contract method 0x23196cf2.

Solidity: function syncProposedRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting) returns()

func (*LPWANClientTransactorSession) SyncProvenRewardEvent

func (_LPWANClient *LPWANClientTransactorSession) SyncProvenRewardEvent(rewardEvents []LPWANRewardEvent, setting bool, latestProvenL1Height *big.Int) (*types.Transaction, error)

SyncProvenRewardEvent is a paid mutator transaction binding the contract method 0xc4adca8d.

Solidity: function syncProvenRewardEvent((uint256,address,uint256,uint256)[] rewardEvents, bool setting, uint256 latestProvenL1Height) returns()

func (*LPWANClientTransactorSession) TransferOwnership

func (_LPWANClient *LPWANClientTransactorSession) 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 LPWANRelaySyncStatus

type LPWANRelaySyncStatus struct {
	ProposedRewardEventHeight *big.Int
	ProvenRewardEventHeight   *big.Int
}

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

type LPWANRewardData

type LPWANRewardData struct {
	ProposedReward     *big.Int
	ProvenReward       *big.Int
	ProposedCostReward *big.Int
	ProvenCostReward   *big.Int
}

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

type LPWANRewardEvent

type LPWANRewardEvent struct {
	RewardHeight *big.Int
	Account      common.Address
	Amount       *big.Int
	Cost         *big.Int
}

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

type MxcDataBlockMetadata

type MxcDataBlockMetadata struct {
	Id                uint64
	Timestamp         uint64
	L1Height          uint64
	L1Hash            [32]byte
	MixHash           [32]byte
	TxListHash        [32]byte
	TxListByteStart   *big.Int
	TxListByteEnd     *big.Int
	GasLimit          uint32
	Beneficiary       common.Address
	Treasury          common.Address
	DepositsProcessed []MxcDataEthDeposit
	BaseFee           *big.Int
	BlockReward       *big.Int
}

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

type MxcDataConfig

type MxcDataConfig struct {
	ChainId                   *big.Int
	MaxNumProposedBlocks      *big.Int
	RingBufferSize            *big.Int
	MaxVerificationsPerTx     *big.Int
	BlockMaxGasLimit          uint64
	MaxTransactionsPerBlock   uint64
	MaxBytesPerTxList         uint64
	TxListCacheExpiry         *big.Int
	ProofCooldownPeriod       *big.Int
	SystemProofCooldownPeriod *big.Int
	RealProofSkipSize         *big.Int
	EthDepositGas             *big.Int
	EthDepositMaxFee          *big.Int
	MinEthDepositsPerBlock    uint64
	MaxEthDepositsPerBlock    uint64
	MaxEthDepositAmount       *big.Int
	MinEthDepositAmount       *big.Int
	RelaySignalRoot           bool
}

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

type MxcDataEthDeposit

type MxcDataEthDeposit struct {
	Recipient common.Address
	Amount    *big.Int
	Id        uint64
}

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

type MxcDataForkChoice

type MxcDataForkChoice struct {
	Key        [32]byte
	BlockHash  [32]byte
	SignalRoot [32]byte
	ProvenAt   uint64
	Prover     common.Address
	GasUsed    uint32
}

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

type MxcDataStateVariables

type MxcDataStateVariables struct {
	BlockFee                uint64
	AccBlockFees            uint64
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	NumBlocks               uint64
	ProofTimeIssued         uint64
	ProofTimeTarget         uint64
	LastVerifiedBlockId     uint64
	AccProposedAt           uint64
	NextEthDepositToProcess uint64
	NumEthDeposits          uint64
}

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

type MxcL1Client

type MxcL1Client struct {
	MxcL1ClientCaller     // Read-only binding to the contract
	MxcL1ClientTransactor // Write-only binding to the contract
	MxcL1ClientFilterer   // Log filterer for contract events
}

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

func NewMxcL1Client

func NewMxcL1Client(address common.Address, backend bind.ContractBackend) (*MxcL1Client, error)

NewMxcL1Client creates a new instance of MxcL1Client, bound to a specific deployed contract.

type MxcL1ClientAddressManagerChanged

type MxcL1ClientAddressManagerChanged struct {
	AddressManager common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

MxcL1ClientAddressManagerChanged represents a AddressManagerChanged event raised by the MxcL1Client contract.

type MxcL1ClientAddressManagerChangedIterator

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

MxcL1ClientAddressManagerChangedIterator is returned from FilterAddressManagerChanged and is used to iterate over the raw logs and unpacked data for AddressManagerChanged events raised by the MxcL1Client contract.

func (*MxcL1ClientAddressManagerChangedIterator) Close

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

func (*MxcL1ClientAddressManagerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientAddressManagerChangedIterator) 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 MxcL1ClientBlockProposeReward

type MxcL1ClientBlockProposeReward struct {
	Id       *big.Int
	Proposer common.Address
	Reward   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MxcL1ClientBlockProposeReward represents a BlockProposeReward event raised by the MxcL1Client contract.

type MxcL1ClientBlockProposeRewardIterator

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

MxcL1ClientBlockProposeRewardIterator is returned from FilterBlockProposeReward and is used to iterate over the raw logs and unpacked data for BlockProposeReward events raised by the MxcL1Client contract.

func (*MxcL1ClientBlockProposeRewardIterator) Close

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

func (*MxcL1ClientBlockProposeRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientBlockProposeRewardIterator) 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 MxcL1ClientBlockProposed

type MxcL1ClientBlockProposed struct {
	Id       *big.Int
	Meta     MxcDataBlockMetadata
	BlockFee uint64
	Raw      types.Log // Blockchain specific contextual infos
}

MxcL1ClientBlockProposed represents a BlockProposed event raised by the MxcL1Client contract.

type MxcL1ClientBlockProposedIterator

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

MxcL1ClientBlockProposedIterator is returned from FilterBlockProposed and is used to iterate over the raw logs and unpacked data for BlockProposed events raised by the MxcL1Client contract.

func (*MxcL1ClientBlockProposedIterator) Close

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

func (*MxcL1ClientBlockProposedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientBlockProposedIterator) 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 MxcL1ClientBlockProven

type MxcL1ClientBlockProven struct {
	Id            *big.Int
	ParentHash    [32]byte
	BlockHash     [32]byte
	SignalRoot    [32]byte
	Prover        common.Address
	ParentGasUsed uint32
	Raw           types.Log // Blockchain specific contextual infos
}

MxcL1ClientBlockProven represents a BlockProven event raised by the MxcL1Client contract.

type MxcL1ClientBlockProvenIterator

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

MxcL1ClientBlockProvenIterator is returned from FilterBlockProven and is used to iterate over the raw logs and unpacked data for BlockProven events raised by the MxcL1Client contract.

func (*MxcL1ClientBlockProvenIterator) Close

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

func (*MxcL1ClientBlockProvenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientBlockProvenIterator) 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 MxcL1ClientBlockProvenReward

type MxcL1ClientBlockProvenReward struct {
	Id     *big.Int
	Prover common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MxcL1ClientBlockProvenReward represents a BlockProvenReward event raised by the MxcL1Client contract.

type MxcL1ClientBlockProvenRewardIterator

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

MxcL1ClientBlockProvenRewardIterator is returned from FilterBlockProvenReward and is used to iterate over the raw logs and unpacked data for BlockProvenReward events raised by the MxcL1Client contract.

func (*MxcL1ClientBlockProvenRewardIterator) Close

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

func (*MxcL1ClientBlockProvenRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientBlockProvenRewardIterator) 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 MxcL1ClientBlockVerified

type MxcL1ClientBlockVerified struct {
	Id        *big.Int
	BlockHash [32]byte
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MxcL1ClientBlockVerified represents a BlockVerified event raised by the MxcL1Client contract.

type MxcL1ClientBlockVerifiedIterator

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

MxcL1ClientBlockVerifiedIterator is returned from FilterBlockVerified and is used to iterate over the raw logs and unpacked data for BlockVerified events raised by the MxcL1Client contract.

func (*MxcL1ClientBlockVerifiedIterator) Close

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

func (*MxcL1ClientBlockVerifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientBlockVerifiedIterator) 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 MxcL1ClientCaller

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

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

func NewMxcL1ClientCaller

func NewMxcL1ClientCaller(address common.Address, caller bind.ContractCaller) (*MxcL1ClientCaller, error)

NewMxcL1ClientCaller creates a new read-only instance of MxcL1Client, bound to a specific deployed contract.

func (*MxcL1ClientCaller) AddressManager

func (_MxcL1Client *MxcL1ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL1ClientCaller) GetBlock

func (_MxcL1Client *MxcL1ClientCaller) GetBlock(opts *bind.CallOpts, blockId *big.Int) (struct {
	MetaHash   [32]byte
	Proposer   common.Address
	ProposedAt uint64
}, error)

GetBlock is a free data retrieval call binding the contract method 0x04c07569.

Solidity: function getBlock(uint256 blockId) view returns(bytes32 _metaHash, address _proposer, uint64 _proposedAt)

func (*MxcL1ClientCaller) GetBlockFee

func (_MxcL1Client *MxcL1ClientCaller) GetBlockFee(opts *bind.CallOpts) (uint64, error)

GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.

Solidity: function getBlockFee() view returns(uint64)

func (*MxcL1ClientCaller) GetConfig

func (_MxcL1Client *MxcL1ClientCaller) GetConfig(opts *bind.CallOpts) (MxcDataConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint96,uint96,bool))

func (*MxcL1ClientCaller) GetCrossChainBlockHash

func (_MxcL1Client *MxcL1ClientCaller) GetCrossChainBlockHash(opts *bind.CallOpts, blockId *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientCaller) GetCrossChainSignalRoot

func (_MxcL1Client *MxcL1ClientCaller) GetCrossChainSignalRoot(opts *bind.CallOpts, blockId *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientCaller) GetForkChoice

func (_MxcL1Client *MxcL1ClientCaller) GetForkChoice(opts *bind.CallOpts, blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (MxcDataForkChoice, error)

GetForkChoice is a free data retrieval call binding the contract method 0x7163e0ed.

Solidity: function getForkChoice(uint256 blockId, bytes32 parentHash, uint32 parentGasUsed) view returns((bytes32,bytes32,bytes32,uint64,address,uint32))

func (*MxcL1ClientCaller) GetMxcTokenBalance

func (_MxcL1Client *MxcL1ClientCaller) GetMxcTokenBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

GetMxcTokenBalance is a free data retrieval call binding the contract method 0xc21f0775.

Solidity: function getMxcTokenBalance(address addr) view returns(uint256)

func (*MxcL1ClientCaller) GetProofReward

func (_MxcL1Client *MxcL1ClientCaller) GetProofReward(opts *bind.CallOpts, proofTime uint64) (*big.Int, error)

GetProofReward is a free data retrieval call binding the contract method 0x55f7259e.

Solidity: function getProofReward(uint64 proofTime) view returns(uint256)

func (*MxcL1ClientCaller) GetProposeReward

func (_MxcL1Client *MxcL1ClientCaller) GetProposeReward(opts *bind.CallOpts) (*big.Int, error)

GetProposeReward is a free data retrieval call binding the contract method 0xe527c8b7.

Solidity: function getProposeReward() view returns(uint256)

func (*MxcL1ClientCaller) GetStateVariables

func (_MxcL1Client *MxcL1ClientCaller) GetStateVariables(opts *bind.CallOpts) (MxcDataStateVariables, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns((uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))

func (*MxcL1ClientCaller) GetVerifierName

func (_MxcL1Client *MxcL1ClientCaller) GetVerifierName(opts *bind.CallOpts, id uint16) ([32]byte, error)

GetVerifierName is a free data retrieval call binding the contract method 0x0372303d.

Solidity: function getVerifierName(uint16 id) pure returns(bytes32)

func (*MxcL1ClientCaller) Owner

func (_MxcL1Client *MxcL1ClientCaller) 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 (*MxcL1ClientCaller) Resolve

func (_MxcL1Client *MxcL1ClientCaller) Resolve(opts *bind.CallOpts, chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientCaller) Resolve0

func (_MxcL1Client *MxcL1ClientCaller) Resolve0(opts *bind.CallOpts, name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientCaller) State

func (_MxcL1Client *MxcL1ClientCaller) State(opts *bind.CallOpts) (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	PrevBaseFee             *big.Int
	Reserved72              uint64
	AccProposedAt           uint64
	AccBlockFees            uint64
	NumBlocks               uint64
	NextEthDepositToProcess uint64
	BlockFee                uint64
	ProofTimeIssued         uint64
	LastVerifiedBlockId     uint64
	ProofTimeTarget         uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint16 adjustmentQuotient, uint48 prevBaseFee, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

type MxcL1ClientCallerRaw

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

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

func (*MxcL1ClientCallerRaw) Call

func (_MxcL1Client *MxcL1ClientCallerRaw) 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 MxcL1ClientCallerSession

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

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

func (*MxcL1ClientCallerSession) AddressManager

func (_MxcL1Client *MxcL1ClientCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL1ClientCallerSession) GetBlock

func (_MxcL1Client *MxcL1ClientCallerSession) GetBlock(blockId *big.Int) (struct {
	MetaHash   [32]byte
	Proposer   common.Address
	ProposedAt uint64
}, error)

GetBlock is a free data retrieval call binding the contract method 0x04c07569.

Solidity: function getBlock(uint256 blockId) view returns(bytes32 _metaHash, address _proposer, uint64 _proposedAt)

func (*MxcL1ClientCallerSession) GetBlockFee

func (_MxcL1Client *MxcL1ClientCallerSession) GetBlockFee() (uint64, error)

GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.

Solidity: function getBlockFee() view returns(uint64)

func (*MxcL1ClientCallerSession) GetConfig

func (_MxcL1Client *MxcL1ClientCallerSession) GetConfig() (MxcDataConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint96,uint96,bool))

func (*MxcL1ClientCallerSession) GetCrossChainBlockHash

func (_MxcL1Client *MxcL1ClientCallerSession) GetCrossChainBlockHash(blockId *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientCallerSession) GetCrossChainSignalRoot

func (_MxcL1Client *MxcL1ClientCallerSession) GetCrossChainSignalRoot(blockId *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientCallerSession) GetForkChoice

func (_MxcL1Client *MxcL1ClientCallerSession) GetForkChoice(blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (MxcDataForkChoice, error)

GetForkChoice is a free data retrieval call binding the contract method 0x7163e0ed.

Solidity: function getForkChoice(uint256 blockId, bytes32 parentHash, uint32 parentGasUsed) view returns((bytes32,bytes32,bytes32,uint64,address,uint32))

func (*MxcL1ClientCallerSession) GetMxcTokenBalance

func (_MxcL1Client *MxcL1ClientCallerSession) GetMxcTokenBalance(addr common.Address) (*big.Int, error)

GetMxcTokenBalance is a free data retrieval call binding the contract method 0xc21f0775.

Solidity: function getMxcTokenBalance(address addr) view returns(uint256)

func (*MxcL1ClientCallerSession) GetProofReward

func (_MxcL1Client *MxcL1ClientCallerSession) GetProofReward(proofTime uint64) (*big.Int, error)

GetProofReward is a free data retrieval call binding the contract method 0x55f7259e.

Solidity: function getProofReward(uint64 proofTime) view returns(uint256)

func (*MxcL1ClientCallerSession) GetProposeReward

func (_MxcL1Client *MxcL1ClientCallerSession) GetProposeReward() (*big.Int, error)

GetProposeReward is a free data retrieval call binding the contract method 0xe527c8b7.

Solidity: function getProposeReward() view returns(uint256)

func (*MxcL1ClientCallerSession) GetStateVariables

func (_MxcL1Client *MxcL1ClientCallerSession) GetStateVariables() (MxcDataStateVariables, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns((uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))

func (*MxcL1ClientCallerSession) GetVerifierName

func (_MxcL1Client *MxcL1ClientCallerSession) GetVerifierName(id uint16) ([32]byte, error)

GetVerifierName is a free data retrieval call binding the contract method 0x0372303d.

Solidity: function getVerifierName(uint16 id) pure returns(bytes32)

func (*MxcL1ClientCallerSession) Owner

func (_MxcL1Client *MxcL1ClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcL1ClientCallerSession) Resolve

func (_MxcL1Client *MxcL1ClientCallerSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientCallerSession) Resolve0

func (_MxcL1Client *MxcL1ClientCallerSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientCallerSession) State

func (_MxcL1Client *MxcL1ClientCallerSession) State() (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	PrevBaseFee             *big.Int
	Reserved72              uint64
	AccProposedAt           uint64
	AccBlockFees            uint64
	NumBlocks               uint64
	NextEthDepositToProcess uint64
	BlockFee                uint64
	ProofTimeIssued         uint64
	LastVerifiedBlockId     uint64
	ProofTimeTarget         uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint16 adjustmentQuotient, uint48 prevBaseFee, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

type MxcL1ClientCrossChainSynced

type MxcL1ClientCrossChainSynced struct {
	SrcHeight  *big.Int
	BlockHash  [32]byte
	SignalRoot [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MxcL1ClientCrossChainSynced represents a CrossChainSynced event raised by the MxcL1Client contract.

type MxcL1ClientCrossChainSyncedIterator

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

MxcL1ClientCrossChainSyncedIterator is returned from FilterCrossChainSynced and is used to iterate over the raw logs and unpacked data for CrossChainSynced events raised by the MxcL1Client contract.

func (*MxcL1ClientCrossChainSyncedIterator) Close

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

func (*MxcL1ClientCrossChainSyncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientCrossChainSyncedIterator) 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 MxcL1ClientEthDeposited

type MxcL1ClientEthDeposited struct {
	Deposit MxcDataEthDeposit
	Raw     types.Log // Blockchain specific contextual infos
}

MxcL1ClientEthDeposited represents a EthDeposited event raised by the MxcL1Client contract.

type MxcL1ClientEthDepositedIterator

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

MxcL1ClientEthDepositedIterator is returned from FilterEthDeposited and is used to iterate over the raw logs and unpacked data for EthDeposited events raised by the MxcL1Client contract.

func (*MxcL1ClientEthDepositedIterator) Close

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

func (*MxcL1ClientEthDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientEthDepositedIterator) 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 MxcL1ClientFilterer

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

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

func NewMxcL1ClientFilterer

func NewMxcL1ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*MxcL1ClientFilterer, error)

NewMxcL1ClientFilterer creates a new log filterer instance of MxcL1Client, bound to a specific deployed contract.

func (*MxcL1ClientFilterer) FilterAddressManagerChanged

func (_MxcL1Client *MxcL1ClientFilterer) FilterAddressManagerChanged(opts *bind.FilterOpts) (*MxcL1ClientAddressManagerChangedIterator, error)

FilterAddressManagerChanged is a free log retrieval operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL1ClientFilterer) FilterBlockProposeReward

func (_MxcL1Client *MxcL1ClientFilterer) FilterBlockProposeReward(opts *bind.FilterOpts, id []*big.Int) (*MxcL1ClientBlockProposeRewardIterator, error)

FilterBlockProposeReward is a free log retrieval operation binding the contract event 0x6c37877020064aabb3c00d8dff4cf6b32ec9dfc400d86b943af79c46492ca791.

Solidity: event BlockProposeReward(uint256 indexed id, address proposer, uint256 reward)

func (*MxcL1ClientFilterer) FilterBlockProposed

func (_MxcL1Client *MxcL1ClientFilterer) FilterBlockProposed(opts *bind.FilterOpts, id []*big.Int) (*MxcL1ClientBlockProposedIterator, error)

FilterBlockProposed is a free log retrieval operation binding the contract event 0xb250038c85825d1ba0b724295351e6c1fb3e629867d2510e4b6938546abfecf8.

Solidity: event BlockProposed(uint256 indexed id, (uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta, uint64 blockFee)

func (*MxcL1ClientFilterer) FilterBlockProven

func (_MxcL1Client *MxcL1ClientFilterer) FilterBlockProven(opts *bind.FilterOpts, id []*big.Int) (*MxcL1ClientBlockProvenIterator, error)

FilterBlockProven is a free log retrieval operation binding the contract event 0x2295930c498c7b1f60143439a63dd1d24bbb730f08ff6ed383b490ba2c1cafa4.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, bytes32 signalRoot, address prover, uint32 parentGasUsed)

func (*MxcL1ClientFilterer) FilterBlockProvenReward

func (_MxcL1Client *MxcL1ClientFilterer) FilterBlockProvenReward(opts *bind.FilterOpts, id []*big.Int) (*MxcL1ClientBlockProvenRewardIterator, error)

FilterBlockProvenReward is a free log retrieval operation binding the contract event 0x3f660dbecdc997b020e22e0c005183d9b72e405db24f96490dc1484344242989.

Solidity: event BlockProvenReward(uint256 indexed id, address prover, uint256 reward)

func (*MxcL1ClientFilterer) FilterBlockVerified

func (_MxcL1Client *MxcL1ClientFilterer) FilterBlockVerified(opts *bind.FilterOpts, id []*big.Int) (*MxcL1ClientBlockVerifiedIterator, error)

FilterBlockVerified is a free log retrieval operation binding the contract event 0x7e98ef90898cf74532e8f918c3b89c5ce86c0b10a0d9bf3d0526af7fa7b099da.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash, uint256 reward)

func (*MxcL1ClientFilterer) FilterCrossChainSynced

func (_MxcL1Client *MxcL1ClientFilterer) FilterCrossChainSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*MxcL1ClientCrossChainSyncedIterator, error)

FilterCrossChainSynced is a free log retrieval operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL1ClientFilterer) FilterEthDeposited

func (_MxcL1Client *MxcL1ClientFilterer) FilterEthDeposited(opts *bind.FilterOpts) (*MxcL1ClientEthDepositedIterator, error)

FilterEthDeposited is a free log retrieval operation binding the contract event 0x7120a3b075ad25974c5eed76dedb3a217c76c9c6d1f1e201caeba9b89de9a9d9.

Solidity: event EthDeposited((address,uint96,uint64) deposit)

func (*MxcL1ClientFilterer) FilterInitialized

func (_MxcL1Client *MxcL1ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*MxcL1ClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL1ClientFilterer) FilterOwnershipTransferred

func (_MxcL1Client *MxcL1ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MxcL1ClientOwnershipTransferredIterator, error)

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

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

func (*MxcL1ClientFilterer) FilterProofParamsChanged

func (_MxcL1Client *MxcL1ClientFilterer) FilterProofParamsChanged(opts *bind.FilterOpts) (*MxcL1ClientProofParamsChangedIterator, error)

FilterProofParamsChanged is a free log retrieval operation binding the contract event 0x565e5aa69c99d81e441dd3bb8535d888585683743f3c6a3bf49e5e1b227bd8f9.

Solidity: event ProofParamsChanged(uint64 proofTimeTarget, uint64 proofTimeIssued, uint64 blockFee, uint16 adjustmentQuotient)

func (*MxcL1ClientFilterer) ParseAddressManagerChanged

func (_MxcL1Client *MxcL1ClientFilterer) ParseAddressManagerChanged(log types.Log) (*MxcL1ClientAddressManagerChanged, error)

ParseAddressManagerChanged is a log parse operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL1ClientFilterer) ParseBlockProposeReward

func (_MxcL1Client *MxcL1ClientFilterer) ParseBlockProposeReward(log types.Log) (*MxcL1ClientBlockProposeReward, error)

ParseBlockProposeReward is a log parse operation binding the contract event 0x6c37877020064aabb3c00d8dff4cf6b32ec9dfc400d86b943af79c46492ca791.

Solidity: event BlockProposeReward(uint256 indexed id, address proposer, uint256 reward)

func (*MxcL1ClientFilterer) ParseBlockProposed

func (_MxcL1Client *MxcL1ClientFilterer) ParseBlockProposed(log types.Log) (*MxcL1ClientBlockProposed, error)

ParseBlockProposed is a log parse operation binding the contract event 0xb250038c85825d1ba0b724295351e6c1fb3e629867d2510e4b6938546abfecf8.

Solidity: event BlockProposed(uint256 indexed id, (uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta, uint64 blockFee)

func (*MxcL1ClientFilterer) ParseBlockProven

func (_MxcL1Client *MxcL1ClientFilterer) ParseBlockProven(log types.Log) (*MxcL1ClientBlockProven, error)

ParseBlockProven is a log parse operation binding the contract event 0x2295930c498c7b1f60143439a63dd1d24bbb730f08ff6ed383b490ba2c1cafa4.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, bytes32 signalRoot, address prover, uint32 parentGasUsed)

func (*MxcL1ClientFilterer) ParseBlockProvenReward

func (_MxcL1Client *MxcL1ClientFilterer) ParseBlockProvenReward(log types.Log) (*MxcL1ClientBlockProvenReward, error)

ParseBlockProvenReward is a log parse operation binding the contract event 0x3f660dbecdc997b020e22e0c005183d9b72e405db24f96490dc1484344242989.

Solidity: event BlockProvenReward(uint256 indexed id, address prover, uint256 reward)

func (*MxcL1ClientFilterer) ParseBlockVerified

func (_MxcL1Client *MxcL1ClientFilterer) ParseBlockVerified(log types.Log) (*MxcL1ClientBlockVerified, error)

ParseBlockVerified is a log parse operation binding the contract event 0x7e98ef90898cf74532e8f918c3b89c5ce86c0b10a0d9bf3d0526af7fa7b099da.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash, uint256 reward)

func (*MxcL1ClientFilterer) ParseCrossChainSynced

func (_MxcL1Client *MxcL1ClientFilterer) ParseCrossChainSynced(log types.Log) (*MxcL1ClientCrossChainSynced, error)

ParseCrossChainSynced is a log parse operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL1ClientFilterer) ParseEthDeposited

func (_MxcL1Client *MxcL1ClientFilterer) ParseEthDeposited(log types.Log) (*MxcL1ClientEthDeposited, error)

ParseEthDeposited is a log parse operation binding the contract event 0x7120a3b075ad25974c5eed76dedb3a217c76c9c6d1f1e201caeba9b89de9a9d9.

Solidity: event EthDeposited((address,uint96,uint64) deposit)

func (*MxcL1ClientFilterer) ParseInitialized

func (_MxcL1Client *MxcL1ClientFilterer) ParseInitialized(log types.Log) (*MxcL1ClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL1ClientFilterer) ParseOwnershipTransferred

func (_MxcL1Client *MxcL1ClientFilterer) ParseOwnershipTransferred(log types.Log) (*MxcL1ClientOwnershipTransferred, error)

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

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

func (*MxcL1ClientFilterer) ParseProofParamsChanged

func (_MxcL1Client *MxcL1ClientFilterer) ParseProofParamsChanged(log types.Log) (*MxcL1ClientProofParamsChanged, error)

ParseProofParamsChanged is a log parse operation binding the contract event 0x565e5aa69c99d81e441dd3bb8535d888585683743f3c6a3bf49e5e1b227bd8f9.

Solidity: event ProofParamsChanged(uint64 proofTimeTarget, uint64 proofTimeIssued, uint64 blockFee, uint16 adjustmentQuotient)

func (*MxcL1ClientFilterer) WatchAddressManagerChanged

func (_MxcL1Client *MxcL1ClientFilterer) WatchAddressManagerChanged(opts *bind.WatchOpts, sink chan<- *MxcL1ClientAddressManagerChanged) (event.Subscription, error)

WatchAddressManagerChanged is a free log subscription operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL1ClientFilterer) WatchBlockProposeReward

func (_MxcL1Client *MxcL1ClientFilterer) WatchBlockProposeReward(opts *bind.WatchOpts, sink chan<- *MxcL1ClientBlockProposeReward, id []*big.Int) (event.Subscription, error)

WatchBlockProposeReward is a free log subscription operation binding the contract event 0x6c37877020064aabb3c00d8dff4cf6b32ec9dfc400d86b943af79c46492ca791.

Solidity: event BlockProposeReward(uint256 indexed id, address proposer, uint256 reward)

func (*MxcL1ClientFilterer) WatchBlockProposed

func (_MxcL1Client *MxcL1ClientFilterer) WatchBlockProposed(opts *bind.WatchOpts, sink chan<- *MxcL1ClientBlockProposed, id []*big.Int) (event.Subscription, error)

WatchBlockProposed is a free log subscription operation binding the contract event 0xb250038c85825d1ba0b724295351e6c1fb3e629867d2510e4b6938546abfecf8.

Solidity: event BlockProposed(uint256 indexed id, (uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta, uint64 blockFee)

func (*MxcL1ClientFilterer) WatchBlockProven

func (_MxcL1Client *MxcL1ClientFilterer) WatchBlockProven(opts *bind.WatchOpts, sink chan<- *MxcL1ClientBlockProven, id []*big.Int) (event.Subscription, error)

WatchBlockProven is a free log subscription operation binding the contract event 0x2295930c498c7b1f60143439a63dd1d24bbb730f08ff6ed383b490ba2c1cafa4.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, bytes32 signalRoot, address prover, uint32 parentGasUsed)

func (*MxcL1ClientFilterer) WatchBlockProvenReward

func (_MxcL1Client *MxcL1ClientFilterer) WatchBlockProvenReward(opts *bind.WatchOpts, sink chan<- *MxcL1ClientBlockProvenReward, id []*big.Int) (event.Subscription, error)

WatchBlockProvenReward is a free log subscription operation binding the contract event 0x3f660dbecdc997b020e22e0c005183d9b72e405db24f96490dc1484344242989.

Solidity: event BlockProvenReward(uint256 indexed id, address prover, uint256 reward)

func (*MxcL1ClientFilterer) WatchBlockVerified

func (_MxcL1Client *MxcL1ClientFilterer) WatchBlockVerified(opts *bind.WatchOpts, sink chan<- *MxcL1ClientBlockVerified, id []*big.Int) (event.Subscription, error)

WatchBlockVerified is a free log subscription operation binding the contract event 0x7e98ef90898cf74532e8f918c3b89c5ce86c0b10a0d9bf3d0526af7fa7b099da.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash, uint256 reward)

func (*MxcL1ClientFilterer) WatchCrossChainSynced

func (_MxcL1Client *MxcL1ClientFilterer) WatchCrossChainSynced(opts *bind.WatchOpts, sink chan<- *MxcL1ClientCrossChainSynced, srcHeight []*big.Int) (event.Subscription, error)

WatchCrossChainSynced is a free log subscription operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL1ClientFilterer) WatchEthDeposited

func (_MxcL1Client *MxcL1ClientFilterer) WatchEthDeposited(opts *bind.WatchOpts, sink chan<- *MxcL1ClientEthDeposited) (event.Subscription, error)

WatchEthDeposited is a free log subscription operation binding the contract event 0x7120a3b075ad25974c5eed76dedb3a217c76c9c6d1f1e201caeba9b89de9a9d9.

Solidity: event EthDeposited((address,uint96,uint64) deposit)

func (*MxcL1ClientFilterer) WatchInitialized

func (_MxcL1Client *MxcL1ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MxcL1ClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL1ClientFilterer) WatchOwnershipTransferred

func (_MxcL1Client *MxcL1ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MxcL1ClientOwnershipTransferred, 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 (*MxcL1ClientFilterer) WatchProofParamsChanged

func (_MxcL1Client *MxcL1ClientFilterer) WatchProofParamsChanged(opts *bind.WatchOpts, sink chan<- *MxcL1ClientProofParamsChanged) (event.Subscription, error)

WatchProofParamsChanged is a free log subscription operation binding the contract event 0x565e5aa69c99d81e441dd3bb8535d888585683743f3c6a3bf49e5e1b227bd8f9.

Solidity: event ProofParamsChanged(uint64 proofTimeTarget, uint64 proofTimeIssued, uint64 blockFee, uint16 adjustmentQuotient)

type MxcL1ClientInitialized

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

MxcL1ClientInitialized represents a Initialized event raised by the MxcL1Client contract.

type MxcL1ClientInitializedIterator

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

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

func (*MxcL1ClientInitializedIterator) Close

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

func (*MxcL1ClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientInitializedIterator) 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 MxcL1ClientOwnershipTransferred

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

MxcL1ClientOwnershipTransferred represents a OwnershipTransferred event raised by the MxcL1Client contract.

type MxcL1ClientOwnershipTransferredIterator

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

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

func (*MxcL1ClientOwnershipTransferredIterator) Close

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

func (*MxcL1ClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientOwnershipTransferredIterator) 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 MxcL1ClientProofParamsChanged

type MxcL1ClientProofParamsChanged struct {
	ProofTimeTarget    uint64
	ProofTimeIssued    uint64
	BlockFee           uint64
	AdjustmentQuotient uint16
	Raw                types.Log // Blockchain specific contextual infos
}

MxcL1ClientProofParamsChanged represents a ProofParamsChanged event raised by the MxcL1Client contract.

type MxcL1ClientProofParamsChangedIterator

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

MxcL1ClientProofParamsChangedIterator is returned from FilterProofParamsChanged and is used to iterate over the raw logs and unpacked data for ProofParamsChanged events raised by the MxcL1Client contract.

func (*MxcL1ClientProofParamsChangedIterator) Close

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

func (*MxcL1ClientProofParamsChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL1ClientProofParamsChangedIterator) 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 MxcL1ClientRaw

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

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

func (*MxcL1ClientRaw) Call

func (_MxcL1Client *MxcL1ClientRaw) 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 (*MxcL1ClientRaw) Transact

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

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

func (*MxcL1ClientRaw) Transfer

func (_MxcL1Client *MxcL1ClientRaw) 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 MxcL1ClientSession

type MxcL1ClientSession struct {
	Contract     *MxcL1Client      // 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
}

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

func (*MxcL1ClientSession) AddressManager

func (_MxcL1Client *MxcL1ClientSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL1ClientSession) DepositEtherToL2

func (_MxcL1Client *MxcL1ClientSession) DepositEtherToL2() (*types.Transaction, error)

DepositEtherToL2 is a paid mutator transaction binding the contract method 0xa22f7670.

Solidity: function depositEtherToL2() payable returns()

func (*MxcL1ClientSession) DepositMxcToken

func (_MxcL1Client *MxcL1ClientSession) DepositMxcToken(amount *big.Int) (*types.Transaction, error)

DepositMxcToken is a paid mutator transaction binding the contract method 0x5c9c0a14.

Solidity: function depositMxcToken(uint256 amount) returns()

func (*MxcL1ClientSession) GetBlock

func (_MxcL1Client *MxcL1ClientSession) GetBlock(blockId *big.Int) (struct {
	MetaHash   [32]byte
	Proposer   common.Address
	ProposedAt uint64
}, error)

GetBlock is a free data retrieval call binding the contract method 0x04c07569.

Solidity: function getBlock(uint256 blockId) view returns(bytes32 _metaHash, address _proposer, uint64 _proposedAt)

func (*MxcL1ClientSession) GetBlockFee

func (_MxcL1Client *MxcL1ClientSession) GetBlockFee() (uint64, error)

GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.

Solidity: function getBlockFee() view returns(uint64)

func (*MxcL1ClientSession) GetConfig

func (_MxcL1Client *MxcL1ClientSession) GetConfig() (MxcDataConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint96,uint96,bool))

func (*MxcL1ClientSession) GetCrossChainBlockHash

func (_MxcL1Client *MxcL1ClientSession) GetCrossChainBlockHash(blockId *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientSession) GetCrossChainSignalRoot

func (_MxcL1Client *MxcL1ClientSession) GetCrossChainSignalRoot(blockId *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 blockId) view returns(bytes32)

func (*MxcL1ClientSession) GetForkChoice

func (_MxcL1Client *MxcL1ClientSession) GetForkChoice(blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (MxcDataForkChoice, error)

GetForkChoice is a free data retrieval call binding the contract method 0x7163e0ed.

Solidity: function getForkChoice(uint256 blockId, bytes32 parentHash, uint32 parentGasUsed) view returns((bytes32,bytes32,bytes32,uint64,address,uint32))

func (*MxcL1ClientSession) GetMxcTokenBalance

func (_MxcL1Client *MxcL1ClientSession) GetMxcTokenBalance(addr common.Address) (*big.Int, error)

GetMxcTokenBalance is a free data retrieval call binding the contract method 0xc21f0775.

Solidity: function getMxcTokenBalance(address addr) view returns(uint256)

func (*MxcL1ClientSession) GetProofReward

func (_MxcL1Client *MxcL1ClientSession) GetProofReward(proofTime uint64) (*big.Int, error)

GetProofReward is a free data retrieval call binding the contract method 0x55f7259e.

Solidity: function getProofReward(uint64 proofTime) view returns(uint256)

func (*MxcL1ClientSession) GetProposeReward

func (_MxcL1Client *MxcL1ClientSession) GetProposeReward() (*big.Int, error)

GetProposeReward is a free data retrieval call binding the contract method 0xe527c8b7.

Solidity: function getProposeReward() view returns(uint256)

func (*MxcL1ClientSession) GetStateVariables

func (_MxcL1Client *MxcL1ClientSession) GetStateVariables() (MxcDataStateVariables, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns((uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))

func (*MxcL1ClientSession) GetVerifierName

func (_MxcL1Client *MxcL1ClientSession) GetVerifierName(id uint16) ([32]byte, error)

GetVerifierName is a free data retrieval call binding the contract method 0x0372303d.

Solidity: function getVerifierName(uint16 id) pure returns(bytes32)

func (*MxcL1ClientSession) Init

func (_MxcL1Client *MxcL1ClientSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _initBlockFee uint64, _initProofTimeTarget uint64, _initProofTimeIssued uint64, _adjustmentQuotient uint16) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc7a64b19.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint64 _initBlockFee, uint64 _initProofTimeTarget, uint64 _initProofTimeIssued, uint16 _adjustmentQuotient) returns()

func (*MxcL1ClientSession) Owner

func (_MxcL1Client *MxcL1ClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcL1ClientSession) ProposeBlock

func (_MxcL1Client *MxcL1ClientSession) ProposeBlock(input []byte, txList []byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xef16e845.

Solidity: function proposeBlock(bytes input, bytes txList) returns((uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta)

func (*MxcL1ClientSession) ProveBlock

func (_MxcL1Client *MxcL1ClientSession) ProveBlock(blockId *big.Int, input []byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0xf3840f60.

Solidity: function proveBlock(uint256 blockId, bytes input) returns()

func (*MxcL1ClientSession) Receive

func (_MxcL1Client *MxcL1ClientSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MxcL1ClientSession) RenounceOwnership

func (_MxcL1Client *MxcL1ClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL1ClientSession) Resolve

func (_MxcL1Client *MxcL1ClientSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientSession) Resolve0

func (_MxcL1Client *MxcL1ClientSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL1ClientSession) SetAddressManager

func (_MxcL1Client *MxcL1ClientSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL1ClientSession) SetProofParams

func (_MxcL1Client *MxcL1ClientSession) SetProofParams(newProofTimeTarget uint64, newProofTimeIssued uint64, newBlockFee uint64, newAdjustmentQuotient uint16) (*types.Transaction, error)

SetProofParams is a paid mutator transaction binding the contract method 0xae46a347.

Solidity: function setProofParams(uint64 newProofTimeTarget, uint64 newProofTimeIssued, uint64 newBlockFee, uint16 newAdjustmentQuotient) returns()

func (*MxcL1ClientSession) State

func (_MxcL1Client *MxcL1ClientSession) State() (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	PrevBaseFee             *big.Int
	Reserved72              uint64
	AccProposedAt           uint64
	AccBlockFees            uint64
	NumBlocks               uint64
	NextEthDepositToProcess uint64
	BlockFee                uint64
	ProofTimeIssued         uint64
	LastVerifiedBlockId     uint64
	ProofTimeTarget         uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint16 adjustmentQuotient, uint48 prevBaseFee, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

func (*MxcL1ClientSession) TransferOwnership

func (_MxcL1Client *MxcL1ClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MxcL1ClientSession) VerifyBlocks

func (_MxcL1Client *MxcL1ClientSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*MxcL1ClientSession) WithdrawMxcToken

func (_MxcL1Client *MxcL1ClientSession) WithdrawMxcToken(amount *big.Int) (*types.Transaction, error)

WithdrawMxcToken is a paid mutator transaction binding the contract method 0x51e15268.

Solidity: function withdrawMxcToken(uint256 amount) returns()

type MxcL1ClientTransactor

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

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

func NewMxcL1ClientTransactor

func NewMxcL1ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*MxcL1ClientTransactor, error)

NewMxcL1ClientTransactor creates a new write-only instance of MxcL1Client, bound to a specific deployed contract.

func (*MxcL1ClientTransactor) DepositEtherToL2

func (_MxcL1Client *MxcL1ClientTransactor) DepositEtherToL2(opts *bind.TransactOpts) (*types.Transaction, error)

DepositEtherToL2 is a paid mutator transaction binding the contract method 0xa22f7670.

Solidity: function depositEtherToL2() payable returns()

func (*MxcL1ClientTransactor) DepositMxcToken

func (_MxcL1Client *MxcL1ClientTransactor) DepositMxcToken(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

DepositMxcToken is a paid mutator transaction binding the contract method 0x5c9c0a14.

Solidity: function depositMxcToken(uint256 amount) returns()

func (*MxcL1ClientTransactor) Init

func (_MxcL1Client *MxcL1ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _genesisBlockHash [32]byte, _initBlockFee uint64, _initProofTimeTarget uint64, _initProofTimeIssued uint64, _adjustmentQuotient uint16) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc7a64b19.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint64 _initBlockFee, uint64 _initProofTimeTarget, uint64 _initProofTimeIssued, uint16 _adjustmentQuotient) returns()

func (*MxcL1ClientTransactor) ProposeBlock

func (_MxcL1Client *MxcL1ClientTransactor) ProposeBlock(opts *bind.TransactOpts, input []byte, txList []byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xef16e845.

Solidity: function proposeBlock(bytes input, bytes txList) returns((uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta)

func (*MxcL1ClientTransactor) ProveBlock

func (_MxcL1Client *MxcL1ClientTransactor) ProveBlock(opts *bind.TransactOpts, blockId *big.Int, input []byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0xf3840f60.

Solidity: function proveBlock(uint256 blockId, bytes input) returns()

func (*MxcL1ClientTransactor) Receive

func (_MxcL1Client *MxcL1ClientTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MxcL1ClientTransactor) RenounceOwnership

func (_MxcL1Client *MxcL1ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL1ClientTransactor) SetAddressManager

func (_MxcL1Client *MxcL1ClientTransactor) SetAddressManager(opts *bind.TransactOpts, newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL1ClientTransactor) SetProofParams

func (_MxcL1Client *MxcL1ClientTransactor) SetProofParams(opts *bind.TransactOpts, newProofTimeTarget uint64, newProofTimeIssued uint64, newBlockFee uint64, newAdjustmentQuotient uint16) (*types.Transaction, error)

SetProofParams is a paid mutator transaction binding the contract method 0xae46a347.

Solidity: function setProofParams(uint64 newProofTimeTarget, uint64 newProofTimeIssued, uint64 newBlockFee, uint16 newAdjustmentQuotient) returns()

func (*MxcL1ClientTransactor) TransferOwnership

func (_MxcL1Client *MxcL1ClientTransactor) 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()

func (*MxcL1ClientTransactor) VerifyBlocks

func (_MxcL1Client *MxcL1ClientTransactor) VerifyBlocks(opts *bind.TransactOpts, maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*MxcL1ClientTransactor) WithdrawMxcToken

func (_MxcL1Client *MxcL1ClientTransactor) WithdrawMxcToken(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

WithdrawMxcToken is a paid mutator transaction binding the contract method 0x51e15268.

Solidity: function withdrawMxcToken(uint256 amount) returns()

type MxcL1ClientTransactorRaw

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

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

func (*MxcL1ClientTransactorRaw) Transact

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

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

func (*MxcL1ClientTransactorRaw) Transfer

func (_MxcL1Client *MxcL1ClientTransactorRaw) 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 MxcL1ClientTransactorSession

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

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

func (*MxcL1ClientTransactorSession) DepositEtherToL2

func (_MxcL1Client *MxcL1ClientTransactorSession) DepositEtherToL2() (*types.Transaction, error)

DepositEtherToL2 is a paid mutator transaction binding the contract method 0xa22f7670.

Solidity: function depositEtherToL2() payable returns()

func (*MxcL1ClientTransactorSession) DepositMxcToken

func (_MxcL1Client *MxcL1ClientTransactorSession) DepositMxcToken(amount *big.Int) (*types.Transaction, error)

DepositMxcToken is a paid mutator transaction binding the contract method 0x5c9c0a14.

Solidity: function depositMxcToken(uint256 amount) returns()

func (*MxcL1ClientTransactorSession) Init

func (_MxcL1Client *MxcL1ClientTransactorSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _initBlockFee uint64, _initProofTimeTarget uint64, _initProofTimeIssued uint64, _adjustmentQuotient uint16) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc7a64b19.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint64 _initBlockFee, uint64 _initProofTimeTarget, uint64 _initProofTimeIssued, uint16 _adjustmentQuotient) returns()

func (*MxcL1ClientTransactorSession) ProposeBlock

func (_MxcL1Client *MxcL1ClientTransactorSession) ProposeBlock(input []byte, txList []byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xef16e845.

Solidity: function proposeBlock(bytes input, bytes txList) returns((uint64,uint64,uint64,bytes32,bytes32,bytes32,uint24,uint24,uint32,address,address,(address,uint96,uint64)[],uint256,uint256) meta)

func (*MxcL1ClientTransactorSession) ProveBlock

func (_MxcL1Client *MxcL1ClientTransactorSession) ProveBlock(blockId *big.Int, input []byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0xf3840f60.

Solidity: function proveBlock(uint256 blockId, bytes input) returns()

func (*MxcL1ClientTransactorSession) Receive

func (_MxcL1Client *MxcL1ClientTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MxcL1ClientTransactorSession) RenounceOwnership

func (_MxcL1Client *MxcL1ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL1ClientTransactorSession) SetAddressManager

func (_MxcL1Client *MxcL1ClientTransactorSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL1ClientTransactorSession) SetProofParams

func (_MxcL1Client *MxcL1ClientTransactorSession) SetProofParams(newProofTimeTarget uint64, newProofTimeIssued uint64, newBlockFee uint64, newAdjustmentQuotient uint16) (*types.Transaction, error)

SetProofParams is a paid mutator transaction binding the contract method 0xae46a347.

Solidity: function setProofParams(uint64 newProofTimeTarget, uint64 newProofTimeIssued, uint64 newBlockFee, uint16 newAdjustmentQuotient) returns()

func (*MxcL1ClientTransactorSession) TransferOwnership

func (_MxcL1Client *MxcL1ClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MxcL1ClientTransactorSession) VerifyBlocks

func (_MxcL1Client *MxcL1ClientTransactorSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*MxcL1ClientTransactorSession) WithdrawMxcToken

func (_MxcL1Client *MxcL1ClientTransactorSession) WithdrawMxcToken(amount *big.Int) (*types.Transaction, error)

WithdrawMxcToken is a paid mutator transaction binding the contract method 0x51e15268.

Solidity: function withdrawMxcToken(uint256 amount) returns()

type MxcL2Client

type MxcL2Client struct {
	MxcL2ClientCaller     // Read-only binding to the contract
	MxcL2ClientTransactor // Write-only binding to the contract
	MxcL2ClientFilterer   // Log filterer for contract events
}

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

func NewMxcL2Client

func NewMxcL2Client(address common.Address, backend bind.ContractBackend) (*MxcL2Client, error)

NewMxcL2Client creates a new instance of MxcL2Client, bound to a specific deployed contract.

type MxcL2ClientAddressManagerChanged

type MxcL2ClientAddressManagerChanged struct {
	AddressManager common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

MxcL2ClientAddressManagerChanged represents a AddressManagerChanged event raised by the MxcL2Client contract.

type MxcL2ClientAddressManagerChangedIterator

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

MxcL2ClientAddressManagerChangedIterator is returned from FilterAddressManagerChanged and is used to iterate over the raw logs and unpacked data for AddressManagerChanged events raised by the MxcL2Client contract.

func (*MxcL2ClientAddressManagerChangedIterator) Close

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

func (*MxcL2ClientAddressManagerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL2ClientAddressManagerChangedIterator) 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 MxcL2ClientAnchored

type MxcL2ClientAnchored struct {
	Number     uint64
	Basefee    uint64
	Gaslimit   uint64
	Timestamp  uint64
	ParentHash [32]byte
	Prevrandao *big.Int
	Coinbase   common.Address
	Chainid    uint32
	Raw        types.Log // Blockchain specific contextual infos
}

MxcL2ClientAnchored represents a Anchored event raised by the MxcL2Client contract.

type MxcL2ClientAnchoredIterator

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

MxcL2ClientAnchoredIterator is returned from FilterAnchored and is used to iterate over the raw logs and unpacked data for Anchored events raised by the MxcL2Client contract.

func (*MxcL2ClientAnchoredIterator) Close

func (it *MxcL2ClientAnchoredIterator) Close() error

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

func (*MxcL2ClientAnchoredIterator) Error

func (it *MxcL2ClientAnchoredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL2ClientAnchoredIterator) Next

func (it *MxcL2ClientAnchoredIterator) 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 MxcL2ClientCaller

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

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

func NewMxcL2ClientCaller

func NewMxcL2ClientCaller(address common.Address, caller bind.ContractCaller) (*MxcL2ClientCaller, error)

NewMxcL2ClientCaller creates a new read-only instance of MxcL2Client, bound to a specific deployed contract.

func (*MxcL2ClientCaller) AddressManager

func (_MxcL2Client *MxcL2ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL2ClientCaller) GOLDENTOUCHADDRESS

func (_MxcL2Client *MxcL2ClientCaller) GOLDENTOUCHADDRESS(opts *bind.CallOpts) (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*MxcL2ClientCaller) GOLDENTOUCHPRIVATEKEY

func (_MxcL2Client *MxcL2ClientCaller) GOLDENTOUCHPRIVATEKEY(opts *bind.CallOpts) (*big.Int, error)

GOLDENTOUCHPRIVATEKEY is a free data retrieval call binding the contract method 0x10da3738.

Solidity: function GOLDEN_TOUCH_PRIVATEKEY() view returns(uint256)

func (*MxcL2ClientCaller) GasExcess

func (_MxcL2Client *MxcL2ClientCaller) GasExcess(opts *bind.CallOpts) (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*MxcL2ClientCaller) GetBasefee

func (_MxcL2Client *MxcL2ClientCaller) GetBasefee(opts *bind.CallOpts, timeSinceParent uint32, gasLimit uint64, parentGasUsed uint64) (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0xe1848cb0.

Solidity: function getBasefee(uint32 timeSinceParent, uint64 gasLimit, uint64 parentGasUsed) view returns(uint256 _basefee)

func (*MxcL2ClientCaller) GetBlockHash

func (_MxcL2Client *MxcL2ClientCaller) GetBlockHash(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientCaller) GetCrossChainBlockHash

func (_MxcL2Client *MxcL2ClientCaller) GetCrossChainBlockHash(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientCaller) GetCrossChainSignalRoot

func (_MxcL2Client *MxcL2ClientCaller) GetCrossChainSignalRoot(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 number) view returns(bytes32)

func (*MxcL2ClientCaller) GetEIP1559Config

func (_MxcL2Client *MxcL2ClientCaller) GetEIP1559Config(opts *bind.CallOpts) (MxcL2EIP1559Config, error)

GetEIP1559Config is a free data retrieval call binding the contract method 0x4e755573.

Solidity: function getEIP1559Config() view returns((uint128,uint64,uint64))

func (*MxcL2ClientCaller) LatestSyncedL1Height

func (_MxcL2Client *MxcL2ClientCaller) LatestSyncedL1Height(opts *bind.CallOpts) (uint64, error)

LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.

Solidity: function latestSyncedL1Height() view returns(uint64)

func (*MxcL2ClientCaller) Owner

func (_MxcL2Client *MxcL2ClientCaller) 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 (*MxcL2ClientCaller) ParentTimestamp

func (_MxcL2Client *MxcL2ClientCaller) ParentTimestamp(opts *bind.CallOpts) (uint64, error)

ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.

Solidity: function parentTimestamp() view returns(uint64)

func (*MxcL2ClientCaller) PublicInputHash

func (_MxcL2Client *MxcL2ClientCaller) PublicInputHash(opts *bind.CallOpts) ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*MxcL2ClientCaller) Resolve

func (_MxcL2Client *MxcL2ClientCaller) Resolve(opts *bind.CallOpts, chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientCaller) Resolve0

func (_MxcL2Client *MxcL2ClientCaller) Resolve0(opts *bind.CallOpts, name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientCaller) SignAnchor

func (_MxcL2Client *MxcL2ClientCaller) SignAnchor(opts *bind.CallOpts, digest [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignAnchor is a free data retrieval call binding the contract method 0x591aad8a.

Solidity: function signAnchor(bytes32 digest, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

type MxcL2ClientCallerRaw

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

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

func (*MxcL2ClientCallerRaw) Call

func (_MxcL2Client *MxcL2ClientCallerRaw) 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 MxcL2ClientCallerSession

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

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

func (*MxcL2ClientCallerSession) AddressManager

func (_MxcL2Client *MxcL2ClientCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL2ClientCallerSession) GOLDENTOUCHADDRESS

func (_MxcL2Client *MxcL2ClientCallerSession) GOLDENTOUCHADDRESS() (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*MxcL2ClientCallerSession) GOLDENTOUCHPRIVATEKEY

func (_MxcL2Client *MxcL2ClientCallerSession) GOLDENTOUCHPRIVATEKEY() (*big.Int, error)

GOLDENTOUCHPRIVATEKEY is a free data retrieval call binding the contract method 0x10da3738.

Solidity: function GOLDEN_TOUCH_PRIVATEKEY() view returns(uint256)

func (*MxcL2ClientCallerSession) GasExcess

func (_MxcL2Client *MxcL2ClientCallerSession) GasExcess() (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*MxcL2ClientCallerSession) GetBasefee

func (_MxcL2Client *MxcL2ClientCallerSession) GetBasefee(timeSinceParent uint32, gasLimit uint64, parentGasUsed uint64) (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0xe1848cb0.

Solidity: function getBasefee(uint32 timeSinceParent, uint64 gasLimit, uint64 parentGasUsed) view returns(uint256 _basefee)

func (*MxcL2ClientCallerSession) GetBlockHash

func (_MxcL2Client *MxcL2ClientCallerSession) GetBlockHash(number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientCallerSession) GetCrossChainBlockHash

func (_MxcL2Client *MxcL2ClientCallerSession) GetCrossChainBlockHash(number *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientCallerSession) GetCrossChainSignalRoot

func (_MxcL2Client *MxcL2ClientCallerSession) GetCrossChainSignalRoot(number *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 number) view returns(bytes32)

func (*MxcL2ClientCallerSession) GetEIP1559Config

func (_MxcL2Client *MxcL2ClientCallerSession) GetEIP1559Config() (MxcL2EIP1559Config, error)

GetEIP1559Config is a free data retrieval call binding the contract method 0x4e755573.

Solidity: function getEIP1559Config() view returns((uint128,uint64,uint64))

func (*MxcL2ClientCallerSession) LatestSyncedL1Height

func (_MxcL2Client *MxcL2ClientCallerSession) LatestSyncedL1Height() (uint64, error)

LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.

Solidity: function latestSyncedL1Height() view returns(uint64)

func (*MxcL2ClientCallerSession) Owner

func (_MxcL2Client *MxcL2ClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcL2ClientCallerSession) ParentTimestamp

func (_MxcL2Client *MxcL2ClientCallerSession) ParentTimestamp() (uint64, error)

ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.

Solidity: function parentTimestamp() view returns(uint64)

func (*MxcL2ClientCallerSession) PublicInputHash

func (_MxcL2Client *MxcL2ClientCallerSession) PublicInputHash() ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*MxcL2ClientCallerSession) Resolve

func (_MxcL2Client *MxcL2ClientCallerSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientCallerSession) Resolve0

func (_MxcL2Client *MxcL2ClientCallerSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientCallerSession) SignAnchor

func (_MxcL2Client *MxcL2ClientCallerSession) SignAnchor(digest [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignAnchor is a free data retrieval call binding the contract method 0x591aad8a.

Solidity: function signAnchor(bytes32 digest, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

type MxcL2ClientCrossChainSynced

type MxcL2ClientCrossChainSynced struct {
	SrcHeight  *big.Int
	BlockHash  [32]byte
	SignalRoot [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MxcL2ClientCrossChainSynced represents a CrossChainSynced event raised by the MxcL2Client contract.

type MxcL2ClientCrossChainSyncedIterator

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

MxcL2ClientCrossChainSyncedIterator is returned from FilterCrossChainSynced and is used to iterate over the raw logs and unpacked data for CrossChainSynced events raised by the MxcL2Client contract.

func (*MxcL2ClientCrossChainSyncedIterator) Close

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

func (*MxcL2ClientCrossChainSyncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL2ClientCrossChainSyncedIterator) 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 MxcL2ClientFilterer

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

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

func NewMxcL2ClientFilterer

func NewMxcL2ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*MxcL2ClientFilterer, error)

NewMxcL2ClientFilterer creates a new log filterer instance of MxcL2Client, bound to a specific deployed contract.

func (*MxcL2ClientFilterer) FilterAddressManagerChanged

func (_MxcL2Client *MxcL2ClientFilterer) FilterAddressManagerChanged(opts *bind.FilterOpts) (*MxcL2ClientAddressManagerChangedIterator, error)

FilterAddressManagerChanged is a free log retrieval operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL2ClientFilterer) FilterAnchored

func (_MxcL2Client *MxcL2ClientFilterer) FilterAnchored(opts *bind.FilterOpts) (*MxcL2ClientAnchoredIterator, error)

FilterAnchored is a free log retrieval operation binding the contract event 0x4dcb01f99c4a2c27a16ab38d00ec92434f8231be81fa62e058f260d3c7156029.

Solidity: event Anchored(uint64 number, uint64 basefee, uint64 gaslimit, uint64 timestamp, bytes32 parentHash, uint256 prevrandao, address coinbase, uint32 chainid)

func (*MxcL2ClientFilterer) FilterCrossChainSynced

func (_MxcL2Client *MxcL2ClientFilterer) FilterCrossChainSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*MxcL2ClientCrossChainSyncedIterator, error)

FilterCrossChainSynced is a free log retrieval operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL2ClientFilterer) FilterInitialized

func (_MxcL2Client *MxcL2ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*MxcL2ClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL2ClientFilterer) FilterOwnershipTransferred

func (_MxcL2Client *MxcL2ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MxcL2ClientOwnershipTransferredIterator, error)

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

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

func (*MxcL2ClientFilterer) ParseAddressManagerChanged

func (_MxcL2Client *MxcL2ClientFilterer) ParseAddressManagerChanged(log types.Log) (*MxcL2ClientAddressManagerChanged, error)

ParseAddressManagerChanged is a log parse operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL2ClientFilterer) ParseAnchored

func (_MxcL2Client *MxcL2ClientFilterer) ParseAnchored(log types.Log) (*MxcL2ClientAnchored, error)

ParseAnchored is a log parse operation binding the contract event 0x4dcb01f99c4a2c27a16ab38d00ec92434f8231be81fa62e058f260d3c7156029.

Solidity: event Anchored(uint64 number, uint64 basefee, uint64 gaslimit, uint64 timestamp, bytes32 parentHash, uint256 prevrandao, address coinbase, uint32 chainid)

func (*MxcL2ClientFilterer) ParseCrossChainSynced

func (_MxcL2Client *MxcL2ClientFilterer) ParseCrossChainSynced(log types.Log) (*MxcL2ClientCrossChainSynced, error)

ParseCrossChainSynced is a log parse operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL2ClientFilterer) ParseInitialized

func (_MxcL2Client *MxcL2ClientFilterer) ParseInitialized(log types.Log) (*MxcL2ClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL2ClientFilterer) ParseOwnershipTransferred

func (_MxcL2Client *MxcL2ClientFilterer) ParseOwnershipTransferred(log types.Log) (*MxcL2ClientOwnershipTransferred, error)

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

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

func (*MxcL2ClientFilterer) WatchAddressManagerChanged

func (_MxcL2Client *MxcL2ClientFilterer) WatchAddressManagerChanged(opts *bind.WatchOpts, sink chan<- *MxcL2ClientAddressManagerChanged) (event.Subscription, error)

WatchAddressManagerChanged is a free log subscription operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcL2ClientFilterer) WatchAnchored

func (_MxcL2Client *MxcL2ClientFilterer) WatchAnchored(opts *bind.WatchOpts, sink chan<- *MxcL2ClientAnchored) (event.Subscription, error)

WatchAnchored is a free log subscription operation binding the contract event 0x4dcb01f99c4a2c27a16ab38d00ec92434f8231be81fa62e058f260d3c7156029.

Solidity: event Anchored(uint64 number, uint64 basefee, uint64 gaslimit, uint64 timestamp, bytes32 parentHash, uint256 prevrandao, address coinbase, uint32 chainid)

func (*MxcL2ClientFilterer) WatchCrossChainSynced

func (_MxcL2Client *MxcL2ClientFilterer) WatchCrossChainSynced(opts *bind.WatchOpts, sink chan<- *MxcL2ClientCrossChainSynced, srcHeight []*big.Int) (event.Subscription, error)

WatchCrossChainSynced is a free log subscription operation binding the contract event 0x7528bbd1cef0e5d13408706892a51ee8ef82bbf33d4ec0c37216f8beba71205b.

Solidity: event CrossChainSynced(uint256 indexed srcHeight, bytes32 blockHash, bytes32 signalRoot)

func (*MxcL2ClientFilterer) WatchInitialized

func (_MxcL2Client *MxcL2ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MxcL2ClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcL2ClientFilterer) WatchOwnershipTransferred

func (_MxcL2Client *MxcL2ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MxcL2ClientOwnershipTransferred, 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)

type MxcL2ClientInitialized

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

MxcL2ClientInitialized represents a Initialized event raised by the MxcL2Client contract.

type MxcL2ClientInitializedIterator

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

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

func (*MxcL2ClientInitializedIterator) Close

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

func (*MxcL2ClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL2ClientInitializedIterator) 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 MxcL2ClientOwnershipTransferred

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

MxcL2ClientOwnershipTransferred represents a OwnershipTransferred event raised by the MxcL2Client contract.

type MxcL2ClientOwnershipTransferredIterator

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

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

func (*MxcL2ClientOwnershipTransferredIterator) Close

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

func (*MxcL2ClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcL2ClientOwnershipTransferredIterator) 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 MxcL2ClientRaw

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

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

func (*MxcL2ClientRaw) Call

func (_MxcL2Client *MxcL2ClientRaw) 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 (*MxcL2ClientRaw) Transact

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

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

func (*MxcL2ClientRaw) Transfer

func (_MxcL2Client *MxcL2ClientRaw) 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 MxcL2ClientSession

type MxcL2ClientSession struct {
	Contract     *MxcL2Client      // 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
}

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

func (*MxcL2ClientSession) AddressManager

func (_MxcL2Client *MxcL2ClientSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcL2ClientSession) Anchor

func (_MxcL2Client *MxcL2ClientSession) Anchor(l1Hash [32]byte, l1SignalRoot [32]byte, l1Height uint64, parentGasUsed uint64) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0x3d384a4b.

Solidity: function anchor(bytes32 l1Hash, bytes32 l1SignalRoot, uint64 l1Height, uint64 parentGasUsed) returns()

func (*MxcL2ClientSession) GOLDENTOUCHADDRESS

func (_MxcL2Client *MxcL2ClientSession) GOLDENTOUCHADDRESS() (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*MxcL2ClientSession) GOLDENTOUCHPRIVATEKEY

func (_MxcL2Client *MxcL2ClientSession) GOLDENTOUCHPRIVATEKEY() (*big.Int, error)

GOLDENTOUCHPRIVATEKEY is a free data retrieval call binding the contract method 0x10da3738.

Solidity: function GOLDEN_TOUCH_PRIVATEKEY() view returns(uint256)

func (*MxcL2ClientSession) GasExcess

func (_MxcL2Client *MxcL2ClientSession) GasExcess() (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*MxcL2ClientSession) GetBasefee

func (_MxcL2Client *MxcL2ClientSession) GetBasefee(timeSinceParent uint32, gasLimit uint64, parentGasUsed uint64) (*big.Int, error)

GetBasefee is a free data retrieval call binding the contract method 0xe1848cb0.

Solidity: function getBasefee(uint32 timeSinceParent, uint64 gasLimit, uint64 parentGasUsed) view returns(uint256 _basefee)

func (*MxcL2ClientSession) GetBlockHash

func (_MxcL2Client *MxcL2ClientSession) GetBlockHash(number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientSession) GetCrossChainBlockHash

func (_MxcL2Client *MxcL2ClientSession) GetCrossChainBlockHash(number *big.Int) ([32]byte, error)

GetCrossChainBlockHash is a free data retrieval call binding the contract method 0xbacb386d.

Solidity: function getCrossChainBlockHash(uint256 number) view returns(bytes32)

func (*MxcL2ClientSession) GetCrossChainSignalRoot

func (_MxcL2Client *MxcL2ClientSession) GetCrossChainSignalRoot(number *big.Int) ([32]byte, error)

GetCrossChainSignalRoot is a free data retrieval call binding the contract method 0xb8914ce4.

Solidity: function getCrossChainSignalRoot(uint256 number) view returns(bytes32)

func (*MxcL2ClientSession) GetEIP1559Config

func (_MxcL2Client *MxcL2ClientSession) GetEIP1559Config() (MxcL2EIP1559Config, error)

GetEIP1559Config is a free data retrieval call binding the contract method 0x4e755573.

Solidity: function getEIP1559Config() view returns((uint128,uint64,uint64))

func (*MxcL2ClientSession) Init

func (_MxcL2Client *MxcL2ClientSession) Init(_addressManager common.Address, _param1559 MxcL2EIP1559Params) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x8f3ca30d.

Solidity: function init(address _addressManager, (uint64,uint64,uint64,uint64,uint64) _param1559) returns()

func (*MxcL2ClientSession) LatestSyncedL1Height

func (_MxcL2Client *MxcL2ClientSession) LatestSyncedL1Height() (uint64, error)

LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.

Solidity: function latestSyncedL1Height() view returns(uint64)

func (*MxcL2ClientSession) Owner

func (_MxcL2Client *MxcL2ClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcL2ClientSession) ParentTimestamp

func (_MxcL2Client *MxcL2ClientSession) ParentTimestamp() (uint64, error)

ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.

Solidity: function parentTimestamp() view returns(uint64)

func (*MxcL2ClientSession) PublicInputHash

func (_MxcL2Client *MxcL2ClientSession) PublicInputHash() ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*MxcL2ClientSession) RenounceOwnership

func (_MxcL2Client *MxcL2ClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL2ClientSession) Resolve

func (_MxcL2Client *MxcL2ClientSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientSession) Resolve0

func (_MxcL2Client *MxcL2ClientSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcL2ClientSession) SetAddressManager

func (_MxcL2Client *MxcL2ClientSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL2ClientSession) SignAnchor

func (_MxcL2Client *MxcL2ClientSession) SignAnchor(digest [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignAnchor is a free data retrieval call binding the contract method 0x591aad8a.

Solidity: function signAnchor(bytes32 digest, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

func (*MxcL2ClientSession) TransferOwnership

func (_MxcL2Client *MxcL2ClientSession) 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 MxcL2ClientTransactor

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

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

func NewMxcL2ClientTransactor

func NewMxcL2ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*MxcL2ClientTransactor, error)

NewMxcL2ClientTransactor creates a new write-only instance of MxcL2Client, bound to a specific deployed contract.

func (*MxcL2ClientTransactor) Anchor

func (_MxcL2Client *MxcL2ClientTransactor) Anchor(opts *bind.TransactOpts, l1Hash [32]byte, l1SignalRoot [32]byte, l1Height uint64, parentGasUsed uint64) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0x3d384a4b.

Solidity: function anchor(bytes32 l1Hash, bytes32 l1SignalRoot, uint64 l1Height, uint64 parentGasUsed) returns()

func (*MxcL2ClientTransactor) Init

func (_MxcL2Client *MxcL2ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _param1559 MxcL2EIP1559Params) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x8f3ca30d.

Solidity: function init(address _addressManager, (uint64,uint64,uint64,uint64,uint64) _param1559) returns()

func (*MxcL2ClientTransactor) RenounceOwnership

func (_MxcL2Client *MxcL2ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL2ClientTransactor) SetAddressManager

func (_MxcL2Client *MxcL2ClientTransactor) SetAddressManager(opts *bind.TransactOpts, newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL2ClientTransactor) TransferOwnership

func (_MxcL2Client *MxcL2ClientTransactor) 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 MxcL2ClientTransactorRaw

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

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

func (*MxcL2ClientTransactorRaw) Transact

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

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

func (*MxcL2ClientTransactorRaw) Transfer

func (_MxcL2Client *MxcL2ClientTransactorRaw) 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 MxcL2ClientTransactorSession

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

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

func (*MxcL2ClientTransactorSession) Anchor

func (_MxcL2Client *MxcL2ClientTransactorSession) Anchor(l1Hash [32]byte, l1SignalRoot [32]byte, l1Height uint64, parentGasUsed uint64) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0x3d384a4b.

Solidity: function anchor(bytes32 l1Hash, bytes32 l1SignalRoot, uint64 l1Height, uint64 parentGasUsed) returns()

func (*MxcL2ClientTransactorSession) Init

func (_MxcL2Client *MxcL2ClientTransactorSession) Init(_addressManager common.Address, _param1559 MxcL2EIP1559Params) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x8f3ca30d.

Solidity: function init(address _addressManager, (uint64,uint64,uint64,uint64,uint64) _param1559) returns()

func (*MxcL2ClientTransactorSession) RenounceOwnership

func (_MxcL2Client *MxcL2ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcL2ClientTransactorSession) SetAddressManager

func (_MxcL2Client *MxcL2ClientTransactorSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcL2ClientTransactorSession) TransferOwnership

func (_MxcL2Client *MxcL2ClientTransactorSession) 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 MxcL2EIP1559Config

type MxcL2EIP1559Config struct {
	Yscale             *big.Int
	Xscale             uint64
	GasIssuedPerSecond uint64
}

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

type MxcL2EIP1559Params

type MxcL2EIP1559Params struct {
	Basefee            uint64
	GasIssuedPerSecond uint64
	GasExcessMax       uint64
	GasTarget          uint64
	Ratio2x1x          uint64
}

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

type MxcTokenClient

type MxcTokenClient struct {
	MxcTokenClientCaller     // Read-only binding to the contract
	MxcTokenClientTransactor // Write-only binding to the contract
	MxcTokenClientFilterer   // Log filterer for contract events
}

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

func NewMxcTokenClient

func NewMxcTokenClient(address common.Address, backend bind.ContractBackend) (*MxcTokenClient, error)

NewMxcTokenClient creates a new instance of MxcTokenClient, bound to a specific deployed contract.

type MxcTokenClientAddressManagerChanged

type MxcTokenClientAddressManagerChanged struct {
	AddressManager common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

MxcTokenClientAddressManagerChanged represents a AddressManagerChanged event raised by the MxcTokenClient contract.

type MxcTokenClientAddressManagerChangedIterator

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

MxcTokenClientAddressManagerChangedIterator is returned from FilterAddressManagerChanged and is used to iterate over the raw logs and unpacked data for AddressManagerChanged events raised by the MxcTokenClient contract.

func (*MxcTokenClientAddressManagerChangedIterator) Close

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

func (*MxcTokenClientAddressManagerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientAddressManagerChangedIterator) 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 MxcTokenClientApproval

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

MxcTokenClientApproval represents a Approval event raised by the MxcTokenClient contract.

type MxcTokenClientApprovalIterator

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

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

func (*MxcTokenClientApprovalIterator) Close

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

func (*MxcTokenClientApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientApprovalIterator) 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 MxcTokenClientBurn

type MxcTokenClientBurn struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MxcTokenClientBurn represents a Burn event raised by the MxcTokenClient contract.

type MxcTokenClientBurnIterator

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

MxcTokenClientBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the MxcTokenClient contract.

func (*MxcTokenClientBurnIterator) Close

func (it *MxcTokenClientBurnIterator) Close() error

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

func (*MxcTokenClientBurnIterator) Error

func (it *MxcTokenClientBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientBurnIterator) Next

func (it *MxcTokenClientBurnIterator) 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 MxcTokenClientCaller

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

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

func NewMxcTokenClientCaller

func NewMxcTokenClientCaller(address common.Address, caller bind.ContractCaller) (*MxcTokenClientCaller, error)

NewMxcTokenClientCaller creates a new read-only instance of MxcTokenClient, bound to a specific deployed contract.

func (*MxcTokenClientCaller) AddressManager

func (_MxcTokenClient *MxcTokenClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcTokenClientCaller) Allowance

func (_MxcTokenClient *MxcTokenClientCaller) 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 (*MxcTokenClientCaller) BalanceOf

func (_MxcTokenClient *MxcTokenClientCaller) 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 (*MxcTokenClientCaller) BalanceOfAt

func (_MxcTokenClient *MxcTokenClientCaller) BalanceOfAt(opts *bind.CallOpts, account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*MxcTokenClientCaller) Checkpoints

func (_MxcTokenClient *MxcTokenClientCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*MxcTokenClientCaller) DOMAINSEPARATOR

func (_MxcTokenClient *MxcTokenClientCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MxcTokenClientCaller) Decimals

func (_MxcTokenClient *MxcTokenClientCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*MxcTokenClientCaller) Delegates

func (_MxcTokenClient *MxcTokenClientCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*MxcTokenClientCaller) GetPastTotalSupply

func (_MxcTokenClient *MxcTokenClientCaller) GetPastTotalSupply(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientCaller) GetPastVotes

func (_MxcTokenClient *MxcTokenClientCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientCaller) GetVotes

func (_MxcTokenClient *MxcTokenClientCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*MxcTokenClientCaller) Name

func (_MxcTokenClient *MxcTokenClientCaller) 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 (*MxcTokenClientCaller) Nonces

func (_MxcTokenClient *MxcTokenClientCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*MxcTokenClientCaller) NumCheckpoints

func (_MxcTokenClient *MxcTokenClientCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*MxcTokenClientCaller) Owner

func (_MxcTokenClient *MxcTokenClientCaller) 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 (*MxcTokenClientCaller) Paused

func (_MxcTokenClient *MxcTokenClientCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MxcTokenClientCaller) Resolve

func (_MxcTokenClient *MxcTokenClientCaller) Resolve(opts *bind.CallOpts, chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientCaller) Resolve0

func (_MxcTokenClient *MxcTokenClientCaller) Resolve0(opts *bind.CallOpts, name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientCaller) Symbol

func (_MxcTokenClient *MxcTokenClientCaller) 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 (*MxcTokenClientCaller) TotalSupply

func (_MxcTokenClient *MxcTokenClientCaller) 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)

func (*MxcTokenClientCaller) TotalSupplyAt

func (_MxcTokenClient *MxcTokenClientCaller) TotalSupplyAt(opts *bind.CallOpts, snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

type MxcTokenClientCallerRaw

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

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

func (*MxcTokenClientCallerRaw) Call

func (_MxcTokenClient *MxcTokenClientCallerRaw) 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 MxcTokenClientCallerSession

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

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

func (*MxcTokenClientCallerSession) AddressManager

func (_MxcTokenClient *MxcTokenClientCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcTokenClientCallerSession) Allowance

func (_MxcTokenClient *MxcTokenClientCallerSession) 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 (*MxcTokenClientCallerSession) BalanceOf

func (_MxcTokenClient *MxcTokenClientCallerSession) 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 (*MxcTokenClientCallerSession) BalanceOfAt

func (_MxcTokenClient *MxcTokenClientCallerSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*MxcTokenClientCallerSession) Checkpoints

func (_MxcTokenClient *MxcTokenClientCallerSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*MxcTokenClientCallerSession) DOMAINSEPARATOR

func (_MxcTokenClient *MxcTokenClientCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MxcTokenClientCallerSession) Decimals

func (_MxcTokenClient *MxcTokenClientCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*MxcTokenClientCallerSession) Delegates

func (_MxcTokenClient *MxcTokenClientCallerSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*MxcTokenClientCallerSession) GetPastTotalSupply

func (_MxcTokenClient *MxcTokenClientCallerSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientCallerSession) GetPastVotes

func (_MxcTokenClient *MxcTokenClientCallerSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientCallerSession) GetVotes

func (_MxcTokenClient *MxcTokenClientCallerSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*MxcTokenClientCallerSession) Name

func (_MxcTokenClient *MxcTokenClientCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MxcTokenClientCallerSession) Nonces

func (_MxcTokenClient *MxcTokenClientCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*MxcTokenClientCallerSession) NumCheckpoints

func (_MxcTokenClient *MxcTokenClientCallerSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*MxcTokenClientCallerSession) Owner

func (_MxcTokenClient *MxcTokenClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcTokenClientCallerSession) Paused

func (_MxcTokenClient *MxcTokenClientCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MxcTokenClientCallerSession) Resolve

func (_MxcTokenClient *MxcTokenClientCallerSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientCallerSession) Resolve0

func (_MxcTokenClient *MxcTokenClientCallerSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientCallerSession) Symbol

func (_MxcTokenClient *MxcTokenClientCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MxcTokenClientCallerSession) TotalSupply

func (_MxcTokenClient *MxcTokenClientCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MxcTokenClientCallerSession) TotalSupplyAt

func (_MxcTokenClient *MxcTokenClientCallerSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

type MxcTokenClientDelegateChanged

type MxcTokenClientDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

MxcTokenClientDelegateChanged represents a DelegateChanged event raised by the MxcTokenClient contract.

type MxcTokenClientDelegateChangedIterator

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

MxcTokenClientDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the MxcTokenClient contract.

func (*MxcTokenClientDelegateChangedIterator) Close

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

func (*MxcTokenClientDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientDelegateChangedIterator) 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 MxcTokenClientDelegateVotesChanged

type MxcTokenClientDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

MxcTokenClientDelegateVotesChanged represents a DelegateVotesChanged event raised by the MxcTokenClient contract.

type MxcTokenClientDelegateVotesChangedIterator

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

MxcTokenClientDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the MxcTokenClient contract.

func (*MxcTokenClientDelegateVotesChangedIterator) Close

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

func (*MxcTokenClientDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientDelegateVotesChangedIterator) 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 MxcTokenClientFilterer

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

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

func NewMxcTokenClientFilterer

func NewMxcTokenClientFilterer(address common.Address, filterer bind.ContractFilterer) (*MxcTokenClientFilterer, error)

NewMxcTokenClientFilterer creates a new log filterer instance of MxcTokenClient, bound to a specific deployed contract.

func (*MxcTokenClientFilterer) FilterAddressManagerChanged

func (_MxcTokenClient *MxcTokenClientFilterer) FilterAddressManagerChanged(opts *bind.FilterOpts) (*MxcTokenClientAddressManagerChangedIterator, error)

FilterAddressManagerChanged is a free log retrieval operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcTokenClientFilterer) FilterApproval

func (_MxcTokenClient *MxcTokenClientFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MxcTokenClientApprovalIterator, 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 (*MxcTokenClientFilterer) FilterBurn

func (_MxcTokenClient *MxcTokenClientFilterer) FilterBurn(opts *bind.FilterOpts) (*MxcTokenClientBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address account, uint256 amount)

func (*MxcTokenClientFilterer) FilterDelegateChanged

func (_MxcTokenClient *MxcTokenClientFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*MxcTokenClientDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*MxcTokenClientFilterer) FilterDelegateVotesChanged

func (_MxcTokenClient *MxcTokenClientFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*MxcTokenClientDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*MxcTokenClientFilterer) FilterInitialized

func (_MxcTokenClient *MxcTokenClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*MxcTokenClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcTokenClientFilterer) FilterMint

func (_MxcTokenClient *MxcTokenClientFilterer) FilterMint(opts *bind.FilterOpts) (*MxcTokenClientMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address account, uint256 amount)

func (*MxcTokenClientFilterer) FilterOwnershipTransferred

func (_MxcTokenClient *MxcTokenClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MxcTokenClientOwnershipTransferredIterator, error)

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

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

func (*MxcTokenClientFilterer) FilterPaused

func (_MxcTokenClient *MxcTokenClientFilterer) FilterPaused(opts *bind.FilterOpts) (*MxcTokenClientPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MxcTokenClientFilterer) FilterSnapshot

func (_MxcTokenClient *MxcTokenClientFilterer) FilterSnapshot(opts *bind.FilterOpts) (*MxcTokenClientSnapshotIterator, error)

FilterSnapshot is a free log retrieval operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*MxcTokenClientFilterer) FilterTransfer

func (_MxcTokenClient *MxcTokenClientFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MxcTokenClientTransferIterator, 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 (*MxcTokenClientFilterer) FilterUnpaused

func (_MxcTokenClient *MxcTokenClientFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MxcTokenClientUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*MxcTokenClientFilterer) ParseAddressManagerChanged

func (_MxcTokenClient *MxcTokenClientFilterer) ParseAddressManagerChanged(log types.Log) (*MxcTokenClientAddressManagerChanged, error)

ParseAddressManagerChanged is a log parse operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcTokenClientFilterer) ParseApproval

func (_MxcTokenClient *MxcTokenClientFilterer) ParseApproval(log types.Log) (*MxcTokenClientApproval, error)

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

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

func (*MxcTokenClientFilterer) ParseBurn

func (_MxcTokenClient *MxcTokenClientFilterer) ParseBurn(log types.Log) (*MxcTokenClientBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address account, uint256 amount)

func (*MxcTokenClientFilterer) ParseDelegateChanged

func (_MxcTokenClient *MxcTokenClientFilterer) ParseDelegateChanged(log types.Log) (*MxcTokenClientDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*MxcTokenClientFilterer) ParseDelegateVotesChanged

func (_MxcTokenClient *MxcTokenClientFilterer) ParseDelegateVotesChanged(log types.Log) (*MxcTokenClientDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*MxcTokenClientFilterer) ParseInitialized

func (_MxcTokenClient *MxcTokenClientFilterer) ParseInitialized(log types.Log) (*MxcTokenClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcTokenClientFilterer) ParseMint

func (_MxcTokenClient *MxcTokenClientFilterer) ParseMint(log types.Log) (*MxcTokenClientMint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address account, uint256 amount)

func (*MxcTokenClientFilterer) ParseOwnershipTransferred

func (_MxcTokenClient *MxcTokenClientFilterer) ParseOwnershipTransferred(log types.Log) (*MxcTokenClientOwnershipTransferred, error)

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

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

func (*MxcTokenClientFilterer) ParsePaused

func (_MxcTokenClient *MxcTokenClientFilterer) ParsePaused(log types.Log) (*MxcTokenClientPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MxcTokenClientFilterer) ParseSnapshot

func (_MxcTokenClient *MxcTokenClientFilterer) ParseSnapshot(log types.Log) (*MxcTokenClientSnapshot, error)

ParseSnapshot is a log parse operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*MxcTokenClientFilterer) ParseTransfer

func (_MxcTokenClient *MxcTokenClientFilterer) ParseTransfer(log types.Log) (*MxcTokenClientTransfer, error)

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

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

func (*MxcTokenClientFilterer) ParseUnpaused

func (_MxcTokenClient *MxcTokenClientFilterer) ParseUnpaused(log types.Log) (*MxcTokenClientUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*MxcTokenClientFilterer) WatchAddressManagerChanged

func (_MxcTokenClient *MxcTokenClientFilterer) WatchAddressManagerChanged(opts *bind.WatchOpts, sink chan<- *MxcTokenClientAddressManagerChanged) (event.Subscription, error)

WatchAddressManagerChanged is a free log subscription operation binding the contract event 0x399ded90cb5ed8d89ef7e76ff4af65c373f06d3bf5d7eef55f4228e7b702a18b.

Solidity: event AddressManagerChanged(address addressManager)

func (*MxcTokenClientFilterer) WatchApproval

func (_MxcTokenClient *MxcTokenClientFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MxcTokenClientApproval, 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 (*MxcTokenClientFilterer) WatchBurn

func (_MxcTokenClient *MxcTokenClientFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *MxcTokenClientBurn) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address account, uint256 amount)

func (*MxcTokenClientFilterer) WatchDelegateChanged

func (_MxcTokenClient *MxcTokenClientFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *MxcTokenClientDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*MxcTokenClientFilterer) WatchDelegateVotesChanged

func (_MxcTokenClient *MxcTokenClientFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *MxcTokenClientDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*MxcTokenClientFilterer) WatchInitialized

func (_MxcTokenClient *MxcTokenClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MxcTokenClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*MxcTokenClientFilterer) WatchMint

func (_MxcTokenClient *MxcTokenClientFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MxcTokenClientMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address account, uint256 amount)

func (*MxcTokenClientFilterer) WatchOwnershipTransferred

func (_MxcTokenClient *MxcTokenClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MxcTokenClientOwnershipTransferred, 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 (*MxcTokenClientFilterer) WatchPaused

func (_MxcTokenClient *MxcTokenClientFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MxcTokenClientPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MxcTokenClientFilterer) WatchSnapshot

func (_MxcTokenClient *MxcTokenClientFilterer) WatchSnapshot(opts *bind.WatchOpts, sink chan<- *MxcTokenClientSnapshot) (event.Subscription, error)

WatchSnapshot is a free log subscription operation binding the contract event 0x8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67.

Solidity: event Snapshot(uint256 id)

func (*MxcTokenClientFilterer) WatchTransfer

func (_MxcTokenClient *MxcTokenClientFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MxcTokenClientTransfer, 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)

func (*MxcTokenClientFilterer) WatchUnpaused

func (_MxcTokenClient *MxcTokenClientFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MxcTokenClientUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type MxcTokenClientInitialized

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

MxcTokenClientInitialized represents a Initialized event raised by the MxcTokenClient contract.

type MxcTokenClientInitializedIterator

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

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

func (*MxcTokenClientInitializedIterator) Close

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

func (*MxcTokenClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientInitializedIterator) 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 MxcTokenClientMint

type MxcTokenClientMint struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MxcTokenClientMint represents a Mint event raised by the MxcTokenClient contract.

type MxcTokenClientMintIterator

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

MxcTokenClientMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MxcTokenClient contract.

func (*MxcTokenClientMintIterator) Close

func (it *MxcTokenClientMintIterator) Close() error

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

func (*MxcTokenClientMintIterator) Error

func (it *MxcTokenClientMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientMintIterator) Next

func (it *MxcTokenClientMintIterator) 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 MxcTokenClientOwnershipTransferred

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

MxcTokenClientOwnershipTransferred represents a OwnershipTransferred event raised by the MxcTokenClient contract.

type MxcTokenClientOwnershipTransferredIterator

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

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

func (*MxcTokenClientOwnershipTransferredIterator) Close

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

func (*MxcTokenClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientOwnershipTransferredIterator) 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 MxcTokenClientPaused

type MxcTokenClientPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MxcTokenClientPaused represents a Paused event raised by the MxcTokenClient contract.

type MxcTokenClientPausedIterator

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

MxcTokenClientPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the MxcTokenClient contract.

func (*MxcTokenClientPausedIterator) Close

func (it *MxcTokenClientPausedIterator) Close() error

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

func (*MxcTokenClientPausedIterator) Error

func (it *MxcTokenClientPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientPausedIterator) 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 MxcTokenClientRaw

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

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

func (*MxcTokenClientRaw) Call

func (_MxcTokenClient *MxcTokenClientRaw) 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 (*MxcTokenClientRaw) Transact

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

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

func (*MxcTokenClientRaw) Transfer

func (_MxcTokenClient *MxcTokenClientRaw) 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 MxcTokenClientSession

type MxcTokenClientSession struct {
	Contract     *MxcTokenClient   // 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
}

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

func (*MxcTokenClientSession) AddressManager

func (_MxcTokenClient *MxcTokenClientSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*MxcTokenClientSession) Allowance

func (_MxcTokenClient *MxcTokenClientSession) 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 (*MxcTokenClientSession) Approve

func (_MxcTokenClient *MxcTokenClientSession) 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 (*MxcTokenClientSession) BalanceOf

func (_MxcTokenClient *MxcTokenClientSession) 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 (*MxcTokenClientSession) BalanceOfAt

func (_MxcTokenClient *MxcTokenClientSession) BalanceOfAt(account common.Address, snapshotId *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address account, uint256 snapshotId) view returns(uint256)

func (*MxcTokenClientSession) Burn

func (_MxcTokenClient *MxcTokenClientSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MxcTokenClientSession) Burn0

func (_MxcTokenClient *MxcTokenClientSession) Burn0(from common.Address, amount *big.Int) (*types.Transaction, error)

Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address from, uint256 amount) returns()

func (*MxcTokenClientSession) BurnFrom

func (_MxcTokenClient *MxcTokenClientSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*MxcTokenClientSession) Checkpoints

func (_MxcTokenClient *MxcTokenClientSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))

func (*MxcTokenClientSession) DOMAINSEPARATOR

func (_MxcTokenClient *MxcTokenClientSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MxcTokenClientSession) Decimals

func (_MxcTokenClient *MxcTokenClientSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*MxcTokenClientSession) DecreaseAllowance

func (_MxcTokenClient *MxcTokenClientSession) 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 (*MxcTokenClientSession) Delegate

func (_MxcTokenClient *MxcTokenClientSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*MxcTokenClientSession) DelegateBySig

func (_MxcTokenClient *MxcTokenClientSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientSession) Delegates

func (_MxcTokenClient *MxcTokenClientSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*MxcTokenClientSession) Exchange

func (_MxcTokenClient *MxcTokenClientSession) Exchange(to common.Address, amount *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x045d0389.

Solidity: function exchange(address to, uint256 amount) returns()

func (*MxcTokenClientSession) GetPastTotalSupply

func (_MxcTokenClient *MxcTokenClientSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientSession) GetPastVotes

func (_MxcTokenClient *MxcTokenClientSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint256)

func (*MxcTokenClientSession) GetVotes

func (_MxcTokenClient *MxcTokenClientSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

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

func (*MxcTokenClientSession) IncreaseAllowance

func (_MxcTokenClient *MxcTokenClientSession) 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 (*MxcTokenClientSession) Init

func (_MxcTokenClient *MxcTokenClientSession) Init(_addressManager common.Address, _name string, _symbol string, _premintRecipients []common.Address, _premintAmounts []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc3a57123.

Solidity: function init(address _addressManager, string _name, string _symbol, address[] _premintRecipients, uint256[] _premintAmounts) returns()

func (*MxcTokenClientSession) Mint

func (_MxcTokenClient *MxcTokenClientSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*MxcTokenClientSession) Name

func (_MxcTokenClient *MxcTokenClientSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MxcTokenClientSession) Nonces

func (_MxcTokenClient *MxcTokenClientSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*MxcTokenClientSession) NumCheckpoints

func (_MxcTokenClient *MxcTokenClientSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*MxcTokenClientSession) Owner

func (_MxcTokenClient *MxcTokenClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MxcTokenClientSession) Pause

func (_MxcTokenClient *MxcTokenClientSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MxcTokenClientSession) Paused

func (_MxcTokenClient *MxcTokenClientSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MxcTokenClientSession) Permit

func (_MxcTokenClient *MxcTokenClientSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientSession) RenounceOwnership

func (_MxcTokenClient *MxcTokenClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcTokenClientSession) Resolve

func (_MxcTokenClient *MxcTokenClientSession) Resolve(chainId *big.Int, name [32]byte, allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(uint256 chainId, bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientSession) Resolve0

func (_MxcTokenClient *MxcTokenClientSession) Resolve0(name [32]byte, allowZeroAddress bool) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.

Solidity: function resolve(bytes32 name, bool allowZeroAddress) view returns(address)

func (*MxcTokenClientSession) SetAddressManager

func (_MxcTokenClient *MxcTokenClientSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcTokenClientSession) SetMxcToken

func (_MxcTokenClient *MxcTokenClientSession) SetMxcToken(oldMxcToken_ common.Address) (*types.Transaction, error)

SetMxcToken is a paid mutator transaction binding the contract method 0x59e302f8.

Solidity: function setMxcToken(address oldMxcToken_) returns()

func (*MxcTokenClientSession) Snapshot

func (_MxcTokenClient *MxcTokenClientSession) Snapshot() (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*MxcTokenClientSession) Symbol

func (_MxcTokenClient *MxcTokenClientSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MxcTokenClientSession) SyncL2Burn

func (_MxcTokenClient *MxcTokenClientSession) SyncL2Burn(amount *big.Int) (*types.Transaction, error)

SyncL2Burn is a paid mutator transaction binding the contract method 0x62451ba2.

Solidity: function syncL2Burn(uint256 amount) returns()

func (*MxcTokenClientSession) TotalSupply

func (_MxcTokenClient *MxcTokenClientSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MxcTokenClientSession) TotalSupplyAt

func (_MxcTokenClient *MxcTokenClientSession) TotalSupplyAt(snapshotId *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 snapshotId) view returns(uint256)

func (*MxcTokenClientSession) Transfer

func (_MxcTokenClient *MxcTokenClientSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MxcTokenClientSession) TransferFrom

func (_MxcTokenClient *MxcTokenClientSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*MxcTokenClientSession) TransferOwnership

func (_MxcTokenClient *MxcTokenClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MxcTokenClientSession) Unpause

func (_MxcTokenClient *MxcTokenClientSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MxcTokenClientSnapshot

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

MxcTokenClientSnapshot represents a Snapshot event raised by the MxcTokenClient contract.

type MxcTokenClientSnapshotIterator

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

MxcTokenClientSnapshotIterator is returned from FilterSnapshot and is used to iterate over the raw logs and unpacked data for Snapshot events raised by the MxcTokenClient contract.

func (*MxcTokenClientSnapshotIterator) Close

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

func (*MxcTokenClientSnapshotIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientSnapshotIterator) 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 MxcTokenClientTransactor

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

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

func NewMxcTokenClientTransactor

func NewMxcTokenClientTransactor(address common.Address, transactor bind.ContractTransactor) (*MxcTokenClientTransactor, error)

NewMxcTokenClientTransactor creates a new write-only instance of MxcTokenClient, bound to a specific deployed contract.

func (*MxcTokenClientTransactor) Approve

func (_MxcTokenClient *MxcTokenClientTransactor) 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 (*MxcTokenClientTransactor) Burn

func (_MxcTokenClient *MxcTokenClientTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MxcTokenClientTransactor) Burn0

func (_MxcTokenClient *MxcTokenClientTransactor) Burn0(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address from, uint256 amount) returns()

func (*MxcTokenClientTransactor) BurnFrom

func (_MxcTokenClient *MxcTokenClientTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*MxcTokenClientTransactor) DecreaseAllowance

func (_MxcTokenClient *MxcTokenClientTransactor) 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 (*MxcTokenClientTransactor) Delegate

func (_MxcTokenClient *MxcTokenClientTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*MxcTokenClientTransactor) DelegateBySig

func (_MxcTokenClient *MxcTokenClientTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientTransactor) Exchange

func (_MxcTokenClient *MxcTokenClientTransactor) Exchange(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x045d0389.

Solidity: function exchange(address to, uint256 amount) returns()

func (*MxcTokenClientTransactor) IncreaseAllowance

func (_MxcTokenClient *MxcTokenClientTransactor) 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 (*MxcTokenClientTransactor) Init

func (_MxcTokenClient *MxcTokenClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _name string, _symbol string, _premintRecipients []common.Address, _premintAmounts []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc3a57123.

Solidity: function init(address _addressManager, string _name, string _symbol, address[] _premintRecipients, uint256[] _premintAmounts) returns()

func (*MxcTokenClientTransactor) Mint

func (_MxcTokenClient *MxcTokenClientTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*MxcTokenClientTransactor) Pause

func (_MxcTokenClient *MxcTokenClientTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MxcTokenClientTransactor) Permit

func (_MxcTokenClient *MxcTokenClientTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientTransactor) RenounceOwnership

func (_MxcTokenClient *MxcTokenClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcTokenClientTransactor) SetAddressManager

func (_MxcTokenClient *MxcTokenClientTransactor) SetAddressManager(opts *bind.TransactOpts, newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcTokenClientTransactor) SetMxcToken

func (_MxcTokenClient *MxcTokenClientTransactor) SetMxcToken(opts *bind.TransactOpts, oldMxcToken_ common.Address) (*types.Transaction, error)

SetMxcToken is a paid mutator transaction binding the contract method 0x59e302f8.

Solidity: function setMxcToken(address oldMxcToken_) returns()

func (*MxcTokenClientTransactor) Snapshot

func (_MxcTokenClient *MxcTokenClientTransactor) Snapshot(opts *bind.TransactOpts) (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*MxcTokenClientTransactor) SyncL2Burn

func (_MxcTokenClient *MxcTokenClientTransactor) SyncL2Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

SyncL2Burn is a paid mutator transaction binding the contract method 0x62451ba2.

Solidity: function syncL2Burn(uint256 amount) returns()

func (*MxcTokenClientTransactor) Transfer

func (_MxcTokenClient *MxcTokenClientTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MxcTokenClientTransactor) TransferFrom

func (_MxcTokenClient *MxcTokenClientTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*MxcTokenClientTransactor) TransferOwnership

func (_MxcTokenClient *MxcTokenClientTransactor) 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()

func (*MxcTokenClientTransactor) Unpause

func (_MxcTokenClient *MxcTokenClientTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MxcTokenClientTransactorRaw

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

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

func (*MxcTokenClientTransactorRaw) Transact

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

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

func (*MxcTokenClientTransactorRaw) Transfer

func (_MxcTokenClient *MxcTokenClientTransactorRaw) 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 MxcTokenClientTransactorSession

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

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

func (*MxcTokenClientTransactorSession) Approve

func (_MxcTokenClient *MxcTokenClientTransactorSession) 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 (*MxcTokenClientTransactorSession) Burn

func (_MxcTokenClient *MxcTokenClientTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*MxcTokenClientTransactorSession) Burn0

func (_MxcTokenClient *MxcTokenClientTransactorSession) Burn0(from common.Address, amount *big.Int) (*types.Transaction, error)

Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address from, uint256 amount) returns()

func (*MxcTokenClientTransactorSession) BurnFrom

func (_MxcTokenClient *MxcTokenClientTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*MxcTokenClientTransactorSession) DecreaseAllowance

func (_MxcTokenClient *MxcTokenClientTransactorSession) 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 (*MxcTokenClientTransactorSession) Delegate

func (_MxcTokenClient *MxcTokenClientTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*MxcTokenClientTransactorSession) DelegateBySig

func (_MxcTokenClient *MxcTokenClientTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientTransactorSession) Exchange

func (_MxcTokenClient *MxcTokenClientTransactorSession) Exchange(to common.Address, amount *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x045d0389.

Solidity: function exchange(address to, uint256 amount) returns()

func (*MxcTokenClientTransactorSession) IncreaseAllowance

func (_MxcTokenClient *MxcTokenClientTransactorSession) 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 (*MxcTokenClientTransactorSession) Init

func (_MxcTokenClient *MxcTokenClientTransactorSession) Init(_addressManager common.Address, _name string, _symbol string, _premintRecipients []common.Address, _premintAmounts []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xc3a57123.

Solidity: function init(address _addressManager, string _name, string _symbol, address[] _premintRecipients, uint256[] _premintAmounts) returns()

func (*MxcTokenClientTransactorSession) Mint

func (_MxcTokenClient *MxcTokenClientTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*MxcTokenClientTransactorSession) Pause

func (_MxcTokenClient *MxcTokenClientTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MxcTokenClientTransactorSession) Permit

func (_MxcTokenClient *MxcTokenClientTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*MxcTokenClientTransactorSession) RenounceOwnership

func (_MxcTokenClient *MxcTokenClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MxcTokenClientTransactorSession) SetAddressManager

func (_MxcTokenClient *MxcTokenClientTransactorSession) SetAddressManager(newAddressManager common.Address) (*types.Transaction, error)

SetAddressManager is a paid mutator transaction binding the contract method 0x0652b57a.

Solidity: function setAddressManager(address newAddressManager) returns()

func (*MxcTokenClientTransactorSession) SetMxcToken

func (_MxcTokenClient *MxcTokenClientTransactorSession) SetMxcToken(oldMxcToken_ common.Address) (*types.Transaction, error)

SetMxcToken is a paid mutator transaction binding the contract method 0x59e302f8.

Solidity: function setMxcToken(address oldMxcToken_) returns()

func (*MxcTokenClientTransactorSession) Snapshot

func (_MxcTokenClient *MxcTokenClientTransactorSession) Snapshot() (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x9711715a.

Solidity: function snapshot() returns()

func (*MxcTokenClientTransactorSession) SyncL2Burn

func (_MxcTokenClient *MxcTokenClientTransactorSession) SyncL2Burn(amount *big.Int) (*types.Transaction, error)

SyncL2Burn is a paid mutator transaction binding the contract method 0x62451ba2.

Solidity: function syncL2Burn(uint256 amount) returns()

func (*MxcTokenClientTransactorSession) Transfer

func (_MxcTokenClient *MxcTokenClientTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*MxcTokenClientTransactorSession) TransferFrom

func (_MxcTokenClient *MxcTokenClientTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*MxcTokenClientTransactorSession) TransferOwnership

func (_MxcTokenClient *MxcTokenClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MxcTokenClientTransactorSession) Unpause

func (_MxcTokenClient *MxcTokenClientTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MxcTokenClientTransfer

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

MxcTokenClientTransfer represents a Transfer event raised by the MxcTokenClient contract.

type MxcTokenClientTransferIterator

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

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

func (*MxcTokenClientTransferIterator) Close

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

func (*MxcTokenClientTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientTransferIterator) 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 MxcTokenClientUnpaused

type MxcTokenClientUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MxcTokenClientUnpaused represents a Unpaused event raised by the MxcTokenClient contract.

type MxcTokenClientUnpausedIterator

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

MxcTokenClientUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the MxcTokenClient contract.

func (*MxcTokenClientUnpausedIterator) Close

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

func (*MxcTokenClientUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MxcTokenClientUnpausedIterator) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL