bindings

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaikoL1ClientABI = TaikoL1ClientMetaData.ABI

TaikoL1ClientABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL1ClientMetaData.ABI instead.

View Source
var TaikoL1ClientMetaData = &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\":[{\"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_INVALID_CONFIG\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_CONFIG\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_ETH_DEPOSIT\",\"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_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\"},{\"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\":\"structTaikoData.EthDeposit[]\",\"name\":\"depositsProcessed\",\"type\":\"tuple[]\"}],\"indexed\":false,\"internalType\":\"structTaikoData.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\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"reward\",\"type\":\"uint64\"}],\"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\":\"structTaikoData.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\":\"depositTaikoToken\",\"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\":\"structTaikoData.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\":\"structTaikoData.ForkChoice\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"proofTime\",\"type\":\"uint64\"}],\"name\":\"getProofReward\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"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\":\"structTaikoData.StateVariables\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getTaikoTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"structTaikoData.EthDeposit[]\",\"name\":\"depositsProcessed\",\"type\":\"tuple[]\"}],\"internalType\":\"structTaikoData.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\":\"__reserved71\",\"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\":\"withdrawTaikoToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

TaikoL1ClientMetaData contains all meta data concerning the TaikoL1Client contract.

View Source
var TaikoL2ClientABI = TaikoL2ClientMetaData.ABI

TaikoL2ClientABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL2ClientMetaData.ABI instead.

View Source
var TaikoL2ClientMetaData = &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\":\"structTaikoL2.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\":\"structTaikoL2.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\"}]",
}

TaikoL2ClientMetaData contains all meta data concerning the TaikoL2Client contract.

Functions

This section is empty.

Types

type TaikoDataBlockMetadata added in v0.2.2

type TaikoDataBlockMetadata 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 []TaikoDataEthDeposit
}

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

type TaikoDataConfig added in v0.2.2

type TaikoDataConfig 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
}

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

type TaikoDataEthDeposit added in v0.7.0

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

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

type TaikoDataForkChoice added in v0.2.4

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

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

type TaikoDataStateVariables added in v0.7.0

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

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

type TaikoL1Client

type TaikoL1Client struct {
	TaikoL1ClientCaller     // Read-only binding to the contract
	TaikoL1ClientTransactor // Write-only binding to the contract
	TaikoL1ClientFilterer   // Log filterer for contract events
}

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

func NewTaikoL1Client

func NewTaikoL1Client(address common.Address, backend bind.ContractBackend) (*TaikoL1Client, error)

NewTaikoL1Client creates a new instance of TaikoL1Client, bound to a specific deployed contract.

type TaikoL1ClientAddressManagerChanged added in v0.9.0

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

TaikoL1ClientAddressManagerChanged represents a AddressManagerChanged event raised by the TaikoL1Client contract.

type TaikoL1ClientAddressManagerChangedIterator added in v0.9.0

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

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

func (*TaikoL1ClientAddressManagerChangedIterator) Close added in v0.9.0

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

func (*TaikoL1ClientAddressManagerChangedIterator) Error added in v0.9.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientAddressManagerChangedIterator) Next added in v0.9.0

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 TaikoL1ClientBlockProposed

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

TaikoL1ClientBlockProposed represents a BlockProposed event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockProposedIterator

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

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

func (*TaikoL1ClientBlockProposedIterator) Close

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

func (*TaikoL1ClientBlockProposedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockProposedIterator) 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 TaikoL1ClientBlockProven

type TaikoL1ClientBlockProven 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
}

TaikoL1ClientBlockProven represents a BlockProven event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockProvenIterator

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

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

func (*TaikoL1ClientBlockProvenIterator) Close

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

func (*TaikoL1ClientBlockProvenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockProvenIterator) 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 TaikoL1ClientBlockVerified

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

TaikoL1ClientBlockVerified represents a BlockVerified event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockVerifiedIterator

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

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

func (*TaikoL1ClientBlockVerifiedIterator) Close

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

func (*TaikoL1ClientBlockVerifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockVerifiedIterator) 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 TaikoL1ClientCaller

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

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

func NewTaikoL1ClientCaller

func NewTaikoL1ClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoL1ClientCaller, error)

NewTaikoL1ClientCaller creates a new read-only instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientCaller) AddressManager

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) GetBlock added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) GetBlockFee added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) GetConfig added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCaller) GetConfig(opts *bind.CallOpts) (TaikoDataConfig, 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 (*TaikoL1ClientCaller) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) GetForkChoice added in v0.2.4

func (_TaikoL1Client *TaikoL1ClientCaller) GetForkChoice(opts *bind.CallOpts, blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (TaikoDataForkChoice, 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 (*TaikoL1ClientCaller) GetProofReward added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCaller) GetProofReward(opts *bind.CallOpts, proofTime uint64) (uint64, error)

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

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

func (*TaikoL1ClientCaller) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientCaller) GetStateVariables(opts *bind.CallOpts) (TaikoDataStateVariables, 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 (*TaikoL1ClientCaller) GetTaikoTokenBalance added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCaller) GetTaikoTokenBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

GetTaikoTokenBalance is a free data retrieval call binding the contract method 0x8dff9cea.

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

func (*TaikoL1ClientCaller) GetVerifierName added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) Owner

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) Resolve

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) Resolve0

func (_TaikoL1Client *TaikoL1ClientCaller) 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 (*TaikoL1ClientCaller) State

func (_TaikoL1Client *TaikoL1ClientCaller) State(opts *bind.CallOpts) (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	Reserved71              *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 __reserved71, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

type TaikoL1ClientCallerRaw

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

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

func (*TaikoL1ClientCallerRaw) Call

func (_TaikoL1Client *TaikoL1ClientCallerRaw) 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 TaikoL1ClientCallerSession

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

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

func (*TaikoL1ClientCallerSession) AddressManager

func (_TaikoL1Client *TaikoL1ClientCallerSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL1ClientCallerSession) GetBlock added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) GetBlockFee added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetBlockFee() (uint64, error)

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

Solidity: function getBlockFee() view returns(uint64)

func (*TaikoL1ClientCallerSession) GetConfig added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetConfig() (TaikoDataConfig, 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 (*TaikoL1ClientCallerSession) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) GetForkChoice added in v0.2.4

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetForkChoice(blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (TaikoDataForkChoice, 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 (*TaikoL1ClientCallerSession) GetProofReward added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProofReward(proofTime uint64) (uint64, error)

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

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

func (*TaikoL1ClientCallerSession) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetStateVariables() (TaikoDataStateVariables, 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 (*TaikoL1ClientCallerSession) GetTaikoTokenBalance added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetTaikoTokenBalance(addr common.Address) (*big.Int, error)

GetTaikoTokenBalance is a free data retrieval call binding the contract method 0x8dff9cea.

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

func (*TaikoL1ClientCallerSession) GetVerifierName added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) Owner

func (_TaikoL1Client *TaikoL1ClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL1ClientCallerSession) Resolve

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) Resolve0

func (_TaikoL1Client *TaikoL1ClientCallerSession) 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 (*TaikoL1ClientCallerSession) State

func (_TaikoL1Client *TaikoL1ClientCallerSession) State() (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	Reserved71              *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 __reserved71, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

type TaikoL1ClientCrossChainSynced added in v0.8.0

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

TaikoL1ClientCrossChainSynced represents a CrossChainSynced event raised by the TaikoL1Client contract.

type TaikoL1ClientCrossChainSyncedIterator added in v0.8.0

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

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

func (*TaikoL1ClientCrossChainSyncedIterator) Close added in v0.8.0

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

func (*TaikoL1ClientCrossChainSyncedIterator) Error added in v0.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientCrossChainSyncedIterator) Next added in v0.8.0

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

type TaikoL1ClientEthDeposited struct {
	Deposit TaikoDataEthDeposit
	Raw     types.Log // Blockchain specific contextual infos
}

TaikoL1ClientEthDeposited represents a EthDeposited event raised by the TaikoL1Client contract.

type TaikoL1ClientEthDepositedIterator added in v0.7.0

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

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

func (*TaikoL1ClientEthDepositedIterator) Close added in v0.7.0

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

func (*TaikoL1ClientEthDepositedIterator) Error added in v0.7.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientEthDepositedIterator) Next added in v0.7.0

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 TaikoL1ClientFilterer

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

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

func NewTaikoL1ClientFilterer

func NewTaikoL1ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoL1ClientFilterer, error)

NewTaikoL1ClientFilterer creates a new log filterer instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientFilterer) FilterAddressManagerChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterAddressManagerChanged(opts *bind.FilterOpts) (*TaikoL1ClientAddressManagerChangedIterator, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL1ClientFilterer) FilterBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProposed(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProposedIterator, error)

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

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

func (*TaikoL1ClientFilterer) FilterBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProven(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProvenIterator, 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 (*TaikoL1ClientFilterer) FilterBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockVerified(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockVerifiedIterator, error)

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

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

func (*TaikoL1ClientFilterer) FilterCrossChainSynced added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterCrossChainSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL1ClientCrossChainSyncedIterator, error)

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

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

func (*TaikoL1ClientFilterer) FilterEthDeposited added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterEthDeposited(opts *bind.FilterOpts) (*TaikoL1ClientEthDepositedIterator, error)

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

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

func (*TaikoL1ClientFilterer) FilterInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoL1ClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) FilterOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoL1ClientOwnershipTransferredIterator, error)

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

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

func (*TaikoL1ClientFilterer) FilterProofParamsChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterProofParamsChanged(opts *bind.FilterOpts) (*TaikoL1ClientProofParamsChangedIterator, 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 (*TaikoL1ClientFilterer) ParseAddressManagerChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseAddressManagerChanged(log types.Log) (*TaikoL1ClientAddressManagerChanged, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL1ClientFilterer) ParseBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProposed(log types.Log) (*TaikoL1ClientBlockProposed, error)

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

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

func (*TaikoL1ClientFilterer) ParseBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProven(log types.Log) (*TaikoL1ClientBlockProven, 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 (*TaikoL1ClientFilterer) ParseBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockVerified(log types.Log) (*TaikoL1ClientBlockVerified, error)

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

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

func (*TaikoL1ClientFilterer) ParseCrossChainSynced added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseCrossChainSynced(log types.Log) (*TaikoL1ClientCrossChainSynced, error)

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

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

func (*TaikoL1ClientFilterer) ParseEthDeposited added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseEthDeposited(log types.Log) (*TaikoL1ClientEthDeposited, error)

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

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

func (*TaikoL1ClientFilterer) ParseInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseInitialized(log types.Log) (*TaikoL1ClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) ParseOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoL1ClientOwnershipTransferred, error)

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

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

func (*TaikoL1ClientFilterer) ParseProofParamsChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseProofParamsChanged(log types.Log) (*TaikoL1ClientProofParamsChanged, error)

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

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

func (*TaikoL1ClientFilterer) WatchAddressManagerChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchAddressManagerChanged(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientAddressManagerChanged) (event.Subscription, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL1ClientFilterer) WatchBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProposed(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProposed, id []*big.Int) (event.Subscription, error)

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

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

func (*TaikoL1ClientFilterer) WatchBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProven(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProven, 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 (*TaikoL1ClientFilterer) WatchBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockVerified(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockVerified, id []*big.Int) (event.Subscription, error)

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

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

func (*TaikoL1ClientFilterer) WatchCrossChainSynced added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchCrossChainSynced(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientCrossChainSynced, 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 (*TaikoL1ClientFilterer) WatchEthDeposited added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchEthDeposited(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientEthDeposited) (event.Subscription, error)

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

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

func (*TaikoL1ClientFilterer) WatchInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) WatchOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientOwnershipTransferred, 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 (*TaikoL1ClientFilterer) WatchProofParamsChanged added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchProofParamsChanged(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientProofParamsChanged) (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 TaikoL1ClientInitialized

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

TaikoL1ClientInitialized represents a Initialized event raised by the TaikoL1Client contract.

type TaikoL1ClientInitializedIterator

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

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

func (*TaikoL1ClientInitializedIterator) Close

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

func (*TaikoL1ClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientInitializedIterator) 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 TaikoL1ClientOwnershipTransferred

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

TaikoL1ClientOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoL1Client contract.

type TaikoL1ClientOwnershipTransferredIterator

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

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

func (*TaikoL1ClientOwnershipTransferredIterator) Close

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

func (*TaikoL1ClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientOwnershipTransferredIterator) 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 TaikoL1ClientProofParamsChanged added in v0.9.0

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

TaikoL1ClientProofParamsChanged represents a ProofParamsChanged event raised by the TaikoL1Client contract.

type TaikoL1ClientProofParamsChangedIterator added in v0.9.0

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

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

func (*TaikoL1ClientProofParamsChangedIterator) Close added in v0.9.0

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

func (*TaikoL1ClientProofParamsChangedIterator) Error added in v0.9.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientProofParamsChangedIterator) Next added in v0.9.0

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 TaikoL1ClientRaw

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

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

func (*TaikoL1ClientRaw) Call

func (_TaikoL1Client *TaikoL1ClientRaw) 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 (*TaikoL1ClientRaw) Transact

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

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

func (*TaikoL1ClientRaw) Transfer

func (_TaikoL1Client *TaikoL1ClientRaw) 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 TaikoL1ClientSession

type TaikoL1ClientSession struct {
	Contract     *TaikoL1Client    // 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
}

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

func (*TaikoL1ClientSession) AddressManager

func (_TaikoL1Client *TaikoL1ClientSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL1ClientSession) DepositEtherToL2 added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) DepositEtherToL2() (*types.Transaction, error)

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

Solidity: function depositEtherToL2() payable returns()

func (*TaikoL1ClientSession) DepositTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) DepositTaikoToken(amount *big.Int) (*types.Transaction, error)

DepositTaikoToken is a paid mutator transaction binding the contract method 0x98f39aba.

Solidity: function depositTaikoToken(uint256 amount) returns()

func (*TaikoL1ClientSession) GetBlock added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) GetBlockFee added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientSession) GetBlockFee() (uint64, error)

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

Solidity: function getBlockFee() view returns(uint64)

func (*TaikoL1ClientSession) GetConfig added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientSession) GetConfig() (TaikoDataConfig, 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 (*TaikoL1ClientSession) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) GetForkChoice added in v0.2.4

func (_TaikoL1Client *TaikoL1ClientSession) GetForkChoice(blockId *big.Int, parentHash [32]byte, parentGasUsed uint32) (TaikoDataForkChoice, 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 (*TaikoL1ClientSession) GetProofReward added in v0.2.2

func (_TaikoL1Client *TaikoL1ClientSession) GetProofReward(proofTime uint64) (uint64, error)

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

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

func (*TaikoL1ClientSession) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientSession) GetStateVariables() (TaikoDataStateVariables, 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 (*TaikoL1ClientSession) GetTaikoTokenBalance added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) GetTaikoTokenBalance(addr common.Address) (*big.Int, error)

GetTaikoTokenBalance is a free data retrieval call binding the contract method 0x8dff9cea.

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

func (*TaikoL1ClientSession) GetVerifierName added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) Init

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) Owner

func (_TaikoL1Client *TaikoL1ClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL1ClientSession) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientSession) 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)[]) meta)

func (*TaikoL1ClientSession) ProveBlock

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) Receive added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*TaikoL1ClientSession) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientSession) Resolve

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) Resolve0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) SetAddressManager added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) SetProofParams added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) State

func (_TaikoL1Client *TaikoL1ClientSession) State() (struct {
	GenesisHeight           uint64
	GenesisTimestamp        uint64
	AdjustmentQuotient      uint16
	Reserved71              *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 __reserved71, uint64 __reserved72, uint64 accProposedAt, uint64 accBlockFees, uint64 numBlocks, uint64 nextEthDepositToProcess, uint64 blockFee, uint64 proofTimeIssued, uint64 lastVerifiedBlockId, uint64 proofTimeTarget)

func (*TaikoL1ClientSession) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientSession) 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 (*TaikoL1ClientSession) WithdrawTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientSession) WithdrawTaikoToken(amount *big.Int) (*types.Transaction, error)

WithdrawTaikoToken is a paid mutator transaction binding the contract method 0x5043f059.

Solidity: function withdrawTaikoToken(uint256 amount) returns()

type TaikoL1ClientTransactor

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

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

func NewTaikoL1ClientTransactor

func NewTaikoL1ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoL1ClientTransactor, error)

NewTaikoL1ClientTransactor creates a new write-only instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientTransactor) DepositEtherToL2 added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactor) DepositEtherToL2(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function depositEtherToL2() payable returns()

func (*TaikoL1ClientTransactor) DepositTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactor) DepositTaikoToken(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

DepositTaikoToken is a paid mutator transaction binding the contract method 0x98f39aba.

Solidity: function depositTaikoToken(uint256 amount) returns()

func (*TaikoL1ClientTransactor) Init

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientTransactor) 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)[]) meta)

func (*TaikoL1ClientTransactor) ProveBlock

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) Receive added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*TaikoL1ClientTransactor) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientTransactor) SetAddressManager added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) SetProofParams added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientTransactor) 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 (*TaikoL1ClientTransactor) WithdrawTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactor) WithdrawTaikoToken(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

WithdrawTaikoToken is a paid mutator transaction binding the contract method 0x5043f059.

Solidity: function withdrawTaikoToken(uint256 amount) returns()

type TaikoL1ClientTransactorRaw

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

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

func (*TaikoL1ClientTransactorRaw) Transact

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

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

func (*TaikoL1ClientTransactorRaw) Transfer

func (_TaikoL1Client *TaikoL1ClientTransactorRaw) 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 TaikoL1ClientTransactorSession

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

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

func (*TaikoL1ClientTransactorSession) DepositEtherToL2 added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) DepositEtherToL2() (*types.Transaction, error)

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

Solidity: function depositEtherToL2() payable returns()

func (*TaikoL1ClientTransactorSession) DepositTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) DepositTaikoToken(amount *big.Int) (*types.Transaction, error)

DepositTaikoToken is a paid mutator transaction binding the contract method 0x98f39aba.

Solidity: function depositTaikoToken(uint256 amount) returns()

func (*TaikoL1ClientTransactorSession) Init

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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)[]) meta)

func (*TaikoL1ClientTransactorSession) ProveBlock

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) Receive added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*TaikoL1ClientTransactorSession) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientTransactorSession) SetAddressManager added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) SetProofParams added in v0.9.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientTransactorSession) 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 (*TaikoL1ClientTransactorSession) WithdrawTaikoToken added in v0.7.0

func (_TaikoL1Client *TaikoL1ClientTransactorSession) WithdrawTaikoToken(amount *big.Int) (*types.Transaction, error)

WithdrawTaikoToken is a paid mutator transaction binding the contract method 0x5043f059.

Solidity: function withdrawTaikoToken(uint256 amount) returns()

type TaikoL2Client added in v0.1.7

type TaikoL2Client struct {
	TaikoL2ClientCaller     // Read-only binding to the contract
	TaikoL2ClientTransactor // Write-only binding to the contract
	TaikoL2ClientFilterer   // Log filterer for contract events
}

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

func NewTaikoL2Client added in v0.1.7

func NewTaikoL2Client(address common.Address, backend bind.ContractBackend) (*TaikoL2Client, error)

NewTaikoL2Client creates a new instance of TaikoL2Client, bound to a specific deployed contract.

type TaikoL2ClientAddressManagerChanged added in v0.9.0

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

TaikoL2ClientAddressManagerChanged represents a AddressManagerChanged event raised by the TaikoL2Client contract.

type TaikoL2ClientAddressManagerChangedIterator added in v0.9.0

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

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

func (*TaikoL2ClientAddressManagerChangedIterator) Close added in v0.9.0

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

func (*TaikoL2ClientAddressManagerChangedIterator) Error added in v0.9.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2ClientAddressManagerChangedIterator) Next added in v0.9.0

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

type TaikoL2ClientAnchored 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
}

TaikoL2ClientAnchored represents a Anchored event raised by the TaikoL2Client contract.

type TaikoL2ClientAnchoredIterator added in v0.7.0

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

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

func (*TaikoL2ClientAnchoredIterator) Close added in v0.7.0

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

func (*TaikoL2ClientAnchoredIterator) Error added in v0.7.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2ClientAnchoredIterator) Next added in v0.7.0

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

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

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

func NewTaikoL2ClientCaller added in v0.1.7

func NewTaikoL2ClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoL2ClientCaller, error)

NewTaikoL2ClientCaller creates a new read-only instance of TaikoL2Client, bound to a specific deployed contract.

func (*TaikoL2ClientCaller) AddressManager added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GOLDENTOUCHADDRESS added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GOLDENTOUCHPRIVATEKEY added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GasExcess added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetBasefee added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetBlockHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetEIP1559Config added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientCaller) GetEIP1559Config(opts *bind.CallOpts) (TaikoL2EIP1559Config, error)

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

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

func (*TaikoL2ClientCaller) LatestSyncedL1Height added in v0.2.4

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) Owner added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) ParentTimestamp added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) PublicInputHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) Resolve added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) Resolve0 added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) SignAnchor added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCaller) 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 TaikoL2ClientCallerRaw added in v0.1.7

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

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

func (*TaikoL2ClientCallerRaw) Call added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerRaw) 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 TaikoL2ClientCallerSession added in v0.1.7

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

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

func (*TaikoL2ClientCallerSession) AddressManager added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL2ClientCallerSession) GOLDENTOUCHADDRESS added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GOLDENTOUCHPRIVATEKEY added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GasExcess added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) GasExcess() (uint64, error)

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

Solidity: function gasExcess() view returns(uint64)

func (*TaikoL2ClientCallerSession) GetBasefee added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GetBlockHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GetEIP1559Config added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) GetEIP1559Config() (TaikoL2EIP1559Config, error)

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

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

func (*TaikoL2ClientCallerSession) LatestSyncedL1Height added in v0.2.4

func (_TaikoL2Client *TaikoL2ClientCallerSession) LatestSyncedL1Height() (uint64, error)

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

Solidity: function latestSyncedL1Height() view returns(uint64)

func (*TaikoL2ClientCallerSession) Owner added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL2ClientCallerSession) ParentTimestamp added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) ParentTimestamp() (uint64, error)

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

Solidity: function parentTimestamp() view returns(uint64)

func (*TaikoL2ClientCallerSession) PublicInputHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerSession) PublicInputHash() ([32]byte, error)

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

Solidity: function publicInputHash() view returns(bytes32)

func (*TaikoL2ClientCallerSession) Resolve added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) Resolve0 added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) SignAnchor added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 TaikoL2ClientCrossChainSynced added in v0.8.0

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

TaikoL2ClientCrossChainSynced represents a CrossChainSynced event raised by the TaikoL2Client contract.

type TaikoL2ClientCrossChainSyncedIterator added in v0.8.0

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

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

func (*TaikoL2ClientCrossChainSyncedIterator) Close added in v0.8.0

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

func (*TaikoL2ClientCrossChainSyncedIterator) Error added in v0.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2ClientCrossChainSyncedIterator) Next added in v0.8.0

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

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

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

func NewTaikoL2ClientFilterer added in v0.1.7

func NewTaikoL2ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoL2ClientFilterer, error)

NewTaikoL2ClientFilterer creates a new log filterer instance of TaikoL2Client, bound to a specific deployed contract.

func (*TaikoL2ClientFilterer) FilterAddressManagerChanged added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientFilterer) FilterAddressManagerChanged(opts *bind.FilterOpts) (*TaikoL2ClientAddressManagerChangedIterator, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL2ClientFilterer) FilterAnchored added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) FilterAnchored(opts *bind.FilterOpts) (*TaikoL2ClientAnchoredIterator, 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 (*TaikoL2ClientFilterer) FilterCrossChainSynced added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientFilterer) FilterCrossChainSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL2ClientCrossChainSyncedIterator, error)

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

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

func (*TaikoL2ClientFilterer) FilterInitialized added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoL2ClientInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2ClientFilterer) FilterOwnershipTransferred added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoL2ClientOwnershipTransferredIterator, error)

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

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

func (*TaikoL2ClientFilterer) ParseAddressManagerChanged added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientFilterer) ParseAddressManagerChanged(log types.Log) (*TaikoL2ClientAddressManagerChanged, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL2ClientFilterer) ParseAnchored added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) ParseAnchored(log types.Log) (*TaikoL2ClientAnchored, 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 (*TaikoL2ClientFilterer) ParseCrossChainSynced added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientFilterer) ParseCrossChainSynced(log types.Log) (*TaikoL2ClientCrossChainSynced, error)

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

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

func (*TaikoL2ClientFilterer) ParseInitialized added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) ParseInitialized(log types.Log) (*TaikoL2ClientInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2ClientFilterer) ParseOwnershipTransferred added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoL2ClientOwnershipTransferred, error)

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

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

func (*TaikoL2ClientFilterer) WatchAddressManagerChanged added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientFilterer) WatchAddressManagerChanged(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientAddressManagerChanged) (event.Subscription, error)

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

Solidity: event AddressManagerChanged(address addressManager)

func (*TaikoL2ClientFilterer) WatchAnchored added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) WatchAnchored(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientAnchored) (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 (*TaikoL2ClientFilterer) WatchCrossChainSynced added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientFilterer) WatchCrossChainSynced(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientCrossChainSynced, 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 (*TaikoL2ClientFilterer) WatchInitialized added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2ClientFilterer) WatchOwnershipTransferred added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientOwnershipTransferred, 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 TaikoL2ClientInitialized added in v0.7.0

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

TaikoL2ClientInitialized represents a Initialized event raised by the TaikoL2Client contract.

type TaikoL2ClientInitializedIterator added in v0.7.0

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

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

func (*TaikoL2ClientInitializedIterator) Close added in v0.7.0

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

func (*TaikoL2ClientInitializedIterator) Error added in v0.7.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2ClientInitializedIterator) Next added in v0.7.0

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

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

TaikoL2ClientOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoL2Client contract.

type TaikoL2ClientOwnershipTransferredIterator added in v0.7.0

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

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

func (*TaikoL2ClientOwnershipTransferredIterator) Close added in v0.7.0

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

func (*TaikoL2ClientOwnershipTransferredIterator) Error added in v0.7.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2ClientOwnershipTransferredIterator) Next added in v0.7.0

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

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

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

func (*TaikoL2ClientRaw) Call added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientRaw) 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 (*TaikoL2ClientRaw) Transact added in v0.1.7

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

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

func (*TaikoL2ClientRaw) Transfer added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientRaw) 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 TaikoL2ClientSession added in v0.1.7

type TaikoL2ClientSession struct {
	Contract     *TaikoL2Client    // 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
}

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

func (*TaikoL2ClientSession) AddressManager added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL2ClientSession) Anchor added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GOLDENTOUCHADDRESS added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GOLDENTOUCHPRIVATEKEY added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GasExcess added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) GasExcess() (uint64, error)

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

Solidity: function gasExcess() view returns(uint64)

func (*TaikoL2ClientSession) GetBasefee added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetBlockHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetCrossChainBlockHash added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetCrossChainSignalRoot added in v0.8.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetEIP1559Config added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientSession) GetEIP1559Config() (TaikoL2EIP1559Config, error)

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

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

func (*TaikoL2ClientSession) Init added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) Init(_addressManager common.Address, _param1559 TaikoL2EIP1559Params) (*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 (*TaikoL2ClientSession) LatestSyncedL1Height added in v0.2.4

func (_TaikoL2Client *TaikoL2ClientSession) LatestSyncedL1Height() (uint64, error)

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

Solidity: function latestSyncedL1Height() view returns(uint64)

func (*TaikoL2ClientSession) Owner added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL2ClientSession) ParentTimestamp added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) ParentTimestamp() (uint64, error)

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

Solidity: function parentTimestamp() view returns(uint64)

func (*TaikoL2ClientSession) PublicInputHash added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) PublicInputHash() ([32]byte, error)

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

Solidity: function publicInputHash() view returns(bytes32)

func (*TaikoL2ClientSession) RenounceOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2ClientSession) Resolve added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) Resolve0 added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) SetAddressManager added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) SignAnchor added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) TransferOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientSession) 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 TaikoL2ClientTransactor added in v0.1.7

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

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

func NewTaikoL2ClientTransactor added in v0.1.7

func NewTaikoL2ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoL2ClientTransactor, error)

NewTaikoL2ClientTransactor creates a new write-only instance of TaikoL2Client, bound to a specific deployed contract.

func (*TaikoL2ClientTransactor) Anchor added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientTransactor) 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 (*TaikoL2ClientTransactor) Init added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _param1559 TaikoL2EIP1559Params) (*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 (*TaikoL2ClientTransactor) RenounceOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2ClientTransactor) SetAddressManager added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientTransactor) 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 (*TaikoL2ClientTransactor) TransferOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactor) 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 TaikoL2ClientTransactorRaw added in v0.1.7

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

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

func (*TaikoL2ClientTransactorRaw) Transact added in v0.1.7

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

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

func (*TaikoL2ClientTransactorRaw) Transfer added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientTransactorRaw) 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 TaikoL2ClientTransactorSession added in v0.1.7

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

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

func (*TaikoL2ClientTransactorSession) Anchor added in v0.1.7

func (_TaikoL2Client *TaikoL2ClientTransactorSession) 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 (*TaikoL2ClientTransactorSession) Init added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactorSession) Init(_addressManager common.Address, _param1559 TaikoL2EIP1559Params) (*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 (*TaikoL2ClientTransactorSession) RenounceOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2ClientTransactorSession) SetAddressManager added in v0.9.0

func (_TaikoL2Client *TaikoL2ClientTransactorSession) 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 (*TaikoL2ClientTransactorSession) TransferOwnership added in v0.7.0

func (_TaikoL2Client *TaikoL2ClientTransactorSession) 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 TaikoL2EIP1559Config added in v0.9.0

type TaikoL2EIP1559Config struct {
	Yscale             *big.Int
	Xscale             uint64
	GasIssuedPerSecond uint64
}

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

type TaikoL2EIP1559Params added in v0.7.0

type TaikoL2EIP1559Params struct {
	Basefee            uint64
	GasIssuedPerSecond uint64
	GasExcessMax       uint64
	GasTarget          uint64
	Ratio2x1x          uint64
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL