From f453d2836d0538f1732c8cf86ceed8480984f2ec Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 14:01:00 +0900 Subject: [PATCH 01/16] Lint all files --- accounts/abi/bind/backends/simulated_test.go | 23 +- accounts/abi/bind/doc.go | 16 +- accounts/abi/doc.go | 22 +- accounts/abi/pack_test.go | 1 - accounts/doc.go | 15 +- accounts/hd.go | 2 +- accounts/keystore/doc.go | 24 +- accounts/manager.go | 3 +- accounts/url.go | 7 +- api/api_private_account.go | 3 +- api/debug/doc.go | 2 +- api/doc.go | 2 +- blockchain/asm/doc.go | 2 +- blockchain/bloombits/doc.go | 2 +- blockchain/doc.go | 50 +- blockchain/mkalloc.go | 8 +- blockchain/state/doc.go | 5 +- blockchain/types.go | 1 - blockchain/types/account/doc.go | 4 +- .../accountkey/account_key_role_based.go | 4 +- blockchain/types/accountkey/doc.go | 4 +- blockchain/types/doc.go | 4 +- blockchain/vm/runtime/doc.go | 2 +- build/doc.go | 23 +- cmd/homi/common/doc.go | 4 +- cmd/homi/doc.go | 4 +- cmd/homi/docker/compose/doc.go | 4 +- cmd/homi/docker/service/doc.go | 15 +- cmd/homi/extra/doc.go | 10 +- cmd/homi/genesis/doc.go | 8 +- cmd/homi/setup/doc.go | 10 +- cmd/kbn/doc.go | 13 +- cmd/kcn/doc.go | 4 +- cmd/ken/doc.go | 4 +- cmd/kgen/doc.go | 11 +- cmd/kpn/doc.go | 4 +- cmd/kscn/doc.go | 4 +- cmd/ksen/doc.go | 4 +- cmd/kspn/doc.go | 4 +- cmd/utils/doc.go | 22 +- cmd/utils/nodecmd/defaultcmd.go | 4 +- cmd/utils/nodecmd/doc.go | 18 +- common/bitutil/doc.go | 6 +- common/cache.go | 1 - common/doc.go | 2 +- common/hexutil/doc.go | 4 +- common/math/big.go | 8 +- consensus/clique/doc.go | 2 +- consensus/istanbul/backend/doc.go | 13 +- consensus/istanbul/core/doc.go | 30 +- consensus/istanbul/doc.go | 16 +- consensus/istanbul/types.go | 4 +- consensus/istanbul/validator/doc.go | 8 +- .../istanbul/validator/multi_staking_test.go | 9 +- console/doc.go | 8 +- console/jsre/doc.go | 19 +- console/web3ext/doc.go | 2 +- .../libs/kip13/InterfaceIdentifier.go | 2 - .../contracts/service_chain/bridge/Bridge.go | 588 ------------------ .../system_contracts/consensus/consensus.go | 192 +----- .../system_contracts/gov/GovParam.go | 44 -- .../kip113/SimpleBlsRegistry.go | 166 ++--- .../system_contracts/kip149/Registry.go | 46 +- .../contracts/system_contracts/misc/credit.go | 4 - .../contracts/system_contracts/proxy/proxy.go | 22 - .../system_contracts/rebalance/all.go | 190 +----- .../contracts/testing/extbridge/ext_bridge.go | 514 --------------- contracts/contracts/testing/reward/all.go | 84 --- .../contracts/testing/sc_erc20/sc_token.go | 108 ---- .../contracts/testing/sc_erc721/sc_nft.go | 274 -------- .../testing/sc_erc721_no_uri/sc_nft_no_uri.go | 140 ----- .../contracts/testing/system_contracts/all.go | 576 ++++------------- crypto/bn256/doc.go | 10 +- crypto/bn256/google/doc.go | 4 +- crypto/doc.go | 6 +- crypto/ecies/doc.go | 6 +- crypto/secp256k1/doc.go | 10 +- crypto/sha3/doc.go | 12 +- datasync/chaindatafetcher/kafka/consumer.go | 3 +- .../chaindatafetcher/kas/contract_caller.go | 3 +- datasync/downloader/doc.go | 4 +- datasync/downloader/resultstore.go | 9 +- datasync/fetcher/doc.go | 4 +- event/doc.go | 9 +- event/example_scope_test.go | 6 +- event/subscription.go | 3 +- fork/doc.go | 2 +- governance/doc.go | 11 +- kerrors/doc.go | 2 +- log/doc.go | 2 +- log/format.go | 6 +- log/handler.go | 38 +- log/handler_glog.go | 12 +- log/test_util.go | 4 +- networks/grpc/doc.go | 10 +- networks/grpc/klaytn.pb.go | 26 +- networks/p2p/discover/node.go | 14 +- networks/p2p/nat/nat.go | 12 +- networks/p2p/simulations/adapters/types.go | 1 - networks/p2p/simulations/mocker.go | 8 +- networks/p2p/simulations/network.go | 1 - networks/rpc/doc.go | 79 +-- node/cn/protocol.go | 6 +- node/cn/tracers/internal/tracers/assets.go | 12 +- node/doc.go | 41 +- node/node_example_test.go | 8 +- node/sc/bridgepool/doc.go | 2 +- node/sc/doc.go | 4 +- params/denomination.go | 3 +- params/doc.go | 20 +- reward/doc.go | 24 +- rlp/decode.go | 2 +- rlp/doc.go | 45 +- snapshot/generate_test.go | 2 + snapshot/snapshot.go | 8 +- storage/database/doc.go | 2 +- storage/database/dynamodb.go | 5 +- storage/database/dynamodb_test.go | 3 +- storage/database/leveldb_database.go | 15 +- storage/statedb/cache.go | 3 +- storage/statedb/doc.go | 5 +- storage/statedb/print_trie_test.go | 24 +- storage/statedb/proof.go | 20 +- storage/statedb/stacktrie.go | 9 +- tests/addtx_test.go | 4 +- tests/block_test_util.go | 17 +- tests/klay_test.go | 4 +- utils/build/doc.go | 10 +- work/doc.go | 8 +- work/work.go | 6 +- 130 files changed, 783 insertions(+), 3304 deletions(-) diff --git a/accounts/abi/bind/backends/simulated_test.go b/accounts/abi/bind/backends/simulated_test.go index b7fb21c04b..94bdd63096 100644 --- a/accounts/abi/bind/backends/simulated_test.go +++ b/accounts/abi/bind/backends/simulated_test.go @@ -92,17 +92,17 @@ func TestSimulatedBackend(t *testing.T) { var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") -// the following is based on this contract: -// contract T { -// event received(address sender, uint amount, bytes memo); -// event receivedAddr(address sender); +// the following is based on this contract: +// contract T { +// event received(address sender, uint amount, bytes memo); +// event receivedAddr(address sender); // -// function receive(bytes calldata memo) external payable returns (string memory res) { -// emit received(msg.sender, msg.value, memo); -// emit receivedAddr(msg.sender); -// return "hello world"; -// } -// } +// function receive(bytes calldata memo) external payable returns (string memory res) { +// emit received(msg.sender, msg.value, memo); +// emit receivedAddr(msg.sender); +// return "hello world"; +// } +// } const abiJSON = `[ { "constant": false, "inputs": [ { "name": "memo", "type": "bytes" } ], "name": "receive", "outputs": [ { "name": "res", "type": "string" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "sender", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": false, "name": "memo", "type": "bytes" } ], "name": "received", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "sender", "type": "address" } ], "name": "receivedAddr", "type": "event" } ]` const ( @@ -879,7 +879,8 @@ func TestSimulatedBackend_CodeAt(t *testing.T) { } // When receive("X") is called with sender 0x00... and value 1, it produces this tx receipt: -// receipt{status=1 cgas=23949 bloom=00000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000040200000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[log: b6818c8064f645cd82d99b59a1a267d6d61117ef [75fd880d39c1daf53b6547ab6cb59451fc6452d27caa90e5b6649dd8293b9eed] 000000000000000000000000376c47978271565f56deb45495afa69e59c16ab200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000158 9ae378b6d4409eada347a5dc0c180f186cb62dc68fcc0f043425eb917335aa28 0 95d429d309bb9d753954195fe2d69bd140b4ae731b9b5b605c34323de162cf00 0]} +// +// receipt{status=1 cgas=23949 bloom=00000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000040200000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[log: b6818c8064f645cd82d99b59a1a267d6d61117ef [75fd880d39c1daf53b6547ab6cb59451fc6452d27caa90e5b6649dd8293b9eed] 000000000000000000000000376c47978271565f56deb45495afa69e59c16ab200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000158 9ae378b6d4409eada347a5dc0c180f186cb62dc68fcc0f043425eb917335aa28 0 95d429d309bb9d753954195fe2d69bd140b4ae731b9b5b605c34323de162cf00 0]} func TestSimulatedBackend_PendingAndCallContract(t *testing.T) { testAddr := crypto.PubkeyToAddress(testKey.PublicKey) sim := simTestBackend(testAddr) diff --git a/accounts/abi/bind/doc.go b/accounts/abi/bind/doc.go index 8b2690c40c..7dfd65e5cb 100644 --- a/accounts/abi/bind/doc.go +++ b/accounts/abi/bind/doc.go @@ -21,15 +21,15 @@ /* Package bind generates Go bindings for Klaytn contracts. -Source Files +# Source Files Each file provides following features - - auth.go : Provides functions to create transaction signer from a private key or a keystore wallet - - backend.go : Defines various interfaces which work as a backend in deploying / calling a contract and filtering logs - - base.go : Provides functions to deploy a contract, filter / watch logs, invoke a transaction and so on - - bind.go : Provides functions to generate a wrapper around a contract ABI - - template.go : Provides templates to build a binding to use a contract in Go and Java - - topics.go : Provides functions for making and parsing topics - - util.go : Provides utility functions to wait for a transaction to be mined + - auth.go : Provides functions to create transaction signer from a private key or a keystore wallet + - backend.go : Defines various interfaces which work as a backend in deploying / calling a contract and filtering logs + - base.go : Provides functions to deploy a contract, filter / watch logs, invoke a transaction and so on + - bind.go : Provides functions to generate a wrapper around a contract ABI + - template.go : Provides templates to build a binding to use a contract in Go and Java + - topics.go : Provides functions for making and parsing topics + - util.go : Provides utility functions to wait for a transaction to be mined */ package bind diff --git a/accounts/abi/doc.go b/accounts/abi/doc.go index abb0aebeb8..cfb85275fe 100644 --- a/accounts/abi/doc.go +++ b/accounts/abi/doc.go @@ -29,18 +29,18 @@ as unsigned slice to signed slice. Bit size type casting is also handled. ints with a bit size of 32 will be properly cast to int256, etc. -Source Files +# Source Files Each file provides the following features - - abi.go : Provides `ABI` struct which holds information about a contract's context and available invokable methods. It will allow you to type check function calls and packs data accordingly. - - argument.go : Provides `Argument` which holds the name of the argument and the corresponding type. - - error.go : Provides type check functions - - event.go : Provides `Event` struct which is an event potentially triggered by the EVM's LOG mechanism - - method.go : Provides `Method` struct which represents a callable given a `Name` and whether the method is a constant. - - numbers.go : Provides U256 function which converts a big Int into a 256 bit EVM number. - - pack.go : Provides functions which pack bytes slice, element and number - - reflect.go : Provides functions to map an ABI to a struct and detect the type and the kind of a field using reflection - - type.go : Provides `Type` struct which is the reflection of the supported argument type - - unpack.go : Provides functions which read values based on their kind + - abi.go : Provides `ABI` struct which holds information about a contract's context and available invokable methods. It will allow you to type check function calls and packs data accordingly. + - argument.go : Provides `Argument` which holds the name of the argument and the corresponding type. + - error.go : Provides type check functions + - event.go : Provides `Event` struct which is an event potentially triggered by the EVM's LOG mechanism + - method.go : Provides `Method` struct which represents a callable given a `Name` and whether the method is a constant. + - numbers.go : Provides U256 function which converts a big Int into a 256 bit EVM number. + - pack.go : Provides functions which pack bytes slice, element and number + - reflect.go : Provides functions to map an ABI to a struct and detect the type and the kind of a field using reflection + - type.go : Provides `Type` struct which is the reflection of the supported argument type + - unpack.go : Provides functions which read values based on their kind */ package abi diff --git a/accounts/abi/pack_test.go b/accounts/abi/pack_test.go index 3a2b22a87a..60f50fac31 100644 --- a/accounts/abi/pack_test.go +++ b/accounts/abi/pack_test.go @@ -49,7 +49,6 @@ func TestPack(t *testing.T) { } var packed []byte packed, err = inAbi.Pack("method", test.unpacked) - if err != nil { t.Fatalf("test %d (%v) failed: %v", i, test.def, err) } diff --git a/accounts/doc.go b/accounts/doc.go index 05f17a6d72..10ebe630bc 100644 --- a/accounts/doc.go +++ b/accounts/doc.go @@ -22,15 +22,16 @@ Package accounts implements high level Klaytn account management. There are several important data structures and their hierarchy is as below - Manager -> Backend -> Wallet -> Account -Source Files + Manager -> Backend -> Wallet -> Account + +# Source Files Each file provides the following features - - accounts.go : Provides `Account` struct and Wallet/Backend interfaces. `Account` represents a Klaytn account located at a specific location defined by the optional URL field. `Wallet` represents a software or hardware wallet and `Backend` is a wallet provider that may contain a batch of accounts they can sign transactions with - - errors.go : Provides various account related error variables and helper functions - - hd.go : Defines derivation paths for Klaytn and parser function to derive the path from a path string. Klaytn uses 8217 as its coin type - - manager.go : Provides `Manager` which is an overarching account manager that can communicate with various backends for signing transactions - - url.go : Provides `URL` struct which represents the canonical identification URL of a wallet or account + - accounts.go : Provides `Account` struct and Wallet/Backend interfaces. `Account` represents a Klaytn account located at a specific location defined by the optional URL field. `Wallet` represents a software or hardware wallet and `Backend` is a wallet provider that may contain a batch of accounts they can sign transactions with + - errors.go : Provides various account related error variables and helper functions + - hd.go : Defines derivation paths for Klaytn and parser function to derive the path from a path string. Klaytn uses 8217 as its coin type + - manager.go : Provides `Manager` which is an overarching account manager that can communicate with various backends for signing transactions + - url.go : Provides `URL` struct which represents the canonical identification URL of a wallet or account */ package accounts diff --git a/accounts/hd.go b/accounts/hd.go index 83be71a212..5a82797a88 100644 --- a/accounts/hd.go +++ b/accounts/hd.go @@ -49,7 +49,7 @@ var DefaultLedgerBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 // The BIP-32 spec https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki // defines derivation paths to be of the form: // -// m / purpose' / coin_type' / account' / change / address_index +// m / purpose' / coin_type' / account' / change / address_index // // The BIP-44 spec https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki // defines that the `purpose` be 44' (or 0x8000002C) for crypto currencies, and diff --git a/accounts/keystore/doc.go b/accounts/keystore/doc.go index b5b8e8946b..e3b6c0d2ce 100644 --- a/accounts/keystore/doc.go +++ b/accounts/keystore/doc.go @@ -24,19 +24,19 @@ Package keystore implements encrypted storage of secp256k1 private keys. Keys are stored as encrypted JSON files according to the Web3 Secret Storage specification. See https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition for more information. -Source Files +# Source Files Each file contains following contents - - account_cache.go : Provides `accountCache` which contains a live index of all accounts in keystore folder - - file_cache.go : Provides `fileCache` which contains information of all files in keystore folder - - key.go : Defines `KeyV3` struct, `keyStore` interface and related functions - - keyv4.go : Defines `KeyV4` struct. - - keystore.go : Defines `KeyStore` which manages a key storage directory on disk and related functions - - keystore_passphrase.go: Provides functions to encrypt and decrypt `Key` with a passphrase - - keystore_plain.go : Deprecated - - keystore_wallet.go : Defines `keystoreWallet` struct which implements accounts.Wallet interface. Wallet represents a software or hardware wallet that might contain one or more accounts - - presale.go : Deprecated - - watch.go : Provides a watcher which monitors any changes on the keystore folder - - watch_fallback.go : Provides an empty watcher for unsupported platforms + - account_cache.go : Provides `accountCache` which contains a live index of all accounts in keystore folder + - file_cache.go : Provides `fileCache` which contains information of all files in keystore folder + - key.go : Defines `KeyV3` struct, `keyStore` interface and related functions + - keyv4.go : Defines `KeyV4` struct. + - keystore.go : Defines `KeyStore` which manages a key storage directory on disk and related functions + - keystore_passphrase.go: Provides functions to encrypt and decrypt `Key` with a passphrase + - keystore_plain.go : Deprecated + - keystore_wallet.go : Defines `keystoreWallet` struct which implements accounts.Wallet interface. Wallet represents a software or hardware wallet that might contain one or more accounts + - presale.go : Deprecated + - watch.go : Provides a watcher which monitors any changes on the keystore folder + - watch_fallback.go : Provides an empty watcher for unsupported platforms */ package keystore diff --git a/accounts/manager.go b/accounts/manager.go index b4a40462a1..fd0f4567b2 100644 --- a/accounts/manager.go +++ b/accounts/manager.go @@ -42,8 +42,9 @@ type Manager struct { lock sync.RWMutex } -//go:generate mockgen -destination=accounts/mocks/account_manager_mock.go github.com/klaytn/klaytn/accounts AccountManager // AccountManager is an interface of accounts.Manager struct. +// +//go:generate mockgen -destination=accounts/mocks/account_manager_mock.go github.com/klaytn/klaytn/accounts AccountManager type AccountManager interface { Wallet(url string) (Wallet, error) Wallets() []Wallet diff --git a/accounts/url.go b/accounts/url.go index 68659f6fd5..d4cca88293 100644 --- a/accounts/url.go +++ b/accounts/url.go @@ -96,10 +96,9 @@ func (u *URL) UnmarshalJSON(input []byte) error { // Cmp compares x and y and returns: // -// -1 if x < y -// 0 if x == y -// +1 if x > y -// +// -1 if x < y +// 0 if x == y +// +1 if x > y func (u URL) Cmp(url URL) int { if u.Scheme == url.Scheme { return strings.Compare(u.Path, url.Path) diff --git a/api/api_private_account.go b/api/api_private_account.go index cc43f4e016..f82e2b21e4 100644 --- a/api/api_private_account.go +++ b/api/api_private_account.go @@ -407,7 +407,8 @@ func (s *PrivateAccountAPI) SignTransactionAsFeePayer(ctx context.Context, args // safely used to calculate a signature from. // // The hash is calulcated as -// keccak256("\x19Klaytn Signed Message:\n"${message length}${message}). +// +// keccak256("\x19Klaytn Signed Message:\n"${message length}${message}). // // This gives context to the signed message and prevents signing of transactions. func signHash(data []byte) []byte { diff --git a/api/debug/doc.go b/api/debug/doc.go index ee30e2eb33..3c57d92ec4 100644 --- a/api/debug/doc.go +++ b/api/debug/doc.go @@ -21,7 +21,7 @@ /* Package debug provides interfaces for Go runtime debugging facilities. -Overview of debug package +# Overview of debug package This package is mostly glue code making these facilities available through the CLI and RPC subsystem. If you want to use them from Go code, use package runtime instead. diff --git a/api/doc.go b/api/doc.go index fa74c1233e..a2379adddf 100644 --- a/api/doc.go +++ b/api/doc.go @@ -21,7 +21,7 @@ /* Package api implements the general Klaytn API functions. -Overview of api package +# Overview of api package This package provides various APIs to access the data of the Klaytn node. Remote users can interact with Klyatn by calling these APIs instead of IPC. diff --git a/blockchain/asm/doc.go b/blockchain/asm/doc.go index 06681c9e86..1f2ee5e094 100644 --- a/blockchain/asm/doc.go +++ b/blockchain/asm/doc.go @@ -21,7 +21,7 @@ /* Package asm provides support for dealing with EVM assembly instructions (e.g., disassembling them). -Source Files +# Source Files Each file provides the following features. - asm.go: provides instruction iterators for EVM assembly instructions. diff --git a/blockchain/bloombits/doc.go b/blockchain/bloombits/doc.go index 3ee959e732..cc3c9f1d47 100644 --- a/blockchain/bloombits/doc.go +++ b/blockchain/bloombits/doc.go @@ -21,7 +21,7 @@ /* Package bloombits implements bloom filtering on batches of data. -Source Files +# Source Files Each file provides the following features. - generator.go : generates the rotated bloom bits to be used for batched filtering. diff --git a/blockchain/doc.go b/blockchain/doc.go index 77409313eb..514d22d6a9 100644 --- a/blockchain/doc.go +++ b/blockchain/doc.go @@ -28,32 +28,32 @@ Transactions are delivered by RPC servers or other nodes, managed by the tx pool As well as the exact transaction process, Klaytn achieved the efficiency of the transaction processing through a caching logic. The cacheSender concurrently recovers and caches an address from a signature in the transaction which was one of the main bottlenecks of transaction processing. -Source files +# Source files Each file provides the following features - - bad_blocks.go : keeps block hashes of bad blocks which are usually for hard forks. - - block_validator.go : implements BlockValidator which is responsible for validation block headers and the processed state. - - blockchain.go : implements the canonical chain of blocks and managing functions to support imports, reverts and reorganisations. - - chain_indexer.go : implements ChainIndexer. - - chain_makers.go : generates temporary blocks or chains to support SimulatedBackend. - - error.go : defines errors frequently used in blockchain package. - - events.go : defines event structs delivered between go-routines. - - evm.go : creates an EVM with a given context for use. - - gaspool.go : defines GasPool which tracks and manages the amount of gas available during the transaction execution. - - gen_genesis.go : is auto-generated code by gencodec to marshal/unmarshal Genesis as/from JSON. - - gen_genesis_account.go : is auto-generated code by gencodec to marshal/unmarshal GenesisAccount as/from JSON. - - genesis.go : defines Genesis which specifies values of a genesis block and initial settings of the chain. - - genesis_alloc.go : contains the genesis allocation of built-in genesis blocks. - - headerchain.go : implements HeaderChain which makes a chain with block headers. - - init_derive_sha.go : initialize a DeriveSha function with a specific type. - - metrics.go : contains metrics used for blockchain package. - - mkalloc.go : creates the genesis allocation constants in genesis_alloc.go. - - state_processor.go : implements StateProcessor which takes care of transitioning state. - - state_transition.go : implements a state transaction model worked with messages in transactions. - - tx_cacher.go : recovers senders of transactions from signatures and caches the sender address. - - tx_journal.go: keeps logs of transactions created by the local node. - - tx_list.go : provides sorted map and list structures used in tx pool manipulation. - - tx_pool.go : contains all currently known transactions and manages the transactions. - - types.go : interfaces Validator and Processor which validate or process block data. + - bad_blocks.go : keeps block hashes of bad blocks which are usually for hard forks. + - block_validator.go : implements BlockValidator which is responsible for validation block headers and the processed state. + - blockchain.go : implements the canonical chain of blocks and managing functions to support imports, reverts and reorganisations. + - chain_indexer.go : implements ChainIndexer. + - chain_makers.go : generates temporary blocks or chains to support SimulatedBackend. + - error.go : defines errors frequently used in blockchain package. + - events.go : defines event structs delivered between go-routines. + - evm.go : creates an EVM with a given context for use. + - gaspool.go : defines GasPool which tracks and manages the amount of gas available during the transaction execution. + - gen_genesis.go : is auto-generated code by gencodec to marshal/unmarshal Genesis as/from JSON. + - gen_genesis_account.go : is auto-generated code by gencodec to marshal/unmarshal GenesisAccount as/from JSON. + - genesis.go : defines Genesis which specifies values of a genesis block and initial settings of the chain. + - genesis_alloc.go : contains the genesis allocation of built-in genesis blocks. + - headerchain.go : implements HeaderChain which makes a chain with block headers. + - init_derive_sha.go : initialize a DeriveSha function with a specific type. + - metrics.go : contains metrics used for blockchain package. + - mkalloc.go : creates the genesis allocation constants in genesis_alloc.go. + - state_processor.go : implements StateProcessor which takes care of transitioning state. + - state_transition.go : implements a state transaction model worked with messages in transactions. + - tx_cacher.go : recovers senders of transactions from signatures and caches the sender address. + - tx_journal.go: keeps logs of transactions created by the local node. + - tx_list.go : provides sorted map and list structures used in tx pool manipulation. + - tx_pool.go : contains all currently known transactions and manages the transactions. + - types.go : interfaces Validator and Processor which validate or process block data. */ package blockchain diff --git a/blockchain/mkalloc.go b/blockchain/mkalloc.go index f241a887c3..d70cd83e89 100644 --- a/blockchain/mkalloc.go +++ b/blockchain/mkalloc.go @@ -22,12 +22,10 @@ // +build none /* +The mkalloc tool creates the genesis allocation constants in genesis_alloc.go +It outputs a const declaration that contains an RLP-encoded list of (address, balance) tuples. - The mkalloc tool creates the genesis allocation constants in genesis_alloc.go - It outputs a const declaration that contains an RLP-encoded list of (address, balance) tuples. - - go run mkalloc.go genesis.json - + go run mkalloc.go genesis.json */ package main diff --git a/blockchain/state/doc.go b/blockchain/state/doc.go index 436201c027..23f9ce9a7c 100644 --- a/blockchain/state/doc.go +++ b/blockchain/state/doc.go @@ -23,15 +23,14 @@ Package state provides an uppermost caching layer of the Klaytn state trie. This package is used to read/write stateObject from/to StateDB and it also acts as a bridge between the objects and the persistent layer. -Overview of state package +# Overview of state package stateObject represents a Klaytn account identified by its address. Once it is loaded from the persistent layer, it is cached and managed by StateDB. StateDB caches stateObjects and mediates the operations to them. - -Source Files +# Source Files Related functions and variables are defined in the files listed below - database.go : Defines Database and other interfaces used in the package diff --git a/blockchain/types.go b/blockchain/types.go index 89b35f77b4..4266e2b327 100644 --- a/blockchain/types.go +++ b/blockchain/types.go @@ -29,7 +29,6 @@ import ( // Validator is an interface which defines the standard for block validation. It // is only responsible for validating block contents, as the header validation is // done by the specific consensus engines. -// type Validator interface { // ValidateBody validates the given block's content. ValidateBody(block *types.Block) error diff --git a/blockchain/types/account/doc.go b/blockchain/types/account/doc.go index 73d32ee8f7..9cab2fe12b 100644 --- a/blockchain/types/account/doc.go +++ b/blockchain/types/account/doc.go @@ -19,7 +19,7 @@ Package account implements Account used in Klaytn. Inside the package, types, structures, functions, and interfaces associated with the Account are defined. -Type of Account +# Type of Account There are three types of Accounts used in Klaytn. @@ -33,7 +33,7 @@ EOA (ExternallyOwnedAccount) and SCA (SmartContractAccount) are implemented in a LegacyAccount is implemented separately according to the account interface. -Source Files +# Source Files Account related functions and variables are defined in the files listed below. - account.go : Defines types, interfaces and functions associated with the Account. diff --git a/blockchain/types/accountkey/account_key_role_based.go b/blockchain/types/accountkey/account_key_role_based.go index ceb1044c10..fce386b2d6 100644 --- a/blockchain/types/accountkey/account_key_role_based.go +++ b/blockchain/types/accountkey/account_key_role_based.go @@ -46,9 +46,7 @@ var ( // The roles are defined like below: // RoleTransaction - this key is used to verify transactions transferring values. // RoleAccountUpdate - this key is used to update keys in the account when using TxTypeAccountUpdate. -// RoleFeePayer - this key is used to pay tx fee when using fee-delegated transactions. -// If an account has a key of this role and wants to pay tx fee, -// fee-delegated transactions should be signed by this key. +// RoleFeePayer - this key is used to pay tx fee when using fee-delegated transactions. If an account has a key of this role and wants to pay tx fee, fee-delegated transactions should be signed by this key. // // If RoleAccountUpdate or RoleFeePayer is not set, RoleTransaction will be used instead by default. type AccountKeyRoleBased []AccountKey diff --git a/blockchain/types/accountkey/doc.go b/blockchain/types/accountkey/doc.go index 26d0aac5d1..062bbd1dfe 100644 --- a/blockchain/types/accountkey/doc.go +++ b/blockchain/types/accountkey/doc.go @@ -18,7 +18,7 @@ Package accountkey implements the AccountKey used in Klaytn. Inside the package, types, functions and interfaces associated with the AccountKey are defined. -Type of AccountKey +# Type of AccountKey The AccountKey types used in Klaytn are as follows: - AccountKeyTypeNil @@ -30,7 +30,7 @@ The AccountKey types used in Klaytn are as follows: Each AccountKey type implements the AccountKey interface. -Source Files +# Source Files AccountKey related functions and variables are defined in the files listed below. - account_key.go : Defines the AccountKey types, the AccountKey interface and the functions related to AccountKey. diff --git a/blockchain/types/doc.go b/blockchain/types/doc.go index f97e41dbf1..e52705d176 100644 --- a/blockchain/types/doc.go +++ b/blockchain/types/doc.go @@ -38,8 +38,7 @@ The block header also provides additional data generated by the transaction exec This package implements Klaytn Block, Transaction and related functions and variables to support them. - -Source Files +# Source Files Functions and variables related to Block and Transaction are defined in the files listed below. - block.go : defines block and block header @@ -79,6 +78,5 @@ Functions and variables related to Block and Transaction are defined in the file - tx_internal_data_value_transfer_memo.go: implements the transaction sending KLAY to an EOA with data - tx_signature.go : implements transaction signature (V, R, S) - tx_signatures.go : implements a slice of transaction signature to support multi-sig accounts - */ package types diff --git a/blockchain/vm/runtime/doc.go b/blockchain/vm/runtime/doc.go index c4aad4140b..d96e8d0148 100644 --- a/blockchain/vm/runtime/doc.go +++ b/blockchain/vm/runtime/doc.go @@ -21,7 +21,7 @@ /* Package runtime provides a basic execution model for executing EVM code. -Source files +# Source files Each file provides the following features - env.go : Implements a function creating the runtime EVM with environment configuration. diff --git a/build/doc.go b/build/doc.go index 4133803559..4595124ab0 100644 --- a/build/doc.go +++ b/build/doc.go @@ -28,19 +28,18 @@ Usage: go run build/ci.go Available commands are: - install [ -arch architecture ] [ -cc compiler ] [ packages... ] -- builds packages and executables - test [ -coverage ] [ packages... ] -- runs the tests - lint -- runs certain pre-selected linters - lint-try -- runs certain pre-selected linters and does not stop even if linters fail - archive [ -arch architecture ] [ -type zip|tar ] [ -signer key-envvar ] [ -upload dest ] -- archives build artefacts - importkeys -- imports signing keys from env - debsrc [ -signer key-id ] [ -upload dest ] -- creates a debian source package - nsis -- creates a Windows NSIS installer - aar [ -local ] [ -sign key-id ] [-deploy repo] [ -upload dest ] -- creates an Android archive - xcode [ -local ] [ -sign key-id ] [-deploy repo] [ -upload dest ] -- creates an iOS XCode framework - purge [ -store blobstore ] [ -days threshold ] -- purges old archives from the blobstore + install [ -arch architecture ] [ -cc compiler ] [ packages... ] -- builds packages and executables + test [ -coverage ] [ packages... ] -- runs the tests + lint -- runs certain pre-selected linters + lint-try -- runs certain pre-selected linters and does not stop even if linters fail + archive [ -arch architecture ] [ -type zip|tar ] [ -signer key-envvar ] [ -upload dest ] -- archives build artefacts + importkeys -- imports signing keys from env + debsrc [ -signer key-id ] [ -upload dest ] -- creates a debian source package + nsis -- creates a Windows NSIS installer + aar [ -local ] [ -sign key-id ] [-deploy repo] [ -upload dest ] -- creates an Android archive + xcode [ -local ] [ -sign key-id ] [-deploy repo] [ -upload dest ] -- creates an iOS XCode framework + purge [ -store blobstore ] [ -days threshold ] -- purges old archives from the blobstore For all commands, -n prevents execution of external programs (dry run mode). - */ package main diff --git a/cmd/homi/common/doc.go b/cmd/homi/common/doc.go index a5d2fa6231..1f8a8d0fc6 100644 --- a/cmd/homi/common/doc.go +++ b/cmd/homi/common/doc.go @@ -22,9 +22,9 @@ /* common package provides utility functions to generate random keys and random directory -Source Files +# Source Files Each file contains following contents - - utils.go : Provides utility functions to generate a random directory and random keys + - utils.go : Provides utility functions to generate a random directory and random keys */ package common diff --git a/cmd/homi/doc.go b/cmd/homi/doc.go index 9006b77ead..bd48139b40 100644 --- a/cmd/homi/doc.go +++ b/cmd/homi/doc.go @@ -23,9 +23,9 @@ homi is a command line interface which helps to create configuration files for a new network homi supports various options for different deployment modes, number of nodes, etc. -Source Files +# Source Files Each file contains the following contents - - main.go : Runs the application as an entry point + - main.go : Runs the application as an entry point */ package main diff --git a/cmd/homi/docker/compose/doc.go b/cmd/homi/docker/compose/doc.go index 5a834a5d89..18dd809794 100644 --- a/cmd/homi/docker/compose/doc.go +++ b/cmd/homi/docker/compose/doc.go @@ -22,9 +22,9 @@ /* compose package provides homi object which is to be used to create a docker-compose.yml -Source Files +# Source Files Each file contains following contents - - homi.go : Provides `Homi` and creates an assembled docker-compose.yml + - homi.go : Provides `Homi` and creates an assembled docker-compose.yml */ package compose diff --git a/cmd/homi/docker/service/doc.go b/cmd/homi/docker/service/doc.go index 20575babf0..a29a63a55d 100644 --- a/cmd/homi/docker/service/doc.go +++ b/cmd/homi/docker/service/doc.go @@ -22,15 +22,14 @@ /* service package provides various templates to build a docker-compose.yml -Source Files +# Source Files Each file contains following contents - - constellation.go : Deprecated. This is not being used in Klaytn - - eth_stats.go : Defines `KlayStats` and provides a yaml template for a KlayStats service - - grafana.go : Defines `GrafanaService` and provides a yaml template for a Grafana service - - prometheus.go : Defines `PrometheusService` and provides a yaml template for a Prometheus service - - txgen.go : Defines `TxGenService` and provides a yaml template for a txgen service - - validator.go : Defines `Validator` and provides a yaml template for a validator configuration - + - constellation.go : Deprecated. This is not being used in Klaytn + - eth_stats.go : Defines `KlayStats` and provides a yaml template for a KlayStats service + - grafana.go : Defines `GrafanaService` and provides a yaml template for a Grafana service + - prometheus.go : Defines `PrometheusService` and provides a yaml template for a Prometheus service + - txgen.go : Defines `TxGenService` and provides a yaml template for a txgen service + - validator.go : Defines `Validator` and provides a yaml template for a validator configuration */ package service diff --git a/cmd/homi/extra/doc.go b/cmd/homi/extra/doc.go index 37347c6161..f4a04f673e 100644 --- a/cmd/homi/extra/doc.go +++ b/cmd/homi/extra/doc.go @@ -23,12 +23,12 @@ extra defines options for homi's extra command It supports encoding and decoding of extra data in genesis.json file -Source Files +# Source Files Each file contains following contents - - cmd.go : Defines encode and decode functions for extra data - - decoder.go : Provides a decoder for extra data - - encoder.go : Provides an encoder for extra data - - flags.go : Defines command line options for extra command + - cmd.go : Defines encode and decode functions for extra data + - decoder.go : Provides a decoder for extra data + - encoder.go : Provides an encoder for extra data + - flags.go : Defines command line options for extra command */ package extra diff --git a/cmd/homi/genesis/doc.go b/cmd/homi/genesis/doc.go index 6d323274ee..0844567358 100644 --- a/cmd/homi/genesis/doc.go +++ b/cmd/homi/genesis/doc.go @@ -22,11 +22,11 @@ /* genesis package provides utility functions to generate new genesis file to init a chain -Source Files +# Source Files Each file contains following contents - - bins.go : Stores contract binaries actually used in genesis of named networks - - genesis.go : Provides functions to make a new genesis object - - options.go : Provides utility functions to generate each part in a genesis file such as a list of validators + - bins.go : Stores contract binaries actually used in genesis of named networks + - genesis.go : Provides functions to make a new genesis object + - options.go : Provides utility functions to generate each part in a genesis file such as a list of validators */ package genesis diff --git a/cmd/homi/setup/doc.go b/cmd/homi/setup/doc.go index 8098a3e042..9b54b07077 100644 --- a/cmd/homi/setup/doc.go +++ b/cmd/homi/setup/doc.go @@ -23,12 +23,12 @@ setup package generates config files following the given deployment options. It creates the given number of genesis.json and nodekeys -Source Files +# Source Files Each file contains the following contents - - cmd.go : Provides functions to generate config files with given deployment configuration - - flags.go : Defines command line flags which can be used in `setup` command - - klaytn_config.go : Defines `KlaytnConfig` and provides a template to build it - - prometheus_config.go : Defines `PrometheusConfig` and provides a template to build it + - cmd.go : Provides functions to generate config files with given deployment configuration + - flags.go : Defines command line flags which can be used in `setup` command + - klaytn_config.go : Defines `KlaytnConfig` and provides a template to build it + - prometheus_config.go : Defines `PrometheusConfig` and provides a template to build it */ package setup diff --git a/cmd/kbn/doc.go b/cmd/kbn/doc.go index c24bd460c5..6c7e5f54ee 100644 --- a/cmd/kbn/doc.go +++ b/cmd/kbn/doc.go @@ -23,14 +23,13 @@ kbn runs a bootstrap node for the Klaytn Node Discovery Protocol. A bootstrap node is a kind of registry service which has every nodes' information and delivers it to a querying node to help the node to join the network. -Source Files +# Source Files Each file contains the following contents - - api.go : Provides various APIs to use bootnode services - - backend.go : Provides supporting functions for APIs - - config.go : Provides `bootnodeConfig` which contains a configuration and accompanying setter and parser functions - - main.go : Main entry point of the application - - node.go : Provides `Node` struct which defines what kind of APIs can be provided through which port and protocols - + - api.go : Provides various APIs to use bootnode services + - backend.go : Provides supporting functions for APIs + - config.go : Provides `bootnodeConfig` which contains a configuration and accompanying setter and parser functions + - main.go : Main entry point of the application + - node.go : Provides `Node` struct which defines what kind of APIs can be provided through which port and protocols */ package main diff --git a/cmd/kcn/doc.go b/cmd/kcn/doc.go index f7902c9746..1003a2d357 100644 --- a/cmd/kcn/doc.go +++ b/cmd/kcn/doc.go @@ -23,9 +23,9 @@ kcn is the command-line client for Klaytn Consensus Node. kcn has the node type of "cn" internally. Please try `kcn -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/ken/doc.go b/cmd/ken/doc.go index 843a78a91b..8c224b0ab6 100644 --- a/cmd/ken/doc.go +++ b/cmd/ken/doc.go @@ -23,9 +23,9 @@ ken is the command-line client for Klaytn Endpoint Node. ken has the node type of "en" internally. Please try `ken -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/kgen/doc.go b/cmd/kgen/doc.go index 8ac846836e..c54a123cef 100644 --- a/cmd/kgen/doc.go +++ b/cmd/kgen/doc.go @@ -19,12 +19,13 @@ kgen can be used to generate a nodekey and a derived address and kni information By providing some options in the command line, a user can assign IP and port for kni. -Options +# Options All available options are as follows. - --file Generate a nodekey and a Klaytn node information as files - --ip value Specify an IP address (default: "0.0.0.0") - --port value Specify a tcp port number (default: 32323) - --help, -h Show help + + --file Generate a nodekey and a Klaytn node information as files + --ip value Specify an IP address (default: "0.0.0.0") + --port value Specify a tcp port number (default: 32323) + --help, -h Show help */ package main diff --git a/cmd/kpn/doc.go b/cmd/kpn/doc.go index 29ead32337..eebf5782c0 100644 --- a/cmd/kpn/doc.go +++ b/cmd/kpn/doc.go @@ -23,9 +23,9 @@ kpn is the command-line client for Klaytn Proxy Node. kpn has the node type of "pn" internally. Please try `kpn -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/kscn/doc.go b/cmd/kscn/doc.go index 6e0120904c..c9b5587e83 100644 --- a/cmd/kscn/doc.go +++ b/cmd/kscn/doc.go @@ -23,9 +23,9 @@ kscn is the command-line client for Klaytn ServiceChain Consensus Node. kscn has the node type of "cn" internally. Please try `kscn -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/ksen/doc.go b/cmd/ksen/doc.go index f19f34a2e1..6852e17756 100644 --- a/cmd/ksen/doc.go +++ b/cmd/ksen/doc.go @@ -23,9 +23,9 @@ ksen is the command-line client for Klaytn ServiceChain Endpoint Node. ksen has the node type of "en" internally. Please try `ksen -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/kspn/doc.go b/cmd/kspn/doc.go index 69ccc220c1..665e7e0215 100644 --- a/cmd/kspn/doc.go +++ b/cmd/kspn/doc.go @@ -23,9 +23,9 @@ kspn is the command-line client for Klaytn ServiceChain Proxy Node. kspn has the node type of "pn" internally. Please try `kspn -h` to see commands and options list. -Source Files +# Source Files Each file contains following contents - - main.go : Defines available options and initializes the application with given options + - main.go : Defines available options and initializes the application with given options */ package main diff --git a/cmd/utils/doc.go b/cmd/utils/doc.go index 5018c77a71..c76399ba13 100644 --- a/cmd/utils/doc.go +++ b/cmd/utils/doc.go @@ -23,18 +23,18 @@ Package utils contains internal helper functions for klaytn commands. utils package provides various helper functions especially for handling various commands and options. -Source Files +# Source Files Each file contains the following contents - - app.go : Provides NewCLI() function but it is not being used. - - cmd.go : Provide import/export chain functions but it is not being used. - - customflags.go : Provides `DirectoryString`, `DirectoryFlags` and marshaling functions to support custom flags - - files.go : Provides `WriteFile` function to store contents in a given file - - flags.go : Defines various flags which can be used in running a node - - flaggroup.go : Categorizes flags into groups to print structured help descriptions. - - helptemplate.go : Provides a template for help contents which explains option names and its usages - - strings.go : Provides helper functions to handle string manipulations - - testcmd.go : Provides test functions to test command arguments - - usage.go : Provides help printer which prints help contents neatly + - app.go : Provides NewCLI() function but it is not being used. + - cmd.go : Provide import/export chain functions but it is not being used. + - customflags.go : Provides `DirectoryString`, `DirectoryFlags` and marshaling functions to support custom flags + - files.go : Provides `WriteFile` function to store contents in a given file + - flags.go : Defines various flags which can be used in running a node + - flaggroup.go : Categorizes flags into groups to print structured help descriptions. + - helptemplate.go : Provides a template for help contents which explains option names and its usages + - strings.go : Provides helper functions to handle string manipulations + - testcmd.go : Provides test functions to test command arguments + - usage.go : Provides help printer which prints help contents neatly */ package utils diff --git a/cmd/utils/nodecmd/defaultcmd.go b/cmd/utils/nodecmd/defaultcmd.go index 97a20e8820..48ca411f07 100644 --- a/cmd/utils/nodecmd/defaultcmd.go +++ b/cmd/utils/nodecmd/defaultcmd.go @@ -240,11 +240,11 @@ var migrationApplied = map[*cli.Command]struct{}{} // // Example: // -// ken account new --keystore /tmp/mykeystore --lightkdf +// ken account new --keystore /tmp/mykeystore --lightkdf // // is equivalent after calling this method with: // -// ken --keystore /tmp/mykeystore --lightkdf account new +// ken --keystore /tmp/mykeystore --lightkdf account new // // i.e. in the subcommand Action function of 'account new', ctx.Bool("lightkdf) // will return true even if --lightkdf is set as a global option. diff --git a/cmd/utils/nodecmd/doc.go b/cmd/utils/nodecmd/doc.go index 025727cb6e..7782c54a67 100644 --- a/cmd/utils/nodecmd/doc.go +++ b/cmd/utils/nodecmd/doc.go @@ -17,16 +17,16 @@ /* Package nodecmd contains command definitions and related functions used for node cmds, such as kcn, kpn, and ken. -Source Files +# Source Files Each file contains following contents - - accountcmd.go : Provides functions for creating, updating and importing an account. - - chaincmd.go : Provides functions to `init` a block chain, - - consolecmd.go : Provides console functions `attach` and `console` - - migrationcmd.go : Provides functions of DB migration - - defaultcmd.go : Provides functions to start a node - - dumpconfigcmd.go : Provides functions to dump and print current config to stdout - - nodeflags.go : Defines various flags that configure the node - - versioncmd.go : Provides functions to print application's version + - accountcmd.go : Provides functions for creating, updating and importing an account. + - chaincmd.go : Provides functions to `init` a block chain, + - consolecmd.go : Provides console functions `attach` and `console` + - migrationcmd.go : Provides functions of DB migration + - defaultcmd.go : Provides functions to start a node + - dumpconfigcmd.go : Provides functions to dump and print current config to stdout + - nodeflags.go : Defines various flags that configure the node + - versioncmd.go : Provides functions to print application's version */ package nodecmd diff --git a/common/bitutil/doc.go b/common/bitutil/doc.go index 50a23559db..b75215c5f3 100644 --- a/common/bitutil/doc.go +++ b/common/bitutil/doc.go @@ -13,7 +13,7 @@ /* Package bitutil implements fast bitwise operations and compression/decompressions. -Bitwise Operations +# Bitwise Operations Following operations are supported - AND, OR, XOR operations @@ -21,13 +21,13 @@ Following operations are supported `Safe` means it can be performed on all architectures `Fast` means it only can be performed on architecture which supports unaligned read/write -Compression and Decompression +# Compression and Decompression Following operations are supported - CompressBytes - DecompressBytes -How compression works +# How compression works The compression algorithm implemented by CompressBytes and DecompressBytes is optimized for sparse input data which contains a lot of zero bytes. Decompression diff --git a/common/cache.go b/common/cache.go index a374b50456..ea8130fd16 100644 --- a/common/cache.go +++ b/common/cache.go @@ -261,7 +261,6 @@ func (c LRUShardConfig) newCache() (Cache, error) { var err error for i := 0; i < numShards; i++ { lruShard.shards[i], err = lru.NewWithEvict(shardsSize, nil) - if err != nil { return nil, err } diff --git a/common/doc.go b/common/doc.go index ccdfd157b6..e3268646e8 100644 --- a/common/doc.go +++ b/common/doc.go @@ -21,7 +21,7 @@ /* Package common contains various helper functions, commonly used data types and constants. -Source Files +# Source Files Each source file provides functions and types as listed below - big.go : Defines common big integers often used such as Big1 diff --git a/common/hexutil/doc.go b/common/hexutil/doc.go index 46dd59f607..8a3a19739a 100644 --- a/common/hexutil/doc.go +++ b/common/hexutil/doc.go @@ -22,7 +22,7 @@ Package hexutil implements hex encoding with 0x prefix. This encoding is used by the Klaytn RPC API to transport binary data in JSON payloads. -Encoding Rules +# Encoding Rules All hex data must have prefix "0x". @@ -32,7 +32,7 @@ encodes as "0x". Integers are encoded using the least amount of digits (no leading zero digits). Their encoding may be of uneven length. The number zero encodes as "0x0". -Source Files +# Source Files `hexutil.go` has functions to provide hex encoding and decoding. diff --git a/common/math/big.go b/common/math/big.go index d2c72d5714..aabe7da652 100644 --- a/common/math/big.go +++ b/common/math/big.go @@ -190,10 +190,10 @@ func U256Bytes(n *big.Int) []byte { // S256 interprets x as a two's complement number. // x must not exceed 256 bits (the result is undefined if it does) and is not modified. // -// S256(0) = 0 -// S256(1) = 1 -// S256(2**255) = -2**255 -// S256(2**256-1) = -1 +// S256(0) = 0 +// S256(1) = 1 +// S256(2**255) = -2**255 +// S256(2**256-1) = -1 func S256(x *big.Int) *big.Int { if x.Cmp(tt255) < 0 { return x diff --git a/consensus/clique/doc.go b/consensus/clique/doc.go index 379b19d9f0..ae2714044c 100644 --- a/consensus/clique/doc.go +++ b/consensus/clique/doc.go @@ -17,7 +17,7 @@ /* Package clique implements PoA (Proof of Authority) consensus engine which is mainly for private chains. -Consensus Engine Overview +# Consensus Engine Overview In clique, only pre-selected nodes can propose a block. The list of these nodes are described in the header's extra field and the list can be changed by calling Propose() API. diff --git a/consensus/istanbul/backend/doc.go b/consensus/istanbul/backend/doc.go index 0c7453b673..905ca60d16 100644 --- a/consensus/istanbul/backend/doc.go +++ b/consensus/istanbul/backend/doc.go @@ -19,14 +19,13 @@ Package backend defines backend struct which implements Backend interface of Ist backend struct works as a backbone of the consensus engine having Istanbul core, required objects to get information for making a consensus, recent messages and a broadcaster to send its message to peer nodes. -Source Files +# Source Files Implementation of Backend interface and APIs are included in this package - - `api.go`: Implements APIs which provide the states of Istanbul - - `backend.go`: Defines backend struct which implements Backend interface working as a backbone of the consensus engine - - `engine.go`: Implements various backend methods especially for verifying and building header information - - `handler.go`: Implements backend methods for handling messages and broadcaster - - `snapshot.go`: Defines snapshot struct which handles votes from nodes and makes governance changes - + - `api.go`: Implements APIs which provide the states of Istanbul + - `backend.go`: Defines backend struct which implements Backend interface working as a backbone of the consensus engine + - `engine.go`: Implements various backend methods especially for verifying and building header information + - `handler.go`: Implements backend methods for handling messages and broadcaster + - `snapshot.go`: Defines snapshot struct which handles votes from nodes and makes governance changes */ package backend diff --git a/consensus/istanbul/core/doc.go b/consensus/istanbul/core/doc.go index e9a9ccbccf..32cd741164 100644 --- a/consensus/istanbul/core/doc.go +++ b/consensus/istanbul/core/doc.go @@ -24,22 +24,22 @@ Each phase has its own message and by handling these messages the consensus can When a consensus is made for a given block, core communicates with the Istanbul backend to proceed. -Source Files +# Source Files Core package is composed of following files - - `backlog.go`: Implements core methods handling future messages. The future message is a message which has future timestamp or in a different phase - - `commit.go`: Implements core methods which send, receive, handle, verify and accept commit messages - - `core.go`: Defines core struct and its methods related to timer setup, start new round and round state update - - `errors.go`: Defines consensus message related errors - - `events.go`: Defines backlog event and timeout event - - `final_committed.go`: Start a new round when a final committed proposal is stored - - `handler.go`: Implements core.Engine.Start and Stop. Provides event and message hendlers - - `message_set.go`: Defines messageSet struct which has a validator set and messages from other nodes - - `prepare.go`: Implements core methods which send, receive, handle, verify and accept prepare phase messages - - `preprepare.go`: Implements core methods which send, handle and accept preprepare messages - - `request.go`: Implements core methods which handle, check, store and process preprepare messages - - `roundchange.go`: Implement core methods receiving and handling roundchange messages - - `roundstate.go`: Defines roundState struct which has messages of each phase for a round - - `types.go`: Defines Engine interface and message, State type + - `backlog.go`: Implements core methods handling future messages. The future message is a message which has future timestamp or in a different phase + - `commit.go`: Implements core methods which send, receive, handle, verify and accept commit messages + - `core.go`: Defines core struct and its methods related to timer setup, start new round and round state update + - `errors.go`: Defines consensus message related errors + - `events.go`: Defines backlog event and timeout event + - `final_committed.go`: Start a new round when a final committed proposal is stored + - `handler.go`: Implements core.Engine.Start and Stop. Provides event and message hendlers + - `message_set.go`: Defines messageSet struct which has a validator set and messages from other nodes + - `prepare.go`: Implements core methods which send, receive, handle, verify and accept prepare phase messages + - `preprepare.go`: Implements core methods which send, handle and accept preprepare messages + - `request.go`: Implements core methods which handle, check, store and process preprepare messages + - `roundchange.go`: Implement core methods receiving and handling roundchange messages + - `roundstate.go`: Defines roundState struct which has messages of each phase for a round + - `types.go`: Defines Engine interface and message, State type */ package core diff --git a/consensus/istanbul/doc.go b/consensus/istanbul/doc.go index faaf0c0dcd..d00a1b0699 100644 --- a/consensus/istanbul/doc.go +++ b/consensus/istanbul/doc.go @@ -23,15 +23,15 @@ Istanbul engine is using 3-phase consensus and it can tolerate F faulty nodes wh In Klaytn, it is being used as the main consensus engine after modification for supports of Committee, Reward and Governance. Package istanbul has three sub-packages, core, backend, and validator. Please refer to each package's doc.go for more information. -Source Files +# Source Files Various interfaces, constants and utility functions for Istanbul consensus engine - - `backend.go`: Defines Backend interface which provides application specific functions for Istanbul core - - `config.go`: Provides default configuration for Istanbul engine - - `errors.go`: Defines three errors used in Istanbul engine - - `events.go`: Defines events which are used for Istanbul engine communication - - `types.go`: Defines message structs such as Proposal, Request, View, Preprepare, Subject and ConsensusMsg - - `utils.go`: Provides three utility functions: RLPHash, GetSignatureAddress and CheckValidatorSignature - - `validator.go`: Defines Validator, ValidatorSet interfaces and Validators, ProposalSelector types + - `backend.go`: Defines Backend interface which provides application specific functions for Istanbul core + - `config.go`: Provides default configuration for Istanbul engine + - `errors.go`: Defines three errors used in Istanbul engine + - `events.go`: Defines events which are used for Istanbul engine communication + - `types.go`: Defines message structs such as Proposal, Request, View, Preprepare, Subject and ConsensusMsg + - `utils.go`: Provides three utility functions: RLPHash, GetSignatureAddress and CheckValidatorSignature + - `validator.go`: Defines Validator, ValidatorSet interfaces and Validators, ProposalSelector types */ package istanbul diff --git a/consensus/istanbul/types.go b/consensus/istanbul/types.go index 73283c6c31..a1a544f5db 100644 --- a/consensus/istanbul/types.go +++ b/consensus/istanbul/types.go @@ -90,7 +90,9 @@ func (v *View) String() string { // Cmp compares v and y and returns: // -1 if v < y -// 0 if v == y +// +// 0 if v == y +// // +1 if v > y func (v *View) Cmp(y *View) int { sdiff := v.Sequence.Cmp(y.Sequence) diff --git a/consensus/istanbul/validator/doc.go b/consensus/istanbul/validator/doc.go index 24c11b1e96..437cbec02f 100644 --- a/consensus/istanbul/validator/doc.go +++ b/consensus/istanbul/validator/doc.go @@ -20,7 +20,7 @@ Package validator implements the types related to the validators participating i `Validator` and `ValidatorSet` interfaces are used to validate blocks and make a consensus. Implementations of these interfaces are different, depending on proposer-choosing policy. -Validator +# Validator `Validator` is a node which has 2 features to make a consensus: proposing and validating. @@ -28,13 +28,13 @@ Propose: A node can propose a block if it is a proposer. Only validators can be Validate: A validator node can validate blocks from proposers. A block is valid only if more than 2/3 of validators approve the given block. -ValidatorSet +# ValidatorSet `ValidatorSet` is a group of validators. It is also called as a council. ValidatorSet calculates the block proposer of an upcoming block. A validator selected as a block proposer will have a chance to make a block. -Implementation in Klaytn +# Implementation in Klaytn Klaytn implements `Validator` and `ValidatorSet` interface for Klaytn consensus. Klaytn reflects the ratio of staking amounts to the probability of selecting a proposer. @@ -42,7 +42,7 @@ This is called weightedRandom policy. Detailed information can be found in https://docs.klaytn.com/klaytn/token_economy#klaytn-governance-council-reward. Implementation structures are weightedValidator and weightedCouncil in weighted.go file. -Files +# Files - default.go : Validator and ValidatorSet for roundRobin policy is implemented. diff --git a/consensus/istanbul/validator/multi_staking_test.go b/consensus/istanbul/validator/multi_staking_test.go index d26a74c78f..65e4b7cdfd 100644 --- a/consensus/istanbul/validator/multi_staking_test.go +++ b/consensus/istanbul/validator/multi_staking_test.go @@ -21,7 +21,7 @@ Validators can deploy multiple staking contracts. If a validator wants to deploy additional staking contracts, those staking contracts should have same rewardAddress. StakingAmounts of staking contracts with a same rewardAddress will be added and it is reflected to a probability of becoming a block proposer. -Testing +# Testing StakingInfos are data from addressBook. A StakingInfo has lists of addresses and stakingAmount. @@ -50,10 +50,11 @@ func newTestWeightedCouncil(nodeAddrs []common.Address) *weightedCouncil { // TestWeightedCouncil_getStakingAmountsOfValidators checks if validators and stakingAmounts from a stakingInfo are matched well. // stakingAmounts of additional staking contracts will be added to stakingAmounts of validators which have the same reward address. // input -// - validator and stakingInfo is matched by a nodeAddress. +// - validator and stakingInfo is matched by a nodeAddress. +// // output -// - weightedValidators are sorted by nodeAddress -// - stakingAmounts should be same as expectedStakingAmounts +// - weightedValidators are sorted by nodeAddress +// - stakingAmounts should be same as expectedStakingAmounts func TestWeightedCouncil_getStakingAmountsOfValidators(t *testing.T) { testCases := []struct { validators []common.Address diff --git a/console/doc.go b/console/doc.go index 4550de74a2..d9ea9fb4c2 100644 --- a/console/doc.go +++ b/console/doc.go @@ -21,11 +21,11 @@ Console is a JavaScript interpreted runtime environment. It is a fully fledged JavaScript console attached to a running node via an external or in-process RPC client. -Source Files +# Source Files Each file provides following features - - bridge.go : bridge is a collection of JavaScript utility methods to bridge the .js runtime environment and the Go RPC connection backing the remote method calls - - console.go : Implements a console which supports JavaScript runtime environment - - prompter.go : Provides UserPrompter which defines the methods needed by the console to prompt the user for various types of inputs, such as normal text, a password and a confirmation + - bridge.go : bridge is a collection of JavaScript utility methods to bridge the .js runtime environment and the Go RPC connection backing the remote method calls + - console.go : Implements a console which supports JavaScript runtime environment + - prompter.go : Provides UserPrompter which defines the methods needed by the console to prompt the user for various types of inputs, such as normal text, a password and a confirmation */ package console diff --git a/console/jsre/doc.go b/console/jsre/doc.go index f7f21a6cdb..7850735433 100644 --- a/console/jsre/doc.go +++ b/console/jsre/doc.go @@ -22,20 +22,21 @@ Package jsre provides an execution environment for JavaScript. JSRE is a generic JS runtime environment embedding the otto Javascript interpreter. - It provides some helper functions to - - load code from files - - run code snippets - - require libraries - - bind native go objects + + It provides some helper functions to + - load code from files + - run code snippets + - require libraries + - bind native go objects Because of JSRE, an user can utilize JavaScript in the console as needed. JSRE also provides two JavaScript libraries, bignumber.js and web3.js, for users to easily access Klaytn. -Source Files +# Source Files Each file provides following features - - completion.go : Provides functions for keyword completion - - jsre.go : Wraps otto JavaScript interpreter and provides an event loop - - pretty.go : Prints results to the standard output in more readable way + - completion.go : Provides functions for keyword completion + - jsre.go : Wraps otto JavaScript interpreter and provides an event loop + - pretty.go : Prints results to the standard output in more readable way */ package jsre diff --git a/console/web3ext/doc.go b/console/web3ext/doc.go index 5b6a1a1a83..89844c180b 100644 --- a/console/web3ext/doc.go +++ b/console/web3ext/doc.go @@ -23,7 +23,7 @@ Package web3ext contains the Klaytn specific web3.js extensions. web3ext defines `Modules` which defines APIs for each category. This `Modules` is used by console to provide APIs to users. -API Categories +# API Categories APIs are categorized as follows. If you want to know more detail, please refer to https://docs.klaytn.com/bapp/json-rpc - admin diff --git a/contracts/contracts/libs/kip13/InterfaceIdentifier.go b/contracts/contracts/libs/kip13/InterfaceIdentifier.go index ea65f214a7..1a316ab436 100644 --- a/contracts/contracts/libs/kip13/InterfaceIdentifier.go +++ b/contracts/contracts/libs/kip13/InterfaceIdentifier.go @@ -196,7 +196,6 @@ func (_InterfaceIdentifier *InterfaceIdentifierTransactorRaw) Transact(opts *bin func (_InterfaceIdentifier *InterfaceIdentifierCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error) { var out []interface{} err := _InterfaceIdentifier.contract.Call(opts, &out, "supportsInterface", interfaceID) - if err != nil { return *new(bool), err } @@ -204,7 +203,6 @@ func (_InterfaceIdentifier *InterfaceIdentifierCaller) SupportsInterface(opts *b out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. diff --git a/contracts/contracts/service_chain/bridge/Bridge.go b/contracts/contracts/service_chain/bridge/Bridge.go index 4768ffe0d8..30eb703182 100644 --- a/contracts/contracts/service_chain/bridge/Bridge.go +++ b/contracts/contracts/service_chain/bridge/Bridge.go @@ -446,7 +446,6 @@ func (_Bridge *BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method str func (_Bridge *BridgeCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -454,7 +453,6 @@ func (_Bridge *BridgeCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -477,7 +475,6 @@ func (_Bridge *BridgeCallerSession) MAXOPERATOR() (uint64, error) { func (_Bridge *BridgeCaller) VERSION(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "VERSION") - if err != nil { return *new(uint64), err } @@ -485,7 +482,6 @@ func (_Bridge *BridgeCaller) VERSION(opts *bind.CallOpts) (uint64, error) { out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. @@ -508,7 +504,6 @@ func (_Bridge *BridgeCallerSession) VERSION() (uint64, error) { func (_Bridge *BridgeCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -516,7 +511,6 @@ func (_Bridge *BridgeCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -539,7 +533,6 @@ func (_Bridge *BridgeCallerSession) ClosedValueTransferVotes(arg0 uint64) (bool, func (_Bridge *BridgeCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -547,7 +540,6 @@ func (_Bridge *BridgeCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, er out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -570,7 +562,6 @@ func (_Bridge *BridgeCallerSession) ConfigurationNonce() (uint64, error) { func (_Bridge *BridgeCaller) CounterpartBridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "counterpartBridge") - if err != nil { return *new(common.Address), err } @@ -578,7 +569,6 @@ func (_Bridge *BridgeCaller) CounterpartBridge(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // CounterpartBridge is a free data retrieval call binding the contract method 0x3a348533. @@ -601,7 +591,6 @@ func (_Bridge *BridgeCallerSession) CounterpartBridge() (common.Address, error) func (_Bridge *BridgeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -609,7 +598,6 @@ func (_Bridge *BridgeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -632,7 +620,6 @@ func (_Bridge *BridgeCallerSession) FeeOfERC20(arg0 common.Address) (*big.Int, e func (_Bridge *BridgeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -640,7 +627,6 @@ func (_Bridge *BridgeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -663,7 +649,6 @@ func (_Bridge *BridgeCallerSession) FeeOfKLAY() (*big.Int, error) { func (_Bridge *BridgeCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -671,7 +656,6 @@ func (_Bridge *BridgeCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, e out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -694,7 +678,6 @@ func (_Bridge *BridgeCallerSession) FeeReceiver() (common.Address, error) { func (_Bridge *BridgeCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -702,7 +685,6 @@ func (_Bridge *BridgeCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Addr out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -725,7 +707,6 @@ func (_Bridge *BridgeCallerSession) GetOperatorList() ([]common.Address, error) func (_Bridge *BridgeCaller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -733,7 +714,6 @@ func (_Bridge *BridgeCaller) GetRegisteredTokenList(opts *bind.CallOpts) ([]comm out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -756,7 +736,6 @@ func (_Bridge *BridgeCallerSession) GetRegisteredTokenList() ([]common.Address, func (_Bridge *BridgeCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -764,7 +743,6 @@ func (_Bridge *BridgeCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 u out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -787,7 +765,6 @@ func (_Bridge *BridgeCallerSession) HandleNoncesToBlockNums(arg0 uint64) (uint64 func (_Bridge *BridgeCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -795,7 +772,6 @@ func (_Bridge *BridgeCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -818,7 +794,6 @@ func (_Bridge *BridgeCallerSession) HandledRequestTx(arg0 [32]byte) (bool, error func (_Bridge *BridgeCaller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -826,7 +801,6 @@ func (_Bridge *BridgeCaller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Addr out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -849,7 +823,6 @@ func (_Bridge *BridgeCallerSession) IndexOfTokens(arg0 common.Address) (*big.Int func (_Bridge *BridgeCaller) IsLockedKLAY(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "isLockedKLAY") - if err != nil { return *new(bool), err } @@ -857,7 +830,6 @@ func (_Bridge *BridgeCaller) IsLockedKLAY(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsLockedKLAY is a free data retrieval call binding the contract method 0xf1719966. @@ -880,7 +852,6 @@ func (_Bridge *BridgeCallerSession) IsLockedKLAY() (bool, error) { func (_Bridge *BridgeCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -888,7 +859,6 @@ func (_Bridge *BridgeCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -911,7 +881,6 @@ func (_Bridge *BridgeCallerSession) IsOwner() (bool, error) { func (_Bridge *BridgeCaller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -919,7 +888,6 @@ func (_Bridge *BridgeCaller) IsRunning(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -942,7 +910,6 @@ func (_Bridge *BridgeCallerSession) IsRunning() (bool, error) { func (_Bridge *BridgeCaller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -950,7 +917,6 @@ func (_Bridge *BridgeCaller) LockedTokens(opts *bind.CallOpts, arg0 common.Addre out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -973,7 +939,6 @@ func (_Bridge *BridgeCallerSession) LockedTokens(arg0 common.Address) (bool, err func (_Bridge *BridgeCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -981,7 +946,6 @@ func (_Bridge *BridgeCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, erro out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -1004,7 +968,6 @@ func (_Bridge *BridgeCallerSession) LowerHandleNonce() (uint64, error) { func (_Bridge *BridgeCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -1012,7 +975,6 @@ func (_Bridge *BridgeCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -1035,7 +997,6 @@ func (_Bridge *BridgeCallerSession) ModeMintBurn() (bool, error) { func (_Bridge *BridgeCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -1043,7 +1004,6 @@ func (_Bridge *BridgeCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -1066,7 +1026,6 @@ func (_Bridge *BridgeCallerSession) OperatorList(arg0 *big.Int) (common.Address, func (_Bridge *BridgeCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -1074,7 +1033,6 @@ func (_Bridge *BridgeCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -1097,7 +1055,6 @@ func (_Bridge *BridgeCallerSession) OperatorThresholds(arg0 uint8) (uint8, error func (_Bridge *BridgeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -1105,7 +1062,6 @@ func (_Bridge *BridgeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -1128,7 +1084,6 @@ func (_Bridge *BridgeCallerSession) Operators(arg0 common.Address) (bool, error) func (_Bridge *BridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -1136,7 +1091,6 @@ func (_Bridge *BridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -1159,7 +1113,6 @@ func (_Bridge *BridgeCallerSession) Owner() (common.Address, error) { func (_Bridge *BridgeCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -1167,7 +1120,6 @@ func (_Bridge *BridgeCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, e out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -1190,7 +1142,6 @@ func (_Bridge *BridgeCallerSession) RecoveryBlockNumber() (uint64, error) { func (_Bridge *BridgeCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -1198,7 +1149,6 @@ func (_Bridge *BridgeCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -1221,7 +1171,6 @@ func (_Bridge *BridgeCallerSession) RegisteredTokenList(arg0 *big.Int) (common.A func (_Bridge *BridgeCaller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -1229,7 +1178,6 @@ func (_Bridge *BridgeCaller) RegisteredTokens(opts *bind.CallOpts, arg0 common.A out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -1252,7 +1200,6 @@ func (_Bridge *BridgeCallerSession) RegisteredTokens(arg0 common.Address) (commo func (_Bridge *BridgeCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -1260,7 +1207,6 @@ func (_Bridge *BridgeCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -1283,7 +1229,6 @@ func (_Bridge *BridgeCallerSession) RequestNonce() (uint64, error) { func (_Bridge *BridgeCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _Bridge.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -1291,7 +1236,6 @@ func (_Bridge *BridgeCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, erro out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -1932,7 +1876,6 @@ type BridgeERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_Bridge *BridgeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -1953,7 +1896,6 @@ func (_Bridge *BridgeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, toke // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_Bridge *BridgeFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2083,7 +2025,6 @@ type BridgeFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_Bridge *BridgeFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -2100,7 +2041,6 @@ func (_Bridge *BridgeFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, f // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_Bridge *BridgeFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -2234,7 +2174,6 @@ type BridgeHandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_Bridge *BridgeFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeHandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2259,7 +2198,6 @@ func (_Bridge *BridgeFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_Bridge *BridgeFilterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeHandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2393,7 +2331,6 @@ type BridgeKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_Bridge *BridgeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -2410,7 +2347,6 @@ func (_Bridge *BridgeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee [ // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_Bridge *BridgeFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -2535,7 +2471,6 @@ type BridgeKLAYLocked struct { // // Solidity: event KLAYLocked() func (_Bridge *BridgeFilterer) FilterKLAYLocked(opts *bind.FilterOpts) (*BridgeKLAYLockedIterator, error) { - logs, sub, err := _Bridge.contract.FilterLogs(opts, "KLAYLocked") if err != nil { return nil, err @@ -2547,7 +2482,6 @@ func (_Bridge *BridgeFilterer) FilterKLAYLocked(opts *bind.FilterOpts) (*BridgeK // // Solidity: event KLAYLocked() func (_Bridge *BridgeFilterer) WatchKLAYLocked(opts *bind.WatchOpts, sink chan<- *BridgeKLAYLocked) (event.Subscription, error) { - logs, sub, err := _Bridge.contract.WatchLogs(opts, "KLAYLocked") if err != nil { return nil, err @@ -2667,7 +2601,6 @@ type BridgeKLAYUnlocked struct { // // Solidity: event KLAYUnlocked() func (_Bridge *BridgeFilterer) FilterKLAYUnlocked(opts *bind.FilterOpts) (*BridgeKLAYUnlockedIterator, error) { - logs, sub, err := _Bridge.contract.FilterLogs(opts, "KLAYUnlocked") if err != nil { return nil, err @@ -2679,7 +2612,6 @@ func (_Bridge *BridgeFilterer) FilterKLAYUnlocked(opts *bind.FilterOpts) (*Bridg // // Solidity: event KLAYUnlocked() func (_Bridge *BridgeFilterer) WatchKLAYUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeKLAYUnlocked) (event.Subscription, error) { - logs, sub, err := _Bridge.contract.WatchLogs(opts, "KLAYUnlocked") if err != nil { return nil, err @@ -2801,7 +2733,6 @@ type BridgeOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2822,7 +2753,6 @@ func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Bridge *BridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2959,7 +2889,6 @@ type BridgeRequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_Bridge *BridgeFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeRequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2984,7 +2913,6 @@ func (_Bridge *BridgeFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_Bridge *BridgeFilterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeRequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3127,7 +3055,6 @@ type BridgeRequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_Bridge *BridgeFilterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeRequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3152,7 +3079,6 @@ func (_Bridge *BridgeFilterer) FilterRequestValueTransferEncoded(opts *bind.Filt // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_Bridge *BridgeFilterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeRequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3286,7 +3212,6 @@ type BridgeTokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_Bridge *BridgeFilterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3303,7 +3228,6 @@ func (_Bridge *BridgeFilterer) FilterTokenDeregistered(opts *bind.FilterOpts, to // // Solidity: event TokenDeregistered(address indexed token) func (_Bridge *BridgeFilterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3429,7 +3353,6 @@ type BridgeTokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_Bridge *BridgeFilterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3446,7 +3369,6 @@ func (_Bridge *BridgeFilterer) FilterTokenLocked(opts *bind.FilterOpts, token [] // // Solidity: event TokenLocked(address indexed token) func (_Bridge *BridgeFilterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3572,7 +3494,6 @@ type BridgeTokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_Bridge *BridgeFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3589,7 +3510,6 @@ func (_Bridge *BridgeFilterer) FilterTokenRegistered(opts *bind.FilterOpts, toke // // Solidity: event TokenRegistered(address indexed token) func (_Bridge *BridgeFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3715,7 +3635,6 @@ type BridgeTokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_Bridge *BridgeFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3732,7 +3651,6 @@ func (_Bridge *BridgeFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, token // // Solidity: event TokenUnlocked(address indexed token) func (_Bridge *BridgeFilterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3975,7 +3893,6 @@ func (_BridgeCounterPart *BridgeCounterPartTransactorRaw) Transact(opts *bind.Tr func (_BridgeCounterPart *BridgeCounterPartCaller) CounterpartBridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeCounterPart.contract.Call(opts, &out, "counterpartBridge") - if err != nil { return *new(common.Address), err } @@ -3983,7 +3900,6 @@ func (_BridgeCounterPart *BridgeCounterPartCaller) CounterpartBridge(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // CounterpartBridge is a free data retrieval call binding the contract method 0x3a348533. @@ -4006,7 +3922,6 @@ func (_BridgeCounterPart *BridgeCounterPartCallerSession) CounterpartBridge() (c func (_BridgeCounterPart *BridgeCounterPartCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeCounterPart.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -4014,7 +3929,6 @@ func (_BridgeCounterPart *BridgeCounterPartCaller) IsOwner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -4037,7 +3951,6 @@ func (_BridgeCounterPart *BridgeCounterPartCallerSession) IsOwner() (bool, error func (_BridgeCounterPart *BridgeCounterPartCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeCounterPart.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -4045,7 +3958,6 @@ func (_BridgeCounterPart *BridgeCounterPartCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -4203,7 +4115,6 @@ type BridgeCounterPartOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeCounterPart *BridgeCounterPartFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeCounterPartOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4224,7 +4135,6 @@ func (_BridgeCounterPart *BridgeCounterPartFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeCounterPart *BridgeCounterPartFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeCounterPartOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4446,7 +4356,6 @@ func (_BridgeFee *BridgeFeeTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_BridgeFee *BridgeFeeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -4454,7 +4363,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.A out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -4477,7 +4385,6 @@ func (_BridgeFee *BridgeFeeCallerSession) FeeOfERC20(arg0 common.Address) (*big. func (_BridgeFee *BridgeFeeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -4485,7 +4392,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, err out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -4508,7 +4414,6 @@ func (_BridgeFee *BridgeFeeCallerSession) FeeOfKLAY() (*big.Int, error) { func (_BridgeFee *BridgeFeeCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -4516,7 +4421,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeReceiver(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -4611,7 +4515,6 @@ type BridgeFeeERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeFeeERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -4632,7 +4535,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -4762,7 +4664,6 @@ type BridgeFeeFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeFee *BridgeFeeFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeFeeFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -4779,7 +4680,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterFeeReceiverChanged(opts *bind.FilterO // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeFee *BridgeFeeFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -4905,7 +4805,6 @@ type BridgeFeeKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeFeeKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -4922,7 +4821,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -5160,7 +5058,6 @@ func (_BridgeHandledRequests *BridgeHandledRequestsTransactorRaw) Transact(opts func (_BridgeHandledRequests *BridgeHandledRequestsCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeHandledRequests.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -5168,7 +5065,6 @@ func (_BridgeHandledRequests *BridgeHandledRequestsCaller) HandledRequestTx(opts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -5365,7 +5261,6 @@ func (_BridgeOperator *BridgeOperatorTransactorRaw) Transact(opts *bind.Transact func (_BridgeOperator *BridgeOperatorCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -5373,7 +5268,6 @@ func (_BridgeOperator *BridgeOperatorCaller) MAXOPERATOR(opts *bind.CallOpts) (u out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -5396,7 +5290,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) MAXOPERATOR() (uint64, error func (_BridgeOperator *BridgeOperatorCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -5404,7 +5297,6 @@ func (_BridgeOperator *BridgeOperatorCaller) ClosedValueTransferVotes(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -5427,7 +5319,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) ClosedValueTransferVotes(arg func (_BridgeOperator *BridgeOperatorCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -5435,7 +5326,6 @@ func (_BridgeOperator *BridgeOperatorCaller) ConfigurationNonce(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -5458,7 +5348,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) ConfigurationNonce() (uint64 func (_BridgeOperator *BridgeOperatorCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -5466,7 +5355,6 @@ func (_BridgeOperator *BridgeOperatorCaller) GetOperatorList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -5489,7 +5377,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) GetOperatorList() ([]common. func (_BridgeOperator *BridgeOperatorCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -5497,7 +5384,6 @@ func (_BridgeOperator *BridgeOperatorCaller) IsOwner(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -5520,7 +5406,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) IsOwner() (bool, error) { func (_BridgeOperator *BridgeOperatorCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -5528,7 +5413,6 @@ func (_BridgeOperator *BridgeOperatorCaller) OperatorList(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -5551,7 +5435,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) OperatorList(arg0 *big.Int) func (_BridgeOperator *BridgeOperatorCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -5559,7 +5442,6 @@ func (_BridgeOperator *BridgeOperatorCaller) OperatorThresholds(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -5582,7 +5464,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) OperatorThresholds(arg0 uint func (_BridgeOperator *BridgeOperatorCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -5590,7 +5471,6 @@ func (_BridgeOperator *BridgeOperatorCaller) Operators(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -5613,7 +5493,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) Operators(arg0 common.Addres func (_BridgeOperator *BridgeOperatorCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -5621,7 +5500,6 @@ func (_BridgeOperator *BridgeOperatorCaller) Owner(opts *bind.CallOpts) (common. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -5821,7 +5699,6 @@ type BridgeOperatorOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeOperator *BridgeOperatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOperatorOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -5842,7 +5719,6 @@ func (_BridgeOperator *BridgeOperatorFilterer) FilterOwnershipTransferred(opts * // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeOperator *BridgeOperatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOperatorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6096,7 +5972,6 @@ func (_BridgeTokens *BridgeTokensTransactorRaw) Transact(opts *bind.TransactOpts func (_BridgeTokens *BridgeTokensCaller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -6104,7 +5979,6 @@ func (_BridgeTokens *BridgeTokensCaller) GetRegisteredTokenList(opts *bind.CallO out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -6127,7 +6001,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) GetRegisteredTokenList() ([]comm func (_BridgeTokens *BridgeTokensCaller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -6135,7 +6008,6 @@ func (_BridgeTokens *BridgeTokensCaller) IndexOfTokens(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -6158,7 +6030,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) IndexOfTokens(arg0 common.Addres func (_BridgeTokens *BridgeTokensCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -6166,7 +6037,6 @@ func (_BridgeTokens *BridgeTokensCaller) IsOwner(opts *bind.CallOpts) (bool, err out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -6189,7 +6059,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) IsOwner() (bool, error) { func (_BridgeTokens *BridgeTokensCaller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -6197,7 +6066,6 @@ func (_BridgeTokens *BridgeTokensCaller) LockedTokens(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -6220,7 +6088,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) LockedTokens(arg0 common.Address func (_BridgeTokens *BridgeTokensCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -6228,7 +6095,6 @@ func (_BridgeTokens *BridgeTokensCaller) Owner(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -6251,7 +6117,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) Owner() (common.Address, error) func (_BridgeTokens *BridgeTokensCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -6259,7 +6124,6 @@ func (_BridgeTokens *BridgeTokensCaller) RegisteredTokenList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -6282,7 +6146,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) RegisteredTokenList(arg0 *big.In func (_BridgeTokens *BridgeTokensCaller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -6290,7 +6153,6 @@ func (_BridgeTokens *BridgeTokensCaller) RegisteredTokens(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -6511,7 +6373,6 @@ type BridgeTokensOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTokens *BridgeTokensFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTokensOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6532,7 +6393,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterOwnershipTransferred(opts *bind // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTokens *BridgeTokensFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTokensOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6662,7 +6522,6 @@ type BridgeTokensTokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6679,7 +6538,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenDeregistered(opts *bind.Fi // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6805,7 +6663,6 @@ type BridgeTokensTokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6822,7 +6679,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenLocked(opts *bind.FilterOp // // Solidity: event TokenLocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6948,7 +6804,6 @@ type BridgeTokensTokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6965,7 +6820,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenRegistered(opts *bind.Filt // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7091,7 +6945,6 @@ type BridgeTokensTokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7108,7 +6961,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenUnlocked(opts *bind.Filter // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7350,7 +7202,6 @@ func (_BridgeTransfer *BridgeTransferTransactorRaw) Transact(opts *bind.Transact func (_BridgeTransfer *BridgeTransferCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -7358,7 +7209,6 @@ func (_BridgeTransfer *BridgeTransferCaller) MAXOPERATOR(opts *bind.CallOpts) (u out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -7381,7 +7231,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) MAXOPERATOR() (uint64, error func (_BridgeTransfer *BridgeTransferCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -7389,7 +7238,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ClosedValueTransferVotes(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -7412,7 +7260,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ClosedValueTransferVotes(arg func (_BridgeTransfer *BridgeTransferCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -7420,7 +7267,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ConfigurationNonce(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -7443,7 +7289,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ConfigurationNonce() (uint64 func (_BridgeTransfer *BridgeTransferCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -7451,7 +7296,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeOfERC20(opts *bind.CallOpts, arg out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -7474,7 +7318,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeOfERC20(arg0 common.Addre func (_BridgeTransfer *BridgeTransferCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -7482,7 +7325,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeOfKLAY(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -7505,7 +7347,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeOfKLAY() (*big.Int, error func (_BridgeTransfer *BridgeTransferCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -7513,7 +7354,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeReceiver(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -7536,7 +7376,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeReceiver() (common.Addres func (_BridgeTransfer *BridgeTransferCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -7544,7 +7383,6 @@ func (_BridgeTransfer *BridgeTransferCaller) GetOperatorList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -7567,7 +7405,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) GetOperatorList() ([]common. func (_BridgeTransfer *BridgeTransferCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -7575,7 +7412,6 @@ func (_BridgeTransfer *BridgeTransferCaller) HandleNoncesToBlockNums(opts *bind. out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -7598,7 +7434,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) HandleNoncesToBlockNums(arg0 func (_BridgeTransfer *BridgeTransferCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -7606,7 +7441,6 @@ func (_BridgeTransfer *BridgeTransferCaller) HandledRequestTx(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -7629,7 +7463,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) HandledRequestTx(arg0 [32]by func (_BridgeTransfer *BridgeTransferCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -7637,7 +7470,6 @@ func (_BridgeTransfer *BridgeTransferCaller) IsOwner(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -7660,7 +7492,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) IsOwner() (bool, error) { func (_BridgeTransfer *BridgeTransferCaller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -7668,7 +7499,6 @@ func (_BridgeTransfer *BridgeTransferCaller) IsRunning(opts *bind.CallOpts) (boo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -7691,7 +7521,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) IsRunning() (bool, error) { func (_BridgeTransfer *BridgeTransferCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -7699,7 +7528,6 @@ func (_BridgeTransfer *BridgeTransferCaller) LowerHandleNonce(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -7722,7 +7550,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) LowerHandleNonce() (uint64, func (_BridgeTransfer *BridgeTransferCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -7730,7 +7557,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ModeMintBurn(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -7753,7 +7579,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ModeMintBurn() (bool, error) func (_BridgeTransfer *BridgeTransferCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -7761,7 +7586,6 @@ func (_BridgeTransfer *BridgeTransferCaller) OperatorList(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -7784,7 +7608,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) OperatorList(arg0 *big.Int) func (_BridgeTransfer *BridgeTransferCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -7792,7 +7615,6 @@ func (_BridgeTransfer *BridgeTransferCaller) OperatorThresholds(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -7815,7 +7637,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) OperatorThresholds(arg0 uint func (_BridgeTransfer *BridgeTransferCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -7823,7 +7644,6 @@ func (_BridgeTransfer *BridgeTransferCaller) Operators(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -7846,7 +7666,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) Operators(arg0 common.Addres func (_BridgeTransfer *BridgeTransferCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -7854,7 +7673,6 @@ func (_BridgeTransfer *BridgeTransferCaller) Owner(opts *bind.CallOpts) (common. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -7877,7 +7695,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) Owner() (common.Address, err func (_BridgeTransfer *BridgeTransferCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -7885,7 +7702,6 @@ func (_BridgeTransfer *BridgeTransferCaller) RecoveryBlockNumber(opts *bind.Call out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -7908,7 +7724,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) RecoveryBlockNumber() (uint6 func (_BridgeTransfer *BridgeTransferCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -7916,7 +7731,6 @@ func (_BridgeTransfer *BridgeTransferCaller) RequestNonce(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -7939,7 +7753,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) RequestNonce() (uint64, erro func (_BridgeTransfer *BridgeTransferCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -7947,7 +7760,6 @@ func (_BridgeTransfer *BridgeTransferCaller) UpperHandleNonce(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -8189,7 +8001,6 @@ type BridgeTransferERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -8210,7 +8021,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterERC20FeeChanged(opts *bind. // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -8340,7 +8150,6 @@ type BridgeTransferFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransfer *BridgeTransferFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -8357,7 +8166,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterFeeReceiverChanged(opts *bi // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransfer *BridgeTransferFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -8491,7 +8299,6 @@ type BridgeTransferHandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferHandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -8516,7 +8323,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterHandleValueTransfer(opts *b // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferHandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -8650,7 +8456,6 @@ type BridgeTransferKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -8667,7 +8472,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterKLAYFeeChanged(opts *bind.F // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -8794,7 +8598,6 @@ type BridgeTransferOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransfer *BridgeTransferFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8815,7 +8618,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterOwnershipTransferred(opts * // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransfer *BridgeTransferFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8952,7 +8754,6 @@ type BridgeTransferRequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferRequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -8977,7 +8778,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransfer(opts * // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferRequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9120,7 +8920,6 @@ type BridgeTransferRequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferRequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9145,7 +8944,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransferEncoded // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransfer *BridgeTransferFilterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferRequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9408,7 +9206,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20TransactorRaw) Transact(opts *bin func (_BridgeTransferERC20 *BridgeTransferERC20Caller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -9416,7 +9213,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) MAXOPERATOR(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -9439,7 +9235,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) MAXOPERATOR() (uin func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -9447,7 +9242,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ClosedValueTransferVotes( out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -9470,7 +9264,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ClosedValueTransfe func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -9478,7 +9271,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ConfigurationNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -9501,7 +9293,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ConfigurationNonce func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -9509,7 +9300,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfERC20(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -9532,7 +9322,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeOfERC20(arg0 co func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -9540,7 +9329,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfKLAY(opts *bind.Call out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -9563,7 +9351,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeOfKLAY() (*big. func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -9571,7 +9358,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeReceiver(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -9594,7 +9380,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeReceiver() (com func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -9602,7 +9387,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetOperatorList(opts *bin out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -9625,7 +9409,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) GetOperatorList() func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -9633,7 +9416,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetRegisteredTokenList(op out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -9656,7 +9438,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) GetRegisteredToken func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -9664,7 +9445,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandleNoncesToBlockNums(o out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -9687,7 +9467,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) HandleNoncesToBloc func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -9695,7 +9474,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandledRequestTx(opts *bi out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -9718,7 +9496,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) HandledRequestTx(a func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -9726,7 +9503,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IndexOfTokens(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -9749,7 +9525,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IndexOfTokens(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -9757,7 +9532,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsOwner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -9780,7 +9554,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IsOwner() (bool, e func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -9788,7 +9561,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsRunning(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -9811,7 +9583,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IsRunning() (bool, func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -9819,7 +9590,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LockedTokens(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -9842,7 +9612,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) LockedTokens(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -9850,7 +9619,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LowerHandleNonce(opts *bi out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -9873,7 +9641,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) LowerHandleNonce() func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -9881,7 +9648,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ModeMintBurn(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -9904,7 +9670,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ModeMintBurn() (bo func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -9912,7 +9677,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorList(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -9935,7 +9699,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) OperatorList(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -9943,7 +9706,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorThresholds(opts * out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -9966,7 +9728,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) OperatorThresholds func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -9974,7 +9735,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Operators(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -9997,7 +9757,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) Operators(arg0 com func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -10005,7 +9764,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Owner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -10028,7 +9786,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) Owner() (common.Ad func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -10036,7 +9793,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RecoveryBlockNumber(opts out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -10059,7 +9815,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RecoveryBlockNumbe func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -10067,7 +9822,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokenList(opts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -10090,7 +9844,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RegisteredTokenLis func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -10098,7 +9851,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokens(opts *bi out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -10121,7 +9873,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RegisteredTokens(a func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -10129,7 +9880,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RequestNonce(opts *bind.C out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -10152,7 +9902,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RequestNonce() (ui func (_BridgeTransferERC20 *BridgeTransferERC20Caller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -10160,7 +9909,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) UpperHandleNonce(opts *bi out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -10570,7 +10318,6 @@ type BridgeTransferERC20ERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC20ERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10591,7 +10338,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterERC20FeeChanged(o // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20ERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10721,7 +10467,6 @@ type BridgeTransferERC20FeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferERC20FeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -10738,7 +10483,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterFeeReceiverChange // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20FeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -10872,7 +10616,6 @@ type BridgeTransferERC20HandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20HandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10897,7 +10640,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterHandleValueTransf // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20HandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11031,7 +10773,6 @@ type BridgeTransferERC20KLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferERC20KLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -11048,7 +10789,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterKLAYFeeChanged(op // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20KLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -11175,7 +10915,6 @@ type BridgeTransferERC20OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferERC20OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -11196,7 +10935,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterOwnershipTransfer // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -11333,7 +11071,6 @@ type BridgeTransferERC20RequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20RequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11358,7 +11095,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTrans // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20RequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11501,7 +11237,6 @@ type BridgeTransferERC20RequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20RequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11526,7 +11261,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTrans // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20RequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11660,7 +11394,6 @@ type BridgeTransferERC20TokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11677,7 +11410,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenDeregistered // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11803,7 +11535,6 @@ type BridgeTransferERC20TokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11820,7 +11551,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenLocked(opts // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11946,7 +11676,6 @@ type BridgeTransferERC20TokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11963,7 +11692,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenRegistered(o // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -12089,7 +11817,6 @@ type BridgeTransferERC20TokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -12106,7 +11833,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenUnlocked(opt // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -12360,7 +12086,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721TransactorRaw) Transact(opts *b func (_BridgeTransferERC721 *BridgeTransferERC721Caller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -12368,7 +12093,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) MAXOPERATOR(opts *bind. out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -12391,7 +12115,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) MAXOPERATOR() (u func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -12399,7 +12122,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ClosedValueTransferVote out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -12422,7 +12144,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ClosedValueTrans func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -12430,7 +12151,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ConfigurationNonce(opts out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -12453,7 +12173,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ConfigurationNon func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -12461,7 +12180,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfERC20(opts *bind.C out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -12484,7 +12202,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeOfERC20(arg0 func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -12492,7 +12209,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfKLAY(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -12515,7 +12231,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeOfKLAY() (*bi func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -12523,7 +12238,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeReceiver(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -12546,7 +12260,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeReceiver() (c func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -12554,7 +12267,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetOperatorList(opts *b out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -12577,7 +12289,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) GetOperatorList( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -12585,7 +12296,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetRegisteredTokenList( out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -12608,7 +12318,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) GetRegisteredTok func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -12616,7 +12325,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandleNoncesToBlockNums out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -12639,7 +12347,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) HandleNoncesToBl func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -12647,7 +12354,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandledRequestTx(opts * out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -12670,7 +12376,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) HandledRequestTx func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -12678,7 +12383,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IndexOfTokens(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -12701,7 +12405,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IndexOfTokens(ar func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -12709,7 +12412,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsOwner(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -12732,7 +12434,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IsOwner() (bool, func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -12740,7 +12441,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsRunning(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -12763,7 +12463,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IsRunning() (boo func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -12771,7 +12470,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LockedTokens(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -12794,7 +12492,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) LockedTokens(arg func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -12802,7 +12499,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LowerHandleNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -12825,7 +12521,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) LowerHandleNonce func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -12833,7 +12528,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ModeMintBurn(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -12856,7 +12550,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ModeMintBurn() ( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -12864,7 +12557,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorList(opts *bind out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -12887,7 +12579,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) OperatorList(arg func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -12895,7 +12586,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorThresholds(opts out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -12918,7 +12608,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) OperatorThreshol func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -12926,7 +12615,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Operators(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -12949,7 +12637,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) Operators(arg0 c func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -12957,7 +12644,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Owner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -12980,7 +12666,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) Owner() (common. func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -12988,7 +12673,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RecoveryBlockNumber(opt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -13011,7 +12695,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RecoveryBlockNum func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -13019,7 +12702,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokenList(opt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -13042,7 +12724,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RegisteredTokenL func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -13050,7 +12731,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokens(opts * out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -13073,7 +12753,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RegisteredTokens func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -13081,7 +12760,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RequestNonce(opts *bind out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -13104,7 +12782,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RequestNonce() ( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -13112,7 +12789,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) UpperHandleNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -13501,7 +13177,6 @@ type BridgeTransferERC721ERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC721ERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -13522,7 +13197,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterERC20FeeChanged // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721ERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -13652,7 +13326,6 @@ type BridgeTransferERC721FeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferERC721FeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -13669,7 +13342,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterFeeReceiverChan // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721FeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -13803,7 +13475,6 @@ type BridgeTransferERC721HandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721HandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -13828,7 +13499,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterHandleValueTran // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721HandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -13962,7 +13632,6 @@ type BridgeTransferERC721KLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferERC721KLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -13979,7 +13648,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterKLAYFeeChanged( // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721KLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -14106,7 +13774,6 @@ type BridgeTransferERC721OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferERC721OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -14127,7 +13794,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterOwnershipTransf // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -14264,7 +13930,6 @@ type BridgeTransferERC721RequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721RequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14289,7 +13954,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTra // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721RequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14432,7 +14096,6 @@ type BridgeTransferERC721RequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721RequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14457,7 +14120,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTra // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721RequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14591,7 +14253,6 @@ type BridgeTransferERC721TokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -14608,7 +14269,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenDeregister // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -14734,7 +14394,6 @@ type BridgeTransferERC721TokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -14751,7 +14410,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenLocked(opt // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -14877,7 +14535,6 @@ type BridgeTransferERC721TokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -14894,7 +14551,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenRegistered // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -15020,7 +14676,6 @@ type BridgeTransferERC721TokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -15037,7 +14692,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenUnlocked(o // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -15286,7 +14940,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYTransactorRaw) Transact(opts *bind. func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -15294,7 +14947,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) MAXOPERATOR(opts *bind.Call out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -15317,7 +14969,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) MAXOPERATOR() (uint6 func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -15325,7 +14976,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ClosedValueTransferVotes(op out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -15348,7 +14998,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) ClosedValueTransferV func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -15356,7 +15005,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ConfigurationNonce(opts *bi out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -15379,7 +15027,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) ConfigurationNonce() func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -15387,7 +15034,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeOfERC20(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -15410,7 +15056,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) FeeOfERC20(arg0 comm func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -15418,7 +15063,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeOfKLAY(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -15441,7 +15085,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) FeeOfKLAY() (*big.In func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -15449,7 +15092,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) FeeReceiver(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -15472,7 +15114,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) FeeReceiver() (commo func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -15480,7 +15121,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) GetOperatorList(opts *bind. out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -15503,7 +15143,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) GetOperatorList() ([ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -15511,7 +15150,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) HandleNoncesToBlockNums(opt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -15534,7 +15172,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) HandleNoncesToBlockN func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -15542,7 +15179,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) HandledRequestTx(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -15565,7 +15201,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) HandledRequestTx(arg func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsLockedKLAY(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "isLockedKLAY") - if err != nil { return *new(bool), err } @@ -15573,7 +15208,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsLockedKLAY(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsLockedKLAY is a free data retrieval call binding the contract method 0xf1719966. @@ -15596,7 +15230,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) IsLockedKLAY() (bool func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -15604,7 +15237,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsOwner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -15627,7 +15259,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) IsOwner() (bool, err func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -15635,7 +15266,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) IsRunning(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -15658,7 +15288,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) IsRunning() (bool, e func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -15666,7 +15295,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) LowerHandleNonce(opts *bind out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -15689,7 +15317,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) LowerHandleNonce() ( func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -15697,7 +15324,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) ModeMintBurn(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -15720,7 +15346,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) ModeMintBurn() (bool func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -15728,7 +15353,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) OperatorList(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -15751,7 +15375,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) OperatorList(arg0 *b func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -15759,7 +15382,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) OperatorThresholds(opts *bi out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -15782,7 +15404,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) OperatorThresholds(a func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -15790,7 +15411,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) Operators(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -15813,7 +15433,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) Operators(arg0 commo func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -15821,7 +15440,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) Owner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -15844,7 +15462,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) Owner() (common.Addr func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -15852,7 +15469,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) RecoveryBlockNumber(opts *b out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -15875,7 +15491,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) RecoveryBlockNumber( func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -15883,7 +15498,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) RequestNonce(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -15906,7 +15520,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCallerSession) RequestNonce() (uint func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferKLAY.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -15914,7 +15527,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYCaller) UpperHandleNonce(opts *bind out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -16303,7 +15915,6 @@ type BridgeTransferKLAYERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferKLAYERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -16324,7 +15935,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterERC20FeeChanged(opt // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -16454,7 +16064,6 @@ type BridgeTransferKLAYFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferKLAYFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -16471,7 +16080,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterFeeReceiverChanged( // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -16605,7 +16213,6 @@ type BridgeTransferKLAYHandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferKLAYHandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -16630,7 +16237,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterHandleValueTransfer // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYHandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -16764,7 +16370,6 @@ type BridgeTransferKLAYKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferKLAYKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -16781,7 +16386,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYFeeChanged(opts // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -16906,7 +16510,6 @@ type BridgeTransferKLAYKLAYLocked struct { // // Solidity: event KLAYLocked() func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYLocked(opts *bind.FilterOpts) (*BridgeTransferKLAYKLAYLockedIterator, error) { - logs, sub, err := _BridgeTransferKLAY.contract.FilterLogs(opts, "KLAYLocked") if err != nil { return nil, err @@ -16918,7 +16521,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYLocked(opts *bi // // Solidity: event KLAYLocked() func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchKLAYLocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYKLAYLocked) (event.Subscription, error) { - logs, sub, err := _BridgeTransferKLAY.contract.WatchLogs(opts, "KLAYLocked") if err != nil { return nil, err @@ -17038,7 +16640,6 @@ type BridgeTransferKLAYKLAYUnlocked struct { // // Solidity: event KLAYUnlocked() func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYUnlocked(opts *bind.FilterOpts) (*BridgeTransferKLAYKLAYUnlockedIterator, error) { - logs, sub, err := _BridgeTransferKLAY.contract.FilterLogs(opts, "KLAYUnlocked") if err != nil { return nil, err @@ -17050,7 +16651,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterKLAYUnlocked(opts * // // Solidity: event KLAYUnlocked() func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchKLAYUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYKLAYUnlocked) (event.Subscription, error) { - logs, sub, err := _BridgeTransferKLAY.contract.WatchLogs(opts, "KLAYUnlocked") if err != nil { return nil, err @@ -17172,7 +16772,6 @@ type BridgeTransferKLAYOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferKLAYOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -17193,7 +16792,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterOwnershipTransferre // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -17330,7 +16928,6 @@ type BridgeTransferKLAYRequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferKLAYRequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17355,7 +16952,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterRequestValueTransfe // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYRequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17498,7 +17094,6 @@ type BridgeTransferKLAYRequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferKLAYRequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17523,7 +17118,6 @@ func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) FilterRequestValueTransfe // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferKLAY *BridgeTransferKLAYFilterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYRequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17923,7 +17517,6 @@ func (_ERC165 *ERC165TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -17931,7 +17524,6 @@ func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -18144,7 +17736,6 @@ func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method strin func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -18152,7 +17743,6 @@ func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -18175,7 +17765,6 @@ func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -18183,7 +17772,6 @@ func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -18206,7 +17794,6 @@ func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, e func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -18214,7 +17801,6 @@ func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -18415,7 +18001,6 @@ type ERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -18436,7 +18021,6 @@ func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []commo // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -18568,7 +18152,6 @@ type ERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -18589,7 +18172,6 @@ func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -18840,7 +18422,6 @@ func (_ERC20Burnable *ERC20BurnableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -18848,7 +18429,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -18871,7 +18451,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) Allowance(owner common.Address func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -18879,7 +18458,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -18902,7 +18480,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) BalanceOf(account common.Addre func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -18910,7 +18487,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -19153,7 +18729,6 @@ type ERC20BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -19174,7 +18749,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -19306,7 +18880,6 @@ type ERC20BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -19327,7 +18900,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -19580,7 +19152,6 @@ func (_ERC20Mintable *ERC20MintableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -19588,7 +19159,6 @@ func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -19611,7 +19181,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) Allowance(owner common.Address func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -19619,7 +19188,6 @@ func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -19642,7 +19210,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) BalanceOf(account common.Addre func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -19650,7 +19217,6 @@ func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -19673,7 +19239,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) IsMinter(account common.Addres func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -19681,7 +19246,6 @@ func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -19945,7 +19509,6 @@ type ERC20MintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -19966,7 +19529,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MintableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -20096,7 +19658,6 @@ type ERC20MintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -20113,7 +19674,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.Filter // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -20239,7 +19799,6 @@ type ERC20MintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -20256,7 +19815,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.Filt // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -20384,7 +19942,6 @@ type ERC20MintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -20405,7 +19962,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MintableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -20656,7 +20212,6 @@ func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -20664,7 +20219,6 @@ func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -20687,7 +20241,6 @@ func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, e func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -20695,7 +20248,6 @@ func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -20718,7 +20270,6 @@ func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addres func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -20726,7 +20277,6 @@ func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common. out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -20749,7 +20299,6 @@ func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, opera func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -20757,7 +20306,6 @@ func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (com out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -20780,7 +20328,6 @@ func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, e func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -20788,7 +20335,6 @@ func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -20989,7 +20535,6 @@ type ERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -21014,7 +20559,6 @@ func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -21150,7 +20694,6 @@ type ERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -21171,7 +20714,6 @@ func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -21303,7 +20845,6 @@ type ERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -21328,7 +20869,6 @@ func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -21584,7 +21124,6 @@ func (_ERC721Burnable *ERC721BurnableTransactorRaw) Transact(opts *bind.Transact func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -21592,7 +21131,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -21615,7 +21153,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) BalanceOf(owner common.Addre func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -21623,7 +21160,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -21646,7 +21182,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) GetApproved(tokenId *big.Int func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -21654,7 +21189,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -21677,7 +21211,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) IsApprovedForAll(owner commo func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -21685,7 +21218,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -21708,7 +21240,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -21716,7 +21247,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -21938,7 +21468,6 @@ type ERC721BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -21963,7 +21492,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22099,7 +21627,6 @@ type ERC721BurnableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721BurnableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22120,7 +21647,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22252,7 +21778,6 @@ type ERC721BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -22277,7 +21802,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721BurnableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -22535,7 +22059,6 @@ func (_ERC721Metadata *ERC721MetadataTransactorRaw) Transact(opts *bind.Transact func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -22543,7 +22066,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -22566,7 +22088,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) BalanceOf(owner common.Addre func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -22574,7 +22095,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -22597,7 +22117,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) GetApproved(tokenId *big.Int func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -22605,7 +22124,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -22628,7 +22146,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) IsApprovedForAll(owner commo func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -22636,7 +22153,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -22659,7 +22175,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Name() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -22667,7 +22182,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -22690,7 +22204,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -22698,7 +22211,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -22721,7 +22233,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) SupportsInterface(interfaceI func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -22729,7 +22240,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -22752,7 +22262,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Symbol() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -22760,7 +22269,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, token out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -22961,7 +22469,6 @@ type ERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22986,7 +22493,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23122,7 +22628,6 @@ type ERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23143,7 +22648,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23275,7 +22779,6 @@ type ERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -23300,7 +22803,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -23540,7 +23042,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableTransactorRaw) Transact(opt func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -23548,7 +23049,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -23571,7 +23071,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) BalanceOf(ow func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -23579,7 +23078,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *b out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -23602,7 +23100,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) GetApproved( func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -23610,7 +23107,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(op out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -23633,7 +23129,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsApprovedFo func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -23641,7 +23136,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -23664,7 +23158,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsMinter(acc func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -23672,7 +23165,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -23695,7 +23187,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Name() (stri func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -23703,7 +23194,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -23726,7 +23216,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) OwnerOf(toke func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -23734,7 +23223,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(o out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -23757,7 +23245,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) SupportsInte func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -23765,7 +23252,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.C out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -23788,7 +23274,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Symbol() (st func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -23796,7 +23281,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -24060,7 +23544,6 @@ type ERC721MetadataMintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24085,7 +23568,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(op // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24221,7 +23703,6 @@ type ERC721MetadataMintableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataMintableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24242,7 +23723,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalFor // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24372,7 +23852,6 @@ type ERC721MetadataMintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -24389,7 +23868,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -24515,7 +23993,6 @@ type ERC721MetadataMintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -24532,7 +24009,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemov // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -24660,7 +24136,6 @@ type ERC721MetadataMintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -24685,7 +24160,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(op // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -24909,7 +24383,6 @@ func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -24917,7 +24390,6 @@ func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -25106,7 +24578,6 @@ func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -25114,7 +24585,6 @@ func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -25137,7 +24607,6 @@ func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender comm func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -25145,7 +24614,6 @@ func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -25168,7 +24636,6 @@ func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -25176,7 +24643,6 @@ func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -25335,7 +24801,6 @@ type IERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -25356,7 +24821,6 @@ func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -25488,7 +24952,6 @@ type IERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -25509,7 +24972,6 @@ func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -25920,7 +25382,6 @@ func (_IERC721 *IERC721TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -25928,7 +25389,6 @@ func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -25951,7 +25411,6 @@ func (_IERC721 *IERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -25959,7 +25418,6 @@ func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -25982,7 +25440,6 @@ func (_IERC721 *IERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addr func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -25990,7 +25447,6 @@ func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -26013,7 +25469,6 @@ func (_IERC721 *IERC721CallerSession) IsApprovedForAll(owner common.Address, ope func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -26021,7 +25476,6 @@ func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -26044,7 +25498,6 @@ func (_IERC721 *IERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -26052,7 +25505,6 @@ func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -26253,7 +25705,6 @@ type IERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -26278,7 +25729,6 @@ func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []c // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -26414,7 +25864,6 @@ type IERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -26435,7 +25884,6 @@ func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, own // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -26567,7 +26015,6 @@ type IERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -26592,7 +26039,6 @@ func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []co // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -27010,7 +26456,6 @@ func (_IERC721Metadata *IERC721MetadataTransactorRaw) Transact(opts *bind.Transa func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -27018,7 +26463,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, ow out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -27041,7 +26485,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) BalanceOf(owner common.Add func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -27049,7 +26492,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -27072,7 +26514,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) GetApproved(tokenId *big.I func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -27080,7 +26521,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -27103,7 +26543,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) IsApprovedForAll(owner com func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -27111,7 +26550,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -27134,7 +26572,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Name() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -27142,7 +26579,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, toke out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -27165,7 +26601,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -27173,7 +26608,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -27196,7 +26630,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) SupportsInterface(interfac func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -27204,7 +26637,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (stri out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -27227,7 +26659,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Symbol() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -27235,7 +26666,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tok out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -27436,7 +26866,6 @@ type IERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -27461,7 +26890,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.Filte // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -27597,7 +27025,6 @@ type IERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -27618,7 +27045,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -27750,7 +27176,6 @@ type IERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -27775,7 +27200,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.Filte // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -28183,7 +27607,6 @@ func (_MinterRole *MinterRoleTransactorRaw) Transact(opts *bind.TransactOpts, me func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _MinterRole.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -28191,7 +27614,6 @@ func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -28327,7 +27749,6 @@ type MinterRoleMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -28344,7 +27765,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -28470,7 +27890,6 @@ type MinterRoleMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -28487,7 +27906,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -28706,7 +28124,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -28714,7 +28131,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -28737,7 +28153,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -28745,7 +28160,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -28882,7 +28296,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -28903,7 +28316,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) diff --git a/contracts/contracts/system_contracts/consensus/consensus.go b/contracts/contracts/system_contracts/consensus/consensus.go index cd46880907..f32e79738c 100644 --- a/contracts/contracts/system_contracts/consensus/consensus.go +++ b/contracts/contracts/system_contracts/consensus/consensus.go @@ -264,7 +264,6 @@ func (_AddressBook *AddressBookTransactorRaw) Transact(opts *bind.TransactOpts, func (_AddressBook *AddressBookCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "CN_NODE_ID_TYPE") - if err != nil { return *new(uint8), err } @@ -272,7 +271,6 @@ func (_AddressBook *AddressBookCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54. @@ -295,7 +293,6 @@ func (_AddressBook *AddressBookCallerSession) CNNODEIDTYPE() (uint8, error) { func (_AddressBook *AddressBookCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "CN_REWARD_ADDRESS_TYPE") - if err != nil { return *new(uint8), err } @@ -303,7 +300,6 @@ func (_AddressBook *AddressBookCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85. @@ -326,7 +322,6 @@ func (_AddressBook *AddressBookCallerSession) CNREWARDADDRESSTYPE() (uint8, erro func (_AddressBook *AddressBookCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "CN_STAKING_ADDRESS_TYPE") - if err != nil { return *new(uint8), err } @@ -334,7 +329,6 @@ func (_AddressBook *AddressBookCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc. @@ -357,7 +351,6 @@ func (_AddressBook *AddressBookCallerSession) CNSTAKINGADDRESSTYPE() (uint8, err func (_AddressBook *AddressBookCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "CONTRACT_TYPE") - if err != nil { return *new(string), err } @@ -365,7 +358,6 @@ func (_AddressBook *AddressBookCaller) CONTRACTTYPE(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. @@ -388,7 +380,6 @@ func (_AddressBook *AddressBookCallerSession) CONTRACTTYPE() (string, error) { func (_AddressBook *AddressBookCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "KIR_CONTRACT_TYPE") - if err != nil { return *new(uint8), err } @@ -396,7 +387,6 @@ func (_AddressBook *AddressBookCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uin out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c. @@ -419,7 +409,6 @@ func (_AddressBook *AddressBookCallerSession) KIRCONTRACTTYPE() (uint8, error) { func (_AddressBook *AddressBookCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "MAX_ADMIN") - if err != nil { return *new(*big.Int), err } @@ -427,7 +416,6 @@ func (_AddressBook *AddressBookCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. @@ -450,7 +438,6 @@ func (_AddressBook *AddressBookCallerSession) MAXADMIN() (*big.Int, error) { func (_AddressBook *AddressBookCaller) MAXPENDINGREQUEST(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "MAX_PENDING_REQUEST") - if err != nil { return *new(*big.Int), err } @@ -458,7 +445,6 @@ func (_AddressBook *AddressBookCaller) MAXPENDINGREQUEST(opts *bind.CallOpts) (* out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb. @@ -481,7 +467,6 @@ func (_AddressBook *AddressBookCallerSession) MAXPENDINGREQUEST() (*big.Int, err func (_AddressBook *AddressBookCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "ONE_WEEK") - if err != nil { return *new(*big.Int), err } @@ -489,7 +474,6 @@ func (_AddressBook *AddressBookCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, e out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. @@ -512,7 +496,6 @@ func (_AddressBook *AddressBookCallerSession) ONEWEEK() (*big.Int, error) { func (_AddressBook *AddressBookCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "POC_CONTRACT_TYPE") - if err != nil { return *new(uint8), err } @@ -520,7 +503,6 @@ func (_AddressBook *AddressBookCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uin out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4. @@ -543,7 +525,6 @@ func (_AddressBook *AddressBookCallerSession) POCCONTRACTTYPE() (uint8, error) { func (_AddressBook *AddressBookCaller) TWOWEEKS(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "TWO_WEEKS") - if err != nil { return *new(*big.Int), err } @@ -551,7 +532,6 @@ func (_AddressBook *AddressBookCaller) TWOWEEKS(opts *bind.CallOpts) (*big.Int, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4. @@ -574,7 +554,6 @@ func (_AddressBook *AddressBookCallerSession) TWOWEEKS() (*big.Int, error) { func (_AddressBook *AddressBookCaller) VERSION(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "VERSION") - if err != nil { return *new(*big.Int), err } @@ -582,7 +561,6 @@ func (_AddressBook *AddressBookCaller) VERSION(opts *bind.CallOpts) (*big.Int, e out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. @@ -605,7 +583,6 @@ func (_AddressBook *AddressBookCallerSession) VERSION() (*big.Int, error) { func (_AddressBook *AddressBookCaller) GetAllAddress(opts *bind.CallOpts) ([]uint8, []common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getAllAddress") - if err != nil { return *new([]uint8), *new([]common.Address), err } @@ -614,7 +591,6 @@ func (_AddressBook *AddressBookCaller) GetAllAddress(opts *bind.CallOpts) ([]uin out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. @@ -637,7 +613,6 @@ func (_AddressBook *AddressBookCallerSession) GetAllAddress() ([]uint8, []common func (_AddressBook *AddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getAllAddressInfo") - if err != nil { return *new([]common.Address), *new([]common.Address), *new([]common.Address), *new(common.Address), *new(common.Address), err } @@ -649,7 +624,6 @@ func (_AddressBook *AddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) ([ out4 := *abi.ConvertType(out[4], new(common.Address)).(*common.Address) return out0, out1, out2, out3, out4, err - } // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. @@ -672,7 +646,6 @@ func (_AddressBook *AddressBookCallerSession) GetAllAddressInfo() ([]common.Addr func (_AddressBook *AddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getCnInfo", _cnNodeId) - if err != nil { return *new(common.Address), *new(common.Address), *new(common.Address), err } @@ -682,7 +655,6 @@ func (_AddressBook *AddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId out2 := *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return out0, out1, out2, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -705,7 +677,6 @@ func (_AddressBook *AddressBookCallerSession) GetCnInfo(_cnNodeId common.Address func (_AddressBook *AddressBookCaller) GetPendingRequestList(opts *bind.CallOpts) ([][32]byte, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getPendingRequestList") - if err != nil { return *new([][32]byte), err } @@ -713,7 +684,6 @@ func (_AddressBook *AddressBookCaller) GetPendingRequestList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([][32]byte)).(*[][32]byte) return out0, err - } // GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd. @@ -736,7 +706,6 @@ func (_AddressBook *AddressBookCallerSession) GetPendingRequestList() ([][32]byt func (_AddressBook *AddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getRequestInfo", _id) - if err != nil { return *new(uint8), *new([32]byte), *new([32]byte), *new([32]byte), *new([]common.Address), *new(*big.Int), *new(uint8), err } @@ -750,7 +719,6 @@ func (_AddressBook *AddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id [ out6 := *abi.ConvertType(out[6], new(uint8)).(*uint8) return out0, out1, out2, out3, out4, out5, out6, err - } // GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a. @@ -773,7 +741,6 @@ func (_AddressBook *AddressBookCallerSession) GetRequestInfo(_id [32]byte) (uint func (_AddressBook *AddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpts, _functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getRequestInfoByArgs", _functionId, _firstArg, _secondArg, _thirdArg) - if err != nil { return *new([32]byte), *new([]common.Address), *new(*big.Int), *new(uint8), err } @@ -784,7 +751,6 @@ func (_AddressBook *AddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpts, out3 := *abi.ConvertType(out[3], new(uint8)).(*uint8) return out0, out1, out2, out3, err - } // GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb. @@ -807,7 +773,6 @@ func (_AddressBook *AddressBookCallerSession) GetRequestInfoByArgs(_functionId u func (_AddressBook *AddressBookCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "getState") - if err != nil { return *new([]common.Address), *new(*big.Int), err } @@ -816,7 +781,6 @@ func (_AddressBook *AddressBookCaller) GetState(opts *bind.CallOpts) ([]common.A out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -839,7 +803,6 @@ func (_AddressBook *AddressBookCallerSession) GetState() ([]common.Address, *big func (_AddressBook *AddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "isActivated") - if err != nil { return *new(bool), err } @@ -847,7 +810,6 @@ func (_AddressBook *AddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, e out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. @@ -870,7 +832,6 @@ func (_AddressBook *AddressBookCallerSession) IsActivated() (bool, error) { func (_AddressBook *AddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "isConstructed") - if err != nil { return *new(bool), err } @@ -878,7 +839,6 @@ func (_AddressBook *AddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. @@ -901,7 +861,6 @@ func (_AddressBook *AddressBookCallerSession) IsConstructed() (bool, error) { func (_AddressBook *AddressBookCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "kirContractAddress") - if err != nil { return *new(common.Address), err } @@ -909,7 +868,6 @@ func (_AddressBook *AddressBookCaller) KirContractAddress(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. @@ -932,7 +890,6 @@ func (_AddressBook *AddressBookCallerSession) KirContractAddress() (common.Addre func (_AddressBook *AddressBookCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "pocContractAddress") - if err != nil { return *new(common.Address), err } @@ -940,7 +897,6 @@ func (_AddressBook *AddressBookCaller) PocContractAddress(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. @@ -963,7 +919,6 @@ func (_AddressBook *AddressBookCallerSession) PocContractAddress() (common.Addre func (_AddressBook *AddressBookCaller) Requirement(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "requirement") - if err != nil { return *new(*big.Int), err } @@ -971,7 +926,6 @@ func (_AddressBook *AddressBookCaller) Requirement(opts *bind.CallOpts) (*big.In out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Requirement is a free data retrieval call binding the contract method 0xb7563930. @@ -994,7 +948,6 @@ func (_AddressBook *AddressBookCallerSession) Requirement() (*big.Int, error) { func (_AddressBook *AddressBookCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBook.contract.Call(opts, &out, "spareContractAddress") - if err != nil { return *new(common.Address), err } @@ -1002,7 +955,6 @@ func (_AddressBook *AddressBookCaller) SpareContractAddress(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. @@ -1578,7 +1530,6 @@ type AddressBookActivateAddressBook struct { // // Solidity: event ActivateAddressBook() func (_AddressBook *AddressBookFilterer) FilterActivateAddressBook(opts *bind.FilterOpts) (*AddressBookActivateAddressBookIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "ActivateAddressBook") if err != nil { return nil, err @@ -1590,7 +1541,6 @@ func (_AddressBook *AddressBookFilterer) FilterActivateAddressBook(opts *bind.Fi // // Solidity: event ActivateAddressBook() func (_AddressBook *AddressBookFilterer) WatchActivateAddressBook(opts *bind.WatchOpts, sink chan<- *AddressBookActivateAddressBook) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "ActivateAddressBook") if err != nil { return nil, err @@ -1711,7 +1661,6 @@ type AddressBookAddAdmin struct { // // Solidity: event AddAdmin(address indexed admin) func (_AddressBook *AddressBookFilterer) FilterAddAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookAddAdminIterator, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -1728,7 +1677,6 @@ func (_AddressBook *AddressBookFilterer) FilterAddAdmin(opts *bind.FilterOpts, a // // Solidity: event AddAdmin(address indexed admin) func (_AddressBook *AddressBookFilterer) WatchAddAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookAddAdmin, admin []common.Address) (event.Subscription, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -1859,7 +1807,6 @@ type AddressBookCancelRequest struct { // // Solidity: event CancelRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) FilterCancelRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookCancelRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -1880,7 +1827,6 @@ func (_AddressBook *AddressBookFilterer) FilterCancelRequest(opts *bind.FilterOp // // Solidity: event CancelRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) WatchCancelRequest(opts *bind.WatchOpts, sink chan<- *AddressBookCancelRequest, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2009,7 +1955,6 @@ type AddressBookClearRequest struct { // // Solidity: event ClearRequest() func (_AddressBook *AddressBookFilterer) FilterClearRequest(opts *bind.FilterOpts) (*AddressBookClearRequestIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "ClearRequest") if err != nil { return nil, err @@ -2021,7 +1966,6 @@ func (_AddressBook *AddressBookFilterer) FilterClearRequest(opts *bind.FilterOpt // // Solidity: event ClearRequest() func (_AddressBook *AddressBookFilterer) WatchClearRequest(opts *bind.WatchOpts, sink chan<- *AddressBookClearRequest) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "ClearRequest") if err != nil { return nil, err @@ -2142,7 +2086,6 @@ type AddressBookDeleteAdmin struct { // // Solidity: event DeleteAdmin(address indexed admin) func (_AddressBook *AddressBookFilterer) FilterDeleteAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookDeleteAdminIterator, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -2159,7 +2102,6 @@ func (_AddressBook *AddressBookFilterer) FilterDeleteAdmin(opts *bind.FilterOpts // // Solidity: event DeleteAdmin(address indexed admin) func (_AddressBook *AddressBookFilterer) WatchDeleteAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookDeleteAdmin, admin []common.Address) (event.Subscription, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -2287,7 +2229,6 @@ type AddressBookDeployContract struct { // // Solidity: event DeployContract(string contractType, address[] adminList, uint256 requirement) func (_AddressBook *AddressBookFilterer) FilterDeployContract(opts *bind.FilterOpts) (*AddressBookDeployContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "DeployContract") if err != nil { return nil, err @@ -2299,7 +2240,6 @@ func (_AddressBook *AddressBookFilterer) FilterDeployContract(opts *bind.FilterO // // Solidity: event DeployContract(string contractType, address[] adminList, uint256 requirement) func (_AddressBook *AddressBookFilterer) WatchDeployContract(opts *bind.WatchOpts, sink chan<- *AddressBookDeployContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "DeployContract") if err != nil { return nil, err @@ -2425,7 +2365,6 @@ type AddressBookExecuteRequestFailure struct { // // Solidity: event ExecuteRequestFailure(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) FilterExecuteRequestFailure(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestFailureIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2446,7 +2385,6 @@ func (_AddressBook *AddressBookFilterer) FilterExecuteRequestFailure(opts *bind. // // Solidity: event ExecuteRequestFailure(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) WatchExecuteRequestFailure(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestFailure, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2581,7 +2519,6 @@ type AddressBookExecuteRequestSuccess struct { // // Solidity: event ExecuteRequestSuccess(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) FilterExecuteRequestSuccess(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestSuccessIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2602,7 +2539,6 @@ func (_AddressBook *AddressBookFilterer) FilterExecuteRequestSuccess(opts *bind. // // Solidity: event ExecuteRequestSuccess(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_AddressBook *AddressBookFilterer) WatchExecuteRequestSuccess(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestSuccess, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2738,7 +2674,6 @@ type AddressBookExpiredRequest struct { // // Solidity: event ExpiredRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) FilterExpiredRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExpiredRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2759,7 +2694,6 @@ func (_AddressBook *AddressBookFilterer) FilterExpiredRequest(opts *bind.FilterO // // Solidity: event ExpiredRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) WatchExpiredRequest(opts *bind.WatchOpts, sink chan<- *AddressBookExpiredRequest, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -2891,7 +2825,6 @@ type AddressBookRegisterCnStakingContract struct { // // Solidity: event RegisterCnStakingContract(address cnNodeId, address cnStakingContractAddress, address cnRewardAddress) func (_AddressBook *AddressBookFilterer) FilterRegisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookRegisterCnStakingContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "RegisterCnStakingContract") if err != nil { return nil, err @@ -2903,7 +2836,6 @@ func (_AddressBook *AddressBookFilterer) FilterRegisterCnStakingContract(opts *b // // Solidity: event RegisterCnStakingContract(address cnNodeId, address cnStakingContractAddress, address cnRewardAddress) func (_AddressBook *AddressBookFilterer) WatchRegisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookRegisterCnStakingContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "RegisterCnStakingContract") if err != nil { return nil, err @@ -3026,7 +2958,6 @@ type AddressBookReviseRewardAddress struct { // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_AddressBook *AddressBookFilterer) FilterReviseRewardAddress(opts *bind.FilterOpts) (*AddressBookReviseRewardAddressIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -3038,7 +2969,6 @@ func (_AddressBook *AddressBookFilterer) FilterReviseRewardAddress(opts *bind.Fi // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_AddressBook *AddressBookFilterer) WatchReviseRewardAddress(opts *bind.WatchOpts, sink chan<- *AddressBookReviseRewardAddress) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -3165,7 +3095,6 @@ type AddressBookRevokeRequest struct { // // Solidity: event RevokeRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) FilterRevokeRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookRevokeRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -3186,7 +3115,6 @@ func (_AddressBook *AddressBookFilterer) FilterRevokeRequest(opts *bind.FilterOp // // Solidity: event RevokeRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) WatchRevokeRequest(opts *bind.WatchOpts, sink chan<- *AddressBookRevokeRequest, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -3322,7 +3250,6 @@ type AddressBookSubmitRequest struct { // // Solidity: event SubmitRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) FilterSubmitRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookSubmitRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -3343,7 +3270,6 @@ func (_AddressBook *AddressBookFilterer) FilterSubmitRequest(opts *bind.FilterOp // // Solidity: event SubmitRequest(bytes32 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_AddressBook *AddressBookFilterer) WatchSubmitRequest(opts *bind.WatchOpts, sink chan<- *AddressBookSubmitRequest, id [][32]byte, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -3473,7 +3399,6 @@ type AddressBookUnregisterCnStakingContract struct { // // Solidity: event UnregisterCnStakingContract(address cnNodeId) func (_AddressBook *AddressBookFilterer) FilterUnregisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookUnregisterCnStakingContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "UnregisterCnStakingContract") if err != nil { return nil, err @@ -3485,7 +3410,6 @@ func (_AddressBook *AddressBookFilterer) FilterUnregisterCnStakingContract(opts // // Solidity: event UnregisterCnStakingContract(address cnNodeId) func (_AddressBook *AddressBookFilterer) WatchUnregisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookUnregisterCnStakingContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "UnregisterCnStakingContract") if err != nil { return nil, err @@ -3609,7 +3533,6 @@ type AddressBookUpdateKirContract struct { // // Solidity: event UpdateKirContract(address prevKirContractAddress, uint256 prevVersion, address curKirContractAddress, uint256 curVersion) func (_AddressBook *AddressBookFilterer) FilterUpdateKirContract(opts *bind.FilterOpts) (*AddressBookUpdateKirContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "UpdateKirContract") if err != nil { return nil, err @@ -3621,7 +3544,6 @@ func (_AddressBook *AddressBookFilterer) FilterUpdateKirContract(opts *bind.Filt // // Solidity: event UpdateKirContract(address prevKirContractAddress, uint256 prevVersion, address curKirContractAddress, uint256 curVersion) func (_AddressBook *AddressBookFilterer) WatchUpdateKirContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateKirContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "UpdateKirContract") if err != nil { return nil, err @@ -3745,7 +3667,6 @@ type AddressBookUpdatePocContract struct { // // Solidity: event UpdatePocContract(address prevPocContractAddress, uint256 prevVersion, address curPocContractAddress, uint256 curVersion) func (_AddressBook *AddressBookFilterer) FilterUpdatePocContract(opts *bind.FilterOpts) (*AddressBookUpdatePocContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "UpdatePocContract") if err != nil { return nil, err @@ -3757,7 +3678,6 @@ func (_AddressBook *AddressBookFilterer) FilterUpdatePocContract(opts *bind.Filt // // Solidity: event UpdatePocContract(address prevPocContractAddress, uint256 prevVersion, address curPocContractAddress, uint256 curVersion) func (_AddressBook *AddressBookFilterer) WatchUpdatePocContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdatePocContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "UpdatePocContract") if err != nil { return nil, err @@ -3878,7 +3798,6 @@ type AddressBookUpdateRequirement struct { // // Solidity: event UpdateRequirement(uint256 requirement) func (_AddressBook *AddressBookFilterer) FilterUpdateRequirement(opts *bind.FilterOpts) (*AddressBookUpdateRequirementIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "UpdateRequirement") if err != nil { return nil, err @@ -3890,7 +3809,6 @@ func (_AddressBook *AddressBookFilterer) FilterUpdateRequirement(opts *bind.Filt // // Solidity: event UpdateRequirement(uint256 requirement) func (_AddressBook *AddressBookFilterer) WatchUpdateRequirement(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateRequirement) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "UpdateRequirement") if err != nil { return nil, err @@ -4011,7 +3929,6 @@ type AddressBookUpdateSpareContract struct { // // Solidity: event UpdateSpareContract(address spareContractAddress) func (_AddressBook *AddressBookFilterer) FilterUpdateSpareContract(opts *bind.FilterOpts) (*AddressBookUpdateSpareContractIterator, error) { - logs, sub, err := _AddressBook.contract.FilterLogs(opts, "UpdateSpareContract") if err != nil { return nil, err @@ -4023,7 +3940,6 @@ func (_AddressBook *AddressBookFilterer) FilterUpdateSpareContract(opts *bind.Fi // // Solidity: event UpdateSpareContract(address spareContractAddress) func (_AddressBook *AddressBookFilterer) WatchUpdateSpareContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateSpareContract) (event.Subscription, error) { - logs, sub, err := _AddressBook.contract.WatchLogs(opts, "UpdateSpareContract") if err != nil { return nil, err @@ -4483,7 +4399,6 @@ func (_CnStakingContract *CnStakingContractTransactorRaw) Transact(opts *bind.Tr func (_CnStakingContract *CnStakingContractCaller) ADDRESSBOOKADDRESS(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "ADDRESS_BOOK_ADDRESS") - if err != nil { return *new(common.Address), err } @@ -4491,7 +4406,6 @@ func (_CnStakingContract *CnStakingContractCaller) ADDRESSBOOKADDRESS(opts *bind out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // ADDRESSBOOKADDRESS is a free data retrieval call binding the contract method 0xf2f2f49b. @@ -4514,7 +4428,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) ADDRESSBOOKADDRESS() ( func (_CnStakingContract *CnStakingContractCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "CONTRACT_TYPE") - if err != nil { return *new(string), err } @@ -4522,7 +4435,6 @@ func (_CnStakingContract *CnStakingContractCaller) CONTRACTTYPE(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. @@ -4545,7 +4457,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) CONTRACTTYPE() (string func (_CnStakingContract *CnStakingContractCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "MAX_ADMIN") - if err != nil { return *new(*big.Int), err } @@ -4553,7 +4464,6 @@ func (_CnStakingContract *CnStakingContractCaller) MAXADMIN(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. @@ -4576,7 +4486,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) MAXADMIN() (*big.Int, func (_CnStakingContract *CnStakingContractCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "ONE_WEEK") - if err != nil { return *new(*big.Int), err } @@ -4584,7 +4493,6 @@ func (_CnStakingContract *CnStakingContractCaller) ONEWEEK(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. @@ -4607,7 +4515,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) ONEWEEK() (*big.Int, e func (_CnStakingContract *CnStakingContractCaller) VERSION(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "VERSION") - if err != nil { return *new(*big.Int), err } @@ -4615,7 +4522,6 @@ func (_CnStakingContract *CnStakingContractCaller) VERSION(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. @@ -4638,7 +4544,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) VERSION() (*big.Int, e func (_CnStakingContract *CnStakingContractCaller) ContractValidator(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "contractValidator") - if err != nil { return *new(common.Address), err } @@ -4646,7 +4551,6 @@ func (_CnStakingContract *CnStakingContractCaller) ContractValidator(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // ContractValidator is a free data retrieval call binding the contract method 0x7a5db068. @@ -4669,7 +4573,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) ContractValidator() (c func (_CnStakingContract *CnStakingContractCaller) GetApprovedStakingWithdrawalIds(opts *bind.CallOpts, _from *big.Int, _to *big.Int, _state uint8) ([]*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getApprovedStakingWithdrawalIds", _from, _to, _state) - if err != nil { return *new([]*big.Int), err } @@ -4677,7 +4580,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetApprovedStakingWithdrawalI out0 := *abi.ConvertType(out[0], new([]*big.Int)).(*[]*big.Int) return out0, err - } // GetApprovedStakingWithdrawalIds is a free data retrieval call binding the contract method 0xd2569eb9. @@ -4700,7 +4602,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetApprovedStakingWith func (_CnStakingContract *CnStakingContractCaller) GetApprovedStakingWithdrawalInfo(opts *bind.CallOpts, _index *big.Int) (common.Address, *big.Int, *big.Int, uint8, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getApprovedStakingWithdrawalInfo", _index) - if err != nil { return *new(common.Address), *new(*big.Int), *new(*big.Int), *new(uint8), err } @@ -4711,7 +4612,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetApprovedStakingWithdrawalI out3 := *abi.ConvertType(out[3], new(uint8)).(*uint8) return out0, out1, out2, out3, err - } // GetApprovedStakingWithdrawalInfo is a free data retrieval call binding the contract method 0x725c0503. @@ -4734,7 +4634,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetApprovedStakingWith func (_CnStakingContract *CnStakingContractCaller) GetLockupStakingInfo(opts *bind.CallOpts) ([]*big.Int, []*big.Int, *big.Int, *big.Int, *big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getLockupStakingInfo") - if err != nil { return *new([]*big.Int), *new([]*big.Int), *new(*big.Int), *new(*big.Int), *new(*big.Int), err } @@ -4746,7 +4645,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetLockupStakingInfo(opts *bi out4 := *abi.ConvertType(out[4], new(*big.Int)).(**big.Int) return out0, out1, out2, out3, out4, err - } // GetLockupStakingInfo is a free data retrieval call binding the contract method 0x5ecd75f2. @@ -4769,7 +4667,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetLockupStakingInfo() func (_CnStakingContract *CnStakingContractCaller) GetRequestIds(opts *bind.CallOpts, _from *big.Int, _to *big.Int, _state uint8) ([]*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getRequestIds", _from, _to, _state) - if err != nil { return *new([]*big.Int), err } @@ -4777,7 +4674,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetRequestIds(opts *bind.Call out0 := *abi.ConvertType(out[0], new([]*big.Int)).(*[]*big.Int) return out0, err - } // GetRequestIds is a free data retrieval call binding the contract method 0x0fd440ec. @@ -4800,7 +4696,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetRequestIds(_from *b func (_CnStakingContract *CnStakingContractCaller) GetRequestInfo(opts *bind.CallOpts, _id *big.Int) (uint8, [32]byte, [32]byte, [32]byte, common.Address, []common.Address, uint8, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getRequestInfo", _id) - if err != nil { return *new(uint8), *new([32]byte), *new([32]byte), *new([32]byte), *new(common.Address), *new([]common.Address), *new(uint8), err } @@ -4814,7 +4709,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetRequestInfo(opts *bind.Cal out6 := *abi.ConvertType(out[6], new(uint8)).(*uint8) return out0, out1, out2, out3, out4, out5, out6, err - } // GetRequestInfo is a free data retrieval call binding the contract method 0x0b816045. @@ -4837,7 +4731,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetRequestInfo(_id *bi func (_CnStakingContract *CnStakingContractCaller) GetReviewers(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getReviewers") - if err != nil { return *new([]common.Address), err } @@ -4845,7 +4738,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetReviewers(opts *bind.CallO out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetReviewers is a free data retrieval call binding the contract method 0x75a87643. @@ -4868,7 +4760,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetReviewers() ([]comm func (_CnStakingContract *CnStakingContractCaller) GetState(opts *bind.CallOpts) (common.Address, common.Address, common.Address, []common.Address, *big.Int, []*big.Int, []*big.Int, bool, bool, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "getState") - if err != nil { return *new(common.Address), *new(common.Address), *new(common.Address), *new([]common.Address), *new(*big.Int), *new([]*big.Int), *new([]*big.Int), *new(bool), *new(bool), err } @@ -4884,7 +4775,6 @@ func (_CnStakingContract *CnStakingContractCaller) GetState(opts *bind.CallOpts) out8 := *abi.ConvertType(out[8], new(bool)).(*bool) return out0, out1, out2, out3, out4, out5, out6, out7, out8, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -4907,7 +4797,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) GetState() (common.Add func (_CnStakingContract *CnStakingContractCaller) InitialLockupStaking(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "initialLockupStaking") - if err != nil { return *new(*big.Int), err } @@ -4915,7 +4804,6 @@ func (_CnStakingContract *CnStakingContractCaller) InitialLockupStaking(opts *bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // InitialLockupStaking is a free data retrieval call binding the contract method 0x06704222. @@ -4938,7 +4826,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) InitialLockupStaking() func (_CnStakingContract *CnStakingContractCaller) IsInitialized(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "isInitialized") - if err != nil { return *new(bool), err } @@ -4946,7 +4833,6 @@ func (_CnStakingContract *CnStakingContractCaller) IsInitialized(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsInitialized is a free data retrieval call binding the contract method 0x392e53cd. @@ -4969,7 +4855,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) IsInitialized() (bool, func (_CnStakingContract *CnStakingContractCaller) LastClearedId(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "lastClearedId") - if err != nil { return *new(*big.Int), err } @@ -4977,7 +4862,6 @@ func (_CnStakingContract *CnStakingContractCaller) LastClearedId(opts *bind.Call out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // LastClearedId is a free data retrieval call binding the contract method 0xe7abb98d. @@ -5000,7 +4884,8 @@ func (_CnStakingContract *CnStakingContractCallerSession) LastClearedId() (*big. func (_CnStakingContract *CnStakingContractCaller) LockupConditions(opts *bind.CallOpts) (struct { AllReviewed bool ReviewedCount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "lockupConditions") @@ -5012,7 +4897,6 @@ func (_CnStakingContract *CnStakingContractCaller) LockupConditions(opts *bind.C outstruct.AllReviewed = *abi.ConvertType(out[0], new(bool)).(*bool) outstruct.ReviewedCount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // LockupConditions is a free data retrieval call binding the contract method 0x2429f8a9. @@ -5021,7 +4905,8 @@ func (_CnStakingContract *CnStakingContractCaller) LockupConditions(opts *bind.C func (_CnStakingContract *CnStakingContractSession) LockupConditions() (struct { AllReviewed bool ReviewedCount *big.Int -}, error) { +}, error, +) { return _CnStakingContract.Contract.LockupConditions(&_CnStakingContract.CallOpts) } @@ -5031,7 +4916,8 @@ func (_CnStakingContract *CnStakingContractSession) LockupConditions() (struct { func (_CnStakingContract *CnStakingContractCallerSession) LockupConditions() (struct { AllReviewed bool ReviewedCount *big.Int -}, error) { +}, error, +) { return _CnStakingContract.Contract.LockupConditions(&_CnStakingContract.CallOpts) } @@ -5041,7 +4927,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) LockupConditions() (st func (_CnStakingContract *CnStakingContractCaller) NodeId(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "nodeId") - if err != nil { return *new(common.Address), err } @@ -5049,7 +4934,6 @@ func (_CnStakingContract *CnStakingContractCaller) NodeId(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // NodeId is a free data retrieval call binding the contract method 0x139d7fed. @@ -5072,7 +4956,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) NodeId() (common.Addre func (_CnStakingContract *CnStakingContractCaller) RemainingLockupStaking(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "remainingLockupStaking") - if err != nil { return *new(*big.Int), err } @@ -5080,7 +4963,6 @@ func (_CnStakingContract *CnStakingContractCaller) RemainingLockupStaking(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RemainingLockupStaking is a free data retrieval call binding the contract method 0x7b5e0481. @@ -5103,7 +4985,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) RemainingLockupStaking func (_CnStakingContract *CnStakingContractCaller) RequestCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "requestCount") - if err != nil { return *new(*big.Int), err } @@ -5111,7 +4992,6 @@ func (_CnStakingContract *CnStakingContractCaller) RequestCount(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RequestCount is a free data retrieval call binding the contract method 0x5badbe4c. @@ -5134,7 +5014,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) RequestCount() (*big.I func (_CnStakingContract *CnStakingContractCaller) Requirement(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "requirement") - if err != nil { return *new(*big.Int), err } @@ -5142,7 +5021,6 @@ func (_CnStakingContract *CnStakingContractCaller) Requirement(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Requirement is a free data retrieval call binding the contract method 0xb7563930. @@ -5165,7 +5043,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) Requirement() (*big.In func (_CnStakingContract *CnStakingContractCaller) RewardAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "rewardAddress") - if err != nil { return *new(common.Address), err } @@ -5173,7 +5050,6 @@ func (_CnStakingContract *CnStakingContractCaller) RewardAddress(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RewardAddress is a free data retrieval call binding the contract method 0x8cf57cb9. @@ -5196,7 +5072,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) RewardAddress() (commo func (_CnStakingContract *CnStakingContractCaller) Staking(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "staking") - if err != nil { return *new(*big.Int), err } @@ -5204,7 +5079,6 @@ func (_CnStakingContract *CnStakingContractCaller) Staking(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Staking is a free data retrieval call binding the contract method 0x4cf088d9. @@ -5227,7 +5101,6 @@ func (_CnStakingContract *CnStakingContractCallerSession) Staking() (*big.Int, e func (_CnStakingContract *CnStakingContractCaller) WithdrawalRequestCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _CnStakingContract.contract.Call(opts, &out, "withdrawalRequestCount") - if err != nil { return *new(*big.Int), err } @@ -5235,7 +5108,6 @@ func (_CnStakingContract *CnStakingContractCaller) WithdrawalRequestCount(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // WithdrawalRequestCount is a free data retrieval call binding the contract method 0x19e44e32. @@ -5812,7 +5684,6 @@ type CnStakingContractAddAdmin struct { // // Solidity: event AddAdmin(address indexed admin) func (_CnStakingContract *CnStakingContractFilterer) FilterAddAdmin(opts *bind.FilterOpts, admin []common.Address) (*CnStakingContractAddAdminIterator, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -5829,7 +5700,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterAddAdmin(opts *bind.F // // Solidity: event AddAdmin(address indexed admin) func (_CnStakingContract *CnStakingContractFilterer) WatchAddAdmin(opts *bind.WatchOpts, sink chan<- *CnStakingContractAddAdmin, admin []common.Address) (event.Subscription, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -5958,7 +5828,6 @@ type CnStakingContractApproveStakingWithdrawal struct { // // Solidity: event ApproveStakingWithdrawal(uint256 approvedWithdrawalId, address to, uint256 value, uint256 withdrawableFrom) func (_CnStakingContract *CnStakingContractFilterer) FilterApproveStakingWithdrawal(opts *bind.FilterOpts) (*CnStakingContractApproveStakingWithdrawalIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "ApproveStakingWithdrawal") if err != nil { return nil, err @@ -5970,7 +5839,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterApproveStakingWithdra // // Solidity: event ApproveStakingWithdrawal(uint256 approvedWithdrawalId, address to, uint256 value, uint256 withdrawableFrom) func (_CnStakingContract *CnStakingContractFilterer) WatchApproveStakingWithdrawal(opts *bind.WatchOpts, sink chan<- *CnStakingContractApproveStakingWithdrawal) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "ApproveStakingWithdrawal") if err != nil { return nil, err @@ -6093,7 +5961,6 @@ type CnStakingContractCancelApprovedStakingWithdrawal struct { // // Solidity: event CancelApprovedStakingWithdrawal(uint256 approvedWithdrawalId, address to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) FilterCancelApprovedStakingWithdrawal(opts *bind.FilterOpts) (*CnStakingContractCancelApprovedStakingWithdrawalIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "CancelApprovedStakingWithdrawal") if err != nil { return nil, err @@ -6105,7 +5972,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterCancelApprovedStaking // // Solidity: event CancelApprovedStakingWithdrawal(uint256 approvedWithdrawalId, address to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) WatchCancelApprovedStakingWithdrawal(opts *bind.WatchOpts, sink chan<- *CnStakingContractCancelApprovedStakingWithdrawal) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "CancelApprovedStakingWithdrawal") if err != nil { return nil, err @@ -6231,7 +6097,6 @@ type CnStakingContractCancelRequest struct { // // Solidity: event CancelRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) FilterCancelRequest(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractCancelRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -6252,7 +6117,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterCancelRequest(opts *b // // Solidity: event CancelRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) WatchCancelRequest(opts *bind.WatchOpts, sink chan<- *CnStakingContractCancelRequest, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -6381,7 +6245,6 @@ type CnStakingContractClearRequest struct { // // Solidity: event ClearRequest() func (_CnStakingContract *CnStakingContractFilterer) FilterClearRequest(opts *bind.FilterOpts) (*CnStakingContractClearRequestIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "ClearRequest") if err != nil { return nil, err @@ -6393,7 +6256,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterClearRequest(opts *bi // // Solidity: event ClearRequest() func (_CnStakingContract *CnStakingContractFilterer) WatchClearRequest(opts *bind.WatchOpts, sink chan<- *CnStakingContractClearRequest) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "ClearRequest") if err != nil { return nil, err @@ -6513,7 +6375,6 @@ type CnStakingContractCompleteReviewInitialConditions struct { // // Solidity: event CompleteReviewInitialConditions() func (_CnStakingContract *CnStakingContractFilterer) FilterCompleteReviewInitialConditions(opts *bind.FilterOpts) (*CnStakingContractCompleteReviewInitialConditionsIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "CompleteReviewInitialConditions") if err != nil { return nil, err @@ -6525,7 +6386,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterCompleteReviewInitial // // Solidity: event CompleteReviewInitialConditions() func (_CnStakingContract *CnStakingContractFilterer) WatchCompleteReviewInitialConditions(opts *bind.WatchOpts, sink chan<- *CnStakingContractCompleteReviewInitialConditions) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "CompleteReviewInitialConditions") if err != nil { return nil, err @@ -6652,7 +6512,6 @@ type CnStakingContractConfirmRequest struct { // // Solidity: event ConfirmRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_CnStakingContract *CnStakingContractFilterer) FilterConfirmRequest(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractConfirmRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -6673,7 +6532,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterConfirmRequest(opts * // // Solidity: event ConfirmRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_CnStakingContract *CnStakingContractFilterer) WatchConfirmRequest(opts *bind.WatchOpts, sink chan<- *CnStakingContractConfirmRequest, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -6803,7 +6661,6 @@ type CnStakingContractDeleteAdmin struct { // // Solidity: event DeleteAdmin(address indexed admin) func (_CnStakingContract *CnStakingContractFilterer) FilterDeleteAdmin(opts *bind.FilterOpts, admin []common.Address) (*CnStakingContractDeleteAdminIterator, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -6820,7 +6677,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterDeleteAdmin(opts *bin // // Solidity: event DeleteAdmin(address indexed admin) func (_CnStakingContract *CnStakingContractFilterer) WatchDeleteAdmin(opts *bind.WatchOpts, sink chan<- *CnStakingContractDeleteAdmin, admin []common.Address) (event.Subscription, error) { - var adminRule []interface{} for _, adminItem := range admin { adminRule = append(adminRule, adminItem) @@ -6953,7 +6809,6 @@ type CnStakingContractDeployContract struct { // // Solidity: event DeployContract(string contractType, address contractValidator, address nodeId, address rewardAddress, address[] cnAdminList, uint256 requirement, uint256[] unlockTime, uint256[] unlockAmount) func (_CnStakingContract *CnStakingContractFilterer) FilterDeployContract(opts *bind.FilterOpts) (*CnStakingContractDeployContractIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "DeployContract") if err != nil { return nil, err @@ -6965,7 +6820,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterDeployContract(opts * // // Solidity: event DeployContract(string contractType, address contractValidator, address nodeId, address rewardAddress, address[] cnAdminList, uint256 requirement, uint256[] unlockTime, uint256[] unlockAmount) func (_CnStakingContract *CnStakingContractFilterer) WatchDeployContract(opts *bind.WatchOpts, sink chan<- *CnStakingContractDeployContract) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "DeployContract") if err != nil { return nil, err @@ -7087,7 +6941,6 @@ type CnStakingContractDepositLockupStakingAndInit struct { // // Solidity: event DepositLockupStakingAndInit(address from, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) FilterDepositLockupStakingAndInit(opts *bind.FilterOpts) (*CnStakingContractDepositLockupStakingAndInitIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "DepositLockupStakingAndInit") if err != nil { return nil, err @@ -7099,7 +6952,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterDepositLockupStakingA // // Solidity: event DepositLockupStakingAndInit(address from, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) WatchDepositLockupStakingAndInit(opts *bind.WatchOpts, sink chan<- *CnStakingContractDepositLockupStakingAndInit) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "DepositLockupStakingAndInit") if err != nil { return nil, err @@ -7225,7 +7077,6 @@ type CnStakingContractExecuteRequestFailure struct { // // Solidity: event ExecuteRequestFailure(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) FilterExecuteRequestFailure(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractExecuteRequestFailureIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7246,7 +7097,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterExecuteRequestFailure // // Solidity: event ExecuteRequestFailure(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) WatchExecuteRequestFailure(opts *bind.WatchOpts, sink chan<- *CnStakingContractExecuteRequestFailure, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7381,7 +7231,6 @@ type CnStakingContractExecuteRequestSuccess struct { // // Solidity: event ExecuteRequestSuccess(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) FilterExecuteRequestSuccess(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractExecuteRequestSuccessIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7402,7 +7251,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterExecuteRequestSuccess // // Solidity: event ExecuteRequestSuccess(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) WatchExecuteRequestSuccess(opts *bind.WatchOpts, sink chan<- *CnStakingContractExecuteRequestSuccess, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7532,7 +7380,6 @@ type CnStakingContractReviewInitialConditions struct { // // Solidity: event ReviewInitialConditions(address indexed from) func (_CnStakingContract *CnStakingContractFilterer) FilterReviewInitialConditions(opts *bind.FilterOpts, from []common.Address) (*CnStakingContractReviewInitialConditionsIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7549,7 +7396,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterReviewInitialConditio // // Solidity: event ReviewInitialConditions(address indexed from) func (_CnStakingContract *CnStakingContractFilterer) WatchReviewInitialConditions(opts *bind.WatchOpts, sink chan<- *CnStakingContractReviewInitialConditions, from []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7677,7 +7523,6 @@ type CnStakingContractReviseRewardAddress struct { // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_CnStakingContract *CnStakingContractFilterer) FilterReviseRewardAddress(opts *bind.FilterOpts) (*CnStakingContractReviseRewardAddressIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -7689,7 +7534,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterReviseRewardAddress(o // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_CnStakingContract *CnStakingContractFilterer) WatchReviseRewardAddress(opts *bind.WatchOpts, sink chan<- *CnStakingContractReviseRewardAddress) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -7816,7 +7660,6 @@ type CnStakingContractRevokeConfirmation struct { // // Solidity: event RevokeConfirmation(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_CnStakingContract *CnStakingContractFilterer) FilterRevokeConfirmation(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractRevokeConfirmationIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7837,7 +7680,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterRevokeConfirmation(op // // Solidity: event RevokeConfirmation(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg, address[] confirmers) func (_CnStakingContract *CnStakingContractFilterer) WatchRevokeConfirmation(opts *bind.WatchOpts, sink chan<- *CnStakingContractRevokeConfirmation, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -7968,7 +7810,6 @@ type CnStakingContractStakeKlay struct { // // Solidity: event StakeKlay(address from, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) FilterStakeKlay(opts *bind.FilterOpts) (*CnStakingContractStakeKlayIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "StakeKlay") if err != nil { return nil, err @@ -7980,7 +7821,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterStakeKlay(opts *bind. // // Solidity: event StakeKlay(address from, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) WatchStakeKlay(opts *bind.WatchOpts, sink chan<- *CnStakingContractStakeKlay) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "StakeKlay") if err != nil { return nil, err @@ -8106,7 +7946,6 @@ type CnStakingContractSubmitRequest struct { // // Solidity: event SubmitRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) FilterSubmitRequest(opts *bind.FilterOpts, id []*big.Int, from []common.Address) (*CnStakingContractSubmitRequestIterator, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -8127,7 +7966,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterSubmitRequest(opts *b // // Solidity: event SubmitRequest(uint256 indexed id, address indexed from, uint8 functionId, bytes32 firstArg, bytes32 secondArg, bytes32 thirdArg) func (_CnStakingContract *CnStakingContractFilterer) WatchSubmitRequest(opts *bind.WatchOpts, sink chan<- *CnStakingContractSubmitRequest, id []*big.Int, from []common.Address) (event.Subscription, error) { - var idRule []interface{} for _, idItem := range id { idRule = append(idRule, idItem) @@ -8257,7 +8095,6 @@ type CnStakingContractUpdateRequirement struct { // // Solidity: event UpdateRequirement(uint256 requirement) func (_CnStakingContract *CnStakingContractFilterer) FilterUpdateRequirement(opts *bind.FilterOpts) (*CnStakingContractUpdateRequirementIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "UpdateRequirement") if err != nil { return nil, err @@ -8269,7 +8106,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterUpdateRequirement(opt // // Solidity: event UpdateRequirement(uint256 requirement) func (_CnStakingContract *CnStakingContractFilterer) WatchUpdateRequirement(opts *bind.WatchOpts, sink chan<- *CnStakingContractUpdateRequirement) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "UpdateRequirement") if err != nil { return nil, err @@ -8390,7 +8226,6 @@ type CnStakingContractUpdateRewardAddress struct { // // Solidity: event UpdateRewardAddress(address rewardAddress) func (_CnStakingContract *CnStakingContractFilterer) FilterUpdateRewardAddress(opts *bind.FilterOpts) (*CnStakingContractUpdateRewardAddressIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "UpdateRewardAddress") if err != nil { return nil, err @@ -8402,7 +8237,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterUpdateRewardAddress(o // // Solidity: event UpdateRewardAddress(address rewardAddress) func (_CnStakingContract *CnStakingContractFilterer) WatchUpdateRewardAddress(opts *bind.WatchOpts, sink chan<- *CnStakingContractUpdateRewardAddress) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "UpdateRewardAddress") if err != nil { return nil, err @@ -8525,7 +8359,6 @@ type CnStakingContractWithdrawApprovedStaking struct { // // Solidity: event WithdrawApprovedStaking(uint256 approvedWithdrawalId, address to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) FilterWithdrawApprovedStaking(opts *bind.FilterOpts) (*CnStakingContractWithdrawApprovedStakingIterator, error) { - logs, sub, err := _CnStakingContract.contract.FilterLogs(opts, "WithdrawApprovedStaking") if err != nil { return nil, err @@ -8537,7 +8370,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterWithdrawApprovedStaki // // Solidity: event WithdrawApprovedStaking(uint256 approvedWithdrawalId, address to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) WatchWithdrawApprovedStaking(opts *bind.WatchOpts, sink chan<- *CnStakingContractWithdrawApprovedStaking) (event.Subscription, error) { - logs, sub, err := _CnStakingContract.contract.WatchLogs(opts, "WithdrawApprovedStaking") if err != nil { return nil, err @@ -8659,7 +8491,6 @@ type CnStakingContractWithdrawLockupStaking struct { // // Solidity: event WithdrawLockupStaking(address indexed to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) FilterWithdrawLockupStaking(opts *bind.FilterOpts, to []common.Address) (*CnStakingContractWithdrawLockupStakingIterator, error) { - var toRule []interface{} for _, toItem := range to { toRule = append(toRule, toItem) @@ -8676,7 +8507,6 @@ func (_CnStakingContract *CnStakingContractFilterer) FilterWithdrawLockupStaking // // Solidity: event WithdrawLockupStaking(address indexed to, uint256 value) func (_CnStakingContract *CnStakingContractFilterer) WatchWithdrawLockupStaking(opts *bind.WatchOpts, sink chan<- *CnStakingContractWithdrawLockupStaking, to []common.Address) (event.Subscription, error) { - var toRule []interface{} for _, toItem := range to { toRule = append(toRule, toItem) @@ -8894,7 +8724,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceTransactorRaw) Tran func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) IsInitialized(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _CnStakingContractInterface.contract.Call(opts, &out, "isInitialized") - if err != nil { return *new(bool), err } @@ -8902,7 +8731,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) IsInitializ out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsInitialized is a free data retrieval call binding the contract method 0x392e53cd. @@ -8925,7 +8753,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) IsIn func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) NodeId(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContractInterface.contract.Call(opts, &out, "nodeId") - if err != nil { return *new(common.Address), err } @@ -8933,7 +8760,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) NodeId(opts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // NodeId is a free data retrieval call binding the contract method 0x139d7fed. @@ -8956,7 +8782,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) Node func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) RewardAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _CnStakingContractInterface.contract.Call(opts, &out, "rewardAddress") - if err != nil { return *new(common.Address), err } @@ -8964,7 +8789,6 @@ func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) RewardAddre out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RewardAddress is a free data retrieval call binding the contract method 0x8cf57cb9. @@ -9148,7 +8972,6 @@ func (_KirContractInterface *KirContractInterfaceTransactorRaw) Transact(opts *b func (_KirContractInterface *KirContractInterfaceCaller) GetKirVersion(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _KirContractInterface.contract.Call(opts, &out, "getKirVersion") - if err != nil { return *new(*big.Int), err } @@ -9156,7 +8979,6 @@ func (_KirContractInterface *KirContractInterfaceCaller) GetKirVersion(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetKirVersion is a free data retrieval call binding the contract method 0x44426346. @@ -9340,7 +9162,6 @@ func (_PocContractInterface *PocContractInterfaceTransactorRaw) Transact(opts *b func (_PocContractInterface *PocContractInterfaceCaller) GetPocVersion(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _PocContractInterface.contract.Call(opts, &out, "getPocVersion") - if err != nil { return *new(*big.Int), err } @@ -9348,7 +9169,6 @@ func (_PocContractInterface *PocContractInterfaceCaller) GetPocVersion(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetPocVersion is a free data retrieval call binding the contract method 0x0f610072. diff --git a/contracts/contracts/system_contracts/gov/GovParam.go b/contracts/contracts/system_contracts/gov/GovParam.go index 4e2e1c777d..b9299b6103 100644 --- a/contracts/contracts/system_contracts/gov/GovParam.go +++ b/contracts/contracts/system_contracts/gov/GovParam.go @@ -391,7 +391,6 @@ func (_GovParam *GovParamTransactorRaw) Transact(opts *bind.TransactOpts, method func (_GovParam *GovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "checkpoints", name) - if err != nil { return *new([]IGovParamParam), err } @@ -399,7 +398,6 @@ func (_GovParam *GovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ( out0 := *abi.ConvertType(out[0], new([]IGovParamParam)).(*[]IGovParamParam) return out0, err - } // Checkpoints is a free data retrieval call binding the contract method 0x296451d9. @@ -422,7 +420,6 @@ func (_GovParam *GovParamCallerSession) Checkpoints(name string) ([]IGovParamPar func (_GovParam *GovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getAllCheckpoints") - if err != nil { return *new([]string), *new([][]IGovParamParam), err } @@ -431,7 +428,6 @@ func (_GovParam *GovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]strin out1 := *abi.ConvertType(out[1], new([][]IGovParamParam)).(*[][]IGovParamParam) return out0, out1, err - } // GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c. @@ -454,7 +450,6 @@ func (_GovParam *GovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGovP func (_GovParam *GovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getAllParamNames") - if err != nil { return *new([]string), err } @@ -462,7 +457,6 @@ func (_GovParam *GovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6. @@ -485,7 +479,6 @@ func (_GovParam *GovParamCallerSession) GetAllParamNames() ([]string, error) { func (_GovParam *GovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, [][]byte, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getAllParams") - if err != nil { return *new([]string), *new([][]byte), err } @@ -494,7 +487,6 @@ func (_GovParam *GovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, [] out1 := *abi.ConvertType(out[1], new([][]byte)).(*[][]byte) return out0, out1, err - } // GetAllParams is a free data retrieval call binding the contract method 0xa170052e. @@ -517,7 +509,6 @@ func (_GovParam *GovParamCallerSession) GetAllParams() ([]string, [][]byte, erro func (_GovParam *GovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getAllParamsAt", blockNumber) - if err != nil { return *new([]string), *new([][]byte), err } @@ -526,7 +517,6 @@ func (_GovParam *GovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber out1 := *abi.ConvertType(out[1], new([][]byte)).(*[][]byte) return out0, out1, err - } // GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a. @@ -549,7 +539,6 @@ func (_GovParam *GovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ([] func (_GovParam *GovParamCaller) GetParam(opts *bind.CallOpts, name string) (bool, []byte, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getParam", name) - if err != nil { return *new(bool), *new([]byte), err } @@ -558,7 +547,6 @@ func (_GovParam *GovParamCaller) GetParam(opts *bind.CallOpts, name string) (boo out1 := *abi.ConvertType(out[1], new([]byte)).(*[]byte) return out0, out1, err - } // GetParam is a free data retrieval call binding the contract method 0x5d4f71d4. @@ -581,7 +569,6 @@ func (_GovParam *GovParamCallerSession) GetParam(name string) (bool, []byte, err func (_GovParam *GovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "getParamAt", name, blockNumber) - if err != nil { return *new(bool), *new([]byte), err } @@ -590,7 +577,6 @@ func (_GovParam *GovParamCaller) GetParamAt(opts *bind.CallOpts, name string, bl out1 := *abi.ConvertType(out[1], new([]byte)).(*[]byte) return out0, out1, err - } // GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c. @@ -613,7 +599,6 @@ func (_GovParam *GovParamCallerSession) GetParamAt(name string, blockNumber *big func (_GovParam *GovParamCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -621,7 +606,6 @@ func (_GovParam *GovParamCaller) Owner(opts *bind.CallOpts) (common.Address, err out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -644,7 +628,6 @@ func (_GovParam *GovParamCallerSession) Owner() (common.Address, error) { func (_GovParam *GovParamCaller) ParamNames(opts *bind.CallOpts, arg0 *big.Int) (string, error) { var out []interface{} err := _GovParam.contract.Call(opts, &out, "paramNames", arg0) - if err != nil { return *new(string), err } @@ -652,7 +635,6 @@ func (_GovParam *GovParamCaller) ParamNames(opts *bind.CallOpts, arg0 *big.Int) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // ParamNames is a free data retrieval call binding the contract method 0xdb758754. @@ -831,7 +813,6 @@ type GovParamOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_GovParam *GovParamFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GovParamOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -852,7 +833,6 @@ func (_GovParam *GovParamFilterer) FilterOwnershipTransferred(opts *bind.FilterO // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_GovParam *GovParamFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GovParamOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -985,7 +965,6 @@ type GovParamSetParam struct { // // Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation) func (_GovParam *GovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*GovParamSetParamIterator, error) { - logs, sub, err := _GovParam.contract.FilterLogs(opts, "SetParam") if err != nil { return nil, err @@ -997,7 +976,6 @@ func (_GovParam *GovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*GovPa // // Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation) func (_GovParam *GovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *GovParamSetParam) (event.Subscription, error) { - logs, sub, err := _GovParam.contract.WatchLogs(opts, "SetParam") if err != nil { return nil, err @@ -1217,7 +1195,6 @@ func (_IGovParam *IGovParamTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_IGovParam *IGovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "checkpoints", name) - if err != nil { return *new([]IGovParamParam), err } @@ -1225,7 +1202,6 @@ func (_IGovParam *IGovParamCaller) Checkpoints(opts *bind.CallOpts, name string) out0 := *abi.ConvertType(out[0], new([]IGovParamParam)).(*[]IGovParamParam) return out0, err - } // Checkpoints is a free data retrieval call binding the contract method 0x296451d9. @@ -1248,7 +1224,6 @@ func (_IGovParam *IGovParamCallerSession) Checkpoints(name string) ([]IGovParamP func (_IGovParam *IGovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getAllCheckpoints") - if err != nil { return *new([]string), *new([][]IGovParamParam), err } @@ -1257,7 +1232,6 @@ func (_IGovParam *IGovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]str out1 := *abi.ConvertType(out[1], new([][]IGovParamParam)).(*[][]IGovParamParam) return out0, out1, err - } // GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c. @@ -1280,7 +1254,6 @@ func (_IGovParam *IGovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGo func (_IGovParam *IGovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getAllParamNames") - if err != nil { return *new([]string), err } @@ -1288,7 +1261,6 @@ func (_IGovParam *IGovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]stri out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6. @@ -1311,7 +1283,6 @@ func (_IGovParam *IGovParamCallerSession) GetAllParamNames() ([]string, error) { func (_IGovParam *IGovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, [][]byte, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getAllParams") - if err != nil { return *new([]string), *new([][]byte), err } @@ -1320,7 +1291,6 @@ func (_IGovParam *IGovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, out1 := *abi.ConvertType(out[1], new([][]byte)).(*[][]byte) return out0, out1, err - } // GetAllParams is a free data retrieval call binding the contract method 0xa170052e. @@ -1343,7 +1313,6 @@ func (_IGovParam *IGovParamCallerSession) GetAllParams() ([]string, [][]byte, er func (_IGovParam *IGovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getAllParamsAt", blockNumber) - if err != nil { return *new([]string), *new([][]byte), err } @@ -1352,7 +1321,6 @@ func (_IGovParam *IGovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumb out1 := *abi.ConvertType(out[1], new([][]byte)).(*[][]byte) return out0, out1, err - } // GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a. @@ -1375,7 +1343,6 @@ func (_IGovParam *IGovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ( func (_IGovParam *IGovParamCaller) GetParam(opts *bind.CallOpts, name string) (bool, []byte, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getParam", name) - if err != nil { return *new(bool), *new([]byte), err } @@ -1384,7 +1351,6 @@ func (_IGovParam *IGovParamCaller) GetParam(opts *bind.CallOpts, name string) (b out1 := *abi.ConvertType(out[1], new([]byte)).(*[]byte) return out0, out1, err - } // GetParam is a free data retrieval call binding the contract method 0x5d4f71d4. @@ -1407,7 +1373,6 @@ func (_IGovParam *IGovParamCallerSession) GetParam(name string) (bool, []byte, e func (_IGovParam *IGovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "getParamAt", name, blockNumber) - if err != nil { return *new(bool), *new([]byte), err } @@ -1416,7 +1381,6 @@ func (_IGovParam *IGovParamCaller) GetParamAt(opts *bind.CallOpts, name string, out1 := *abi.ConvertType(out[1], new([]byte)).(*[]byte) return out0, out1, err - } // GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c. @@ -1439,7 +1403,6 @@ func (_IGovParam *IGovParamCallerSession) GetParamAt(name string, blockNumber *b func (_IGovParam *IGovParamCaller) ParamNames(opts *bind.CallOpts, idx *big.Int) (string, error) { var out []interface{} err := _IGovParam.contract.Call(opts, &out, "paramNames", idx) - if err != nil { return *new(string), err } @@ -1447,7 +1410,6 @@ func (_IGovParam *IGovParamCaller) ParamNames(opts *bind.CallOpts, idx *big.Int) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // ParamNames is a free data retrieval call binding the contract method 0xdb758754. @@ -1586,7 +1548,6 @@ type IGovParamSetParam struct { // // Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation) func (_IGovParam *IGovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*IGovParamSetParamIterator, error) { - logs, sub, err := _IGovParam.contract.FilterLogs(opts, "SetParam") if err != nil { return nil, err @@ -1598,7 +1559,6 @@ func (_IGovParam *IGovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*IGo // // Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation) func (_IGovParam *IGovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *IGovParamSetParam) (event.Subscription, error) { - logs, sub, err := _IGovParam.contract.WatchLogs(opts, "SetParam") if err != nil { return nil, err @@ -1811,7 +1771,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -1819,7 +1778,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -1956,7 +1914,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -1977,7 +1934,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) diff --git a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go index 933c166d2c..aa73a658a2 100644 --- a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go +++ b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go @@ -442,7 +442,6 @@ type ContextUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error) { - logs, sub, err := _ContextUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -454,7 +453,6 @@ func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *b // // Solidity: event Initialized(uint8 version) func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _ContextUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -730,7 +728,6 @@ type ERC1967UpgradeUpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967UpgradeUpgradeableAdminChangedIterator, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -742,7 +739,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterAdmin // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -863,7 +859,6 @@ type ERC1967UpgradeUpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967UpgradeUpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -880,7 +875,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterBeaco // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -1006,7 +1000,6 @@ type ERC1967UpgradeUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC1967UpgradeUpgradeableInitializedIterator, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -1018,7 +1011,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterIniti // // Solidity: event Initialized(uint8 version) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -1139,7 +1131,6 @@ type ERC1967UpgradeUpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967UpgradeUpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1156,7 +1147,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterUpgra // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1396,7 +1386,8 @@ func (_IAddressBook *IAddressBookTransactorRaw) Transact(opts *bind.TransactOpts func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getAllAddress") @@ -1408,7 +1399,6 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (str outstruct.TypeList = *abi.ConvertType(out[0], new([]uint8)).(*[]uint8) outstruct.AddressList = *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return *outstruct, err - } // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. @@ -1417,7 +1407,8 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (str func (_IAddressBook *IAddressBookSession) GetAllAddress() (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddress(&_IAddressBook.CallOpts) } @@ -1427,7 +1418,8 @@ func (_IAddressBook *IAddressBookSession) GetAllAddress() (struct { func (_IAddressBook *IAddressBookCallerSession) GetAllAddress() (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddress(&_IAddressBook.CallOpts) } @@ -1440,7 +1432,8 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getAllAddressInfo") @@ -1458,7 +1451,6 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) outstruct.PocContractAddress = *abi.ConvertType(out[3], new(common.Address)).(*common.Address) outstruct.KirContractAddress = *abi.ConvertType(out[4], new(common.Address)).(*common.Address) return *outstruct, err - } // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. @@ -1470,7 +1462,8 @@ func (_IAddressBook *IAddressBookSession) GetAllAddressInfo() (struct { CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddressInfo(&_IAddressBook.CallOpts) } @@ -1483,7 +1476,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetAllAddressInfo() (struct { CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddressInfo(&_IAddressBook.CallOpts) } @@ -1494,7 +1488,8 @@ func (_IAddressBook *IAddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeI CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getCnInfo", _cnNodeId) @@ -1508,7 +1503,6 @@ func (_IAddressBook *IAddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeI outstruct.CnStakingcontract = *abi.ConvertType(out[1], new(common.Address)).(*common.Address) outstruct.CnRewardAddress = *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return *outstruct, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -1518,7 +1512,8 @@ func (_IAddressBook *IAddressBookSession) GetCnInfo(_cnNodeId common.Address) (s CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetCnInfo(&_IAddressBook.CallOpts, _cnNodeId) } @@ -1529,7 +1524,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetCnInfo(_cnNodeId common.Addre CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetCnInfo(&_IAddressBook.CallOpts, _cnNodeId) } @@ -1539,7 +1535,6 @@ func (_IAddressBook *IAddressBookCallerSession) GetCnInfo(_cnNodeId common.Addre func (_IAddressBook *IAddressBookCaller) GetPendingRequestList(opts *bind.CallOpts) ([][32]byte, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getPendingRequestList") - if err != nil { return *new([][32]byte), err } @@ -1547,7 +1542,6 @@ func (_IAddressBook *IAddressBookCaller) GetPendingRequestList(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new([][32]byte)).(*[][32]byte) return out0, err - } // GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd. @@ -1575,7 +1569,8 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getRequestInfo", _id) @@ -1597,7 +1592,6 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id outstruct.InitialProposedTime = *abi.ConvertType(out[5], new(*big.Int)).(**big.Int) outstruct.State = *abi.ConvertType(out[6], new(uint8)).(*uint8) return *outstruct, err - } // GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a. @@ -1611,7 +1605,8 @@ func (_IAddressBook *IAddressBookSession) GetRequestInfo(_id [32]byte) (struct { Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfo(&_IAddressBook.CallOpts, _id) } @@ -1626,7 +1621,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfo(_id [32]byte) (st Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfo(&_IAddressBook.CallOpts, _id) } @@ -1638,7 +1634,8 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpt Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getRequestInfoByArgs", _functionId, _firstArg, _secondArg, _thirdArg) @@ -1654,7 +1651,6 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpt outstruct.InitialProposedTime = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int) outstruct.State = *abi.ConvertType(out[3], new(uint8)).(*uint8) return *outstruct, err - } // GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb. @@ -1665,7 +1661,8 @@ func (_IAddressBook *IAddressBookSession) GetRequestInfoByArgs(_functionId uint8 Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfoByArgs(&_IAddressBook.CallOpts, _functionId, _firstArg, _secondArg, _thirdArg) } @@ -1677,7 +1674,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfoByArgs(_functionId Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfoByArgs(&_IAddressBook.CallOpts, _functionId, _firstArg, _secondArg, _thirdArg) } @@ -1687,7 +1685,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfoByArgs(_functionId func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getState") @@ -1699,7 +1698,6 @@ func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Requirement = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -1708,7 +1706,8 @@ func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { func (_IAddressBook *IAddressBookSession) GetState() (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { return _IAddressBook.Contract.GetState(&_IAddressBook.CallOpts) } @@ -1718,7 +1717,8 @@ func (_IAddressBook *IAddressBookSession) GetState() (struct { func (_IAddressBook *IAddressBookCallerSession) GetState() (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { return _IAddressBook.Contract.GetState(&_IAddressBook.CallOpts) } @@ -1728,7 +1728,6 @@ func (_IAddressBook *IAddressBookCallerSession) GetState() (struct { func (_IAddressBook *IAddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "isActivated") - if err != nil { return *new(bool), err } @@ -1736,7 +1735,6 @@ func (_IAddressBook *IAddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. @@ -1759,7 +1757,6 @@ func (_IAddressBook *IAddressBookCallerSession) IsActivated() (bool, error) { func (_IAddressBook *IAddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "isConstructed") - if err != nil { return *new(bool), err } @@ -1767,7 +1764,6 @@ func (_IAddressBook *IAddressBookCaller) IsConstructed(opts *bind.CallOpts) (boo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. @@ -1790,7 +1786,6 @@ func (_IAddressBook *IAddressBookCallerSession) IsConstructed() (bool, error) { func (_IAddressBook *IAddressBookCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "kirContractAddress") - if err != nil { return *new(common.Address), err } @@ -1798,7 +1793,6 @@ func (_IAddressBook *IAddressBookCaller) KirContractAddress(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. @@ -1821,7 +1815,6 @@ func (_IAddressBook *IAddressBookCallerSession) KirContractAddress() (common.Add func (_IAddressBook *IAddressBookCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "pocContractAddress") - if err != nil { return *new(common.Address), err } @@ -1829,7 +1822,6 @@ func (_IAddressBook *IAddressBookCaller) PocContractAddress(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. @@ -1852,7 +1844,6 @@ func (_IAddressBook *IAddressBookCallerSession) PocContractAddress() (common.Add func (_IAddressBook *IAddressBookCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "spareContractAddress") - if err != nil { return *new(common.Address), err } @@ -1860,7 +1851,6 @@ func (_IAddressBook *IAddressBookCaller) SpareContractAddress(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. @@ -2317,7 +2307,6 @@ func (_IBeaconUpgradeable *IBeaconUpgradeableTransactorRaw) Transact(opts *bind. func (_IBeaconUpgradeable *IBeaconUpgradeableCaller) Implementation(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IBeaconUpgradeable.contract.Call(opts, &out, "implementation") - if err != nil { return *new(common.Address), err } @@ -2325,7 +2314,6 @@ func (_IBeaconUpgradeable *IBeaconUpgradeableCaller) Implementation(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Implementation is a free data retrieval call binding the contract method 0x5c60da1b. @@ -2509,7 +2497,6 @@ func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableTransactorRaw) func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _IERC1822ProxiableUpgradeable.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -2517,7 +2504,6 @@ func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableCaller) Proxiab out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -2766,7 +2752,6 @@ type IERC1967UpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*IERC1967UpgradeableAdminChangedIterator, error) { - logs, sub, err := _IERC1967Upgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2778,7 +2763,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterAdminChanged(opts // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _IERC1967Upgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2899,7 +2883,6 @@ type IERC1967UpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*IERC1967UpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -2916,7 +2899,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterBeaconUpgraded(op // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -3042,7 +3024,6 @@ type IERC1967UpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*IERC1967UpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -3059,7 +3040,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterUpgraded(opts *bi // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -3275,7 +3255,8 @@ func (_IKIP113 *IKIP113TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { var out []interface{} err := _IKIP113.contract.Call(opts, &out, "getAllBlsInfo") @@ -3287,7 +3268,6 @@ func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { outstruct.NodeIdList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.PubkeyList = *abi.ConvertType(out[1], new([]IKIP113BlsPublicKeyInfo)).(*[]IKIP113BlsPublicKeyInfo) return *outstruct, err - } // GetAllBlsInfo is a free data retrieval call binding the contract method 0x6968b53f. @@ -3296,7 +3276,8 @@ func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { func (_IKIP113 *IKIP113Session) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _IKIP113.Contract.GetAllBlsInfo(&_IKIP113.CallOpts) } @@ -3306,7 +3287,8 @@ func (_IKIP113 *IKIP113Session) GetAllBlsInfo() (struct { func (_IKIP113 *IKIP113CallerSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _IKIP113.Contract.GetAllBlsInfo(&_IKIP113.CallOpts) } @@ -3541,7 +3523,6 @@ type InitializableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error) { - logs, sub, err := _Initializable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -3553,7 +3534,6 @@ func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.Filter // // Solidity: event Initialized(uint8 version) func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error) { - logs, sub, err := _Initializable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -3766,7 +3746,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) Transact(opts *bind. func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _OwnableUpgradeable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -3774,7 +3753,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -3910,7 +3888,6 @@ type OwnableUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error) { - logs, sub, err := _OwnableUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -3922,7 +3899,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *b // // Solidity: event Initialized(uint8 version) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _OwnableUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -4044,7 +4020,6 @@ type OwnableUpgradeableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4065,7 +4040,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferre // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4321,7 +4295,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryTransactorRaw) Transact(opts *bind.Tr func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO48HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "ZERO48HASH") - if err != nil { return *new([32]byte), err } @@ -4329,7 +4302,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO48HASH(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO48HASH is a free data retrieval call binding the contract method 0x6fc522c6. @@ -4352,7 +4324,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ZERO48HASH() ([32]byte func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO96HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "ZERO96HASH") - if err != nil { return *new([32]byte), err } @@ -4360,7 +4331,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO96HASH(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO96HASH is a free data retrieval call binding the contract method 0x20abd458. @@ -4383,7 +4353,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ZERO96HASH() ([32]byte func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Abook(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "abook") - if err != nil { return *new(common.Address), err } @@ -4391,7 +4360,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Abook(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Abook is a free data retrieval call binding the contract method 0x829d639d. @@ -4414,7 +4382,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Abook() (common.Addres func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) AllNodeIds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "allNodeIds", arg0) - if err != nil { return *new(common.Address), err } @@ -4422,7 +4389,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) AllNodeIds(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AllNodeIds is a free data retrieval call binding the contract method 0xa5834971. @@ -4445,7 +4411,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) AllNodeIds(arg0 *big.I func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.CallOpts) (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "getAllBlsInfo") @@ -4457,7 +4424,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.Call outstruct.NodeIdList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.PubkeyList = *abi.ConvertType(out[1], new([]IKIP113BlsPublicKeyInfo)).(*[]IKIP113BlsPublicKeyInfo) return *outstruct, err - } // GetAllBlsInfo is a free data retrieval call binding the contract method 0x6968b53f. @@ -4466,7 +4432,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.Call func (_SimpleBlsRegistry *SimpleBlsRegistrySession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.GetAllBlsInfo(&_SimpleBlsRegistry.CallOpts) } @@ -4476,7 +4443,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistrySession) GetAllBlsInfo() (struct { func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.GetAllBlsInfo(&_SimpleBlsRegistry.CallOpts) } @@ -4486,7 +4454,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) GetAllBlsInfo() (struc func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -4494,7 +4461,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -4517,7 +4483,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Owner() (common.Addres func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -4525,7 +4490,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ProxiableUUID(opts *bind.Call out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -4548,7 +4512,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ProxiableUUID() ([32]b func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "record", arg0) @@ -4560,7 +4525,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, a outstruct.PublicKey = *abi.ConvertType(out[0], new([]byte)).(*[]byte) outstruct.Pop = *abi.ConvertType(out[1], new([]byte)).(*[]byte) return *outstruct, err - } // Record is a free data retrieval call binding the contract method 0x3465d6d5. @@ -4569,7 +4533,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, a func (_SimpleBlsRegistry *SimpleBlsRegistrySession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.Record(&_SimpleBlsRegistry.CallOpts, arg0) } @@ -4579,7 +4544,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistrySession) Record(arg0 common.Address) func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.Record(&_SimpleBlsRegistry.CallOpts, arg0) } @@ -4808,7 +4774,6 @@ type SimpleBlsRegistryAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*SimpleBlsRegistryAdminChangedIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -4820,7 +4785,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterAdminChanged(opts *bi // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryAdminChanged) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -4941,7 +4905,6 @@ type SimpleBlsRegistryBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*SimpleBlsRegistryBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -4958,7 +4921,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterBeaconUpgraded(opts * // // Solidity: event BeaconUpgraded(address indexed beacon) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -5084,7 +5046,6 @@ type SimpleBlsRegistryInitialized struct { // // Solidity: event Initialized(uint8 version) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*SimpleBlsRegistryInitializedIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -5096,7 +5057,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterInitialized(opts *bin // // Solidity: event Initialized(uint8 version) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryInitialized) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -5218,7 +5178,6 @@ type SimpleBlsRegistryOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SimpleBlsRegistryOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -5239,7 +5198,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -5371,7 +5329,6 @@ type SimpleBlsRegistryRegistered struct { // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterRegistered(opts *bind.FilterOpts) (*SimpleBlsRegistryRegisteredIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Registered") if err != nil { return nil, err @@ -5383,7 +5340,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterRegistered(opts *bind // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryRegistered) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Registered") if err != nil { return nil, err @@ -5506,7 +5462,6 @@ type SimpleBlsRegistryUnregistered struct { // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUnregistered(opts *bind.FilterOpts) (*SimpleBlsRegistryUnregisteredIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Unregistered") if err != nil { return nil, err @@ -5518,7 +5473,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUnregistered(opts *bi // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchUnregistered(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryUnregistered) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Unregistered") if err != nil { return nil, err @@ -5639,7 +5593,6 @@ type SimpleBlsRegistryUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*SimpleBlsRegistryUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -5656,7 +5609,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUpgraded(opts *bind.F // // Solidity: event Upgraded(address indexed implementation) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -6050,7 +6002,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableTransactorRaw) Transact(opts *bind.Transa func (_UUPSUpgradeable *UUPSUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _UUPSUpgradeable.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -6058,7 +6009,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -6195,7 +6145,6 @@ type UUPSUpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*UUPSUpgradeableAdminChangedIterator, error) { - logs, sub, err := _UUPSUpgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -6207,7 +6156,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterAdminChanged(opts *bind.F // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _UUPSUpgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -6328,7 +6276,6 @@ type UUPSUpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*UUPSUpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -6345,7 +6292,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterBeaconUpgraded(opts *bind // // Solidity: event BeaconUpgraded(address indexed beacon) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -6471,7 +6417,6 @@ type UUPSUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*UUPSUpgradeableInitializedIterator, error) { - logs, sub, err := _UUPSUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -6483,7 +6428,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterInitialized(opts *bind.Fi // // Solidity: event Initialized(uint8 version) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _UUPSUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -6604,7 +6548,6 @@ type UUPSUpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*UUPSUpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -6621,7 +6564,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterUpgraded(opts *bind.Filte // // Solidity: event Upgraded(address indexed implementation) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) diff --git a/contracts/contracts/system_contracts/kip149/Registry.go b/contracts/contracts/system_contracts/kip149/Registry.go index f5bd80d058..ce39fd6959 100644 --- a/contracts/contracts/system_contracts/kip149/Registry.go +++ b/contracts/contracts/system_contracts/kip149/Registry.go @@ -209,7 +209,6 @@ func (_IRegistry *IRegistryTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "getAllNames") - if err != nil { return *new([]string), err } @@ -217,7 +216,6 @@ func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, e out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f. @@ -240,7 +238,6 @@ func (_IRegistry *IRegistryCallerSession) GetAllNames() ([]string, error) { func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "getAllRecords", name) - if err != nil { return *new([]IRegistryRecord), err } @@ -248,7 +245,6 @@ func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name strin out0 := *abi.ConvertType(out[0], new([]IRegistryRecord)).(*[]IRegistryRecord) return out0, err - } // GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2. @@ -271,7 +267,6 @@ func (_IRegistry *IRegistryCallerSession) GetAllRecords(name string) ([]IRegistr func (_IRegistry *IRegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "names", arg0) - if err != nil { return *new(string), err } @@ -279,7 +274,6 @@ func (_IRegistry *IRegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (st out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Names is a free data retrieval call binding the contract method 0x4622ab03. @@ -302,7 +296,6 @@ func (_IRegistry *IRegistryCallerSession) Names(arg0 *big.Int) (string, error) { func (_IRegistry *IRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -310,7 +303,6 @@ func (_IRegistry *IRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, e out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -333,7 +325,8 @@ func (_IRegistry *IRegistryCallerSession) Owner() (common.Address, error) { func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "records", arg0, arg1) @@ -345,7 +338,6 @@ func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Activation = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Records is a free data retrieval call binding the contract method 0x3b51650d. @@ -354,7 +346,8 @@ func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _IRegistry.Contract.Records(&_IRegistry.CallOpts, arg0, arg1) } @@ -364,7 +357,8 @@ func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct func (_IRegistry *IRegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _IRegistry.Contract.Records(&_IRegistry.CallOpts, arg0, arg1) } @@ -509,7 +503,6 @@ type IRegistryOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IRegistryOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -530,7 +523,6 @@ func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.Filte // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_IRegistry *IRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -662,7 +654,6 @@ type IRegistryRegistered struct { // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*IRegistryRegisteredIterator, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -683,7 +674,6 @@ func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, add // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_IRegistry *IRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *IRegistryRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -932,7 +922,6 @@ func (_Registry *RegistryTransactorRaw) Transact(opts *bind.TransactOpts, method func (_Registry *RegistryCaller) GetActiveAddr(opts *bind.CallOpts, name string) (common.Address, error) { var out []interface{} err := _Registry.contract.Call(opts, &out, "getActiveAddr", name) - if err != nil { return *new(common.Address), err } @@ -940,7 +929,6 @@ func (_Registry *RegistryCaller) GetActiveAddr(opts *bind.CallOpts, name string) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetActiveAddr is a free data retrieval call binding the contract method 0xe2693e3f. @@ -963,7 +951,6 @@ func (_Registry *RegistryCallerSession) GetActiveAddr(name string) (common.Addre func (_Registry *RegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _Registry.contract.Call(opts, &out, "getAllNames") - if err != nil { return *new([]string), err } @@ -971,7 +958,6 @@ func (_Registry *RegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, err out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f. @@ -994,7 +980,6 @@ func (_Registry *RegistryCallerSession) GetAllNames() ([]string, error) { func (_Registry *RegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error) { var out []interface{} err := _Registry.contract.Call(opts, &out, "getAllRecords", name) - if err != nil { return *new([]IRegistryRecord), err } @@ -1002,7 +987,6 @@ func (_Registry *RegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) out0 := *abi.ConvertType(out[0], new([]IRegistryRecord)).(*[]IRegistryRecord) return out0, err - } // GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2. @@ -1025,7 +1009,6 @@ func (_Registry *RegistryCallerSession) GetAllRecords(name string) ([]IRegistryR func (_Registry *RegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error) { var out []interface{} err := _Registry.contract.Call(opts, &out, "names", arg0) - if err != nil { return *new(string), err } @@ -1033,7 +1016,6 @@ func (_Registry *RegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (stri out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Names is a free data retrieval call binding the contract method 0x4622ab03. @@ -1056,7 +1038,6 @@ func (_Registry *RegistryCallerSession) Names(arg0 *big.Int) (string, error) { func (_Registry *RegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Registry.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -1064,7 +1045,6 @@ func (_Registry *RegistryCaller) Owner(opts *bind.CallOpts) (common.Address, err out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -1087,7 +1067,8 @@ func (_Registry *RegistryCallerSession) Owner() (common.Address, error) { func (_Registry *RegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { var out []interface{} err := _Registry.contract.Call(opts, &out, "records", arg0, arg1) @@ -1099,7 +1080,6 @@ func (_Registry *RegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Activation = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Records is a free data retrieval call binding the contract method 0x3b51650d. @@ -1108,7 +1088,8 @@ func (_Registry *RegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 func (_Registry *RegistrySession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _Registry.Contract.Records(&_Registry.CallOpts, arg0, arg1) } @@ -1118,7 +1099,8 @@ func (_Registry *RegistrySession) Records(arg0 string, arg1 *big.Int) (struct { func (_Registry *RegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _Registry.Contract.Records(&_Registry.CallOpts, arg0, arg1) } @@ -1242,7 +1224,6 @@ type RegistryOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -1263,7 +1244,6 @@ func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterO // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -1395,7 +1375,6 @@ type RegistryRegistered struct { // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_Registry *RegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*RegistryRegisteredIterator, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -1416,7 +1395,6 @@ func (_Registry *RegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_Registry *RegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *RegistryRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) diff --git a/contracts/contracts/system_contracts/misc/credit.go b/contracts/contracts/system_contracts/misc/credit.go index bee613d623..dd4631afc7 100644 --- a/contracts/contracts/system_contracts/misc/credit.go +++ b/contracts/contracts/system_contracts/misc/credit.go @@ -219,7 +219,6 @@ func (_CypressCredit *CypressCreditTransactorRaw) Transact(opts *bind.TransactOp func (_CypressCredit *CypressCreditCaller) GetNames(opts *bind.CallOpts) (string, error) { var out []interface{} err := _CypressCredit.contract.Call(opts, &out, "getNames") - if err != nil { return *new(string), err } @@ -227,7 +226,6 @@ func (_CypressCredit *CypressCreditCaller) GetNames(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // GetNames is a free data retrieval call binding the contract method 0xcd838f0f. @@ -250,7 +248,6 @@ func (_CypressCredit *CypressCreditCallerSession) GetNames() (string, error) { func (_CypressCredit *CypressCreditCaller) GetPhoto(opts *bind.CallOpts) (string, error) { var out []interface{} err := _CypressCredit.contract.Call(opts, &out, "getPhoto") - if err != nil { return *new(string), err } @@ -258,7 +255,6 @@ func (_CypressCredit *CypressCreditCaller) GetPhoto(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // GetPhoto is a free data retrieval call binding the contract method 0xb2ec005e. diff --git a/contracts/contracts/system_contracts/proxy/proxy.go b/contracts/contracts/system_contracts/proxy/proxy.go index 0880f825e8..f2c46a50b5 100644 --- a/contracts/contracts/system_contracts/proxy/proxy.go +++ b/contracts/contracts/system_contracts/proxy/proxy.go @@ -501,7 +501,6 @@ type ERC1967ProxyAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967ProxyAdminChangedIterator, error) { - logs, sub, err := _ERC1967Proxy.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -513,7 +512,6 @@ func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterAdminChanged(opts *bind.FilterO // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyAdminChanged) (event.Subscription, error) { - logs, sub, err := _ERC1967Proxy.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -634,7 +632,6 @@ type ERC1967ProxyBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967ProxyBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -651,7 +648,6 @@ func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterBeaconUpgraded(opts *bind.Filte // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -777,7 +773,6 @@ type ERC1967ProxyUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967ProxyUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -794,7 +789,6 @@ func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1075,7 +1069,6 @@ type ERC1967UpgradeAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967UpgradeAdminChangedIterator, error) { - logs, sub, err := _ERC1967Upgrade.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -1087,7 +1080,6 @@ func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterAdminChanged(opts *bind.Fil // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeAdminChanged) (event.Subscription, error) { - logs, sub, err := _ERC1967Upgrade.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -1208,7 +1200,6 @@ type ERC1967UpgradeBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967UpgradeBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -1225,7 +1216,6 @@ func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterBeaconUpgraded(opts *bind.F // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -1351,7 +1341,6 @@ type ERC1967UpgradeUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967UpgradeUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1368,7 +1357,6 @@ func (_ERC1967Upgrade *ERC1967UpgradeFilterer) FilterUpgraded(opts *bind.FilterO // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967Upgrade *ERC1967UpgradeFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1584,7 +1572,6 @@ func (_IBeacon *IBeaconTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IBeacon *IBeaconCaller) Implementation(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IBeacon.contract.Call(opts, &out, "implementation") - if err != nil { return *new(common.Address), err } @@ -1592,7 +1579,6 @@ func (_IBeacon *IBeaconCaller) Implementation(opts *bind.CallOpts) (common.Addre out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Implementation is a free data retrieval call binding the contract method 0x5c60da1b. @@ -1776,7 +1762,6 @@ func (_IERC1822Proxiable *IERC1822ProxiableTransactorRaw) Transact(opts *bind.Tr func (_IERC1822Proxiable *IERC1822ProxiableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _IERC1822Proxiable.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -1784,7 +1769,6 @@ func (_IERC1822Proxiable *IERC1822ProxiableCaller) ProxiableUUID(opts *bind.Call out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -2033,7 +2017,6 @@ type IERC1967AdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967 *IERC1967Filterer) FilterAdminChanged(opts *bind.FilterOpts) (*IERC1967AdminChangedIterator, error) { - logs, sub, err := _IERC1967.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2045,7 +2028,6 @@ func (_IERC1967 *IERC1967Filterer) FilterAdminChanged(opts *bind.FilterOpts) (*I // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967 *IERC1967Filterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *IERC1967AdminChanged) (event.Subscription, error) { - logs, sub, err := _IERC1967.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2166,7 +2148,6 @@ type IERC1967BeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967 *IERC1967Filterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*IERC1967BeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -2183,7 +2164,6 @@ func (_IERC1967 *IERC1967Filterer) FilterBeaconUpgraded(opts *bind.FilterOpts, b // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967 *IERC1967Filterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967BeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -2309,7 +2289,6 @@ type IERC1967Upgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967 *IERC1967Filterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*IERC1967UpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -2326,7 +2305,6 @@ func (_IERC1967 *IERC1967Filterer) FilterUpgraded(opts *bind.FilterOpts, impleme // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967 *IERC1967Filterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967Upgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) diff --git a/contracts/contracts/system_contracts/rebalance/all.go b/contracts/contracts/system_contracts/rebalance/all.go index 2d34177361..9082bf7dde 100644 --- a/contracts/contracts/system_contracts/rebalance/all.go +++ b/contracts/contracts/system_contracts/rebalance/all.go @@ -196,7 +196,8 @@ func (_IRetiredContract *IRetiredContractTransactorRaw) Transact(opts *bind.Tran func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IRetiredContract.contract.Call(opts, &out, "getState") @@ -208,7 +209,6 @@ func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) ( outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Quorom = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -217,7 +217,8 @@ func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) ( func (_IRetiredContract *IRetiredContractSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IRetiredContract.Contract.GetState(&_IRetiredContract.CallOpts) } @@ -227,7 +228,8 @@ func (_IRetiredContract *IRetiredContractSession) GetState() (struct { func (_IRetiredContract *IRetiredContractCallerSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IRetiredContract.Contract.GetState(&_IRetiredContract.CallOpts) } @@ -416,13 +418,11 @@ func (_ITreasuryRebalance *ITreasuryRebalanceTransactorRaw) Transact(opts *bind. func (_ITreasuryRebalance *ITreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "checkRetiredsApproved") - if err != nil { return err } return err - } // CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794. @@ -445,7 +445,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) CheckRetiredsApprove func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, newbieAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getNewbie", newbieAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -454,7 +453,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOp out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55. @@ -477,7 +475,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbie(newbieAddr func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getNewbieCount") - if err != nil { return *new(*big.Int), err } @@ -485,7 +482,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.C out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86. @@ -508,7 +504,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbieCount() (*b func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, retiredAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getRetired", retiredAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -517,7 +512,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallO out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetRetired is a free data retrieval call binding the contract method 0xbf680590. @@ -540,7 +534,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetired(retiredAd func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getRetiredCount") - if err != nil { return *new(*big.Int), err } @@ -548,7 +541,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc. @@ -571,7 +563,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetiredCount() (* func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -579,7 +570,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -602,7 +592,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetTreasuryAmount() func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -610,7 +599,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -633,7 +621,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Memo() (string, erro func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -641,7 +628,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -664,7 +650,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) RebalanceBlockNumber func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -672,7 +657,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -695,7 +679,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Status() (uint8, err func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "sumOfRetiredBalance") - if err != nil { return *new(*big.Int), err } @@ -703,7 +686,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b. @@ -988,7 +970,6 @@ type ITreasuryRebalanceApproved struct { // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*ITreasuryRebalanceApprovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -1000,7 +981,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceApproved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -1123,7 +1103,6 @@ type ITreasuryRebalanceContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*ITreasuryRebalanceContractDeployedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -1135,7 +1114,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(op // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceContractDeployed) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -1257,7 +1235,6 @@ type ITreasuryRebalanceFinalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*ITreasuryRebalanceFinalizedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -1269,7 +1246,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bin // // Solidity: event Finalized(string memo, uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceFinalized) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -1391,7 +1367,6 @@ type ITreasuryRebalanceNewbieRegistered struct { // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRegisteredIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -1403,7 +1378,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(op // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRegistered) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -1524,7 +1498,6 @@ type ITreasuryRebalanceNewbieRemoved struct { // // Solidity: event NewbieRemoved(address newbie) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRemovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -1536,7 +1509,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts // // Solidity: event NewbieRemoved(address newbie) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRemoved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -1657,7 +1629,6 @@ type ITreasuryRebalanceRetiredRegistered struct { // // Solidity: event RetiredRegistered(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRegisteredIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -1669,7 +1640,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(o // // Solidity: event RetiredRegistered(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRegistered) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -1790,7 +1760,6 @@ type ITreasuryRebalanceRetiredRemoved struct { // // Solidity: event RetiredRemoved(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRemovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -1802,7 +1771,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts // // Solidity: event RetiredRemoved(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRemoved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -1923,7 +1891,6 @@ type ITreasuryRebalanceStatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*ITreasuryRebalanceStatusChangedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -1935,7 +1902,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts // // Solidity: event StatusChanged(uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceStatusChanged) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -2146,7 +2112,8 @@ func (_IZeroedContract *IZeroedContractTransactorRaw) Transact(opts *bind.Transa func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IZeroedContract.contract.Call(opts, &out, "getState") @@ -2158,7 +2125,6 @@ func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (st outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Quorom = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -2167,7 +2133,8 @@ func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (st func (_IZeroedContract *IZeroedContractSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IZeroedContract.Contract.GetState(&_IZeroedContract.CallOpts) } @@ -2177,7 +2144,8 @@ func (_IZeroedContract *IZeroedContractSession) GetState() (struct { func (_IZeroedContract *IZeroedContractCallerSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IZeroedContract.Contract.GetState(&_IZeroedContract.CallOpts) } @@ -2373,7 +2341,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -2381,7 +2348,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -2404,7 +2370,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -2412,7 +2377,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -2549,7 +2513,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2570,7 +2533,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2841,13 +2803,11 @@ func (_TreasuryRebalance *TreasuryRebalanceTransactorRaw) Transact(opts *bind.Tr func (_TreasuryRebalance *TreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "checkRetiredsApproved") - if err != nil { return err } return err - } // CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794. @@ -2870,7 +2830,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) CheckRetiredsApproved( func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, _newbieAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbie", _newbieAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -2879,7 +2838,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55. @@ -2902,7 +2860,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbie(_newbieAddre func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbieCount") - if err != nil { return *new(*big.Int), err } @@ -2910,7 +2867,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86. @@ -2933,7 +2889,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieCount() (*big func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.CallOpts, _newbieAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbieIndex", _newbieAddress) - if err != nil { return *new(*big.Int), err } @@ -2941,7 +2896,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466. @@ -2964,7 +2918,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieIndex(_newbie func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, _retiredAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetired", _retiredAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -2973,7 +2926,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpt out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetRetired is a free data retrieval call binding the contract method 0xbf680590. @@ -2996,7 +2948,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetired(_retiredAdd func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetiredCount") - if err != nil { return *new(*big.Int), err } @@ -3004,7 +2955,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc. @@ -3027,7 +2977,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredCount() (*bi func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.CallOpts, _retiredAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetiredIndex", _retiredAddress) - if err != nil { return *new(*big.Int), err } @@ -3035,7 +2984,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c. @@ -3058,7 +3006,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredIndex(_retir func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -3066,7 +3013,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -3089,7 +3035,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetTreasuryAmount() (* func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -3097,7 +3042,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -3120,7 +3064,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsContractAddr(_addr c func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -3128,7 +3071,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -3151,7 +3093,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsOwner() (bool, error func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -3159,7 +3100,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (st out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -3182,7 +3122,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Memo() (string, error) func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallOpts, _newbieAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "newbieExists", _newbieAddress) - if err != nil { return *new(bool), err } @@ -3190,7 +3129,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // NewbieExists is a free data retrieval call binding the contract method 0x683e13cb. @@ -3213,7 +3151,8 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) NewbieExists(_newbieAd func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "newbies", arg0) @@ -3225,7 +3164,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, outstruct.Newbie = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Newbies is a free data retrieval call binding the contract method 0x94393e11. @@ -3234,7 +3172,8 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalance.Contract.Newbies(&_TreasuryRebalance.CallOpts, arg0) } @@ -3244,7 +3183,8 @@ func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (stru func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalance.Contract.Newbies(&_TreasuryRebalance.CallOpts, arg0) } @@ -3254,7 +3194,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) func (_TreasuryRebalance *TreasuryRebalanceCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -3262,7 +3201,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -3285,7 +3223,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Owner() (common.Addres func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -3293,7 +3230,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -3316,7 +3252,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RebalanceBlockNumber() func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.CallOpts, _retiredAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "retiredExists", _retiredAddress) - if err != nil { return *new(bool), err } @@ -3324,7 +3259,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // RetiredExists is a free data retrieval call binding the contract method 0x01784e05. @@ -3347,7 +3281,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RetiredExists(_retired func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "retirees", arg0) - if err != nil { return *new(common.Address), err } @@ -3355,7 +3288,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Retirees is a free data retrieval call binding the contract method 0x5a12667b. @@ -3378,7 +3310,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Retirees(arg0 *big.Int func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -3386,7 +3317,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -3409,7 +3339,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Status() (uint8, error func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "sumOfRetiredBalance") - if err != nil { return *new(*big.Int), err } @@ -3417,7 +3346,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b. @@ -3765,7 +3693,6 @@ type TreasuryRebalanceApproved struct { // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceApprovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -3777,7 +3704,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.F // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceApproved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -3900,7 +3826,6 @@ type TreasuryRebalanceContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -3912,7 +3837,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -4034,7 +3958,6 @@ type TreasuryRebalanceFinalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceFinalizedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -4046,7 +3969,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind. // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceFinalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -4168,7 +4090,6 @@ type TreasuryRebalanceNewbieRegistered struct { // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -4180,7 +4101,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -4301,7 +4221,6 @@ type TreasuryRebalanceNewbieRemoved struct { // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRemovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -4313,7 +4232,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *b // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -4435,7 +4353,6 @@ type TreasuryRebalanceOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4456,7 +4373,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4586,7 +4502,6 @@ type TreasuryRebalanceRetiredRegistered struct { // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -4598,7 +4513,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opt // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -4719,7 +4633,6 @@ type TreasuryRebalanceRetiredRemoved struct { // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRemovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -4731,7 +4644,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts * // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -4852,7 +4764,6 @@ type TreasuryRebalanceStatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceStatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -4864,7 +4775,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *b // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceStatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -5127,7 +5037,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2TransactorRaw) Transact(opts *bin func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) AllocatedExists(opts *bind.CallOpts, _allocatedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "allocatedExists", _allocatedAddress) - if err != nil { return *new(bool), err } @@ -5135,7 +5044,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) AllocatedExists(opts *bin out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // AllocatedExists is a free data retrieval call binding the contract method 0xbd786f57. @@ -5158,7 +5066,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) AllocatedExists(_a func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.CallOpts, arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "allocateds", arg0) @@ -5170,7 +5079,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.Cal outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Allocateds is a free data retrieval call binding the contract method 0x343e2c85. @@ -5179,7 +5087,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.Cal func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Session) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceV2.Contract.Allocateds(&_TreasuryRebalanceV2.CallOpts, arg0) } @@ -5189,7 +5098,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Session) Allocateds(arg0 *big.Int func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceV2.Contract.Allocateds(&_TreasuryRebalanceV2.CallOpts, arg0) } @@ -5199,13 +5109,11 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Allocateds(arg0 *b func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) CheckZeroedsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "checkZeroedsApproved") - if err != nil { return err } return err - } // CheckZeroedsApproved is a free data retrieval call binding the contract method 0x0287d126. @@ -5228,7 +5136,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) CheckZeroedsApprov func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocated(opts *bind.CallOpts, _allocatedAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocated", _allocatedAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -5237,7 +5144,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocated(opts *bind.C out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetAllocated is a free data retrieval call binding the contract method 0x9e59eb14. @@ -5260,7 +5166,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocated(_allo func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocatedCount") - if err != nil { return *new(*big.Int), err } @@ -5268,7 +5173,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedCount(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedCount is a free data retrieval call binding the contract method 0xed355529. @@ -5291,7 +5195,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocatedCount( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedIndex(opts *bind.CallOpts, _allocatedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocatedIndex", _allocatedAddress) - if err != nil { return *new(*big.Int), err } @@ -5299,7 +5202,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedIndex(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedIndex is a free data retrieval call binding the contract method 0x7bfaf7b7. @@ -5322,7 +5224,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocatedIndex( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -5330,7 +5231,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetTreasuryAmount(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -5353,7 +5253,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetTreasuryAmount( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroed(opts *bind.CallOpts, _zeroedAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroed", _zeroedAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -5362,7 +5261,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroed(opts *bind.Call out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetZeroed is a free data retrieval call binding the contract method 0xcea1c338. @@ -5385,7 +5283,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroed(_zeroedA func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroedCount") - if err != nil { return *new(*big.Int), err } @@ -5393,7 +5290,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedCount(opts *bind out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedCount is a free data retrieval call binding the contract method 0x9dc954ba. @@ -5416,7 +5312,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroedCount() ( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedIndex(opts *bind.CallOpts, _zeroedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroedIndex", _zeroedAddress) - if err != nil { return *new(*big.Int), err } @@ -5424,7 +5319,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedIndex(opts *bind out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedIndex is a free data retrieval call binding the contract method 0x518592da. @@ -5447,7 +5341,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroedIndex(_ze func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -5455,7 +5348,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsContractAddr(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -5478,7 +5370,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) IsContractAddr(_ad func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -5486,7 +5377,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsOwner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -5509,7 +5399,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) IsOwner() (bool, e func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -5517,7 +5406,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Memo(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -5540,7 +5428,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Memo() (string, er func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -5548,7 +5435,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Owner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -5571,7 +5457,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Owner() (common.Ad func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -5579,7 +5464,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) RebalanceBlockNumber(opts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -5602,7 +5486,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) RebalanceBlockNumb func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -5610,7 +5493,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Status(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -5633,7 +5515,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Status() (uint8, e func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) SumOfZeroedBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "sumOfZeroedBalance") - if err != nil { return *new(*big.Int), err } @@ -5641,7 +5522,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) SumOfZeroedBalance(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfZeroedBalance is a free data retrieval call binding the contract method 0x9ab29b70. @@ -5664,7 +5544,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) SumOfZeroedBalance func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) ZeroedExists(opts *bind.CallOpts, _zeroedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "zeroedExists", _zeroedAddress) - if err != nil { return *new(bool), err } @@ -5672,7 +5551,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) ZeroedExists(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ZeroedExists is a free data retrieval call binding the contract method 0x5f8798c0. @@ -5695,7 +5573,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) ZeroedExists(_zero func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Zeroeds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "zeroeds", arg0) - if err != nil { return *new(common.Address), err } @@ -5703,7 +5580,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Zeroeds(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Zeroeds is a free data retrieval call binding the contract method 0x62aa3e91. @@ -6050,7 +5926,6 @@ type TreasuryRebalanceV2AllocatedRegistered struct { // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceV2AllocatedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -6062,7 +5937,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRegister // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchAllocatedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2AllocatedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -6183,7 +6057,6 @@ type TreasuryRebalanceV2AllocatedRemoved struct { // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceV2AllocatedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -6195,7 +6068,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRemoved( // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchAllocatedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2AllocatedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -6318,7 +6190,6 @@ type TreasuryRebalanceV2Approved struct { // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceV2ApprovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -6330,7 +6201,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterApproved(opts *bi // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2Approved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -6453,7 +6323,6 @@ type TreasuryRebalanceV2ContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceV2ContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -6465,7 +6334,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterContractDeployed( // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -6587,7 +6455,6 @@ type TreasuryRebalanceV2Finalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceV2FinalizedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -6599,7 +6466,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterFinalized(opts *b // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2Finalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -6721,7 +6587,6 @@ type TreasuryRebalanceV2OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceV2OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6742,7 +6607,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterOwnershipTransfer // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6872,7 +6736,6 @@ type TreasuryRebalanceV2StatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceV2StatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -6884,7 +6747,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterStatusChanged(opt // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2StatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -7005,7 +6867,6 @@ type TreasuryRebalanceV2ZeroedRegistered struct { // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceV2ZeroedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -7017,7 +6878,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRegistered( // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchZeroedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ZeroedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -7138,7 +6998,6 @@ type TreasuryRebalanceV2ZeroedRemoved struct { // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceV2ZeroedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ZeroedRemoved") if err != nil { return nil, err @@ -7150,7 +7009,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRemoved(opt // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchZeroedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ZeroedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ZeroedRemoved") if err != nil { return nil, err diff --git a/contracts/contracts/testing/extbridge/ext_bridge.go b/contracts/contracts/testing/extbridge/ext_bridge.go index d5aac3a4fc..1be12fee8b 100644 --- a/contracts/contracts/testing/extbridge/ext_bridge.go +++ b/contracts/contracts/testing/extbridge/ext_bridge.go @@ -374,7 +374,6 @@ func (_BridgeFee *BridgeFeeTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_BridgeFee *BridgeFeeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -382,7 +381,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.A out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -405,7 +403,6 @@ func (_BridgeFee *BridgeFeeCallerSession) FeeOfERC20(arg0 common.Address) (*big. func (_BridgeFee *BridgeFeeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -413,7 +410,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, err out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -436,7 +432,6 @@ func (_BridgeFee *BridgeFeeCallerSession) FeeOfKLAY() (*big.Int, error) { func (_BridgeFee *BridgeFeeCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeFee.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -444,7 +439,6 @@ func (_BridgeFee *BridgeFeeCaller) FeeReceiver(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -539,7 +533,6 @@ type BridgeFeeERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeFeeERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -560,7 +553,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -690,7 +682,6 @@ type BridgeFeeFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeFee *BridgeFeeFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeFeeFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -707,7 +698,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterFeeReceiverChanged(opts *bind.FilterO // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeFee *BridgeFeeFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -833,7 +823,6 @@ type BridgeFeeKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeFeeKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -850,7 +839,6 @@ func (_BridgeFee *BridgeFeeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeFee *BridgeFeeFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -1088,7 +1076,6 @@ func (_BridgeHandledRequests *BridgeHandledRequestsTransactorRaw) Transact(opts func (_BridgeHandledRequests *BridgeHandledRequestsCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeHandledRequests.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -1096,7 +1083,6 @@ func (_BridgeHandledRequests *BridgeHandledRequestsCaller) HandledRequestTx(opts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -1293,7 +1279,6 @@ func (_BridgeOperator *BridgeOperatorTransactorRaw) Transact(opts *bind.Transact func (_BridgeOperator *BridgeOperatorCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -1301,7 +1286,6 @@ func (_BridgeOperator *BridgeOperatorCaller) MAXOPERATOR(opts *bind.CallOpts) (u out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -1324,7 +1308,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) MAXOPERATOR() (uint64, error func (_BridgeOperator *BridgeOperatorCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -1332,7 +1315,6 @@ func (_BridgeOperator *BridgeOperatorCaller) ClosedValueTransferVotes(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -1355,7 +1337,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) ClosedValueTransferVotes(arg func (_BridgeOperator *BridgeOperatorCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -1363,7 +1344,6 @@ func (_BridgeOperator *BridgeOperatorCaller) ConfigurationNonce(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -1386,7 +1366,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) ConfigurationNonce() (uint64 func (_BridgeOperator *BridgeOperatorCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -1394,7 +1373,6 @@ func (_BridgeOperator *BridgeOperatorCaller) GetOperatorList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -1417,7 +1395,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) GetOperatorList() ([]common. func (_BridgeOperator *BridgeOperatorCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -1425,7 +1402,6 @@ func (_BridgeOperator *BridgeOperatorCaller) IsOwner(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -1448,7 +1424,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) IsOwner() (bool, error) { func (_BridgeOperator *BridgeOperatorCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -1456,7 +1431,6 @@ func (_BridgeOperator *BridgeOperatorCaller) OperatorList(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -1479,7 +1453,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) OperatorList(arg0 *big.Int) func (_BridgeOperator *BridgeOperatorCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -1487,7 +1460,6 @@ func (_BridgeOperator *BridgeOperatorCaller) OperatorThresholds(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -1510,7 +1482,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) OperatorThresholds(arg0 uint func (_BridgeOperator *BridgeOperatorCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -1518,7 +1489,6 @@ func (_BridgeOperator *BridgeOperatorCaller) Operators(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -1541,7 +1511,6 @@ func (_BridgeOperator *BridgeOperatorCallerSession) Operators(arg0 common.Addres func (_BridgeOperator *BridgeOperatorCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeOperator.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -1549,7 +1518,6 @@ func (_BridgeOperator *BridgeOperatorCaller) Owner(opts *bind.CallOpts) (common. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -1749,7 +1717,6 @@ type BridgeOperatorOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeOperator *BridgeOperatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOperatorOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -1770,7 +1737,6 @@ func (_BridgeOperator *BridgeOperatorFilterer) FilterOwnershipTransferred(opts * // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeOperator *BridgeOperatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOperatorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2024,7 +1990,6 @@ func (_BridgeTokens *BridgeTokensTransactorRaw) Transact(opts *bind.TransactOpts func (_BridgeTokens *BridgeTokensCaller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -2032,7 +1997,6 @@ func (_BridgeTokens *BridgeTokensCaller) GetRegisteredTokenList(opts *bind.CallO out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -2055,7 +2019,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) GetRegisteredTokenList() ([]comm func (_BridgeTokens *BridgeTokensCaller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -2063,7 +2026,6 @@ func (_BridgeTokens *BridgeTokensCaller) IndexOfTokens(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -2086,7 +2048,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) IndexOfTokens(arg0 common.Addres func (_BridgeTokens *BridgeTokensCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -2094,7 +2055,6 @@ func (_BridgeTokens *BridgeTokensCaller) IsOwner(opts *bind.CallOpts) (bool, err out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -2117,7 +2077,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) IsOwner() (bool, error) { func (_BridgeTokens *BridgeTokensCaller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -2125,7 +2084,6 @@ func (_BridgeTokens *BridgeTokensCaller) LockedTokens(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -2148,7 +2106,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) LockedTokens(arg0 common.Address func (_BridgeTokens *BridgeTokensCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -2156,7 +2113,6 @@ func (_BridgeTokens *BridgeTokensCaller) Owner(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -2179,7 +2135,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) Owner() (common.Address, error) func (_BridgeTokens *BridgeTokensCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -2187,7 +2142,6 @@ func (_BridgeTokens *BridgeTokensCaller) RegisteredTokenList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -2210,7 +2164,6 @@ func (_BridgeTokens *BridgeTokensCallerSession) RegisteredTokenList(arg0 *big.In func (_BridgeTokens *BridgeTokensCaller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTokens.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -2218,7 +2171,6 @@ func (_BridgeTokens *BridgeTokensCaller) RegisteredTokens(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -2439,7 +2391,6 @@ type BridgeTokensOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTokens *BridgeTokensFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTokensOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2460,7 +2411,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterOwnershipTransferred(opts *bind // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTokens *BridgeTokensFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTokensOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -2590,7 +2540,6 @@ type BridgeTokensTokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2607,7 +2556,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenDeregistered(opts *bind.Fi // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2733,7 +2681,6 @@ type BridgeTokensTokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2750,7 +2697,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenLocked(opts *bind.FilterOp // // Solidity: event TokenLocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2876,7 +2822,6 @@ type BridgeTokensTokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -2893,7 +2838,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenRegistered(opts *bind.Filt // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3019,7 +2963,6 @@ type BridgeTokensTokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTokensTokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3036,7 +2979,6 @@ func (_BridgeTokens *BridgeTokensFilterer) FilterTokenUnlocked(opts *bind.Filter // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTokens *BridgeTokensFilterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTokensTokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -3278,7 +3220,6 @@ func (_BridgeTransfer *BridgeTransferTransactorRaw) Transact(opts *bind.Transact func (_BridgeTransfer *BridgeTransferCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -3286,7 +3227,6 @@ func (_BridgeTransfer *BridgeTransferCaller) MAXOPERATOR(opts *bind.CallOpts) (u out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -3309,7 +3249,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) MAXOPERATOR() (uint64, error func (_BridgeTransfer *BridgeTransferCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -3317,7 +3256,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ClosedValueTransferVotes(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -3340,7 +3278,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ClosedValueTransferVotes(arg func (_BridgeTransfer *BridgeTransferCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -3348,7 +3285,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ConfigurationNonce(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -3371,7 +3307,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ConfigurationNonce() (uint64 func (_BridgeTransfer *BridgeTransferCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -3379,7 +3314,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeOfERC20(opts *bind.CallOpts, arg out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -3402,7 +3336,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeOfERC20(arg0 common.Addre func (_BridgeTransfer *BridgeTransferCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -3410,7 +3343,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeOfKLAY(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -3433,7 +3365,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeOfKLAY() (*big.Int, error func (_BridgeTransfer *BridgeTransferCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -3441,7 +3372,6 @@ func (_BridgeTransfer *BridgeTransferCaller) FeeReceiver(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -3464,7 +3394,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) FeeReceiver() (common.Addres func (_BridgeTransfer *BridgeTransferCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -3472,7 +3401,6 @@ func (_BridgeTransfer *BridgeTransferCaller) GetOperatorList(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -3495,7 +3423,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) GetOperatorList() ([]common. func (_BridgeTransfer *BridgeTransferCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -3503,7 +3430,6 @@ func (_BridgeTransfer *BridgeTransferCaller) HandleNoncesToBlockNums(opts *bind. out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -3526,7 +3452,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) HandleNoncesToBlockNums(arg0 func (_BridgeTransfer *BridgeTransferCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -3534,7 +3459,6 @@ func (_BridgeTransfer *BridgeTransferCaller) HandledRequestTx(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -3557,7 +3481,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) HandledRequestTx(arg0 [32]by func (_BridgeTransfer *BridgeTransferCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -3565,7 +3488,6 @@ func (_BridgeTransfer *BridgeTransferCaller) IsOwner(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -3588,7 +3510,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) IsOwner() (bool, error) { func (_BridgeTransfer *BridgeTransferCaller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -3596,7 +3517,6 @@ func (_BridgeTransfer *BridgeTransferCaller) IsRunning(opts *bind.CallOpts) (boo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -3619,7 +3539,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) IsRunning() (bool, error) { func (_BridgeTransfer *BridgeTransferCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -3627,7 +3546,6 @@ func (_BridgeTransfer *BridgeTransferCaller) LowerHandleNonce(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -3650,7 +3568,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) LowerHandleNonce() (uint64, func (_BridgeTransfer *BridgeTransferCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -3658,7 +3575,6 @@ func (_BridgeTransfer *BridgeTransferCaller) ModeMintBurn(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -3681,7 +3597,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) ModeMintBurn() (bool, error) func (_BridgeTransfer *BridgeTransferCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -3689,7 +3604,6 @@ func (_BridgeTransfer *BridgeTransferCaller) OperatorList(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -3712,7 +3626,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) OperatorList(arg0 *big.Int) func (_BridgeTransfer *BridgeTransferCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -3720,7 +3633,6 @@ func (_BridgeTransfer *BridgeTransferCaller) OperatorThresholds(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -3743,7 +3655,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) OperatorThresholds(arg0 uint func (_BridgeTransfer *BridgeTransferCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -3751,7 +3662,6 @@ func (_BridgeTransfer *BridgeTransferCaller) Operators(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -3774,7 +3684,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) Operators(arg0 common.Addres func (_BridgeTransfer *BridgeTransferCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -3782,7 +3691,6 @@ func (_BridgeTransfer *BridgeTransferCaller) Owner(opts *bind.CallOpts) (common. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -3805,7 +3713,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) Owner() (common.Address, err func (_BridgeTransfer *BridgeTransferCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -3813,7 +3720,6 @@ func (_BridgeTransfer *BridgeTransferCaller) RecoveryBlockNumber(opts *bind.Call out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -3836,7 +3742,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) RecoveryBlockNumber() (uint6 func (_BridgeTransfer *BridgeTransferCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -3844,7 +3749,6 @@ func (_BridgeTransfer *BridgeTransferCaller) RequestNonce(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -3867,7 +3771,6 @@ func (_BridgeTransfer *BridgeTransferCallerSession) RequestNonce() (uint64, erro func (_BridgeTransfer *BridgeTransferCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransfer.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -3875,7 +3778,6 @@ func (_BridgeTransfer *BridgeTransferCaller) UpperHandleNonce(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -4117,7 +4019,6 @@ type BridgeTransferERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -4138,7 +4039,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterERC20FeeChanged(opts *bind. // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -4268,7 +4168,6 @@ type BridgeTransferFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransfer *BridgeTransferFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -4285,7 +4184,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterFeeReceiverChanged(opts *bi // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransfer *BridgeTransferFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -4419,7 +4317,6 @@ type BridgeTransferHandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferHandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4444,7 +4341,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterHandleValueTransfer(opts *b // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferHandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4578,7 +4474,6 @@ type BridgeTransferKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -4595,7 +4490,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterKLAYFeeChanged(opts *bind.F // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransfer *BridgeTransferFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -4722,7 +4616,6 @@ type BridgeTransferOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransfer *BridgeTransferFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4743,7 +4636,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterOwnershipTransferred(opts * // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransfer *BridgeTransferFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4880,7 +4772,6 @@ type BridgeTransferRequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferRequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4905,7 +4796,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransfer(opts * // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransfer *BridgeTransferFilterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferRequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5048,7 +4938,6 @@ type BridgeTransferRequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferRequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5073,7 +4962,6 @@ func (_BridgeTransfer *BridgeTransferFilterer) FilterRequestValueTransferEncoded // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransfer *BridgeTransferFilterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferRequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5336,7 +5224,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20TransactorRaw) Transact(opts *bin func (_BridgeTransferERC20 *BridgeTransferERC20Caller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -5344,7 +5231,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) MAXOPERATOR(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -5367,7 +5253,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) MAXOPERATOR() (uin func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -5375,7 +5260,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ClosedValueTransferVotes( out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -5398,7 +5282,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ClosedValueTransfe func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -5406,7 +5289,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ConfigurationNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -5429,7 +5311,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ConfigurationNonce func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -5437,7 +5318,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfERC20(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -5460,7 +5340,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeOfERC20(arg0 co func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -5468,7 +5347,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeOfKLAY(opts *bind.Call out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -5491,7 +5369,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeOfKLAY() (*big. func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -5499,7 +5376,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) FeeReceiver(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -5522,7 +5398,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) FeeReceiver() (com func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -5530,7 +5405,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetOperatorList(opts *bin out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -5553,7 +5427,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) GetOperatorList() func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -5561,7 +5434,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) GetRegisteredTokenList(op out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -5584,7 +5456,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) GetRegisteredToken func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -5592,7 +5463,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandleNoncesToBlockNums(o out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -5615,7 +5485,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) HandleNoncesToBloc func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -5623,7 +5492,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) HandledRequestTx(opts *bi out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -5646,7 +5514,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) HandledRequestTx(a func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -5654,7 +5521,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IndexOfTokens(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -5677,7 +5543,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IndexOfTokens(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -5685,7 +5550,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsOwner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -5708,7 +5572,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IsOwner() (bool, e func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -5716,7 +5579,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) IsRunning(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -5739,7 +5601,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) IsRunning() (bool, func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -5747,7 +5608,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LockedTokens(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -5770,7 +5630,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) LockedTokens(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -5778,7 +5637,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) LowerHandleNonce(opts *bi out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -5801,7 +5659,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) LowerHandleNonce() func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -5809,7 +5666,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) ModeMintBurn(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -5832,7 +5688,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) ModeMintBurn() (bo func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -5840,7 +5695,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorList(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -5863,7 +5717,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) OperatorList(arg0 func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -5871,7 +5724,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) OperatorThresholds(opts * out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -5894,7 +5746,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) OperatorThresholds func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -5902,7 +5753,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Operators(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -5925,7 +5775,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) Operators(arg0 com func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -5933,7 +5782,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) Owner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -5956,7 +5804,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) Owner() (common.Ad func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -5964,7 +5811,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RecoveryBlockNumber(opts out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -5987,7 +5833,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RecoveryBlockNumbe func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -5995,7 +5840,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokenList(opts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -6018,7 +5862,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RegisteredTokenLis func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -6026,7 +5869,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RegisteredTokens(opts *bi out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -6049,7 +5891,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RegisteredTokens(a func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -6057,7 +5898,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) RequestNonce(opts *bind.C out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -6080,7 +5920,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20CallerSession) RequestNonce() (ui func (_BridgeTransferERC20 *BridgeTransferERC20Caller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC20.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -6088,7 +5927,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Caller) UpperHandleNonce(opts *bi out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -6498,7 +6336,6 @@ type BridgeTransferERC20ERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC20ERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6519,7 +6356,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterERC20FeeChanged(o // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20ERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -6649,7 +6485,6 @@ type BridgeTransferERC20FeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferERC20FeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -6666,7 +6501,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterFeeReceiverChange // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20FeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -6800,7 +6634,6 @@ type BridgeTransferERC20HandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20HandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -6825,7 +6658,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterHandleValueTransf // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20HandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -6959,7 +6791,6 @@ type BridgeTransferERC20KLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferERC20KLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -6976,7 +6807,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterKLAYFeeChanged(op // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20KLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -7103,7 +6933,6 @@ type BridgeTransferERC20OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferERC20OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7124,7 +6953,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterOwnershipTransfer // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7261,7 +7089,6 @@ type BridgeTransferERC20RequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20RequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7286,7 +7113,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTrans // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20RequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7429,7 +7255,6 @@ type BridgeTransferERC20RequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC20RequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7454,7 +7279,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterRequestValueTrans // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20RequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7588,7 +7412,6 @@ type BridgeTransferERC20TokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7605,7 +7428,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenDeregistered // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7731,7 +7553,6 @@ type BridgeTransferERC20TokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7748,7 +7569,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenLocked(opts // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7874,7 +7694,6 @@ type BridgeTransferERC20TokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -7891,7 +7710,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenRegistered(o // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -8017,7 +7835,6 @@ type BridgeTransferERC20TokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC20TokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -8034,7 +7851,6 @@ func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) FilterTokenUnlocked(opt // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC20 *BridgeTransferERC20Filterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC20TokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -8288,7 +8104,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721TransactorRaw) Transact(opts *b func (_BridgeTransferERC721 *BridgeTransferERC721Caller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -8296,7 +8111,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) MAXOPERATOR(opts *bind. out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -8319,7 +8133,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) MAXOPERATOR() (u func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -8327,7 +8140,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ClosedValueTransferVote out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -8350,7 +8162,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ClosedValueTrans func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -8358,7 +8169,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ConfigurationNonce(opts out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -8381,7 +8191,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ConfigurationNon func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -8389,7 +8198,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfERC20(opts *bind.C out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -8412,7 +8220,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeOfERC20(arg0 func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -8420,7 +8227,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeOfKLAY(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -8443,7 +8249,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeOfKLAY() (*bi func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -8451,7 +8256,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) FeeReceiver(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -8474,7 +8278,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) FeeReceiver() (c func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -8482,7 +8285,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetOperatorList(opts *b out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -8505,7 +8307,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) GetOperatorList( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -8513,7 +8314,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) GetRegisteredTokenList( out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -8536,7 +8336,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) GetRegisteredTok func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -8544,7 +8343,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandleNoncesToBlockNums out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -8567,7 +8365,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) HandleNoncesToBl func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -8575,7 +8372,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) HandledRequestTx(opts * out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -8598,7 +8394,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) HandledRequestTx func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -8606,7 +8401,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IndexOfTokens(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -8629,7 +8423,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IndexOfTokens(ar func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -8637,7 +8430,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsOwner(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -8660,7 +8452,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IsOwner() (bool, func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -8668,7 +8459,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) IsRunning(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -8691,7 +8481,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) IsRunning() (boo func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -8699,7 +8488,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LockedTokens(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -8722,7 +8510,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) LockedTokens(arg func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -8730,7 +8517,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) LowerHandleNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -8753,7 +8539,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) LowerHandleNonce func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -8761,7 +8546,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) ModeMintBurn(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -8784,7 +8568,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) ModeMintBurn() ( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -8792,7 +8575,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorList(opts *bind out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -8815,7 +8597,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) OperatorList(arg func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -8823,7 +8604,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) OperatorThresholds(opts out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -8846,7 +8626,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) OperatorThreshol func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -8854,7 +8633,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Operators(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -8877,7 +8655,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) Operators(arg0 c func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -8885,7 +8662,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) Owner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -8908,7 +8684,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) Owner() (common. func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -8916,7 +8691,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RecoveryBlockNumber(opt out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -8939,7 +8713,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RecoveryBlockNum func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -8947,7 +8720,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokenList(opt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -8970,7 +8742,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RegisteredTokenL func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -8978,7 +8749,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RegisteredTokens(opts * out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -9001,7 +8771,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RegisteredTokens func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -9009,7 +8778,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) RequestNonce(opts *bind out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -9032,7 +8800,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721CallerSession) RequestNonce() ( func (_BridgeTransferERC721 *BridgeTransferERC721Caller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _BridgeTransferERC721.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -9040,7 +8807,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Caller) UpperHandleNonce(opts * out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -9429,7 +9195,6 @@ type BridgeTransferERC721ERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*BridgeTransferERC721ERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -9450,7 +9215,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterERC20FeeChanged // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721ERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -9580,7 +9344,6 @@ type BridgeTransferERC721FeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*BridgeTransferERC721FeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -9597,7 +9360,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterFeeReceiverChan // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721FeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -9731,7 +9493,6 @@ type BridgeTransferERC721HandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721HandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9756,7 +9517,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterHandleValueTran // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721HandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9890,7 +9650,6 @@ type BridgeTransferERC721KLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*BridgeTransferERC721KLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -9907,7 +9666,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterKLAYFeeChanged( // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721KLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -10034,7 +9792,6 @@ type BridgeTransferERC721OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeTransferERC721OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -10055,7 +9812,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterOwnershipTransf // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -10192,7 +9948,6 @@ type BridgeTransferERC721RequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721RequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10217,7 +9972,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTra // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721RequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10360,7 +10114,6 @@ type BridgeTransferERC721RequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*BridgeTransferERC721RequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10385,7 +10138,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterRequestValueTra // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721RequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10519,7 +10271,6 @@ type BridgeTransferERC721TokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10536,7 +10287,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenDeregister // // Solidity: event TokenDeregistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10662,7 +10412,6 @@ type BridgeTransferERC721TokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10679,7 +10428,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenLocked(opt // // Solidity: event TokenLocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10805,7 +10553,6 @@ type BridgeTransferERC721TokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10822,7 +10569,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenRegistered // // Solidity: event TokenRegistered(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10948,7 +10694,6 @@ type BridgeTransferERC721TokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*BridgeTransferERC721TokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -10965,7 +10710,6 @@ func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) FilterTokenUnlocked(o // // Solidity: event TokenUnlocked(address indexed token) func (_BridgeTransferERC721 *BridgeTransferERC721Filterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *BridgeTransferERC721TokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -11298,7 +11042,6 @@ type CallbackRegisteredOffer struct { // // Solidity: event RegisteredOffer(address owner, uint256 valueOrID, address tokenAddress, uint256 price) func (_Callback *CallbackFilterer) FilterRegisteredOffer(opts *bind.FilterOpts) (*CallbackRegisteredOfferIterator, error) { - logs, sub, err := _Callback.contract.FilterLogs(opts, "RegisteredOffer") if err != nil { return nil, err @@ -11310,7 +11053,6 @@ func (_Callback *CallbackFilterer) FilterRegisteredOffer(opts *bind.FilterOpts) // // Solidity: event RegisteredOffer(address owner, uint256 valueOrID, address tokenAddress, uint256 price) func (_Callback *CallbackFilterer) WatchRegisteredOffer(opts *bind.WatchOpts, sink chan<- *CallbackRegisteredOffer) (event.Subscription, error) { - logs, sub, err := _Callback.contract.WatchLogs(opts, "RegisteredOffer") if err != nil { return nil, err @@ -11697,7 +11439,6 @@ func (_ERC165 *ERC165TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -11705,7 +11446,6 @@ func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -11918,7 +11658,6 @@ func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method strin func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -11926,7 +11665,6 @@ func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -11949,7 +11687,6 @@ func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -11957,7 +11694,6 @@ func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -11980,7 +11716,6 @@ func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, e func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -11988,7 +11723,6 @@ func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -12189,7 +11923,6 @@ type ERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -12210,7 +11943,6 @@ func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []commo // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -12342,7 +12074,6 @@ type ERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -12363,7 +12094,6 @@ func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -12614,7 +12344,6 @@ func (_ERC20Burnable *ERC20BurnableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -12622,7 +12351,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -12645,7 +12373,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) Allowance(owner common.Address func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -12653,7 +12380,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -12676,7 +12402,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) BalanceOf(account common.Addre func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -12684,7 +12409,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -12927,7 +12651,6 @@ type ERC20BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -12948,7 +12671,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -13080,7 +12802,6 @@ type ERC20BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -13101,7 +12822,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -13354,7 +13074,6 @@ func (_ERC20Mintable *ERC20MintableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -13362,7 +13081,6 @@ func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -13385,7 +13103,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) Allowance(owner common.Address func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -13393,7 +13110,6 @@ func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -13416,7 +13132,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) BalanceOf(account common.Addre func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -13424,7 +13139,6 @@ func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -13447,7 +13161,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) IsMinter(account common.Addres func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -13455,7 +13168,6 @@ func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -13719,7 +13431,6 @@ type ERC20MintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -13740,7 +13451,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MintableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -13870,7 +13580,6 @@ type ERC20MintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -13887,7 +13596,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.Filter // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14013,7 +13721,6 @@ type ERC20MintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14030,7 +13737,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.Filt // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14158,7 +13864,6 @@ type ERC20MintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14179,7 +13884,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MintableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14430,7 +14134,6 @@ func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -14438,7 +14141,6 @@ func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -14461,7 +14163,6 @@ func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, e func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -14469,7 +14170,6 @@ func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -14492,7 +14192,6 @@ func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addres func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -14500,7 +14199,6 @@ func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common. out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -14523,7 +14221,6 @@ func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, opera func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -14531,7 +14228,6 @@ func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (com out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -14554,7 +14250,6 @@ func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, e func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -14562,7 +14257,6 @@ func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -14763,7 +14457,6 @@ type ERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14788,7 +14481,6 @@ func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14924,7 +14616,6 @@ type ERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14945,7 +14636,6 @@ func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -15077,7 +14767,6 @@ type ERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -15102,7 +14791,6 @@ func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -15358,7 +15046,6 @@ func (_ERC721Burnable *ERC721BurnableTransactorRaw) Transact(opts *bind.Transact func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -15366,7 +15053,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -15389,7 +15075,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) BalanceOf(owner common.Addre func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -15397,7 +15082,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -15420,7 +15104,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) GetApproved(tokenId *big.Int func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -15428,7 +15111,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -15451,7 +15133,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) IsApprovedForAll(owner commo func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -15459,7 +15140,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -15482,7 +15162,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -15490,7 +15169,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -15712,7 +15390,6 @@ type ERC721BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -15737,7 +15414,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -15873,7 +15549,6 @@ type ERC721BurnableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721BurnableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -15894,7 +15569,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -16026,7 +15700,6 @@ type ERC721BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -16051,7 +15724,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721BurnableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -16309,7 +15981,6 @@ func (_ERC721Metadata *ERC721MetadataTransactorRaw) Transact(opts *bind.Transact func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -16317,7 +15988,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -16340,7 +16010,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) BalanceOf(owner common.Addre func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -16348,7 +16017,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -16371,7 +16039,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) GetApproved(tokenId *big.Int func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -16379,7 +16046,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -16402,7 +16068,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) IsApprovedForAll(owner commo func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -16410,7 +16075,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -16433,7 +16097,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Name() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -16441,7 +16104,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -16464,7 +16126,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -16472,7 +16133,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -16495,7 +16155,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) SupportsInterface(interfaceI func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -16503,7 +16162,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -16526,7 +16184,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Symbol() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -16534,7 +16191,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, token out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -16735,7 +16391,6 @@ type ERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -16760,7 +16415,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -16896,7 +16550,6 @@ type ERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -16917,7 +16570,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -17049,7 +16701,6 @@ type ERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17074,7 +16725,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -17314,7 +16964,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableTransactorRaw) Transact(opt func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -17322,7 +16971,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -17345,7 +16993,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) BalanceOf(ow func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -17353,7 +17000,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *b out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -17376,7 +17022,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) GetApproved( func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -17384,7 +17029,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(op out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -17407,7 +17051,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsApprovedFo func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -17415,7 +17058,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -17438,7 +17080,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsMinter(acc func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -17446,7 +17087,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -17469,7 +17109,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Name() (stri func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -17477,7 +17116,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -17500,7 +17138,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) OwnerOf(toke func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -17508,7 +17145,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(o out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -17531,7 +17167,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) SupportsInte func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -17539,7 +17174,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.C out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -17562,7 +17196,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Symbol() (st func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -17570,7 +17203,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -17834,7 +17466,6 @@ type ERC721MetadataMintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -17859,7 +17490,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(op // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -17995,7 +17625,6 @@ type ERC721MetadataMintableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataMintableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -18016,7 +17645,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalFor // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -18146,7 +17774,6 @@ type ERC721MetadataMintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -18163,7 +17790,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -18289,7 +17915,6 @@ type ERC721MetadataMintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -18306,7 +17931,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemov // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -18434,7 +18058,6 @@ type ERC721MetadataMintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -18459,7 +18082,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(op // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -18751,7 +18373,6 @@ func (_ExtBridge *ExtBridgeTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_ExtBridge *ExtBridgeCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "MAX_OPERATOR") - if err != nil { return *new(uint64), err } @@ -18759,7 +18380,6 @@ func (_ExtBridge *ExtBridgeCaller) MAXOPERATOR(opts *bind.CallOpts) (uint64, err out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // MAXOPERATOR is a free data retrieval call binding the contract method 0x3a3099d1. @@ -18782,7 +18402,6 @@ func (_ExtBridge *ExtBridgeCallerSession) MAXOPERATOR() (uint64, error) { func (_ExtBridge *ExtBridgeCaller) Callback(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "callback") - if err != nil { return *new(common.Address), err } @@ -18790,7 +18409,6 @@ func (_ExtBridge *ExtBridgeCaller) Callback(opts *bind.CallOpts) (common.Address out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Callback is a free data retrieval call binding the contract method 0x083b2732. @@ -18813,7 +18431,6 @@ func (_ExtBridge *ExtBridgeCallerSession) Callback() (common.Address, error) { func (_ExtBridge *ExtBridgeCaller) ClosedValueTransferVotes(opts *bind.CallOpts, arg0 uint64) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "closedValueTransferVotes", arg0) - if err != nil { return *new(bool), err } @@ -18821,7 +18438,6 @@ func (_ExtBridge *ExtBridgeCaller) ClosedValueTransferVotes(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ClosedValueTransferVotes is a free data retrieval call binding the contract method 0x9832c1d7. @@ -18844,7 +18460,6 @@ func (_ExtBridge *ExtBridgeCallerSession) ClosedValueTransferVotes(arg0 uint64) func (_ExtBridge *ExtBridgeCaller) ConfigurationNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "configurationNonce") - if err != nil { return *new(uint64), err } @@ -18852,7 +18467,6 @@ func (_ExtBridge *ExtBridgeCaller) ConfigurationNonce(opts *bind.CallOpts) (uint out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // ConfigurationNonce is a free data retrieval call binding the contract method 0xac6fff0b. @@ -18875,7 +18489,6 @@ func (_ExtBridge *ExtBridgeCallerSession) ConfigurationNonce() (uint64, error) { func (_ExtBridge *ExtBridgeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "feeOfERC20", arg0) - if err != nil { return *new(*big.Int), err } @@ -18883,7 +18496,6 @@ func (_ExtBridge *ExtBridgeCaller) FeeOfERC20(opts *bind.CallOpts, arg0 common.A out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfERC20 is a free data retrieval call binding the contract method 0x488af871. @@ -18906,7 +18518,6 @@ func (_ExtBridge *ExtBridgeCallerSession) FeeOfERC20(arg0 common.Address) (*big. func (_ExtBridge *ExtBridgeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "feeOfKLAY") - if err != nil { return *new(*big.Int), err } @@ -18914,7 +18525,6 @@ func (_ExtBridge *ExtBridgeCaller) FeeOfKLAY(opts *bind.CallOpts) (*big.Int, err out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // FeeOfKLAY is a free data retrieval call binding the contract method 0xc263b5d6. @@ -18937,7 +18547,6 @@ func (_ExtBridge *ExtBridgeCallerSession) FeeOfKLAY() (*big.Int, error) { func (_ExtBridge *ExtBridgeCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "feeReceiver") - if err != nil { return *new(common.Address), err } @@ -18945,7 +18554,6 @@ func (_ExtBridge *ExtBridgeCaller) FeeReceiver(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // FeeReceiver is a free data retrieval call binding the contract method 0xb3f00674. @@ -18968,7 +18576,6 @@ func (_ExtBridge *ExtBridgeCallerSession) FeeReceiver() (common.Address, error) func (_ExtBridge *ExtBridgeCaller) GetOperatorList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "getOperatorList") - if err != nil { return *new([]common.Address), err } @@ -18976,7 +18583,6 @@ func (_ExtBridge *ExtBridgeCaller) GetOperatorList(opts *bind.CallOpts) ([]commo out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetOperatorList is a free data retrieval call binding the contract method 0xb2c01030. @@ -18999,7 +18605,6 @@ func (_ExtBridge *ExtBridgeCallerSession) GetOperatorList() ([]common.Address, e func (_ExtBridge *ExtBridgeCaller) GetRegisteredTokenList(opts *bind.CallOpts) ([]common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "getRegisteredTokenList") - if err != nil { return *new([]common.Address), err } @@ -19007,7 +18612,6 @@ func (_ExtBridge *ExtBridgeCaller) GetRegisteredTokenList(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) return out0, err - } // GetRegisteredTokenList is a free data retrieval call binding the contract method 0xea21eade. @@ -19030,7 +18634,6 @@ func (_ExtBridge *ExtBridgeCallerSession) GetRegisteredTokenList() ([]common.Add func (_ExtBridge *ExtBridgeCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, arg0 uint64) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "handleNoncesToBlockNums", arg0) - if err != nil { return *new(uint64), err } @@ -19038,7 +18641,6 @@ func (_ExtBridge *ExtBridgeCaller) HandleNoncesToBlockNums(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // HandleNoncesToBlockNums is a free data retrieval call binding the contract method 0x13a6738a. @@ -19061,7 +18663,6 @@ func (_ExtBridge *ExtBridgeCallerSession) HandleNoncesToBlockNums(arg0 uint64) ( func (_ExtBridge *ExtBridgeCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [32]byte) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "handledRequestTx", arg0) - if err != nil { return *new(bool), err } @@ -19069,7 +18670,6 @@ func (_ExtBridge *ExtBridgeCaller) HandledRequestTx(opts *bind.CallOpts, arg0 [3 out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // HandledRequestTx is a free data retrieval call binding the contract method 0x8a75eee2. @@ -19092,7 +18692,6 @@ func (_ExtBridge *ExtBridgeCallerSession) HandledRequestTx(arg0 [32]byte) (bool, func (_ExtBridge *ExtBridgeCaller) IndexOfTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "indexOfTokens", arg0) - if err != nil { return *new(*big.Int), err } @@ -19100,7 +18699,6 @@ func (_ExtBridge *ExtBridgeCaller) IndexOfTokens(opts *bind.CallOpts, arg0 commo out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // IndexOfTokens is a free data retrieval call binding the contract method 0x48a18a6a. @@ -19123,7 +18721,6 @@ func (_ExtBridge *ExtBridgeCallerSession) IndexOfTokens(arg0 common.Address) (*b func (_ExtBridge *ExtBridgeCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -19131,7 +18728,6 @@ func (_ExtBridge *ExtBridgeCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -19154,7 +18750,6 @@ func (_ExtBridge *ExtBridgeCallerSession) IsOwner() (bool, error) { func (_ExtBridge *ExtBridgeCaller) IsRunning(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "isRunning") - if err != nil { return *new(bool), err } @@ -19162,7 +18757,6 @@ func (_ExtBridge *ExtBridgeCaller) IsRunning(opts *bind.CallOpts) (bool, error) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsRunning is a free data retrieval call binding the contract method 0x2014e5d1. @@ -19185,7 +18779,6 @@ func (_ExtBridge *ExtBridgeCallerSession) IsRunning() (bool, error) { func (_ExtBridge *ExtBridgeCaller) LockedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "lockedTokens", arg0) - if err != nil { return *new(bool), err } @@ -19193,7 +18786,6 @@ func (_ExtBridge *ExtBridgeCaller) LockedTokens(opts *bind.CallOpts, arg0 common out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // LockedTokens is a free data retrieval call binding the contract method 0x5eb7413a. @@ -19216,7 +18808,6 @@ func (_ExtBridge *ExtBridgeCallerSession) LockedTokens(arg0 common.Address) (boo func (_ExtBridge *ExtBridgeCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "lowerHandleNonce") - if err != nil { return *new(uint64), err } @@ -19224,7 +18815,6 @@ func (_ExtBridge *ExtBridgeCaller) LowerHandleNonce(opts *bind.CallOpts) (uint64 out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // LowerHandleNonce is a free data retrieval call binding the contract method 0x4b40b826. @@ -19247,7 +18837,6 @@ func (_ExtBridge *ExtBridgeCallerSession) LowerHandleNonce() (uint64, error) { func (_ExtBridge *ExtBridgeCaller) ModeMintBurn(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "modeMintBurn") - if err != nil { return *new(bool), err } @@ -19255,7 +18844,6 @@ func (_ExtBridge *ExtBridgeCaller) ModeMintBurn(opts *bind.CallOpts) (bool, erro out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ModeMintBurn is a free data retrieval call binding the contract method 0x6e176ec2. @@ -19278,7 +18866,6 @@ func (_ExtBridge *ExtBridgeCallerSession) ModeMintBurn() (bool, error) { func (_ExtBridge *ExtBridgeCaller) OperatorList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "operatorList", arg0) - if err != nil { return *new(common.Address), err } @@ -19286,7 +18873,6 @@ func (_ExtBridge *ExtBridgeCaller) OperatorList(opts *bind.CallOpts, arg0 *big.I out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OperatorList is a free data retrieval call binding the contract method 0xcb38f407. @@ -19309,7 +18895,6 @@ func (_ExtBridge *ExtBridgeCallerSession) OperatorList(arg0 *big.Int) (common.Ad func (_ExtBridge *ExtBridgeCaller) OperatorThresholds(opts *bind.CallOpts, arg0 uint8) (uint8, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "operatorThresholds", arg0) - if err != nil { return *new(uint8), err } @@ -19317,7 +18902,6 @@ func (_ExtBridge *ExtBridgeCaller) OperatorThresholds(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // OperatorThresholds is a free data retrieval call binding the contract method 0x5526f76b. @@ -19340,7 +18924,6 @@ func (_ExtBridge *ExtBridgeCallerSession) OperatorThresholds(arg0 uint8) (uint8, func (_ExtBridge *ExtBridgeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "operators", arg0) - if err != nil { return *new(bool), err } @@ -19348,7 +18931,6 @@ func (_ExtBridge *ExtBridgeCaller) Operators(opts *bind.CallOpts, arg0 common.Ad out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // Operators is a free data retrieval call binding the contract method 0x13e7c9d8. @@ -19371,7 +18953,6 @@ func (_ExtBridge *ExtBridgeCallerSession) Operators(arg0 common.Address) (bool, func (_ExtBridge *ExtBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -19379,7 +18960,6 @@ func (_ExtBridge *ExtBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, e out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -19402,7 +18982,6 @@ func (_ExtBridge *ExtBridgeCallerSession) Owner() (common.Address, error) { func (_ExtBridge *ExtBridgeCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "recoveryBlockNumber") - if err != nil { return *new(uint64), err } @@ -19410,7 +18989,6 @@ func (_ExtBridge *ExtBridgeCaller) RecoveryBlockNumber(opts *bind.CallOpts) (uin out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RecoveryBlockNumber is a free data retrieval call binding the contract method 0x989ba0d3. @@ -19433,7 +19011,6 @@ func (_ExtBridge *ExtBridgeCallerSession) RecoveryBlockNumber() (uint64, error) func (_ExtBridge *ExtBridgeCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "registeredTokenList", arg0) - if err != nil { return *new(common.Address), err } @@ -19441,7 +19018,6 @@ func (_ExtBridge *ExtBridgeCaller) RegisteredTokenList(opts *bind.CallOpts, arg0 out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokenList is a free data retrieval call binding the contract method 0x3e4fe949. @@ -19464,7 +19040,6 @@ func (_ExtBridge *ExtBridgeCallerSession) RegisteredTokenList(arg0 *big.Int) (co func (_ExtBridge *ExtBridgeCaller) RegisteredTokens(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "registeredTokens", arg0) - if err != nil { return *new(common.Address), err } @@ -19472,7 +19047,6 @@ func (_ExtBridge *ExtBridgeCaller) RegisteredTokens(opts *bind.CallOpts, arg0 co out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // RegisteredTokens is a free data retrieval call binding the contract method 0x8c0bd916. @@ -19495,7 +19069,6 @@ func (_ExtBridge *ExtBridgeCallerSession) RegisteredTokens(arg0 common.Address) func (_ExtBridge *ExtBridgeCaller) RequestNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "requestNonce") - if err != nil { return *new(uint64), err } @@ -19503,7 +19076,6 @@ func (_ExtBridge *ExtBridgeCaller) RequestNonce(opts *bind.CallOpts) (uint64, er out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // RequestNonce is a free data retrieval call binding the contract method 0x7c1a0302. @@ -19526,7 +19098,6 @@ func (_ExtBridge *ExtBridgeCallerSession) RequestNonce() (uint64, error) { func (_ExtBridge *ExtBridgeCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64, error) { var out []interface{} err := _ExtBridge.contract.Call(opts, &out, "upperHandleNonce") - if err != nil { return *new(uint64), err } @@ -19534,7 +19105,6 @@ func (_ExtBridge *ExtBridgeCaller) UpperHandleNonce(opts *bind.CallOpts) (uint64 out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64) return out0, err - } // UpperHandleNonce is a free data retrieval call binding the contract method 0x54edad72. @@ -20070,7 +19640,6 @@ type ExtBridgeERC20FeeChanged struct { // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_ExtBridge *ExtBridgeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts, token []common.Address, fee []*big.Int) (*ExtBridgeERC20FeeChangedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -20091,7 +19660,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterERC20FeeChanged(opts *bind.FilterOpts // // Solidity: event ERC20FeeChanged(address indexed token, uint256 indexed fee) func (_ExtBridge *ExtBridgeFilterer) WatchERC20FeeChanged(opts *bind.WatchOpts, sink chan<- *ExtBridgeERC20FeeChanged, token []common.Address, fee []*big.Int) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -20221,7 +19789,6 @@ type ExtBridgeFeeReceiverChanged struct { // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_ExtBridge *ExtBridgeFilterer) FilterFeeReceiverChanged(opts *bind.FilterOpts, feeReceiver []common.Address) (*ExtBridgeFeeReceiverChangedIterator, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -20238,7 +19805,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterFeeReceiverChanged(opts *bind.FilterO // // Solidity: event FeeReceiverChanged(address indexed feeReceiver) func (_ExtBridge *ExtBridgeFilterer) WatchFeeReceiverChanged(opts *bind.WatchOpts, sink chan<- *ExtBridgeFeeReceiverChanged, feeReceiver []common.Address) (event.Subscription, error) { - var feeReceiverRule []interface{} for _, feeReceiverItem := range feeReceiver { feeReceiverRule = append(feeReceiverRule, feeReceiverItem) @@ -20372,7 +19938,6 @@ type ExtBridgeHandleValueTransfer struct { // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_ExtBridge *ExtBridgeFilterer) FilterHandleValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*ExtBridgeHandleValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -20397,7 +19962,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterHandleValueTransfer(opts *bind.Filter // // Solidity: event HandleValueTransfer(bytes32 requestTxHash, uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 handleNonce, uint64 lowerHandleNonce, bytes extraData) func (_ExtBridge *ExtBridgeFilterer) WatchHandleValueTransfer(opts *bind.WatchOpts, sink chan<- *ExtBridgeHandleValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -20531,7 +20095,6 @@ type ExtBridgeKLAYFeeChanged struct { // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_ExtBridge *ExtBridgeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, fee []*big.Int) (*ExtBridgeKLAYFeeChangedIterator, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -20548,7 +20111,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterKLAYFeeChanged(opts *bind.FilterOpts, // // Solidity: event KLAYFeeChanged(uint256 indexed fee) func (_ExtBridge *ExtBridgeFilterer) WatchKLAYFeeChanged(opts *bind.WatchOpts, sink chan<- *ExtBridgeKLAYFeeChanged, fee []*big.Int) (event.Subscription, error) { - var feeRule []interface{} for _, feeItem := range fee { feeRule = append(feeRule, feeItem) @@ -20675,7 +20237,6 @@ type ExtBridgeOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ExtBridge *ExtBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ExtBridgeOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -20696,7 +20257,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterOwnershipTransferred(opts *bind.Filte // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ExtBridge *ExtBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ExtBridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -20833,7 +20393,6 @@ type ExtBridgeRequestValueTransfer struct { // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_ExtBridge *ExtBridgeFilterer) FilterRequestValueTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*ExtBridgeRequestValueTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -20858,7 +20417,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterRequestValueTransfer(opts *bind.Filte // // Solidity: event RequestValueTransfer(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData) func (_ExtBridge *ExtBridgeFilterer) WatchRequestValueTransfer(opts *bind.WatchOpts, sink chan<- *ExtBridgeRequestValueTransfer, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -21001,7 +20559,6 @@ type ExtBridgeRequestValueTransferEncoded struct { // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_ExtBridge *ExtBridgeFilterer) FilterRequestValueTransferEncoded(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenAddress []common.Address) (*ExtBridgeRequestValueTransferEncodedIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -21026,7 +20583,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterRequestValueTransferEncoded(opts *bin // // Solidity: event RequestValueTransferEncoded(uint8 tokenType, address indexed from, address indexed to, address indexed tokenAddress, uint256 valueOrTokenId, uint64 requestNonce, uint256 fee, bytes extraData, uint8 encodingVer, bytes encodedData) func (_ExtBridge *ExtBridgeFilterer) WatchRequestValueTransferEncoded(opts *bind.WatchOpts, sink chan<- *ExtBridgeRequestValueTransferEncoded, from []common.Address, to []common.Address, tokenAddress []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -21160,7 +20716,6 @@ type ExtBridgeTokenDeregistered struct { // // Solidity: event TokenDeregistered(address indexed token) func (_ExtBridge *ExtBridgeFilterer) FilterTokenDeregistered(opts *bind.FilterOpts, token []common.Address) (*ExtBridgeTokenDeregisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21177,7 +20732,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterTokenDeregistered(opts *bind.FilterOp // // Solidity: event TokenDeregistered(address indexed token) func (_ExtBridge *ExtBridgeFilterer) WatchTokenDeregistered(opts *bind.WatchOpts, sink chan<- *ExtBridgeTokenDeregistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21303,7 +20857,6 @@ type ExtBridgeTokenLocked struct { // // Solidity: event TokenLocked(address indexed token) func (_ExtBridge *ExtBridgeFilterer) FilterTokenLocked(opts *bind.FilterOpts, token []common.Address) (*ExtBridgeTokenLockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21320,7 +20873,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterTokenLocked(opts *bind.FilterOpts, to // // Solidity: event TokenLocked(address indexed token) func (_ExtBridge *ExtBridgeFilterer) WatchTokenLocked(opts *bind.WatchOpts, sink chan<- *ExtBridgeTokenLocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21446,7 +20998,6 @@ type ExtBridgeTokenRegistered struct { // // Solidity: event TokenRegistered(address indexed token) func (_ExtBridge *ExtBridgeFilterer) FilterTokenRegistered(opts *bind.FilterOpts, token []common.Address) (*ExtBridgeTokenRegisteredIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21463,7 +21014,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterTokenRegistered(opts *bind.FilterOpts // // Solidity: event TokenRegistered(address indexed token) func (_ExtBridge *ExtBridgeFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *ExtBridgeTokenRegistered, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21589,7 +21139,6 @@ type ExtBridgeTokenUnlocked struct { // // Solidity: event TokenUnlocked(address indexed token) func (_ExtBridge *ExtBridgeFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, token []common.Address) (*ExtBridgeTokenUnlockedIterator, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21606,7 +21155,6 @@ func (_ExtBridge *ExtBridgeFilterer) FilterTokenUnlocked(opts *bind.FilterOpts, // // Solidity: event TokenUnlocked(address indexed token) func (_ExtBridge *ExtBridgeFilterer) WatchTokenUnlocked(opts *bind.WatchOpts, sink chan<- *ExtBridgeTokenUnlocked, token []common.Address) (event.Subscription, error) { - var tokenRule []interface{} for _, tokenItem := range token { tokenRule = append(tokenRule, tokenItem) @@ -21822,7 +21370,6 @@ func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -21830,7 +21377,6 @@ func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -22019,7 +21565,6 @@ func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -22027,7 +21572,6 @@ func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -22050,7 +21594,6 @@ func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender comm func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -22058,7 +21601,6 @@ func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -22081,7 +21623,6 @@ func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -22089,7 +21630,6 @@ func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -22248,7 +21788,6 @@ type IERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22269,7 +21808,6 @@ func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -22401,7 +21939,6 @@ type IERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -22422,7 +21959,6 @@ func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -22833,7 +22369,6 @@ func (_IERC721 *IERC721TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -22841,7 +22376,6 @@ func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -22864,7 +22398,6 @@ func (_IERC721 *IERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -22872,7 +22405,6 @@ func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -22895,7 +22427,6 @@ func (_IERC721 *IERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addr func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -22903,7 +22434,6 @@ func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -22926,7 +22456,6 @@ func (_IERC721 *IERC721CallerSession) IsApprovedForAll(owner common.Address, ope func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -22934,7 +22463,6 @@ func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -22957,7 +22485,6 @@ func (_IERC721 *IERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -22965,7 +22492,6 @@ func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -23166,7 +22692,6 @@ type IERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23191,7 +22716,6 @@ func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []c // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23327,7 +22851,6 @@ type IERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23348,7 +22871,6 @@ func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, own // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -23480,7 +23002,6 @@ type IERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -23505,7 +23026,6 @@ func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []co // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -23923,7 +23443,6 @@ func (_IERC721Metadata *IERC721MetadataTransactorRaw) Transact(opts *bind.Transa func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -23931,7 +23450,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, ow out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -23954,7 +23472,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) BalanceOf(owner common.Add func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -23962,7 +23479,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -23985,7 +23501,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) GetApproved(tokenId *big.I func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -23993,7 +23508,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -24016,7 +23530,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) IsApprovedForAll(owner com func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -24024,7 +23537,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -24047,7 +23559,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Name() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -24055,7 +23566,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, toke out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -24078,7 +23588,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -24086,7 +23595,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -24109,7 +23617,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) SupportsInterface(interfac func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -24117,7 +23624,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (stri out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -24140,7 +23646,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Symbol() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -24148,7 +23653,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tok out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -24349,7 +23853,6 @@ type IERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24374,7 +23877,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.Filte // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24510,7 +24012,6 @@ type IERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24531,7 +24032,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -24663,7 +24163,6 @@ type IERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -24688,7 +24187,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.Filte // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -25096,7 +24594,6 @@ func (_MinterRole *MinterRoleTransactorRaw) Transact(opts *bind.TransactOpts, me func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _MinterRole.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -25104,7 +24601,6 @@ func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -25240,7 +24736,6 @@ type MinterRoleMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -25257,7 +24752,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -25383,7 +24877,6 @@ type MinterRoleMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -25400,7 +24893,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -25619,7 +25111,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -25627,7 +25118,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -25650,7 +25140,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -25658,7 +25147,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -25795,7 +25283,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -25816,7 +25303,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) diff --git a/contracts/contracts/testing/reward/all.go b/contracts/contracts/testing/reward/all.go index bad8075c26..6a95cf47b8 100644 --- a/contracts/contracts/testing/reward/all.go +++ b/contracts/contracts/testing/reward/all.go @@ -266,7 +266,6 @@ func (_AddressBookMock *AddressBookMockTransactorRaw) Transact(opts *bind.Transa func (_AddressBookMock *AddressBookMockCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "CN_NODE_ID_TYPE") - if err != nil { return *new(uint8), err } @@ -274,7 +273,6 @@ func (_AddressBookMock *AddressBookMockCaller) CNNODEIDTYPE(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54. @@ -297,7 +295,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CNNODEIDTYPE() (uint8, err func (_AddressBookMock *AddressBookMockCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "CN_REWARD_ADDRESS_TYPE") - if err != nil { return *new(uint8), err } @@ -305,7 +302,6 @@ func (_AddressBookMock *AddressBookMockCaller) CNREWARDADDRESSTYPE(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85. @@ -328,7 +324,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CNREWARDADDRESSTYPE() (uin func (_AddressBookMock *AddressBookMockCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "CN_STAKING_ADDRESS_TYPE") - if err != nil { return *new(uint8), err } @@ -336,7 +331,6 @@ func (_AddressBookMock *AddressBookMockCaller) CNSTAKINGADDRESSTYPE(opts *bind.C out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc. @@ -359,7 +353,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CNSTAKINGADDRESSTYPE() (ui func (_AddressBookMock *AddressBookMockCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "CONTRACT_TYPE") - if err != nil { return *new(string), err } @@ -367,7 +360,6 @@ func (_AddressBookMock *AddressBookMockCaller) CONTRACTTYPE(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc. @@ -390,7 +382,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CONTRACTTYPE() (string, er func (_AddressBookMock *AddressBookMockCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "KIR_CONTRACT_TYPE") - if err != nil { return *new(uint8), err } @@ -398,7 +389,6 @@ func (_AddressBookMock *AddressBookMockCaller) KIRCONTRACTTYPE(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c. @@ -421,7 +411,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) KIRCONTRACTTYPE() (uint8, func (_AddressBookMock *AddressBookMockCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "MAX_ADMIN") - if err != nil { return *new(*big.Int), err } @@ -429,7 +418,6 @@ func (_AddressBookMock *AddressBookMockCaller) MAXADMIN(opts *bind.CallOpts) (*b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // MAXADMIN is a free data retrieval call binding the contract method 0x58d65880. @@ -452,7 +440,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) MAXADMIN() (*big.Int, erro func (_AddressBookMock *AddressBookMockCaller) MAXPENDINGREQUEST(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "MAX_PENDING_REQUEST") - if err != nil { return *new(*big.Int), err } @@ -460,7 +447,6 @@ func (_AddressBookMock *AddressBookMockCaller) MAXPENDINGREQUEST(opts *bind.Call out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb. @@ -483,7 +469,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) MAXPENDINGREQUEST() (*big. func (_AddressBookMock *AddressBookMockCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "ONE_WEEK") - if err != nil { return *new(*big.Int), err } @@ -491,7 +476,6 @@ func (_AddressBookMock *AddressBookMockCaller) ONEWEEK(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77. @@ -514,7 +498,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) ONEWEEK() (*big.Int, error func (_AddressBookMock *AddressBookMockCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "POC_CONTRACT_TYPE") - if err != nil { return *new(uint8), err } @@ -522,7 +505,6 @@ func (_AddressBookMock *AddressBookMockCaller) POCCONTRACTTYPE(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4. @@ -545,7 +527,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) POCCONTRACTTYPE() (uint8, func (_AddressBookMock *AddressBookMockCaller) TWOWEEKS(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "TWO_WEEKS") - if err != nil { return *new(*big.Int), err } @@ -553,7 +534,6 @@ func (_AddressBookMock *AddressBookMockCaller) TWOWEEKS(opts *bind.CallOpts) (*b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4. @@ -576,7 +556,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) TWOWEEKS() (*big.Int, erro func (_AddressBookMock *AddressBookMockCaller) VERSION(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "VERSION") - if err != nil { return *new(*big.Int), err } @@ -584,7 +563,6 @@ func (_AddressBookMock *AddressBookMockCaller) VERSION(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // VERSION is a free data retrieval call binding the contract method 0xffa1ad74. @@ -607,7 +585,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) VERSION() (*big.Int, error func (_AddressBookMock *AddressBookMockCaller) AdminList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "adminList", arg0) - if err != nil { return *new(common.Address), err } @@ -615,7 +592,6 @@ func (_AddressBookMock *AddressBookMockCaller) AdminList(opts *bind.CallOpts, ar out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AdminList is a free data retrieval call binding the contract method 0x11117fc8. @@ -638,7 +614,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) AdminList(arg0 *big.Int) ( func (_AddressBookMock *AddressBookMockCaller) CnIndexMap(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "cnIndexMap", arg0) - if err != nil { return *new(*big.Int), err } @@ -646,7 +621,6 @@ func (_AddressBookMock *AddressBookMockCaller) CnIndexMap(opts *bind.CallOpts, a out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // CnIndexMap is a free data retrieval call binding the contract method 0xdd8bd2cc. @@ -669,7 +643,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CnIndexMap(arg0 common.Add func (_AddressBookMock *AddressBookMockCaller) CnNodeIdList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "cnNodeIdList", arg0) - if err != nil { return *new(common.Address), err } @@ -677,7 +650,6 @@ func (_AddressBookMock *AddressBookMockCaller) CnNodeIdList(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // CnNodeIdList is a free data retrieval call binding the contract method 0x056eb492. @@ -700,7 +672,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CnNodeIdList(arg0 *big.Int func (_AddressBookMock *AddressBookMockCaller) CnRewardAddressList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "cnRewardAddressList", arg0) - if err != nil { return *new(common.Address), err } @@ -708,7 +679,6 @@ func (_AddressBookMock *AddressBookMockCaller) CnRewardAddressList(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // CnRewardAddressList is a free data retrieval call binding the contract method 0x3a48ef97. @@ -731,7 +701,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CnRewardAddressList(arg0 * func (_AddressBookMock *AddressBookMockCaller) CnStakingContractList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "cnStakingContractList", arg0) - if err != nil { return *new(common.Address), err } @@ -739,7 +708,6 @@ func (_AddressBookMock *AddressBookMockCaller) CnStakingContractList(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // CnStakingContractList is a free data retrieval call binding the contract method 0xde38e29f. @@ -762,7 +730,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) CnStakingContractList(arg0 func (_AddressBookMock *AddressBookMockCaller) GetAllAddress(opts *bind.CallOpts) ([]uint8, []common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "getAllAddress") - if err != nil { return *new([]uint8), *new([]common.Address), err } @@ -771,7 +738,6 @@ func (_AddressBookMock *AddressBookMockCaller) GetAllAddress(opts *bind.CallOpts out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. @@ -794,7 +760,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) GetAllAddress() ([]uint8, func (_AddressBookMock *AddressBookMockCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "getAllAddressInfo") - if err != nil { return *new([]common.Address), *new([]common.Address), *new([]common.Address), *new(common.Address), *new(common.Address), err } @@ -806,7 +771,6 @@ func (_AddressBookMock *AddressBookMockCaller) GetAllAddressInfo(opts *bind.Call out4 := *abi.ConvertType(out[4], new(common.Address)).(*common.Address) return out0, out1, out2, out3, out4, err - } // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. @@ -829,7 +793,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) GetAllAddressInfo() ([]com func (_AddressBookMock *AddressBookMockCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "getCnInfo", _cnNodeId) - if err != nil { return *new(common.Address), *new(common.Address), *new(common.Address), err } @@ -839,7 +802,6 @@ func (_AddressBookMock *AddressBookMockCaller) GetCnInfo(opts *bind.CallOpts, _c out2 := *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return out0, out1, out2, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -862,7 +824,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) GetCnInfo(_cnNodeId common func (_AddressBookMock *AddressBookMockCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "getState") - if err != nil { return *new([]common.Address), *new(*big.Int), err } @@ -871,7 +832,6 @@ func (_AddressBookMock *AddressBookMockCaller) GetState(opts *bind.CallOpts) ([] out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -894,7 +854,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) GetState() ([]common.Addre func (_AddressBookMock *AddressBookMockCaller) IsActivated(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "isActivated") - if err != nil { return *new(bool), err } @@ -902,7 +861,6 @@ func (_AddressBookMock *AddressBookMockCaller) IsActivated(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. @@ -925,7 +883,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) IsActivated() (bool, error func (_AddressBookMock *AddressBookMockCaller) IsConstructed(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "isConstructed") - if err != nil { return *new(bool), err } @@ -933,7 +890,6 @@ func (_AddressBookMock *AddressBookMockCaller) IsConstructed(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. @@ -956,7 +912,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) IsConstructed() (bool, err func (_AddressBookMock *AddressBookMockCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "kirContractAddress") - if err != nil { return *new(common.Address), err } @@ -964,7 +919,6 @@ func (_AddressBookMock *AddressBookMockCaller) KirContractAddress(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. @@ -987,7 +941,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) KirContractAddress() (comm func (_AddressBookMock *AddressBookMockCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "pocContractAddress") - if err != nil { return *new(common.Address), err } @@ -995,7 +948,6 @@ func (_AddressBookMock *AddressBookMockCaller) PocContractAddress(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. @@ -1018,7 +970,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) PocContractAddress() (comm func (_AddressBookMock *AddressBookMockCaller) Requirement(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "requirement") - if err != nil { return *new(*big.Int), err } @@ -1026,7 +977,6 @@ func (_AddressBookMock *AddressBookMockCaller) Requirement(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Requirement is a free data retrieval call binding the contract method 0xb7563930. @@ -1049,7 +999,6 @@ func (_AddressBookMock *AddressBookMockCallerSession) Requirement() (*big.Int, e func (_AddressBookMock *AddressBookMockCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMock.contract.Call(opts, &out, "spareContractAddress") - if err != nil { return *new(common.Address), err } @@ -1057,7 +1006,6 @@ func (_AddressBookMock *AddressBookMockCaller) SpareContractAddress(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. @@ -1636,7 +1584,6 @@ type AddressBookMockReviseRewardAddress struct { // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_AddressBookMock *AddressBookMockFilterer) FilterReviseRewardAddress(opts *bind.FilterOpts) (*AddressBookMockReviseRewardAddressIterator, error) { - logs, sub, err := _AddressBookMock.contract.FilterLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -1648,7 +1595,6 @@ func (_AddressBookMock *AddressBookMockFilterer) FilterReviseRewardAddress(opts // // Solidity: event ReviseRewardAddress(address cnNodeId, address prevRewardAddress, address curRewardAddress) func (_AddressBookMock *AddressBookMockFilterer) WatchReviseRewardAddress(opts *bind.WatchOpts, sink chan<- *AddressBookMockReviseRewardAddress) (event.Subscription, error) { - logs, sub, err := _AddressBookMock.contract.WatchLogs(opts, "ReviseRewardAddress") if err != nil { return nil, err @@ -1885,7 +1831,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNTransactorRaw) Transact(opts *b func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) AbookAdmin(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockOneCN.contract.Call(opts, &out, "abookAdmin") - if err != nil { return *new(common.Address), err } @@ -1893,7 +1838,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) AbookAdmin(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AbookAdmin is a free data retrieval call binding the contract method 0x2afbeca6. @@ -1916,7 +1860,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCallerSession) AbookAdmin() (co func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) Cn0(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockOneCN.contract.Call(opts, &out, "cn0") - if err != nil { return *new(common.Address), err } @@ -1924,7 +1867,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) Cn0(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Cn0 is a free data retrieval call binding the contract method 0x71e0981b. @@ -1947,7 +1889,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCallerSession) Cn0() (common.Ad func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) Dummy(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockOneCN.contract.Call(opts, &out, "dummy") - if err != nil { return *new(common.Address), err } @@ -1955,7 +1896,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) Dummy(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Dummy is a free data retrieval call binding the contract method 0x32e43a11. @@ -1978,7 +1918,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCallerSession) Dummy() (common. func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBookMockOneCN.contract.Call(opts, &out, "getCnInfo", _cnNodeId) - if err != nil { return *new(common.Address), *new(common.Address), *new(common.Address), err } @@ -1988,7 +1927,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) GetCnInfo(opts *bind.Ca out2 := *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return out0, out1, out2, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -2011,7 +1949,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCallerSession) GetCnInfo(_cnNod func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error) { var out []interface{} err := _AddressBookMockOneCN.contract.Call(opts, &out, "getState") - if err != nil { return *new([]common.Address), *new(*big.Int), err } @@ -2020,7 +1957,6 @@ func (_AddressBookMockOneCN *AddressBookMockOneCNCaller) GetState(opts *bind.Cal out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -2232,7 +2168,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNTransactorRaw) Transact(opt func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) AbookAdmin(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "abookAdmin") - if err != nil { return *new(common.Address), err } @@ -2240,7 +2175,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) AbookAdmin(opts *bi out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AbookAdmin is a free data retrieval call binding the contract method 0x2afbeca6. @@ -2263,7 +2197,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) AbookAdmin() func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn0(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "cn0") - if err != nil { return *new(common.Address), err } @@ -2271,7 +2204,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn0(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Cn0 is a free data retrieval call binding the contract method 0x71e0981b. @@ -2294,7 +2226,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) Cn0() (commo func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn1(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "cn1") - if err != nil { return *new(common.Address), err } @@ -2302,7 +2233,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn1(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Cn1 is a free data retrieval call binding the contract method 0xc1a7bbad. @@ -2325,7 +2255,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) Cn1() (commo func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn2(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "cn2") - if err != nil { return *new(common.Address), err } @@ -2333,7 +2262,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Cn2(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Cn2 is a free data retrieval call binding the contract method 0xc8f5b08b. @@ -2356,7 +2284,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) Cn2() (commo func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Dummy(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "dummy") - if err != nil { return *new(common.Address), err } @@ -2364,7 +2291,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) Dummy(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Dummy is a free data retrieval call binding the contract method 0x32e43a11. @@ -2387,7 +2313,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) Dummy() (com func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "getCnInfo", _cnNodeId) - if err != nil { return *new(common.Address), *new(common.Address), *new(common.Address), err } @@ -2397,7 +2322,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) GetCnInfo(opts *bin out2 := *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return out0, out1, out2, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -2420,7 +2344,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCallerSession) GetCnInfo(_c func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error) { var out []interface{} err := _AddressBookMockThreeCN.contract.Call(opts, &out, "getState") - if err != nil { return *new([]common.Address), *new(*big.Int), err } @@ -2429,7 +2352,6 @@ func (_AddressBookMockThreeCN *AddressBookMockThreeCNCaller) GetState(opts *bind out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -2635,7 +2557,6 @@ func (_AddressBookMockWrong *AddressBookMockWrongTransactorRaw) Transact(opts *b func (_AddressBookMockWrong *AddressBookMockWrongCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error) { var out []interface{} err := _AddressBookMockWrong.contract.Call(opts, &out, "getAllAddressInfo") - if err != nil { return *new([]common.Address), *new([]common.Address), *new([]common.Address), *new(common.Address), *new(common.Address), err } @@ -2647,7 +2568,6 @@ func (_AddressBookMockWrong *AddressBookMockWrongCaller) GetAllAddressInfo(opts out4 := *abi.ConvertType(out[4], new(common.Address)).(*common.Address) return out0, out1, out2, out3, out4, err - } // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. @@ -2856,7 +2776,6 @@ func (_KlaytnReward *KlaytnRewardTransactorRaw) Transact(opts *bind.TransactOpts func (_KlaytnReward *KlaytnRewardCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) { var out []interface{} err := _KlaytnReward.contract.Call(opts, &out, "balanceOf", arg0) - if err != nil { return *new(*big.Int), err } @@ -2864,7 +2783,6 @@ func (_KlaytnReward *KlaytnRewardCaller) BalanceOf(opts *bind.CallOpts, arg0 com out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -2887,7 +2805,6 @@ func (_KlaytnReward *KlaytnRewardCallerSession) BalanceOf(arg0 common.Address) ( func (_KlaytnReward *KlaytnRewardCaller) TotalAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _KlaytnReward.contract.Call(opts, &out, "totalAmount") - if err != nil { return *new(*big.Int), err } @@ -2895,7 +2812,6 @@ func (_KlaytnReward *KlaytnRewardCaller) TotalAmount(opts *bind.CallOpts) (*big. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalAmount is a free data retrieval call binding the contract method 0x1a39d8ef. diff --git a/contracts/contracts/testing/sc_erc20/sc_token.go b/contracts/contracts/testing/sc_erc20/sc_token.go index df1c545e3d..6dc0857bc6 100644 --- a/contracts/contracts/testing/sc_erc20/sc_token.go +++ b/contracts/contracts/testing/sc_erc20/sc_token.go @@ -401,7 +401,6 @@ func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method strin func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -409,7 +408,6 @@ func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -432,7 +430,6 @@ func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -440,7 +437,6 @@ func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -463,7 +459,6 @@ func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, e func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -471,7 +466,6 @@ func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -672,7 +666,6 @@ type ERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -693,7 +686,6 @@ func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []commo // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -825,7 +817,6 @@ type ERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -846,7 +837,6 @@ func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1097,7 +1087,6 @@ func (_ERC20Burnable *ERC20BurnableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -1105,7 +1094,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -1128,7 +1116,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) Allowance(owner common.Address func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -1136,7 +1123,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -1159,7 +1145,6 @@ func (_ERC20Burnable *ERC20BurnableCallerSession) BalanceOf(account common.Addre func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Burnable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -1167,7 +1152,6 @@ func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -1410,7 +1394,6 @@ type ERC20BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1431,7 +1414,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1563,7 +1545,6 @@ type ERC20BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1584,7 +1565,6 @@ func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Burnable *ERC20BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1837,7 +1817,6 @@ func (_ERC20Mintable *ERC20MintableTransactorRaw) Transact(opts *bind.TransactOp func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -1845,7 +1824,6 @@ func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -1868,7 +1846,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) Allowance(owner common.Address func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -1876,7 +1853,6 @@ func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, accoun out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -1899,7 +1875,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) BalanceOf(account common.Addre func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -1907,7 +1882,6 @@ func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -1930,7 +1904,6 @@ func (_ERC20Mintable *ERC20MintableCallerSession) IsMinter(account common.Addres func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20Mintable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -1938,7 +1911,6 @@ func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -2202,7 +2174,6 @@ type ERC20MintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2223,7 +2194,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpt // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MintableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2353,7 +2323,6 @@ type ERC20MintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -2370,7 +2339,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.Filter // // Solidity: event MinterAdded(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -2496,7 +2464,6 @@ type ERC20MintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -2513,7 +2480,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.Filt // // Solidity: event MinterRemoved(address indexed account) func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -2641,7 +2607,6 @@ type ERC20MintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2662,7 +2627,6 @@ func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpt // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20Mintable *ERC20MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MintableTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2896,7 +2860,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainTransactorRaw) Transact(opts *bind.Tr func (_ERC20ServiceChain *ERC20ServiceChainCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -2904,7 +2867,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) Allowance(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -2927,7 +2889,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCallerSession) Allowance(owner common func (_ERC20ServiceChain *ERC20ServiceChainCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -2935,7 +2896,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) BalanceOf(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -2958,7 +2918,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCallerSession) BalanceOf(account comm func (_ERC20ServiceChain *ERC20ServiceChainCaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -2966,7 +2925,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) Bridge(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -2989,7 +2947,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCallerSession) Bridge() (common.Addre func (_ERC20ServiceChain *ERC20ServiceChainCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -2997,7 +2954,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) IsOwner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -3020,7 +2976,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCallerSession) IsOwner() (bool, error func (_ERC20ServiceChain *ERC20ServiceChainCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -3028,7 +2983,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -3051,7 +3005,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCallerSession) Owner() (common.Addres func (_ERC20ServiceChain *ERC20ServiceChainCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC20ServiceChain.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -3059,7 +3012,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainCaller) TotalSupply(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -3344,7 +3296,6 @@ type ERC20ServiceChainApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ServiceChainApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3365,7 +3316,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterApproval(opts *bind.F // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20ServiceChainApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3496,7 +3446,6 @@ type ERC20ServiceChainOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC20ServiceChainOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -3517,7 +3466,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC20ServiceChainOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -3649,7 +3597,6 @@ type ERC20ServiceChainTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20ServiceChainTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3670,7 +3617,6 @@ func (_ERC20ServiceChain *ERC20ServiceChainFilterer) FilterTransfer(opts *bind.F // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ERC20ServiceChain *ERC20ServiceChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20ServiceChainTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3895,7 +3841,6 @@ func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -3903,7 +3848,6 @@ func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -3926,7 +3870,6 @@ func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender comm func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -3934,7 +3877,6 @@ func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -3957,7 +3899,6 @@ func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _IERC20.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -3965,7 +3906,6 @@ func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -4124,7 +4064,6 @@ type IERC20Approval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4145,7 +4084,6 @@ func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4277,7 +4215,6 @@ type IERC20Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4298,7 +4235,6 @@ func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4702,7 +4638,6 @@ func (_MinterRole *MinterRoleTransactorRaw) Transact(opts *bind.TransactOpts, me func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _MinterRole.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -4710,7 +4645,6 @@ func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -4846,7 +4780,6 @@ type MinterRoleMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -4863,7 +4796,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -4989,7 +4921,6 @@ type MinterRoleMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -5006,7 +4937,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -5225,7 +5155,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -5233,7 +5162,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -5256,7 +5184,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -5264,7 +5191,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -5401,7 +5327,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -5422,7 +5347,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -6040,7 +5964,6 @@ func (_ServiceChainToken *ServiceChainTokenTransactorRaw) Transact(opts *bind.Tr func (_ServiceChainToken *ServiceChainTokenCaller) DECIMALS(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "DECIMALS") - if err != nil { return *new(uint8), err } @@ -6048,7 +5971,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) DECIMALS(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625. @@ -6071,7 +5993,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) DECIMALS() (uint8, err func (_ServiceChainToken *ServiceChainTokenCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "INITIAL_SUPPLY") - if err != nil { return *new(*big.Int), err } @@ -6079,7 +6000,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) INITIALSUPPLY(opts *bind.Call out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc. @@ -6102,7 +6022,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) INITIALSUPPLY() (*big. func (_ServiceChainToken *ServiceChainTokenCaller) NAME(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "NAME") - if err != nil { return *new(string), err } @@ -6110,7 +6029,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) NAME(opts *bind.CallOpts) (st out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // NAME is a free data retrieval call binding the contract method 0xa3f4df7e. @@ -6133,7 +6051,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) NAME() (string, error) func (_ServiceChainToken *ServiceChainTokenCaller) SYMBOL(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "SYMBOL") - if err != nil { return *new(string), err } @@ -6141,7 +6058,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) SYMBOL(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // SYMBOL is a free data retrieval call binding the contract method 0xf76f8d78. @@ -6164,7 +6080,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) SYMBOL() (string, erro func (_ServiceChainToken *ServiceChainTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "allowance", owner, spender) - if err != nil { return *new(*big.Int), err } @@ -6172,7 +6087,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) Allowance(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. @@ -6195,7 +6109,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) Allowance(owner common func (_ServiceChainToken *ServiceChainTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "balanceOf", account) - if err != nil { return *new(*big.Int), err } @@ -6203,7 +6116,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) BalanceOf(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -6226,7 +6138,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) BalanceOf(account comm func (_ServiceChainToken *ServiceChainTokenCaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -6234,7 +6145,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) Bridge(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -6257,7 +6167,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) Bridge() (common.Addre func (_ServiceChainToken *ServiceChainTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -6265,7 +6174,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) IsMinter(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -6288,7 +6196,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) IsMinter(account commo func (_ServiceChainToken *ServiceChainTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -6296,7 +6203,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) IsOwner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -6319,7 +6225,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) IsOwner() (bool, error func (_ServiceChainToken *ServiceChainTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -6327,7 +6232,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -6350,7 +6254,6 @@ func (_ServiceChainToken *ServiceChainTokenCallerSession) Owner() (common.Addres func (_ServiceChainToken *ServiceChainTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ServiceChainToken.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -6358,7 +6261,6 @@ func (_ServiceChainToken *ServiceChainTokenCaller) TotalSupply(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -6748,7 +6650,6 @@ type ServiceChainTokenApproval struct { // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ServiceChainToken *ServiceChainTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ServiceChainTokenApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6769,7 +6670,6 @@ func (_ServiceChainToken *ServiceChainTokenFilterer) FilterApproval(opts *bind.F // // Solidity: event Approval(address indexed owner, address indexed spender, uint256 value) func (_ServiceChainToken *ServiceChainTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ServiceChainTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6899,7 +6799,6 @@ type ServiceChainTokenMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainToken *ServiceChainTokenFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ServiceChainTokenMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6916,7 +6815,6 @@ func (_ServiceChainToken *ServiceChainTokenFilterer) FilterMinterAdded(opts *bin // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainToken *ServiceChainTokenFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ServiceChainTokenMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -7042,7 +6940,6 @@ type ServiceChainTokenMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainToken *ServiceChainTokenFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ServiceChainTokenMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -7059,7 +6956,6 @@ func (_ServiceChainToken *ServiceChainTokenFilterer) FilterMinterRemoved(opts *b // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainToken *ServiceChainTokenFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ServiceChainTokenMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -7186,7 +7082,6 @@ type ServiceChainTokenOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainToken *ServiceChainTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ServiceChainTokenOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7207,7 +7102,6 @@ func (_ServiceChainToken *ServiceChainTokenFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainToken *ServiceChainTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ServiceChainTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7339,7 +7233,6 @@ type ServiceChainTokenTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ServiceChainToken *ServiceChainTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ServiceChainTokenTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7360,7 +7253,6 @@ func (_ServiceChainToken *ServiceChainTokenFilterer) FilterTransfer(opts *bind.F // // Solidity: event Transfer(address indexed from, address indexed to, uint256 value) func (_ServiceChainToken *ServiceChainTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ServiceChainTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) diff --git a/contracts/contracts/testing/sc_erc721/sc_nft.go b/contracts/contracts/testing/sc_erc721/sc_nft.go index 66d1b4c542..84e70b6f10 100644 --- a/contracts/contracts/testing/sc_erc721/sc_nft.go +++ b/contracts/contracts/testing/sc_erc721/sc_nft.go @@ -548,7 +548,6 @@ func (_ERC165 *ERC165TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -556,7 +555,6 @@ func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -771,7 +769,6 @@ func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -779,7 +776,6 @@ func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -802,7 +798,6 @@ func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, e func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -810,7 +805,6 @@ func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -833,7 +827,6 @@ func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addres func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -841,7 +834,6 @@ func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common. out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -864,7 +856,6 @@ func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, opera func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -872,7 +863,6 @@ func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (com out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -895,7 +885,6 @@ func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, e func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -903,7 +892,6 @@ func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -1104,7 +1092,6 @@ type ERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1129,7 +1116,6 @@ func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1265,7 +1251,6 @@ type ERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1286,7 +1271,6 @@ func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1418,7 +1402,6 @@ type ERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1443,7 +1426,6 @@ func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1699,7 +1681,6 @@ func (_ERC721Burnable *ERC721BurnableTransactorRaw) Transact(opts *bind.Transact func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -1707,7 +1688,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -1730,7 +1710,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) BalanceOf(owner common.Addre func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -1738,7 +1717,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -1761,7 +1739,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) GetApproved(tokenId *big.Int func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -1769,7 +1746,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -1792,7 +1768,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) IsApprovedForAll(owner commo func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -1800,7 +1775,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -1823,7 +1797,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -1831,7 +1804,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -2053,7 +2025,6 @@ type ERC721BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2078,7 +2049,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2214,7 +2184,6 @@ type ERC721BurnableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721BurnableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2235,7 +2204,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2367,7 +2335,6 @@ type ERC721BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2392,7 +2359,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721BurnableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2650,7 +2616,6 @@ func (_ERC721Enumerable *ERC721EnumerableTransactorRaw) Transact(opts *bind.Tran func (_ERC721Enumerable *ERC721EnumerableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -2658,7 +2623,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) BalanceOf(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -2681,7 +2645,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) BalanceOf(owner common.A func (_ERC721Enumerable *ERC721EnumerableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -2689,7 +2652,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) GetApproved(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -2712,7 +2674,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) GetApproved(tokenId *big func (_ERC721Enumerable *ERC721EnumerableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -2720,7 +2681,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) IsApprovedForAll(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -2743,7 +2703,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) IsApprovedForAll(owner c func (_ERC721Enumerable *ERC721EnumerableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -2751,7 +2710,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) OwnerOf(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -2774,7 +2732,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) OwnerOf(tokenId *big.Int func (_ERC721Enumerable *ERC721EnumerableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -2782,7 +2739,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) SupportsInterface(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -2805,7 +2761,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) SupportsInterface(interf func (_ERC721Enumerable *ERC721EnumerableCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "tokenByIndex", index) - if err != nil { return *new(*big.Int), err } @@ -2813,7 +2768,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) TokenByIndex(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7. @@ -2836,7 +2790,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) TokenByIndex(index *big. func (_ERC721Enumerable *ERC721EnumerableCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "tokenOfOwnerByIndex", owner, index) - if err != nil { return *new(*big.Int), err } @@ -2844,7 +2797,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) TokenOfOwnerByIndex(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59. @@ -2867,7 +2819,6 @@ func (_ERC721Enumerable *ERC721EnumerableCallerSession) TokenOfOwnerByIndex(owne func (_ERC721Enumerable *ERC721EnumerableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC721Enumerable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -2875,7 +2826,6 @@ func (_ERC721Enumerable *ERC721EnumerableCaller) TotalSupply(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -3076,7 +3026,6 @@ type ERC721EnumerableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721EnumerableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3101,7 +3050,6 @@ func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterApproval(opts *bind.Fil // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3237,7 +3185,6 @@ type ERC721EnumerableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721EnumerableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3258,7 +3205,6 @@ func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterApprovalForAll(opts *bi // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3390,7 +3336,6 @@ type ERC721EnumerableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721EnumerableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3415,7 +3360,6 @@ func (_ERC721Enumerable *ERC721EnumerableFilterer) FilterTransfer(opts *bind.Fil // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Enumerable *ERC721EnumerableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721EnumerableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3676,7 +3620,6 @@ func (_ERC721Full *ERC721FullTransactorRaw) Transact(opts *bind.TransactOpts, me func (_ERC721Full *ERC721FullCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -3684,7 +3627,6 @@ func (_ERC721Full *ERC721FullCaller) BalanceOf(opts *bind.CallOpts, owner common out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -3707,7 +3649,6 @@ func (_ERC721Full *ERC721FullCallerSession) BalanceOf(owner common.Address) (*bi func (_ERC721Full *ERC721FullCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -3715,7 +3656,6 @@ func (_ERC721Full *ERC721FullCaller) GetApproved(opts *bind.CallOpts, tokenId *b out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -3738,7 +3678,6 @@ func (_ERC721Full *ERC721FullCallerSession) GetApproved(tokenId *big.Int) (commo func (_ERC721Full *ERC721FullCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -3746,7 +3685,6 @@ func (_ERC721Full *ERC721FullCaller) IsApprovedForAll(opts *bind.CallOpts, owner out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -3769,7 +3707,6 @@ func (_ERC721Full *ERC721FullCallerSession) IsApprovedForAll(owner common.Addres func (_ERC721Full *ERC721FullCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -3777,7 +3714,6 @@ func (_ERC721Full *ERC721FullCaller) Name(opts *bind.CallOpts) (string, error) { out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -3800,7 +3736,6 @@ func (_ERC721Full *ERC721FullCallerSession) Name() (string, error) { func (_ERC721Full *ERC721FullCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -3808,7 +3743,6 @@ func (_ERC721Full *ERC721FullCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.I out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -3831,7 +3765,6 @@ func (_ERC721Full *ERC721FullCallerSession) OwnerOf(tokenId *big.Int) (common.Ad func (_ERC721Full *ERC721FullCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -3839,7 +3772,6 @@ func (_ERC721Full *ERC721FullCaller) SupportsInterface(opts *bind.CallOpts, inte out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -3862,7 +3794,6 @@ func (_ERC721Full *ERC721FullCallerSession) SupportsInterface(interfaceId [4]byt func (_ERC721Full *ERC721FullCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -3870,7 +3801,6 @@ func (_ERC721Full *ERC721FullCaller) Symbol(opts *bind.CallOpts) (string, error) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -3893,7 +3823,6 @@ func (_ERC721Full *ERC721FullCallerSession) Symbol() (string, error) { func (_ERC721Full *ERC721FullCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "tokenByIndex", index) - if err != nil { return *new(*big.Int), err } @@ -3901,7 +3830,6 @@ func (_ERC721Full *ERC721FullCaller) TokenByIndex(opts *bind.CallOpts, index *bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7. @@ -3924,7 +3852,6 @@ func (_ERC721Full *ERC721FullCallerSession) TokenByIndex(index *big.Int) (*big.I func (_ERC721Full *ERC721FullCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "tokenOfOwnerByIndex", owner, index) - if err != nil { return *new(*big.Int), err } @@ -3932,7 +3859,6 @@ func (_ERC721Full *ERC721FullCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, ow out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59. @@ -3955,7 +3881,6 @@ func (_ERC721Full *ERC721FullCallerSession) TokenOfOwnerByIndex(owner common.Add func (_ERC721Full *ERC721FullCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -3963,7 +3888,6 @@ func (_ERC721Full *ERC721FullCaller) TokenURI(opts *bind.CallOpts, tokenId *big. out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -3986,7 +3910,6 @@ func (_ERC721Full *ERC721FullCallerSession) TokenURI(tokenId *big.Int) (string, func (_ERC721Full *ERC721FullCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ERC721Full.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -3994,7 +3917,6 @@ func (_ERC721Full *ERC721FullCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -4195,7 +4117,6 @@ type ERC721FullApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Full *ERC721FullFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721FullApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4220,7 +4141,6 @@ func (_ERC721Full *ERC721FullFilterer) FilterApproval(opts *bind.FilterOpts, own // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Full *ERC721FullFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721FullApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4356,7 +4276,6 @@ type ERC721FullApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Full *ERC721FullFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721FullApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4377,7 +4296,6 @@ func (_ERC721Full *ERC721FullFilterer) FilterApprovalForAll(opts *bind.FilterOpt // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Full *ERC721FullFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721FullApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4509,7 +4427,6 @@ type ERC721FullTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Full *ERC721FullFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721FullTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4534,7 +4451,6 @@ func (_ERC721Full *ERC721FullFilterer) FilterTransfer(opts *bind.FilterOpts, fro // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Full *ERC721FullFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721FullTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4792,7 +4708,6 @@ func (_ERC721Metadata *ERC721MetadataTransactorRaw) Transact(opts *bind.Transact func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -4800,7 +4715,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -4823,7 +4737,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) BalanceOf(owner common.Addre func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -4831,7 +4744,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -4854,7 +4766,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) GetApproved(tokenId *big.Int func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -4862,7 +4773,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -4885,7 +4795,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) IsApprovedForAll(owner commo func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -4893,7 +4802,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Name(opts *bind.CallOpts) (string, out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -4916,7 +4824,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Name() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -4924,7 +4831,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -4947,7 +4853,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -4955,7 +4860,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -4978,7 +4882,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) SupportsInterface(interfaceI func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -4986,7 +4889,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -5009,7 +4911,6 @@ func (_ERC721Metadata *ERC721MetadataCallerSession) Symbol() (string, error) { func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -5017,7 +4918,6 @@ func (_ERC721Metadata *ERC721MetadataCaller) TokenURI(opts *bind.CallOpts, token out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -5218,7 +5118,6 @@ type ERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5243,7 +5142,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5379,7 +5277,6 @@ type ERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5400,7 +5297,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Metadata *ERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5532,7 +5428,6 @@ type ERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5557,7 +5452,6 @@ func (_ERC721Metadata *ERC721MetadataFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Metadata *ERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5797,7 +5691,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableTransactorRaw) Transact(opt func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -5805,7 +5698,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) BalanceOf(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -5828,7 +5720,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) BalanceOf(ow func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -5836,7 +5727,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) GetApproved(opts *b out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -5859,7 +5749,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) GetApproved( func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -5867,7 +5756,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsApprovedForAll(op out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -5890,7 +5778,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsApprovedFo func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -5898,7 +5785,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) IsMinter(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -5921,7 +5807,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) IsMinter(acc func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -5929,7 +5814,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Name(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -5952,7 +5836,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Name() (stri func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -5960,7 +5843,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) OwnerOf(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -5983,7 +5865,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) OwnerOf(toke func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -5991,7 +5872,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) SupportsInterface(o out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -6014,7 +5894,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) SupportsInte func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -6022,7 +5901,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) Symbol(opts *bind.C out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -6045,7 +5923,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCallerSession) Symbol() (st func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ERC721MetadataMintable.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -6053,7 +5930,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableCaller) TokenURI(opts *bind out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -6317,7 +6193,6 @@ type ERC721MetadataMintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6342,7 +6217,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApproval(op // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6478,7 +6352,6 @@ type ERC721MetadataMintableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MetadataMintableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6499,7 +6372,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterApprovalFor // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6629,7 +6501,6 @@ type ERC721MetadataMintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6646,7 +6517,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterAdded // // Solidity: event MinterAdded(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6772,7 +6642,6 @@ type ERC721MetadataMintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC721MetadataMintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6789,7 +6658,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterMinterRemov // // Solidity: event MinterRemoved(address indexed account) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6917,7 +6785,6 @@ type ERC721MetadataMintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MetadataMintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -6942,7 +6809,6 @@ func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) FilterTransfer(op // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721MetadataMintable *ERC721MetadataMintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MetadataMintableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -7182,7 +7048,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainTransactorRaw) Transact(opts *bind. func (_ERC721ServiceChain *ERC721ServiceChainCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -7190,7 +7055,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) BalanceOf(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -7213,7 +7077,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) BalanceOf(owner comm func (_ERC721ServiceChain *ERC721ServiceChainCaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -7221,7 +7084,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) Bridge(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -7244,7 +7106,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) Bridge() (common.Add func (_ERC721ServiceChain *ERC721ServiceChainCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -7252,7 +7113,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) GetApproved(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -7275,7 +7135,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) GetApproved(tokenId func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -7283,7 +7142,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsApprovedForAll(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -7306,7 +7164,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) IsApprovedForAll(own func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -7314,7 +7171,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsOwner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -7337,7 +7193,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) IsOwner() (bool, err func (_ERC721ServiceChain *ERC721ServiceChainCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -7345,7 +7200,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) Owner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -7368,7 +7222,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) Owner() (common.Addr func (_ERC721ServiceChain *ERC721ServiceChainCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -7376,7 +7229,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) OwnerOf(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -7399,7 +7251,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) OwnerOf(tokenId *big func (_ERC721ServiceChain *ERC721ServiceChainCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -7407,7 +7258,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) SupportsInterface(opts *bin out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -7692,7 +7542,6 @@ type ERC721ServiceChainApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ServiceChainApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -7717,7 +7566,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApproval(opts *bind // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -7853,7 +7701,6 @@ type ERC721ServiceChainApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ServiceChainApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -7874,7 +7721,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApprovalForAll(opts // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8005,7 +7851,6 @@ type ERC721ServiceChainOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721ServiceChainOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8026,7 +7871,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterOwnershipTransferre // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8158,7 +8002,6 @@ type ERC721ServiceChainTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721ServiceChainTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -8183,7 +8026,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterTransfer(opts *bind // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -8407,7 +8249,6 @@ func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -8415,7 +8256,6 @@ func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -8608,7 +8448,6 @@ func (_IERC721 *IERC721TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -8616,7 +8455,6 @@ func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -8639,7 +8477,6 @@ func (_IERC721 *IERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -8647,7 +8484,6 @@ func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -8670,7 +8506,6 @@ func (_IERC721 *IERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addr func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -8678,7 +8513,6 @@ func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -8701,7 +8535,6 @@ func (_IERC721 *IERC721CallerSession) IsApprovedForAll(owner common.Address, ope func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -8709,7 +8542,6 @@ func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -8732,7 +8564,6 @@ func (_IERC721 *IERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -8740,7 +8571,6 @@ func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -8941,7 +8771,6 @@ type IERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8966,7 +8795,6 @@ func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []c // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -9102,7 +8930,6 @@ type IERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -9123,7 +8950,6 @@ func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, own // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -9255,7 +9081,6 @@ type IERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9280,7 +9105,6 @@ func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []co // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9698,7 +9522,6 @@ func (_IERC721Enumerable *IERC721EnumerableTransactorRaw) Transact(opts *bind.Tr func (_IERC721Enumerable *IERC721EnumerableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -9706,7 +9529,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) BalanceOf(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -9729,7 +9551,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) BalanceOf(owner common func (_IERC721Enumerable *IERC721EnumerableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -9737,7 +9558,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) GetApproved(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -9760,7 +9580,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) GetApproved(tokenId *b func (_IERC721Enumerable *IERC721EnumerableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -9768,7 +9587,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) IsApprovedForAll(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -9791,7 +9609,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) IsApprovedForAll(owner func (_IERC721Enumerable *IERC721EnumerableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -9799,7 +9616,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) OwnerOf(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -9822,7 +9638,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) OwnerOf(tokenId *big.I func (_IERC721Enumerable *IERC721EnumerableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -9830,7 +9645,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) SupportsInterface(opts *bind. out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -9853,7 +9667,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) SupportsInterface(inte func (_IERC721Enumerable *IERC721EnumerableCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "tokenByIndex", index) - if err != nil { return *new(*big.Int), err } @@ -9861,7 +9674,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) TokenByIndex(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7. @@ -9884,7 +9696,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) TokenByIndex(index *bi func (_IERC721Enumerable *IERC721EnumerableCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "tokenOfOwnerByIndex", owner, index) - if err != nil { return *new(*big.Int), err } @@ -9892,7 +9703,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) TokenOfOwnerByIndex(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59. @@ -9915,7 +9725,6 @@ func (_IERC721Enumerable *IERC721EnumerableCallerSession) TokenOfOwnerByIndex(ow func (_IERC721Enumerable *IERC721EnumerableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _IERC721Enumerable.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -9923,7 +9732,6 @@ func (_IERC721Enumerable *IERC721EnumerableCaller) TotalSupply(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -10124,7 +9932,6 @@ type IERC721EnumerableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721EnumerableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -10149,7 +9956,6 @@ func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterApproval(opts *bind.F // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Enumerable *IERC721EnumerableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721EnumerableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -10285,7 +10091,6 @@ type IERC721EnumerableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721EnumerableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -10306,7 +10111,6 @@ func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterApprovalForAll(opts * // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Enumerable *IERC721EnumerableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721EnumerableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -10438,7 +10242,6 @@ type IERC721EnumerableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721EnumerableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10463,7 +10266,6 @@ func (_IERC721Enumerable *IERC721EnumerableFilterer) FilterTransfer(opts *bind.F // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Enumerable *IERC721EnumerableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721EnumerableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -10699,7 +10501,6 @@ func (_IERC721Metadata *IERC721MetadataTransactorRaw) Transact(opts *bind.Transa func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -10707,7 +10508,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) BalanceOf(opts *bind.CallOpts, ow out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -10730,7 +10530,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) BalanceOf(owner common.Add func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -10738,7 +10537,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) GetApproved(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -10761,7 +10559,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) GetApproved(tokenId *big.I func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -10769,7 +10566,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) IsApprovedForAll(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -10792,7 +10588,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) IsApprovedForAll(owner com func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -10800,7 +10595,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Name(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -10823,7 +10617,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Name() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -10831,7 +10624,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) OwnerOf(opts *bind.CallOpts, toke out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -10854,7 +10646,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) OwnerOf(tokenId *big.Int) func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -10862,7 +10653,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) SupportsInterface(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -10885,7 +10675,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) SupportsInterface(interfac func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -10893,7 +10682,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) Symbol(opts *bind.CallOpts) (stri out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -10916,7 +10704,6 @@ func (_IERC721Metadata *IERC721MetadataCallerSession) Symbol() (string, error) { func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _IERC721Metadata.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -10924,7 +10711,6 @@ func (_IERC721Metadata *IERC721MetadataCaller) TokenURI(opts *bind.CallOpts, tok out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -11125,7 +10911,6 @@ type IERC721MetadataApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721MetadataApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -11150,7 +10935,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApproval(opts *bind.Filte // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -11286,7 +11070,6 @@ type IERC721MetadataApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721MetadataApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -11307,7 +11090,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterApprovalForAll(opts *bind // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721Metadata *IERC721MetadataFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721MetadataApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -11439,7 +11221,6 @@ type IERC721MetadataTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721MetadataTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11464,7 +11245,6 @@ func (_IERC721Metadata *IERC721MetadataFilterer) FilterTransfer(opts *bind.Filte // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721Metadata *IERC721MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721MetadataTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -11872,7 +11652,6 @@ func (_MinterRole *MinterRoleTransactorRaw) Transact(opts *bind.TransactOpts, me func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _MinterRole.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -11880,7 +11659,6 @@ func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -12016,7 +11794,6 @@ type MinterRoleMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -12033,7 +11810,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -12159,7 +11935,6 @@ type MinterRoleMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -12176,7 +11951,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -12395,7 +12169,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -12403,7 +12176,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -12426,7 +12198,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -12434,7 +12205,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -12571,7 +12341,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -12592,7 +12361,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -13214,7 +12982,6 @@ func (_ServiceChainNFT *ServiceChainNFTTransactorRaw) Transact(opts *bind.Transa func (_ServiceChainNFT *ServiceChainNFTCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -13222,7 +12989,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) BalanceOf(opts *bind.CallOpts, ow out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -13245,7 +13011,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) BalanceOf(owner common.Add func (_ServiceChainNFT *ServiceChainNFTCaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -13253,7 +13018,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) Bridge(opts *bind.CallOpts) (comm out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -13276,7 +13040,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) Bridge() (common.Address, func (_ServiceChainNFT *ServiceChainNFTCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -13284,7 +13047,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) GetApproved(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -13307,7 +13069,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) GetApproved(tokenId *big.I func (_ServiceChainNFT *ServiceChainNFTCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -13315,7 +13076,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) IsApprovedForAll(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -13338,7 +13098,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) IsApprovedForAll(owner com func (_ServiceChainNFT *ServiceChainNFTCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -13346,7 +13105,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) IsMinter(opts *bind.CallOpts, acc out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -13369,7 +13127,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) IsMinter(account common.Ad func (_ServiceChainNFT *ServiceChainNFTCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -13377,7 +13134,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) IsOwner(opts *bind.CallOpts) (boo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -13400,7 +13156,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) IsOwner() (bool, error) { func (_ServiceChainNFT *ServiceChainNFTCaller) Name(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "name") - if err != nil { return *new(string), err } @@ -13408,7 +13163,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) Name(opts *bind.CallOpts) (string out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Name is a free data retrieval call binding the contract method 0x06fdde03. @@ -13431,7 +13185,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) Name() (string, error) { func (_ServiceChainNFT *ServiceChainNFTCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -13439,7 +13192,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) Owner(opts *bind.CallOpts) (commo out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -13462,7 +13214,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) Owner() (common.Address, e func (_ServiceChainNFT *ServiceChainNFTCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -13470,7 +13221,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) OwnerOf(opts *bind.CallOpts, toke out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -13493,7 +13243,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) OwnerOf(tokenId *big.Int) func (_ServiceChainNFT *ServiceChainNFTCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -13501,7 +13250,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) SupportsInterface(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -13524,7 +13272,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) SupportsInterface(interfac func (_ServiceChainNFT *ServiceChainNFTCaller) Symbol(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "symbol") - if err != nil { return *new(string), err } @@ -13532,7 +13279,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) Symbol(opts *bind.CallOpts) (stri out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Symbol is a free data retrieval call binding the contract method 0x95d89b41. @@ -13555,7 +13301,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) Symbol() (string, error) { func (_ServiceChainNFT *ServiceChainNFTCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "tokenByIndex", index) - if err != nil { return *new(*big.Int), err } @@ -13563,7 +13308,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) TokenByIndex(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7. @@ -13586,7 +13330,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) TokenByIndex(index *big.In func (_ServiceChainNFT *ServiceChainNFTCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "tokenOfOwnerByIndex", owner, index) - if err != nil { return *new(*big.Int), err } @@ -13594,7 +13337,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) TokenOfOwnerByIndex(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59. @@ -13617,7 +13359,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) TokenOfOwnerByIndex(owner func (_ServiceChainNFT *ServiceChainNFTCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "tokenURI", tokenId) - if err != nil { return *new(string), err } @@ -13625,7 +13366,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) TokenURI(opts *bind.CallOpts, tok out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // TokenURI is a free data retrieval call binding the contract method 0xc87b56dd. @@ -13648,7 +13388,6 @@ func (_ServiceChainNFT *ServiceChainNFTCallerSession) TokenURI(tokenId *big.Int) func (_ServiceChainNFT *ServiceChainNFTCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ServiceChainNFT.contract.Call(opts, &out, "totalSupply") - if err != nil { return *new(*big.Int), err } @@ -13656,7 +13395,6 @@ func (_ServiceChainNFT *ServiceChainNFTCaller) TotalSupply(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. @@ -14046,7 +13784,6 @@ type ServiceChainNFTApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ServiceChainNFTApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14071,7 +13808,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterApproval(opts *bind.Filte // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14207,7 +13943,6 @@ type ServiceChainNFTApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ServiceChainNFTApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14228,7 +13963,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterApprovalForAll(opts *bind // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -14358,7 +14092,6 @@ type ServiceChainNFTMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ServiceChainNFTMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14375,7 +14108,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterMinterAdded(opts *bind.Fi // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14501,7 +14233,6 @@ type ServiceChainNFTMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ServiceChainNFTMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14518,7 +14249,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterMinterRemoved(opts *bind. // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -14645,7 +14375,6 @@ type ServiceChainNFTOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ServiceChainNFTOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -14666,7 +14395,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterOwnershipTransferred(opts // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -14798,7 +14526,6 @@ type ServiceChainNFTTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ServiceChainNFTTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -14823,7 +14550,6 @@ func (_ServiceChainNFT *ServiceChainNFTFilterer) FilterTransfer(opts *bind.Filte // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ServiceChainNFT *ServiceChainNFTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) diff --git a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go index c4749395cf..e85ab53bd8 100644 --- a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go +++ b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go @@ -548,7 +548,6 @@ func (_ERC165 *ERC165TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -556,7 +555,6 @@ func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -771,7 +769,6 @@ func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method str func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -779,7 +776,6 @@ func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -802,7 +798,6 @@ func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, e func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -810,7 +805,6 @@ func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -833,7 +827,6 @@ func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addres func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -841,7 +834,6 @@ func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common. out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -864,7 +856,6 @@ func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, opera func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -872,7 +863,6 @@ func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (com out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -895,7 +885,6 @@ func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, e func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -903,7 +892,6 @@ func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -1104,7 +1092,6 @@ type ERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1129,7 +1116,6 @@ func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []com // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1265,7 +1251,6 @@ type ERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1286,7 +1271,6 @@ func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -1418,7 +1402,6 @@ type ERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1443,7 +1426,6 @@ func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []comm // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -1699,7 +1681,6 @@ func (_ERC721Burnable *ERC721BurnableTransactorRaw) Transact(opts *bind.Transact func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -1707,7 +1688,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -1730,7 +1710,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) BalanceOf(owner common.Addre func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -1738,7 +1717,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -1761,7 +1739,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) GetApproved(tokenId *big.Int func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -1769,7 +1746,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -1792,7 +1768,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) IsApprovedForAll(owner commo func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -1800,7 +1775,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -1823,7 +1797,6 @@ func (_ERC721Burnable *ERC721BurnableCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Burnable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -1831,7 +1804,6 @@ func (_ERC721Burnable *ERC721BurnableCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -2053,7 +2025,6 @@ type ERC721BurnableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721BurnableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2078,7 +2049,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2214,7 +2184,6 @@ type ERC721BurnableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721BurnableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2235,7 +2204,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Burnable *ERC721BurnableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721BurnableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -2367,7 +2335,6 @@ type ERC721BurnableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721BurnableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2392,7 +2359,6 @@ func (_ERC721Burnable *ERC721BurnableFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Burnable *ERC721BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721BurnableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -2651,7 +2617,6 @@ func (_ERC721Mintable *ERC721MintableTransactorRaw) Transact(opts *bind.Transact func (_ERC721Mintable *ERC721MintableCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -2659,7 +2624,6 @@ func (_ERC721Mintable *ERC721MintableCaller) BalanceOf(opts *bind.CallOpts, owne out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -2682,7 +2646,6 @@ func (_ERC721Mintable *ERC721MintableCallerSession) BalanceOf(owner common.Addre func (_ERC721Mintable *ERC721MintableCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -2690,7 +2653,6 @@ func (_ERC721Mintable *ERC721MintableCaller) GetApproved(opts *bind.CallOpts, to out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -2713,7 +2675,6 @@ func (_ERC721Mintable *ERC721MintableCallerSession) GetApproved(tokenId *big.Int func (_ERC721Mintable *ERC721MintableCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -2721,7 +2682,6 @@ func (_ERC721Mintable *ERC721MintableCaller) IsApprovedForAll(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -2744,7 +2704,6 @@ func (_ERC721Mintable *ERC721MintableCallerSession) IsApprovedForAll(owner commo func (_ERC721Mintable *ERC721MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -2752,7 +2711,6 @@ func (_ERC721Mintable *ERC721MintableCaller) IsMinter(opts *bind.CallOpts, accou out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -2775,7 +2733,6 @@ func (_ERC721Mintable *ERC721MintableCallerSession) IsMinter(account common.Addr func (_ERC721Mintable *ERC721MintableCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -2783,7 +2740,6 @@ func (_ERC721Mintable *ERC721MintableCaller) OwnerOf(opts *bind.CallOpts, tokenI out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -2806,7 +2762,6 @@ func (_ERC721Mintable *ERC721MintableCallerSession) OwnerOf(tokenId *big.Int) (c func (_ERC721Mintable *ERC721MintableCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721Mintable.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -2814,7 +2769,6 @@ func (_ERC721Mintable *ERC721MintableCaller) SupportsInterface(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -3078,7 +3032,6 @@ type ERC721MintableApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Mintable *ERC721MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721MintableApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3103,7 +3056,6 @@ func (_ERC721Mintable *ERC721MintableFilterer) FilterApproval(opts *bind.FilterO // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721Mintable *ERC721MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721MintableApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3239,7 +3191,6 @@ type ERC721MintableApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Mintable *ERC721MintableFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721MintableApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3260,7 +3211,6 @@ func (_ERC721Mintable *ERC721MintableFilterer) FilterApprovalForAll(opts *bind.F // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721Mintable *ERC721MintableFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721MintableApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -3390,7 +3340,6 @@ type ERC721MintableMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ERC721Mintable *ERC721MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC721MintableMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -3407,7 +3356,6 @@ func (_ERC721Mintable *ERC721MintableFilterer) FilterMinterAdded(opts *bind.Filt // // Solidity: event MinterAdded(address indexed account) func (_ERC721Mintable *ERC721MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC721MintableMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -3533,7 +3481,6 @@ type ERC721MintableMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ERC721Mintable *ERC721MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC721MintableMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -3550,7 +3497,6 @@ func (_ERC721Mintable *ERC721MintableFilterer) FilterMinterRemoved(opts *bind.Fi // // Solidity: event MinterRemoved(address indexed account) func (_ERC721Mintable *ERC721MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC721MintableMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -3678,7 +3624,6 @@ type ERC721MintableTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Mintable *ERC721MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721MintableTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3703,7 +3648,6 @@ func (_ERC721Mintable *ERC721MintableFilterer) FilterTransfer(opts *bind.FilterO // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721Mintable *ERC721MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721MintableTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -3943,7 +3887,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainTransactorRaw) Transact(opts *bind. func (_ERC721ServiceChain *ERC721ServiceChainCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -3951,7 +3894,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) BalanceOf(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -3974,7 +3916,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) BalanceOf(owner comm func (_ERC721ServiceChain *ERC721ServiceChainCaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -3982,7 +3923,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) Bridge(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -4005,7 +3945,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) Bridge() (common.Add func (_ERC721ServiceChain *ERC721ServiceChainCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -4013,7 +3952,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) GetApproved(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -4036,7 +3974,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) GetApproved(tokenId func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -4044,7 +3981,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsApprovedForAll(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -4067,7 +4003,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) IsApprovedForAll(own func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -4075,7 +4010,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) IsOwner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -4098,7 +4032,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) IsOwner() (bool, err func (_ERC721ServiceChain *ERC721ServiceChainCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -4106,7 +4039,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) Owner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -4129,7 +4061,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) Owner() (common.Addr func (_ERC721ServiceChain *ERC721ServiceChainCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -4137,7 +4068,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) OwnerOf(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -4160,7 +4090,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCallerSession) OwnerOf(tokenId *big func (_ERC721ServiceChain *ERC721ServiceChainCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ERC721ServiceChain.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -4168,7 +4097,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainCaller) SupportsInterface(opts *bin out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -4453,7 +4381,6 @@ type ERC721ServiceChainApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ServiceChainApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4478,7 +4405,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApproval(opts *bind // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4614,7 +4540,6 @@ type ERC721ServiceChainApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ServiceChainApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4635,7 +4560,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterApprovalForAll(opts // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -4766,7 +4690,6 @@ type ERC721ServiceChainOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721ServiceChainOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4787,7 +4710,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterOwnershipTransferre // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -4919,7 +4841,6 @@ type ERC721ServiceChainTransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721ServiceChainTransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -4944,7 +4865,6 @@ func (_ERC721ServiceChain *ERC721ServiceChainFilterer) FilterTransfer(opts *bind // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ERC721ServiceChain *ERC721ServiceChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721ServiceChainTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -5168,7 +5088,6 @@ func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC165.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -5176,7 +5095,6 @@ func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -5369,7 +5287,6 @@ func (_IERC721 *IERC721TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -5377,7 +5294,6 @@ func (_IERC721 *IERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Addre out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -5400,7 +5316,6 @@ func (_IERC721 *IERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -5408,7 +5323,6 @@ func (_IERC721 *IERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -5431,7 +5345,6 @@ func (_IERC721 *IERC721CallerSession) GetApproved(tokenId *big.Int) (common.Addr func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -5439,7 +5352,6 @@ func (_IERC721 *IERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -5462,7 +5374,6 @@ func (_IERC721 *IERC721CallerSession) IsApprovedForAll(owner common.Address, ope func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -5470,7 +5381,6 @@ func (_IERC721 *IERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -5493,7 +5403,6 @@ func (_IERC721 *IERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _IERC721.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -5501,7 +5410,6 @@ func (_IERC721 *IERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceI out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -5702,7 +5610,6 @@ type IERC721Approval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*IERC721ApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5727,7 +5634,6 @@ func (_IERC721 *IERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []c // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5863,7 +5769,6 @@ type IERC721ApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*IERC721ApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -5884,7 +5789,6 @@ func (_IERC721 *IERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, own // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_IERC721 *IERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -6016,7 +5920,6 @@ type IERC721Transfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*IERC721TransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -6041,7 +5944,6 @@ func (_IERC721 *IERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []co // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_IERC721 *IERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -6631,7 +6533,6 @@ func (_MinterRole *MinterRoleTransactorRaw) Transact(opts *bind.TransactOpts, me func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _MinterRole.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -6639,7 +6540,6 @@ func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account commo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -6775,7 +6675,6 @@ type MinterRoleMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6792,7 +6691,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, // // Solidity: event MinterAdded(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6918,7 +6816,6 @@ type MinterRoleMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -6935,7 +6832,6 @@ func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts // // Solidity: event MinterRemoved(address indexed account) func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -7154,7 +7050,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -7162,7 +7057,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -7185,7 +7079,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -7193,7 +7086,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -7330,7 +7222,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7351,7 +7242,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7967,7 +7857,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURITransactorRaw) Transact(opts *b func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "balanceOf", owner) - if err != nil { return *new(*big.Int), err } @@ -7975,7 +7864,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) BalanceOf(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // BalanceOf is a free data retrieval call binding the contract method 0x70a08231. @@ -7998,7 +7886,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) BalanceOf(owner func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) Bridge(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "bridge") - if err != nil { return *new(common.Address), err } @@ -8006,7 +7893,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) Bridge(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Bridge is a free data retrieval call binding the contract method 0xe78cea92. @@ -8029,7 +7915,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) Bridge() (common func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "getApproved", tokenId) - if err != nil { return *new(common.Address), err } @@ -8037,7 +7922,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) GetApproved(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetApproved is a free data retrieval call binding the contract method 0x081812fc. @@ -8060,7 +7944,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) GetApproved(toke func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "isApprovedForAll", owner, operator) - if err != nil { return *new(bool), err } @@ -8068,7 +7951,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsApprovedForAll(opts * out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5. @@ -8091,7 +7973,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) IsApprovedForAll func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "isMinter", account) - if err != nil { return *new(bool), err } @@ -8099,7 +7980,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsMinter(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsMinter is a free data retrieval call binding the contract method 0xaa271e1a. @@ -8122,7 +8002,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) IsMinter(account func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -8130,7 +8009,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) IsOwner(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -8153,7 +8031,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) IsOwner() (bool, func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -8161,7 +8038,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) Owner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -8184,7 +8060,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) Owner() (common. func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "ownerOf", tokenId) - if err != nil { return *new(common.Address), err } @@ -8192,7 +8067,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) OwnerOf(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // OwnerOf is a free data retrieval call binding the contract method 0x6352211e. @@ -8215,7 +8089,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICallerSession) OwnerOf(tokenId func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) { var out []interface{} err := _ServiceChainNFTNoURI.contract.Call(opts, &out, "supportsInterface", interfaceId) - if err != nil { return *new(bool), err } @@ -8223,7 +8096,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURICaller) SupportsInterface(opts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7. @@ -8613,7 +8485,6 @@ type ServiceChainNFTNoURIApproval struct { // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ServiceChainNFTNoURIApprovalIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8638,7 +8509,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterApproval(opts * // // Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURIApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8774,7 +8644,6 @@ type ServiceChainNFTNoURIApprovalForAll struct { // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ServiceChainNFTNoURIApprovalForAllIterator, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8795,7 +8664,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterApprovalForAll( // // Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURIApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error) { - var ownerRule []interface{} for _, ownerItem := range owner { ownerRule = append(ownerRule, ownerItem) @@ -8925,7 +8793,6 @@ type ServiceChainNFTNoURIMinterAdded struct { // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ServiceChainNFTNoURIMinterAddedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -8942,7 +8809,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterMinterAdded(opt // // Solidity: event MinterAdded(address indexed account) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURIMinterAdded, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -9068,7 +8934,6 @@ type ServiceChainNFTNoURIMinterRemoved struct { // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ServiceChainNFTNoURIMinterRemovedIterator, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -9085,7 +8950,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterMinterRemoved(o // // Solidity: event MinterRemoved(address indexed account) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURIMinterRemoved, account []common.Address) (event.Subscription, error) { - var accountRule []interface{} for _, accountItem := range account { accountRule = append(accountRule, accountItem) @@ -9212,7 +9076,6 @@ type ServiceChainNFTNoURIOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ServiceChainNFTNoURIOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -9233,7 +9096,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterOwnershipTransf // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURIOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -9365,7 +9227,6 @@ type ServiceChainNFTNoURITransfer struct { // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ServiceChainNFTNoURITransferIterator, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) @@ -9390,7 +9251,6 @@ func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) FilterTransfer(opts * // // Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId) func (_ServiceChainNFTNoURI *ServiceChainNFTNoURIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ServiceChainNFTNoURITransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error) { - var fromRule []interface{} for _, fromItem := range from { fromRule = append(fromRule, fromItem) diff --git a/contracts/contracts/testing/system_contracts/all.go b/contracts/contracts/testing/system_contracts/all.go index 42eb5a3518..95bf2740a2 100644 --- a/contracts/contracts/testing/system_contracts/all.go +++ b/contracts/contracts/testing/system_contracts/all.go @@ -448,7 +448,6 @@ type ContextUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error) { - logs, sub, err := _ContextUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -460,7 +459,6 @@ func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *b // // Solidity: event Initialized(uint8 version) func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _ContextUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -736,7 +734,6 @@ type ERC1967UpgradeUpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967UpgradeUpgradeableAdminChangedIterator, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -748,7 +745,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterAdmin // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -869,7 +865,6 @@ type ERC1967UpgradeUpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967UpgradeUpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -886,7 +881,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterBeaco // // Solidity: event BeaconUpgraded(address indexed beacon) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -1012,7 +1006,6 @@ type ERC1967UpgradeUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC1967UpgradeUpgradeableInitializedIterator, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -1024,7 +1017,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterIniti // // Solidity: event Initialized(uint8 version) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _ERC1967UpgradeUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -1145,7 +1137,6 @@ type ERC1967UpgradeUpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967UpgradeUpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1162,7 +1153,6 @@ func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) FilterUpgra // // Solidity: event Upgraded(address indexed implementation) func (_ERC1967UpgradeUpgradeable *ERC1967UpgradeUpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UpgradeUpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -1402,7 +1392,8 @@ func (_IAddressBook *IAddressBookTransactorRaw) Transact(opts *bind.TransactOpts func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getAllAddress") @@ -1414,7 +1405,6 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (str outstruct.TypeList = *abi.ConvertType(out[0], new([]uint8)).(*[]uint8) outstruct.AddressList = *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return *outstruct, err - } // GetAllAddress is a free data retrieval call binding the contract method 0x715b208b. @@ -1423,7 +1413,8 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddress(opts *bind.CallOpts) (str func (_IAddressBook *IAddressBookSession) GetAllAddress() (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddress(&_IAddressBook.CallOpts) } @@ -1433,7 +1424,8 @@ func (_IAddressBook *IAddressBookSession) GetAllAddress() (struct { func (_IAddressBook *IAddressBookCallerSession) GetAllAddress() (struct { TypeList []uint8 AddressList []common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddress(&_IAddressBook.CallOpts) } @@ -1446,7 +1438,8 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getAllAddressInfo") @@ -1464,7 +1457,6 @@ func (_IAddressBook *IAddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) outstruct.PocContractAddress = *abi.ConvertType(out[3], new(common.Address)).(*common.Address) outstruct.KirContractAddress = *abi.ConvertType(out[4], new(common.Address)).(*common.Address) return *outstruct, err - } // GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8. @@ -1476,7 +1468,8 @@ func (_IAddressBook *IAddressBookSession) GetAllAddressInfo() (struct { CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddressInfo(&_IAddressBook.CallOpts) } @@ -1489,7 +1482,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetAllAddressInfo() (struct { CnRewardAddressList []common.Address PocContractAddress common.Address KirContractAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetAllAddressInfo(&_IAddressBook.CallOpts) } @@ -1500,7 +1494,8 @@ func (_IAddressBook *IAddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeI CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getCnInfo", _cnNodeId) @@ -1514,7 +1509,6 @@ func (_IAddressBook *IAddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeI outstruct.CnStakingcontract = *abi.ConvertType(out[1], new(common.Address)).(*common.Address) outstruct.CnRewardAddress = *abi.ConvertType(out[2], new(common.Address)).(*common.Address) return *outstruct, err - } // GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a. @@ -1524,7 +1518,8 @@ func (_IAddressBook *IAddressBookSession) GetCnInfo(_cnNodeId common.Address) (s CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetCnInfo(&_IAddressBook.CallOpts, _cnNodeId) } @@ -1535,7 +1530,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetCnInfo(_cnNodeId common.Addre CnNodeId common.Address CnStakingcontract common.Address CnRewardAddress common.Address -}, error) { +}, error, +) { return _IAddressBook.Contract.GetCnInfo(&_IAddressBook.CallOpts, _cnNodeId) } @@ -1545,7 +1541,6 @@ func (_IAddressBook *IAddressBookCallerSession) GetCnInfo(_cnNodeId common.Addre func (_IAddressBook *IAddressBookCaller) GetPendingRequestList(opts *bind.CallOpts) ([][32]byte, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getPendingRequestList") - if err != nil { return *new([][32]byte), err } @@ -1553,7 +1548,6 @@ func (_IAddressBook *IAddressBookCaller) GetPendingRequestList(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new([][32]byte)).(*[][32]byte) return out0, err - } // GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd. @@ -1581,7 +1575,8 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getRequestInfo", _id) @@ -1603,7 +1598,6 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id outstruct.InitialProposedTime = *abi.ConvertType(out[5], new(*big.Int)).(**big.Int) outstruct.State = *abi.ConvertType(out[6], new(uint8)).(*uint8) return *outstruct, err - } // GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a. @@ -1617,7 +1611,8 @@ func (_IAddressBook *IAddressBookSession) GetRequestInfo(_id [32]byte) (struct { Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfo(&_IAddressBook.CallOpts, _id) } @@ -1632,7 +1627,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfo(_id [32]byte) (st Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfo(&_IAddressBook.CallOpts, _id) } @@ -1644,7 +1640,8 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpt Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getRequestInfoByArgs", _functionId, _firstArg, _secondArg, _thirdArg) @@ -1660,7 +1657,6 @@ func (_IAddressBook *IAddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpt outstruct.InitialProposedTime = *abi.ConvertType(out[2], new(*big.Int)).(**big.Int) outstruct.State = *abi.ConvertType(out[3], new(uint8)).(*uint8) return *outstruct, err - } // GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb. @@ -1671,7 +1667,8 @@ func (_IAddressBook *IAddressBookSession) GetRequestInfoByArgs(_functionId uint8 Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfoByArgs(&_IAddressBook.CallOpts, _functionId, _firstArg, _secondArg, _thirdArg) } @@ -1683,7 +1680,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfoByArgs(_functionId Confirmers []common.Address InitialProposedTime *big.Int State uint8 -}, error) { +}, error, +) { return _IAddressBook.Contract.GetRequestInfoByArgs(&_IAddressBook.CallOpts, _functionId, _firstArg, _secondArg, _thirdArg) } @@ -1693,7 +1691,8 @@ func (_IAddressBook *IAddressBookCallerSession) GetRequestInfoByArgs(_functionId func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "getState") @@ -1705,7 +1704,6 @@ func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Requirement = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -1714,7 +1712,8 @@ func (_IAddressBook *IAddressBookCaller) GetState(opts *bind.CallOpts) (struct { func (_IAddressBook *IAddressBookSession) GetState() (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { return _IAddressBook.Contract.GetState(&_IAddressBook.CallOpts) } @@ -1724,7 +1723,8 @@ func (_IAddressBook *IAddressBookSession) GetState() (struct { func (_IAddressBook *IAddressBookCallerSession) GetState() (struct { AdminList []common.Address Requirement *big.Int -}, error) { +}, error, +) { return _IAddressBook.Contract.GetState(&_IAddressBook.CallOpts) } @@ -1734,7 +1734,6 @@ func (_IAddressBook *IAddressBookCallerSession) GetState() (struct { func (_IAddressBook *IAddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "isActivated") - if err != nil { return *new(bool), err } @@ -1742,7 +1741,6 @@ func (_IAddressBook *IAddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4. @@ -1765,7 +1763,6 @@ func (_IAddressBook *IAddressBookCallerSession) IsActivated() (bool, error) { func (_IAddressBook *IAddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "isConstructed") - if err != nil { return *new(bool), err } @@ -1773,7 +1770,6 @@ func (_IAddressBook *IAddressBookCaller) IsConstructed(opts *bind.CallOpts) (boo out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69. @@ -1796,7 +1792,6 @@ func (_IAddressBook *IAddressBookCallerSession) IsConstructed() (bool, error) { func (_IAddressBook *IAddressBookCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "kirContractAddress") - if err != nil { return *new(common.Address), err } @@ -1804,7 +1799,6 @@ func (_IAddressBook *IAddressBookCaller) KirContractAddress(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95. @@ -1827,7 +1821,6 @@ func (_IAddressBook *IAddressBookCallerSession) KirContractAddress() (common.Add func (_IAddressBook *IAddressBookCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "pocContractAddress") - if err != nil { return *new(common.Address), err } @@ -1835,7 +1828,6 @@ func (_IAddressBook *IAddressBookCaller) PocContractAddress(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5. @@ -1858,7 +1850,6 @@ func (_IAddressBook *IAddressBookCallerSession) PocContractAddress() (common.Add func (_IAddressBook *IAddressBookCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IAddressBook.contract.Call(opts, &out, "spareContractAddress") - if err != nil { return *new(common.Address), err } @@ -1866,7 +1857,6 @@ func (_IAddressBook *IAddressBookCaller) SpareContractAddress(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d. @@ -2323,7 +2313,6 @@ func (_IBeaconUpgradeable *IBeaconUpgradeableTransactorRaw) Transact(opts *bind. func (_IBeaconUpgradeable *IBeaconUpgradeableCaller) Implementation(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IBeaconUpgradeable.contract.Call(opts, &out, "implementation") - if err != nil { return *new(common.Address), err } @@ -2331,7 +2320,6 @@ func (_IBeaconUpgradeable *IBeaconUpgradeableCaller) Implementation(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Implementation is a free data retrieval call binding the contract method 0x5c60da1b. @@ -2515,7 +2503,6 @@ func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableTransactorRaw) func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _IERC1822ProxiableUpgradeable.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -2523,7 +2510,6 @@ func (_IERC1822ProxiableUpgradeable *IERC1822ProxiableUpgradeableCaller) Proxiab out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -2772,7 +2758,6 @@ type IERC1967UpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*IERC1967UpgradeableAdminChangedIterator, error) { - logs, sub, err := _IERC1967Upgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2784,7 +2769,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterAdminChanged(opts // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _IERC1967Upgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -2905,7 +2889,6 @@ type IERC1967UpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*IERC1967UpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -2922,7 +2905,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterBeaconUpgraded(op // // Solidity: event BeaconUpgraded(address indexed beacon) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -3048,7 +3030,6 @@ type IERC1967UpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*IERC1967UpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -3065,7 +3046,6 @@ func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) FilterUpgraded(opts *bi // // Solidity: event Upgraded(address indexed implementation) func (_IERC1967Upgradeable *IERC1967UpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *IERC1967UpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -3281,7 +3261,8 @@ func (_IKIP113 *IKIP113TransactorRaw) Transact(opts *bind.TransactOpts, method s func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { var out []interface{} err := _IKIP113.contract.Call(opts, &out, "getAllBlsInfo") @@ -3293,7 +3274,6 @@ func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { outstruct.NodeIdList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.PubkeyList = *abi.ConvertType(out[1], new([]IKIP113BlsPublicKeyInfo)).(*[]IKIP113BlsPublicKeyInfo) return *outstruct, err - } // GetAllBlsInfo is a free data retrieval call binding the contract method 0x6968b53f. @@ -3302,7 +3282,8 @@ func (_IKIP113 *IKIP113Caller) GetAllBlsInfo(opts *bind.CallOpts) (struct { func (_IKIP113 *IKIP113Session) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _IKIP113.Contract.GetAllBlsInfo(&_IKIP113.CallOpts) } @@ -3312,7 +3293,8 @@ func (_IKIP113 *IKIP113Session) GetAllBlsInfo() (struct { func (_IKIP113 *IKIP113CallerSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _IKIP113.Contract.GetAllBlsInfo(&_IKIP113.CallOpts) } @@ -3490,7 +3472,6 @@ func (_IRegistry *IRegistryTransactorRaw) Transact(opts *bind.TransactOpts, meth func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "getAllNames") - if err != nil { return *new([]string), err } @@ -3498,7 +3479,6 @@ func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, e out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f. @@ -3521,7 +3501,6 @@ func (_IRegistry *IRegistryCallerSession) GetAllNames() ([]string, error) { func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "getAllRecords", name) - if err != nil { return *new([]IRegistryRecord), err } @@ -3529,7 +3508,6 @@ func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name strin out0 := *abi.ConvertType(out[0], new([]IRegistryRecord)).(*[]IRegistryRecord) return out0, err - } // GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2. @@ -3552,7 +3530,6 @@ func (_IRegistry *IRegistryCallerSession) GetAllRecords(name string) ([]IRegistr func (_IRegistry *IRegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "names", arg0) - if err != nil { return *new(string), err } @@ -3560,7 +3537,6 @@ func (_IRegistry *IRegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (st out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Names is a free data retrieval call binding the contract method 0x4622ab03. @@ -3583,7 +3559,6 @@ func (_IRegistry *IRegistryCallerSession) Names(arg0 *big.Int) (string, error) { func (_IRegistry *IRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -3591,7 +3566,6 @@ func (_IRegistry *IRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, e out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -3614,7 +3588,8 @@ func (_IRegistry *IRegistryCallerSession) Owner() (common.Address, error) { func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IRegistry.contract.Call(opts, &out, "records", arg0, arg1) @@ -3626,7 +3601,6 @@ func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Activation = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Records is a free data retrieval call binding the contract method 0x3b51650d. @@ -3635,7 +3609,8 @@ func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _IRegistry.Contract.Records(&_IRegistry.CallOpts, arg0, arg1) } @@ -3645,7 +3620,8 @@ func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct func (_IRegistry *IRegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _IRegistry.Contract.Records(&_IRegistry.CallOpts, arg0, arg1) } @@ -3790,7 +3766,6 @@ type IRegistryOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IRegistryOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -3811,7 +3786,6 @@ func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.Filte // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_IRegistry *IRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -3943,7 +3917,6 @@ type IRegistryRegistered struct { // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*IRegistryRegisteredIterator, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -3964,7 +3937,6 @@ func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, add // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_IRegistry *IRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *IRegistryRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -4184,7 +4156,8 @@ func (_IRetiredContract *IRetiredContractTransactorRaw) Transact(opts *bind.Tran func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IRetiredContract.contract.Call(opts, &out, "getState") @@ -4196,7 +4169,6 @@ func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) ( outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Quorom = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -4205,7 +4177,8 @@ func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) ( func (_IRetiredContract *IRetiredContractSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IRetiredContract.Contract.GetState(&_IRetiredContract.CallOpts) } @@ -4215,7 +4188,8 @@ func (_IRetiredContract *IRetiredContractSession) GetState() (struct { func (_IRetiredContract *IRetiredContractCallerSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IRetiredContract.Contract.GetState(&_IRetiredContract.CallOpts) } @@ -4404,13 +4378,11 @@ func (_ITreasuryRebalance *ITreasuryRebalanceTransactorRaw) Transact(opts *bind. func (_ITreasuryRebalance *ITreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "checkRetiredsApproved") - if err != nil { return err } return err - } // CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794. @@ -4433,7 +4405,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) CheckRetiredsApprove func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, newbieAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getNewbie", newbieAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -4442,7 +4413,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOp out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55. @@ -4465,7 +4435,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbie(newbieAddr func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getNewbieCount") - if err != nil { return *new(*big.Int), err } @@ -4473,7 +4442,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.C out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86. @@ -4496,7 +4464,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbieCount() (*b func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, retiredAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getRetired", retiredAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -4505,7 +4472,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallO out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetRetired is a free data retrieval call binding the contract method 0xbf680590. @@ -4528,7 +4494,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetired(retiredAd func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getRetiredCount") - if err != nil { return *new(*big.Int), err } @@ -4536,7 +4501,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc. @@ -4559,7 +4523,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetiredCount() (* func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -4567,7 +4530,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -4590,7 +4552,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetTreasuryAmount() func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -4598,7 +4559,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -4621,7 +4581,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Memo() (string, erro func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -4629,7 +4588,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -4652,7 +4610,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) RebalanceBlockNumber func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -4660,7 +4617,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -4683,7 +4639,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Status() (uint8, err func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _ITreasuryRebalance.contract.Call(opts, &out, "sumOfRetiredBalance") - if err != nil { return *new(*big.Int), err } @@ -4691,7 +4646,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b. @@ -4976,7 +4930,6 @@ type ITreasuryRebalanceApproved struct { // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*ITreasuryRebalanceApprovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -4988,7 +4941,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceApproved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -5111,7 +5063,6 @@ type ITreasuryRebalanceContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*ITreasuryRebalanceContractDeployedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -5123,7 +5074,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(op // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceContractDeployed) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -5245,7 +5195,6 @@ type ITreasuryRebalanceFinalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*ITreasuryRebalanceFinalizedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -5257,7 +5206,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bin // // Solidity: event Finalized(string memo, uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceFinalized) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -5379,7 +5327,6 @@ type ITreasuryRebalanceNewbieRegistered struct { // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRegisteredIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -5391,7 +5338,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(op // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRegistered) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -5512,7 +5458,6 @@ type ITreasuryRebalanceNewbieRemoved struct { // // Solidity: event NewbieRemoved(address newbie) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRemovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -5524,7 +5469,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts // // Solidity: event NewbieRemoved(address newbie) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRemoved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -5645,7 +5589,6 @@ type ITreasuryRebalanceRetiredRegistered struct { // // Solidity: event RetiredRegistered(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRegisteredIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -5657,7 +5600,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(o // // Solidity: event RetiredRegistered(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRegistered) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -5778,7 +5720,6 @@ type ITreasuryRebalanceRetiredRemoved struct { // // Solidity: event RetiredRemoved(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRemovedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -5790,7 +5731,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts // // Solidity: event RetiredRemoved(address retired) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRemoved) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -5911,7 +5851,6 @@ type ITreasuryRebalanceStatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*ITreasuryRebalanceStatusChangedIterator, error) { - logs, sub, err := _ITreasuryRebalance.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -5923,7 +5862,6 @@ func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts // // Solidity: event StatusChanged(uint8 status) func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceStatusChanged) (event.Subscription, error) { - logs, sub, err := _ITreasuryRebalance.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -6134,7 +6072,8 @@ func (_IZeroedContract *IZeroedContractTransactorRaw) Transact(opts *bind.Transa func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { var out []interface{} err := _IZeroedContract.contract.Call(opts, &out, "getState") @@ -6146,7 +6085,6 @@ func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (st outstruct.AdminList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.Quorom = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // GetState is a free data retrieval call binding the contract method 0x1865c57d. @@ -6155,7 +6093,8 @@ func (_IZeroedContract *IZeroedContractCaller) GetState(opts *bind.CallOpts) (st func (_IZeroedContract *IZeroedContractSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IZeroedContract.Contract.GetState(&_IZeroedContract.CallOpts) } @@ -6165,7 +6104,8 @@ func (_IZeroedContract *IZeroedContractSession) GetState() (struct { func (_IZeroedContract *IZeroedContractCallerSession) GetState() (struct { AdminList []common.Address Quorom *big.Int -}, error) { +}, error, +) { return _IZeroedContract.Contract.GetState(&_IZeroedContract.CallOpts) } @@ -6400,7 +6340,6 @@ type InitializableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error) { - logs, sub, err := _Initializable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -6412,7 +6351,6 @@ func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.Filter // // Solidity: event Initialized(uint8 version) func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error) { - logs, sub, err := _Initializable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -6659,7 +6597,6 @@ func (_KIP113Mock *KIP113MockTransactorRaw) Transact(opts *bind.TransactOpts, me func (_KIP113Mock *KIP113MockCaller) ZERO48HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "ZERO48HASH") - if err != nil { return *new([32]byte), err } @@ -6667,7 +6604,6 @@ func (_KIP113Mock *KIP113MockCaller) ZERO48HASH(opts *bind.CallOpts) ([32]byte, out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO48HASH is a free data retrieval call binding the contract method 0x6fc522c6. @@ -6690,7 +6626,6 @@ func (_KIP113Mock *KIP113MockCallerSession) ZERO48HASH() ([32]byte, error) { func (_KIP113Mock *KIP113MockCaller) ZERO96HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "ZERO96HASH") - if err != nil { return *new([32]byte), err } @@ -6698,7 +6633,6 @@ func (_KIP113Mock *KIP113MockCaller) ZERO96HASH(opts *bind.CallOpts) ([32]byte, out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO96HASH is a free data retrieval call binding the contract method 0x20abd458. @@ -6721,7 +6655,6 @@ func (_KIP113Mock *KIP113MockCallerSession) ZERO96HASH() ([32]byte, error) { func (_KIP113Mock *KIP113MockCaller) Abook(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "abook") - if err != nil { return *new(common.Address), err } @@ -6729,7 +6662,6 @@ func (_KIP113Mock *KIP113MockCaller) Abook(opts *bind.CallOpts) (common.Address, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Abook is a free data retrieval call binding the contract method 0x829d639d. @@ -6752,7 +6684,6 @@ func (_KIP113Mock *KIP113MockCallerSession) Abook() (common.Address, error) { func (_KIP113Mock *KIP113MockCaller) AllNodeIds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "allNodeIds", arg0) - if err != nil { return *new(common.Address), err } @@ -6760,7 +6691,6 @@ func (_KIP113Mock *KIP113MockCaller) AllNodeIds(opts *bind.CallOpts, arg0 *big.I out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AllNodeIds is a free data retrieval call binding the contract method 0xa5834971. @@ -6783,7 +6713,8 @@ func (_KIP113Mock *KIP113MockCallerSession) AllNodeIds(arg0 *big.Int) (common.Ad func (_KIP113Mock *KIP113MockCaller) GetAllBlsInfo(opts *bind.CallOpts) (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "getAllBlsInfo") @@ -6795,7 +6726,6 @@ func (_KIP113Mock *KIP113MockCaller) GetAllBlsInfo(opts *bind.CallOpts) (struct outstruct.NodeIdList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.PubkeyList = *abi.ConvertType(out[1], new([]IKIP113BlsPublicKeyInfo)).(*[]IKIP113BlsPublicKeyInfo) return *outstruct, err - } // GetAllBlsInfo is a free data retrieval call binding the contract method 0x6968b53f. @@ -6804,7 +6734,8 @@ func (_KIP113Mock *KIP113MockCaller) GetAllBlsInfo(opts *bind.CallOpts) (struct func (_KIP113Mock *KIP113MockSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _KIP113Mock.Contract.GetAllBlsInfo(&_KIP113Mock.CallOpts) } @@ -6814,7 +6745,8 @@ func (_KIP113Mock *KIP113MockSession) GetAllBlsInfo() (struct { func (_KIP113Mock *KIP113MockCallerSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _KIP113Mock.Contract.GetAllBlsInfo(&_KIP113Mock.CallOpts) } @@ -6824,7 +6756,6 @@ func (_KIP113Mock *KIP113MockCallerSession) GetAllBlsInfo() (struct { func (_KIP113Mock *KIP113MockCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -6832,7 +6763,6 @@ func (_KIP113Mock *KIP113MockCaller) Owner(opts *bind.CallOpts) (common.Address, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -6855,7 +6785,6 @@ func (_KIP113Mock *KIP113MockCallerSession) Owner() (common.Address, error) { func (_KIP113Mock *KIP113MockCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -6863,7 +6792,6 @@ func (_KIP113Mock *KIP113MockCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byt out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -6886,7 +6814,8 @@ func (_KIP113Mock *KIP113MockCallerSession) ProxiableUUID() ([32]byte, error) { func (_KIP113Mock *KIP113MockCaller) Record(opts *bind.CallOpts, arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { var out []interface{} err := _KIP113Mock.contract.Call(opts, &out, "record", arg0) @@ -6898,7 +6827,6 @@ func (_KIP113Mock *KIP113MockCaller) Record(opts *bind.CallOpts, arg0 common.Add outstruct.PublicKey = *abi.ConvertType(out[0], new([]byte)).(*[]byte) outstruct.Pop = *abi.ConvertType(out[1], new([]byte)).(*[]byte) return *outstruct, err - } // Record is a free data retrieval call binding the contract method 0x3465d6d5. @@ -6907,7 +6835,8 @@ func (_KIP113Mock *KIP113MockCaller) Record(opts *bind.CallOpts, arg0 common.Add func (_KIP113Mock *KIP113MockSession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _KIP113Mock.Contract.Record(&_KIP113Mock.CallOpts, arg0) } @@ -6917,7 +6846,8 @@ func (_KIP113Mock *KIP113MockSession) Record(arg0 common.Address) (struct { func (_KIP113Mock *KIP113MockCallerSession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _KIP113Mock.Contract.Record(&_KIP113Mock.CallOpts, arg0) } @@ -7146,7 +7076,6 @@ type KIP113MockAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_KIP113Mock *KIP113MockFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*KIP113MockAdminChangedIterator, error) { - logs, sub, err := _KIP113Mock.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -7158,7 +7087,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterAdminChanged(opts *bind.FilterOpts) // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_KIP113Mock *KIP113MockFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *KIP113MockAdminChanged) (event.Subscription, error) { - logs, sub, err := _KIP113Mock.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -7279,7 +7207,6 @@ type KIP113MockBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_KIP113Mock *KIP113MockFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*KIP113MockBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -7296,7 +7223,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterBeaconUpgraded(opts *bind.FilterOpt // // Solidity: event BeaconUpgraded(address indexed beacon) func (_KIP113Mock *KIP113MockFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *KIP113MockBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -7422,7 +7348,6 @@ type KIP113MockInitialized struct { // // Solidity: event Initialized(uint8 version) func (_KIP113Mock *KIP113MockFilterer) FilterInitialized(opts *bind.FilterOpts) (*KIP113MockInitializedIterator, error) { - logs, sub, err := _KIP113Mock.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -7434,7 +7359,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterInitialized(opts *bind.FilterOpts) // // Solidity: event Initialized(uint8 version) func (_KIP113Mock *KIP113MockFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *KIP113MockInitialized) (event.Subscription, error) { - logs, sub, err := _KIP113Mock.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -7556,7 +7480,6 @@ type KIP113MockOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_KIP113Mock *KIP113MockFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*KIP113MockOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7577,7 +7500,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterOwnershipTransferred(opts *bind.Fil // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_KIP113Mock *KIP113MockFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *KIP113MockOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -7709,7 +7631,6 @@ type KIP113MockRegistered struct { // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_KIP113Mock *KIP113MockFilterer) FilterRegistered(opts *bind.FilterOpts) (*KIP113MockRegisteredIterator, error) { - logs, sub, err := _KIP113Mock.contract.FilterLogs(opts, "Registered") if err != nil { return nil, err @@ -7721,7 +7642,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterRegistered(opts *bind.FilterOpts) ( // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_KIP113Mock *KIP113MockFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *KIP113MockRegistered) (event.Subscription, error) { - logs, sub, err := _KIP113Mock.contract.WatchLogs(opts, "Registered") if err != nil { return nil, err @@ -7844,7 +7764,6 @@ type KIP113MockUnregistered struct { // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_KIP113Mock *KIP113MockFilterer) FilterUnregistered(opts *bind.FilterOpts) (*KIP113MockUnregisteredIterator, error) { - logs, sub, err := _KIP113Mock.contract.FilterLogs(opts, "Unregistered") if err != nil { return nil, err @@ -7856,7 +7775,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterUnregistered(opts *bind.FilterOpts) // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_KIP113Mock *KIP113MockFilterer) WatchUnregistered(opts *bind.WatchOpts, sink chan<- *KIP113MockUnregistered) (event.Subscription, error) { - logs, sub, err := _KIP113Mock.contract.WatchLogs(opts, "Unregistered") if err != nil { return nil, err @@ -7977,7 +7895,6 @@ type KIP113MockUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_KIP113Mock *KIP113MockFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*KIP113MockUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -7994,7 +7911,6 @@ func (_KIP113Mock *KIP113MockFilterer) FilterUpgraded(opts *bind.FilterOpts, imp // // Solidity: event Upgraded(address indexed implementation) func (_KIP113Mock *KIP113MockFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *KIP113MockUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -8235,7 +8151,6 @@ func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method s func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -8243,7 +8158,6 @@ func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error) { out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -8266,7 +8180,6 @@ func (_Ownable *OwnableCallerSession) IsOwner() (bool, error) { func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _Ownable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -8274,7 +8187,6 @@ func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -8411,7 +8323,6 @@ type OwnableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8432,7 +8343,6 @@ func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpt // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8654,7 +8564,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) Transact(opts *bind. func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _OwnableUpgradeable.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -8662,7 +8571,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -8798,7 +8706,6 @@ type OwnableUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error) { - logs, sub, err := _OwnableUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -8810,7 +8717,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *b // // Solidity: event Initialized(uint8 version) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _OwnableUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -8932,7 +8838,6 @@ type OwnableUpgradeableOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -8953,7 +8858,6 @@ func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferre // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -9202,7 +9106,6 @@ func (_RegistryMock *RegistryMockTransactorRaw) Transact(opts *bind.TransactOpts func (_RegistryMock *RegistryMockCaller) GetActiveAddr(opts *bind.CallOpts, name string) (common.Address, error) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "getActiveAddr", name) - if err != nil { return *new(common.Address), err } @@ -9210,7 +9113,6 @@ func (_RegistryMock *RegistryMockCaller) GetActiveAddr(opts *bind.CallOpts, name out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // GetActiveAddr is a free data retrieval call binding the contract method 0xe2693e3f. @@ -9233,7 +9135,6 @@ func (_RegistryMock *RegistryMockCallerSession) GetActiveAddr(name string) (comm func (_RegistryMock *RegistryMockCaller) GetAllNames(opts *bind.CallOpts) ([]string, error) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "getAllNames") - if err != nil { return *new([]string), err } @@ -9241,7 +9142,6 @@ func (_RegistryMock *RegistryMockCaller) GetAllNames(opts *bind.CallOpts) ([]str out0 := *abi.ConvertType(out[0], new([]string)).(*[]string) return out0, err - } // GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f. @@ -9264,7 +9164,6 @@ func (_RegistryMock *RegistryMockCallerSession) GetAllNames() ([]string, error) func (_RegistryMock *RegistryMockCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "getAllRecords", name) - if err != nil { return *new([]IRegistryRecord), err } @@ -9272,7 +9171,6 @@ func (_RegistryMock *RegistryMockCaller) GetAllRecords(opts *bind.CallOpts, name out0 := *abi.ConvertType(out[0], new([]IRegistryRecord)).(*[]IRegistryRecord) return out0, err - } // GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2. @@ -9295,7 +9193,6 @@ func (_RegistryMock *RegistryMockCallerSession) GetAllRecords(name string) ([]IR func (_RegistryMock *RegistryMockCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "names", arg0) - if err != nil { return *new(string), err } @@ -9303,7 +9200,6 @@ func (_RegistryMock *RegistryMockCaller) Names(opts *bind.CallOpts, arg0 *big.In out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Names is a free data retrieval call binding the contract method 0x4622ab03. @@ -9326,7 +9222,6 @@ func (_RegistryMock *RegistryMockCallerSession) Names(arg0 *big.Int) (string, er func (_RegistryMock *RegistryMockCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -9334,7 +9229,6 @@ func (_RegistryMock *RegistryMockCaller) Owner(opts *bind.CallOpts) (common.Addr out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -9357,7 +9251,8 @@ func (_RegistryMock *RegistryMockCallerSession) Owner() (common.Address, error) func (_RegistryMock *RegistryMockCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { var out []interface{} err := _RegistryMock.contract.Call(opts, &out, "records", arg0, arg1) @@ -9369,7 +9264,6 @@ func (_RegistryMock *RegistryMockCaller) Records(opts *bind.CallOpts, arg0 strin outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Activation = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Records is a free data retrieval call binding the contract method 0x3b51650d. @@ -9378,7 +9272,8 @@ func (_RegistryMock *RegistryMockCaller) Records(opts *bind.CallOpts, arg0 strin func (_RegistryMock *RegistryMockSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _RegistryMock.Contract.Records(&_RegistryMock.CallOpts, arg0, arg1) } @@ -9388,7 +9283,8 @@ func (_RegistryMock *RegistryMockSession) Records(arg0 string, arg1 *big.Int) (s func (_RegistryMock *RegistryMockCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int -}, error) { +}, error, +) { return _RegistryMock.Contract.Records(&_RegistryMock.CallOpts, arg0, arg1) } @@ -9512,7 +9408,6 @@ type RegistryMockOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_RegistryMock *RegistryMockFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryMockOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -9533,7 +9428,6 @@ func (_RegistryMock *RegistryMockFilterer) FilterOwnershipTransferred(opts *bind // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_RegistryMock *RegistryMockFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryMockOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -9665,7 +9559,6 @@ type RegistryMockRegistered struct { // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_RegistryMock *RegistryMockFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*RegistryMockRegisteredIterator, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -9686,7 +9579,6 @@ func (_RegistryMock *RegistryMockFilterer) FilterRegistered(opts *bind.FilterOpt // // Solidity: event Registered(string name, address indexed addr, uint256 indexed activation) func (_RegistryMock *RegistryMockFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *RegistryMockRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error) { - var addrRule []interface{} for _, addrItem := range addr { addrRule = append(addrRule, addrItem) @@ -9942,7 +9834,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryTransactorRaw) Transact(opts *bind.Tr func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO48HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "ZERO48HASH") - if err != nil { return *new([32]byte), err } @@ -9950,7 +9841,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO48HASH(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO48HASH is a free data retrieval call binding the contract method 0x6fc522c6. @@ -9973,7 +9863,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ZERO48HASH() ([32]byte func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO96HASH(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "ZERO96HASH") - if err != nil { return *new([32]byte), err } @@ -9981,7 +9870,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ZERO96HASH(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ZERO96HASH is a free data retrieval call binding the contract method 0x20abd458. @@ -10004,7 +9892,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ZERO96HASH() ([32]byte func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Abook(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "abook") - if err != nil { return *new(common.Address), err } @@ -10012,7 +9899,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Abook(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Abook is a free data retrieval call binding the contract method 0x829d639d. @@ -10035,7 +9921,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Abook() (common.Addres func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) AllNodeIds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "allNodeIds", arg0) - if err != nil { return *new(common.Address), err } @@ -10043,7 +9928,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) AllNodeIds(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // AllNodeIds is a free data retrieval call binding the contract method 0xa5834971. @@ -10066,7 +9950,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) AllNodeIds(arg0 *big.I func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.CallOpts) (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "getAllBlsInfo") @@ -10078,7 +9963,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.Call outstruct.NodeIdList = *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address) outstruct.PubkeyList = *abi.ConvertType(out[1], new([]IKIP113BlsPublicKeyInfo)).(*[]IKIP113BlsPublicKeyInfo) return *outstruct, err - } // GetAllBlsInfo is a free data retrieval call binding the contract method 0x6968b53f. @@ -10087,7 +9971,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) GetAllBlsInfo(opts *bind.Call func (_SimpleBlsRegistry *SimpleBlsRegistrySession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.GetAllBlsInfo(&_SimpleBlsRegistry.CallOpts) } @@ -10097,7 +9982,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistrySession) GetAllBlsInfo() (struct { func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) GetAllBlsInfo() (struct { NodeIdList []common.Address PubkeyList []IKIP113BlsPublicKeyInfo -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.GetAllBlsInfo(&_SimpleBlsRegistry.CallOpts) } @@ -10107,7 +9993,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) GetAllBlsInfo() (struc func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -10115,7 +10000,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -10138,7 +10022,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Owner() (common.Addres func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -10146,7 +10029,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) ProxiableUUID(opts *bind.Call out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -10169,7 +10051,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) ProxiableUUID() ([32]b func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { var out []interface{} err := _SimpleBlsRegistry.contract.Call(opts, &out, "record", arg0) @@ -10181,7 +10064,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, a outstruct.PublicKey = *abi.ConvertType(out[0], new([]byte)).(*[]byte) outstruct.Pop = *abi.ConvertType(out[1], new([]byte)).(*[]byte) return *outstruct, err - } // Record is a free data retrieval call binding the contract method 0x3465d6d5. @@ -10190,7 +10072,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryCaller) Record(opts *bind.CallOpts, a func (_SimpleBlsRegistry *SimpleBlsRegistrySession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.Record(&_SimpleBlsRegistry.CallOpts, arg0) } @@ -10200,7 +10083,8 @@ func (_SimpleBlsRegistry *SimpleBlsRegistrySession) Record(arg0 common.Address) func (_SimpleBlsRegistry *SimpleBlsRegistryCallerSession) Record(arg0 common.Address) (struct { PublicKey []byte Pop []byte -}, error) { +}, error, +) { return _SimpleBlsRegistry.Contract.Record(&_SimpleBlsRegistry.CallOpts, arg0) } @@ -10429,7 +10313,6 @@ type SimpleBlsRegistryAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*SimpleBlsRegistryAdminChangedIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -10441,7 +10324,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterAdminChanged(opts *bi // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryAdminChanged) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -10562,7 +10444,6 @@ type SimpleBlsRegistryBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*SimpleBlsRegistryBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -10579,7 +10460,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterBeaconUpgraded(opts * // // Solidity: event BeaconUpgraded(address indexed beacon) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -10705,7 +10585,6 @@ type SimpleBlsRegistryInitialized struct { // // Solidity: event Initialized(uint8 version) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*SimpleBlsRegistryInitializedIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -10717,7 +10596,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterInitialized(opts *bin // // Solidity: event Initialized(uint8 version) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryInitialized) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -10839,7 +10717,6 @@ type SimpleBlsRegistryOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SimpleBlsRegistryOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -10860,7 +10737,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -10992,7 +10868,6 @@ type SimpleBlsRegistryRegistered struct { // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterRegistered(opts *bind.FilterOpts) (*SimpleBlsRegistryRegisteredIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Registered") if err != nil { return nil, err @@ -11004,7 +10879,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterRegistered(opts *bind // // Solidity: event Registered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryRegistered) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Registered") if err != nil { return nil, err @@ -11127,7 +11001,6 @@ type SimpleBlsRegistryUnregistered struct { // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUnregistered(opts *bind.FilterOpts) (*SimpleBlsRegistryUnregisteredIterator, error) { - logs, sub, err := _SimpleBlsRegistry.contract.FilterLogs(opts, "Unregistered") if err != nil { return nil, err @@ -11139,7 +11012,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUnregistered(opts *bi // // Solidity: event Unregistered(address cnNodeId, bytes publicKey, bytes pop) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchUnregistered(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryUnregistered) (event.Subscription, error) { - logs, sub, err := _SimpleBlsRegistry.contract.WatchLogs(opts, "Unregistered") if err != nil { return nil, err @@ -11260,7 +11132,6 @@ type SimpleBlsRegistryUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*SimpleBlsRegistryUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -11277,7 +11148,6 @@ func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) FilterUpgraded(opts *bind.F // // Solidity: event Upgraded(address indexed implementation) func (_SimpleBlsRegistry *SimpleBlsRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SimpleBlsRegistryUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -11720,13 +11590,11 @@ func (_TreasuryRebalance *TreasuryRebalanceTransactorRaw) Transact(opts *bind.Tr func (_TreasuryRebalance *TreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "checkRetiredsApproved") - if err != nil { return err } return err - } // CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794. @@ -11749,7 +11617,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) CheckRetiredsApproved( func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, _newbieAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbie", _newbieAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -11758,7 +11625,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55. @@ -11781,7 +11647,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbie(_newbieAddre func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbieCount") - if err != nil { return *new(*big.Int), err } @@ -11789,7 +11654,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86. @@ -11812,7 +11676,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieCount() (*big func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.CallOpts, _newbieAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getNewbieIndex", _newbieAddress) - if err != nil { return *new(*big.Int), err } @@ -11820,7 +11683,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466. @@ -11843,7 +11705,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieIndex(_newbie func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, _retiredAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetired", _retiredAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -11852,7 +11713,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpt out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetRetired is a free data retrieval call binding the contract method 0xbf680590. @@ -11875,7 +11735,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetired(_retiredAdd func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetiredCount") - if err != nil { return *new(*big.Int), err } @@ -11883,7 +11742,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc. @@ -11906,7 +11764,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredCount() (*bi func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.CallOpts, _retiredAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getRetiredIndex", _retiredAddress) - if err != nil { return *new(*big.Int), err } @@ -11914,7 +11771,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c. @@ -11937,7 +11793,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredIndex(_retir func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -11945,7 +11800,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -11968,7 +11822,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetTreasuryAmount() (* func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -11976,7 +11829,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -11999,7 +11851,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsContractAddr(_addr c func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -12007,7 +11858,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -12030,7 +11880,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsOwner() (bool, error func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -12038,7 +11887,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (st out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -12061,7 +11909,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Memo() (string, error) func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallOpts, _newbieAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "newbieExists", _newbieAddress) - if err != nil { return *new(bool), err } @@ -12069,7 +11916,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // NewbieExists is a free data retrieval call binding the contract method 0x683e13cb. @@ -12092,7 +11938,8 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) NewbieExists(_newbieAd func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "newbies", arg0) @@ -12104,7 +11951,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, outstruct.Newbie = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Newbies is a free data retrieval call binding the contract method 0x94393e11. @@ -12113,7 +11959,8 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalance.Contract.Newbies(&_TreasuryRebalance.CallOpts, arg0) } @@ -12123,7 +11970,8 @@ func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (stru func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalance.Contract.Newbies(&_TreasuryRebalance.CallOpts, arg0) } @@ -12133,7 +11981,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) func (_TreasuryRebalance *TreasuryRebalanceCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -12141,7 +11988,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Owner(opts *bind.CallOpts) (c out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -12164,7 +12010,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Owner() (common.Addres func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -12172,7 +12017,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bi out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -12195,7 +12039,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RebalanceBlockNumber() func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.CallOpts, _retiredAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "retiredExists", _retiredAddress) - if err != nil { return *new(bool), err } @@ -12203,7 +12046,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.Call out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // RetiredExists is a free data retrieval call binding the contract method 0x01784e05. @@ -12226,7 +12068,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RetiredExists(_retired func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "retirees", arg0) - if err != nil { return *new(common.Address), err } @@ -12234,7 +12075,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Retirees is a free data retrieval call binding the contract method 0x5a12667b. @@ -12257,7 +12097,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Retirees(arg0 *big.Int func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -12265,7 +12104,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) ( out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -12288,7 +12126,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Status() (uint8, error func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalance.contract.Call(opts, &out, "sumOfRetiredBalance") - if err != nil { return *new(*big.Int), err } @@ -12296,7 +12133,6 @@ func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bin out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b. @@ -12644,7 +12480,6 @@ type TreasuryRebalanceApproved struct { // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceApprovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -12656,7 +12491,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.F // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceApproved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -12779,7 +12613,6 @@ type TreasuryRebalanceContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -12791,7 +12624,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -12913,7 +12745,6 @@ type TreasuryRebalanceFinalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceFinalizedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -12925,7 +12756,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind. // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceFinalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -13047,7 +12877,6 @@ type TreasuryRebalanceNewbieRegistered struct { // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -13059,7 +12888,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -13180,7 +13008,6 @@ type TreasuryRebalanceNewbieRemoved struct { // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRemovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -13192,7 +13019,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *b // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -13314,7 +13140,6 @@ type TreasuryRebalanceOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -13335,7 +13160,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred( // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -13465,7 +13289,6 @@ type TreasuryRebalanceRetiredRegistered struct { // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -13477,7 +13300,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opt // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -13598,7 +13420,6 @@ type TreasuryRebalanceRetiredRemoved struct { // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRemovedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -13610,7 +13431,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts * // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -13731,7 +13551,6 @@ type TreasuryRebalanceStatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceStatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalance.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -13743,7 +13562,6 @@ func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *b // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceStatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalance.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -14006,13 +13824,11 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockTransactorRaw) Transact(opts func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) CheckRetiredsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "checkRetiredsApproved") - if err != nil { return err } return err - } // CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794. @@ -14035,7 +13851,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) CheckRetiredsA func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbie(opts *bind.CallOpts, _newbieAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getNewbie", _newbieAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -14044,7 +13859,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbie(opts *bind. out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55. @@ -14067,7 +13881,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetNewbie(_new func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getNewbieCount") - if err != nil { return *new(*big.Int), err } @@ -14075,7 +13888,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbieCount(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86. @@ -14098,7 +13910,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetNewbieCount func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbieIndex(opts *bind.CallOpts, _newbieAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getNewbieIndex", _newbieAddress) - if err != nil { return *new(*big.Int), err } @@ -14106,7 +13917,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetNewbieIndex(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466. @@ -14129,7 +13939,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetNewbieIndex func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetired(opts *bind.CallOpts, _retiredAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getRetired", _retiredAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -14138,7 +13947,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetired(opts *bind out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetRetired is a free data retrieval call binding the contract method 0xbf680590. @@ -14161,7 +13969,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetRetired(_re func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getRetiredCount") - if err != nil { return *new(*big.Int), err } @@ -14169,7 +13976,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetiredCount(opts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc. @@ -14192,7 +13998,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetRetiredCoun func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetiredIndex(opts *bind.CallOpts, _retiredAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getRetiredIndex", _retiredAddress) - if err != nil { return *new(*big.Int), err } @@ -14200,7 +14005,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetRetiredIndex(opts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c. @@ -14223,7 +14027,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetRetiredInde func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -14231,7 +14034,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) GetTreasuryAmount(opt out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -14254,7 +14056,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) GetTreasuryAmo func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -14262,7 +14063,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) IsContractAddr(opts * out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -14285,7 +14085,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) IsContractAddr func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -14293,7 +14092,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) IsOwner(opts *bind.Ca out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -14316,7 +14114,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) IsOwner() (boo func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -14324,7 +14121,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Memo(opts *bind.CallO out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -14347,7 +14143,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Memo() (string func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) NewbieExists(opts *bind.CallOpts, _newbieAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "newbieExists", _newbieAddress) - if err != nil { return *new(bool), err } @@ -14355,7 +14150,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) NewbieExists(opts *bi out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // NewbieExists is a free data retrieval call binding the contract method 0x683e13cb. @@ -14378,7 +14172,8 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) NewbieExists(_ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Newbies(opts *bind.CallOpts, arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "newbies", arg0) @@ -14390,7 +14185,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Newbies(opts *bind.Ca outstruct.Newbie = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Newbies is a free data retrieval call binding the contract method 0x94393e11. @@ -14399,7 +14193,8 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Newbies(opts *bind.Ca func (_TreasuryRebalanceMock *TreasuryRebalanceMockSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceMock.Contract.Newbies(&_TreasuryRebalanceMock.CallOpts, arg0) } @@ -14409,7 +14204,8 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockSession) Newbies(arg0 *big.In func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceMock.Contract.Newbies(&_TreasuryRebalanceMock.CallOpts, arg0) } @@ -14419,7 +14215,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Newbies(arg0 * func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -14427,7 +14222,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Owner(opts *bind.Call out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -14450,7 +14244,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Owner() (commo func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -14458,7 +14251,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) RebalanceBlockNumber( out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -14481,7 +14273,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) RebalanceBlock func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) RetiredExists(opts *bind.CallOpts, _retiredAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "retiredExists", _retiredAddress) - if err != nil { return *new(bool), err } @@ -14489,7 +14280,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) RetiredExists(opts *b out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // RetiredExists is a free data retrieval call binding the contract method 0x01784e05. @@ -14512,7 +14302,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) RetiredExists( func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Retirees(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "retirees", arg0) - if err != nil { return *new(common.Address), err } @@ -14520,7 +14309,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Retirees(opts *bind.C out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Retirees is a free data retrieval call binding the contract method 0x5a12667b. @@ -14543,7 +14331,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Retirees(arg0 func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -14551,7 +14338,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) Status(opts *bind.Cal out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -14574,7 +14360,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCallerSession) Status() (uint func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMock.contract.Call(opts, &out, "sumOfRetiredBalance") - if err != nil { return *new(*big.Int), err } @@ -14582,7 +14367,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockCaller) SumOfRetiredBalance(o out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b. @@ -14951,7 +14735,6 @@ type TreasuryRebalanceMockApproved struct { // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceMockApprovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -14963,7 +14746,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterApproved(opts // // Solidity: event Approved(address retired, address approver, uint256 approversCount) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockApproved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -15086,7 +14868,6 @@ type TreasuryRebalanceMockContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceMockContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -15098,7 +14879,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterContractDeplo // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -15220,7 +15000,6 @@ type TreasuryRebalanceMockFinalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceMockFinalizedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -15232,7 +15011,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterFinalized(opt // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockFinalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -15354,7 +15132,6 @@ type TreasuryRebalanceMockNewbieRegistered struct { // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceMockNewbieRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -15366,7 +15143,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterNewbieRegiste // // Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockNewbieRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "NewbieRegistered") if err != nil { return nil, err @@ -15487,7 +15263,6 @@ type TreasuryRebalanceMockNewbieRemoved struct { // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceMockNewbieRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -15499,7 +15274,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterNewbieRemoved // // Solidity: event NewbieRemoved(address newbie) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockNewbieRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "NewbieRemoved") if err != nil { return nil, err @@ -15621,7 +15395,6 @@ type TreasuryRebalanceMockOwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceMockOwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -15642,7 +15415,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterOwnershipTran // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -15772,7 +15544,6 @@ type TreasuryRebalanceMockRetiredRegistered struct { // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceMockRetiredRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -15784,7 +15555,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterRetiredRegist // // Solidity: event RetiredRegistered(address retired) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockRetiredRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "RetiredRegistered") if err != nil { return nil, err @@ -15905,7 +15675,6 @@ type TreasuryRebalanceMockRetiredRemoved struct { // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceMockRetiredRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -15917,7 +15686,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterRetiredRemove // // Solidity: event RetiredRemoved(address retired) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockRetiredRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "RetiredRemoved") if err != nil { return nil, err @@ -16038,7 +15806,6 @@ type TreasuryRebalanceMockStatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceMockStatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -16050,7 +15817,6 @@ func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) FilterStatusChanged // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceMock *TreasuryRebalanceMockFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockStatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMock.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -16314,7 +16080,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2TransactorRaw) Transact(o func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) AllocatedExists(opts *bind.CallOpts, _allocatedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "allocatedExists", _allocatedAddress) - if err != nil { return *new(bool), err } @@ -16322,7 +16087,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) AllocatedExists(o out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // AllocatedExists is a free data retrieval call binding the contract method 0xbd786f57. @@ -16345,7 +16109,8 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) AllocatedE func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Allocateds(opts *bind.CallOpts, arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "allocateds", arg0) @@ -16357,7 +16122,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Allocateds(opts * outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Allocateds is a free data retrieval call binding the contract method 0x343e2c85. @@ -16366,7 +16130,8 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Allocateds(opts * func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Session) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceMockV2.Contract.Allocateds(&_TreasuryRebalanceMockV2.CallOpts, arg0) } @@ -16376,7 +16141,8 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Session) Allocateds(arg0 func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceMockV2.Contract.Allocateds(&_TreasuryRebalanceMockV2.CallOpts, arg0) } @@ -16386,13 +16152,11 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) Allocateds func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) CheckZeroedsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "checkZeroedsApproved") - if err != nil { return err } return err - } // CheckZeroedsApproved is a free data retrieval call binding the contract method 0x0287d126. @@ -16415,7 +16179,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) CheckZeroe func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocated(opts *bind.CallOpts, _allocatedAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getAllocated", _allocatedAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -16424,7 +16187,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocated(opts out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetAllocated is a free data retrieval call binding the contract method 0x9e59eb14. @@ -16447,7 +16209,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetAllocat func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocatedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getAllocatedCount") - if err != nil { return *new(*big.Int), err } @@ -16455,7 +16216,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocatedCount out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedCount is a free data retrieval call binding the contract method 0xed355529. @@ -16478,7 +16238,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetAllocat func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocatedIndex(opts *bind.CallOpts, _allocatedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getAllocatedIndex", _allocatedAddress) - if err != nil { return *new(*big.Int), err } @@ -16486,7 +16245,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetAllocatedIndex out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedIndex is a free data retrieval call binding the contract method 0x7bfaf7b7. @@ -16509,7 +16267,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetAllocat func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -16517,7 +16274,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetTreasuryAmount out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -16540,7 +16296,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetTreasur func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroed(opts *bind.CallOpts, _zeroedAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getZeroed", _zeroedAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -16549,7 +16304,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroed(opts *b out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetZeroed is a free data retrieval call binding the contract method 0xcea1c338. @@ -16572,7 +16326,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetZeroed( func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getZeroedCount") - if err != nil { return *new(*big.Int), err } @@ -16580,7 +16333,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroedCount(op out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedCount is a free data retrieval call binding the contract method 0x9dc954ba. @@ -16603,7 +16355,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetZeroedC func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroedIndex(opts *bind.CallOpts, _zeroedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "getZeroedIndex", _zeroedAddress) - if err != nil { return *new(*big.Int), err } @@ -16611,7 +16362,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) GetZeroedIndex(op out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedIndex is a free data retrieval call binding the contract method 0x518592da. @@ -16634,7 +16384,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) GetZeroedI func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -16642,7 +16391,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) IsContractAddr(op out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -16665,7 +16413,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) IsContract func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -16673,7 +16420,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) IsOwner(opts *bin out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -16696,7 +16442,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) IsOwner() func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -16704,7 +16449,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Memo(opts *bind.C out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -16727,7 +16471,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) Memo() (st func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -16735,7 +16478,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Owner(opts *bind. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -16758,7 +16500,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) Owner() (c func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -16766,7 +16507,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) RebalanceBlockNum out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -16789,7 +16529,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) RebalanceB func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -16797,7 +16536,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Status(opts *bind out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -16820,7 +16558,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) Status() ( func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) SumOfZeroedBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "sumOfZeroedBalance") - if err != nil { return *new(*big.Int), err } @@ -16828,7 +16565,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) SumOfZeroedBalanc out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfZeroedBalance is a free data retrieval call binding the contract method 0x9ab29b70. @@ -16851,7 +16587,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) SumOfZeroe func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) ZeroedExists(opts *bind.CallOpts, _zeroedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "zeroedExists", _zeroedAddress) - if err != nil { return *new(bool), err } @@ -16859,7 +16594,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) ZeroedExists(opts out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ZeroedExists is a free data retrieval call binding the contract method 0x5f8798c0. @@ -16882,7 +16616,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2CallerSession) ZeroedExis func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Zeroeds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceMockV2.contract.Call(opts, &out, "zeroeds", arg0) - if err != nil { return *new(common.Address), err } @@ -16890,7 +16623,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Caller) Zeroeds(opts *bin out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Zeroeds is a free data retrieval call binding the contract method 0x62aa3e91. @@ -17258,7 +16990,6 @@ type TreasuryRebalanceMockV2AllocatedRegistered struct { // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterAllocatedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2AllocatedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -17270,7 +17001,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterAllocated // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchAllocatedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2AllocatedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -17391,7 +17121,6 @@ type TreasuryRebalanceMockV2AllocatedRemoved struct { // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterAllocatedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2AllocatedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -17403,7 +17132,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterAllocated // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchAllocatedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2AllocatedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -17526,7 +17254,6 @@ type TreasuryRebalanceMockV2Approved struct { // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2ApprovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -17538,7 +17265,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterApproved( // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2Approved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -17661,7 +17387,6 @@ type TreasuryRebalanceMockV2ContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2ContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -17673,7 +17398,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterContractD // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2ContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -17795,7 +17519,6 @@ type TreasuryRebalanceMockV2Finalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2FinalizedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -17807,7 +17530,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterFinalized // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2Finalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -17929,7 +17651,6 @@ type TreasuryRebalanceMockV2OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceMockV2OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -17950,7 +17671,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterOwnership // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -18080,7 +17800,6 @@ type TreasuryRebalanceMockV2StatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2StatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -18092,7 +17811,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterStatusCha // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2StatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -18213,7 +17931,6 @@ type TreasuryRebalanceMockV2ZeroedRegistered struct { // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterZeroedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2ZeroedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -18225,7 +17942,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterZeroedReg // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchZeroedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2ZeroedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -18346,7 +18062,6 @@ type TreasuryRebalanceMockV2ZeroedRemoved struct { // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterZeroedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceMockV2ZeroedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.FilterLogs(opts, "ZeroedRemoved") if err != nil { return nil, err @@ -18358,7 +18073,6 @@ func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) FilterZeroedRem // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceMockV2 *TreasuryRebalanceMockV2Filterer) WatchZeroedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceMockV2ZeroedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceMockV2.contract.WatchLogs(opts, "ZeroedRemoved") if err != nil { return nil, err @@ -18621,7 +18335,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2TransactorRaw) Transact(opts *bin func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) AllocatedExists(opts *bind.CallOpts, _allocatedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "allocatedExists", _allocatedAddress) - if err != nil { return *new(bool), err } @@ -18629,7 +18342,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) AllocatedExists(opts *bin out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // AllocatedExists is a free data retrieval call binding the contract method 0xbd786f57. @@ -18652,7 +18364,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) AllocatedExists(_a func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.CallOpts, arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "allocateds", arg0) @@ -18664,7 +18377,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.Cal outstruct.Addr = *abi.ConvertType(out[0], new(common.Address)).(*common.Address) outstruct.Amount = *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return *outstruct, err - } // Allocateds is a free data retrieval call binding the contract method 0x343e2c85. @@ -18673,7 +18385,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Allocateds(opts *bind.Cal func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Session) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceV2.Contract.Allocateds(&_TreasuryRebalanceV2.CallOpts, arg0) } @@ -18683,7 +18396,8 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Session) Allocateds(arg0 *big.Int func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Allocateds(arg0 *big.Int) (struct { Addr common.Address Amount *big.Int -}, error) { +}, error, +) { return _TreasuryRebalanceV2.Contract.Allocateds(&_TreasuryRebalanceV2.CallOpts, arg0) } @@ -18693,13 +18407,11 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Allocateds(arg0 *b func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) CheckZeroedsApproved(opts *bind.CallOpts) error { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "checkZeroedsApproved") - if err != nil { return err } return err - } // CheckZeroedsApproved is a free data retrieval call binding the contract method 0x0287d126. @@ -18722,7 +18434,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) CheckZeroedsApprov func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocated(opts *bind.CallOpts, _allocatedAddress common.Address) (common.Address, *big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocated", _allocatedAddress) - if err != nil { return *new(common.Address), *new(*big.Int), err } @@ -18731,7 +18442,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocated(opts *bind.C out1 := *abi.ConvertType(out[1], new(*big.Int)).(**big.Int) return out0, out1, err - } // GetAllocated is a free data retrieval call binding the contract method 0x9e59eb14. @@ -18754,7 +18464,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocated(_allo func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocatedCount") - if err != nil { return *new(*big.Int), err } @@ -18762,7 +18471,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedCount(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedCount is a free data retrieval call binding the contract method 0xed355529. @@ -18785,7 +18493,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocatedCount( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedIndex(opts *bind.CallOpts, _allocatedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getAllocatedIndex", _allocatedAddress) - if err != nil { return *new(*big.Int), err } @@ -18793,7 +18500,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetAllocatedIndex(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetAllocatedIndex is a free data retrieval call binding the contract method 0x7bfaf7b7. @@ -18816,7 +18522,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetAllocatedIndex( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getTreasuryAmount") - if err != nil { return *new(*big.Int), err } @@ -18824,7 +18529,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetTreasuryAmount(opts *b out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00. @@ -18847,7 +18551,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetTreasuryAmount( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroed(opts *bind.CallOpts, _zeroedAddress common.Address) (common.Address, []common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroed", _zeroedAddress) - if err != nil { return *new(common.Address), *new([]common.Address), err } @@ -18856,7 +18559,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroed(opts *bind.Call out1 := *abi.ConvertType(out[1], new([]common.Address)).(*[]common.Address) return out0, out1, err - } // GetZeroed is a free data retrieval call binding the contract method 0xcea1c338. @@ -18879,7 +18581,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroed(_zeroedA func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedCount(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroedCount") - if err != nil { return *new(*big.Int), err } @@ -18887,7 +18588,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedCount(opts *bind out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedCount is a free data retrieval call binding the contract method 0x9dc954ba. @@ -18910,7 +18610,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroedCount() ( func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedIndex(opts *bind.CallOpts, _zeroedAddress common.Address) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "getZeroedIndex", _zeroedAddress) - if err != nil { return *new(*big.Int), err } @@ -18918,7 +18617,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) GetZeroedIndex(opts *bind out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // GetZeroedIndex is a free data retrieval call binding the contract method 0x518592da. @@ -18941,7 +18639,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) GetZeroedIndex(_ze func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "isContractAddr", _addr) - if err != nil { return *new(bool), err } @@ -18949,7 +18646,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsContractAddr(opts *bind out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3. @@ -18972,7 +18668,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) IsContractAddr(_ad func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsOwner(opts *bind.CallOpts) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "isOwner") - if err != nil { return *new(bool), err } @@ -18980,7 +18675,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) IsOwner(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. @@ -19003,7 +18697,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) IsOwner() (bool, e func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Memo(opts *bind.CallOpts) (string, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "memo") - if err != nil { return *new(string), err } @@ -19011,7 +18704,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Memo(opts *bind.CallOpts) out0 := *abi.ConvertType(out[0], new(string)).(*string) return out0, err - } // Memo is a free data retrieval call binding the contract method 0x58c3b870. @@ -19034,7 +18726,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Memo() (string, er func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Owner(opts *bind.CallOpts) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "owner") - if err != nil { return *new(common.Address), err } @@ -19042,7 +18733,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Owner(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Owner is a free data retrieval call binding the contract method 0x8da5cb5b. @@ -19065,7 +18755,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Owner() (common.Ad func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "rebalanceBlockNumber") - if err != nil { return *new(*big.Int), err } @@ -19073,7 +18762,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) RebalanceBlockNumber(opts out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45. @@ -19096,7 +18784,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) RebalanceBlockNumb func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Status(opts *bind.CallOpts) (uint8, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "status") - if err != nil { return *new(uint8), err } @@ -19104,7 +18791,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Status(opts *bind.CallOpt out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8) return out0, err - } // Status is a free data retrieval call binding the contract method 0x200d2ed2. @@ -19127,7 +18813,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) Status() (uint8, e func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) SumOfZeroedBalance(opts *bind.CallOpts) (*big.Int, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "sumOfZeroedBalance") - if err != nil { return *new(*big.Int), err } @@ -19135,7 +18820,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) SumOfZeroedBalance(opts * out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int) return out0, err - } // SumOfZeroedBalance is a free data retrieval call binding the contract method 0x9ab29b70. @@ -19158,7 +18842,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) SumOfZeroedBalance func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) ZeroedExists(opts *bind.CallOpts, _zeroedAddress common.Address) (bool, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "zeroedExists", _zeroedAddress) - if err != nil { return *new(bool), err } @@ -19166,7 +18849,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) ZeroedExists(opts *bind.C out0 := *abi.ConvertType(out[0], new(bool)).(*bool) return out0, err - } // ZeroedExists is a free data retrieval call binding the contract method 0x5f8798c0. @@ -19189,7 +18871,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2CallerSession) ZeroedExists(_zero func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Zeroeds(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) { var out []interface{} err := _TreasuryRebalanceV2.contract.Call(opts, &out, "zeroeds", arg0) - if err != nil { return *new(common.Address), err } @@ -19197,7 +18878,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Caller) Zeroeds(opts *bind.CallOp out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address) return out0, err - } // Zeroeds is a free data retrieval call binding the contract method 0x62aa3e91. @@ -19544,7 +19224,6 @@ type TreasuryRebalanceV2AllocatedRegistered struct { // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceV2AllocatedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -19556,7 +19235,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRegister // // Solidity: event AllocatedRegistered(address allocated, uint256 fundAllocation) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchAllocatedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2AllocatedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "AllocatedRegistered") if err != nil { return nil, err @@ -19677,7 +19355,6 @@ type TreasuryRebalanceV2AllocatedRemoved struct { // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceV2AllocatedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -19689,7 +19366,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterAllocatedRemoved( // // Solidity: event AllocatedRemoved(address allocated) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchAllocatedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2AllocatedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "AllocatedRemoved") if err != nil { return nil, err @@ -19812,7 +19488,6 @@ type TreasuryRebalanceV2Approved struct { // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceV2ApprovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "Approved") if err != nil { return nil, err @@ -19824,7 +19499,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterApproved(opts *bi // // Solidity: event Approved(address zeroed, address approver, uint256 approversCount) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2Approved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "Approved") if err != nil { return nil, err @@ -19947,7 +19621,6 @@ type TreasuryRebalanceV2ContractDeployed struct { // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceV2ContractDeployedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -19959,7 +19632,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterContractDeployed( // // Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ContractDeployed) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ContractDeployed") if err != nil { return nil, err @@ -20081,7 +19753,6 @@ type TreasuryRebalanceV2Finalized struct { // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceV2FinalizedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "Finalized") if err != nil { return nil, err @@ -20093,7 +19764,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterFinalized(opts *b // // Solidity: event Finalized(string memo, uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2Finalized) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "Finalized") if err != nil { return nil, err @@ -20215,7 +19885,6 @@ type TreasuryRebalanceV2OwnershipTransferred struct { // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceV2OwnershipTransferredIterator, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -20236,7 +19905,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterOwnershipTransfer // // Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) { - var previousOwnerRule []interface{} for _, previousOwnerItem := range previousOwner { previousOwnerRule = append(previousOwnerRule, previousOwnerItem) @@ -20366,7 +20034,6 @@ type TreasuryRebalanceV2StatusChanged struct { // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceV2StatusChangedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -20378,7 +20045,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterStatusChanged(opt // // Solidity: event StatusChanged(uint8 status) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2StatusChanged) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "StatusChanged") if err != nil { return nil, err @@ -20499,7 +20165,6 @@ type TreasuryRebalanceV2ZeroedRegistered struct { // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceV2ZeroedRegisteredIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -20511,7 +20176,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRegistered( // // Solidity: event ZeroedRegistered(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchZeroedRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ZeroedRegistered) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ZeroedRegistered") if err != nil { return nil, err @@ -20632,7 +20296,6 @@ type TreasuryRebalanceV2ZeroedRemoved struct { // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceV2ZeroedRemovedIterator, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.FilterLogs(opts, "ZeroedRemoved") if err != nil { return nil, err @@ -20644,7 +20307,6 @@ func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) FilterZeroedRemoved(opt // // Solidity: event ZeroedRemoved(address zeroed) func (_TreasuryRebalanceV2 *TreasuryRebalanceV2Filterer) WatchZeroedRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceV2ZeroedRemoved) (event.Subscription, error) { - logs, sub, err := _TreasuryRebalanceV2.contract.WatchLogs(opts, "ZeroedRemoved") if err != nil { return nil, err @@ -20857,7 +20519,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableTransactorRaw) Transact(opts *bind.Transa func (_UUPSUpgradeable *UUPSUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) { var out []interface{} err := _UUPSUpgradeable.contract.Call(opts, &out, "proxiableUUID") - if err != nil { return *new([32]byte), err } @@ -20865,7 +20526,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableCaller) ProxiableUUID(opts *bind.CallOpts out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte) return out0, err - } // ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d. @@ -21002,7 +20662,6 @@ type UUPSUpgradeableAdminChanged struct { // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*UUPSUpgradeableAdminChangedIterator, error) { - logs, sub, err := _UUPSUpgradeable.contract.FilterLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -21014,7 +20673,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterAdminChanged(opts *bind.F // // Solidity: event AdminChanged(address previousAdmin, address newAdmin) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableAdminChanged) (event.Subscription, error) { - logs, sub, err := _UUPSUpgradeable.contract.WatchLogs(opts, "AdminChanged") if err != nil { return nil, err @@ -21135,7 +20793,6 @@ type UUPSUpgradeableBeaconUpgraded struct { // // Solidity: event BeaconUpgraded(address indexed beacon) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*UUPSUpgradeableBeaconUpgradedIterator, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -21152,7 +20809,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterBeaconUpgraded(opts *bind // // Solidity: event BeaconUpgraded(address indexed beacon) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableBeaconUpgraded, beacon []common.Address) (event.Subscription, error) { - var beaconRule []interface{} for _, beaconItem := range beacon { beaconRule = append(beaconRule, beaconItem) @@ -21278,7 +20934,6 @@ type UUPSUpgradeableInitialized struct { // // Solidity: event Initialized(uint8 version) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*UUPSUpgradeableInitializedIterator, error) { - logs, sub, err := _UUPSUpgradeable.contract.FilterLogs(opts, "Initialized") if err != nil { return nil, err @@ -21290,7 +20945,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterInitialized(opts *bind.Fi // // Solidity: event Initialized(uint8 version) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableInitialized) (event.Subscription, error) { - logs, sub, err := _UUPSUpgradeable.contract.WatchLogs(opts, "Initialized") if err != nil { return nil, err @@ -21411,7 +21065,6 @@ type UUPSUpgradeableUpgraded struct { // // Solidity: event Upgraded(address indexed implementation) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*UUPSUpgradeableUpgradedIterator, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) @@ -21428,7 +21081,6 @@ func (_UUPSUpgradeable *UUPSUpgradeableFilterer) FilterUpgraded(opts *bind.Filte // // Solidity: event Upgraded(address indexed implementation) func (_UUPSUpgradeable *UUPSUpgradeableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *UUPSUpgradeableUpgraded, implementation []common.Address) (event.Subscription, error) { - var implementationRule []interface{} for _, implementationItem := range implementation { implementationRule = append(implementationRule, implementationItem) diff --git a/crypto/bn256/doc.go b/crypto/bn256/doc.go index 913df53e27..d4d22ee042 100644 --- a/crypto/bn256/doc.go +++ b/crypto/bn256/doc.go @@ -12,13 +12,13 @@ This package specifically implements the Optimal Ate pairing over a 256-bit Barr This package previously claimed to operate at a 128-bit security level. However, recent improvements in attacks mean that it is no longer true. See https://moderncrypto.org/mail-archive/curves/2016/000740.html. -Initial package from Google is deprecated due to its weakened security and Klaytn is using the more complete implementation from Cloudflare +# Initial package from Google is deprecated due to its weakened security and Klaytn is using the more complete implementation from Cloudflare -Source Files +# Source Files Each file contains following contents - - bn256_fast.go : Provides PairingCheck function for amd64 and arm64 architecture - - bn256_fuzz.go : Provides functions to check if Google's library and Cloudflare's library are giving the same results - - bn256_slow.go : Provides PairingCheck function for non-amd64 and non-arm64 architecture + - bn256_fast.go : Provides PairingCheck function for amd64 and arm64 architecture + - bn256_fuzz.go : Provides functions to check if Google's library and Cloudflare's library are giving the same results + - bn256_slow.go : Provides PairingCheck function for non-amd64 and non-arm64 architecture */ package bn256 diff --git a/crypto/bn256/google/doc.go b/crypto/bn256/google/doc.go index 895f9fa4a1..de43ff8a49 100644 --- a/crypto/bn256/google/doc.go +++ b/crypto/bn256/google/doc.go @@ -19,7 +19,7 @@ // http://cryptojedi.org/papers/dclxvi-20100714.pdf. Its output is compatible // with the implementation described in that paper. // -//This package previously claimed to operate at a 128-bit security level. However, recent improvements in attacks mean that it is no longer true. See https://moderncrypto.org/mail-archive/curves/2016/000740.html. +// This package previously claimed to operate at a 128-bit security level. However, recent improvements in attacks mean that it is no longer true. See https://moderncrypto.org/mail-archive/curves/2016/000740.html. // -//Deprecated: due to its weakened security, new systems should not rely on this elliptic curve. This package is frozen, and not implemented in constant time. There is a more complete implementation at github.com/cloudflare/bn256, but note that it suffers from the same security issues of the underlying curve. +// Deprecated: due to its weakened security, new systems should not rely on this elliptic curve. This package is frozen, and not implemented in constant time. There is a more complete implementation at github.com/cloudflare/bn256, but note that it suffers from the same security issues of the underlying curve. package bn256 diff --git a/crypto/doc.go b/crypto/doc.go index ab9ef8c733..a5a6917e96 100644 --- a/crypto/doc.go +++ b/crypto/doc.go @@ -19,10 +19,10 @@ Package crypto contains several cryptography modules used in Klaytn. crypto package provides various cryptographic functions such as key generation, ECDSA conversion, signature verification and so on. -Source Files +# Source Files Each source file contains the following contents. - - crypto.go : Provides functions for private key generation and conversion, Keccak hash functions and address generation - - signature_cgo.go : Provides public key and signature related functions. These functions depend on secp256k1 package which utilizes C library libsecp256k1 + - crypto.go : Provides functions for private key generation and conversion, Keccak hash functions and address generation + - signature_cgo.go : Provides public key and signature related functions. These functions depend on secp256k1 package which utilizes C library libsecp256k1 */ package crypto diff --git a/crypto/ecies/doc.go b/crypto/ecies/doc.go index 72b7379cb7..0e3ea7899c 100644 --- a/crypto/ecies/doc.go +++ b/crypto/ecies/doc.go @@ -19,10 +19,10 @@ Package ecies implements the Elliptic Curve Integrated Encryption Scheme. Package ecies provides functions to Encrypt / Decrypt messages using ECIES which are used in RLPx transport protocol in Klaytn. -Source Files +# Source Files Each file contains following contents - - ecies.go : Provides encryption / decryption related functions used for exchanging messages in RLPx protocol - - params.go : Contains parameters for ECIES encryption, specifying the symmetric encryption and HMAC parameters + - ecies.go : Provides encryption / decryption related functions used for exchanging messages in RLPx protocol + - params.go : Contains parameters for ECIES encryption, specifying the symmetric encryption and HMAC parameters */ package ecies diff --git a/crypto/secp256k1/doc.go b/crypto/secp256k1/doc.go index 8812e5d070..c22a0314cc 100644 --- a/crypto/secp256k1/doc.go +++ b/crypto/secp256k1/doc.go @@ -25,12 +25,12 @@ secp256k1 refers to the parameters of the elliptic curve used in Bitcoin's publi Package secp256k1 provides wrapper functions to utilize the library functions in Go. -Source Files +# Source Files Each source file has the following contents - - secp256.go : Provides wrapper functions to utilize the secp256k1 library written in C - - curve.go : Implements Koblitz elliptic curves - - panic_cb.go : Provides callbacks for converting libsecp256k1 internal faults into recoverable Go panics - - schnorr.go : Implements Schnorr signature algorithm. It is planned to be used in Klaytn + - secp256.go : Provides wrapper functions to utilize the secp256k1 library written in C + - curve.go : Implements Koblitz elliptic curves + - panic_cb.go : Provides callbacks for converting libsecp256k1 internal faults into recoverable Go panics + - schnorr.go : Implements Schnorr signature algorithm. It is planned to be used in Klaytn */ package secp256k1 diff --git a/crypto/sha3/doc.go b/crypto/sha3/doc.go index 3dab530f86..fed02aee3f 100644 --- a/crypto/sha3/doc.go +++ b/crypto/sha3/doc.go @@ -8,8 +8,7 @@ // Both types of hash function use the "sponge" construction and the Keccak // permutation. For a detailed specification see http://keccak.noekeon.org/ // -// -// Guidance +// # Guidance // // If you aren't sure what function you need, use SHAKE256 with at least 64 // bytes of output. The SHAKE instances are faster than the SHA3 instances; @@ -19,8 +18,7 @@ // secret key to the input, hash with SHAKE256 and read at least 32 bytes of // output. // -// -// Security strengths +// # Security strengths // // The SHA3-x (x equals 224, 256, 384, or 512) functions have a security // strength against preimage attacks of x bits. Since they only produce "x" @@ -31,8 +29,7 @@ // is used. Requesting more than 64 or 32 bytes of output, respectively, does // not increase the collision-resistance of the SHAKE functions. // -// -// The sponge construction +// # The sponge construction // // A sponge builds a pseudo-random function from a public pseudo-random // permutation, by applying the permutation to a state of "rate + capacity" @@ -50,8 +47,7 @@ // Since the KeccakF-1600 permutation is 1600 bits (200 bytes) wide, this means // that the security strength of a sponge instance is equal to (1600 - bitrate) / 2. // -// -// Recommendations +// # Recommendations // // The SHAKE functions are recommended for most new uses. They can produce // output of arbitrary length. SHAKE256, with an output length of at least diff --git a/datasync/chaindatafetcher/kafka/consumer.go b/datasync/chaindatafetcher/kafka/consumer.go index 849129c384..1c56d5165a 100644 --- a/datasync/chaindatafetcher/kafka/consumer.go +++ b/datasync/chaindatafetcher/kafka/consumer.go @@ -32,8 +32,9 @@ import ( // By default it is set to print all log messages as standard output, but you can set it to redirect wherever you want. var Logger sarama.StdLogger = log.New(os.Stdout, "[Chaindatafetcher] ", log.LstdFlags) -//go:generate mockgen -destination=./mocks/consumer_group_session_mock.go -package=mocks github.com/klaytn/klaytn/datasync/chaindatafetcher/kafka ConsumerGroupSession // ConsumerGroupSession is for mocking sarama.ConsumerGroupSession for better testing. +// +//go:generate mockgen -destination=./mocks/consumer_group_session_mock.go -package=mocks github.com/klaytn/klaytn/datasync/chaindatafetcher/kafka ConsumerGroupSession type ConsumerGroupSession interface { MarkOffset(topic string, partition int32, offset int64, metadata string) MarkMessage(msg *sarama.ConsumerMessage, metadata string) diff --git a/datasync/chaindatafetcher/kas/contract_caller.go b/datasync/chaindatafetcher/kas/contract_caller.go index ba04b45bab..e68ec60147 100644 --- a/datasync/chaindatafetcher/kas/contract_caller.go +++ b/datasync/chaindatafetcher/kas/contract_caller.go @@ -53,8 +53,9 @@ var ( errMsgEmptyOutput = "abi: unmarshalling empty output" ) -//go:generate mockgen -destination=./mocks/blockchain_api_mock.go -package=mocks github.com/klaytn/klaytn/datasync/chaindatafetcher/kas BlockchainAPI // BlockchainAPI interface is for testing purpose. +// +//go:generate mockgen -destination=./mocks/blockchain_api_mock.go -package=mocks github.com/klaytn/klaytn/datasync/chaindatafetcher/kas BlockchainAPI type BlockchainAPI interface { GetCode(ctx context.Context, address common.Address, blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Bytes, error) Call(ctx context.Context, args api.CallArgs, blockNrOrHash rpc.BlockNumberOrHash) (hexutil.Bytes, error) diff --git a/datasync/downloader/doc.go b/datasync/downloader/doc.go index a51ebd810b..5a747ac7d1 100644 --- a/datasync/downloader/doc.go +++ b/datasync/downloader/doc.go @@ -21,12 +21,12 @@ /* Package downloader contains the manual full chain synchronisation. -How downloader works +# How downloader works The downloader is responsible for synchronizing up-to-date status from the peers connected to it. To do this, it downloads "headers", "bodies", and "receipts" in parallel, merges them through the pipeline, and reflects them in the state trie. -Source Files +# Source Files Downloader related functions and variables are defined in the files listed below. - api.go : Console APIs to get synchronization information. diff --git a/datasync/downloader/resultstore.go b/datasync/downloader/resultstore.go index 202ebdb601..5250e3ab88 100644 --- a/datasync/downloader/resultstore.go +++ b/datasync/downloader/resultstore.go @@ -75,10 +75,11 @@ func (r *resultStore) SetThrottleThreshold(threshold uint64) uint64 { // wants to reserve headers for fetching. // // It returns the following: -// stale - if true, this item is already passed, and should not be requested again -// throttled - if true, the store is at capacity, this particular header is not prior now -// item - the result to store data into -// err - any error that occurred +// +// stale - if true, this item is already passed, and should not be requested again +// throttled - if true, the store is at capacity, this particular header is not prior now +// item - the result to store data into +// err - any error that occurred func (r *resultStore) AddFetch(header *types.Header, mode SyncMode, proposerPolicy uint64) (stale, throttled bool, item *fetchResult, err error) { r.lock.Lock() defer r.lock.Unlock() diff --git a/datasync/fetcher/doc.go b/datasync/fetcher/doc.go index 3ab80a7818..d90e7e4d2a 100644 --- a/datasync/fetcher/doc.go +++ b/datasync/fetcher/doc.go @@ -21,12 +21,12 @@ /* Package fetcher contains the block announcement based synchronisation. -How fetcher works +# How fetcher works If the node receives a whole block, fetcher inserts the block into the chain and broadcast it to its peers. If a block hash is received instead of a block, node requests and reflects the header and body from the peer who sent the block hash. -Source Files +# Source Files Functions and variables related to fetcher are defined in the files listed below. - fetcher.go : It includes functions for fetching the received block, header, body, and a queue data structure for the fetch operation. diff --git a/event/doc.go b/event/doc.go index 80c8ddc5ad..410b388f1b 100644 --- a/event/doc.go +++ b/event/doc.go @@ -23,13 +23,12 @@ Package event deals with subscriptions to real-time events. Package event provides three different types of event dispatchers and different go-routines in a node can receive/send data by using it. -Source Files +# Source Files Each file provides the following features - - event.go: Provides `TypeMux` struct which dispatches events to registered receivers. Receivers can be registered to handle events of a certain type - - feed.go: Provides `Feed` struct implements one-to-many subscriptions where the carrier of events is a channel. Values sent to a Feed are delivered to all subscribed channels simultaneously. Feeds can only be used with a single type - - subscription.go: Provides `Subscription` interface which represents a stream of events. The carrier of the events is typically a channel but isn't part of the interface. Subscriptions can fail while established and failures are reported through an error channel - + - event.go: Provides `TypeMux` struct which dispatches events to registered receivers. Receivers can be registered to handle events of a certain type + - feed.go: Provides `Feed` struct implements one-to-many subscriptions where the carrier of events is a channel. Values sent to a Feed are delivered to all subscribed channels simultaneously. Feeds can only be used with a single type + - subscription.go: Provides `Subscription` interface which represents a stream of events. The carrier of the events is typically a channel but isn't part of the interface. Subscriptions can fail while established and failures are reported through an error channel */ package event diff --git a/event/example_scope_test.go b/event/example_scope_test.go index 7794c92167..78994100e0 100644 --- a/event/example_scope_test.go +++ b/event/example_scope_test.go @@ -32,8 +32,10 @@ import ( // // Our example program consists of two servers, each of which performs a calculation when // requested. The servers also allow subscribing to results of all computations. -type divServer struct{ results event.Feed } -type mulServer struct{ results event.Feed } +type ( + divServer struct{ results event.Feed } + mulServer struct{ results event.Feed } +) func (s *divServer) do(a, b int) int { r := a / b diff --git a/event/subscription.go b/event/subscription.go index 19e999d32e..55bd7312cf 100644 --- a/event/subscription.go +++ b/event/subscription.go @@ -28,7 +28,6 @@ import ( "github.com/klaytn/klaytn/common/mclock" ) -//go:generate mockgen -destination=event/mocks/subscription_mock.go -package=mocks github.com/klaytn/klaytn/event Subscription // Subscription represents a stream of events. The carrier of the events is typically a // channel, but isn't part of the interface. // @@ -43,6 +42,8 @@ import ( // The Unsubscribe method cancels the sending of events. You must call Unsubscribe in all // cases to ensure that resources related to the subscription are released. It can be // called any number of times. +// +//go:generate mockgen -destination=event/mocks/subscription_mock.go -package=mocks github.com/klaytn/klaytn/event Subscription type Subscription interface { Err() <-chan error // returns the error channel Unsubscribe() // cancels sending of events, closing the error channel diff --git a/fork/doc.go b/fork/doc.go index 5ca1908f18..a3edfd84f5 100644 --- a/fork/doc.go +++ b/fork/doc.go @@ -19,7 +19,7 @@ Package fork has information related to hard forks. HardForkConfig which has hard fork blockNumbers is declared in this package. -Source Files +# Source Files - fork.go : Declare HardForkConfig */ diff --git a/governance/doc.go b/governance/doc.go index 3843574110..0b274c16e5 100644 --- a/governance/doc.go +++ b/governance/doc.go @@ -19,13 +19,13 @@ Package governance contains functions and variables used for voting and reflecti In Klaytn, various settings such as the amount of KLAY minted as a block reward can be changed by using governance vote. These votes can be casted by nodes of Governance Council and detailed introduction can be found at https://docs.klaytn.com/klaytn/design/governance -How to cast a vote +# How to cast a vote To cast a vote, a node have to be a member of the Governance Council. If the governance mode is "single", only one designated node (the governing node) can vote. In the console of the node, "governance.vote(key, value)" API can be used to cast a vote. -Keys for the voting API +# Keys for the voting API Following keys can be handled as of 7/20/2019. - "governance.governancemode" : To change the governance mode @@ -41,8 +41,7 @@ Following keys can be handled as of 7/20/2019. - "reward.deferredtxfee" : To change the way of distributing tx fee - "reward.minimumstake" : To change the minimum amount of stake to participate in the governance council - -How governance works +# How governance works Governance package contains a governance struct which stores current system configurations and voting status. If a vote passed, the governance struct is updated to provide new information to related packages and users. @@ -54,8 +53,7 @@ parse the header and handle it. This process is handled by snapshot.go in the co If a vote satisfies the requirement (more than 50% of votes in favor of), it will update the governance struct and many other packages like "reward", "txpool" and so on will reference it. - -Source Files +# Source Files Governance related functions and variables are defined in the files listed below - default.go : the governance struct, cache and persistence @@ -63,6 +61,5 @@ Governance related functions and variables are defined in the files listed below - api.go : console APIs to get governance information and to cast a vote - interface.go : Abstract interfaces to various underlying implementations - mixed.go : Wrapper for multiple engine implementations - */ package governance diff --git a/kerrors/doc.go b/kerrors/doc.go index 924a6966c9..6fd3b527d9 100644 --- a/kerrors/doc.go +++ b/kerrors/doc.go @@ -17,7 +17,7 @@ /* Package kerrors contains common error variables used in Klaytn. -Source File +# Source File - kerrors.go : Defines errors */ diff --git a/log/doc.go b/log/doc.go index b9ef07eca6..da59366df0 100644 --- a/log/doc.go +++ b/log/doc.go @@ -17,7 +17,7 @@ /* Package log provides an opinionated, simple toolkit for best-practice logging. -Overview of log package +# Overview of log package Logger is the interface for various implementation of logging. There are log15 and zap logger and log15 is the default logger. diff --git a/log/format.go b/log/format.go index 3511c0dc35..e70a8bf925 100644 --- a/log/format.go +++ b/log/format.go @@ -84,12 +84,11 @@ type TerminalStringer interface { // a terminal with color-coded level output and terser human friendly timestamp. // This format should only be used for interactive programs or while developing. // -// [TIME] [LEVEL] MESAGE key=value key=value ... +// [TIME] [LEVEL] MESAGE key=value key=value ... // // Example: // -// [May 16 20:58:45] [DBUG] remove route ns=haproxy addr=127.0.0.1:50002 -// +// [May 16 20:58:45] [DBUG] remove route ns=haproxy addr=127.0.0.1:50002 func TerminalFormat(usecolor bool) Format { return FormatFunc(func(r *Record) []byte { color := 0 @@ -159,7 +158,6 @@ func TerminalFormat(usecolor bool) Format { // format for key/value pairs. // // For more details see: http://godoc.org/github.com/kr/logfmt -// func LogfmtFormat() Format { return FormatFunc(func(r *Record) []byte { common := []interface{}{r.KeyNames.Time, r.Time, r.KeyNames.Lvl, r.Lvl, r.KeyNames.Msg, r.Msg} diff --git a/log/handler.go b/log/handler.go index 2fcad8400b..1b26dd8275 100644 --- a/log/handler.go +++ b/log/handler.go @@ -140,15 +140,14 @@ func CallerStackHandler(format string, h Handler) Handler { // wrapped Handler if the given function evaluates true. For example, // to only log records where the 'err' key is not nil: // -// logger.SetHandler(FilterHandler(func(r *Record) bool { -// for i := 0; i < len(r.Ctx); i += 2 { -// if r.Ctx[i] == "err" { -// return r.Ctx[i+1] != nil -// } -// } -// return false -// }, h)) -// +// logger.SetHandler(FilterHandler(func(r *Record) bool { +// for i := 0; i < len(r.Ctx); i += 2 { +// if r.Ctx[i] == "err" { +// return r.Ctx[i+1] != nil +// } +// } +// return false +// }, h)) func FilterHandler(fn func(r *Record) bool, h Handler) Handler { return FuncHandler(func(r *Record) error { if fn(r) { @@ -163,8 +162,7 @@ func FilterHandler(fn func(r *Record) bool, h Handler) Handler { // context matches the value. For example, to only log records // from your ui package: // -// log.MatchFilterHandler("pkg", "app/ui", log.StdoutHandler) -// +// log.MatchFilterHandler("pkg", "app/ui", log.StdoutHandler) func MatchFilterHandler(key string, value interface{}, h Handler) Handler { return FilterHandler(func(r *Record) (pass bool) { switch key { @@ -190,8 +188,7 @@ func MatchFilterHandler(key string, value interface{}, h Handler) Handler { // level to the wrapped Handler. For example, to only // log Error/Crit records: // -// log.LvlFilterHandler(log.LvlError, log.StdoutHandler) -// +// log.LvlFilterHandler(log.LvlError, log.StdoutHandler) func LvlFilterHandler(maxLvl Lvl, h Handler) Handler { return FilterHandler(func(r *Record) (pass bool) { return r.Lvl <= maxLvl @@ -203,10 +200,9 @@ func LvlFilterHandler(maxLvl Lvl, h Handler) Handler { // to different locations. For example, to log to a file and // standard error: // -// log.MultiHandler( -// log.Must.FileHandler("/var/log/app.log", log.LogfmtFormat()), -// log.StderrHandler) -// +// log.MultiHandler( +// log.Must.FileHandler("/var/log/app.log", log.LogfmtFormat()), +// log.StderrHandler) func MultiHandler(hs ...Handler) Handler { return FuncHandler(func(r *Record) error { for _, h := range hs { @@ -224,10 +220,10 @@ func MultiHandler(hs ...Handler) Handler { // to writing to a file if the network fails, and then to // standard out if the file write fails: // -// log.FailoverHandler( -// log.Must.NetHandler("tcp", ":9090", log.JsonFormat()), -// log.Must.FileHandler("/var/log/app.log", log.LogfmtFormat()), -// log.StdoutHandler) +// log.FailoverHandler( +// log.Must.NetHandler("tcp", ":9090", log.JsonFormat()), +// log.Must.FileHandler("/var/log/app.log", log.LogfmtFormat()), +// log.StdoutHandler) // // All writes that do not go to the first handler will add context with keys of // the form "failover_err_{idx}" which explain the error encountered while diff --git a/log/handler_glog.go b/log/handler_glog.go index 82f7323712..51a6d3a9b7 100644 --- a/log/handler_glog.go +++ b/log/handler_glog.go @@ -81,14 +81,14 @@ func (h *GlogHandler) Verbosity(level Lvl) { // // For instance: // -// pattern="gopher.go=3" -// sets the V level to 3 in all Go files named "gopher.go" +// pattern="gopher.go=3" +// sets the V level to 3 in all Go files named "gopher.go" // -// pattern="foo=3" -// sets V to 3 in all files of any packages whose import path ends in "foo" +// pattern="foo=3" +// sets V to 3 in all files of any packages whose import path ends in "foo" // -// pattern="foo/*=3" -// sets V to 3 in all files of any packages whose import path contains "foo" +// pattern="foo/*=3" +// sets V to 3 in all files of any packages whose import path contains "foo" func (h *GlogHandler) Vmodule(ruleset string) error { var filter []pattern for _, rule := range strings.Split(ruleset, ",") { diff --git a/log/test_util.go b/log/test_util.go index 3c6b3c9633..528b2c6748 100644 --- a/log/test_util.go +++ b/log/test_util.go @@ -11,7 +11,9 @@ import ( // Enable logging to STDERR // Exmaple use -// log.EnableLogForTest(log.LvlCrit, log.LvlTrace) +// +// log.EnableLogForTest(log.LvlCrit, log.LvlTrace) +// // `normalLvl` is used in most cases // `verboseLvl` is used if `go test -v` flag is given func EnableLogForTest(normalLvl, verboseLvl Lvl) { diff --git a/networks/grpc/doc.go b/networks/grpc/doc.go index a2711b5e77..0f6dc6ae2c 100644 --- a/networks/grpc/doc.go +++ b/networks/grpc/doc.go @@ -20,12 +20,12 @@ Package grpc implements the gRPC protocol for Klaytn. This package allows you to use Klaytn's RPC API using gRPC. See below for gRPC: https://grpc.io/docs/quickstart/go/ -Source files +# Source files Each file provides the following features - - gClient.go : gRPC client implementation. - - gServer.go : gRPC server implementation. - - klaytn.proto : Define a interface and messages to use in gRPC server and clients. - - klaytn.pb.go : the generated Go file from klaytn.proto by protoc-gen-go. + - gClient.go : gRPC client implementation. + - gServer.go : gRPC server implementation. + - klaytn.proto : Define a interface and messages to use in gRPC server and clients. + - klaytn.pb.go : the generated Go file from klaytn.proto by protoc-gen-go. */ package grpc diff --git a/networks/grpc/klaytn.pb.go b/networks/grpc/klaytn.pb.go index 84425ab036..6c162e6853 100644 --- a/networks/grpc/klaytn.pb.go +++ b/networks/grpc/klaytn.pb.go @@ -13,9 +13,11 @@ import ( ) // Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +var ( + _ = proto.Marshal + _ = fmt.Errorf + _ = math.Inf +) // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -39,15 +41,19 @@ func (*Empty) Descriptor() ([]byte, []int) { func (m *Empty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Empty.Unmarshal(m, b) } + func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Empty.Marshal(b, m, deterministic) } + func (m *Empty) XXX_Merge(src proto.Message) { xxx_messageInfo_Empty.Merge(m, src) } + func (m *Empty) XXX_Size() int { return xxx_messageInfo_Empty.Size(m) } + func (m *Empty) XXX_DiscardUnknown() { xxx_messageInfo_Empty.DiscardUnknown(m) } @@ -73,15 +79,19 @@ func (*RPCRequest) Descriptor() ([]byte, []int) { func (m *RPCRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RPCRequest.Unmarshal(m, b) } + func (m *RPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RPCRequest.Marshal(b, m, deterministic) } + func (m *RPCRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_RPCRequest.Merge(m, src) } + func (m *RPCRequest) XXX_Size() int { return xxx_messageInfo_RPCRequest.Size(m) } + func (m *RPCRequest) XXX_DiscardUnknown() { xxx_messageInfo_RPCRequest.DiscardUnknown(m) } @@ -126,15 +136,19 @@ func (*RPCResponse) Descriptor() ([]byte, []int) { func (m *RPCResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RPCResponse.Unmarshal(m, b) } + func (m *RPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RPCResponse.Marshal(b, m, deterministic) } + func (m *RPCResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_RPCResponse.Merge(m, src) } + func (m *RPCResponse) XXX_Size() int { return xxx_messageInfo_RPCResponse.Size(m) } + func (m *RPCResponse) XXX_DiscardUnknown() { xxx_messageInfo_RPCResponse.DiscardUnknown(m) } @@ -177,8 +191,10 @@ var fileDescriptor_c6d8429895d2d55b = []byte{ } // Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn +var ( + _ context.Context + _ grpc.ClientConn +) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. diff --git a/networks/p2p/discover/node.go b/networks/p2p/discover/node.go index ce7696c7cd..40d3d21e75 100644 --- a/networks/p2p/discover/node.go +++ b/networks/p2p/discover/node.go @@ -139,8 +139,10 @@ func (n *Node) String() string { } // TODO-Klaytn-NodeDiscovery: Deprecate supporting "enode" -var incompleteNodeURL = regexp.MustCompile("(?i)^(?:kni://|enode://)?([0-9a-f]+)$") -var lookupIPFunc = net.LookupIP +var ( + incompleteNodeURL = regexp.MustCompile("(?i)^(?:kni://|enode://)?([0-9a-f]+)$") + lookupIPFunc = net.LookupIP +) // ParseNode parses a node designator. // @@ -150,8 +152,8 @@ var lookupIPFunc = net.LookupIP // // For incomplete nodes, the designator must look like one of these // -// kni:// or enode:// -// +// kni:// or enode:// +// // // For complete nodes, the node ID is encoded in the username portion // of the URL, separated from the host by an @ sign. The hostname can @@ -164,8 +166,8 @@ var lookupIPFunc = net.LookupIP // a node with IP address 10.3.58.6, TCP listening port 30303 // and UDP discovery port 30301. // -// kni://@10.3.58.6:30303?&subport=30304&discport=30301[&ntype=cn|pn|en|bn] -// enode://@10.3.58.6:30303?discport=30301[&ntype=cn|pn|en|bn] +// kni://@10.3.58.6:30303?&subport=30304&discport=30301[&ntype=cn|pn|en|bn] +// enode://@10.3.58.6:30303?discport=30301[&ntype=cn|pn|en|bn] func ParseNode(rawurl string) (*Node, error) { if m := incompleteNodeURL.FindStringSubmatch(rawurl); m != nil { id, err := HexID(m[1]) diff --git a/networks/p2p/nat/nat.go b/networks/p2p/nat/nat.go index b943b8bb87..9fccc9631f 100644 --- a/networks/p2p/nat/nat.go +++ b/networks/p2p/nat/nat.go @@ -58,12 +58,12 @@ type Interface interface { // The following formats are currently accepted. // Note that mechanism names are not case-sensitive. // -// "" or "none" return nil -// "extip:77.12.33.4" will assume the local machine is reachable on the given IP -// "any" uses the first auto-detected mechanism -// "upnp" uses the Universal Plug and Play protocol -// "pmp" uses NAT-PMP with an auto-detected gateway address -// "pmp:192.168.0.1" uses NAT-PMP with the given gateway address +// "" or "none" return nil +// "extip:77.12.33.4" will assume the local machine is reachable on the given IP +// "any" uses the first auto-detected mechanism +// "upnp" uses the Universal Plug and Play protocol +// "pmp" uses NAT-PMP with an auto-detected gateway address +// "pmp:192.168.0.1" uses NAT-PMP with the given gateway address func Parse(spec string) (Interface, error) { var ( parts = strings.SplitN(spec, ":", 2) diff --git a/networks/p2p/simulations/adapters/types.go b/networks/p2p/simulations/adapters/types.go index 36d828734d..46a1ec1581 100644 --- a/networks/p2p/simulations/adapters/types.go +++ b/networks/p2p/simulations/adapters/types.go @@ -44,7 +44,6 @@ import ( // * SimNode - An in-memory node // * ExecNode - A child process node // * DockerNode - A Docker container node -// type Node interface { // Addr returns the node's address (e.g. an Enode URL) Addr() []byte diff --git a/networks/p2p/simulations/mocker.go b/networks/p2p/simulations/mocker.go index 3dcde3b742..bdc8c55d3d 100644 --- a/networks/p2p/simulations/mocker.go +++ b/networks/p2p/simulations/mocker.go @@ -100,10 +100,10 @@ func startStop(net *Network, quit chan struct{}, nodeCount int) { } } -//The probabilistic mocker func has a more probabilistic pattern -//(the implementation could probably be improved): -//nodes are connected in a ring, then a varying number of random nodes is selected, -//mocker then stops and starts them in random intervals, and continues the loop +// The probabilistic mocker func has a more probabilistic pattern +// (the implementation could probably be improved): +// nodes are connected in a ring, then a varying number of random nodes is selected, +// mocker then stops and starts them in random intervals, and continues the loop func probabilistic(net *Network, quit chan struct{}, nodeCount int) { nodes, err := connectNodesInRing(net, nodeCount) if err != nil { diff --git a/networks/p2p/simulations/network.go b/networks/p2p/simulations/network.go index 3bce13968e..fbe68544f2 100644 --- a/networks/p2p/simulations/network.go +++ b/networks/p2p/simulations/network.go @@ -290,7 +290,6 @@ func (net *Network) Connect(oneID, otherID discover.NodeID) error { return client.Call(nil, "admin_addPeer", string(conn.other.Addr())) } -// // method on the "one" node that it connect to all "other" nodes func (net *Network) ConnectAll() error { logger.Debug(fmt.Sprintf("connecting all nodes to all other nodes")) diff --git a/networks/rpc/doc.go b/networks/rpc/doc.go index 8a3ad9c3d7..d4a017db0a 100644 --- a/networks/rpc/doc.go +++ b/networks/rpc/doc.go @@ -26,14 +26,15 @@ conventions can be called remotely. It also has support for the publish/subscrib pattern. Methods that satisfy the following criteria are made available for remote access: - - object must be exported - - method must be exported - - method returns 0, 1 (response or error) or 2 (response and error) values - - method argument(s) must be exported or builtin types - - method returned value(s) must be exported or builtin types + - object must be exported + - method must be exported + - method returns 0, 1 (response or error) or 2 (response and error) values + - method argument(s) must be exported or builtin types + - method returned value(s) must be exported or builtin types An example method: - func (s *CalcService) Add(a, b int) (int, error) + + func (s *CalcService) Add(a, b int) (int, error) When the returned error isn't nil the returned integer is ignored and the error is send back to the client. Otherwise the returned integer is send back to the client. @@ -42,7 +43,7 @@ Optional arguments are supported by accepting pointer values as arguments. E.g. if we want to do the addition in an optional finite field we can accept a mod argument as pointer value. - func (s *CalService) Add(a, b int, mod *int) (int, error) + func (s *CalService) Add(a, b int, mod *int) (int, error) This RPC method can be called with 2 integers and a null value as third argument. In that case the mod argument will be nil. Or it can be called with 3 integers, @@ -56,47 +57,49 @@ client using the codec. The server can execute requests concurrently. Responses can be sent back to the client out of order. An example server which uses the JSON codec: - type CalculatorService struct {} - func (s *CalculatorService) Add(a, b int) int { - return a + b - } + type CalculatorService struct {} - func (s *CalculatorService Div(a, b int) (int, error) { - if b == 0 { - return 0, errors.New("divide by zero") - } - return a/b, nil - } + func (s *CalculatorService) Add(a, b int) int { + return a + b + } + + func (s *CalculatorService Div(a, b int) (int, error) { + if b == 0 { + return 0, errors.New("divide by zero") + } + return a/b, nil + } - calculator := new(CalculatorService) - server := NewServer() - server.RegisterName("calculator", calculator") + calculator := new(CalculatorService) + server := NewServer() + server.RegisterName("calculator", calculator") - l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"}) - for { - c, _ := l.AcceptUnix() - codec := v2.NewJSONCodec(c) - go server.ServeCodec(codec) - } + l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"}) + for { + c, _ := l.AcceptUnix() + codec := v2.NewJSONCodec(c) + go server.ServeCodec(codec) + } The package also supports the publish subscribe pattern through the use of subscriptions. A method that is considered eligible for notifications must satisfy the following criteria: - - object must be exported - - method must be exported - - first method argument type must be context.Context - - method argument(s) must be exported or builtin types - - method must return the tuple Subscription, error + - object must be exported + - method must be exported + - first method argument type must be context.Context + - method argument(s) must be exported or builtin types + - method must return the tuple Subscription, error An example method: - func (s *BlockChainService) NewBlocks(ctx context.Context) (Subscription, error) { - ... - } + + func (s *BlockChainService) NewBlocks(ctx context.Context) (Subscription, error) { + ... + } Subscriptions are deleted when: - - the user sends an unsubscribe request - - the connection which was used to create the subscription is closed. This can be initiated - by the client and server. The server will close the connection on a write error or when - the queue of buffered notifications gets too big. + - the user sends an unsubscribe request + - the connection which was used to create the subscription is closed. This can be initiated + by the client and server. The server will close the connection on a write error or when + the queue of buffered notifications gets too big. */ package rpc diff --git a/node/cn/protocol.go b/node/cn/protocol.go index 2700b7e9de..833dbd7b39 100644 --- a/node/cn/protocol.go +++ b/node/cn/protocol.go @@ -128,8 +128,9 @@ var errorToString = map[int]string{ ErrUnsupportedEnginePolicy: "Unsupported engine or policy", } -//go:generate mockgen -destination=node/cn/mocks/downloader_mock.go -package=mocks github.com/klaytn/klaytn/node/cn ProtocolManagerDownloader // ProtocolManagerDownloader is an interface of downloader.Downloader used by ProtocolManager. +// +//go:generate mockgen -destination=node/cn/mocks/downloader_mock.go -package=mocks github.com/klaytn/klaytn/node/cn ProtocolManagerDownloader type ProtocolManagerDownloader interface { RegisterPeer(id string, version int, peer downloader.Peer) error UnregisterPeer(id string) error @@ -151,8 +152,9 @@ type ProtocolManagerDownloader interface { SyncStakingInfoStatus() *downloader.SyncingStatus } -//go:generate mockgen -destination=node/cn/mocks/fetcher_mock.go -package=mocks github.com/klaytn/klaytn/node/cn ProtocolManagerFetcher // ProtocolManagerFetcher is an interface of fetcher.Fetcher used by ProtocolManager. +// +//go:generate mockgen -destination=node/cn/mocks/fetcher_mock.go -package=mocks github.com/klaytn/klaytn/node/cn ProtocolManagerFetcher type ProtocolManagerFetcher interface { Enqueue(peer string, block *types.Block) error FilterBodies(peer string, transactions [][]*types.Transaction, time time.Time) [][]*types.Transaction diff --git a/node/cn/tracers/internal/tracers/assets.go b/node/cn/tracers/internal/tracers/assets.go index db9f2af1f4..3b09425432 100644 --- a/node/cn/tracers/internal/tracers/assets.go +++ b/node/cn/tracers/internal/tracers/assets.go @@ -354,11 +354,13 @@ var _bindata = map[string]func() (*asset, error){ // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// data/ -// foo.txt -// img/ -// a.png -// b.png +// +// data/ +// foo.txt +// img/ +// a.png +// b.png +// // then AssetDir("data") would return []string{"foo.txt", "img"} // AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("foo.txt") and AssetDir("notexist") would return an error diff --git a/node/doc.go b/node/doc.go index 53dd5d8f67..3f372f99b5 100644 --- a/node/doc.go +++ b/node/doc.go @@ -25,8 +25,7 @@ In the model exposed by this package, a node is a collection of services which u resources to provide RPC APIs. Services can also offer devp2p protocols, which are wired up to the devp2p network when the node instance is started. - -Resources Managed By Node +# Resources Managed By Node All file-system resources used by a node instance are located in a directory called the data directory. The location of each resource can be overridden through additional node @@ -50,8 +49,7 @@ without a data directory, databases are opened in memory instead. Node also creates the shared store of encrypted Klaytn account keys. Services can access the account manager through the service context. - -Sharing Data Directory Among Instances +# Sharing Data Directory Among Instances Multiple node instances can share a single data directory if they have distinct instance names (set through the Name config option). Sharing behaviour depends on the type of @@ -69,29 +67,28 @@ create one database for each instance. The account key store is shared among all node instances using the same data directory unless its location is changed through the KeyStoreDir configuration option. - -Data Directory Sharing Example +# Data Directory Sharing Example In this example, two node instances named A and B are started with the same data directory. Mode instance A opens the database "db", node instance B opens the databases "db" and "db-2". The following files will be created in the data directory: - data-directory/ - A/ - nodekey -- devp2p node key of instance A - nodes/ -- devp2p discovery knowledge database of instance A - db/ -- LevelDB content for "db" - A.ipc -- JSON-RPC UNIX domain socket endpoint of instance A - B/ - nodekey -- devp2p node key of node B - nodes/ -- devp2p discovery knowledge database of instance B - static-nodes.json -- devp2p static node list of instance B - db/ -- LevelDB content for "db" - db-2/ -- LevelDB content for "db-2" - B.ipc -- JSON-RPC UNIX domain socket endpoint of instance A - keystore/ -- account key store, used by both instances - -Source Files + data-directory/ + A/ + nodekey -- devp2p node key of instance A + nodes/ -- devp2p discovery knowledge database of instance A + db/ -- LevelDB content for "db" + A.ipc -- JSON-RPC UNIX domain socket endpoint of instance A + B/ + nodekey -- devp2p node key of node B + nodes/ -- devp2p discovery knowledge database of instance B + static-nodes.json -- devp2p static node list of instance B + db/ -- LevelDB content for "db" + db-2/ -- LevelDB content for "db-2" + B.ipc -- JSON-RPC UNIX domain socket endpoint of instance A + keystore/ -- account key store, used by both instances + +# Source Files Functions and variables related to Node are defined in the files listed below - config.go : Define the Config type for node creation diff --git a/node/node_example_test.go b/node/node_example_test.go index 769d15546d..83e65d2f8a 100644 --- a/node/node_example_test.go +++ b/node/node_example_test.go @@ -33,10 +33,10 @@ import ( // life cycle management. // // The following methods are needed to implement a node.Service: -// - Protocols() []p2p.Protocol - devp2p protocols the service can communicate on -// - APIs() []rpc.API - api methods the service wants to expose on rpc channels -// - Start() error - method invoked when the node is ready to start the service -// - Stop() error - method invoked when the node terminates the service +// - Protocols() []p2p.Protocol - devp2p protocols the service can communicate on +// - APIs() []rpc.API - api methods the service wants to expose on rpc channels +// - Start() error - method invoked when the node is ready to start the service +// - Stop() error - method invoked when the node terminates the service type SampleService struct{} func (s *SampleService) Protocols() []p2p.Protocol { return nil } diff --git a/node/sc/bridgepool/doc.go b/node/sc/bridgepool/doc.go index 2b1b3cf155..fbc86cf48b 100644 --- a/node/sc/bridgepool/doc.go +++ b/node/sc/bridgepool/doc.go @@ -17,7 +17,7 @@ /* Package bridgepool implements a pool of transactions generated by RemoteBackend. -Source files +# Source files Each file provides the following features. - bridge_tx_journal.go : logs transactions generated by SubBridge to allow non-executed ones to survive node restarts. diff --git a/node/sc/doc.go b/node/sc/doc.go index cd3b946728..b83e5d997f 100644 --- a/node/sc/doc.go +++ b/node/sc/doc.go @@ -26,7 +26,6 @@ The followings describe main features of Service chain. - Various bridge contract configurations - Support high availability - Service Chain provides the inter-connectivity to another Klaytn chain through two bridges, MainBridge and SubBridge. Each bridge has a bridge contract on different blockchain networks and pairs up with another bridge to interact with. They are directly connected on the network layer and communicate with each other through p2p messages enabling inter-chain operations. @@ -47,8 +46,7 @@ Following is the process of the KLAY transfer from Klaytn main chain to a Servic 4. The SubBridge generates a transaction on the child chain node to the bridge contract of the SubBridge. 5. Finally, The bridge contract mints (or uses its KLAY) and sends KLAY to the target address. - -Source Files +# Source Files Functions and variables related to Service Chain are defined in the files listed below. - api_bridge.go : provides APIs for MainBridge or SubBridge. diff --git a/params/denomination.go b/params/denomination.go index 0d10401e99..89b33ae146 100644 --- a/params/denomination.go +++ b/params/denomination.go @@ -23,8 +23,7 @@ package params // These are the multipliers for KLAY denominations. // Example: To get the peb value of an amount in 'ston', use // -// new(big.Int).Mul(value, big.NewInt(params.Ston)) -// +// new(big.Int).Mul(value, big.NewInt(params.Ston)) const ( Peb = 1 // official notation 'peb' Kpeb = 1e3 // official notation 'kpeb' diff --git a/params/doc.go b/params/doc.go index efc4d5295c..61d3e85080 100644 --- a/params/doc.go +++ b/params/doc.go @@ -17,18 +17,18 @@ /* Package params contains configuration parameters for Klaytn. -Source Files +# Source Files Each file contains following parameters. - - bootnodes.go : Provides boot nodes information for Cypress and Baobab - - computation_cost_params.go : Defines computation costs for each opcode - - config.go : Defines various structs for different settings of a network. Also provides getters for those settings - - denomination.go : Defines units of KLAY - - gas_table.go : Organizes gas prices for different Klaytn phases. Currently prices for Cypress is defined - - governance_params.go : Defines constants for governance and reward system. Also provides setters and getters for reward releated variables - - network_params.go : Defines network parameters that need to be constant between clients. Only `BloomBitsBlocks` is defined at the moment - - protocol_params.go : Defines fee schedule, total time limit and maximum computation cost - - version.go : Defines release and version number. Also provides a getter for the version + - bootnodes.go : Provides boot nodes information for Cypress and Baobab + - computation_cost_params.go : Defines computation costs for each opcode + - config.go : Defines various structs for different settings of a network. Also provides getters for those settings + - denomination.go : Defines units of KLAY + - gas_table.go : Organizes gas prices for different Klaytn phases. Currently prices for Cypress is defined + - governance_params.go : Defines constants for governance and reward system. Also provides setters and getters for reward releated variables + - network_params.go : Defines network parameters that need to be constant between clients. Only `BloomBitsBlocks` is defined at the moment + - protocol_params.go : Defines fee schedule, total time limit and maximum computation cost + - version.go : Defines release and version number. Also provides a getter for the version */ package params diff --git a/reward/doc.go b/reward/doc.go index 6314637e0b..971c4d3ca4 100644 --- a/reward/doc.go +++ b/reward/doc.go @@ -18,7 +18,7 @@ Package reward implements the Klaytn Reward System. The Klaytn reward system manages stakingInfo and distributes block rewards. -Managing stakingInfo +# Managing stakingInfo Klaytn uses WeightedRandom policy to choose a block proposer. It means, the percentage of becoming a block proposer depends on how much KLAY a node has staked. @@ -48,16 +48,14 @@ StakingInfo is managed by a StakingManager which has a cache for saving StakingI The StakingManager calculates block number with interval to find a stakingInfo for current block and returns correct stakingInfo to use. + related struct + - RewardDistributor + - StakingManager + - addressBookConnector + - stakingInfoCache + - stakingInfo - related struct - - RewardDistributor - - StakingManager - - addressBookConnector - - stakingInfoCache - - stakingInfo - - -Distributing Reward +# Distributing Reward Klaytn distributes the reward of a block to proposer, KFF and KCF. The detail information of KFF and KCF is available on Klaytn docs. @@ -73,8 +71,8 @@ First, calculate totalReward by adding mintingAmount and totalTxFee (unitPrice * Second, divide totalReward by ratio (default 34/54/12 - proposer/KFF/KCF). Last, distribute reward to each address (proposer, KFF, KCF). - related struct - - RewardDistributor - - rewardConfigCache + related struct + - RewardDistributor + - rewardConfigCache */ package reward diff --git a/rlp/decode.go b/rlp/decode.go index 0c1bb943a8..0992ba85e4 100644 --- a/rlp/decode.go +++ b/rlp/decode.go @@ -80,7 +80,7 @@ type Decoder interface { // Note that Decode does not set an input limit for all readers and may be vulnerable to // panics cause by huge value sizes. If you need an input limit, use // -// NewStream(r, limit).Decode(val) +// NewStream(r, limit).Decode(val) func Decode(r io.Reader, val interface{}) error { stream := streamPool.Get().(*Stream) defer streamPool.Put(stream) diff --git a/rlp/doc.go b/rlp/doc.go index 113828e39b..8dd5c89b8e 100644 --- a/rlp/doc.go +++ b/rlp/doc.go @@ -27,8 +27,7 @@ value zero equivalent to the empty string). RLP values are distinguished by a type tag. The type tag precedes the value in the input stream and defines the size and kind of the bytes that follow. - -Encoding Rules +# Encoding Rules Package rlp uses reflection and encodes RLP based on the Go type of the value. @@ -58,8 +57,7 @@ An interface value encodes as the value contained in the interface. Floating point numbers, maps, channels and functions are not supported. - -Decoding Rules +# Decoding Rules Decoding uses the following type-dependent rules: @@ -93,30 +91,29 @@ or one (true). To decode into an interface value, one of these types is stored in the value: - []interface{}, for RLP lists - []byte, for RLP strings + []interface{}, for RLP lists + []byte, for RLP strings Non-empty interface types are not supported when decoding. Signed integers, floating point numbers, maps, channels and functions cannot be decoded into. - -Struct Tags +# Struct Tags As with other encoding packages, the "-" tag ignores fields. - type StructWithIgnoredField struct{ - Ignored uint `rlp:"-"` - Field uint - } + type StructWithIgnoredField struct{ + Ignored uint `rlp:"-"` + Field uint + } Go struct values encode/decode as RLP lists. There are two ways of influencing the mapping of fields to list elements. The "tail" tag, which may only be used on the last exported struct field, allows slurping up any excess list elements into a slice. - type StructWithTail struct{ - Field uint - Tail []string `rlp:"tail"` - } + type StructWithTail struct{ + Field uint + Tail []string `rlp:"tail"` + } The "optional" tag says that the field may be omitted if it is zero-valued. If this tag is used on a struct field, all subsequent public fields must also be declared optional. @@ -128,11 +125,11 @@ When decoding into a struct, optional fields may be omitted from the end of the list. For the example below, this means input lists of one, two, or three elements are accepted. - type StructWithOptionalFields struct{ - Required uint - Optional1 uint `rlp:"optional"` - Optional2 uint `rlp:"optional"` - } + type StructWithOptionalFields struct{ + Required uint + Optional1 uint `rlp:"optional"` + Optional2 uint `rlp:"optional"` + } The "nil", "nilList" and "nilString" tags apply to pointer-typed fields only, and change the decoding rules for the field type. For regular pointer fields without the "nil" tag, @@ -140,9 +137,9 @@ input values must always match the required input length exactly and the decoder produce nil values. When the "nil" tag is set, input values of size zero decode as a nil pointer. This is especially useful for recursive types. - type StructWithNilField struct { - Field *[3]byte `rlp:"nil"` - } + type StructWithNilField struct { + Field *[3]byte `rlp:"nil"` + } In the example above, Field allows two possible input sizes. For input 0xC180 (a list containing an empty string) Field is set to nil after decoding. For input 0xC483000000 (a diff --git a/snapshot/generate_test.go b/snapshot/generate_test.go index b1ea255e6f..e75580d322 100644 --- a/snapshot/generate_test.go +++ b/snapshot/generate_test.go @@ -275,10 +275,12 @@ func (t *testHelper) Generate() (common.Hash, *diskLayer) { // - miss in the beginning // - miss in the middle // - miss in the end +// // - the contract(non-empty storage) has wrong storage slots // - wrong slots in the beginning // - wrong slots in the middle // - wrong slots in the end +// // - the contract(non-empty storage) has extra storage slots // - extra slots in the beginning // - extra slots in the middle diff --git a/snapshot/snapshot.go b/snapshot/snapshot.go index 164066e24a..deb78ce0e3 100644 --- a/snapshot/snapshot.go +++ b/snapshot/snapshot.go @@ -194,10 +194,10 @@ type Tree struct { // If the memory layers in the journal do not match the disk layer (e.g. there is // a gap) or the journal is missing, there are two repair cases: // -// - if the 'recovery' parameter is true, all memory diff-layers will be discarded. -// This case happens when the snapshot is 'ahead' of the state trie. -// - otherwise, the entire snapshot is considered invalid and will be recreated on -// a background thread. +// - if the 'recovery' parameter is true, all memory diff-layers will be discarded. +// This case happens when the snapshot is 'ahead' of the state trie. +// - otherwise, the entire snapshot is considered invalid and will be recreated on +// a background thread. func New(diskdb database.DBManager, triedb *statedb.Database, cache int, root common.Hash, async bool, rebuild bool, recovery bool) (*Tree, error) { // Create a new, empty snapshot tree snap := &Tree{ diff --git a/storage/database/doc.go b/storage/database/doc.go index fc8f516da4..c54c796603 100644 --- a/storage/database/doc.go +++ b/storage/database/doc.go @@ -18,7 +18,7 @@ Package database implements various types of databases used in Klaytn. This package is used to read/write data from/to the persistent layer. -Overview of database package +# Overview of database package DBManager is the interface used by the consumers of database package. databaseManager is the implementation of DBManager interface. It contains cacheManager and a list of Database interfaces. diff --git a/storage/database/dynamodb.go b/storage/database/dynamodb.go index 684e34c094..7649c68e6c 100644 --- a/storage/database/dynamodb.go +++ b/storage/database/dynamodb.go @@ -134,8 +134,9 @@ func (r CustomRetryer) ShouldRetry(req *request.Request) bool { // // If you use this config, you will be charged for what you use. // You need to set AWS credentials to access to dynamoDB. -// $ export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY -// $ export AWS_SECRET_ACCESS_KEY=YOUR_SECRET +// +// $ export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY +// $ export AWS_SECRET_ACCESS_KEY=YOUR_SECRET func GetDefaultDynamoDBConfig() *DynamoDBConfig { return &DynamoDBConfig{ Region: "ap-northeast-2", diff --git a/storage/database/dynamodb_test.go b/storage/database/dynamodb_test.go index f836067ccf..2f54675587 100644 --- a/storage/database/dynamodb_test.go +++ b/storage/database/dynamodb_test.go @@ -38,7 +38,8 @@ import ( // GetTestDynamoConfig gets dynamo config for local test // // Please Run DynamoDB local with docker -// $ docker run -d -p 4566:4566 localstack/localstack:0.11.5 +// +// $ docker run -d -p 4566:4566 localstack/localstack:0.11.5 func GetTestDynamoConfig() *DynamoDBConfig { return &DynamoDBConfig{ Region: "us-east-1", diff --git a/storage/database/leveldb_database.go b/storage/database/leveldb_database.go index 9fae992b55..0b282a9d5b 100644 --- a/storage/database/leveldb_database.go +++ b/storage/database/leveldb_database.go @@ -399,13 +399,14 @@ func (db *levelDB) Meter(prefix string) { // the metrics subsystem. // // This is how a stats table look like (currently): -// Compactions -// Level | Tables | Size(MB) | Time(sec) | Read(MB) | Write(MB) -// -------+------------+---------------+---------------+---------------+--------------- -// 0 | 0 | 0.00000 | 1.27969 | 0.00000 | 12.31098 -// 1 | 85 | 109.27913 | 28.09293 | 213.92493 | 214.26294 -// 2 | 523 | 1000.37159 | 7.26059 | 66.86342 | 66.77884 -// 3 | 570 | 1113.18458 | 0.00000 | 0.00000 | 0.00000 +// +// Compactions +// Level | Tables | Size(MB) | Time(sec) | Read(MB) | Write(MB) +// -------+------------+---------------+---------------+---------------+--------------- +// 0 | 0 | 0.00000 | 1.27969 | 0.00000 | 12.31098 +// 1 | 85 | 109.27913 | 28.09293 | 213.92493 | 214.26294 +// 2 | 523 | 1000.37159 | 7.26059 | 66.86342 | 66.77884 +// 3 | 570 | 1113.18458 | 0.00000 | 0.00000 | 0.00000 // // This is how the iostats look like (currently): // Read(MB):3895.04860 Write(MB):3654.64712 diff --git a/storage/statedb/cache.go b/storage/statedb/cache.go index bc2e235f60..9de49af03f 100644 --- a/storage/statedb/cache.go +++ b/storage/statedb/cache.go @@ -47,8 +47,9 @@ func (c *TrieNodeCacheConfig) DumpPeriodically() bool { return false } -//go:generate mockgen -destination=storage/statedb/mocks/trie_node_cache_mock.go github.com/klaytn/klaytn/storage/statedb TrieNodeCache // TrieNodeCache interface the cache of stateDB +// +//go:generate mockgen -destination=storage/statedb/mocks/trie_node_cache_mock.go github.com/klaytn/klaytn/storage/statedb TrieNodeCache type TrieNodeCache interface { Set(k, v []byte) Get(k []byte) []byte diff --git a/storage/statedb/doc.go b/storage/statedb/doc.go index 3b6288d058..706a548e34 100644 --- a/storage/statedb/doc.go +++ b/storage/statedb/doc.go @@ -22,7 +22,7 @@ Package statedb implements the Merkle Patricia Trie structure used for state object trie. This package is used to read/write data from/to the state object trie. -Overview of statedb package +# Overview of statedb package There are 3 key struct in this package: Trie, SecureTrie and Database. @@ -36,8 +36,7 @@ Database is an intermediate write layer between the trie data structures and the disk database. The aim is to accumulate trie writes in-memory and only periodically flush a couple tries to disk, garbage collecting the remainder. - -Source Files +# Source Files Related functions and variables are defined in the files listed below - database.go : Implementation of Database struct diff --git a/storage/statedb/print_trie_test.go b/storage/statedb/print_trie_test.go index 310886c45d..291ba37767 100644 --- a/storage/statedb/print_trie_test.go +++ b/storage/statedb/print_trie_test.go @@ -22,9 +22,9 @@ import ( "testing" ) -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // Additional member functions of Iterator (defined in iterator.go) -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// func (it *Iterator) NextAny() bool { if it.nodeIt.Next(true) { return true @@ -33,9 +33,9 @@ func (it *Iterator) NextAny() bool { return false } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // Additional member functions of nodeIterator (defined in iterator.go) -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// func (it *nodeIterator) GetType() string { if len(it.stack) == 0 { return "" @@ -58,12 +58,12 @@ func (it *nodeIterator) GetKeyNibbles() (key, key_nibbles string) { return string(hexToKeybytes(k)), key_nibbles } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // NodeIntMap // // Stores a mapping between node* and int // This is required to make an integer ID of a node object for id in vis.js. -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// type NodeIntMap struct { hashMap map[*node]int counter int @@ -85,11 +85,11 @@ func (m *NodeIntMap) Get(h *node) int { return m.hashMap[h] } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // VisNode // // Describes a node object in vis.js. -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// type VisNode struct { id int label string @@ -112,11 +112,11 @@ func SerializeNodes(nodes []VisNode) (ret string) { return } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // VisEdge // // Describes an edge object in vis.js. -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// type VisEdge struct { from int to int @@ -135,11 +135,11 @@ func SerializeEdges(edges []VisEdge) (ret string) { return } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // TestPrintTrie // // You can execute only this test by `go test -run TestPrintTrie` -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// func TestPrintTrie(t *testing.T) { trie := newEmptyTrie() vals := []struct{ k, v string }{ diff --git a/storage/statedb/proof.go b/storage/statedb/proof.go index c8da81d849..75f95e2162 100644 --- a/storage/statedb/proof.go +++ b/storage/statedb/proof.go @@ -350,9 +350,9 @@ findFork: // unset removes all internal node references either the left most or right most. // It can meet these scenarios: // -// - The given path is existent in the trie, unset the associated nodes with the -// specific direction -// - The given path is non-existent in the trie +// - The given path is existent in the trie, unset the associated nodes with the +// specific direction +// - The given path is non-existent in the trie // - the fork point is a fullnode, the corresponding child pointed by path // is nil, return // - the fork point is a shortnode, the shortnode is included in the range, @@ -467,15 +467,15 @@ func hasRightElement(node node, key []byte) bool { // Expect the normal case, this function can also be used to verify the following // range proofs: // -// - All elements proof. In this case the proof can be nil, but the range should -// be all the leaves in the trie. +// - All elements proof. In this case the proof can be nil, but the range should +// be all the leaves in the trie. // -// - One element proof. In this case no matter the edge proof is a non-existent -// proof or not, we can always verify the correctness of the proof. +// - One element proof. In this case no matter the edge proof is a non-existent +// proof or not, we can always verify the correctness of the proof. // -// - Zero element proof. In this case a single non-existent proof is enough to prove. -// Besides, if there are still some other leaves available on the right side, then -// an error will be returned. +// - Zero element proof. In this case a single non-existent proof is enough to prove. +// Besides, if there are still some other leaves available on the right side, then +// an error will be returned. // // Except returning the error to indicate the proof is valid or not, the function will // also return a flag to indicate whether there exists more accounts/slots in the trie. diff --git a/storage/statedb/stacktrie.go b/storage/statedb/stacktrie.go index 00689e31ba..a1783acbc9 100644 --- a/storage/statedb/stacktrie.go +++ b/storage/statedb/stacktrie.go @@ -366,11 +366,12 @@ func (st *StackTrie) insert(key, value []byte) { // hash() hashes the node 'st' and converts it into 'hashedNode', if possible. // Possible outcomes: // 1. The rlp-encoded value was >= 32 bytes: -// - Then the 32-byte `hash` will be accessible in `st.val`. -// - And the 'st.type' will be 'hashedNode' +// - Then the 32-byte `hash` will be accessible in `st.val`. +// - And the 'st.type' will be 'hashedNode' +// // 2. The rlp-encoded value was < 32 bytes -// - Then the <32 byte rlp-encoded value will be accessible in 'st.val'. -// - And the 'st.type' will be 'hashedNode' AGAIN +// - Then the <32 byte rlp-encoded value will be accessible in 'st.val'. +// - And the 'st.type' will be 'hashedNode' AGAIN // // This method will also: // set 'st.type' to hashedNode diff --git a/tests/addtx_test.go b/tests/addtx_test.go index 402efe543e..210c76f2ee 100644 --- a/tests/addtx_test.go +++ b/tests/addtx_test.go @@ -41,9 +41,9 @@ func init() { flag.BoolVar(&cpuprofile, "addtx_profile", false, "Enable cpu profiling for AddTx") } -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// // BenchmarkAddTx -//////////////////////////////////////////////////////////////////////////////// +// ////////////////////////////////////////////////////////////////////////////// func BenchmarkAddTx(b *testing.B) { cacheSender := []bool{false, true} maxAccounts := []int{1000 + 100, 1000 + 1000, 1000 + 10000} diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 09ef60ab70..3c64ad85f7 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -144,17 +144,18 @@ func (t *BlockTest) genesis(config *params.ChainConfig) *blockchain.Genesis { } } -/* See https://github.com/ethereum/tests/wiki/Blockchain-Tests-II +/* +See https://github.com/ethereum/tests/wiki/Blockchain-Tests-II - Whether a block is valid or not is a bit subtle, it's defined by presence of - blockHeader and transactions fields. If they are missing, the block is - invalid and we must verify that we do not accept it. + Whether a block is valid or not is a bit subtle, it's defined by presence of + blockHeader and transactions fields. If they are missing, the block is + invalid and we must verify that we do not accept it. - Since some tests mix valid and invalid blocks we need to check this for every block. + Since some tests mix valid and invalid blocks we need to check this for every block. - If a block is invalid it does not necessarily fail the test, if it's invalidness is - expected we are expected to ignore it and continue processing and then validate the - post state. + If a block is invalid it does not necessarily fail the test, if it's invalidness is + expected we are expected to ignore it and continue processing and then validate the + post state. */ func (t *BlockTest) insertBlocks(blockchain *blockchain.BlockChain) ([]btBlock, error) { validBlocks := make([]btBlock, 0) diff --git a/tests/klay_test.go b/tests/klay_test.go index 9f1a492432..6a78231432 100644 --- a/tests/klay_test.go +++ b/tests/klay_test.go @@ -47,9 +47,9 @@ func init() { "Specify the number of transactions per block") } -//////////////////////////////////////////////////////////////////////////////// +// ============================================================================== // TestValueTransfer -//////////////////////////////////////////////////////////////////////////////// +// ============================================================================== type testOption struct { numTransactions int numMaxAccounts int diff --git a/utils/build/doc.go b/utils/build/doc.go index b51f9bda68..7c50432503 100644 --- a/utils/build/doc.go +++ b/utils/build/doc.go @@ -17,12 +17,12 @@ /* Package build contains the utility functions for the build environment. -Source Files +# Source Files Each file contains the following contents - - archive.go: Provides functions to create a zip or tarball archive. - - env.go: Provides functions to retrieve environment variables and apply given values. - - pgp.go: Provides functions to parse a PGP private key. - - util.go: Provides utility functions to run command, git, file copy and so on. + - archive.go: Provides functions to create a zip or tarball archive. + - env.go: Provides functions to retrieve environment variables and apply given values. + - pgp.go: Provides functions to parse a PGP private key. + - util.go: Provides utility functions to run command, git, file copy and so on. */ package build diff --git a/work/doc.go b/work/doc.go index 8785852e00..8dd5ccddd7 100644 --- a/work/doc.go +++ b/work/doc.go @@ -26,9 +26,9 @@ work package is in charge of generating blocks and it contains `miner`, `worker` `worker` contains `agent`s and each `agent` performs mining activity. Source Files - - agent.go : Provides CpuAgent and accompanying functions which works as an agent of a miner. Agent is in charge of creating a block - - remote_agent.go : Provides RemoteAgent working as an another agent for a miner and can be controlled by RPC calls - - work.go : Provides Miner struct and interfaces through which the miner communicate with other objects - - worker.go : Provides Worker and performs the main part of block creation + - agent.go : Provides CpuAgent and accompanying functions which works as an agent of a miner. Agent is in charge of creating a block + - remote_agent.go : Provides RemoteAgent working as an another agent for a miner and can be controlled by RPC calls + - work.go : Provides Miner struct and interfaces through which the miner communicate with other objects + - worker.go : Provides Worker and performs the main part of block creation */ package work diff --git a/work/work.go b/work/work.go index 59c737a048..7c37b00c7a 100644 --- a/work/work.go +++ b/work/work.go @@ -44,8 +44,9 @@ import ( var logger = log.NewModuleLogger(log.Work) -//go:generate mockgen -destination=work/mocks/txpool_mock.go -package=mocks github.com/klaytn/klaytn/work TxPool // TxPool is an interface of blockchain.TxPool used by ProtocolManager and Backend. +// +//go:generate mockgen -destination=work/mocks/txpool_mock.go -package=mocks github.com/klaytn/klaytn/work TxPool type TxPool interface { // HandleTxMsg should add the given transactions to the pool. HandleTxMsg(types.Transactions) @@ -219,8 +220,9 @@ func (self *Miner) PendingBlock() *types.Block { return self.worker.pendingBlock() } -//go:generate mockgen -destination=mocks/blockchain_mock.go -package=mocks github.com/klaytn/klaytn/work BlockChain // BlockChain is an interface of blockchain.BlockChain used by ProtocolManager. +// +//go:generate mockgen -destination=mocks/blockchain_mock.go -package=mocks github.com/klaytn/klaytn/work BlockChain type BlockChain interface { Genesis() *types.Block From 4565f5718370eb29ed9de9f90b636cf112e57c35 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 14:37:09 +0900 Subject: [PATCH 02/16] Update TODO to Kaia --- accounts/abi/bind/auth.go | 2 +- accounts/abi/bind/backends/blockchain.go | 4 +-- accounts/abi/bind/bind_test.go | 2 +- accounts/keystore/account_cache_test.go | 4 +-- api/api_ethereum.go | 2 +- api/api_public_transaction_pool.go | 2 +- api/tx_args.go | 4 +-- blockchain/bad_blocks.go | 2 +- blockchain/blockchain.go | 30 +++++++++---------- blockchain/blockchain_test.go | 4 +-- blockchain/chain_indexer_test.go | 2 +- blockchain/chain_makers_test.go | 2 +- blockchain/genesis_test.go | 2 +- blockchain/headerchain.go | 2 +- blockchain/spam_throttler.go | 2 +- blockchain/state/statedb.go | 2 +- blockchain/tx_pool.go | 6 ++-- blockchain/tx_pool_test.go | 4 +-- blockchain/types/account/account.go | 2 +- .../accountkey/account_key_role_based.go | 2 +- .../account_key_weighted_multi_sig.go | 4 +-- blockchain/types/receipt.go | 6 ++-- blockchain/types/transaction.go | 4 +-- blockchain/types/transaction_test.go | 4 +-- blockchain/types/tx_internal_data.go | 4 +-- blockchain/types/tx_signatures.go | 4 +-- blockchain/vm/contracts_test.go | 2 +- blockchain/vm/evm.go | 28 ++++++++--------- blockchain/vm/interpreter.go | 10 +++---- blockchain/vm/logger_json.go | 2 +- client/bridge_client.go | 2 +- client/klay_client.go | 4 +-- client/signer.go | 12 ++++---- cmd/homi/genesis/genesis.go | 2 +- cmd/kbn/main.go | 2 +- cmd/utils/cmd.go | 2 +- cmd/utils/config.go | 4 +-- cmd/utils/flaggroup.go | 2 +- cmd/utils/flags.go | 18 +++++------ cmd/utils/nodecmd/chaincmd.go | 2 +- cmd/utils/nodecmd/consolecmd.go | 2 +- cmd/utils/nodecmd/defaultcmd.go | 2 +- cmd/utils/nodecmd/flags_test.go | 16 +++++----- cmd/utils/nodeflags.go | 2 +- common/bitutil/doc.go | 2 +- common/cache.go | 2 +- common/types_test.go | 2 +- consensus/gxhash/algorithm_test.go | 2 +- consensus/gxhash/consensus_test.go | 2 +- consensus/istanbul/backend/api.go | 2 +- consensus/istanbul/backend/backend.go | 4 +-- consensus/istanbul/backend/engine.go | 2 +- consensus/istanbul/backend/engine_test.go | 2 +- consensus/istanbul/backend/handler.go | 2 +- consensus/istanbul/backend/snapshot.go | 2 +- consensus/istanbul/config.go | 2 +- consensus/istanbul/core/commit.go | 2 +- consensus/istanbul/core/core.go | 4 +-- consensus/istanbul/core/handler.go | 2 +- consensus/istanbul/core/handler_test.go | 2 +- consensus/istanbul/core/roundchange.go | 2 +- consensus/istanbul/validator.go | 2 +- consensus/istanbul/validator/default.go | 4 +-- consensus/istanbul/validator/validator.go | 2 +- consensus/istanbul/validator/weighted.go | 26 ++++++++-------- datasync/dbsyncer/dbsync_context.go | 2 +- datasync/dbsyncer/tx_record.go | 4 +-- datasync/downloader/downloader.go | 4 +-- datasync/downloader/downloader_test.go | 2 +- datasync/downloader/peer.go | 2 +- datasync/downloader/queue.go | 2 +- datasync/fetcher/fetcher.go | 2 +- governance/api.go | 2 +- governance/default.go | 4 +-- kerrors/kerrors.go | 4 +-- log/log_modules.go | 2 +- networks/grpc/gServer.go | 4 +-- networks/p2p/dial.go | 2 +- networks/p2p/discover/discover_api.go | 2 +- networks/p2p/discover/discover_storage.go | 2 +- .../p2p/discover/discover_storage_kademlia.go | 6 ++-- .../p2p/discover/discover_storage_simple.go | 6 ++-- networks/p2p/discover/node.go | 2 +- networks/p2p/discover/table.go | 2 +- networks/p2p/discover/udp.go | 8 ++--- networks/p2p/discover/utils.go | 2 +- networks/p2p/server.go | 8 ++--- networks/p2p/simulations/http_test.go | 2 +- networks/p2p/tracker/tracker.go | 2 +- networks/rpc/client_test.go | 2 +- networks/rpc/handler.go | 2 +- networks/rpc/http.go | 2 +- networks/rpc/http_newrelic.go | 4 +-- networks/rpc/server.go | 2 +- networks/rpc/websocket.go | 4 +-- node/api.go | 2 +- node/cn/api.go | 22 +++++++------- node/cn/backend.go | 4 +-- node/cn/gasprice/feehistory.go | 6 ++-- node/cn/handler.go | 18 +++++------ node/cn/peer.go | 8 ++--- node/cn/peer_set.go | 2 +- node/cn/protocol.go | 2 +- node/cn/snap/handler.go | 14 ++++----- node/cn/snap/sync.go | 8 ++--- node/config_test.go | 2 +- node/node.go | 2 +- node/sc/api_bridge.go | 2 +- node/sc/bridge_accounts.go | 2 +- node/sc/bridge_addr_journal.go | 2 +- node/sc/bridge_manager.go | 8 ++--- node/sc/bridge_manager_test.go | 2 +- node/sc/bridge_test.go | 2 +- node/sc/bridgepool/bridge_tx_pool.go | 8 ++--- node/sc/local_backend.go | 10 +++---- node/sc/main_bridge_handler.go | 2 +- node/sc/main_event_handler.go | 8 ++--- node/sc/metrics.go | 2 +- node/sc/remote_backend.go | 2 +- node/sc/sub_bridge_handler.go | 16 +++++----- node/sc/sub_event_handler.go | 10 +++---- node/sc/subbridge.go | 4 +-- node/sc/vt_recovery.go | 2 +- node/sc/vt_recovery_test.go | 16 +++++----- params/protocol_params.go | 12 ++++---- reward/staking_info.go | 2 +- reward/staking_manager.go | 6 ++-- snapshot/conversion.go | 2 +- snapshot/difflayer.go | 2 +- snapshot/generate.go | 4 +-- snapshot/generate_test.go | 20 ++++++------- snapshot/snapshot.go | 2 +- storage/database/cache_manager.go | 2 +- storage/database/database_test.go | 2 +- storage/database/db_manager.go | 14 ++++----- storage/database/db_manager_test.go | 4 +-- storage/database/dynamodb.go | 4 +-- .../database/leveldb_bench_multidisks_test.go | 2 +- .../database/leveldb_bench_options_test.go | 4 +-- storage/database/leveldb_database.go | 2 +- storage/statedb/database.go | 2 +- tests/block_test.go | 2 +- tests/block_test_util.go | 2 +- tests/db_write_and_read_test.go | 4 +-- tests/fee_payer_contract_test.go | 2 +- tests/init.go | 2 +- tests/klay_test_account_map_test.go | 2 +- tests/tx_validation_test.go | 2 +- utils/build/util.go | 2 +- work/agent.go | 2 +- work/work.go | 2 +- work/worker.go | 12 ++++---- 152 files changed, 348 insertions(+), 348 deletions(-) diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go index ebd769a9a6..23c346f284 100644 --- a/accounts/abi/bind/auth.go +++ b/accounts/abi/bind/auth.go @@ -80,7 +80,7 @@ func NewKeyedTransactor(key *ecdsa.PrivateKey) *TransactOpts { } } -// TODO-klaytn: clef related code +// TODO-Kaia: clef related code /* // NewClefTransactor is a utility method to easily create a transaction signer // with a clef backend. diff --git a/accounts/abi/bind/backends/blockchain.go b/accounts/abi/bind/backends/blockchain.go index c047e020da..57564f8906 100644 --- a/accounts/abi/bind/backends/blockchain.go +++ b/accounts/abi/bind/backends/blockchain.go @@ -173,7 +173,7 @@ func (b *BlockchainContractBackend) getBlockAndState(num *big.Int) (*types.Block // bind.ContractTransactor defined methods func (b *BlockchainContractBackend) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) { - // TODO-Klaytn this is not pending code but latest code + // TODO-Kaia this is not pending code but latest code state, err := b.bc.State() if err != nil { return nil, err @@ -185,7 +185,7 @@ func (b *BlockchainContractBackend) PendingNonceAt(ctx context.Context, account if b.txPool != nil { return b.txPool.GetPendingNonce(account), nil } - // TODO-Klaytn this is not pending nonce but latest nonce + // TODO-Kaia this is not pending nonce but latest nonce state, err := b.bc.State() if err != nil { return 0, err diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index 6f3b7150d3..4f0264e8de 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -1896,7 +1896,7 @@ func TestGolangBindings(t *testing.T) { } } -// TODO-klaytn: change org.ethereum.geth to org.klaytn when ready +// TODO-Kaia: change org.ethereum.geth to org.klaytn when ready // Tests that java binding generated by the binder is exactly matched. func TestJavaBindings(t *testing.T) { cases := []struct { diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go index 0fd4ce96f7..568d4b3edf 100644 --- a/accounts/keystore/account_cache_test.go +++ b/accounts/keystore/account_cache_test.go @@ -94,7 +94,7 @@ func TestWatchNewFile(t *testing.T) { t.Errorf("got %s, want %s", spew.Sdump(list), spew.Sdump(wantAccounts)) } -// TODO-Klaytn Disabled because this test fails intermittently in CI (Issue #833) +// TODO-Kaia Disabled because this test fails intermittently in CI (Issue #833) /* func TestWatchNoDir(t *testing.T) { t.Parallel() @@ -321,7 +321,7 @@ func waitForAccounts(wantAccounts []accounts.Account, ks *KeyStore) error { return fmt.Errorf("\ngot %v\nwant %v", list, wantAccounts) } -// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI +// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI /* // TestUpdatedKeyfileContents tests that updating the contents of a keystore file // is noticed by the watcher, and the account cache is updated accordingly diff --git a/api/api_ethereum.go b/api/api_ethereum.go index 21f01b07a9..dec55b1fa7 100644 --- a/api/api_ethereum.go +++ b/api/api_ethereum.go @@ -62,7 +62,7 @@ var ( ) // EthereumAPI provides an API to access the Klaytn through the `eth` namespace. -// TODO-Klaytn: Removed unused variable +// TODO-Kaia: Removed unused variable type EthereumAPI struct { publicFilterAPI *filters.PublicFilterAPI governanceKlayAPI *governance.GovernanceKlayAPI diff --git a/api/api_public_transaction_pool.go b/api/api_public_transaction_pool.go index 21350a6663..c765d1ae74 100644 --- a/api/api_public_transaction_pool.go +++ b/api/api_public_transaction_pool.go @@ -306,7 +306,7 @@ func submitTransaction(ctx context.Context, b Backend, tx *types.Transaction) (c if err := b.SendTx(ctx, tx); err != nil { return common.Hash{}, err } - // TODO-Klaytn only enable on logging + // TODO-Kaia only enable on logging //if tx.To() == nil { // signer := types.MakeSigner(b.ChainConfig(), b.CurrentBlock().Number()) // from, err := types.Sender(signer, tx) diff --git a/api/tx_args.go b/api/tx_args.go index dab8f274f5..1e2e6d249d 100644 --- a/api/tx_args.go +++ b/api/tx_args.go @@ -644,11 +644,11 @@ func (args *EthTransactionArgs) setDefaults(ctx context.Context, b Backend) erro return errors.New("maxFeePerGas or maxPriorityFeePerGas specified but london is not active yet") } if args.GasPrice == nil { - // TODO-Klaytn: Original logic of Ethereum uses b.SuggestTipCap which suggests TipCap, not a GasPrice. + // TODO-Kaia: Original logic of Ethereum uses b.SuggestTipCap which suggests TipCap, not a GasPrice. // But Klaytn currently uses fixed unit price determined by Governance, so using b.SuggestPrice // is fine as now. if b.ChainConfig().IsEthTxTypeForkEnabled(head.Number) { - // TODO-Klaytn: Klaytn is using fixed BaseFee(0) as now but + // TODO-Kaia: Klaytn is using fixed BaseFee(0) as now but // if we apply dynamic BaseFee, we should add calculated BaseFee instead of params.ZeroBaseFee. gasPrice.Add(gasPrice, new(big.Int).SetUint64(params.ZeroBaseFee)) } diff --git a/blockchain/bad_blocks.go b/blockchain/bad_blocks.go index 92acac606a..ed47975880 100644 --- a/blockchain/bad_blocks.go +++ b/blockchain/bad_blocks.go @@ -24,5 +24,5 @@ import "github.com/klaytn/klaytn/common" // BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ - // TODO-Klaytn Fill bad hash later for Klaytn if necessary + // TODO-Kaia Fill bad hash later for Klaytn if necessary } diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index bdeb585696..0c75c14b9a 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -96,11 +96,11 @@ var ( ) // Below is the list of the constants for cache size. -// TODO-Klaytn: Below should be handled by ini or other configurations. +// TODO-Kaia: Below should be handled by ini or other configurations. const ( maxFutureBlocks = 256 maxTimeFutureBlocks = 30 - // TODO-Klaytn-Issue1911 This flag needs to be adjusted to the appropriate value. + // TODO-Kaia-Issue1911 This flag needs to be adjusted to the appropriate value. // Currently, this value is taken to cache all 10 million accounts // and should be optimized considering memory size and performance. maxAccountForCache = 10000000 @@ -123,7 +123,7 @@ const ( // CacheConfig contains the configuration values for the 1) stateDB caching and // 2) trie caching/pruning resident in a blockchain. type CacheConfig struct { - // TODO-Klaytn-Issue1666 Need to check the benefit of trie caching. + // TODO-Kaia-Issue1666 Need to check the benefit of trie caching. ArchiveMode bool // If true, state trie is not pruned and always written to database CacheSize int // Size of in-memory cache of a trie (MiB) to flush matured singleton trie nodes to disk BlockInterval uint // Block interval to flush the trie. Each interval state trie will be flushed into disk @@ -195,7 +195,7 @@ type BlockChain struct { validator Validator // block and state validator interface vmConfig vm.Config - parallelDBWrite bool // TODO-Klaytn-Storage parallelDBWrite will be replaced by number of goroutines when worker pool pattern is introduced. + parallelDBWrite bool // TODO-Kaia-Storage parallelDBWrite will be replaced by number of goroutines when worker pool pattern is introduced. // State migration prepareStateMigration bool @@ -1149,7 +1149,7 @@ func (bc *BlockChain) procFutureBlocks() { // WriteStatus status of write type WriteStatus byte -// TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. +// TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // // Later we may be able to remove SideStatTy. const ( @@ -1244,7 +1244,7 @@ func (bc *BlockChain) InsertReceiptChain(blockChain types.Blocks, receiptChain [ start = time.Now() bytes = 0 - // TODO-Klaytn Needs to roll back if any one of batches fails + // TODO-Kaia Needs to roll back if any one of batches fails bodyBatch = bc.db.NewBatch(database.BodyDB) receiptsBatch = bc.db.NewBatch(database.ReceiptsDB) txLookupEntriesBatch = bc.db.NewBatch(database.TxLookUpEntryDB) @@ -1511,7 +1511,7 @@ func isCommitTrieRequired(bc *BlockChain, blockNum uint64) bool { return true } - // TODO-Klaytn-Issue1602 Introduce a simple and more concise way to determine commit trie requirements from governance + // TODO-Kaia-Issue1602 Introduce a simple and more concise way to determine commit trie requirements from governance if blockNum%uint64(bc.cacheConfig.BlockInterval) == 0 { return true } @@ -1598,7 +1598,7 @@ func (bc *BlockChain) writeBlockLogsToRemoteCache(blockLogsKey []byte, receipts logger.Error("rlp encoding error", "err", err) return } - // TODO-Klaytn-KES: refine this not to use trieNodeCache + // TODO-Kaia-KES: refine this not to use trieNodeCache cache, ok := bc.stateCache.TrieDB().TrieNodeCache().(*statedb.HybridCache) if !ok { logger.Error("only HybridCache supports block logs writing", @@ -1645,7 +1645,7 @@ func (bc *BlockChain) writeBlockWithStateSerial(block *types.Block, receipts []* bc.writeReceipts(block.Hash(), block.NumberU64(), receipts) - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain @@ -1699,7 +1699,7 @@ func (bc *BlockChain) writeBlockWithStateParallel(block *types.Block, receipts [ parallelDBWriteWG := sync.WaitGroup{} parallelDBWriteErrCh := make(chan error, 2) // Irrelevant of the canonical status, write the block itself to the database - // TODO-Klaytn-Storage Implementing worker pool pattern instead of generating goroutines every time. + // TODO-Kaia-Storage Implementing worker pool pattern instead of generating goroutines every time. parallelDBWriteWG.Add(4) go func() { defer parallelDBWriteWG.Done() @@ -1735,7 +1735,7 @@ func (bc *BlockChain) writeBlockWithStateParallel(block *types.Block, receipts [ default: } - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain @@ -2205,13 +2205,13 @@ func (bc *BlockChain) sendKESSubscriptionData(block *types.Block) { bc.chainFeed.Send(ChainEvent{ Block: block, Hash: block.Hash(), - // TODO-Klaytn-KES: fill the following data if needed + // TODO-Kaia-KES: fill the following data if needed Receipts: types.Receipts{}, Logs: []*types.Log{}, InternalTxTraces: []*vm.InternalTxTrace{}, }) - // TODO-Klaytn-KES: refine this not to use trieNodeCache + // TODO-Kaia-KES: refine this not to use trieNodeCache logKey := append(kesCachePrefixBlockLogs, block.Number().Bytes()...) encodedLogs := bc.stateCache.TrieDB().TrieNodeCache().Get(logKey) if encodedLogs == nil { @@ -2302,7 +2302,7 @@ func (bc *BlockChain) CurrentBlockUpdateLoop(pool *TxPool) { bc.replaceCurrentBlock(block) pool.lockedReset(oldHead, bc.CurrentHeader()) - // TODO-Klaytn-RocksDB: update logic for subscription API. check BlockSubscriptionLoop method. + // TODO-Kaia-RocksDB: update logic for subscription API. check BlockSubscriptionLoop method. case <-bc.quit: logger.Info("Closed current block update loop") return @@ -2728,7 +2728,7 @@ func (bc *BlockChain) SaveTrieNodeCacheToDisk() error { // for the transaction, gas used and an error if the transaction failed, // indicating the block was invalid. func (bc *BlockChain) ApplyTransaction(chainConfig *params.ChainConfig, author *common.Address, statedb *state.StateDB, header *types.Header, tx *types.Transaction, usedGas *uint64, vmConfig *vm.Config) (*types.Receipt, *vm.InternalTxTrace, error) { - // TODO-Klaytn We reject transactions with unexpected gasPrice and do not put the transaction into TxPool. + // TODO-Kaia We reject transactions with unexpected gasPrice and do not put the transaction into TxPool. // And we run transactions regardless of gasPrice if we push transactions in the TxPool. /* // istanbul BFT diff --git a/blockchain/blockchain_test.go b/blockchain/blockchain_test.go index 6a9bfd6538..fc0f910791 100644 --- a/blockchain/blockchain_test.go +++ b/blockchain/blockchain_test.go @@ -1105,7 +1105,7 @@ func TestEIP155Transition(t *testing.T) { assert.Equal(t, types.ErrSender(types.ErrInvalidChainId), err) } -// TODO-Klaytn-FailedTest Failed test. Enable this later. +// TODO-Kaia-FailedTest Failed test. Enable this later. /* func TestEIP161AccountRemoval(t *testing.T) { // Configure and generate a sample block chain @@ -1342,7 +1342,7 @@ func TestStatePruning(t *testing.T) { blockchain.Stop() } -// TODO-Klaytn-FailedTest Failed test. Enable this later. +// TODO-Kaia-FailedTest Failed test. Enable this later. /* // Tests that doing large reorgs works even if the state associated with the // forking point is not available any more. diff --git a/blockchain/chain_indexer_test.go b/blockchain/chain_indexer_test.go index 2c2b2d4357..262a8bdae6 100644 --- a/blockchain/chain_indexer_test.go +++ b/blockchain/chain_indexer_test.go @@ -39,7 +39,7 @@ func TestChainIndexerSingle(t *testing.T) { } } -// TODO-Klaytn-FailedTest Failed test. +// TODO-Kaia-FailedTest Failed test. /* // Runs multiple tests with randomized parameters and different number of // chain backends. diff --git a/blockchain/chain_makers_test.go b/blockchain/chain_makers_test.go index 49982cec11..6e14adbebd 100644 --- a/blockchain/chain_makers_test.go +++ b/blockchain/chain_makers_test.go @@ -20,7 +20,7 @@ package blockchain -// TODO-Klaytn-FailedTest Fails because this test assumes Homestead fee. +// TODO-Kaia-FailedTest Fails because this test assumes Homestead fee. /* import ( "fmt" diff --git a/blockchain/genesis_test.go b/blockchain/genesis_test.go index 19271a9af1..c2ce3b2508 100644 --- a/blockchain/genesis_test.go +++ b/blockchain/genesis_test.go @@ -74,7 +74,7 @@ func TestHardCodedChainConfigUpdate(t *testing.T) { wantConfig: cypressGenesisBlock.Config, wantStoredConfig: cypressGenesisBlock.Config, }, - // TODO-klaytn: add more cypress test cases after cypress hard fork block numbers are added + // TODO-Kaia: add more cypress test cases after cypress hard fork block numbers are added { // Because of the fork-ordering check logic, the istanbulCompatibleBlock should be less than the londonCompatibleBlock name: "baobab chainConfig update - correct hard-fork block number order", diff --git a/blockchain/headerchain.go b/blockchain/headerchain.go index da68ab006f..24330b3d8d 100644 --- a/blockchain/headerchain.go +++ b/blockchain/headerchain.go @@ -133,7 +133,7 @@ func (hc *HeaderChain) WriteHeader(header *types.Header) (status WriteStatus, er hc.WriteTd(hash, number, externTd) hc.chainDB.WriteHeader(header) - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain diff --git a/blockchain/spam_throttler.go b/blockchain/spam_throttler.go index 84bb0a2317..8a1c932256 100644 --- a/blockchain/spam_throttler.go +++ b/blockchain/spam_throttler.go @@ -27,7 +27,7 @@ import ( "github.com/klaytn/klaytn/common" ) -// TODO-Klaytn: move these variables into TxPool when BlockChain struct contains a TxPool interface +// TODO-Kaia: move these variables into TxPool when BlockChain struct contains a TxPool interface // spamThrottler need to be accessed by both of TxPool and BlockChain. var ( spamThrottler *throttler = nil diff --git a/blockchain/state/statedb.go b/blockchain/state/statedb.go index 69b7bb285c..bccbb99444 100644 --- a/blockchain/state/statedb.go +++ b/blockchain/state/statedb.go @@ -53,7 +53,7 @@ var ( logger = log.NewModuleLogger(log.BlockchainState) - // TODO-Klaytn EnabledExpensive and DBConfig.EnableDBPerfMetrics will be merged + // TODO-Kaia EnabledExpensive and DBConfig.EnableDBPerfMetrics will be merged EnabledExpensive = false ) diff --git a/blockchain/tx_pool.go b/blockchain/tx_pool.go index 44b23cdea2..07a82c9d81 100644 --- a/blockchain/tx_pool.go +++ b/blockchain/tx_pool.go @@ -54,7 +54,7 @@ const ( // non-trivial consequences: larger transactions are significantly harder and // more expensive to propagate; larger transactions also take more resources // to validate whether they fit into the pool or not. - // TODO-klaytn: Change the name to clarify what it means. It means the max length of the transaction. + // TODO-Kaia: Change the name to clarify what it means. It means the max length of the transaction. MaxTxDataSize = 4 * txSlotSize // 128KB // demoteUnexecutablesFullValidationTxLimit is the number of txs will be fully validated in demoteUnexecutables. @@ -201,7 +201,7 @@ type TxPool struct { locals *accountSet // Set of local transaction to exempt from eviction rules journal *txJournal // Journal of local transaction to back up to disk - // TODO-Klaytn + // TODO-Kaia txMu sync.RWMutex pending map[common.Address]*txList // All currently processable transactions @@ -1078,7 +1078,7 @@ func (pool *TxPool) HandleTxMsg(txs types.Transactions) { } } - // TODO-Klaytn: Consider removing the next line and move the above logic to `addTx` or `AddRemotes` + // TODO-Kaia: Consider removing the next line and move the above logic to `addTx` or `AddRemotes` senderCacher.recover(pool.signer, txs) pool.txMsgCh <- txs } diff --git a/blockchain/tx_pool_test.go b/blockchain/tx_pool_test.go index 5848bd39f3..c7e096f4a4 100644 --- a/blockchain/tx_pool_test.go +++ b/blockchain/tx_pool_test.go @@ -1533,7 +1533,7 @@ func TestTransactionPoolRepricing(t *testing.T) { t.Fatalf("pool internal state corrupted: %v", err) } // NOTE-Klaytn Klaytn currently accepts remote txs regardless of gas price. - // TODO-Klaytn-RemoveLater Remove or uncomment the code below once the policy for how to + // TODO-Kaia-RemoveLater Remove or uncomment the code below once the policy for how to // deal with underpriced remote txs is decided. // Check that we can't add the old transactions back //if err := pool.AddRemote(pricedTransaction(1, 100000, big.NewInt(1), keys[0])); err != ErrUnderpriced { @@ -1585,7 +1585,7 @@ func TestTransactionPoolRepricing(t *testing.T) { */ // NOTE-GS Disable test, because we don't have a repricing policy -// TODO-Klaytn What's our rule for local transaction ? +// TODO-Kaia What's our rule for local transaction ? // Tests that setting the transaction pool gas price to a higher value does not // remove local transactions. /* diff --git a/blockchain/types/account/account.go b/blockchain/types/account/account.go index ae8c031b9b..92e01d0e04 100644 --- a/blockchain/types/account/account.go +++ b/blockchain/types/account/account.go @@ -66,7 +66,7 @@ var ( ) var ( - // TODO-Klaytn-Accounts: make one single instance emptyCodeHash. It is placed in several locations for now. + // TODO-Kaia-Accounts: make one single instance emptyCodeHash. It is placed in several locations for now. emptyCodeHash = crypto.Keccak256(nil) logger = log.NewModuleLogger(log.BlockchainState) diff --git a/blockchain/types/accountkey/account_key_role_based.go b/blockchain/types/accountkey/account_key_role_based.go index fce386b2d6..ccb795a0f2 100644 --- a/blockchain/types/accountkey/account_key_role_based.go +++ b/blockchain/types/accountkey/account_key_role_based.go @@ -33,7 +33,7 @@ const ( RoleTransaction RoleType = iota RoleAccountUpdate RoleFeePayer - // TODO-Klaytn-Accounts: more roles can be listed here. + // TODO-Kaia-Accounts: more roles can be listed here. RoleLast ) diff --git a/blockchain/types/accountkey/account_key_weighted_multi_sig.go b/blockchain/types/accountkey/account_key_weighted_multi_sig.go index 538791f2f4..53c321a518 100644 --- a/blockchain/types/accountkey/account_key_weighted_multi_sig.go +++ b/blockchain/types/accountkey/account_key_weighted_multi_sig.go @@ -29,7 +29,7 @@ import ( ) const ( - // TODO-Klaytn-MultiSig: Need to fix the maximum number of keys allowed for an account. + // TODO-Kaia-MultiSig: Need to fix the maximum number of keys allowed for an account. // NOTE-Klaytn-MultiSig: This value should not be reduced. If it is reduced, there is a case: // - the tx validation will be failed if the sender has larger keys. MaxNumKeysForMultiSig = uint64(10) @@ -95,7 +95,7 @@ func (a *AccountKeyWeightedMultiSig) Validate(currentBlockNumber uint64, r RoleT weightedSum := uint(0) // To prohibit making a signature with the same key, make a map. - // TODO-Klaytn: find another way for better performance + // TODO-Kaia: find another way for better performance pMap := make(map[string]*ecdsa.PublicKey) for _, bk := range recoveredKeys { b, err := rlp.EncodeToBytes((*PublicKeySerializable)(bk)) diff --git a/blockchain/types/receipt.go b/blockchain/types/receipt.go index cfb60802dc..fa4e4734d7 100644 --- a/blockchain/types/receipt.go +++ b/blockchain/types/receipt.go @@ -46,7 +46,7 @@ const ( // ReceiptStatusSuccessful is the status code of a transaction if execution succeeded. ReceiptStatusSuccessful = uint(1) - // TODO-Klaytn Enable more error below. + // TODO-Kaia Enable more error below. // Klaytn specific // NOTE-Klaytn Value should be consecutive from ReceiptStatusFailed to the last ReceiptStatusLast // Add a new ReceiptStatusErrXXX before ReceiptStatusLast @@ -80,13 +80,13 @@ const ( ReceiptStatusErrNotSupported = uint(0x1d) ReceiptStatusErrInvalidCodeFormat = uint(0x1e) ReceiptStatusLast = uint(0x1f) // Last value which is not an actual ReceiptStatus -// ReceiptStatusErrInvalidJumpDestination // TODO-Klaytn-Issue615 +// ReceiptStatusErrInvalidJumpDestination // TODO-Kaia-Issue615 // ReceiptStatusErrInvalidOpcode // Default case, because no static message available // ReceiptStatusErrStackUnderflow // Default case, because no static message available // ReceiptStatusErrStackOverflow // Default case, because no static message available // ReceiptStatusErrInsufficientBalance // No receipt available for this error // ReceiptStatusErrTotalTimeLimitReached // No receipt available for this error -// ReceiptStatusErrGasUintOverflow // TODO-Klaytn-Issue615 +// ReceiptStatusErrGasUintOverflow // TODO-Kaia-Issue615 ) diff --git a/blockchain/types/transaction.go b/blockchain/types/transaction.go index cf58afe767..3e860e4ef9 100644 --- a/blockchain/types/transaction.go +++ b/blockchain/types/transaction.go @@ -186,7 +186,7 @@ func (tx *Transaction) SenderTxHashAll() common.Hash { } func validateSignature(v, r, s *big.Int) bool { - // TODO-Klaytn: Need to consider the case v.BitLen() > 64. + // TODO-Kaia: Need to consider the case v.BitLen() > 64. // Since ValidateSignatureValues receives v as type of byte, leave it as a future work. if v != nil && !isProtectedV(v) { return crypto.ValidateSignatureValues(byte(v.Uint64()-27), r, s, true) @@ -568,7 +568,7 @@ func (tx *Transaction) Execute(vm VM, stateDB StateDB, currentBlockNumber uint64 // AsMessageWithAccountKeyPicker requires a signer to derive the sender and AccountKeyPicker. // // XXX Rename message to something less arbitrary? -// TODO-Klaytn: Message is removed and this function will return *Transaction. +// TODO-Kaia: Message is removed and this function will return *Transaction. func (tx *Transaction) AsMessageWithAccountKeyPicker(s Signer, picker AccountKeyPicker, currentBlockNumber uint64) (*Transaction, error) { intrinsicGas, err := tx.IntrinsicGas(currentBlockNumber) if err != nil { diff --git a/blockchain/types/transaction_test.go b/blockchain/types/transaction_test.go index f3a0211eb1..62a6bbb35a 100644 --- a/blockchain/types/transaction_test.go +++ b/blockchain/types/transaction_test.go @@ -527,10 +527,10 @@ func TestGasOverflow(t *testing.T) { totalGas = new(big.Int).Add(txGas, new(big.Int).Add(defaultGas, new(big.Int).Mul(numKeys, gasPerKey))) assert.Equal(t, true, totalGas.BitLen() <= 64) - // TODO-Klaytn-Gas: Need to find a way of checking integer overflow for smart contract execution. + // TODO-Kaia-Gas: Need to find a way of checking integer overflow for smart contract execution. } -// TODO-Klaytn-FailedTest This test is failed in Klaytn +// TODO-Kaia-FailedTest This test is failed in Klaytn /* // TestTransactionJSON tests serializing/de-serializing to/from JSON. func TestTransactionJSON(t *testing.T) { diff --git a/blockchain/types/tx_internal_data.go b/blockchain/types/tx_internal_data.go index 50510ec663..30f0f0dcdb 100644 --- a/blockchain/types/tx_internal_data.go +++ b/blockchain/types/tx_internal_data.go @@ -405,7 +405,7 @@ type TxInternalDataBaseFee interface { } // Since we cannot access the package `blockchain/vm` directly, an interface `VM` is introduced. -// TODO-Klaytn-Refactoring: Transaction and related data structures should be a new package. +// TODO-Kaia-Refactoring: Transaction and related data structures should be a new package. type VM interface { Create(caller ContractRef, code []byte, gas uint64, value *big.Int, codeFormat params.CodeFormat) (ret []byte, contractAddr common.Address, leftOverGas uint64, err error) CreateWithAddress(caller ContractRef, code []byte, gas uint64, value *big.Int, contractAddr common.Address, humanReadable bool, codeFormat params.CodeFormat) ([]byte, common.Address, uint64, error) @@ -413,7 +413,7 @@ type VM interface { } // Since we cannot access the package `blockchain/state` directly, an interface `StateDB` is introduced. -// TODO-Klaytn-Refactoring: Transaction and related data structures should be a new package. +// TODO-Kaia-Refactoring: Transaction and related data structures should be a new package. type StateDB interface { IncNonce(common.Address) Exist(common.Address) bool diff --git a/blockchain/types/tx_signatures.go b/blockchain/types/tx_signatures.go index f460f06046..932893f77b 100644 --- a/blockchain/types/tx_signatures.go +++ b/blockchain/types/tx_signatures.go @@ -32,7 +32,7 @@ var ErrShouldBeSingleSignature = errors.New("the number of signatures should be // TxSignatures is a slice of TxSignature. It is created to support multi-sig accounts. // Note that this structure also processes txs having a single signature. -// TODO-Klaytn-Accounts: replace TxSignature with TxSignatures to all newly implemented tx types. +// TODO-Kaia-Accounts: replace TxSignature with TxSignatures to all newly implemented tx types. type TxSignatures []*TxSignature func NewTxSignatures() TxSignatures { @@ -77,7 +77,7 @@ func (t TxSignatures) ChainId() *big.Int { logger.CritWithStack("should not be called if no entries exist", err) } - // TODO-Klaytn-Multisig: Find a way to handle multiple V values here. + // TODO-Kaia-Multisig: Find a way to handle multiple V values here. return txSig.ChainId() } diff --git a/blockchain/vm/contracts_test.go b/blockchain/vm/contracts_test.go index 49c863a59c..d9738f3b06 100644 --- a/blockchain/vm/contracts_test.go +++ b/blockchain/vm/contracts_test.go @@ -69,7 +69,7 @@ var allPrecompiles = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{}, common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{}, common.BytesToAddress([]byte{9}): &blake2F{}, - // TODO-klaytn import bls-signature precompiled contracts + // TODO-Kaia import bls-signature precompiled contracts common.BytesToAddress([]byte{0xa}): &kzgPointEvaluation{}, common.BytesToAddress([]byte{3, 253}): &vmLog{}, common.BytesToAddress([]byte{3, 254}): &feePayer{}, diff --git a/blockchain/vm/evm.go b/blockchain/vm/evm.go index 9a13a809d3..908b7df985 100644 --- a/blockchain/vm/evm.go +++ b/blockchain/vm/evm.go @@ -72,7 +72,7 @@ func run(evm *EVM, contract *Contract, input []byte) ([]byte, error) { // startTime = time.Now() //} /////////////////////////////////////////////////////// - ret, computationCost, err := RunPrecompiledContract(p, input, contract, evm) // TODO-Klaytn-Issue615 + ret, computationCost, err := RunPrecompiledContract(p, input, contract, evm) // TODO-Kaia-Issue615 /////////////////////////////////////////////////////// // OpcodeComputationCostLimit: The below code is commented and will be usd for debugging purposes. //if opDebug { @@ -226,11 +226,11 @@ func (evm *EVM) Call(caller types.ContractRef, addr common.Address, input []byte // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Klaytn-Issue615 + return nil, gas, ErrDepth // TODO-Kaia-Issue615 } // Fail if we're trying to transfer more than the available balance if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 + return nil, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 } var ( @@ -333,13 +333,13 @@ func (evm *EVM) CallCode(caller types.ContractRef, addr common.Address, input [] // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Klaytn-Issue615 + return nil, gas, ErrDepth // TODO-Kaia-Issue615 } // Note although it's noop to transfer X ether to caller itself. But // if caller doesn't have enough balance, it would be an error to allow // over-charging itself. So the check here is necessary. if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 + return nil, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 } if !isProgramAccount(evm, caller.Address(), addr, evm.StateDB) { @@ -386,7 +386,7 @@ func (evm *EVM) DelegateCall(caller types.ContractRef, addr common.Address, inpu } // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Klaytn-Issue615 + return nil, gas, ErrDepth // TODO-Kaia-Issue615 } if !isProgramAccount(evm, caller.Address(), addr, evm.StateDB) { @@ -435,7 +435,7 @@ func (evm *EVM) StaticCall(caller types.ContractRef, addr common.Address, input } // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Klaytn-Issue615 + return nil, gas, ErrDepth // TODO-Kaia-Issue615 } // Make sure the readonly is only set if we aren't in readonly yet // this makes also sure that the readonly flag isn't removed for @@ -498,10 +498,10 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Depth check execution. Fail if we're trying to execute above the // limit. if evm.depth > int(params.CallCreateDepth) { - return nil, common.Address{}, gas, ErrDepth // TODO-Klaytn-Issue615 + return nil, common.Address{}, gas, ErrDepth // TODO-Kaia-Issue615 } if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, common.Address{}, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 + return nil, common.Address{}, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 } // Increasing nonce since a failed tx with one of following error will be loaded on a block. @@ -535,7 +535,7 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Create a new account on the state snapshot := evm.StateDB.Snapshot() - // TODO-Klaytn-Accounts: for now, smart contract accounts cannot withdraw KLAYs via ValueTransfer + // TODO-Kaia-Accounts: for now, smart contract accounts cannot withdraw KLAYs via ValueTransfer // because the account key is set to AccountKeyFail by default. // Need to make a decision of the key type. evm.StateDB.CreateSmartContractAccountWithKey(address, humanReadable, accountkey.NewAccountKeyFail(), codeFormat, evm.chainRules) @@ -576,12 +576,12 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Then, `vmerr` will be used to make a receipt status using `getReceiptStatusFromVMerr()`. // Since `getReceiptStatusFromVMerr()` uses a map to determine the receipt status, // this `err` should be an error variable declared in vm/errors.go. - // TODO-Klaytn: Make a package of error variables containing all exported error variables. - // After the above TODO-Klaytn is resolved, we can return the error returned by `SetCode()` directly. + // TODO-Kaia: Make a package of error variables containing all exported error variables. + // After the above TODO-Kaia is resolved, we can return the error returned by `SetCode()` directly. err = ErrFailedOnSetCode } } else { - err = ErrCodeStoreOutOfGas // TODO-Klaytn-Issue615 + err = ErrCodeStoreOutOfGas // TODO-Kaia-Issue615 } } @@ -595,7 +595,7 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u } // Assign err if contract code size exceeds the max while the err is still empty. if maxCodeSizeExceeded && err == nil { - err = ErrMaxCodeSizeExceeded // TODO-Klaytn-Issue615 + err = ErrMaxCodeSizeExceeded // TODO-Kaia-Issue615 } // Reject code starting with 0xEF if EIP-3541 is enabled. diff --git a/blockchain/vm/interpreter.go b/blockchain/vm/interpreter.go index d5d202535c..f0a728a73f 100644 --- a/blockchain/vm/interpreter.go +++ b/blockchain/vm/interpreter.go @@ -229,7 +229,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err op = contract.GetOp(pc) operation := in.cfg.JumpTable[op] if operation == nil { - return nil, fmt.Errorf("invalid opcode 0x%x", int(op)) // TODO-Klaytn-Issue615 + return nil, fmt.Errorf("invalid opcode 0x%x", int(op)) // TODO-Kaia-Issue615 } // Validate stack if sLen := stack.len(); sLen < operation.minStack { @@ -259,12 +259,12 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err if operation.memorySize != nil { memSize, overflow := operation.memorySize(stack) if overflow { - return nil, errGasUintOverflow // TODO-Klaytn-Issue615 + return nil, errGasUintOverflow // TODO-Kaia-Issue615 } // memory is expanded in words of 32 bytes. Gas // is also calculated in words. if memorySize, overflow = math.SafeMul(toWordSize(memSize), 32); overflow { - return nil, errGasUintOverflow // TODO-Klaytn-Issue615 + return nil, errGasUintOverflow // TODO-Kaia-Issue615 } if allocatedMemorySize < memorySize { extraSize = memorySize - allocatedMemorySize @@ -278,7 +278,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err dynamicCost, err = operation.dynamicGas(in.evm, contract, stack, mem, memorySize) cost += dynamicCost // total cost, for debug tracing if err != nil || !contract.UseGas(dynamicCost) { - return nil, kerrors.ErrOutOfGas // TODO-Klaytn-Issue615 + return nil, kerrors.ErrOutOfGas // TODO-Kaia-Issue615 } } if extraSize > 0 { @@ -305,7 +305,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err abort := atomic.LoadInt32(&in.evm.abort) if (abort & CancelByTotalTimeLimit) != 0 { - return nil, ErrTotalTimeLimitReached // TODO-Klaytn-Issue615 + return nil, ErrTotalTimeLimitReached // TODO-Kaia-Issue615 } if err == errStopToken { err = nil // clear stop token error diff --git a/blockchain/vm/logger_json.go b/blockchain/vm/logger_json.go index ffcaa55de2..9bbebc7e79 100644 --- a/blockchain/vm/logger_json.go +++ b/blockchain/vm/logger_json.go @@ -63,7 +63,7 @@ func (l *JSONLogger) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost, ccL log.Memory = memory.Data() } if !l.cfg.DisableStack { - // TODO-Klaytn: residual porting PR -> https://github.com/ethereum/go-ethereum/pull/23016/files + // TODO-Kaia: residual porting PR -> https://github.com/ethereum/go-ethereum/pull/23016/files logstack := make([]*big.Int, len(stack.Data())) for i, item := range stack.Data() { logstack[i] = item.ToBig() diff --git a/client/bridge_client.go b/client/bridge_client.go index 5875e74133..5f40f3e96d 100644 --- a/client/bridge_client.go +++ b/client/bridge_client.go @@ -227,7 +227,7 @@ func (ec *Client) BridgeDeregisterBridge(ctx context.Context, cBridge common.Add return ec.c.CallContext(ctx, nil, "subbridge_deregisterBridge", cBridge, pBridge) } -// TODO-Klaytn if client pkg is removed in sc pkg, this will be replaced origin struct. +// TODO-Kaia if client pkg is removed in sc pkg, this will be replaced origin struct. type BridgeJournal struct { ChildAddress common.Address `json:"childAddress"` ParentAddress common.Address `json:"parentAddress"` diff --git a/client/klay_client.go b/client/klay_client.go index 238d4330de..e217d0f048 100644 --- a/client/klay_client.go +++ b/client/klay_client.go @@ -36,7 +36,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// TODO-Klaytn Needs to separate APIs along with each namespaces. +// TODO-Kaia Needs to separate APIs along with each namespaces. // Client defines typed wrappers for the Klaytn RPC API. type Client struct { @@ -111,7 +111,7 @@ func (ec *Client) getBlock(ctx context.Context, method string, args ...interface if err := json.Unmarshal(raw, &body); err != nil { return nil, err } - // TODO-Klaytn Enable the below error checks after having a way to get the correct EmptyRootHash + // TODO-Kaia Enable the below error checks after having a way to get the correct EmptyRootHash // Quick-verify transaction lists. This mostly helps with debugging the server. //if head.TxHash == types.EmptyRootHash && len(body.Transactions) > 0 { // return nil, fmt.Errorf("server returned non-empty transaction list but block header indicates no transactions") diff --git a/client/signer.go b/client/signer.go index 5d66f9db43..2131e41afe 100644 --- a/client/signer.go +++ b/client/signer.go @@ -57,37 +57,37 @@ func (s *senderFromServer) Sender(tx *types.Transaction) (common.Address, error) } func (s *senderFromServer) ChainID() *big.Int { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("ChainID should not be called!") } func (s *senderFromServer) SenderPubkey(tx *types.Transaction) ([]*ecdsa.PublicKey, error) { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("SenderPubkey should not be called!") } func (s *senderFromServer) SenderFeePayer(tx *types.Transaction) ([]*ecdsa.PublicKey, error) { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("SenderFeePayer should not be called!") } func (s *senderFromServer) Hash(tx *types.Transaction) common.Hash { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("can't sign with senderFromServer") } func (s *senderFromServer) HashFeePayer(tx *types.Transaction) (common.Hash, error) { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("can't sign with senderFromServer") } func (s *senderFromServer) SignatureValues(tx *types.Transaction, sig []byte) (R, S, V *big.Int, err error) { - // TODO-Klaytn: need to check this routine is never called or not. + // TODO-Kaia: need to check this routine is never called or not. // `senderFromServer` is only used in klay_client.go. panic("can't sign with senderFromServer") } diff --git a/cmd/homi/genesis/genesis.go b/cmd/homi/genesis/genesis.go index cb9f6786fb..100b74830e 100644 --- a/cmd/homi/genesis/genesis.go +++ b/cmd/homi/genesis/genesis.go @@ -59,7 +59,7 @@ func NewClique(options ...Option) *blockchain.Genesis { BlockScore: big.NewInt(InitBlockScore), Alloc: make(blockchain.GenesisAlloc), Config: ¶ms.ChainConfig{ - ChainID: big.NewInt(3000), // TODO-Klaytn Needs Optional chainID + ChainID: big.NewInt(3000), // TODO-Kaia Needs Optional chainID }, } diff --git a/cmd/kbn/main.go b/cmd/kbn/main.go index 2d4b35eeb0..afb8de83ae 100644 --- a/cmd/kbn/main.go +++ b/cmd/kbn/main.go @@ -187,7 +187,7 @@ func startNode(node *Node) error { } func main() { - // TODO-Klaytn: remove `help` command + // TODO-Kaia: remove `help` command app := utils.NewApp("", "the Klaytn's bootnode command line interface") app.Name = "kbn" app.Copyright = "Copyright 2018 The klaytn Authors" diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 3f5420f68a..1d3d109ae1 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -214,7 +214,7 @@ func ExportAppendChain(blockchain *blockchain.BlockChain, fn string, first uint6 return nil } -// TODO-Klaytn Commented out due to mismatched interface. +// TODO-Kaia Commented out due to mismatched interface. //// ImportPreimages imports a batch of exported hash preimages into the database. //func ImportPreimages(db *database.LevelDB, fn string) error { // logger.Info("Importing preimages", "file", fn) diff --git a/cmd/utils/config.go b/cmd/utils/config.go index 870c1fb726..4b047b7f91 100644 --- a/cmd/utils/config.go +++ b/cmd/utils/config.go @@ -507,7 +507,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) { // setKlayConfig applies klay-related command line flags to the config. func (kCfg *KlayConfig) SetKlayConfig(ctx *cli.Context, stack *node.Node) { - // TODO-Klaytn-Bootnode: better have to check conflicts about network flags when we add Klaytn's `mainnet` parameter + // TODO-Kaia-Bootnode: better have to check conflicts about network flags when we add Klaytn's `mainnet` parameter // checkExclusive(ctx, DeveloperFlag, TestnetFlag, RinkebyFlag) cfg := &kCfg.CN raiseFDLimit() @@ -700,7 +700,7 @@ func (kCfg *KlayConfig) SetKlayConfig(ctx *cli.Context, stack *node.Node) { tracers.HeavyAPIRequestLimit = int32(ctx.Int(HeavyDebugRequestLimitFlag.Name)) // Override any default configs for hard coded network. - // TODO-Klaytn-Bootnode: Discuss and add `baobab` test network's genesis block + // TODO-Kaia-Bootnode: Discuss and add `baobab` test network's genesis block /* if ctx.Bool(TestnetFlag.Name) { if !ctx.IsSet(NetworkIdFlag.Name) { diff --git a/cmd/utils/flaggroup.go b/cmd/utils/flaggroup.go index 4b0a82ace2..caef27b8d4 100644 --- a/cmd/utils/flaggroup.go +++ b/cmd/utils/flaggroup.go @@ -31,7 +31,7 @@ type FlagGroup struct { Flags []cli.Flag } -// TODO-Klaytn: consider changing the type of FlagGroups to map +// TODO-Kaia: consider changing the type of FlagGroups to map // FlagGroups categorizes flags into groups to print structured help. var FlagGroups = []FlagGroup{ { diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 4e46f9102f..41bc64413e 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -131,7 +131,7 @@ var ( EnvVars: []string{"KLAYTN_KEYSTORE"}, Category: "ACCOUNT", } - // TODO-Klaytn-Bootnode: redefine networkid + // TODO-Kaia-Bootnode: redefine networkid NetworkIdFlag = &cli.Uint64Flag{ Name: "networkid", Usage: "Network identifier (integer, 8217=Cypress (Mainnet) , 1000=Aspen, 1001=Baobab)", @@ -334,7 +334,7 @@ var ( EnvVars: []string{"KLAYTN_DB_LEVELDB_CACHE_SIZE"}, Category: "DATABASE", } - // TODO-Klaytn-Database LevelDBCompressionTypeFlag should be removed before main-net release. + // TODO-Kaia-Database LevelDBCompressionTypeFlag should be removed before main-net release. LevelDBCompressionTypeFlag = &cli.IntFlag{ Name: "db.leveldb.compression", Usage: "Determines the compression method for LevelDB. 0=AllNoCompression, 1=ReceiptOnlySnappyCompression, 2=StateTrieOnlyNoCompression, 3=AllSnappyCompression", @@ -700,7 +700,7 @@ var ( EnvVars: []string{"KLAYTN_TXRESEND_MAX_COUNT"}, Category: "TXPOOL", } - // TODO-Klaytn-RemoveLater Remove this flag when we are confident with the new transaction resend logic + // TODO-Kaia-RemoveLater Remove this flag when we are confident with the new transaction resend logic TxResendUseLegacyFlag = &cli.BoolFlag{ Name: "txresend.use-legacy", Usage: "Enable the legacy transaction resend logic (For testing only)", @@ -1059,7 +1059,7 @@ var ( EnvVars: []string{"KLAYTN_RPC_UNSAFE_DEBUG_DISABLE"}, Category: "API AND CONSOLE", } - // TODO-klaytn: Consider limiting the non-debug heavy apis. + // TODO-Kaia: Consider limiting the non-debug heavy apis. HeavyDebugRequestLimitFlag = &cli.IntFlag{ Name: "rpc.unsafe-debug.heavy-debug.request-limit", Usage: "Limit the maximum number of heavy debug api requests. Works with unsafe-debug only.", @@ -1237,7 +1237,7 @@ var ( Aliases: []string{"common.authorized-nodes"}, EnvVars: []string{"KLAYTN_AUTHORIZED_NODES"}, } - // TODO-Klaytn-Bootnode the boodnode flags should be updated when it is implemented + // TODO-Kaia-Bootnode the boodnode flags should be updated when it is implemented BNAddrFlag = &cli.StringFlag{ Name: "bnaddr", Usage: `udp address to use node discovery`, @@ -1359,7 +1359,7 @@ var ( EnvVars: []string{"KLAYTN_ANCHORING"}, Category: "SERVICECHAIN", } - // TODO-klaytn: need to check if deprecated. + // TODO-Kaia: need to check if deprecated. ServiceChainConsensusFlag = &cli.StringFlag{ Name: "scconsensus", Usage: "Set the service chain consensus (\"istanbul\", \"clique\")", @@ -1991,8 +1991,8 @@ var ( Category: "GAS PRICE ORACLE", } - // TODO-Klaytn-Bootnode: Add bootnode's metric options - // TODO-Klaytn-Bootnode: Implements bootnode's RPC + // TODO-Kaia-Bootnode: Add bootnode's metric options + // TODO-Kaia-Bootnode: Implements bootnode's RPC ) // MakeDataDir retrieves the currently requested data directory, terminating @@ -2039,7 +2039,7 @@ func MakePasswordList(ctx *cli.Context) []string { // RegisterCNService adds a CN client to the stack. func RegisterCNService(stack *node.Node, cfg *cn.Config) { - // TODO-Klaytn add syncMode.LightSync func and add LesServer + // TODO-Kaia add syncMode.LightSync func and add LesServer err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { cfg.WsEndpoint = stack.WSEndpoint() diff --git a/cmd/utils/nodecmd/chaincmd.go b/cmd/utils/nodecmd/chaincmd.go index 40b8cefff3..e0ca882449 100644 --- a/cmd/utils/nodecmd/chaincmd.go +++ b/cmd/utils/nodecmd/chaincmd.go @@ -260,7 +260,7 @@ func ValidateGenesisConfig(g *blockchain.Genesis) error { return err } - // TODO-Klaytn: Add validation logic for other GovernanceModes + // TODO-Kaia: Add validation logic for other GovernanceModes // Check if governingNode is properly set if strings.ToLower(g.Config.Governance.GovernanceMode) == "single" { var found bool diff --git a/cmd/utils/nodecmd/consolecmd.go b/cmd/utils/nodecmd/consolecmd.go index cca29c312b..861b30a828 100644 --- a/cmd/utils/nodecmd/consolecmd.go +++ b/cmd/utils/nodecmd/consolecmd.go @@ -158,7 +158,7 @@ func dialRPC(endpoint string) (*rpc.Client, error) { if endpoint == "" { endpoint = node.DefaultIPCEndpoint(utils.ClientIdentifier) } else if strings.HasPrefix(endpoint, "rpc:") || strings.HasPrefix(endpoint, "ipc:") { - // TODO-Klaytn-RemoveLater: The below backward compatibility is not related to Klaytn. + // TODO-Kaia-RemoveLater: The below backward compatibility is not related to Klaytn. // Backwards compatibility with klaytn < 1.5 which required // these prefixes. endpoint = endpoint[4:] diff --git a/cmd/utils/nodecmd/defaultcmd.go b/cmd/utils/nodecmd/defaultcmd.go index 48ca411f07..7048816b40 100644 --- a/cmd/utils/nodecmd/defaultcmd.go +++ b/cmd/utils/nodecmd/defaultcmd.go @@ -154,7 +154,7 @@ func startKlaytnAuxiliaryService(ctx *cli.Context, stack *node.Node) { log.Fatalf("Klaytn service not running: %v", err) } - // TODO-Klaytn-NodeCmd disable accept tx before finishing sync. + // TODO-Kaia-NodeCmd disable accept tx before finishing sync. if err := cn.StartMining(false); err != nil { log.Fatalf("Failed to start mining: %v", err) } diff --git a/cmd/utils/nodecmd/flags_test.go b/cmd/utils/nodecmd/flags_test.go index 28c85f8564..e5afea36ae 100644 --- a/cmd/utils/nodecmd/flags_test.go +++ b/cmd/utils/nodecmd/flags_test.go @@ -37,7 +37,7 @@ const ( ErrorIncorrectUsage = iota ErrorInvalidValue ErrorFatal - // TODO-Klaytn-Node fix the configuration to filter wrong input flags before the klay server is launched + // TODO-Kaia-Node fix the configuration to filter wrong input flags before the klay server is launched NonError // This error case expects an error, but currently it does not filter the wrong value. ) @@ -53,7 +53,7 @@ var flagsWithValues = []struct { wrongValues []string errors []int }{ - // TODO-Klaytn-Node the flag is not defined on any klay binaries + // TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--networktype", // flagType: FlagTypeArgument, @@ -97,7 +97,7 @@ var flagsWithValues = []struct { wrongValues: []string{}, errors: []int{}, }, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--docroot", // flagType: FlagTypeBoolean, @@ -181,7 +181,7 @@ var flagsWithValues = []struct { wrongValues: commonTwoErrors, errors: []int{ErrorInvalidValue, ErrorInvalidValue}, }, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--txpool.keeplocals", // flagType: FlagTypeBoolean, @@ -482,7 +482,7 @@ var flagsWithValues = []struct { wrongValues: []string{}, errors: []int{}, }, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--nodetype", // flagType: FlagTypeArgument, @@ -586,7 +586,7 @@ var flagsWithValues = []struct { flag: "--baobab", flagType: FlagTypeBoolean, }, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--bnaddr", // flagType: FlagTypeArgument, @@ -594,7 +594,7 @@ var flagsWithValues = []struct { // wrongValues: []string{}, // errors: []int{}, //}, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--genkey", // flagType: FlagTypeArgument, @@ -602,7 +602,7 @@ var flagsWithValues = []struct { // wrongValues: []string{}, // errors: []int{}, //}, - //TODO-Klaytn-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any klay binaries //{ // flag: "--writeaddress", // flagType: FlagTypeBoolean, diff --git a/cmd/utils/nodeflags.go b/cmd/utils/nodeflags.go index 36b70b929f..642c6f3936 100644 --- a/cmd/utils/nodeflags.go +++ b/cmd/utils/nodeflags.go @@ -26,7 +26,7 @@ import ( "github.com/urfave/cli/v2/altsrc" ) -// TODO-Klaytn: Check whether all flags are registered in utils.FlagGroups +// TODO-Kaia: Check whether all flags are registered in utils.FlagGroups func AllNodeFlags() []cli.Flag { nodeFlags := []cli.Flag{} diff --git a/common/bitutil/doc.go b/common/bitutil/doc.go index b75215c5f3..f2fd996fd3 100644 --- a/common/bitutil/doc.go +++ b/common/bitutil/doc.go @@ -8,7 +8,7 @@ // This file is derived from common/bitutil/bitutil.go (2018/06/04). // Modified and improved for the klaytn development. // -// TODO-Klaytn: put the original LICENSE file in the common/bitutil directory +// TODO-Kaia: put the original LICENSE file in the common/bitutil directory /* Package bitutil implements fast bitwise operations and compression/decompressions. diff --git a/common/cache.go b/common/cache.go index ea8130fd16..fa7a7602cf 100644 --- a/common/cache.go +++ b/common/cache.go @@ -132,7 +132,7 @@ type arcCache struct { func (cache *arcCache) Add(key CacheKey, value interface{}) (evicted bool) { cache.arc.Add(key, value) - // TODO-Klaytn-RemoveLater need to be removed or should be added according to usage of evicted flag + // TODO-Kaia-RemoveLater need to be removed or should be added according to usage of evicted flag return true } diff --git a/common/types_test.go b/common/types_test.go index 9d0cd72c09..52405920db 100644 --- a/common/types_test.go +++ b/common/types_test.go @@ -231,7 +231,7 @@ func BenchmarkAddressHex(b *testing.B) { } } -// TODO-Klaytn-FailedTest Klaytn doesn't have MixedcaseAddress type +// TODO-Kaia-FailedTest Klaytn doesn't have MixedcaseAddress type /* func TestMixedcaseAccount_Address(t *testing.T) { diff --git a/consensus/gxhash/algorithm_test.go b/consensus/gxhash/algorithm_test.go index eacde68cbf..5c4741e0c0 100644 --- a/consensus/gxhash/algorithm_test.go +++ b/consensus/gxhash/algorithm_test.go @@ -683,7 +683,7 @@ func TestHashimoto(t *testing.T) { } } -// TODO-Klaytn-FailedTest This tests fails in Klaytn. Enable or delete this test later. +// TODO-Kaia-FailedTest This tests fails in Klaytn. Enable or delete this test later. // Tests that caches generated on disk may be done concurrently. /* func TestConcurrentDiskCacheGeneration(t *testing.T) { diff --git a/consensus/gxhash/consensus_test.go b/consensus/gxhash/consensus_test.go index 1a7d5e5e53..6d6459cfdd 100644 --- a/consensus/gxhash/consensus_test.go +++ b/consensus/gxhash/consensus_test.go @@ -63,7 +63,7 @@ func (d *diffTest) UnmarshalJSON(b []byte) (err error) { return nil } -// TODO-Klaytn-FailedTest Enable this test later +// TODO-Kaia-FailedTest Enable this test later /* func TestCalcBlockScore(t *testing.T) { file, err := os.Open(filepath.Join("..", "..", "tests", "testdata", "BasicTests", "difficulty.json")) diff --git a/consensus/istanbul/backend/api.go b/consensus/istanbul/backend/api.go index 09b1e348d7..42168f7d14 100644 --- a/consensus/istanbul/backend/api.go +++ b/consensus/istanbul/backend/api.go @@ -352,7 +352,7 @@ func RecoverCommittedSeals(extra *types.IstanbulExtra, headerHash common.Hash) ( return committers, nil } -// TODO-Klaytn: This API functions should be managed with API functions with namespace "klay" +// TODO-Kaia: This API functions should be managed with API functions with namespace "klay" func (api *APIExtension) GetBlockWithConsensusInfoByNumber(number *rpc.BlockNumber) (map[string]interface{}, error) { b, ok := api.chain.(*blockchain.BlockChain) if !ok { diff --git a/consensus/istanbul/backend/backend.go b/consensus/istanbul/backend/backend.go index 79ea8ccae3..9edd553a51 100644 --- a/consensus/istanbul/backend/backend.go +++ b/consensus/istanbul/backend/backend.go @@ -405,7 +405,7 @@ func (sb *backend) ParentValidators(proposal istanbul.Proposal) istanbul.Validat return sb.getValidators(block.Number().Uint64()-1, block.ParentHash()) } - // TODO-Klaytn-Governance The following return case should not be called. Refactor it to error handling. + // TODO-Kaia-Governance The following return case should not be called. Refactor it to error handling. return validator.NewValidatorSet(nil, nil, istanbul.ProposerPolicy(sb.chain.Config().Istanbul.ProposerPolicy), sb.chain.Config().Istanbul.SubGroupSize, @@ -416,7 +416,7 @@ func (sb *backend) getValidators(number uint64, hash common.Hash) istanbul.Valid snap, err := sb.snapshot(sb.chain, number, hash, nil, false) if err != nil { logger.Error("Snapshot not found.", "err", err) - // TODO-Klaytn-Governance The following return case should not be called. Refactor it to error handling. + // TODO-Kaia-Governance The following return case should not be called. Refactor it to error handling. return validator.NewValidatorSet(nil, nil, istanbul.ProposerPolicy(sb.chain.Config().Istanbul.ProposerPolicy), sb.chain.Config().Istanbul.SubGroupSize, diff --git a/consensus/istanbul/backend/engine.go b/consensus/istanbul/backend/engine.go index a88c5a46ad..f0e34be2b8 100644 --- a/consensus/istanbul/backend/engine.go +++ b/consensus/istanbul/backend/engine.go @@ -514,7 +514,7 @@ func (sb *backend) Finalize(chain consensus.ChainReader, header *types.Header, s // If sb.chain is nil, it means backend is not initialized yet. if sb.chain != nil && !reward.IsRewardSimple(pset) { - // TODO-Klaytn Let's redesign below logic and remove dependency between block reward and istanbul consensus. + // TODO-Kaia Let's redesign below logic and remove dependency between block reward and istanbul consensus. lastHeader := chain.CurrentHeader() valSet := sb.getValidators(lastHeader.Number.Uint64(), lastHeader.Hash()) diff --git a/consensus/istanbul/backend/engine_test.go b/consensus/istanbul/backend/engine_test.go index 344a19d5fb..f4d11fc7c0 100644 --- a/consensus/istanbul/backend/engine_test.go +++ b/consensus/istanbul/backend/engine_test.go @@ -396,7 +396,7 @@ func TestVerifyHeader(t *testing.T) { t.Errorf("error mismatch: have %v, want %v", err, consensus.ErrFutureBlock) } - // TODO-Klaytn: add more tests for header.Governance, header.Rewardbase, header.Vote + // TODO-Kaia: add more tests for header.Governance, header.Rewardbase, header.Vote } func TestVerifySeal(t *testing.T) { diff --git a/consensus/istanbul/backend/handler.go b/consensus/istanbul/backend/handler.go index d8b574f87f..1fc1bc37ee 100644 --- a/consensus/istanbul/backend/handler.go +++ b/consensus/istanbul/backend/handler.go @@ -40,7 +40,7 @@ var ( errNoChainReader = errors.New("sb.chain is nil! --mine option might be missing") errInvalidPeerAddress = errors.New("invalid address") - // TODO-Klaytn-Istanbul: define Versions and Lengths with correct values. + // TODO-Kaia-Istanbul: define Versions and Lengths with correct values. IstanbulProtocol = consensus.Protocol{ Name: "istanbul", Versions: []uint{65, 64}, diff --git a/consensus/istanbul/backend/snapshot.go b/consensus/istanbul/backend/snapshot.go index 8241f3252e..8f9f7fec36 100644 --- a/consensus/istanbul/backend/snapshot.go +++ b/consensus/istanbul/backend/snapshot.go @@ -55,7 +55,7 @@ type Snapshot struct { func effectiveParams(gov governance.Engine, number uint64) (epoch uint64, policy uint64, committeeSize uint64) { pset, err := gov.EffectiveParams(number) if err != nil { - // TODO-Klaytn-Kore: remove err condition + // TODO-Kaia-Kore: remove err condition logger.Error("Couldn't get governance value. Resorting to defaults", "err", err) epoch = params.DefaultEpoch policy = params.DefaultProposerPolicy diff --git a/consensus/istanbul/config.go b/consensus/istanbul/config.go index 9f2e01ebbf..1a4f5a20bd 100644 --- a/consensus/istanbul/config.go +++ b/consensus/istanbul/config.go @@ -36,7 +36,7 @@ type Config struct { SubGroupSize uint64 `toml:",omitempty"` } -// TODO-Klaytn-Istanbul: Do not use DefaultConfig except for assigning new config +// TODO-Kaia-Istanbul: Do not use DefaultConfig except for assigning new config var DefaultConfig = &Config{ Timeout: 10000, BlockPeriod: 1, diff --git a/consensus/istanbul/core/commit.go b/consensus/istanbul/core/commit.go index 2f69196ed2..51aa8faa62 100644 --- a/consensus/istanbul/core/commit.go +++ b/consensus/istanbul/core/commit.go @@ -40,7 +40,7 @@ func (c *core) sendCommit() { return } - // TODO-Klaytn-Istanbul: generalize broadcastCommit for all istanbul message types + // TODO-Kaia-Istanbul: generalize broadcastCommit for all istanbul message types c.broadcastCommit(sub) } diff --git a/consensus/istanbul/core/core.go b/consensus/istanbul/core/core.go index 729faf6834..d629f47d3f 100644 --- a/consensus/istanbul/core/core.go +++ b/consensus/istanbul/core/core.go @@ -198,7 +198,7 @@ func (c *core) commit() { vrank.HandleCommitted(proposal.Number()) } } else { - // TODO-Klaytn never happen, but if proposal is nil, mining is not working. + // TODO-Kaia never happen, but if proposal is nil, mining is not working. logger.Error("istanbul.core current.Proposal is NULL") c.current.UnlockHash() // Unlock block when insertion fails c.sendNextRoundChange("commit failure. proposal is nil") @@ -365,7 +365,7 @@ func (c *core) stopTimer() { func (c *core) newRoundChangeTimer() { c.stopTimer() - // TODO-Klaytn-Istanbul: Replace &istanbul.DefaultConfig.Timeout to c.config.Timeout + // TODO-Kaia-Istanbul: Replace &istanbul.DefaultConfig.Timeout to c.config.Timeout // set timeout based on the round number timeout := time.Duration(atomic.LoadUint64(&istanbul.DefaultConfig.Timeout)) * time.Millisecond round := c.current.Round().Uint64() diff --git a/consensus/istanbul/core/handler.go b/consensus/istanbul/core/handler.go index 6a48868ffe..1c2b4e9fa3 100644 --- a/consensus/istanbul/core/handler.go +++ b/consensus/istanbul/core/handler.go @@ -213,7 +213,7 @@ func (c *core) handleCheckedMsg(msg *message, src istanbul.Validator) error { } func (c *core) handleTimeoutMsg(nextView *istanbul.View) { - // TODO-Klaytn-Istanbul: EN/PN should not handle consensus msgs. + // TODO-Kaia-Istanbul: EN/PN should not handle consensus msgs. if c.backend.NodeType() != common.CONSENSUSNODE { logger.Trace("PN/EN doesn't need to handle timeout messages", "nodeType", c.backend.NodeType().String()) diff --git a/consensus/istanbul/core/handler_test.go b/consensus/istanbul/core/handler_test.go index c01a1633d4..58d314a541 100644 --- a/consensus/istanbul/core/handler_test.go +++ b/consensus/istanbul/core/handler_test.go @@ -484,7 +484,7 @@ func TestCore_handlerMsg(t *testing.T) { } } -// TODO-Klaytn: To enable logging in the test code, we can use the following function. +// TODO-Kaia: To enable logging in the test code, we can use the following function. // This function will be moved to somewhere utility functions are located. func enableLog() { usecolor := term.IsTty(os.Stderr.Fd()) && os.Getenv("TERM") != "dumb" diff --git a/consensus/istanbul/core/roundchange.go b/consensus/istanbul/core/roundchange.go index e616db3972..c426cb5380 100644 --- a/consensus/istanbul/core/roundchange.go +++ b/consensus/istanbul/core/roundchange.go @@ -92,7 +92,7 @@ func (c *core) handleRoundChange(msg *message, src istanbul.Validator) error { return errInvalidMessage } - // TODO-Klaytn-Istanbul: establish round change messaging policy and then apply it + // TODO-Kaia-Istanbul: establish round change messaging policy and then apply it //if !c.valSet.CheckInSubList(msg.Hash, rc.View, src.Address()) { // return errNotFromCommittee //} diff --git a/consensus/istanbul/validator.go b/consensus/istanbul/validator.go index 9be0895458..285836891f 100644 --- a/consensus/istanbul/validator.go +++ b/consensus/istanbul/validator.go @@ -114,7 +114,7 @@ type ValidatorSet interface { SetBlockNum(blockNum uint64) SetMixHash(mixHash []byte) - Proposers() []Validator // TODO-Klaytn-Issue1166 For debugging + Proposers() []Validator // TODO-Kaia-Issue1166 For debugging TotalVotingPower() uint64 diff --git a/consensus/istanbul/validator/default.go b/consensus/istanbul/validator/default.go index a32400f74a..ea1965f75b 100644 --- a/consensus/istanbul/validator/default.go +++ b/consensus/istanbul/validator/default.go @@ -152,7 +152,7 @@ func (valSet *defaultSet) DemotedList() []istanbul.Validator { // SubList composes a committee after setting a proposer with a default value. // This functions returns whole validators if it failed to compose a committee. func (valSet *defaultSet) SubList(prevHash common.Hash, view *istanbul.View) []istanbul.Validator { - // TODO-Klaytn-Istanbul: investigate whether `valSet.GetProposer().Address()` is a proper value or the proposer should be calculated based on `view` + // TODO-Kaia-Istanbul: investigate whether `valSet.GetProposer().Address()` is a proper value or the proposer should be calculated based on `view` proposer := valSet.GetProposer() if proposer == nil { return valSet.List() @@ -250,7 +250,7 @@ func (valSet *defaultSet) GetByAddress(addr common.Address) (int, istanbul.Valid return i, val } } - // TODO-Klaytn-Istanbul: Enable this log when non-committee nodes don't call `core.startNewRound()` + // TODO-Kaia-Istanbul: Enable this log when non-committee nodes don't call `core.startNewRound()` // logger.Warn("failed to find an address in the validator list", // "address", addr, "validatorAddrs", valSet.validators.AddressStringList()) return -1, nil diff --git a/consensus/istanbul/validator/validator.go b/consensus/istanbul/validator/validator.go index e45b64184c..f64ffd907a 100644 --- a/consensus/istanbul/validator/validator.go +++ b/consensus/istanbul/validator/validator.go @@ -72,7 +72,7 @@ func ExtractValidators(extraData []byte) []common.Address { // ConvertHashToSeed returns a random seed used to calculate proposer. // It converts first 7.5 bytes of the given hash to int64. func ConvertHashToSeed(hash common.Hash) (int64, error) { - // TODO-Klaytn-Istanbul: convert hash.Hex() to int64 directly without string conversion + // TODO-Kaia-Istanbul: convert hash.Hex() to int64 directly without string conversion hashstring := strings.TrimPrefix(hash.Hex(), "0x") if len(hashstring) > 15 { hashstring = hashstring[:15] diff --git a/consensus/istanbul/validator/weighted.go b/consensus/istanbul/validator/weighted.go index fd50292787..f3cafefba1 100644 --- a/consensus/istanbul/validator/weighted.go +++ b/consensus/istanbul/validator/weighted.go @@ -45,7 +45,7 @@ type weightedValidator struct { address common.Address rewardAddress atomic.Value - votingPower uint64 // TODO-Klaytn-Issue1336 This should be updated for governance implementation + votingPower uint64 // TODO-Kaia-Issue1336 This should be updated for governance implementation weight uint64 } @@ -105,7 +105,7 @@ type weightedCouncil struct { validatorMu sync.RWMutex // this validator mutex protects concurrent usage of validators and demotedValidators selector istanbul.ProposalSelector - // TODO-Klaytn-Governance proposers means that the proposers for next block, so refactor it. + // TODO-Kaia-Governance proposers means that the proposers for next block, so refactor it. // proposers are determined on a specific block, but it can be removed after votes. proposers []istanbul.Validator proposersBlockNum uint64 // block number when proposers is determined @@ -132,7 +132,7 @@ func RecoverWeightedCouncilProposer(valSet istanbul.ValidatorSet, proposerAddrs } proposers = append(proposers, val) - // TODO-Klaytn-Issue1166 Disable Trace log later + // TODO-Kaia-Issue1166 Disable Trace log later logger.Trace("RecoverWeightedCouncilProposer() proposers", "i", i, "address", val.Address().String()) } weightedCouncil.proposers = proposers @@ -174,7 +174,7 @@ func NewWeightedCouncil(addrs []common.Address, demotedAddrs []common.Address, r //} for i := range addrs { - // TODO-Klaytn-TokenEconomy: Use default value until the formula to calculate votingpower released + // TODO-Kaia-TokenEconomy: Use default value until the formula to calculate votingpower released votingPowers[i] = 1000 //staking := stateDB.GetBalance(addr) //if staking.Cmp(common.Big0) == 0 { @@ -339,8 +339,8 @@ func (valSet *weightedCouncil) DemotedList() []istanbul.Validator { // SubList composes a committee after setting a proposer with a default value. // This functions returns whole validators if it failed to compose a committee. func (valSet *weightedCouncil) SubList(prevHash common.Hash, view *istanbul.View) []istanbul.Validator { - // TODO-Klaytn-Istanbul: investigate whether `valSet.GetProposer().Address()` is a proper value - // TODO-Klaytn-Istanbul: or the proposer should be calculated based on `view` + // TODO-Kaia-Istanbul: investigate whether `valSet.GetProposer().Address()` is a proper value + // TODO-Kaia-Istanbul: or the proposer should be calculated based on `view` return valSet.SubListWithProposer(prevHash, valSet.GetProposer().Address(), view) } @@ -445,7 +445,7 @@ func (valSet *weightedCouncil) CheckInSubList(prevHash common.Hash, view *istanb } func (valSet *weightedCouncil) IsSubSet() bool { - // TODO-Klaytn-RemoveLater We don't use this interface anymore. Eventually let's remove this function from ValidatorSet interface. + // TODO-Kaia-RemoveLater We don't use this interface anymore. Eventually let's remove this function from ValidatorSet interface. return valSet.Size() > valSet.subSize } @@ -464,7 +464,7 @@ func (valSet *weightedCouncil) getByAddress(addr common.Address) (int, istanbul. return i, val } } - // TODO-Klaytn-Istanbul: Enable this log when non-committee nodes don't call `core.startNewRound()` + // TODO-Kaia-Istanbul: Enable this log when non-committee nodes don't call `core.startNewRound()` /*logger.Warn("failed to find an address in the validator list", "address", addr, "validatorAddrs", valSet.validators.AddressStringList())*/ return -1, nil @@ -492,7 +492,7 @@ func (valSet *weightedCouncil) GetDemotedByAddress(addr common.Address) (int, is } func (valSet *weightedCouncil) GetProposer() istanbul.Validator { - // TODO-Klaytn-Istanbul: nil check for valSet.proposer is needed + // TODO-Kaia-Istanbul: nil check for valSet.proposer is needed // logger.Trace("GetProposer()", "proposer", valSet.proposer) return valSet.proposer.Load().(istanbul.Validator) } @@ -524,7 +524,7 @@ func (valSet *weightedCouncil) CalcProposer(lastProposer common.Address, round u newProposer := valSet.selector(valSet, lastProposer, round) if newProposer == nil { if len(valSet.validators) == 0 { - // TODO-Klaytn We must make a policy about the mininum number of validators, which can prevent this case. + // TODO-Kaia We must make a policy about the mininum number of validators, which can prevent this case. logger.Error("NO VALIDATOR! Use lastProposer as a workaround") newProposer = newWeightedValidator(lastProposer, common.Address{}, 0, 0) } else { @@ -551,8 +551,8 @@ func (valSet *weightedCouncil) AddValidator(address common.Address) bool { } } - // TODO-Klaytn-Governance the new validator is added on validators only and demoted after `Refresh` method. It is better to update here if it is demoted ones. - // TODO-Klaytn-Issue1336 Update for governance implementation. How to determine initial value for rewardAddress and votingPower ? + // TODO-Kaia-Governance the new validator is added on validators only and demoted after `Refresh` method. It is better to update here if it is demoted ones. + // TODO-Kaia-Issue1336 Update for governance implementation. How to determine initial value for rewardAddress and votingPower ? valSet.validators = append(valSet.validators, newWeightedValidator(address, common.Address{}, 1000, 0)) // sort validator @@ -648,7 +648,7 @@ func (valSet *weightedCouncil) Policy() istanbul.ProposerPolicy { return valSet. // - already has up-do-date proposers // - successfully calculated up-do-date proposers func (valSet *weightedCouncil) Refresh(hash common.Hash, blockNum uint64, config *params.ChainConfig, isSingle bool, governingNode common.Address, minStaking uint64) error { - // TODO-Klaytn-Governance divide the following logic into two parts: proposers update / validators update + // TODO-Kaia-Governance divide the following logic into two parts: proposers update / validators update valSet.validatorMu.Lock() defer valSet.validatorMu.Unlock() diff --git a/datasync/dbsyncer/dbsync_context.go b/datasync/dbsyncer/dbsync_context.go index cc55e81d5f..514b36e071 100644 --- a/datasync/dbsyncer/dbsync_context.go +++ b/datasync/dbsyncer/dbsync_context.go @@ -26,7 +26,7 @@ import ( ) // HandleChainEventContext supports 2PC Commit (insert block + insert txs) for data consistency -// @TODO-Klaytn improve performance, too slower than HanleChainEvent() +// @TODO-Kaia improve performance, too slower than HanleChainEvent() func (ds *DBSyncer) HandleChainEventContext(block *types.Block) error { logger.Info("dbsyncer HandleChainEvent", "number", block.Number(), "txs", block.Transactions().Len()) startblock := time.Now() diff --git a/datasync/dbsyncer/tx_record.go b/datasync/dbsyncer/tx_record.go index a7ac2b4788..9515da1501 100644 --- a/datasync/dbsyncer/tx_record.go +++ b/datasync/dbsyncer/tx_record.go @@ -140,7 +140,7 @@ func MakeSummaryDBRow(sa SummaryArguments) (cols string, vals []interface{}, cou createdTx := sa.txHash hra := true - // TODO-Klaytn need to use humanreable field + // TODO-Kaia need to use humanreable field internalTx, ok := sa.tx.GetTxInternalData().(*types.TxInternalDataAccountCreation) if !ok { logger.Error("fail to convert TxInternalDataAccountCreation", "txhash", sa.tx.Hash().Hex()) @@ -159,7 +159,7 @@ func MakeSummaryDBRow(sa SummaryArguments) (cols string, vals []interface{}, cou creator := sa.from createdTx := sa.txHash - // TODO-Klaytn need to use humanreable field + // TODO-Kaia need to use humanreable field hra := false switch internalTx := sa.tx.GetTxInternalData().(type) { diff --git a/datasync/downloader/downloader.go b/datasync/downloader/downloader.go index 075835996d..30b3e7840f 100644 --- a/datasync/downloader/downloader.go +++ b/datasync/downloader/downloader.go @@ -144,7 +144,7 @@ type Downloader struct { // for snapsyncer snapSync bool // Whether to run state sync over the snap protocol - SnapSyncer *snap.Syncer // TODO-Klaytn-Snapsyncer make private! hack for now + SnapSyncer *snap.Syncer // TODO-Kaia-Snapsyncer make private! hack for now // for stateFetcher pivotHeader *types.Header @@ -388,7 +388,7 @@ func (d *Downloader) synchronise(id string, hash common.Hash, td *big.Int, mode if d.synchroniseMock != nil { return d.synchroniseMock(id, hash) } - // TODO-Klaytn-Downloader Below code can be replaced by mutex. + // TODO-Kaia-Downloader Below code can be replaced by mutex. // Make sure only one goroutine is ever allowed past this point at once if !atomic.CompareAndSwapInt32(&d.synchronising, 0, 1) { return errBusy diff --git a/datasync/downloader/downloader_test.go b/datasync/downloader/downloader_test.go index cb9e5f6732..ba8782607b 100644 --- a/datasync/downloader/downloader_test.go +++ b/datasync/downloader/downloader_test.go @@ -1796,7 +1796,7 @@ func testFakedSyncProgress(t *testing.T, protocol int, mode SyncMode) { } } -// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI +// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI /* // This test reproduces an issue where unexpected deliveries would // block indefinitely if they arrived at the right time. diff --git a/datasync/downloader/peer.go b/datasync/downloader/peer.go index 2a72e4c802..ef1ecea64a 100644 --- a/datasync/downloader/peer.go +++ b/datasync/downloader/peer.go @@ -592,7 +592,7 @@ func (ps *peerSet) NodeDataIdlePeers() ([]*peerConnection, int) { return ps.idlePeers(63, 65, idleCheck, throughput) } -// TODO-Klaytn-Downloader when idlePeers is called magic numbers are used for minProtocol and maxProtocol. Use a constant instead. +// TODO-Kaia-Downloader when idlePeers is called magic numbers are used for minProtocol and maxProtocol. Use a constant instead. // idlePeers retrieves a flat list of all currently idle peers satisfying the // protocol version constraints, using the provided function to check idleness. // The resulting set of peers are sorted by their measure throughput. diff --git a/datasync/downloader/queue.go b/datasync/downloader/queue.go index 873cbe2a94..5c20fd37c7 100644 --- a/datasync/downloader/queue.go +++ b/datasync/downloader/queue.go @@ -907,7 +907,7 @@ func (q *queue) DeliverStakingInfos(id string, stakingInfoList []*reward.Staking q.lock.Lock() defer q.lock.Unlock() validate := func(index int, header *types.Header) error { - // TODO-Klaytn-Snapsync update validation logic + // TODO-Kaia-Snapsync update validation logic return nil } diff --git a/datasync/fetcher/fetcher.go b/datasync/fetcher/fetcher.go index 94f2b58031..d7f9d0e477 100644 --- a/datasync/fetcher/fetcher.go +++ b/datasync/fetcher/fetcher.go @@ -37,7 +37,7 @@ const ( gatherSlack = 100 * time.Millisecond // Interval used to collate almost-expired announces with fetches fetchTimeout = 5 * time.Second // Maximum allotted time to return an explicitly requested block insertTasksWaitTime = 100 * time.Millisecond // Waiting time when the insertTasks channel is full - // TODO-Klaytn Klaytn is 20 times faster than ethereum, so check block height is 20 times + // TODO-Kaia Klaytn is 20 times faster than ethereum, so check block height is 20 times maxQueueDist = 32 * 20 // Maximum allowed distance from the chain head to queue hashLimit = 256 * 20 // Maximum number of unique blocks a peer may have announced blockLimit = 64 * 20 // Maximum number of unique blocks a peer may have delivered diff --git a/governance/api.go b/governance/api.go index cfb0732676..701e5e7a01 100644 --- a/governance/api.go +++ b/governance/api.go @@ -351,7 +351,7 @@ func (api *GovernanceAPI) IdxCacheFromDb() []uint64 { return api.governance.IdxCacheFromDb() } -// TODO-Klaytn: Return error if invalid input is given such as pending or a too big number +// TODO-Kaia: Return error if invalid input is given such as pending or a too big number func (api *GovernanceAPI) ItemCacheFromDb(num *rpc.BlockNumber) map[string]interface{} { blockNumber := uint64(0) if num == nil || *num == rpc.LatestBlockNumber || *num == rpc.PendingBlockNumber { diff --git a/governance/default.go b/governance/default.go index 9c37f87893..2c3ba3d4e9 100644 --- a/governance/default.go +++ b/governance/default.go @@ -501,7 +501,7 @@ func (gov *Governance) DB() database.DBManager { } func (g *Governance) GetEncodedVote(addr common.Address, number uint64) []byte { - // TODO-Klaytn-Governance Change this part to add all votes to the header at once + // TODO-Kaia-Governance Change this part to add all votes to the header at once for key, val := range g.voteMap.Copy() { if val.Casted == false { vote := new(GovernanceVote) @@ -1240,7 +1240,7 @@ func (gov *Governance) CurrentParams() *params.GovParamSet { // EffectiveParams returns the parameter set used for generating the block `num` func (gov *Governance) EffectiveParams(num uint64) (*params.GovParamSet, error) { - // TODO-Klaytn: Either handle epoch change, or permanently forbid epoch change. + // TODO-Kaia: Either handle epoch change, or permanently forbid epoch change. epoch := gov.epochWithFallback() bignum := new(big.Int).SetUint64(num) diff --git a/kerrors/kerrors.go b/kerrors/kerrors.go index 9b3d03e352..4d50ebcb9f 100644 --- a/kerrors/kerrors.go +++ b/kerrors/kerrors.go @@ -18,8 +18,8 @@ package kerrors import "errors" -// TODO-Klaytn: Use integer for error codes. -// TODO-Klaytn: Integrate all universally accessible errors into kerrors package. +// TODO-Kaia: Use integer for error codes. +// TODO-Kaia: Integrate all universally accessible errors into kerrors package. var ( ErrNotHumanReadableAddress = errors.New("Human-readable address is not supported now") ErrHumanReadableNotSupported = errors.New("Human-readable address is not supported now") diff --git a/log/log_modules.go b/log/log_modules.go index 4d1b85283e..7603f2baa4 100644 --- a/log/log_modules.go +++ b/log/log_modules.go @@ -29,7 +29,7 @@ const StatsReportLimit = 10 * time.Second type ModuleID int // When printID is true, log prints ModuleID instead of ModuleName. -// TODO-Klaytn This can be controlled by runtime configuration. +// TODO-Kaia This can be controlled by runtime configuration. var printID = true func GetModuleName(mi ModuleID) string { diff --git a/networks/grpc/gServer.go b/networks/grpc/gServer.go index 243f016117..acbe4cb8ed 100644 --- a/networks/grpc/gServer.go +++ b/networks/grpc/gServer.go @@ -255,7 +255,7 @@ func (gs *Listener) SetRPCServer(handler *rpc.Server) { func (gs *Listener) Start() { lis, err := net.Listen("tcp", gs.Addr) if err != nil { - // TODO-Klaytn-gRPC Need to handle err + // TODO-Kaia-gRPC Need to handle err logger.Error("failed to listen", "err", err) } gs.grpcServer = grpc.NewServer() @@ -265,7 +265,7 @@ func (gs *Listener) Start() { // Register reflection service on gRPC server. reflection.Register(gs.grpcServer) if err := gs.grpcServer.Serve(lis); err != nil { - // TODO-Klaytn-gRPC Need to handle err + // TODO-Kaia-gRPC Need to handle err logger.Error("failed to serve", "err", err) } } diff --git a/networks/p2p/dial.go b/networks/p2p/dial.go index 4138ee8780..8f068fa56c 100644 --- a/networks/p2p/dial.go +++ b/networks/p2p/dial.go @@ -611,7 +611,7 @@ func (t *discoverTask) Do(srv Server) { srv.SetLastLookupToNow() var target discover.NodeID rand.Read(target[:]) - t.results = srv.Lookup(target, discover.NodeTypeEN) // TODO-Klaytn Supposed dynamicDial discover only en, but type have to get from argument. + t.results = srv.Lookup(target, discover.NodeTypeEN) // TODO-Kaia Supposed dynamicDial discover only en, but type have to get from argument. } func (t *discoverTask) String() string { diff --git a/networks/p2p/discover/discover_api.go b/networks/p2p/discover/discover_api.go index 7014b544fd..9ce668a149 100644 --- a/networks/p2p/discover/discover_api.go +++ b/networks/p2p/discover/discover_api.go @@ -59,7 +59,7 @@ func (tab *Table) GetReplacements() []*Node { tab.storagesMu.RLock() defer tab.storagesMu.RUnlock() for _, bs := range tab.storages { - if _, ok := bs.(*KademliaStorage); ok { // TODO-Klaytn-Node Are there any change SimpleStorage use this method? + if _, ok := bs.(*KademliaStorage); ok { // TODO-Kaia-Node Are there any change SimpleStorage use this method? ret = append(ret, bs.(*KademliaStorage).getReplacements()...) } } diff --git a/networks/p2p/discover/discover_storage.go b/networks/p2p/discover/discover_storage.go index 5128385bc0..d3f2c4466d 100644 --- a/networks/p2p/discover/discover_storage.go +++ b/networks/p2p/discover/discover_storage.go @@ -71,7 +71,7 @@ func deleteNode(list []*Node, n *Node) []*Node { } // nodeTypeName converts NodeType to string. -func nodeTypeName(nt NodeType) string { // TODO-Klaytn-Node Consolidate p2p.NodeType and common.ConnType +func nodeTypeName(nt NodeType) string { // TODO-Kaia-Node Consolidate p2p.NodeType and common.ConnType switch nt { case NodeTypeCN: return "CN" diff --git a/networks/p2p/discover/discover_storage_kademlia.go b/networks/p2p/discover/discover_storage_kademlia.go index d970d8f83b..dd9b9b423e 100644 --- a/networks/p2p/discover/discover_storage_kademlia.go +++ b/networks/p2p/discover/discover_storage_kademlia.go @@ -169,7 +169,7 @@ func (s *KademliaStorage) nodeAll() (nodes []*Node) { // The caller must hold s.bucketMu func (s *KademliaStorage) bucketByIdx(bi int) *bucket { - // TODO-Klaytn-Node range check + // TODO-Kaia-Node range check return s.buckets[bi] } @@ -276,7 +276,7 @@ func (s *KademliaStorage) delete(n *Node) { // The caller must hold tab.mutex. func (s *KademliaStorage) deleteInBucket(b *bucket, n *Node) { b.entries = deleteNode(b.entries, n) - s.removeIP(b, n.IP) // TODO-Klaytn-Node Does the IP is not lock? + s.removeIP(b, n.IP) // TODO-Kaia-Node Does the IP is not lock? } // closest returns the n nodes in the table that are closest to the @@ -285,7 +285,7 @@ func (s *KademliaStorage) closest(target common.Hash, nresults int) *nodesByDist // This is a very wasteful way to find the closest nodes but // obviously correct. I believe that tree-based buckets would make // this easier to implement efficiently. - // TODO-Klaytn-Node more efficient ways to obtain the closest nodes could be considered. + // TODO-Kaia-Node more efficient ways to obtain the closest nodes could be considered. close := &nodesByDistance{target: target} s.bucketsMu.Lock() defer s.bucketsMu.Unlock() diff --git a/networks/p2p/discover/discover_storage_simple.go b/networks/p2p/discover/discover_storage_simple.go index d3c1f582ce..6ed16d6d7b 100644 --- a/networks/p2p/discover/discover_storage_simple.go +++ b/networks/p2p/discover/discover_storage_simple.go @@ -130,7 +130,7 @@ func (s *simpleStorage) doRevalidate() { oldest := s.nodes[len(s.nodes)-1] - holdingTime := s.tab.db.bondTime(oldest.ID).Add(10 * time.Second) // TODO-Klaytn-Node Make sleep time as configurable + holdingTime := s.tab.db.bondTime(oldest.ID).Add(10 * time.Second) // TODO-Kaia-Node Make sleep time as configurable if time.Now().Before(holdingTime) { return } @@ -216,7 +216,7 @@ func (s *simpleStorage) deleteWithoutLock(n *Node) { func (s *simpleStorage) closest(target common.Hash, nresults int) *nodesByDistance { s.nodesMutex.Lock() defer s.nodesMutex.Unlock() - // TODO-Klaytn-Node nodesByDistance is not suitable for SimpleStorage. Because there is no concept for distance + // TODO-Kaia-Node nodesByDistance is not suitable for SimpleStorage. Because there is no concept for distance // in the SimpleStorage. Change it cNodes := &nodesByDistance{target: target} nodes := s.shuffle(s.nodes) @@ -250,7 +250,7 @@ func (s *simpleStorage) bumpOrAdd(n *Node) bool { } s.localLogger.Trace("Add(New)", "StorageName", s.name(), "node", n) - s.nodes, _ = pushNode(s.nodes, n, math.MaxInt64) // TODO-Klaytn-Node Change Max value for more reasonable one. + s.nodes, _ = pushNode(s.nodes, n, math.MaxInt64) // TODO-Kaia-Node Change Max value for more reasonable one. n.addedAt = time.Now() if s.tab.nodeAddedHook != nil { s.tab.nodeAddedHook(n) diff --git a/networks/p2p/discover/node.go b/networks/p2p/discover/node.go index 40d3d21e75..01f714e43d 100644 --- a/networks/p2p/discover/node.go +++ b/networks/p2p/discover/node.go @@ -138,7 +138,7 @@ func (n *Node) String() string { return u.String() } -// TODO-Klaytn-NodeDiscovery: Deprecate supporting "enode" +// TODO-Kaia-NodeDiscovery: Deprecate supporting "enode" var ( incompleteNodeURL = regexp.MustCompile("(?i)^(?:kni://|enode://)?([0-9a-f]+)$") lookupIPFunc = net.LookupIP diff --git a/networks/p2p/discover/table.go b/networks/p2p/discover/table.go index 02f6ee0f3e..6064d559e7 100644 --- a/networks/p2p/discover/table.go +++ b/networks/p2p/discover/table.go @@ -507,7 +507,7 @@ func (tab *Table) doRefresh(done chan struct{}) { } func (tab *Table) loadSeedNodes(bond bool) { - // TODO-Klaytn-Node Separate logic to storages. + // TODO-Kaia-Node Separate logic to storages. seeds := tab.db.querySeeds(seedCount, seedMaxAge) seeds = removeBn(seeds) seeds = append(seeds, tab.nursery...) diff --git a/networks/p2p/discover/udp.go b/networks/p2p/discover/udp.go index 13c65527bf..56bd5fb850 100644 --- a/networks/p2p/discover/udp.go +++ b/networks/p2p/discover/udp.go @@ -135,7 +135,7 @@ type ( NType NodeType // NodeType (CN, PN, EN, BN) } - // TODO-Klaytn Change private type + // TODO-Kaia Change private type NodeType uint8 ) @@ -314,7 +314,7 @@ func newUDP(cfg *Config) (Discovery, *udp, error) { if err != nil { return nil, nil, err } - go udp.Discovery.(*Table).loop() // TODO-Klaytn-Node There is only one concrete type(Table) for Discovery. Refactor Discovery interface for their proper objective. + go udp.Discovery.(*Table).loop() // TODO-Kaia-Node There is only one concrete type(Table) for Discovery. Refactor Discovery interface for their proper objective. go udp.loop() go udp.readLoop(cfg.Unhandled) return udp.Discovery, udp, nil @@ -633,7 +633,7 @@ func (t *udp) handlePacket(from *net.UDPAddr, buf []byte) error { logger.Trace("<< "+packet.name(), "addr", from, "err", err) logger.Trace("[udp] handlePacket", "name", packet.name(), "packet", packet) err = packet.handle(t, from, fromID, hash) - // TODO-Klaytn Count Error UDP Packets + // TODO-Kaia Count Error UDP Packets udpPacketCounter.Inc(1) return err } @@ -733,7 +733,7 @@ func (req *findnode) handle(t *udp, from *net.UDPAddr, fromID NodeID, mac []byte return errUnknownNode } target := crypto.Keccak256Hash(req.Target[:]) - closest := t.RetrieveNodes(target, req.TargetType, bucketSize) // TODO-Klaytn-Node if NodeType is CN or PN, bucketSize is not a prefer variable. + closest := t.RetrieveNodes(target, req.TargetType, bucketSize) // TODO-Kaia-Node if NodeType is CN or PN, bucketSize is not a prefer variable. p := neighbors{Expiration: uint64(time.Now().Add(expiration).Unix()), TargetType: req.TargetType} var sent bool diff --git a/networks/p2p/discover/utils.go b/networks/p2p/discover/utils.go index a9deca11b1..0ff421b7e2 100644 --- a/networks/p2p/discover/utils.go +++ b/networks/p2p/discover/utils.go @@ -36,7 +36,7 @@ func ParseNodeType(nt string) NodeType { } // StringNodeType converts NodeType to string -func StringNodeType(nType NodeType) string { // TODO-Klaytn-Node Consolidate p2p.NodeType and common.ConnType +func StringNodeType(nType NodeType) string { // TODO-Kaia-Node Consolidate p2p.NodeType and common.ConnType switch nType { case NodeTypeCN: return "cn" diff --git a/networks/p2p/server.go b/networks/p2p/server.go index 041c40f26c..e6ccc26b7c 100644 --- a/networks/p2p/server.go +++ b/networks/p2p/server.go @@ -1572,15 +1572,15 @@ func (srv *BaseServer) getTypeStatics() map[dialType]typedStatic { switch srv.ConnectionType { case common.CONSENSUSNODE: tsMap := make(map[dialType]typedStatic) - tsMap[DT_CN] = typedStatic{100, 3} // TODO-Klaytn-Node Change to literal to constant (maxNodeCount, MaxTry) + tsMap[DT_CN] = typedStatic{100, 3} // TODO-Kaia-Node Change to literal to constant (maxNodeCount, MaxTry) return tsMap case common.PROXYNODE: tsMap := make(map[dialType]typedStatic) - tsMap[DT_PN] = typedStatic{1, 3} // // TODO-Klaytn-Node Change to literal to constant (maxNodeCount, MaxTry) + tsMap[DT_PN] = typedStatic{1, 3} // // TODO-Kaia-Node Change to literal to constant (maxNodeCount, MaxTry) return tsMap case common.ENDPOINTNODE: tsMap := make(map[dialType]typedStatic) - tsMap[DT_PN] = typedStatic{2, 3} // // TODO-Klaytn-Node Change to literal to constant (maxNodeCount, MaxTry) + tsMap[DT_PN] = typedStatic{2, 3} // // TODO-Kaia-Node Change to literal to constant (maxNodeCount, MaxTry) return tsMap case common.BOOTNODE: return nil @@ -1900,7 +1900,7 @@ func ConvertNodeType(ct common.ConnType) discover.NodeType { case common.BOOTNODE: return discover.NodeTypeBN default: - return discover.NodeTypeUnknown // TODO-Klaytn-Node Maybe, call panic() func or Crit() + return discover.NodeTypeUnknown // TODO-Kaia-Node Maybe, call panic() func or Crit() } } diff --git a/networks/p2p/simulations/http_test.go b/networks/p2p/simulations/http_test.go index 9e2573562f..25fa66d4e2 100644 --- a/networks/p2p/simulations/http_test.go +++ b/networks/p2p/simulations/http_test.go @@ -528,7 +528,7 @@ func (t *expectEvents) expect(events ...*Event) { } } -// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI +// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI /* // TestHTTPNodeRPC tests calling RPC methods on nodes via the HTTP API func TestHTTPNodeRPC(t *testing.T) { diff --git a/networks/p2p/tracker/tracker.go b/networks/p2p/tracker/tracker.go index 2cc8d4d4d0..b7df722f53 100644 --- a/networks/p2p/tracker/tracker.go +++ b/networks/p2p/tracker/tracker.go @@ -205,7 +205,7 @@ func (t *Tracker) Fulfil(peer string, version uint, code uint64, id uint64) { gauge := metrics.GetOrRegisterGauge(g, nil) gauge.Update(gauge.Value() - 1) - // TODO-Klaytn-SnapSync update the following metrics if necessary + // TODO-Kaia-SnapSync update the following metrics if necessary //h := fmt.Sprintf("%s/%s/%d/%#02x", waitHistName, t.protocol, req.version, req.reqCode) //sampler := func() metrics.Sample { // return metrics.ResettingSample( diff --git a/networks/rpc/client_test.go b/networks/rpc/client_test.go index 75aa15e867..d86e061b90 100644 --- a/networks/rpc/client_test.go +++ b/networks/rpc/client_test.go @@ -339,7 +339,7 @@ func TestClientSubscribeClose(t *testing.T) { } } -/* TODO-Klaytn-FailedTest Test fails +/* TODO-Kaia-FailedTest Test fails // This test reproduces https://github.com/ethereum/go-ethereum/issues/17837 where the // client hangs during shutdown when Unsubscribe races with Client.Close. func TestClientCloseUnsubscribeRace(t *testing.T) { diff --git a/networks/rpc/handler.go b/networks/rpc/handler.go index fe48b55d91..68cfcc4ddb 100644 --- a/networks/rpc/handler.go +++ b/networks/rpc/handler.go @@ -428,7 +428,7 @@ func (h *handler) handleSubscribe(cp *callProc, msg *jsonrpcMessage) *jsonrpcMes func (h *handler) runMethod(ctx context.Context, msg *jsonrpcMessage, callb *callback, args []reflect.Value) *jsonrpcMessage { result, err := callb.call(ctx, msg.Method, args) if err != nil { - // TODO-Klaytn: + // TODO-Kaia: // 1. The single URL may be extended to the list of URL. // 2. The URL (list or single) seems not modifiable at runtime. // 3. Any request can be relayed as well as the state lack. diff --git a/networks/rpc/http.go b/networks/rpc/http.go index 6596f7b2aa..85c07e1903 100644 --- a/networks/rpc/http.go +++ b/networks/rpc/http.go @@ -331,7 +331,7 @@ func NewFastHTTPServer(cors []string, vhosts []string, timeouts HTTPTimeouts, sr fhandler := fasthttpadaptor.NewFastHTTPHandler(handler) fhandler = fasthttp.TimeoutHandler(fhandler, timeouts.ExecutionTimeout, "timeout") - // TODO-Klaytn concurreny default (256 * 1024), goroutine limit (8192) + // TODO-Kaia concurreny default (256 * 1024), goroutine limit (8192) return &fasthttp.Server{ Concurrency: ConcurrencyLimit, Handler: fhandler, diff --git a/networks/rpc/http_newrelic.go b/networks/rpc/http_newrelic.go index 8fa03d26e5..be83d874ca 100644 --- a/networks/rpc/http_newrelic.go +++ b/networks/rpc/http_newrelic.go @@ -111,13 +111,13 @@ func newNewRelicHTTPHandler(nrApp *newrelic.Application, handler http.Handler) h if err := json.Unmarshal(dupW.body.Bytes(), &rpcReturns); err == nil { for i, rpcReturn := range rpcReturns { if data, err := json.Marshal(rpcReturn); err == nil { - // TODO-Klaytn: make the log level configurable or separate module name of the logger + // TODO-Kaia: make the log level configurable or separate module name of the logger printRPCErrorLog(data, reqs[i].Method, r) } } } } else { - // TODO-Klaytn: make the log level configurable or separate module name of the logger + // TODO-Kaia: make the log level configurable or separate module name of the logger printRPCErrorLog(dupW.body.Bytes(), reqMethod, r) } }) diff --git a/networks/rpc/server.go b/networks/rpc/server.go index e72f9abaaa..610757e90b 100644 --- a/networks/rpc/server.go +++ b/networks/rpc/server.go @@ -54,7 +54,7 @@ var ( // pendingRequestCount is a total number of concurrent RPC method calls pendingRequestCount int64 = 0 - // TODO-Klaytn: move websocket configurations to Config struct in /network/rpc/server.go + // TODO-Kaia: move websocket configurations to Config struct in /network/rpc/server.go // MaxSubscriptionPerWSConn is a maximum number of subscription for a websocket connection MaxSubscriptionPerWSConn int32 = 3000 diff --git a/networks/rpc/websocket.go b/networks/rpc/websocket.go index 2b3dac176c..c809c50582 100644 --- a/networks/rpc/websocket.go +++ b/networks/rpc/websocket.go @@ -96,7 +96,7 @@ var upgrader = fastws.Upgrader{ } func (srv *Server) FastWebsocketHandler(ctx *fasthttp.RequestCtx) { - // TODO-Klaytn handle websocket protocol + // TODO-Kaia handle websocket protocol protocol := ctx.Request.Header.Peek("Sec-WebSocket-Protocol") if protocol != nil { ctx.Response.Header.Set("Sec-WebSocket-Protocol", string(protocol)) @@ -161,7 +161,7 @@ func NewWSServer(allowedOrigins []string, srv *Server) *http.Server { func NewFastWSServer(allowedOrigins []string, srv *Server) *fasthttp.Server { upgrader.CheckOrigin = wsFastHandshakeValidator(allowedOrigins) - // TODO-Klaytn concurreny default (256 * 1024), goroutine limit (8192) + // TODO-Kaia concurreny default (256 * 1024), goroutine limit (8192) return &fasthttp.Server{ Concurrency: ConcurrencyLimit, MaxRequestBodySize: common.MaxRequestContentLength, diff --git a/node/api.go b/node/api.go index 70c61b0cb7..6eaa2fce49 100644 --- a/node/api.go +++ b/node/api.go @@ -67,7 +67,7 @@ func (api *PrivateAdminAPI) AddPeer(url string) (bool, error) { if server == nil { return false, ErrNodeStopped } - // TODO-Klaytn Refactoring this to check whether the url is valid or not by dialing and return it. + // TODO-Kaia Refactoring this to check whether the url is valid or not by dialing and return it. if _, err := addPeerInternal(server, url, false); err != nil { return false, err } else { diff --git a/node/cn/api.go b/node/cn/api.go index a3d477fb9c..4215024ad3 100644 --- a/node/cn/api.go +++ b/node/cn/api.go @@ -358,26 +358,26 @@ func (api *PublicDebugAPI) DumpStateTrie(ctx context.Context, blockNrOrHash rpc. return result, nil } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // StartWarmUp retrieves all state/storage tries of the latest committed state root and caches the tries. func (api *PrivateDebugAPI) StartWarmUp(minLoad uint) error { return api.cn.blockchain.StartWarmUp(minLoad) } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // StartContractWarmUp retrieves a storage trie of the latest state root and caches the trie // corresponding to the given contract address. func (api *PrivateDebugAPI) StartContractWarmUp(contractAddr common.Address, minLoad uint) error { return api.cn.blockchain.StartContractWarmUp(contractAddr, minLoad) } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // StopWarmUp stops the warming up process. func (api *PrivateDebugAPI) StopWarmUp() error { return api.cn.blockchain.StopWarmUp() } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // StartCollectingTrieStats collects state/storage trie statistics and print in the log. func (api *PrivateDebugAPI) StartCollectingTrieStats(contractAddr common.Address) error { return api.cn.blockchain.StartCollectingTrieStats(contractAddr) @@ -404,7 +404,7 @@ func (api *PrivateDebugAPI) Preimage(ctx context.Context, hash common.Hash) (hex return nil, errors.New("unknown preimage") } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // GetBadBLocks returns a list of the last 'bad blocks' that the client has seen on the network // and returns them as a JSON list of block-hashes func (api *PublicDebugAPI) GetBadBlocks(ctx context.Context) ([]blockchain.BadBlockArgs, error) { @@ -465,7 +465,7 @@ func storageRangeAt(st state.Trie, start []byte, maxResult int) (StorageRangeRes return result, nil } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // GetModifiedAccountsByNumber returns all accounts that have changed between the // two blocks specified. A change is defined as a difference in nonce, balance, // code hash, or storage hash. @@ -479,7 +479,7 @@ func (api *PublicDebugAPI) GetModifiedAccountsByNumber(ctx context.Context, star return api.getModifiedAccounts(startBlock, endBlock) } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // GetModifiedAccountsByHash returns all accounts that have changed between the // two blocks specified. A change is defined as a difference in nonce, balance, // code hash, or storage hash. @@ -507,7 +507,7 @@ func (api *PublicDebugAPI) GetModifiedAccountsByHash(startHash common.Hash, endH return api.getModifiedAccounts(startBlock, endBlock) } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers func (api *PublicDebugAPI) getModifiedAccounts(startBlock, endBlock *types.Block) ([]common.Address, error) { trieDB := api.cn.blockchain.StateCache().TrieDB() @@ -534,7 +534,7 @@ func (api *PublicDebugAPI) getModifiedAccounts(startBlock, endBlock *types.Block return dirty, nil } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // getStartAndEndBlock returns start and end block based on the given startNum and endNum. func (api *PublicDebugAPI) getStartAndEndBlock(ctx context.Context, startNum rpc.BlockNumber, endNum *rpc.BlockNumber) (*types.Block, *types.Block, error) { var startBlock, endBlock *types.Block @@ -564,7 +564,7 @@ func (api *PublicDebugAPI) getStartAndEndBlock(ctx context.Context, startNum rpc return startBlock, endBlock, nil } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers // GetModifiedStorageNodesByNumber returns the number of storage nodes of a contract account // that have been changed between the two blocks specified. // @@ -577,7 +577,7 @@ func (api *PublicDebugAPI) GetModifiedStorageNodesByNumber(ctx context.Context, return api.getModifiedStorageNodes(contractAddr, startBlock, endBlock, printDetail) } -// TODO-klaytn: Rearrange PublicDebugAPI and PrivateDebugAPI receivers +// TODO-Kaia: Rearrange PublicDebugAPI and PrivateDebugAPI receivers func (api *PublicDebugAPI) getModifiedStorageNodes(contractAddr common.Address, startBlock, endBlock *types.Block, printDetail *bool) (int, error) { startBlockRoot, err := api.cn.blockchain.GetContractStorageRoot(startBlock, api.cn.blockchain.StateCache(), contractAddr) if err != nil { diff --git a/node/cn/backend.go b/node/cn/backend.go index 0aadf4da03..807039f36f 100644 --- a/node/cn/backend.go +++ b/node/cn/backend.go @@ -323,7 +323,7 @@ func New(ctx *node.ServiceContext, config *Config) (*CN, error) { if config.TxPool.Journal != "" { config.TxPool.Journal = ctx.ResolvePath(config.TxPool.Journal) } - // TODO-Klaytn-ServiceChain: add account creation prevention in the txPool if TxTypeAccountCreation is supported. + // TODO-Kaia-ServiceChain: add account creation prevention in the txPool if TxTypeAccountCreation is supported. config.TxPool.NoAccountCreation = config.NoAccountCreation cn.txPool = blockchain.NewTxPool(config.TxPool, cn.chainConfig, bc) governance.SetTxPool(cn.txPool) @@ -374,7 +374,7 @@ func New(ctx *node.ServiceContext, config *Config) (*CN, error) { istBackend.SetChain(cn.blockchain) } } else { - // TODO-Klaytn improve to handle drop transaction on network traffic in PN and EN + // TODO-Kaia improve to handle drop transaction on network traffic in PN and EN cn.miner = work.New(cn, cn.chainConfig, cn.EventMux(), cn.engine, ctx.NodeType(), crypto.PubkeyToAddress(ctx.NodeKey().PublicKey), cn.config.TxResendUseLegacy) } diff --git a/node/cn/gasprice/feehistory.go b/node/cn/gasprice/feehistory.go index 50bc51a1f6..098817c422 100644 --- a/node/cn/gasprice/feehistory.go +++ b/node/cn/gasprice/feehistory.go @@ -98,11 +98,11 @@ func (s sortGasAndReward) Less(i, j int) bool { // fills in the rest of the fields. func (oracle *Oracle) processBlock(bf *blockFees, percentiles []float64) { chainconfig := oracle.backend.ChainConfig() - // TODO-Klaytn: If we implement baseFee feature like Ethereum does, we should set it from header, not constant. + // TODO-Kaia: If we implement baseFee feature like Ethereum does, we should set it from header, not constant. if bf.results.baseFee = bf.header.BaseFee; bf.results.baseFee == nil { bf.results.baseFee = new(big.Int).SetUint64(params.ZeroBaseFee) } - // TODO-Klaytn: If we implement baseFee feature like Ethereum does, we should calculate nextBaseFee from parent block header. + // TODO-Kaia: If we implement baseFee feature like Ethereum does, we should calculate nextBaseFee from parent block header. if chainconfig.IsMagmaForkEnabled(big.NewInt(int64(bf.blockNumber + 1))) { bf.results.nextBaseFee = misc.NextMagmaBlockBaseFee(bf.header, chainconfig.Governance.KIP71) } else { @@ -111,7 +111,7 @@ func (oracle *Oracle) processBlock(bf *blockFees, percentiles []float64) { // Use MaxBlockGasUsedForBaseFee as gasLimit for gasUsedRatio. if chainconfig.IsMagmaForkEnabled(big.NewInt(int64(bf.blockNumber))) { - // TODO-Klaytn: Instead of using chainConfig, we should use governance set values. + // TODO-Kaia: Instead of using chainConfig, we should use governance set values. if chainconfig.Governance.KIP71.MaxBlockGasUsedForBaseFee != 0 { bf.results.gasUsedRatio = float64(bf.header.GasUsed) / float64(chainconfig.Governance.KIP71.MaxBlockGasUsedForBaseFee) } diff --git a/node/cn/handler.go b/node/cn/handler.go index 73175b29c2..39f0e870f9 100644 --- a/node/cn/handler.go +++ b/node/cn/handler.go @@ -187,7 +187,7 @@ func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, ne if mode == downloader.FastSync && version < klay63 { continue } - // TODO-Klaytn-Snapsync add snapsync and version check here + // TODO-Kaia-Snapsync add snapsync and version check here if mode == downloader.SnapSync && version < klay65 { continue } @@ -550,7 +550,7 @@ func (pm *ProtocolManager) handle(p Peer) error { } addr := crypto.PubkeyToAddress(*pubKey) - // TODO-Klaytn check global worker and peer worker + // TODO-Kaia check global worker and peer worker messageChannel := make(chan p2p.Msg, channelSizePerPeer) defer close(messageChannel) errChannel := make(chan error, channelSizePerPeer) @@ -935,7 +935,7 @@ func handleNodeDataRequestMsg(pm *ProtocolManager, p Peer, msg p2p.Msg) error { return errResp(ErrDecode, "msg %v: %v", msg, err) } // Retrieve the requested state entry, stopping if enough was found - // TODO-Klaytn-Snapsync now the code and trienode is mixed in the protocol level, separate these two types. + // TODO-Kaia-Snapsync now the code and trienode is mixed in the protocol level, separate these two types. entry, err := pm.blockchain.TrieNode(hash) if len(entry) == 0 || err != nil { // Read the contract code with prefix only to save unnecessary lookups. @@ -1262,7 +1262,7 @@ func (pm *ProtocolManager) BroadcastBlock(block *types.Block) { logger.Error("Propagating dangling block", "number", block.Number(), "hash", block.Hash()) return } - // TODO-Klaytn only send all validators + sub(peer) except subset for this block + // TODO-Kaia only send all validators + sub(peer) except subset for this block // transfer := peers[:int(math.Sqrt(float64(len(peers))))] // Calculate the TD of the block (it's not imported yet, so block.Td is not valid) @@ -1320,7 +1320,7 @@ func (pm *ProtocolManager) broadcastTxsFromCN(txs types.Transactions) { continue } - // TODO-Klaytn Code Check + // TODO-Kaia Code Check // peers = peers[:int(math.Sqrt(float64(len(peers))))] half := (len(peers) / 2) + 2 peers = samplingPeers(peers, half) @@ -1342,10 +1342,10 @@ func (pm *ProtocolManager) broadcastTxsFromPN(txs types.Transactions) { cnPeersWithoutTxs := make(map[Peer]types.Transactions) peersWithoutTxs := make(map[Peer]types.Transactions) for _, tx := range txs { - // TODO-Klaytn drop or missing tx + // TODO-Kaia drop or missing tx cnPeers := pm.peers.CNWithoutTx(tx.Hash()) if len(cnPeers) > 0 { - cnPeers = samplingPeers(cnPeers, 2) // TODO-Klaytn optimize pickSize or propagation way + cnPeers = samplingPeers(cnPeers, 2) // TODO-Kaia optimize pickSize or propagation way for _, peer := range cnPeers { cnPeersWithoutTxs[peer] = append(cnPeersWithoutTxs[peer], tx) } @@ -1472,7 +1472,7 @@ func (pm *ProtocolManager) txResendLoop(period uint64, maxTxCount int) { func (pm *ProtocolManager) txResend(pending types.Transactions) { txResendRoutineGauge.Update(txResendRoutineGauge.Value() + 1) defer txResendRoutineGauge.Update(txResendRoutineGauge.Value() - 1) - // TODO-Klaytn drop or missing tx + // TODO-Kaia drop or missing tx if len(pending) > 0 { logger.Debug("Tx Resend", "count", len(pending)) pm.ReBroadcastTxs(pending) @@ -1489,7 +1489,7 @@ func (pm *ProtocolManager) useTxResend() bool { // NodeInfo represents a short summary of the Klaytn sub-protocol metadata // known about the host peer. type NodeInfo struct { - // TODO-Klaytn describe predefined network ID below + // TODO-Kaia describe predefined network ID below Network uint64 `json:"network"` // Klaytn network ID BlockScore *big.Int `json:"blockscore"` // Total blockscore of the host's blockchain Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block diff --git a/node/cn/peer.go b/node/cn/peer.go index 09ac4a180d..016cfb842d 100644 --- a/node/cn/peer.go +++ b/node/cn/peer.go @@ -60,13 +60,13 @@ const ( // maxQueuedProps is the maximum number of block propagations to queue up before // dropping broadcasts. There's not much point in queueing stale blocks, so a few // that might cover uncles should be enough. - // TODO-Klaytn-Refactoring Look into the usage of maxQueuedProps and remove it if needed + // TODO-Kaia-Refactoring Look into the usage of maxQueuedProps and remove it if needed maxQueuedProps = 4 // maxQueuedAnns is the maximum number of block announcements to queue up before // dropping broadcasts. Similarly to block propagations, there's no point to queue // above some healthy uncle limit, so use that. - // TODO-Klaytn-Refactoring Look into the usage of maxQueuedAnns and remove it if needed + // TODO-Kaia-Refactoring Look into the usage of maxQueuedAnns and remove it if needed maxQueuedAnns = 4 handshakeTimeout = 5 * time.Second @@ -1007,7 +1007,7 @@ func (p *multiChannelPeer) msgSender(msgcode uint64, data interface{}) error { // GetRW returns the MsgReadWriter of the peer. func (p *multiChannelPeer) GetRW() p2p.MsgReadWriter { - return p.rw // TODO-Klaytn check this function usage + return p.rw // TODO-Kaia check this function usage } // UpdateRWImplementationVersion updates the version of the implementation of RW. @@ -1029,7 +1029,7 @@ func (p *multiChannelPeer) ReadMsg(rw p2p.MsgReadWriter, connectionOrder int, er }, channelSizePerPeer) go func() { for { - // TODO-klaytn: check 30-second timeout works + // TODO-Kaia: check 30-second timeout works msg, err := rw.ReadMsg() select { case <-closed: diff --git a/node/cn/peer_set.go b/node/cn/peer_set.go index 78fb7e6162..99da88f34b 100644 --- a/node/cn/peer_set.go +++ b/node/cn/peer_set.go @@ -478,7 +478,7 @@ func (peers *peerSet) SamplePeersToSendBlock(block *types.Block, nodeType common } func (peers *peerSet) SampleResendPeersByType(nodeType common.ConnType) []Peer { - // TODO-Klaytn Need to tune pickSize. Currently use 2 for availability and efficiency. + // TODO-Kaia Need to tune pickSize. Currently use 2 for availability and efficiency. var sampledPeers []Peer switch nodeType { case common.ENDPOINTNODE: diff --git a/node/cn/protocol.go b/node/cn/protocol.go index 833dbd7b39..27c20e3deb 100644 --- a/node/cn/protocol.go +++ b/node/cn/protocol.go @@ -56,7 +56,7 @@ var ProtocolLengths = []uint64{21, 19, 17, 8} const ProtocolMaxMsgSize = 12 * 1024 * 1024 // Maximum cap on the size of a protocol message // Klaytn protocol message codes -// TODO-Klaytn-Issue751 Protocol message should be refactored. Present code is not used. +// TODO-Kaia-Issue751 Protocol message should be refactored. Present code is not used. const ( // Protocol messages belonging to klay/62 StatusMsg = 0x00 diff --git a/node/cn/snap/handler.go b/node/cn/snap/handler.go index e4e47dcebd..9f795b3969 100644 --- a/node/cn/snap/handler.go +++ b/node/cn/snap/handler.go @@ -100,7 +100,7 @@ func HandleMessage(reader SnapshotReader, downloader SnapshotDownloader, peer *P } defer msg.Discard() start := time.Now() - // TODO-Klaytn-SnapSync add metric to track the amount of time it takes to serve the request and run the manager + // TODO-Kaia-SnapSync add metric to track the amount of time it takes to serve the request and run the manager // Handle the message depending on its contents switch { case msg.Code == GetAccountRangeMsg: @@ -232,7 +232,7 @@ func ServiceGetAccountRangeQuery(chain SnapshotReader, req *GetAccountRangePacke if req.Bytes > softResponseLimit { req.Bytes = softResponseLimit } - // TODO-Klaytn-SnapSync investigate the cache pollution + // TODO-Kaia-SnapSync investigate the cache pollution // Retrieve the requested state and bail out if non existent tr, err := statedb.NewTrie(req.Root, chain.StateCache().TrieDB(), nil) if err != nil { @@ -264,7 +264,7 @@ func ServiceGetAccountRangeQuery(chain SnapshotReader, req *GetAccountRangePacke if bytes.Compare(hash[:], req.Limit[:]) >= 0 { break } - // TODO-Klaytn-SnapSync check if the size is much larger than soft response limit + // TODO-Kaia-SnapSync check if the size is much larger than soft response limit if size > req.Bytes { break } @@ -295,9 +295,9 @@ func ServiceGetStorageRangesQuery(chain SnapshotReader, req *GetStorageRangesPac if req.Bytes > softResponseLimit { req.Bytes = softResponseLimit } - // TODO-Klaytn-SnapSync Do we want to enforce > 0 accounts and 1 account if origin is set? - // TODO-Klaytn-SnapSync - Logging locally is not ideal as remote faulst annoy the local user - // TODO-Klaytn-SnapSync - Dropping the remote peer is less flexible wrt client bugs (slow is better than non-functional) + // TODO-Kaia-SnapSync Do we want to enforce > 0 accounts and 1 account if origin is set? + // TODO-Kaia-SnapSync - Logging locally is not ideal as remote faulst annoy the local user + // TODO-Kaia-SnapSync - Dropping the remote peer is less flexible wrt client bugs (slow is better than non-functional) // Calculate the hard limit at which to abort, even if mid storage trie hardLimit := uint64(float64(req.Bytes) * (1 + stateLookupSlack)) @@ -375,7 +375,7 @@ func ServiceGetStorageRangesQuery(chain SnapshotReader, req *GetStorageRangesPac acc := serializer.GetAccount() pacc := account.GetProgramAccount(acc) if pacc == nil { - // TODO-Klaytn-SnapSync it would be better to continue rather than return. Do not waste the completed job until now. + // TODO-Kaia-SnapSync it would be better to continue rather than return. Do not waste the completed job until now. return nil, nil } stTrie, err := statedb.NewStorageTrie(pacc.GetStorageRoot(), chain.StateCache().TrieDB(), nil) diff --git a/node/cn/snap/sync.go b/node/cn/snap/sync.go index b27c27dd49..9cfef2a4e4 100644 --- a/node/cn/snap/sync.go +++ b/node/cn/snap/sync.go @@ -299,7 +299,7 @@ type accountTask struct { codeTasks map[common.Hash]struct{} // Code hashes that need retrieval stateTasks map[common.Hash]common.Hash // Account hashes->roots that need full state retrieval - // TODO-Klaytn-Snapsync consider to use stack trie + // TODO-Kaia-Snapsync consider to use stack trie genTrie *statedb.Trie // Node generator from storage slots trieDb *statedb.Database @@ -315,7 +315,7 @@ type storageTask struct { root common.Hash // Storage root hash for this instance req *storageRequest // Pending request to fill this task - // TODO-Klaytn-Snapsync consider to use stack trie + // TODO-Kaia-Snapsync consider to use stack trie genTrie *statedb.Trie // Node generator from storage slots trieDb *statedb.Database @@ -902,7 +902,7 @@ func (s *Syncer) assignAccountTasks(success chan *accountResponse, fail chan *ac idlers.caps = append(idlers.caps, s.rates.Capacity(id, AccountRangeMsg, targetTTL)) } if len(idlers.ids) == 0 { - // TODO-Klaytn-SnapSync enhance logging if necessary + // TODO-Kaia-SnapSync enhance logging if necessary return } sort.Sort(sort.Reverse(idlers)) @@ -1324,7 +1324,7 @@ func (s *Syncer) assignTrienodeHealTasks(success chan *trienodeHealResponse, fai hashes = append(hashes, hash) paths = append(paths, pathset) - pathsets = append(pathsets, [][]byte(pathset)) // TODO-Klaytn-SnapSync group requests by account hash + pathsets = append(pathsets, [][]byte(pathset)) // TODO-Kaia-SnapSync group requests by account hash if len(hashes) >= cap { break diff --git a/node/config_test.go b/node/config_test.go index 807136ef93..a6311a0234 100644 --- a/node/config_test.go +++ b/node/config_test.go @@ -144,7 +144,7 @@ func TestNodeKeyPersistency(t *testing.T) { t.Fatalf("persisted node key mismatch: have %x, want %x", blob2, blob1) } - // TODO-Klaytn-FailedTest Test fails + // TODO-Kaia-FailedTest Test fails /* // Configure ephemeral node and ensure no key is dumped locally config = &Config{Name: "unit-test", DataDir: ""} diff --git a/node/node.go b/node/node.go index 7f55ea4ea9..4674d71d34 100644 --- a/node/node.go +++ b/node/node.go @@ -214,7 +214,7 @@ func (n *Node) Start() error { p2pServer.AddProtocols(service.Protocols()) } for _, s := range services { - // TODO-Klaytn-ServiceChain call setcomponents repeatedly for same component + // TODO-Kaia-ServiceChain call setcomponents repeatedly for same component s.SetComponents(service.Components()) } } diff --git a/node/sc/api_bridge.go b/node/sc/api_bridge.go index b146c19df3..c291aebbc3 100644 --- a/node/sc/api_bridge.go +++ b/node/sc/api_bridge.go @@ -534,7 +534,7 @@ func (sb *SubBridgeAPI) AddPeer(url string) (bool, error) { if server == nil { return false, node.ErrNodeStopped } - // TODO-Klaytn Refactoring this to check whether the url is valid or not by dialing and return it. + // TODO-Kaia Refactoring this to check whether the url is valid or not by dialing and return it. if _, err := addPeerInternal(server, url); err != nil { return false, err } else { diff --git a/node/sc/bridge_accounts.go b/node/sc/bridge_accounts.go index 5f50b1a50f..8bb76801f6 100644 --- a/node/sc/bridge_accounts.go +++ b/node/sc/bridge_accounts.go @@ -201,7 +201,7 @@ func InitializeBridgeAccountKeystore(keystorePath string) (*keystore.KeyStore, c ks := keystore.NewKeyStore(keystorePath, keystore.StandardScryptN, keystore.StandardScryptP) // If there is no keystore file, this creates a random account and the corresponded password file. - // TODO-Klaytn-Servicechain A test-option will be added and this routine will be only executed with it. + // TODO-Kaia-Servicechain A test-option will be added and this routine will be only executed with it. if len(ks.Accounts()) == 0 { password := setup.RandStringRunes(params.PasswordLength) acc, err := ks.NewAccount(password) diff --git a/node/sc/bridge_addr_journal.go b/node/sc/bridge_addr_journal.go index d4fd1fda2b..5c71754e0e 100644 --- a/node/sc/bridge_addr_journal.go +++ b/node/sc/bridge_addr_journal.go @@ -170,7 +170,7 @@ func (journal *bridgeAddrJournal) insert(bridgeAlias string, localAddress common if localAddress == empty || remoteAddress == empty { return ErrEmptyBridgeAddress } - // TODO-Klaytn-ServiceChain: support false paired + // TODO-Kaia-ServiceChain: support false paired item := BridgeJournal{ bridgeAlias, localAddress, diff --git a/node/sc/bridge_manager.go b/node/sc/bridge_manager.go index 48b8213c47..577af56d70 100644 --- a/node/sc/bridge_manager.go +++ b/node/sc/bridge_manager.go @@ -38,7 +38,7 @@ import ( const ( TokenEventChanSize = 10000 BridgeAddrJournal = "bridge_addrs.rlp" - maxPendingNonceDiff = 1000 // TODO-Klaytn-ServiceChain: update this limitation. Currently, 2 * 500 TPS. + maxPendingNonceDiff = 1000 // TODO-Kaia-ServiceChain: update this limitation. Currently, 2 * 500 TPS. maxHandledEventSize = 10000000 ) @@ -90,7 +90,7 @@ type BridgeInfo struct { counterpartBackend Backend address common.Address - counterpartAddress common.Address // TODO-Klaytn need to set counterpart + counterpartAddress common.Address // TODO-Kaia need to set counterpart account *accountInfo bridge *bridgecontract.Bridge counterpartBridge *bridgecontract.Bridge @@ -299,7 +299,7 @@ func (bi *BridgeInfo) handleRequestValueTransferEvent(ev IRequestValueTransferEv ) ctpartTokenAddr := bi.GetCounterPartToken(tokenAddr) - // TODO-Klaytn-Servicechain Add counterpart token address in requestValueTransferEvent + // TODO-Kaia-Servicechain Add counterpart token address in requestValueTransferEvent if tokenType != KLAY && ctpartTokenAddr == (common.Address{}) { logger.Warn("Unregistered counter part token address.", "addr", ctpartTokenAddr.Hex()) ctTokenAddr, err := bi.counterpartBridge.RegisteredTokens(nil, tokenAddr) @@ -1098,7 +1098,7 @@ func (bm *BridgeManager) loop( return } - // TODO-Klaytn change goroutine logic for performance + // TODO-Kaia change goroutine logic for performance for { select { case <-bi.closed: diff --git a/node/sc/bridge_manager_test.go b/node/sc/bridge_manager_test.go index 659e61eeca..48b51ad2be 100644 --- a/node/sc/bridge_manager_test.go +++ b/node/sc/bridge_manager_test.go @@ -116,7 +116,7 @@ func handleValueTransfer(t *testing.T, ev IRequestValueTransferEvent, bridgeInfo } // TestBridgeManager tests the event/method of Token/NFT/Bridge contracts. -// TODO-Klaytn-Servicechain needs to refine this test. +// TODO-Kaia-Servicechain needs to refine this test. // - consider parent/child chain simulated backend. // - separate each test func TestBridgeManager(t *testing.T) { diff --git a/node/sc/bridge_test.go b/node/sc/bridge_test.go index 9eccb6a52e..ab74973d50 100644 --- a/node/sc/bridge_test.go +++ b/node/sc/bridge_test.go @@ -205,7 +205,7 @@ loop: } expectedNonce++ - // TODO-Klaytn added more request token/NFT transfer cases, + // TODO-Kaia added more request token/NFT transfer cases, RequestKLAYTransfer(b, bridgeAccount, testAcc.From, 1, t) backend.Commit() diff --git a/node/sc/bridgepool/bridge_tx_pool.go b/node/sc/bridgepool/bridge_tx_pool.go index 782359eb45..e8e50b36db 100644 --- a/node/sc/bridgepool/bridge_tx_pool.go +++ b/node/sc/bridgepool/bridge_tx_pool.go @@ -41,7 +41,7 @@ var ( ErrDuplicatedNonceTx = errors.New("Duplicated Nonce Transaction") ) -// TODO-Klaytn-Servicechain Add Metrics +// TODO-Kaia-Servicechain Add Metrics var ( // Metrics for the pending pool refusedTxCounter = metrics.NewRegisteredCounter("bridgeTxpool/refuse", nil) @@ -85,15 +85,15 @@ func (config *BridgeTxPoolConfig) sanitize() BridgeTxPoolConfig { // BridgeTxPool contains all currently known chain transactions. type BridgeTxPool struct { config BridgeTxPoolConfig - // TODO-Klaytn-Servicechain consider to remove singer. For now, caused of value transfer tx which don't have `from` value, I leave it. + // TODO-Kaia-Servicechain consider to remove singer. For now, caused of value transfer tx which don't have `from` value, I leave it. signer types.Signer mu sync.RWMutex - // txMu sync.RWMutex // TODO-Klaytn-Servicechain: implement fine-grained locks + // txMu sync.RWMutex // TODO-Kaia-Servicechain: implement fine-grained locks journal *bridgeTxJournal // Journal of transaction to back up to disk queue map[common.Address]*ItemSortedMap // Queued but non-processable transactions - // TODO-Klaytn-Servicechain refine heartbeat for the tx not for account. + // TODO-Kaia-Servicechain refine heartbeat for the tx not for account. all map[common.Hash]*types.Transaction // All transactions to allow lookups wg sync.WaitGroup // for shutdown sync diff --git a/node/sc/local_backend.go b/node/sc/local_backend.go index 792706eba9..fea2e6c14a 100644 --- a/node/sc/local_backend.go +++ b/node/sc/local_backend.go @@ -48,12 +48,12 @@ type filterLocalBackend struct { } func (fb *filterLocalBackend) ChainDB() database.DBManager { - // TODO-Klaytn consider chain's chainDB instead of bridge's chainDB currently. + // TODO-Kaia consider chain's chainDB instead of bridge's chainDB currently. return fb.subbridge.chainDB } func (fb *filterLocalBackend) EventMux() *event.TypeMux { - // TODO-Klaytn consider chain's eventMux instead of bridge's eventMux currently. + // TODO-Kaia consider chain's eventMux instead of bridge's eventMux currently. return fb.subbridge.EventMux() } @@ -68,7 +68,7 @@ func (fb *filterLocalBackend) HeaderByNumber(ctx context.Context, block rpc.Bloc if err := checkCtx(ctx); err != nil { return nil, err } - // TODO-Klaytn consider pendingblock instead of latest block + // TODO-Kaia consider pendingblock instead of latest block if block == rpc.LatestBlockNumber { return fb.subbridge.blockchain.CurrentHeader(), nil } @@ -106,13 +106,13 @@ func (fb *filterLocalBackend) SubscribeLogsEvent(ch chan<- []*types.Log) event.S } func (fb *filterLocalBackend) BloomStatus() (uint64, uint64) { - // TODO-Klaytn consider this number of sections. + // TODO-Kaia consider this number of sections. // BloomBitsBlocks (const : 4096), the number of processed sections maintained by the chain indexer return 4096, 0 } func (fb *filterLocalBackend) ServiceFilter(_dummyCtx context.Context, session *bloombits.MatcherSession) { - // TODO-Klaytn this method should implmentation to support indexed tag in solidity + // TODO-Kaia this method should implmentation to support indexed tag in solidity //for i := 0; i < bloomFilterThreads; i++ { // go session.Multiplex(bloomRetrievalBatch, bloomRetrievalWait, backend.bloomRequests) //} diff --git a/node/sc/main_bridge_handler.go b/node/sc/main_bridge_handler.go index 151679bb15..e8c9cebe14 100644 --- a/node/sc/main_bridge_handler.go +++ b/node/sc/main_bridge_handler.go @@ -57,7 +57,7 @@ func (mbh *MainBridgeHandler) HandleSubMsg(p BridgePeer, msg p2p.Msg) error { return nil case ServiceChainTxsMsg: logger.Trace("received ServiceChainTxsMsg") - // TODO-Klaytn how to check acceptTxs + // TODO-Kaia how to check acceptTxs // Transactions arrived, make sure we have a valid and fresh chain to handle them //if atomic.LoadUint32(&pm.acceptTxs) == 0 { // break diff --git a/node/sc/main_event_handler.go b/node/sc/main_event_handler.go index c9cee873af..f0946b0480 100644 --- a/node/sc/main_event_handler.go +++ b/node/sc/main_event_handler.go @@ -42,17 +42,17 @@ func (mce *MainChainEventHandler) HandleChainHeadEvent(block *types.Block) error } func (mce *MainChainEventHandler) HandleTxEvent(tx *types.Transaction) error { - //@TODO-Klaytn event handle + //@TODO-Kaia event handle return nil } func (mce *MainChainEventHandler) HandleTxsEvent(txs []*types.Transaction) error { - //@TODO-Klaytn event handle + //@TODO-Kaia event handle return nil } func (mce *MainChainEventHandler) HandleLogsEvent(logs []*types.Log) error { - //@TODO-Klaytn event handle + //@TODO-Kaia event handle return nil } @@ -96,7 +96,7 @@ func (mce *MainChainEventHandler) decodeAndWriteAnchoringTx(tx *types.Transactio logger.Trace("Write anchoring data on chainDB", "blockHash", decodedData.GetBlockNumber().String(), "anchoring txHash", tx.Hash().String()) } -// TODO-Klaytn-ServiceChain: remove this method and a related option. +// TODO-Kaia-ServiceChain: remove this method and a related option. // writeChildChainTxHashFromBlock writes transaction hashes of transactions which contain // AnchoringData. func (mce *MainChainEventHandler) writeChildChainTxHashFromBlock(block *types.Block) { diff --git a/node/sc/metrics.go b/node/sc/metrics.go index 99d5ddddb2..3f0d81221b 100644 --- a/node/sc/metrics.go +++ b/node/sc/metrics.go @@ -52,7 +52,7 @@ var ( lastAnchoredBlockNumGauge = metrics.NewRegisteredGauge("klay/bridge/anchroing/blocknumber", nil) - // TODO-Klaytn-Servicechain need to add below metrics + // TODO-Kaia-Servicechain need to add below metrics // txReceiveCounter = metrics.NewRegisteredCounter("klay/bridge/tx/recv/counter", nil) // txResendCounter = metrics.NewRegisteredCounter("klay/bridge/tx/resend/counter", nil) // txResendGauge = metrics.NewRegisteredGauge("klay/bridge/tx/resend/gauge", nil) diff --git a/node/sc/remote_backend.go b/node/sc/remote_backend.go index 6d5d504836..1d708991b8 100644 --- a/node/sc/remote_backend.go +++ b/node/sc/remote_backend.go @@ -34,7 +34,7 @@ var NoParentPeerErr = errors.New("no parent peer") const timeout = 30 * time.Second -// TODO-Klaytn currently RemoteBackend is only for ServiceChain, especially Bridge SmartContract +// TODO-Kaia currently RemoteBackend is only for ServiceChain, especially Bridge SmartContract type RemoteBackend struct { subBridge *SubBridge diff --git a/node/sc/sub_bridge_handler.go b/node/sc/sub_bridge_handler.go index 28b9728ecd..6109f20913 100644 --- a/node/sc/sub_bridge_handler.go +++ b/node/sc/sub_bridge_handler.go @@ -68,7 +68,7 @@ type SubBridgeHandler struct { txCountStartingBlockNumber uint64 txCount uint64 // accumulated tx counts in blocks for each anchoring period. - // TODO-Klaytn-ServiceChain Need to limit the number independently? Or just managing the size of sentServiceChainTxs? + // TODO-Kaia-ServiceChain Need to limit the number independently? Or just managing the size of sentServiceChainTxs? sentServiceChainTxsLimit uint64 skipSyncBlockCount int32 @@ -308,7 +308,7 @@ func (sbh *SubBridgeHandler) handleParentChainInfoResponseMsg(p BridgePeer, msg // handleParentChainReceiptResponseMsg handles receipt response message from parent chain. // It will store the received receipts and remove corresponding transaction in the resending list. func (sbh *SubBridgeHandler) handleParentChainReceiptResponseMsg(p BridgePeer, msg p2p.Msg) error { - // TODO-Klaytn-ServiceChain Need to add an option, not to write receipts. + // TODO-Kaia-ServiceChain Need to add an option, not to write receipts. // Decode the retrieval message var receipts []*types.ReceiptForStorage if err := msg.Decode(&receipts); err != nil && err != rlp.EOL { @@ -334,7 +334,7 @@ func (sbh *SubBridgeHandler) genUnsignedChainDataAnchoringTx(block *types.Block) values := map[types.TxValueKeyType]interface{}{ types.TxValueKeyNonce: sbh.getParentOperatorNonce(), // parent chain operator nonce will be increased after signing a transaction. types.TxValueKeyFrom: *sbh.GetParentOperatorAddr(), - types.TxValueKeyGasLimit: uint64(100000), // TODO-Klaytn-ServiceChain should define proper gas limit + types.TxValueKeyGasLimit: uint64(100000), // TODO-Kaia-ServiceChain should define proper gas limit types.TxValueKeyGasPrice: new(big.Int).SetUint64(sbh.remoteGasPrice), types.TxValueKeyAnchoredData: encodedCCTxData, } @@ -356,7 +356,7 @@ func (sbh *SubBridgeHandler) genUnsignedChainDataAnchoringTx(block *types.Block) // LocalChainHeadEvent deals with servicechain feature to generate/broadcast service chain transactions and request receipts. func (sbh *SubBridgeHandler) LocalChainHeadEvent(block *types.Block) { if sbh.getParentOperatorNonceSynced() { - // TODO-Klaytn if other feature use below chainTx, this condition should be refactored to use it for other feature. + // TODO-Kaia if other feature use below chainTx, this condition should be refactored to use it for other feature. if sbh.subbridge.GetAnchoringTx() { sbh.blockAnchoringManager(block) } @@ -367,7 +367,7 @@ func (sbh *SubBridgeHandler) LocalChainHeadEvent(block *types.Block) { } else { sbh.txCountStartingBlockNumber = 0 if sbh.skipSyncBlockCount%SyncRequestInterval == 0 { - // TODO-Klaytn too many request while sync main-net + // TODO-Kaia too many request while sync main-net sbh.SyncNonceAndGasPrice() // check tx's receipts which parent-chain already executed in BridgeTxPool go sbh.broadcastServiceChainReceiptRequest() @@ -416,7 +416,7 @@ func (sbh *SubBridgeHandler) broadcastServiceChainTx() { if parentChainID == nil { logger.Error("unexpected nil parentChainID while broadcastServiceChainTx") } - txs := sbh.subbridge.GetBridgeTxPool().PendingTxsByAddress(&sbh.subbridge.bridgeAccounts.pAccount.address, int(sbh.GetSentChainTxsLimit())) // TODO-Klaytn-Servicechain change GetSentChainTxsLimit type to int from uint64 + txs := sbh.subbridge.GetBridgeTxPool().PendingTxsByAddress(&sbh.subbridge.bridgeAccounts.pAccount.address, int(sbh.GetSentChainTxsLimit())) // TODO-Kaia-Servicechain change GetSentChainTxsLimit type to int from uint64 peers := sbh.subbridge.BridgePeerSet().peers for _, peer := range peers { @@ -449,7 +449,7 @@ func (sbh *SubBridgeHandler) writeServiceChainTxReceipts(bc *blockchain.BlockCha sbh.WriteReceiptFromParentChain(decodedData.GetBlockHash(), (*types.Receipt)(receipt)) sbh.WriteAnchoredBlockNumber(decodedData.GetBlockNumber().Uint64()) } - // TODO-Klaytn-ServiceChain: support other tx types if needed. + // TODO-Kaia-ServiceChain: support other tx types if needed. sbh.subbridge.GetBridgeTxPool().RemoveTx(tx) } else { logger.Trace("received service chain transaction receipt does not exist in sentServiceChainTxs", "txHash", txHash.String()) @@ -472,7 +472,7 @@ func (sbh *SubBridgeHandler) RegisterNewPeer(p BridgePeer) error { // broadcastServiceChainReceiptRequest broadcasts receipt requests for service chain transactions. func (sbh *SubBridgeHandler) broadcastServiceChainReceiptRequest() { - hashes := sbh.subbridge.GetBridgeTxPool().PendingTxHashesByAddress(sbh.GetParentOperatorAddr(), int(sbh.GetSentChainTxsLimit())) // TODO-Klaytn-Servicechain change GetSentChainTxsLimit type to int from uint64 + hashes := sbh.subbridge.GetBridgeTxPool().PendingTxHashesByAddress(sbh.GetParentOperatorAddr(), int(sbh.GetSentChainTxsLimit())) // TODO-Kaia-Servicechain change GetSentChainTxsLimit type to int from uint64 for _, peer := range sbh.subbridge.BridgePeerSet().peers { peer.SendServiceChainReceiptRequest(hashes) logger.Debug("sent ServiceChainReceiptRequest", "peerID", peer.GetID(), "numReceiptsRequested", len(hashes)) diff --git a/node/sc/sub_event_handler.go b/node/sc/sub_event_handler.go index a374e1b119..2c1061b159 100644 --- a/node/sc/sub_event_handler.go +++ b/node/sc/sub_event_handler.go @@ -33,7 +33,7 @@ type ChildChainEventHandler struct { } const ( - // TODO-Klaytn need to define proper value. + // TODO-Kaia need to define proper value. errorDiffRequestHandleNonce = 10000 ) @@ -52,17 +52,17 @@ func (cce *ChildChainEventHandler) HandleChainHeadEvent(block *types.Block) erro } func (cce *ChildChainEventHandler) HandleTxEvent(tx *types.Transaction) error { - // TODO-Klaytn event handle + // TODO-Kaia event handle return nil } func (cce *ChildChainEventHandler) HandleTxsEvent(txs []*types.Transaction) error { - // TODO-Klaytn event handle + // TODO-Kaia event handle return nil } func (cce *ChildChainEventHandler) HandleLogsEvent(logs []*types.Log) error { - // TODO-Klaytn event handle + // TODO-Kaia event handle return nil } @@ -79,7 +79,7 @@ func (cce *ChildChainEventHandler) ProcessRequestEvent(ev IRequestValueTransferE return fmt.Errorf("there is no counter part bridge info(%v) of the bridge(%v)", handleBridgeAddr.String(), addr.String()) } - // TODO-Klaytn need to manage the size limitation of pending event list. + // TODO-Kaia need to manage the size limitation of pending event list. handleBridgeInfo.AddRequestValueTransferEvents([]IRequestValueTransferEvent{ev}) return nil } diff --git a/node/sc/subbridge.go b/node/sc/subbridge.go index 28d6d747da..50c0fd7a38 100644 --- a/node/sc/subbridge.go +++ b/node/sc/subbridge.go @@ -204,7 +204,7 @@ func NewSubBridge(ctx *node.ServiceContext, config *SCConfig) (*SubBridge, error bootFail: false, rpcSendCh: make(chan []byte), } - // TODO-Klaytn change static config to user define config + // TODO-Kaia change static config to user define config bridgetxConfig := bridgepool.BridgeTxPoolConfig{ ParentChainID: new(big.Int).SetUint64(config.ParentChainID), Journal: path.Join(config.DataDir, "bridge_transactions.rlp"), @@ -351,7 +351,7 @@ func (sb *SubBridge) SetComponents(components []interface{}) { sb.txPool = v // event from core-service // sb.txSub = sb.txPool.SubscribeNewTxsEvent(sb.txCh) - // TODO-Klaytn if need pending block, should use miner + // TODO-Kaia if need pending block, should use miner case *work.Miner: } } diff --git a/node/sc/vt_recovery.go b/node/sc/vt_recovery.go index 976b287054..342e1ac53f 100644 --- a/node/sc/vt_recovery.go +++ b/node/sc/vt_recovery.go @@ -90,7 +90,7 @@ func (vtr *valueTransferRecovery) Start() error { return ErrVtrDisabled } - // TODO-Klaytn-Servicechain If there is no user API to start recovery, remove isRunning in Start/Stop. + // TODO-Kaia-Servicechain If there is no user API to start recovery, remove isRunning in Start/Stop. if vtr.isRunning { return ErrVtrAlreadyStarted } diff --git a/node/sc/vt_recovery_test.go b/node/sc/vt_recovery_test.go index 4ac59fc12e..cc9f299e7b 100644 --- a/node/sc/vt_recovery_test.go +++ b/node/sc/vt_recovery_test.go @@ -186,7 +186,7 @@ func TestKLAYTransferLongRangeRecovery(t *testing.T) { } }) defer info.sim.Close() - // TODO-Klaytn need to remove sleep + // TODO-Kaia need to remove sleep time.Sleep(1 * time.Second) info.sim.Commit() @@ -205,7 +205,7 @@ func TestKLAYTransferLongRangeRecovery(t *testing.T) { if err != nil { t.Fatal("fail to recover the value transfer") } - // TODO-Klaytn need to remove sleep + // TODO-Kaia need to remove sleep time.Sleep(1 * time.Second) info.sim.Commit() @@ -221,7 +221,7 @@ func TestKLAYTransferLongRangeRecovery(t *testing.T) { if err != nil { t.Fatal("fail to recover the value transfer") } - // TODO-Klaytn need to remove sleep + // TODO-Kaia need to remove sleep time.Sleep(1 * time.Second) info.sim.Commit() @@ -274,7 +274,7 @@ func TestBasicTokenTransferRecovery(t *testing.T) { } // TestBasicNFTTransferRecovery tests the NFT transfer recovery. -// TODO-Klaytn-ServiceChain: implement NFT transfer. +// TODO-Kaia-ServiceChain: implement NFT transfer. func TestBasicNFTTransferRecovery(t *testing.T) { tempDir, err := os.MkdirTemp(os.TempDir(), "sc") assert.NoError(t, err) @@ -884,7 +884,7 @@ func handleKLAYTransfer(info *testInfo, bi *BridgeInfo, ev IRequestValueTransfer assert.Nil(info.t, bind.CheckWaitMined(info.sim, tx)) } -// TODO-Klaytn-ServiceChain: use ChildChainEventHandler +// TODO-Kaia-ServiceChain: use ChildChainEventHandler func dummyHandleRequestKLAYTransfer(info *testInfo, bi *BridgeInfo) { for _, ev := range bi.GetPendingRequestEvents() { handleKLAYTransfer(info, bi, ev.(RequestValueTransferEvent)) @@ -929,7 +929,7 @@ func handleTokenTransfer(info *testInfo, bi *BridgeInfo, ev IRequestValueTransfe assert.Nil(info.t, bind.CheckWaitMined(info.sim, tx)) } -// TODO-Klaytn-ServiceChain: use ChildChainEventHandler +// TODO-Kaia-ServiceChain: use ChildChainEventHandler func dummyHandleRequestTokenTransfer(info *testInfo, bi *BridgeInfo) { for _, ev := range bi.GetPendingRequestEvents() { handleTokenTransfer(info, bi, ev.(RequestValueTransferEvent)) @@ -944,7 +944,7 @@ func requestNFTTransfer(info *testInfo, bi *BridgeInfo) { var tx *types.Transaction opts := bi.account.GenerateTransactOpts() - // TODO-Klaytn need to separate child / parent chain nftIndex. + // TODO-Kaia need to separate child / parent chain nftIndex. nftIndex := new(big.Int).SetInt64(info.nftIndex) var err error @@ -985,7 +985,7 @@ func handleNFTTransfer(info *testInfo, bi *BridgeInfo, ev IRequestValueTransferE assert.Nil(info.t, bind.CheckWaitMined(info.sim, tx)) } -// TODO-Klaytn-ServiceChain: use ChildChainEventHandler +// TODO-Kaia-ServiceChain: use ChildChainEventHandler func dummyHandleRequestNFTTransfer(info *testInfo, bi *BridgeInfo) { for _, ev := range bi.GetPendingRequestEvents() { handleNFTTransfer(info, bi, ev) diff --git a/params/protocol_params.go b/params/protocol_params.go index 82d358dd59..967dee4328 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -102,8 +102,8 @@ const ( CreateBySelfdestructGas uint64 = 25000 // Fee for Service Chain - // TODO-Klaytn-ServiceChain The following parameters should be fixed. - // TODO-Klaytn-Governance The following parameters should be able to be modified by governance. + // TODO-Kaia-ServiceChain The following parameters should be fixed. + // TODO-Kaia-Governance The following parameters should be able to be modified by governance. TxChainDataAnchoringGas uint64 = 21000 // Per transaction anchoring chain data. NOTE: Not payable on data of calls between transactions. // G_transactionchaindataanchoring ChainDataAnchoringGas uint64 = 100 // Per byte of anchoring chain data NOTE: Not payable on data of calls between transactions. // G_chaindataanchoring @@ -154,14 +154,14 @@ const ( BFTMaximumExtraDataSize uint64 = 65 // Maximum size extra data may be after Genesis. // AccountKey - // TODO-Klaytn: Need to fix below values. + // TODO-Kaia: Need to fix below values. TxAccountCreationGasDefault uint64 = 0 TxValidationGasDefault uint64 = 0 TxAccountCreationGasPerKey uint64 = 20000 // WARNING: With integer overflow in mind before changing this value. TxValidationGasPerKey uint64 = 15000 // WARNING: With integer overflow in mind before changing this value. // Fee for new tx types - // TODO-Klaytn: Need to fix values + // TODO-Kaia: Need to fix values TxGasAccountCreation uint64 = 21000 TxGasAccountUpdate uint64 = 21000 TxGasFeeDelegated uint64 = 10000 @@ -199,7 +199,7 @@ var ( TxGasHumanReadable uint64 = 4000000000 // NOTE: HumanReadable related functions are inactivated now - // TODO-Klaytn Change the variables used in GXhash to more appropriate values for Klaytn Network + // TODO-Kaia Change the variables used in GXhash to more appropriate values for Klaytn Network BlockScoreBoundDivisor = big.NewInt(2048) // The bound divisor of the blockscore, used in the update calculations. GenesisBlockScore = big.NewInt(131072) // BlockScore of the Genesis block. MinimumBlockScore = big.NewInt(131072) // The minimum that the blockscore may ever be. @@ -212,7 +212,7 @@ var ( // Execution time limit for all txs in a block BlockGenerationTimeLimit = DefaultBlockGenerationTimeLimit - // TODO-Klaytn-Governance Change the following variables to governance items which requires consensus of CCN + // TODO-Kaia-Governance Change the following variables to governance items which requires consensus of CCN // Block generation interval in seconds. It should be equal or larger than 1 BlockGenerationInterval = DefaultBlockGenerationInterval ) diff --git a/reward/staking_info.go b/reward/staking_info.go index 63de276f0b..b22500b246 100644 --- a/reward/staking_info.go +++ b/reward/staking_info.go @@ -62,7 +62,7 @@ type StakingInfo struct { } // MarshalJSON supports json marshalling for both oldStakingInfo and StakingInfo -// TODO-klaytn-Mantle: remove this marshal function when backward-compatibility for KIR/PoC is not needed +// TODO-Kaia-Mantle: remove this marshal function when backward-compatibility for KIR/PoC is not needed func (st StakingInfo) MarshalJSON() ([]byte, error) { type extendedSt struct { BlockNum uint64 `json:"blockNum"` diff --git a/reward/staking_manager.go b/reward/staking_manager.go index 75f22f62c3..89467e2c7a 100644 --- a/reward/staking_manager.go +++ b/reward/staking_manager.go @@ -44,8 +44,8 @@ const ( addressTypeNodeID = iota addressTypeStakingAddr addressTypeRewardAddr - addressTypePoCAddr // TODO-klaytn: PoC should be changed to KFF after changing AddressBook contract - addressTypeKIRAddr // TODO-klaytn: KIR should be changed to KCF after changing AddressBook contract + addressTypePoCAddr // TODO-Kaia: PoC should be changed to KFF after changing AddressBook contract + addressTypeKIRAddr // TODO-Kaia: KIR should be changed to KCF after changing AddressBook contract ) var addressBookContractAddress = system.AddressBookAddr @@ -409,7 +409,7 @@ func PurgeStakingInfoCache() { stakingManager.stakingInfoCache.purge() } -// TODO-Klaytn-Reward the following methods are used for testing purpose, it needs to be moved into test files. +// TODO-Kaia-Reward the following methods are used for testing purpose, it needs to be moved into test files. // Unlike NewStakingManager(), SetTestStakingManager*() do not trigger once.Do(). // This way you can avoid irreversible side effects during tests. diff --git a/snapshot/conversion.go b/snapshot/conversion.go index 7a3025fb33..8689492aad 100644 --- a/snapshot/conversion.go +++ b/snapshot/conversion.go @@ -51,7 +51,7 @@ type ( leafCallbackFn func(accountHash, codeHash common.Hash, stat *generateStats) (common.Hash, error) ) -// TODO-Klaytn-Snapshot port GenerateAccountTrieRoot/GenerateStorageTrieRoot/GenerateTrie +// TODO-Kaia-Snapshot port GenerateAccountTrieRoot/GenerateStorageTrieRoot/GenerateTrie // generateStats is a collection of statistics gathered by the trie generator // for logging purposes. diff --git a/snapshot/difflayer.go b/snapshot/difflayer.go index 946a21ac37..a624398931 100644 --- a/snapshot/difflayer.go +++ b/snapshot/difflayer.go @@ -202,7 +202,7 @@ func (dl *diffLayer) rebloom(origin *diskLayer) { defer dl.lock.Unlock() defer func(start time.Time) { - // TODO-Klaytn-Snapshot update snapshotBloomIndexTimer + // TODO-Kaia-Snapshot update snapshotBloomIndexTimer // snapshotBloomIndexTimer.Update(time.Since(start)) }(time.Now()) diff --git a/snapshot/generate.go b/snapshot/generate.go index b9048c2782..1f07a24937 100644 --- a/snapshot/generate.go +++ b/snapshot/generate.go @@ -197,7 +197,7 @@ func journalProgress(db database.KeyValueWriter, marker []byte, stats *generator } logger.Debug("Journalled generator progress", "progress", logstr) - // TODO-Klaytn-Snapshot refactor the following db write + // TODO-Kaia-Snapshot refactor the following db write if err := db.Put(database.SnapshotGeneratorKey, blob); err != nil { logger.Crit("Failed to store snapshot generator", "err", err) } @@ -443,7 +443,7 @@ func (dl *diskLayer) generateRange(root common.Hash, prefix []byte, kind string, snapTrie.Update(key, result.vals[i]) } root, _ := snapTrie.Commit(nil) - // TODO-Klaytn update proper block number + // TODO-Kaia update proper block number snapTrieDb.Commit(root, false, 0) } tr := result.tr diff --git a/snapshot/generate_test.go b/snapshot/generate_test.go index e75580d322..46285a7d5d 100644 --- a/snapshot/generate_test.go +++ b/snapshot/generate_test.go @@ -93,7 +93,7 @@ func TestGeneration(t *testing.T) { root, _ := accTrie.Commit(nil) // Root: 0x4a651234bc4b8c7462b5ad4eb95bbb724eb636fed72bb5278d886f9ea4c345f8 - // TODO-Klaytn-Snapshot update proper block number + // TODO-Kaia-Snapshot update proper block number triedb.Commit(root, false, 0) if have, want := root, common.HexToHash("0x4a651234bc4b8c7462b5ad4eb95bbb724eb636fed72bb5278d886f9ea4c345f8"); have != want { @@ -169,7 +169,7 @@ func TestGenerateExistentState(t *testing.T) { diskdb.WriteStorageSnapshot(hashData([]byte("acc-3")), hashData([]byte("key-3")), []byte("val-3")) root, _ := accTrie.Commit(nil) // Root: 0xe3712f1a226f3782caca78ca770ccc19ee000552813a9f59d479f8611db9b1fd - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(root, false, 0) snap := generateSnapshot(diskdb, triedb, 16, root) @@ -261,7 +261,7 @@ func (t *testHelper) makeStorageTrie(keys []string, vals []string) common.Hash { func (t *testHelper) Generate() (common.Hash, *diskLayer) { root, _ := t.accTrie.Commit(nil) - // TODO-Klaytn-Snapshot input proper block number + // TODO-Kaia-Snapshot input proper block number t.triedb.Commit(root, false, 0) snap := generateSnapshot(t.diskdb, t.triedb, 16, root) return root, snap @@ -467,7 +467,7 @@ func TestGenerateCorruptAccountTrie(t *testing.T) { tr.Commit(nil) // Root: 0xa04693ea110a31037fb5ee814308a6f1d76bdab0b11676bdf4541d2de55ba978 // Delete an account trie leaf and ensure the generator chokes - // TODO-Klaytn-Snapshot put propoer block number + // TODO-Kaia-Snapshot put propoer block number triedb.Commit(common.HexToHash("0xa04693ea110a31037fb5ee814308a6f1d76bdab0b11676bdf4541d2de55ba978"), false, 0) diskdb.DeleteTrieNode(common.HexToHash("0x65145f923027566669a1ae5ccac66f945b55ff6eaeb17d2ea8e048b7d381f2d7").ExtendZero()) @@ -529,7 +529,7 @@ func TestGenerateMissingStorageTrie(t *testing.T) { common.HexToExtHash("0xddefcd9376dd029653ef384bd2f0a126bb755fe84fdcc9e7cf421ba454f2bc67"), common.HexToExtHash("0x8c2477df4801bbf88c6636445a2a9feff54c098cc218df403dc3f1007add780c"), ) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(common.HexToHash("0xa2282b99de1fc11e32d26bee37707ef49a6978b2d375796a1b026a497193a2ef"), false, 0) // Delete a storage trie root and ensure the generator chokes @@ -592,7 +592,7 @@ func TestGenerateCorruptStorageTrie(t *testing.T) { common.HexToExtHash("0xddefcd9376dd029653ef384bd2f0a126bb755fe84fdcc9e7cf421ba454f2bc67"), common.HexToExtHash("0x8c2477df4801bbf88c6636445a2a9feff54c098cc218df403dc3f1007add780c"), ) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(common.HexToHash("0x4a651234bc4b8c7462b5ad4eb95bbb724eb636fed72bb5278d886f9ea4c345f8"), false, 0) // Delete a storage trie leaf and ensure the generator chokes @@ -656,7 +656,7 @@ func TestGenerateWithExtraAccounts(t *testing.T) { } root, _ := accTrie.Commit(nil) t.Logf("root: %x", root) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(root, false, 0) // To verify the test: If we now inspect the snap db, there should exist extraneous storage items if data := diskdb.ReadStorageSnapshot(hashData([]byte("acc-2")), hashData([]byte("b-key-1"))); data == nil { @@ -713,7 +713,7 @@ func TestGenerateWithManyExtraAccounts(t *testing.T) { } root, _ := accTrie.Commit(nil) t.Logf("root: %x", root) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(root, false, 0) snap := generateSnapshot(diskdb, triedb, 16, root) @@ -765,7 +765,7 @@ func TestGenerateWithExtraBeforeAndAfter(t *testing.T) { root, _ := accTrie.Commit(nil) t.Logf("root: %x", root) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(root, false, 0) snap := generateSnapshot(diskdb, triedb, 16, root) @@ -808,7 +808,7 @@ func TestGenerateWithMalformedSnapdata(t *testing.T) { root, _ := accTrie.Commit(nil) t.Logf("root: %x", root) - // TODO-Klaytn-Snapshot put proper block number + // TODO-Kaia-Snapshot put proper block number triedb.Commit(root, false, 0) snap := generateSnapshot(diskdb, triedb, 16, root) diff --git a/snapshot/snapshot.go b/snapshot/snapshot.go index deb78ce0e3..db0b6be7f6 100644 --- a/snapshot/snapshot.go +++ b/snapshot/snapshot.go @@ -80,7 +80,7 @@ var ( snapshotFlushStorageItemMeter = metrics.NewRegisteredMeter("state/snapshot/flush/storage/item", nil) snapshotFlushStorageSizeMeter = metrics.NewRegisteredMeter("state/snapshot/flush/storage/size", nil) - // TODO-Klaytn-Snapshot update snapshotBloomIndexTimer + // TODO-Kaia-Snapshot update snapshotBloomIndexTimer // snapshotBloomIndexTimer = metrics.NewRegisteredResettingTimer("state/snapshot/bloom/index", nil) snapshotBloomErrorGauge = metrics.NewRegisteredGaugeFloat64("state/snapshot/bloom/error", nil) diff --git a/storage/database/cache_manager.go b/storage/database/cache_manager.go index c6008d8b87..3ad4e63851 100644 --- a/storage/database/cache_manager.go +++ b/storage/database/cache_manager.go @@ -27,7 +27,7 @@ import ( // NOTE-Klaytn-Cache BlockChain Caches // Below is the list of the constants for cache size. -// TODO-Klaytn: Below should be handled by ini or other configurations. +// TODO-Kaia: Below should be handled by ini or other configurations. const ( maxHeaderCache = 512 maxTdCache = 1024 diff --git a/storage/database/database_test.go b/storage/database/database_test.go index 0f23822904..950cadf9fb 100644 --- a/storage/database/database_test.go +++ b/storage/database/database_test.go @@ -116,7 +116,7 @@ func TestDatabaseTestSuite(t *testing.T) { // If you want to include dynamo test, use below line // var testDatabases = []func() (Database, func()){newTestLDB, newTestBadgerDB, newTestMemDB, newTestDynamoS3DB} - // TODO-Klaytn-Database Need to add DynamoDB to the below list. + // TODO-Kaia-Database Need to add DynamoDB to the below list. testDatabases = append(testDatabases, newTestLDB, newTestBadgerDB, newTestMemDB) for _, newFn := range testDatabases { suite.Run(t, &commonDatabaseTestSuite{newFn: newFn}) diff --git a/storage/database/db_manager.go b/storage/database/db_manager.go index d864722078..b2d5a78d4a 100644 --- a/storage/database/db_manager.go +++ b/storage/database/db_manager.go @@ -290,7 +290,7 @@ type DBManager interface { WriteGovernanceState(b []byte) ReadGovernanceState() ([]byte, error) DeleteGovernance(num uint64) - // TODO-Klaytn implement governance DB deletion methods. + // TODO-Kaia implement governance DB deletion methods. // StakingInfo related functions ReadStakingInfo(blockNum uint64) ([]byte, error) @@ -425,7 +425,7 @@ type databaseManager struct { dbs []Database cm *cacheManager - // TODO-Klaytn need to refine below. + // TODO-Kaia need to refine below. // -merge status variable lockInMigration sync.RWMutex inMigration bool @@ -960,7 +960,7 @@ func (dbm *databaseManager) Close() { } } -// TODO-Klaytn Some of below need to be invisible outside database package +// TODO-Kaia Some of below need to be invisible outside database package // Canonical Hash operations. // ReadCanonicalHash retrieves the hash assigned to a canonical block number. func (dbm *databaseManager) ReadCanonicalHash(number uint64) common.Hash { @@ -1755,7 +1755,7 @@ func (dbm *databaseManager) ReadCode(hash common.Hash) []byte { // Try with the legacy code scheme first, if not then try with current // scheme. Since most of the code will be found with legacy scheme. // - // TODO-Klaytn-Snapsync change the order when we forcibly upgrade the code scheme with snapshot. + // TODO-Kaia-Snapsync change the order when we forcibly upgrade the code scheme with snapshot. db := dbm.getDatabase(StateTrieDB) if data, _ := db.Get(hash[:]); len(data) > 0 { return data @@ -1779,7 +1779,7 @@ func (dbm *databaseManager) HasCode(hash common.Hash) bool { // Try with the prefixed code scheme first, if not then try with legacy // scheme. // - // TODO-Klaytn-Snapsync change the order when we forcibly upgrade the code scheme with snapshot. + // TODO-Kaia-Snapsync change the order when we forcibly upgrade the code scheme with snapshot. db := dbm.getDatabase(StateTrieDB) if ok, _ := db.Has(hash.Bytes()); ok { return true @@ -1835,13 +1835,13 @@ func (dbm *databaseManager) ReadTrieNode(hash common.ExtHash) ([]byte, error) { if val, err := dbm.ReadTrieNodeFromNew(hash); err == nil { return val, nil } else if err != dataNotFoundErr { - // TODO-Klaytn-Database Need to be properly handled + // TODO-Kaia-Database Need to be properly handled logger.Error("Unexpected error while reading cached trie node from state migration database", "err", err) } } val, err := dbm.ReadTrieNodeFromOld(hash) if err != nil && err != dataNotFoundErr { - // TODO-Klaytn-Database Need to be properly handled + // TODO-Kaia-Database Need to be properly handled logger.Error("Unexpected error while reading cached trie node", "err", err) } return val, err diff --git a/storage/database/db_manager_test.go b/storage/database/db_manager_test.go index 3cefbd86da..b4c3da2903 100644 --- a/storage/database/db_manager_test.go +++ b/storage/database/db_manager_test.go @@ -772,7 +772,7 @@ func TestDBManager_ChildChain(t *testing.T) { assert.Equal(t, num2, dbm.ReadAnchoredBlockNumber()) // 2. Read/Write ReceiptFromParentChain - // TODO-Klaytn-Database Implement this! + // TODO-Kaia-Database Implement this! // 3. Read/Write HandleTxHashFromRequestTxHash assert.Equal(t, common.Hash{}, dbm.ReadHandleTxHashFromRequestTxHash(hash1)) @@ -807,7 +807,7 @@ func TestDBManager_CliqueSnapshot(t *testing.T) { func TestDBManager_Governance(t *testing.T) { log.EnableLogForTest(log.LvlCrit, log.LvlTrace) - // TODO-Klaytn-Database Implement this! + // TODO-Kaia-Database Implement this! } func TestDatabaseManager_CreateMigrationDBAndSetStatus(t *testing.T) { diff --git a/storage/database/dynamodb.go b/storage/database/dynamodb.go index 7649c68e6c..5ab34e6c65 100644 --- a/storage/database/dynamodb.go +++ b/storage/database/dynamodb.go @@ -99,7 +99,7 @@ type batchWriteWorkerInput struct { wg *sync.WaitGroup } -// TODO-Klaytn refactor the structure : there are common configs that are placed separated +// TODO-Kaia refactor the structure : there are common configs that are placed separated type dynamoDB struct { config DynamoDBConfig fdb fileDB // where over size items are stored @@ -452,7 +452,7 @@ func (dynamo *dynamoDB) TryCatchUpWithPrimary() error { } func (dynamo *dynamoDB) NewIterator(prefix []byte, start []byte) Iterator { - // TODO-Klaytn: implement this later. + // TODO-Kaia: implement this later. return nil } diff --git a/storage/database/leveldb_bench_multidisks_test.go b/storage/database/leveldb_bench_multidisks_test.go index 13cd36881a..b84b5fbdb1 100644 --- a/storage/database/leveldb_bench_multidisks_test.go +++ b/storage/database/leveldb_bench_multidisks_test.go @@ -554,4 +554,4 @@ func Benchmark_MDP_Parallel_Batch(b *testing.B) { } } -// TODO-Klaytn: MAKE PRE-LOADED TEST FOR BATCH, PUT +// TODO-Kaia: MAKE PRE-LOADED TEST FOR BATCH, PUT diff --git a/storage/database/leveldb_bench_options_test.go b/storage/database/leveldb_bench_options_test.go index d340537362..8a08e30a8b 100644 --- a/storage/database/leveldb_bench_options_test.go +++ b/storage/database/leveldb_bench_options_test.go @@ -317,7 +317,7 @@ func Benchmark_KlayOptions_Batch(b *testing.B) { } } -// TODO-Klaytn = Add a test for checking GoRoutine Overhead +// TODO-Kaia = Add a test for checking GoRoutine Overhead /////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////// Batch Insertion Tests End ///////////////////////////////////// @@ -461,7 +461,7 @@ func randStrBytes(n int) []byte { func getShardForTest(keys [][]byte, index, numShards int) int64 { return int64(index % numShards) - // TODO-Klaytn: CHANGE BELOW LOGIC FROM ROUND-ROBIN TO USE getShardForTest + // TODO-Kaia: CHANGE BELOW LOGIC FROM ROUND-ROBIN TO USE getShardForTest //key := keys[index] //hashString := strings.TrimPrefix(common.Bytes2Hex(key),"0x") //if len(hashString) > 15 { diff --git a/storage/database/leveldb_database.go b/storage/database/leveldb_database.go index 0b282a9d5b..072d3fd8ea 100644 --- a/storage/database/leveldb_database.go +++ b/storage/database/leveldb_database.go @@ -228,7 +228,7 @@ func getCompressionType(ct LevelDBCompressionType, dbEntryType DBEntryType) opt. // NewLevelDBWithOption explicitly receives LevelDB option to construct a LevelDB object. func NewLevelDBWithOption(dbPath string, ldbOption *opt.Options) (*levelDB, error) { - // TODO-Klaytn-Database Replace `NewLevelDB` with `NewLevelDBWithOption` + // TODO-Kaia-Database Replace `NewLevelDB` with `NewLevelDBWithOption` localLogger := logger.NewWith("path", dbPath) diff --git a/storage/statedb/database.go b/storage/statedb/database.go index 6ae2200fd4..91d9d16aec 100644 --- a/storage/statedb/database.go +++ b/storage/statedb/database.go @@ -169,7 +169,7 @@ func (n rawShortNode) lenEncoded() uint16 { panic("this should never end // in the memory database write layer. type cachedNode struct { node node // Cached collapsed trie node, or raw rlp data - // TODO-Klaytn: need to change data type of this if we increase the code size limit + // TODO-Kaia: need to change data type of this if we increase the code size limit size uint16 // Byte size of the useful cached data parents uint64 // Number of live nodes referencing this one diff --git a/tests/block_test.go b/tests/block_test.go index abd77c8074..a8defab793 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -40,7 +40,7 @@ func TestBlockchain(t *testing.T) { // Still failing tests // bt.skipLoad(`^bcWalletTest.*_Byzantium$`) - // TODO-Klaytn Update BlockchainTests first to enable this test, since block header has been changed in Klaytn. + // TODO-Kaia Update BlockchainTests first to enable this test, since block header has been changed in Klaytn. //bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) { // if err := bt.checkFailure(t, name, test.Run()); err != nil { // t.Error(err) diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 3c64ad85f7..6cc1100cef 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -107,7 +107,7 @@ func (t *BlockTest) Run() error { return fmt.Errorf("genesis block state root does not match test: computed=%x, test=%x", gblock.Root().Bytes()[:6], t.json.Genesis.StateRoot[:6]) } - // TODO-Klaytn: Replace gxhash with istanbul + // TODO-Kaia: Replace gxhash with istanbul chain, err := blockchain.NewBlockChain(db, nil, config, gxhash.NewShared(), vm.Config{}) if err != nil { return err diff --git a/tests/db_write_and_read_test.go b/tests/db_write_and_read_test.go index 495adafa55..86fcbfe99b 100644 --- a/tests/db_write_and_read_test.go +++ b/tests/db_write_and_read_test.go @@ -69,7 +69,7 @@ func TestDBManager_WriteAndRead_Functional(t *testing.T) { testWriteAndReadTd(t, dbManager) testWriteAndReadReceipts(t, dbManager) testWriteAndReadBlock(t, dbManager) - // TODO-Klaytn-Storage To implement this test case, error shouldn't be returned. + // TODO-Kaia-Storage To implement this test case, error shouldn't be returned. // testWriteAndReadIstanbulSnapshot(t, dbManager) }) @@ -292,7 +292,7 @@ func testWriteAndReadBlock(t *testing.T, dbManager database.DBManager) { } func testWriteAndReadIstanbulSnapshot(t *testing.T, dbManager database.DBManager) { - // TODO-Klaytn-Storage To implement this test case, error shouldn't be returned. + // TODO-Kaia-Storage To implement this test case, error shouldn't be returned. } func generateHeaderWithBlockNum(blockNum int) (common.Hash, uint64, *types.Header) { diff --git a/tests/fee_payer_contract_test.go b/tests/fee_payer_contract_test.go index af0dd81951..282177b4d8 100644 --- a/tests/fee_payer_contract_test.go +++ b/tests/fee_payer_contract_test.go @@ -45,7 +45,7 @@ func TestFeePayerContract(t *testing.T) { // TestFeePayerContract tests an indirect call of precompiled contract 0xa (feepayer). // - It tests a contract `FeePayerIndirect` in fee_payer_indirect_test.sol. // - It calls a deployed contract calling the precompiled contract 0xa. -// TODO-Klaytn-FeePayer: need more test cases for other calls such as delegatecall, etc. +// TODO-Kaia-FeePayer: need more test cases for other calls such as delegatecall, etc. func TestFeePayerContractIndirect(t *testing.T) { contractFunctions := []string{"TestCall"} diff --git a/tests/init.go b/tests/init.go index 9e21675dd1..962281e30f 100644 --- a/tests/init.go +++ b/tests/init.go @@ -28,7 +28,7 @@ import ( ) // Forks table defines supported forks and their chain config. -// TODO-Klaytn-RemoveLater Remove fork configs that are not meaningful for Klaytn +// TODO-Kaia-RemoveLater Remove fork configs that are not meaningful for Klaytn var Forks = map[string]*params.ChainConfig{ "Frontier": { ChainID: big.NewInt(1), diff --git a/tests/klay_test_account_map_test.go b/tests/klay_test_account_map_test.go index 30e7ff1c50..f533beb130 100644 --- a/tests/klay_test_account_map_test.go +++ b/tests/klay_test_account_map_test.go @@ -133,7 +133,7 @@ func (a *AccountMap) Update(txs types.Transactions, signer types.Signer, picker a.AddBalance(*to, v) a.SubBalance(from, v) - // TODO-Klaytn: This gas fee calculation is correct only if the transaction is a value transfer transaction. + // TODO-Kaia: This gas fee calculation is correct only if the transaction is a value transfer transaction. // Calculate the correct transaction fee by checking the corresponding receipt. intrinsicGas, err := tx.IntrinsicGas(currentBlockNumber) if err != nil { diff --git a/tests/tx_validation_test.go b/tests/tx_validation_test.go index d0da70e26f..b137ce8e91 100644 --- a/tests/tx_validation_test.go +++ b/tests/tx_validation_test.go @@ -303,7 +303,7 @@ func TestValidationPoolInsertMagma(t *testing.T) { err = tx.SignWithKeys(signer, reservoir.Keys) assert.Equal(t, nil, err) - // TODO-Klaytn: fix GenABlockWithTransactions and related testcases + // TODO-Kaia: fix GenABlockWithTransactions and related testcases /* if err := bcdata.GenABlockWithTransactions(accountMap, txs, prof); err != nil { t.Fatal(err) diff --git a/utils/build/util.go b/utils/build/util.go index ac9b04441a..624ae6e58e 100644 --- a/utils/build/util.go +++ b/utils/build/util.go @@ -199,7 +199,7 @@ func ExpandPackages(packages []string) []string { // ExcludePackages excludes packages having patterns from the passed package slice and // returns a slice including only the remained packages. func ExcludePackages(packages []string, patterns []string) []string { - // TODO-Klaytn This exclusion code is a naive implementation. Improve this if it hurts build performance. + // TODO-Kaia This exclusion code is a naive implementation. Improve this if it hurts build performance. packages = ExpandPackages(packages) for _, pattern := range patterns { diff --git a/work/agent.go b/work/agent.go index 8831cb9247..8f6c217a99 100644 --- a/work/agent.go +++ b/work/agent.go @@ -106,7 +106,7 @@ out: } func (self *CpuAgent) mine(work *Task, stop <-chan struct{}) { - // TODO-Klaytn drop or missing tx and remove mining on PN and EN + // TODO-Kaia drop or missing tx and remove mining on PN and EN if self.nodetype != common.CONSENSUSNODE { ResultChGauge.Update(ResultChGauge.Value() + 1) self.returnCh <- &Result{work, nil} diff --git a/work/work.go b/work/work.go index 7c37b00c7a..af62f4fe26 100644 --- a/work/work.go +++ b/work/work.go @@ -105,7 +105,7 @@ func New(backend Backend, config *params.ChainConfig, mux *event.TypeMux, engine worker: newWorker(config, engine, rewardbase, backend, mux, nodetype, TxResendUseLegacy), canStart: 1, } - // TODO-Klaytn drop or missing tx + // TODO-Kaia drop or missing tx miner.Register(NewCpuAgent(backend.BlockChain(), engine, nodetype)) go miner.update() diff --git a/work/worker.go b/work/worker.go index e40486cbb7..bcb36c8771 100644 --- a/work/worker.go +++ b/work/worker.go @@ -325,7 +325,7 @@ func (self *worker) update() { } self.commitNewWork() - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // Handle ChainSideEvent case <-self.chainSideCh: @@ -354,7 +354,7 @@ func (self *worker) wait(TxResendUseLegacy bool) { continue } - // TODO-Klaytn drop or missing tx + // TODO-Kaia drop or missing tx if self.nodetype != common.CONSENSUSNODE { if !TxResendUseLegacy { continue @@ -415,7 +415,7 @@ func (self *worker) wait(TxResendUseLegacy bool) { } blockWriteTime := time.Since(start) - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // check if canon block and write transactions @@ -454,7 +454,7 @@ func (self *worker) wait(TxResendUseLegacy bool) { "hash", block.Hash(), "txs", len(block.Transactions()), "elapsed", blockWriteTime) self.chain.PostChainEvents(events, logs) - // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. if mustCommitNewWork { self.commitNewWork() @@ -524,7 +524,7 @@ func (self *worker) commitNewWork() { } } - // TODO-Klaytn drop or missing tx + // TODO-Kaia drop or missing tx tstart := time.Now() tstamp := tstart.Unix() if self.nodetype == common.CONSENSUSNODE { @@ -735,7 +735,7 @@ CommitTransactionLoop: from, _ := types.Sender(env.signer, tx) // NOTE-Klaytn Since Klaytn is always in EIP155, the below replay protection code is not needed. - // TODO-Klaytn-RemoveLater Remove the code commented below. + // TODO-Kaia-RemoveLater Remove the code commented below. // Check whether the tx is replay protected. If we're not in the EIP155 hf // phase, start ignoring the sender until we do. //if tx.Protected() && !env.config.IsEIP155(env.header.Number) { From 8f6d0b532bbbbc55b660ba2fe648c95591de9fa2 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 14:42:45 +0900 Subject: [PATCH 03/16] Update Go binding --- .../libs/kip13/InterfaceIdentifier.go | 20 +- .../contracts/service_chain/bridge/Bridge.go | 620 ++++++++-------- .../system_contracts/consensus/Kip163.go | 660 +++++++++--------- .../system_contracts/consensus/consensus.go | 140 ++-- .../system_contracts/gov/GovParam.go | 80 +-- .../kip113/SimpleBlsRegistry.go | 260 +++---- .../system_contracts/kip149/Registry.go | 40 +- .../contracts/system_contracts/misc/credit.go | 20 +- .../contracts/system_contracts/proxy/proxy.go | 160 ++--- .../system_contracts/rebalance/all.go | 120 ++-- .../contracts/testing/extbridge/ext_bridge.go | 600 ++++++++-------- contracts/contracts/testing/reward/all.go | 100 +-- .../contracts/testing/sc_erc20/sc_token.go | 240 +++---- .../contracts/testing/sc_erc721/sc_nft.go | 420 +++++------ .../testing/sc_erc721_no_uri/sc_nft_no_uri.go | 320 ++++----- .../contracts/testing/system_contracts/all.go | 480 ++++++------- 16 files changed, 2140 insertions(+), 2140 deletions(-) diff --git a/contracts/contracts/libs/kip13/InterfaceIdentifier.go b/contracts/contracts/libs/kip13/InterfaceIdentifier.go index 1a316ab436..0843e5512c 100644 --- a/contracts/contracts/libs/kip13/InterfaceIdentifier.go +++ b/contracts/contracts/libs/kip13/InterfaceIdentifier.go @@ -48,29 +48,29 @@ const InterfaceIdentifierBinRuntime = `` // Deprecated: Use InterfaceIdentifierMetaData.Sigs instead. var InterfaceIdentifierFuncSigs = InterfaceIdentifierMetaData.Sigs -// InterfaceIdentifier is an auto generated Go binding around a Klaytn contract. +// InterfaceIdentifier is an auto generated Go binding around a Kaia contract. type InterfaceIdentifier struct { InterfaceIdentifierCaller // Read-only binding to the contract InterfaceIdentifierTransactor // Write-only binding to the contract InterfaceIdentifierFilterer // Log filterer for contract events } -// InterfaceIdentifierCaller is an auto generated read-only Go binding around a Klaytn contract. +// InterfaceIdentifierCaller is an auto generated read-only Go binding around a Kaia contract. type InterfaceIdentifierCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InterfaceIdentifierTransactor is an auto generated write-only Go binding around a Klaytn contract. +// InterfaceIdentifierTransactor is an auto generated write-only Go binding around a Kaia contract. type InterfaceIdentifierTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InterfaceIdentifierFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// InterfaceIdentifierFilterer is an auto generated log filtering Go binding around a Kaia contract events. type InterfaceIdentifierFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InterfaceIdentifierSession is an auto generated Go binding around a Klaytn contract, +// InterfaceIdentifierSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type InterfaceIdentifierSession struct { Contract *InterfaceIdentifier // Generic contract binding to set the session for @@ -78,31 +78,31 @@ type InterfaceIdentifierSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InterfaceIdentifierCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// InterfaceIdentifierCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type InterfaceIdentifierCallerSession struct { Contract *InterfaceIdentifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// InterfaceIdentifierTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// InterfaceIdentifierTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type InterfaceIdentifierTransactorSession struct { Contract *InterfaceIdentifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InterfaceIdentifierRaw is an auto generated low-level Go binding around a Klaytn contract. +// InterfaceIdentifierRaw is an auto generated low-level Go binding around a Kaia contract. type InterfaceIdentifierRaw struct { Contract *InterfaceIdentifier // Generic contract binding to access the raw methods on } -// InterfaceIdentifierCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// InterfaceIdentifierCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type InterfaceIdentifierCallerRaw struct { Contract *InterfaceIdentifierCaller // Generic read-only contract binding to access the raw methods on } -// InterfaceIdentifierTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// InterfaceIdentifierTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type InterfaceIdentifierTransactorRaw struct { Contract *InterfaceIdentifierTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/service_chain/bridge/Bridge.go b/contracts/contracts/service_chain/bridge/Bridge.go index 30eb703182..b447707a4f 100644 --- a/contracts/contracts/service_chain/bridge/Bridge.go +++ b/contracts/contracts/service_chain/bridge/Bridge.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -298,29 +298,29 @@ func DeployBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _modeMi return address, tx, &Bridge{BridgeCaller: BridgeCaller{contract: contract}, BridgeTransactor: BridgeTransactor{contract: contract}, BridgeFilterer: BridgeFilterer{contract: contract}}, nil } -// Bridge is an auto generated Go binding around a Klaytn contract. +// Bridge is an auto generated Go binding around a Kaia contract. type Bridge struct { BridgeCaller // Read-only binding to the contract BridgeTransactor // Write-only binding to the contract BridgeFilterer // Log filterer for contract events } -// BridgeCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeSession is an auto generated Go binding around a Klaytn contract, +// BridgeSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeSession struct { Contract *Bridge // Generic contract binding to set the session for @@ -328,31 +328,31 @@ type BridgeSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeCallerSession struct { Contract *BridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransactorSession struct { Contract *BridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeRaw struct { Contract *Bridge // Generic contract binding to access the raw methods on } -// BridgeCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeCallerRaw struct { Contract *BridgeCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransactorRaw struct { Contract *BridgeTransactor // Generic write-only contract binding to access the raw methods on } @@ -3745,29 +3745,29 @@ func DeployBridgeCounterPart(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &BridgeCounterPart{BridgeCounterPartCaller: BridgeCounterPartCaller{contract: contract}, BridgeCounterPartTransactor: BridgeCounterPartTransactor{contract: contract}, BridgeCounterPartFilterer: BridgeCounterPartFilterer{contract: contract}}, nil } -// BridgeCounterPart is an auto generated Go binding around a Klaytn contract. +// BridgeCounterPart is an auto generated Go binding around a Kaia contract. type BridgeCounterPart struct { BridgeCounterPartCaller // Read-only binding to the contract BridgeCounterPartTransactor // Write-only binding to the contract BridgeCounterPartFilterer // Log filterer for contract events } -// BridgeCounterPartCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeCounterPartCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeCounterPartCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeCounterPartTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeCounterPartTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeCounterPartTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeCounterPartFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeCounterPartFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeCounterPartFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeCounterPartSession is an auto generated Go binding around a Klaytn contract, +// BridgeCounterPartSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeCounterPartSession struct { Contract *BridgeCounterPart // Generic contract binding to set the session for @@ -3775,31 +3775,31 @@ type BridgeCounterPartSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeCounterPartCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeCounterPartCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeCounterPartCallerSession struct { Contract *BridgeCounterPartCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeCounterPartTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeCounterPartTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeCounterPartTransactorSession struct { Contract *BridgeCounterPartTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeCounterPartRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeCounterPartRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeCounterPartRaw struct { Contract *BridgeCounterPart // Generic contract binding to access the raw methods on } -// BridgeCounterPartCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeCounterPartCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeCounterPartCallerRaw struct { Contract *BridgeCounterPartCaller // Generic read-only contract binding to access the raw methods on } -// BridgeCounterPartTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeCounterPartTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeCounterPartTransactorRaw struct { Contract *BridgeCounterPartTransactor // Generic write-only contract binding to access the raw methods on } @@ -4208,29 +4208,29 @@ const BridgeFeeBinRuntime = `` // Deprecated: Use BridgeFeeMetaData.Sigs instead. var BridgeFeeFuncSigs = BridgeFeeMetaData.Sigs -// BridgeFee is an auto generated Go binding around a Klaytn contract. +// BridgeFee is an auto generated Go binding around a Kaia contract. type BridgeFee struct { BridgeFeeCaller // Read-only binding to the contract BridgeFeeTransactor // Write-only binding to the contract BridgeFeeFilterer // Log filterer for contract events } -// BridgeFeeCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeFeeCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeFeeCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeFeeTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeFeeTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeFeeFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeFeeFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeSession is an auto generated Go binding around a Klaytn contract, +// BridgeFeeSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeFeeSession struct { Contract *BridgeFee // Generic contract binding to set the session for @@ -4238,31 +4238,31 @@ type BridgeFeeSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeFeeCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeFeeCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeFeeCallerSession struct { Contract *BridgeFeeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeFeeTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeFeeTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeFeeTransactorSession struct { Contract *BridgeFeeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeFeeRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeFeeRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeFeeRaw struct { Contract *BridgeFee // Generic contract binding to access the raw methods on } -// BridgeFeeCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeFeeCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeFeeCallerRaw struct { Contract *BridgeFeeCaller // Generic read-only contract binding to access the raw methods on } -// BridgeFeeTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeFeeTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeFeeTransactorRaw struct { Contract *BridgeFeeTransactor // Generic write-only contract binding to access the raw methods on } @@ -4910,29 +4910,29 @@ func DeployBridgeHandledRequests(auth *bind.TransactOpts, backend bind.ContractB return address, tx, &BridgeHandledRequests{BridgeHandledRequestsCaller: BridgeHandledRequestsCaller{contract: contract}, BridgeHandledRequestsTransactor: BridgeHandledRequestsTransactor{contract: contract}, BridgeHandledRequestsFilterer: BridgeHandledRequestsFilterer{contract: contract}}, nil } -// BridgeHandledRequests is an auto generated Go binding around a Klaytn contract. +// BridgeHandledRequests is an auto generated Go binding around a Kaia contract. type BridgeHandledRequests struct { BridgeHandledRequestsCaller // Read-only binding to the contract BridgeHandledRequestsTransactor // Write-only binding to the contract BridgeHandledRequestsFilterer // Log filterer for contract events } -// BridgeHandledRequestsCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeHandledRequestsCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeHandledRequestsCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeHandledRequestsTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeHandledRequestsTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeHandledRequestsFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeHandledRequestsFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsSession is an auto generated Go binding around a Klaytn contract, +// BridgeHandledRequestsSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeHandledRequestsSession struct { Contract *BridgeHandledRequests // Generic contract binding to set the session for @@ -4940,31 +4940,31 @@ type BridgeHandledRequestsSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeHandledRequestsCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeHandledRequestsCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeHandledRequestsCallerSession struct { Contract *BridgeHandledRequestsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeHandledRequestsTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeHandledRequestsTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeHandledRequestsTransactorSession struct { Contract *BridgeHandledRequestsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeHandledRequestsRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeHandledRequestsRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeHandledRequestsRaw struct { Contract *BridgeHandledRequests // Generic contract binding to access the raw methods on } -// BridgeHandledRequestsCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeHandledRequestsCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeHandledRequestsCallerRaw struct { Contract *BridgeHandledRequestsCaller // Generic read-only contract binding to access the raw methods on } -// BridgeHandledRequestsTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeHandledRequestsTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeHandledRequestsTransactorRaw struct { Contract *BridgeHandledRequestsTransactor // Generic write-only contract binding to access the raw methods on } @@ -5113,29 +5113,29 @@ const BridgeOperatorBinRuntime = `` // Deprecated: Use BridgeOperatorMetaData.Sigs instead. var BridgeOperatorFuncSigs = BridgeOperatorMetaData.Sigs -// BridgeOperator is an auto generated Go binding around a Klaytn contract. +// BridgeOperator is an auto generated Go binding around a Kaia contract. type BridgeOperator struct { BridgeOperatorCaller // Read-only binding to the contract BridgeOperatorTransactor // Write-only binding to the contract BridgeOperatorFilterer // Log filterer for contract events } -// BridgeOperatorCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeOperatorCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeOperatorCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeOperatorTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeOperatorTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeOperatorFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeOperatorFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorSession is an auto generated Go binding around a Klaytn contract, +// BridgeOperatorSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeOperatorSession struct { Contract *BridgeOperator // Generic contract binding to set the session for @@ -5143,31 +5143,31 @@ type BridgeOperatorSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeOperatorCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeOperatorCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeOperatorCallerSession struct { Contract *BridgeOperatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeOperatorTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeOperatorTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeOperatorTransactorSession struct { Contract *BridgeOperatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeOperatorRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeOperatorRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeOperatorRaw struct { Contract *BridgeOperator // Generic contract binding to access the raw methods on } -// BridgeOperatorCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeOperatorCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeOperatorCallerRaw struct { Contract *BridgeOperatorCaller // Generic read-only contract binding to access the raw methods on } -// BridgeOperatorTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeOperatorTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeOperatorTransactorRaw struct { Contract *BridgeOperatorTransactor // Generic write-only contract binding to access the raw methods on } @@ -5824,29 +5824,29 @@ func DeployBridgeTokens(auth *bind.TransactOpts, backend bind.ContractBackend) ( return address, tx, &BridgeTokens{BridgeTokensCaller: BridgeTokensCaller{contract: contract}, BridgeTokensTransactor: BridgeTokensTransactor{contract: contract}, BridgeTokensFilterer: BridgeTokensFilterer{contract: contract}}, nil } -// BridgeTokens is an auto generated Go binding around a Klaytn contract. +// BridgeTokens is an auto generated Go binding around a Kaia contract. type BridgeTokens struct { BridgeTokensCaller // Read-only binding to the contract BridgeTokensTransactor // Write-only binding to the contract BridgeTokensFilterer // Log filterer for contract events } -// BridgeTokensCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTokensCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeTokensCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTokensTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTokensTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTokensFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTokensFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensSession is an auto generated Go binding around a Klaytn contract, +// BridgeTokensSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTokensSession struct { Contract *BridgeTokens // Generic contract binding to set the session for @@ -5854,31 +5854,31 @@ type BridgeTokensSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTokensCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTokensCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTokensCallerSession struct { Contract *BridgeTokensCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTokensTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTokensTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTokensTransactorSession struct { Contract *BridgeTokensTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTokensRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTokensRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeTokensRaw struct { Contract *BridgeTokens // Generic contract binding to access the raw methods on } -// BridgeTokensCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTokensCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTokensCallerRaw struct { Contract *BridgeTokensCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTokensTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTokensTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTokensTransactorRaw struct { Contract *BridgeTokensTransactor // Generic write-only contract binding to access the raw methods on } @@ -7054,29 +7054,29 @@ const BridgeTransferBinRuntime = `` // Deprecated: Use BridgeTransferMetaData.Sigs instead. var BridgeTransferFuncSigs = BridgeTransferMetaData.Sigs -// BridgeTransfer is an auto generated Go binding around a Klaytn contract. +// BridgeTransfer is an auto generated Go binding around a Kaia contract. type BridgeTransfer struct { BridgeTransferCaller // Read-only binding to the contract BridgeTransferTransactor // Write-only binding to the contract BridgeTransferFilterer // Log filterer for contract events } -// BridgeTransferCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferSession is an auto generated Go binding around a Klaytn contract, +// BridgeTransferSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferSession struct { Contract *BridgeTransfer // Generic contract binding to set the session for @@ -7084,31 +7084,31 @@ type BridgeTransferSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferCallerSession struct { Contract *BridgeTransferCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferTransactorSession struct { Contract *BridgeTransferTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferRaw struct { Contract *BridgeTransfer // Generic contract binding to access the raw methods on } -// BridgeTransferCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferCallerRaw struct { Contract *BridgeTransferCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferTransactorRaw struct { Contract *BridgeTransferTransactor // Generic write-only contract binding to access the raw methods on } @@ -9058,29 +9058,29 @@ const BridgeTransferERC20BinRuntime = `` // Deprecated: Use BridgeTransferERC20MetaData.Sigs instead. var BridgeTransferERC20FuncSigs = BridgeTransferERC20MetaData.Sigs -// BridgeTransferERC20 is an auto generated Go binding around a Klaytn contract. +// BridgeTransferERC20 is an auto generated Go binding around a Kaia contract. type BridgeTransferERC20 struct { BridgeTransferERC20Caller // Read-only binding to the contract BridgeTransferERC20Transactor // Write-only binding to the contract BridgeTransferERC20Filterer // Log filterer for contract events } -// BridgeTransferERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferERC20Caller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Session is an auto generated Go binding around a Klaytn contract, +// BridgeTransferERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferERC20Session struct { Contract *BridgeTransferERC20 // Generic contract binding to set the session for @@ -9088,31 +9088,31 @@ type BridgeTransferERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferERC20CallerSession struct { Contract *BridgeTransferERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferERC20TransactorSession struct { Contract *BridgeTransferERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferERC20Raw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferERC20Raw struct { Contract *BridgeTransferERC20 // Generic contract binding to access the raw methods on } -// BridgeTransferERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferERC20CallerRaw struct { Contract *BridgeTransferERC20Caller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferERC20TransactorRaw struct { Contract *BridgeTransferERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -11938,29 +11938,29 @@ const BridgeTransferERC721BinRuntime = `` // Deprecated: Use BridgeTransferERC721MetaData.Sigs instead. var BridgeTransferERC721FuncSigs = BridgeTransferERC721MetaData.Sigs -// BridgeTransferERC721 is an auto generated Go binding around a Klaytn contract. +// BridgeTransferERC721 is an auto generated Go binding around a Kaia contract. type BridgeTransferERC721 struct { BridgeTransferERC721Caller // Read-only binding to the contract BridgeTransferERC721Transactor // Write-only binding to the contract BridgeTransferERC721Filterer // Log filterer for contract events } -// BridgeTransferERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferERC721Caller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Session is an auto generated Go binding around a Klaytn contract, +// BridgeTransferERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferERC721Session struct { Contract *BridgeTransferERC721 // Generic contract binding to set the session for @@ -11968,31 +11968,31 @@ type BridgeTransferERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferERC721CallerSession struct { Contract *BridgeTransferERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferERC721TransactorSession struct { Contract *BridgeTransferERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferERC721Raw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferERC721Raw struct { Contract *BridgeTransferERC721 // Generic contract binding to access the raw methods on } -// BridgeTransferERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferERC721CallerRaw struct { Contract *BridgeTransferERC721Caller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferERC721TransactorRaw struct { Contract *BridgeTransferERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -14792,29 +14792,29 @@ const BridgeTransferKLAYBinRuntime = `` // Deprecated: Use BridgeTransferKLAYMetaData.Sigs instead. var BridgeTransferKLAYFuncSigs = BridgeTransferKLAYMetaData.Sigs -// BridgeTransferKLAY is an auto generated Go binding around a Klaytn contract. +// BridgeTransferKLAY is an auto generated Go binding around a Kaia contract. type BridgeTransferKLAY struct { BridgeTransferKLAYCaller // Read-only binding to the contract BridgeTransferKLAYTransactor // Write-only binding to the contract BridgeTransferKLAYFilterer // Log filterer for contract events } -// BridgeTransferKLAYCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferKLAYCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferKLAYCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferKLAYTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferKLAYTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferKLAYTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferKLAYFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferKLAYFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferKLAYFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferKLAYSession is an auto generated Go binding around a Klaytn contract, +// BridgeTransferKLAYSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferKLAYSession struct { Contract *BridgeTransferKLAY // Generic contract binding to set the session for @@ -14822,31 +14822,31 @@ type BridgeTransferKLAYSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferKLAYCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferKLAYCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferKLAYCallerSession struct { Contract *BridgeTransferKLAYCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferKLAYTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferKLAYTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferKLAYTransactorSession struct { Contract *BridgeTransferKLAYTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferKLAYRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferKLAYRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferKLAYRaw struct { Contract *BridgeTransferKLAY // Generic contract binding to access the raw methods on } -// BridgeTransferKLAYCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferKLAYCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferKLAYCallerRaw struct { Contract *BridgeTransferKLAYCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferKLAYTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferKLAYTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferKLAYTransactorRaw struct { Contract *BridgeTransferKLAYTransactor // Generic write-only contract binding to access the raw methods on } @@ -17208,29 +17208,29 @@ func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Counters{CountersCaller: CountersCaller{contract: contract}, CountersTransactor: CountersTransactor{contract: contract}, CountersFilterer: CountersFilterer{contract: contract}}, nil } -// Counters is an auto generated Go binding around a Klaytn contract. +// Counters is an auto generated Go binding around a Kaia contract. type Counters struct { CountersCaller // Read-only binding to the contract CountersTransactor // Write-only binding to the contract CountersFilterer // Log filterer for contract events } -// CountersCaller is an auto generated read-only Go binding around a Klaytn contract. +// CountersCaller is an auto generated read-only Go binding around a Kaia contract. type CountersCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CountersTransactor is an auto generated write-only Go binding around a Kaia contract. type CountersTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CountersFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CountersFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersSession is an auto generated Go binding around a Klaytn contract, +// CountersSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CountersSession struct { Contract *Counters // Generic contract binding to set the session for @@ -17238,31 +17238,31 @@ type CountersSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CountersCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CountersCallerSession struct { Contract *CountersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CountersTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CountersTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CountersTransactorSession struct { Contract *CountersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersRaw is an auto generated low-level Go binding around a Klaytn contract. +// CountersRaw is an auto generated low-level Go binding around a Kaia contract. type CountersRaw struct { Contract *Counters // Generic contract binding to access the raw methods on } -// CountersCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CountersCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CountersCallerRaw struct { Contract *CountersCaller // Generic read-only contract binding to access the raw methods on } -// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CountersTransactorRaw struct { Contract *CountersTransactor // Generic write-only contract binding to access the raw methods on } @@ -17369,29 +17369,29 @@ const ERC165BinRuntime = `` // Deprecated: Use ERC165MetaData.Sigs instead. var ERC165FuncSigs = ERC165MetaData.Sigs -// ERC165 is an auto generated Go binding around a Klaytn contract. +// ERC165 is an auto generated Go binding around a Kaia contract. type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events } -// ERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC165Caller is an auto generated read-only Go binding around a Kaia contract. type ERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Session is an auto generated Go binding around a Klaytn contract, +// ERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC165Session struct { Contract *ERC165 // Generic contract binding to set the session for @@ -17399,31 +17399,31 @@ type ERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC165Raw is an auto generated low-level Go binding around a Kaia contract. type ERC165Raw struct { Contract *ERC165 // Generic contract binding to access the raw methods on } -// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC165CallerRaw struct { Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on } -// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC165TransactorRaw struct { Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -17588,29 +17588,29 @@ func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &ERC20{ERC20Caller: ERC20Caller{contract: contract}, ERC20Transactor: ERC20Transactor{contract: contract}, ERC20Filterer: ERC20Filterer{contract: contract}}, nil } -// ERC20 is an auto generated Go binding around a Klaytn contract. +// ERC20 is an auto generated Go binding around a Kaia contract. type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events } -// ERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20Caller is an auto generated read-only Go binding around a Kaia contract. type ERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Session is an auto generated Go binding around a Klaytn contract, +// ERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for @@ -17618,31 +17618,31 @@ type ERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20Raw is an auto generated low-level Go binding around a Kaia contract. type ERC20Raw struct { Contract *ERC20 // Generic contract binding to access the raw methods on } -// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20CallerRaw struct { Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on } -// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20TransactorRaw struct { Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -18274,29 +18274,29 @@ func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Burnable{ERC20BurnableCaller: ERC20BurnableCaller{contract: contract}, ERC20BurnableTransactor: ERC20BurnableTransactor{contract: contract}, ERC20BurnableFilterer: ERC20BurnableFilterer{contract: contract}}, nil } -// ERC20Burnable is an auto generated Go binding around a Klaytn contract. +// ERC20Burnable is an auto generated Go binding around a Kaia contract. type ERC20Burnable struct { ERC20BurnableCaller // Read-only binding to the contract ERC20BurnableTransactor // Write-only binding to the contract ERC20BurnableFilterer // Log filterer for contract events } -// ERC20BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC20BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20BurnableSession struct { Contract *ERC20Burnable // Generic contract binding to set the session for @@ -18304,31 +18304,31 @@ type ERC20BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20BurnableCallerSession struct { Contract *ERC20BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20BurnableTransactorSession struct { Contract *ERC20BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20BurnableRaw struct { Contract *ERC20Burnable // Generic contract binding to access the raw methods on } -// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20BurnableCallerRaw struct { Contract *ERC20BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20BurnableTransactorRaw struct { Contract *ERC20BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -19004,29 +19004,29 @@ func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Mintable{ERC20MintableCaller: ERC20MintableCaller{contract: contract}, ERC20MintableTransactor: ERC20MintableTransactor{contract: contract}, ERC20MintableFilterer: ERC20MintableFilterer{contract: contract}}, nil } -// ERC20Mintable is an auto generated Go binding around a Klaytn contract. +// ERC20Mintable is an auto generated Go binding around a Kaia contract. type ERC20Mintable struct { ERC20MintableCaller // Read-only binding to the contract ERC20MintableTransactor // Write-only binding to the contract ERC20MintableFilterer // Log filterer for contract events } -// ERC20MintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20MintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20MintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20MintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20MintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20MintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20MintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableSession is an auto generated Go binding around a Klaytn contract, +// ERC20MintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20MintableSession struct { Contract *ERC20Mintable // Generic contract binding to set the session for @@ -19034,31 +19034,31 @@ type ERC20MintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20MintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20MintableCallerSession struct { Contract *ERC20MintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20MintableTransactorSession struct { Contract *ERC20MintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20MintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20MintableRaw struct { Contract *ERC20Mintable // Generic contract binding to access the raw methods on } -// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20MintableCallerRaw struct { Contract *ERC20MintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20MintableTransactorRaw struct { Contract *ERC20MintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -20064,29 +20064,29 @@ func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common return address, tx, &ERC721{ERC721Caller: ERC721Caller{contract: contract}, ERC721Transactor: ERC721Transactor{contract: contract}, ERC721Filterer: ERC721Filterer{contract: contract}}, nil } -// ERC721 is an auto generated Go binding around a Klaytn contract. +// ERC721 is an auto generated Go binding around a Kaia contract. type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events } -// ERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721Caller is an auto generated read-only Go binding around a Kaia contract. type ERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Session is an auto generated Go binding around a Klaytn contract, +// ERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721Session struct { Contract *ERC721 // Generic contract binding to set the session for @@ -20094,31 +20094,31 @@ type ERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721Raw is an auto generated low-level Go binding around a Kaia contract. type ERC721Raw struct { Contract *ERC721 // Generic contract binding to access the raw methods on } -// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721CallerRaw struct { Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on } -// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721TransactorRaw struct { Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -20976,29 +20976,29 @@ func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC721Burnable{ERC721BurnableCaller: ERC721BurnableCaller{contract: contract}, ERC721BurnableTransactor: ERC721BurnableTransactor{contract: contract}, ERC721BurnableFilterer: ERC721BurnableFilterer{contract: contract}}, nil } -// ERC721Burnable is an auto generated Go binding around a Klaytn contract. +// ERC721Burnable is an auto generated Go binding around a Kaia contract. type ERC721Burnable struct { ERC721BurnableCaller // Read-only binding to the contract ERC721BurnableTransactor // Write-only binding to the contract ERC721BurnableFilterer // Log filterer for contract events } -// ERC721BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC721BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721BurnableSession struct { Contract *ERC721Burnable // Generic contract binding to set the session for @@ -21006,31 +21006,31 @@ type ERC721BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721BurnableCallerSession struct { Contract *ERC721BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721BurnableTransactorSession struct { Contract *ERC721BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721BurnableRaw struct { Contract *ERC721Burnable // Generic contract binding to access the raw methods on } -// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721BurnableCallerRaw struct { Contract *ERC721BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721BurnableTransactorRaw struct { Contract *ERC721BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -21911,29 +21911,29 @@ func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, return address, tx, &ERC721Metadata{ERC721MetadataCaller: ERC721MetadataCaller{contract: contract}, ERC721MetadataTransactor: ERC721MetadataTransactor{contract: contract}, ERC721MetadataFilterer: ERC721MetadataFilterer{contract: contract}}, nil } -// ERC721Metadata is an auto generated Go binding around a Klaytn contract. +// ERC721Metadata is an auto generated Go binding around a Kaia contract. type ERC721Metadata struct { ERC721MetadataCaller // Read-only binding to the contract ERC721MetadataTransactor // Write-only binding to the contract ERC721MetadataFilterer // Log filterer for contract events } -// ERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataSession struct { Contract *ERC721Metadata // Generic contract binding to set the session for @@ -21941,31 +21941,31 @@ type ERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataCallerSession struct { Contract *ERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataTransactorSession struct { Contract *ERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataRaw struct { Contract *ERC721Metadata // Generic contract binding to access the raw methods on } -// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataCallerRaw struct { Contract *ERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataTransactorRaw struct { Contract *ERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -22894,29 +22894,29 @@ const ERC721MetadataMintableBinRuntime = `` // Deprecated: Use ERC721MetadataMintableMetaData.Sigs instead. var ERC721MetadataMintableFuncSigs = ERC721MetadataMintableMetaData.Sigs -// ERC721MetadataMintable is an auto generated Go binding around a Klaytn contract. +// ERC721MetadataMintable is an auto generated Go binding around a Kaia contract. type ERC721MetadataMintable struct { ERC721MetadataMintableCaller // Read-only binding to the contract ERC721MetadataMintableTransactor // Write-only binding to the contract ERC721MetadataMintableFilterer // Log filterer for contract events } -// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataMintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataMintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataMintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataMintableSession struct { Contract *ERC721MetadataMintable // Generic contract binding to set the session for @@ -22924,31 +22924,31 @@ type ERC721MetadataMintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataMintableCallerSession struct { Contract *ERC721MetadataMintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataMintableTransactorSession struct { Contract *ERC721MetadataMintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataMintableRaw struct { Contract *ERC721MetadataMintable // Generic contract binding to access the raw methods on } -// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataMintableCallerRaw struct { Contract *ERC721MetadataMintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactorRaw struct { Contract *ERC721MetadataMintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -24235,29 +24235,29 @@ const IERC165BinRuntime = `` // Deprecated: Use IERC165MetaData.Sigs instead. var IERC165FuncSigs = IERC165MetaData.Sigs -// IERC165 is an auto generated Go binding around a Klaytn contract. +// IERC165 is an auto generated Go binding around a Kaia contract. type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events } -// IERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC165Caller is an auto generated read-only Go binding around a Kaia contract. type IERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Session is an auto generated Go binding around a Klaytn contract, +// IERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for @@ -24265,31 +24265,31 @@ type IERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC165Raw is an auto generated low-level Go binding around a Kaia contract. type IERC165Raw struct { Contract *IERC165 // Generic contract binding to access the raw methods on } -// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC165CallerRaw struct { Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on } -// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC165TransactorRaw struct { Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -24430,29 +24430,29 @@ const IERC20BinRuntime = `` // Deprecated: Use IERC20MetaData.Sigs instead. var IERC20FuncSigs = IERC20MetaData.Sigs -// IERC20 is an auto generated Go binding around a Klaytn contract. +// IERC20 is an auto generated Go binding around a Kaia contract. type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events } -// IERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20Caller is an auto generated read-only Go binding around a Kaia contract. type IERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Session is an auto generated Go binding around a Klaytn contract, +// IERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20Session struct { Contract *IERC20 // Generic contract binding to set the session for @@ -24460,31 +24460,31 @@ type IERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20Raw is an auto generated low-level Go binding around a Kaia contract. type IERC20Raw struct { Contract *IERC20 // Generic contract binding to access the raw methods on } -// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20CallerRaw struct { Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on } -// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20TransactorRaw struct { Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -25043,29 +25043,29 @@ const IERC20BridgeReceiverBinRuntime = `` // Deprecated: Use IERC20BridgeReceiverMetaData.Sigs instead. var IERC20BridgeReceiverFuncSigs = IERC20BridgeReceiverMetaData.Sigs -// IERC20BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC20BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC20BridgeReceiver struct { IERC20BridgeReceiverCaller // Read-only binding to the contract IERC20BridgeReceiverTransactor // Write-only binding to the contract IERC20BridgeReceiverFilterer // Log filterer for contract events } -// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC20BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20BridgeReceiverSession struct { Contract *IERC20BridgeReceiver // Generic contract binding to set the session for @@ -25073,31 +25073,31 @@ type IERC20BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20BridgeReceiverCallerSession struct { Contract *IERC20BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20BridgeReceiverTransactorSession struct { Contract *IERC20BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC20BridgeReceiverRaw struct { Contract *IERC20BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCallerRaw struct { Contract *IERC20BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactorRaw struct { Contract *IERC20BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -25234,29 +25234,29 @@ const IERC721BinRuntime = `` // Deprecated: Use IERC721MetaData.Sigs instead. var IERC721FuncSigs = IERC721MetaData.Sigs -// IERC721 is an auto generated Go binding around a Klaytn contract. +// IERC721 is an auto generated Go binding around a Kaia contract. type IERC721 struct { IERC721Caller // Read-only binding to the contract IERC721Transactor // Write-only binding to the contract IERC721Filterer // Log filterer for contract events } -// IERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721Caller is an auto generated read-only Go binding around a Kaia contract. type IERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Session is an auto generated Go binding around a Klaytn contract, +// IERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721Session struct { Contract *IERC721 // Generic contract binding to set the session for @@ -25264,31 +25264,31 @@ type IERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721CallerSession struct { Contract *IERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721TransactorSession struct { Contract *IERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721Raw is an auto generated low-level Go binding around a Kaia contract. type IERC721Raw struct { Contract *IERC721 // Generic contract binding to access the raw methods on } -// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721CallerRaw struct { Contract *IERC721Caller // Generic read-only contract binding to access the raw methods on } -// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721TransactorRaw struct { Contract *IERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -26114,29 +26114,29 @@ const IERC721BridgeReceiverBinRuntime = `` // Deprecated: Use IERC721BridgeReceiverMetaData.Sigs instead. var IERC721BridgeReceiverFuncSigs = IERC721BridgeReceiverMetaData.Sigs -// IERC721BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC721BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC721BridgeReceiver struct { IERC721BridgeReceiverCaller // Read-only binding to the contract IERC721BridgeReceiverTransactor // Write-only binding to the contract IERC721BridgeReceiverFilterer // Log filterer for contract events } -// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721BridgeReceiverSession struct { Contract *IERC721BridgeReceiver // Generic contract binding to set the session for @@ -26144,31 +26144,31 @@ type IERC721BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721BridgeReceiverCallerSession struct { Contract *IERC721BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721BridgeReceiverTransactorSession struct { Contract *IERC721BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721BridgeReceiverRaw struct { Contract *IERC721BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCallerRaw struct { Contract *IERC721BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactorRaw struct { Contract *IERC721BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -26308,29 +26308,29 @@ const IERC721MetadataBinRuntime = `` // Deprecated: Use IERC721MetadataMetaData.Sigs instead. var IERC721MetadataFuncSigs = IERC721MetadataMetaData.Sigs -// IERC721Metadata is an auto generated Go binding around a Klaytn contract. +// IERC721Metadata is an auto generated Go binding around a Kaia contract. type IERC721Metadata struct { IERC721MetadataCaller // Read-only binding to the contract IERC721MetadataTransactor // Write-only binding to the contract IERC721MetadataFilterer // Log filterer for contract events } -// IERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// IERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721MetadataSession struct { Contract *IERC721Metadata // Generic contract binding to set the session for @@ -26338,31 +26338,31 @@ type IERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721MetadataCallerSession struct { Contract *IERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721MetadataTransactorSession struct { Contract *IERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721MetadataRaw struct { Contract *IERC721Metadata // Generic contract binding to access the raw methods on } -// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721MetadataCallerRaw struct { Contract *IERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721MetadataTransactorRaw struct { Contract *IERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -27275,29 +27275,29 @@ const IERC721ReceiverBinRuntime = `` // Deprecated: Use IERC721ReceiverMetaData.Sigs instead. var IERC721ReceiverFuncSigs = IERC721ReceiverMetaData.Sigs -// IERC721Receiver is an auto generated Go binding around a Klaytn contract. +// IERC721Receiver is an auto generated Go binding around a Kaia contract. type IERC721Receiver struct { IERC721ReceiverCaller // Read-only binding to the contract IERC721ReceiverTransactor // Write-only binding to the contract IERC721ReceiverFilterer // Log filterer for contract events } -// IERC721ReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721ReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721ReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721ReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721ReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721ReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721ReceiverSession struct { Contract *IERC721Receiver // Generic contract binding to set the session for @@ -27305,31 +27305,31 @@ type IERC721ReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721ReceiverCallerSession struct { Contract *IERC721ReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721ReceiverTransactorSession struct { Contract *IERC721ReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721ReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721ReceiverRaw struct { Contract *IERC721Receiver // Generic contract binding to access the raw methods on } -// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721ReceiverCallerRaw struct { Contract *IERC721ReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721ReceiverTransactorRaw struct { Contract *IERC721ReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -27459,29 +27459,29 @@ const MinterRoleBinRuntime = `` // Deprecated: Use MinterRoleMetaData.Sigs instead. var MinterRoleFuncSigs = MinterRoleMetaData.Sigs -// MinterRole is an auto generated Go binding around a Klaytn contract. +// MinterRole is an auto generated Go binding around a Kaia contract. type MinterRole struct { MinterRoleCaller // Read-only binding to the contract MinterRoleTransactor // Write-only binding to the contract MinterRoleFilterer // Log filterer for contract events } -// MinterRoleCaller is an auto generated read-only Go binding around a Klaytn contract. +// MinterRoleCaller is an auto generated read-only Go binding around a Kaia contract. type MinterRoleCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MinterRoleTransactor is an auto generated write-only Go binding around a Kaia contract. type MinterRoleTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MinterRoleFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MinterRoleFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleSession is an auto generated Go binding around a Klaytn contract, +// MinterRoleSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MinterRoleSession struct { Contract *MinterRole // Generic contract binding to set the session for @@ -27489,31 +27489,31 @@ type MinterRoleSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MinterRoleCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MinterRoleCallerSession struct { Contract *MinterRoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MinterRoleTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MinterRoleTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MinterRoleTransactorSession struct { Contract *MinterRoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleRaw is an auto generated low-level Go binding around a Klaytn contract. +// MinterRoleRaw is an auto generated low-level Go binding around a Kaia contract. type MinterRoleRaw struct { Contract *MinterRole // Generic contract binding to access the raw methods on } -// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MinterRoleCallerRaw struct { Contract *MinterRoleCaller // Generic read-only contract binding to access the raw methods on } -// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MinterRoleTransactorRaw struct { Contract *MinterRoleTransactor // Generic write-only contract binding to access the raw methods on } @@ -27976,29 +27976,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -28006,31 +28006,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -28402,29 +28402,29 @@ func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &Roles{RolesCaller: RolesCaller{contract: contract}, RolesTransactor: RolesTransactor{contract: contract}, RolesFilterer: RolesFilterer{contract: contract}}, nil } -// Roles is an auto generated Go binding around a Klaytn contract. +// Roles is an auto generated Go binding around a Kaia contract. type Roles struct { RolesCaller // Read-only binding to the contract RolesTransactor // Write-only binding to the contract RolesFilterer // Log filterer for contract events } -// RolesCaller is an auto generated read-only Go binding around a Klaytn contract. +// RolesCaller is an auto generated read-only Go binding around a Kaia contract. type RolesCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RolesTransactor is an auto generated write-only Go binding around a Kaia contract. type RolesTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RolesFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RolesFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesSession is an auto generated Go binding around a Klaytn contract, +// RolesSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RolesSession struct { Contract *Roles // Generic contract binding to set the session for @@ -28432,31 +28432,31 @@ type RolesSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RolesCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RolesCallerSession struct { Contract *RolesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RolesTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RolesTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RolesTransactorSession struct { Contract *RolesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesRaw is an auto generated low-level Go binding around a Klaytn contract. +// RolesRaw is an auto generated low-level Go binding around a Kaia contract. type RolesRaw struct { Contract *Roles // Generic contract binding to access the raw methods on } -// RolesCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RolesCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RolesCallerRaw struct { Contract *RolesCaller // Generic read-only contract binding to access the raw methods on } -// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RolesTransactorRaw struct { Contract *RolesTransactor // Generic write-only contract binding to access the raw methods on } @@ -28578,29 +28578,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -28608,31 +28608,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/consensus/Kip163.go b/contracts/contracts/system_contracts/consensus/Kip163.go index e5636b6179..542e51862b 100644 --- a/contracts/contracts/system_contracts/consensus/Kip163.go +++ b/contracts/contracts/system_contracts/consensus/Kip163.go @@ -62,29 +62,29 @@ const AccessControlBinRuntime = `` // Deprecated: Use AccessControlMetaData.Sigs instead. var AccessControlFuncSigs = AccessControlMetaData.Sigs -// AccessControl is an auto generated Go binding around a Klaytn contract. +// AccessControl is an auto generated Go binding around a Kaia contract. type AccessControl struct { AccessControlCaller // Read-only binding to the contract AccessControlTransactor // Write-only binding to the contract AccessControlFilterer // Log filterer for contract events } -// AccessControlCaller is an auto generated read-only Go binding around a Klaytn contract. +// AccessControlCaller is an auto generated read-only Go binding around a Kaia contract. type AccessControlCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AccessControlTransactor is an auto generated write-only Go binding around a Kaia contract. type AccessControlTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AccessControlFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AccessControlFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlSession is an auto generated Go binding around a Klaytn contract, +// AccessControlSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AccessControlSession struct { Contract *AccessControl // Generic contract binding to set the session for @@ -92,31 +92,31 @@ type AccessControlSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AccessControlCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AccessControlCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AccessControlCallerSession struct { Contract *AccessControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AccessControlTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AccessControlTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AccessControlTransactorSession struct { Contract *AccessControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AccessControlRaw is an auto generated low-level Go binding around a Klaytn contract. +// AccessControlRaw is an auto generated low-level Go binding around a Kaia contract. type AccessControlRaw struct { Contract *AccessControl // Generic contract binding to access the raw methods on } -// AccessControlCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AccessControlCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AccessControlCallerRaw struct { Contract *AccessControlCaller // Generic read-only contract binding to access the raw methods on } -// AccessControlTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AccessControlTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AccessControlTransactorRaw struct { Contract *AccessControlTransactor // Generic write-only contract binding to access the raw methods on } @@ -887,29 +887,29 @@ const AccessControlEnumerableBinRuntime = `` // Deprecated: Use AccessControlEnumerableMetaData.Sigs instead. var AccessControlEnumerableFuncSigs = AccessControlEnumerableMetaData.Sigs -// AccessControlEnumerable is an auto generated Go binding around a Klaytn contract. +// AccessControlEnumerable is an auto generated Go binding around a Kaia contract. type AccessControlEnumerable struct { AccessControlEnumerableCaller // Read-only binding to the contract AccessControlEnumerableTransactor // Write-only binding to the contract AccessControlEnumerableFilterer // Log filterer for contract events } -// AccessControlEnumerableCaller is an auto generated read-only Go binding around a Klaytn contract. +// AccessControlEnumerableCaller is an auto generated read-only Go binding around a Kaia contract. type AccessControlEnumerableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlEnumerableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AccessControlEnumerableTransactor is an auto generated write-only Go binding around a Kaia contract. type AccessControlEnumerableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlEnumerableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AccessControlEnumerableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AccessControlEnumerableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AccessControlEnumerableSession is an auto generated Go binding around a Klaytn contract, +// AccessControlEnumerableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AccessControlEnumerableSession struct { Contract *AccessControlEnumerable // Generic contract binding to set the session for @@ -917,31 +917,31 @@ type AccessControlEnumerableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AccessControlEnumerableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AccessControlEnumerableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AccessControlEnumerableCallerSession struct { Contract *AccessControlEnumerableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AccessControlEnumerableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AccessControlEnumerableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AccessControlEnumerableTransactorSession struct { Contract *AccessControlEnumerableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AccessControlEnumerableRaw is an auto generated low-level Go binding around a Klaytn contract. +// AccessControlEnumerableRaw is an auto generated low-level Go binding around a Kaia contract. type AccessControlEnumerableRaw struct { Contract *AccessControlEnumerable // Generic contract binding to access the raw methods on } -// AccessControlEnumerableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AccessControlEnumerableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AccessControlEnumerableCallerRaw struct { Contract *AccessControlEnumerableCaller // Generic read-only contract binding to access the raw methods on } -// AccessControlEnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AccessControlEnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AccessControlEnumerableTransactorRaw struct { Contract *AccessControlEnumerableTransactor // Generic write-only contract binding to access the raw methods on } @@ -1777,29 +1777,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -1807,31 +1807,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -2016,29 +2016,29 @@ func DeployCnStakingV3(auth *bind.TransactOpts, backend bind.ContractBackend, _o return address, tx, &CnStakingV3{CnStakingV3Caller: CnStakingV3Caller{contract: contract}, CnStakingV3Transactor: CnStakingV3Transactor{contract: contract}, CnStakingV3Filterer: CnStakingV3Filterer{contract: contract}}, nil } -// CnStakingV3 is an auto generated Go binding around a Klaytn contract. +// CnStakingV3 is an auto generated Go binding around a Kaia contract. type CnStakingV3 struct { CnStakingV3Caller // Read-only binding to the contract CnStakingV3Transactor // Write-only binding to the contract CnStakingV3Filterer // Log filterer for contract events } -// CnStakingV3Caller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingV3Caller is an auto generated read-only Go binding around a Kaia contract. type CnStakingV3Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3Transactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingV3Transactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingV3Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingV3Filterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingV3Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3Session is an auto generated Go binding around a Klaytn contract, +// CnStakingV3Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingV3Session struct { Contract *CnStakingV3 // Generic contract binding to set the session for @@ -2046,31 +2046,31 @@ type CnStakingV3Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingV3CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingV3CallerSession struct { Contract *CnStakingV3Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingV3TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingV3TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingV3TransactorSession struct { Contract *CnStakingV3Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3Raw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingV3Raw is an auto generated low-level Go binding around a Kaia contract. type CnStakingV3Raw struct { Contract *CnStakingV3 // Generic contract binding to access the raw methods on } -// CnStakingV3CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingV3CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingV3CallerRaw struct { Contract *CnStakingV3Caller // Generic read-only contract binding to access the raw methods on } -// CnStakingV3TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingV3TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingV3TransactorRaw struct { Contract *CnStakingV3Transactor // Generic write-only contract binding to access the raw methods on } @@ -6942,29 +6942,29 @@ func DeployCnStakingV3MultiSig(auth *bind.TransactOpts, backend bind.ContractBac return address, tx, &CnStakingV3MultiSig{CnStakingV3MultiSigCaller: CnStakingV3MultiSigCaller{contract: contract}, CnStakingV3MultiSigTransactor: CnStakingV3MultiSigTransactor{contract: contract}, CnStakingV3MultiSigFilterer: CnStakingV3MultiSigFilterer{contract: contract}}, nil } -// CnStakingV3MultiSig is an auto generated Go binding around a Klaytn contract. +// CnStakingV3MultiSig is an auto generated Go binding around a Kaia contract. type CnStakingV3MultiSig struct { CnStakingV3MultiSigCaller // Read-only binding to the contract CnStakingV3MultiSigTransactor // Write-only binding to the contract CnStakingV3MultiSigFilterer // Log filterer for contract events } -// CnStakingV3MultiSigCaller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigCaller is an auto generated read-only Go binding around a Kaia contract. type CnStakingV3MultiSigCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigTransactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingV3MultiSigTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingV3MultiSigFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingV3MultiSigFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigSession is an auto generated Go binding around a Klaytn contract, +// CnStakingV3MultiSigSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingV3MultiSigSession struct { Contract *CnStakingV3MultiSig // Generic contract binding to set the session for @@ -6972,31 +6972,31 @@ type CnStakingV3MultiSigSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3MultiSigCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingV3MultiSigCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingV3MultiSigCallerSession struct { Contract *CnStakingV3MultiSigCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingV3MultiSigTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingV3MultiSigTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingV3MultiSigTransactorSession struct { Contract *CnStakingV3MultiSigTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3MultiSigRaw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingV3MultiSigRaw is an auto generated low-level Go binding around a Kaia contract. type CnStakingV3MultiSigRaw struct { Contract *CnStakingV3MultiSig // Generic contract binding to access the raw methods on } -// CnStakingV3MultiSigCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingV3MultiSigCallerRaw struct { Contract *CnStakingV3MultiSigCaller // Generic read-only contract binding to access the raw methods on } -// CnStakingV3MultiSigTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingV3MultiSigTransactorRaw struct { Contract *CnStakingV3MultiSigTransactor // Generic write-only contract binding to access the raw methods on } @@ -14185,29 +14185,29 @@ const CnStakingV3MultiSigStorageBinRuntime = `` // Deprecated: Use CnStakingV3MultiSigStorageMetaData.Sigs instead. var CnStakingV3MultiSigStorageFuncSigs = CnStakingV3MultiSigStorageMetaData.Sigs -// CnStakingV3MultiSigStorage is an auto generated Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorage is an auto generated Go binding around a Kaia contract. type CnStakingV3MultiSigStorage struct { CnStakingV3MultiSigStorageCaller // Read-only binding to the contract CnStakingV3MultiSigStorageTransactor // Write-only binding to the contract CnStakingV3MultiSigStorageFilterer // Log filterer for contract events } -// CnStakingV3MultiSigStorageCaller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorageCaller is an auto generated read-only Go binding around a Kaia contract. type CnStakingV3MultiSigStorageCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigStorageTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorageTransactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingV3MultiSigStorageTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigStorageFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingV3MultiSigStorageFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingV3MultiSigStorageFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3MultiSigStorageSession is an auto generated Go binding around a Klaytn contract, +// CnStakingV3MultiSigStorageSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingV3MultiSigStorageSession struct { Contract *CnStakingV3MultiSigStorage // Generic contract binding to set the session for @@ -14215,31 +14215,31 @@ type CnStakingV3MultiSigStorageSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3MultiSigStorageCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingV3MultiSigStorageCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingV3MultiSigStorageCallerSession struct { Contract *CnStakingV3MultiSigStorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingV3MultiSigStorageTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingV3MultiSigStorageTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingV3MultiSigStorageTransactorSession struct { Contract *CnStakingV3MultiSigStorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3MultiSigStorageRaw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorageRaw is an auto generated low-level Go binding around a Kaia contract. type CnStakingV3MultiSigStorageRaw struct { Contract *CnStakingV3MultiSigStorage // Generic contract binding to access the raw methods on } -// CnStakingV3MultiSigStorageCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorageCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingV3MultiSigStorageCallerRaw struct { Contract *CnStakingV3MultiSigStorageCaller // Generic read-only contract binding to access the raw methods on } -// CnStakingV3MultiSigStorageTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingV3MultiSigStorageTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingV3MultiSigStorageTransactorRaw struct { Contract *CnStakingV3MultiSigStorageTransactor // Generic write-only contract binding to access the raw methods on } @@ -16789,29 +16789,29 @@ const CnStakingV3StorageBinRuntime = `` // Deprecated: Use CnStakingV3StorageMetaData.Sigs instead. var CnStakingV3StorageFuncSigs = CnStakingV3StorageMetaData.Sigs -// CnStakingV3Storage is an auto generated Go binding around a Klaytn contract. +// CnStakingV3Storage is an auto generated Go binding around a Kaia contract. type CnStakingV3Storage struct { CnStakingV3StorageCaller // Read-only binding to the contract CnStakingV3StorageTransactor // Write-only binding to the contract CnStakingV3StorageFilterer // Log filterer for contract events } -// CnStakingV3StorageCaller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingV3StorageCaller is an auto generated read-only Go binding around a Kaia contract. type CnStakingV3StorageCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3StorageTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingV3StorageTransactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingV3StorageTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3StorageFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingV3StorageFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingV3StorageFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingV3StorageSession is an auto generated Go binding around a Klaytn contract, +// CnStakingV3StorageSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingV3StorageSession struct { Contract *CnStakingV3Storage // Generic contract binding to set the session for @@ -16819,31 +16819,31 @@ type CnStakingV3StorageSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3StorageCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingV3StorageCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingV3StorageCallerSession struct { Contract *CnStakingV3StorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingV3StorageTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingV3StorageTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingV3StorageTransactorSession struct { Contract *CnStakingV3StorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingV3StorageRaw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingV3StorageRaw is an auto generated low-level Go binding around a Kaia contract. type CnStakingV3StorageRaw struct { Contract *CnStakingV3Storage // Generic contract binding to access the raw methods on } -// CnStakingV3StorageCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingV3StorageCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingV3StorageCallerRaw struct { Contract *CnStakingV3StorageCaller // Generic read-only contract binding to access the raw methods on } -// CnStakingV3StorageTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingV3StorageTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingV3StorageTransactorRaw struct { Contract *CnStakingV3StorageTransactor // Generic write-only contract binding to access the raw methods on } @@ -20887,29 +20887,29 @@ var ContextABI = ContextMetaData.ABI // ContextBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ContextBinRuntime = `` -// Context is an auto generated Go binding around a Klaytn contract. +// Context is an auto generated Go binding around a Kaia contract. type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events } -// ContextCaller is an auto generated read-only Go binding around a Klaytn contract. +// ContextCaller is an auto generated read-only Go binding around a Kaia contract. type ContextCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ContextTransactor is an auto generated write-only Go binding around a Kaia contract. type ContextTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ContextFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ContextFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextSession is an auto generated Go binding around a Klaytn contract, +// ContextSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ContextSession struct { Contract *Context // Generic contract binding to set the session for @@ -20917,31 +20917,31 @@ type ContextSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ContextCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ContextTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ContextTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextRaw is an auto generated low-level Go binding around a Klaytn contract. +// ContextRaw is an auto generated low-level Go binding around a Kaia contract. type ContextRaw struct { Contract *Context // Generic contract binding to access the raw methods on } -// ContextCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ContextCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ContextCallerRaw struct { Contract *ContextCaller // Generic read-only contract binding to access the raw methods on } -// ContextTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ContextTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ContextTransactorRaw struct { Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on } @@ -21048,29 +21048,29 @@ const ERC165BinRuntime = `` // Deprecated: Use ERC165MetaData.Sigs instead. var ERC165FuncSigs = ERC165MetaData.Sigs -// ERC165 is an auto generated Go binding around a Klaytn contract. +// ERC165 is an auto generated Go binding around a Kaia contract. type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events } -// ERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC165Caller is an auto generated read-only Go binding around a Kaia contract. type ERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Session is an auto generated Go binding around a Klaytn contract, +// ERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC165Session struct { Contract *ERC165 // Generic contract binding to set the session for @@ -21078,31 +21078,31 @@ type ERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC165Raw is an auto generated low-level Go binding around a Kaia contract. type ERC165Raw struct { Contract *ERC165 // Generic contract binding to access the raw methods on } -// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC165CallerRaw struct { Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on } -// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC165TransactorRaw struct { Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -21246,29 +21246,29 @@ const ERC20BinRuntime = `` // Deprecated: Use ERC20MetaData.Sigs instead. var ERC20FuncSigs = ERC20MetaData.Sigs -// ERC20 is an auto generated Go binding around a Klaytn contract. +// ERC20 is an auto generated Go binding around a Kaia contract. type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events } -// ERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20Caller is an auto generated read-only Go binding around a Kaia contract. type ERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Session is an auto generated Go binding around a Klaytn contract, +// ERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for @@ -21276,31 +21276,31 @@ type ERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20Raw is an auto generated low-level Go binding around a Kaia contract. type ERC20Raw struct { Contract *ERC20 // Generic contract binding to access the raw methods on } -// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20CallerRaw struct { Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on } -// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20TransactorRaw struct { Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -21961,29 +21961,29 @@ func DeployEnumerableSet(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &EnumerableSet{EnumerableSetCaller: EnumerableSetCaller{contract: contract}, EnumerableSetTransactor: EnumerableSetTransactor{contract: contract}, EnumerableSetFilterer: EnumerableSetFilterer{contract: contract}}, nil } -// EnumerableSet is an auto generated Go binding around a Klaytn contract. +// EnumerableSet is an auto generated Go binding around a Kaia contract. type EnumerableSet struct { EnumerableSetCaller // Read-only binding to the contract EnumerableSetTransactor // Write-only binding to the contract EnumerableSetFilterer // Log filterer for contract events } -// EnumerableSetCaller is an auto generated read-only Go binding around a Klaytn contract. +// EnumerableSetCaller is an auto generated read-only Go binding around a Kaia contract. type EnumerableSetCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// EnumerableSetTransactor is an auto generated write-only Go binding around a Klaytn contract. +// EnumerableSetTransactor is an auto generated write-only Go binding around a Kaia contract. type EnumerableSetTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// EnumerableSetFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// EnumerableSetFilterer is an auto generated log filtering Go binding around a Kaia contract events. type EnumerableSetFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// EnumerableSetSession is an auto generated Go binding around a Klaytn contract, +// EnumerableSetSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type EnumerableSetSession struct { Contract *EnumerableSet // Generic contract binding to set the session for @@ -21991,31 +21991,31 @@ type EnumerableSetSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// EnumerableSetCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// EnumerableSetCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type EnumerableSetCallerSession struct { Contract *EnumerableSetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// EnumerableSetTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// EnumerableSetTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type EnumerableSetTransactorSession struct { Contract *EnumerableSetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// EnumerableSetRaw is an auto generated low-level Go binding around a Klaytn contract. +// EnumerableSetRaw is an auto generated low-level Go binding around a Kaia contract. type EnumerableSetRaw struct { Contract *EnumerableSet // Generic contract binding to access the raw methods on } -// EnumerableSetCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// EnumerableSetCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type EnumerableSetCallerRaw struct { Contract *EnumerableSetCaller // Generic read-only contract binding to access the raw methods on } -// EnumerableSetTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// EnumerableSetTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type EnumerableSetTransactorRaw struct { Contract *EnumerableSetTransactor // Generic write-only contract binding to access the raw methods on } @@ -22126,29 +22126,29 @@ const IAccessControlBinRuntime = `` // Deprecated: Use IAccessControlMetaData.Sigs instead. var IAccessControlFuncSigs = IAccessControlMetaData.Sigs -// IAccessControl is an auto generated Go binding around a Klaytn contract. +// IAccessControl is an auto generated Go binding around a Kaia contract. type IAccessControl struct { IAccessControlCaller // Read-only binding to the contract IAccessControlTransactor // Write-only binding to the contract IAccessControlFilterer // Log filterer for contract events } -// IAccessControlCaller is an auto generated read-only Go binding around a Klaytn contract. +// IAccessControlCaller is an auto generated read-only Go binding around a Kaia contract. type IAccessControlCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IAccessControlTransactor is an auto generated write-only Go binding around a Kaia contract. type IAccessControlTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IAccessControlFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IAccessControlFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlSession is an auto generated Go binding around a Klaytn contract, +// IAccessControlSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IAccessControlSession struct { Contract *IAccessControl // Generic contract binding to set the session for @@ -22156,31 +22156,31 @@ type IAccessControlSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAccessControlCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IAccessControlCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IAccessControlCallerSession struct { Contract *IAccessControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IAccessControlTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IAccessControlTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IAccessControlTransactorSession struct { Contract *IAccessControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAccessControlRaw is an auto generated low-level Go binding around a Klaytn contract. +// IAccessControlRaw is an auto generated low-level Go binding around a Kaia contract. type IAccessControlRaw struct { Contract *IAccessControl // Generic contract binding to access the raw methods on } -// IAccessControlCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IAccessControlCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IAccessControlCallerRaw struct { Contract *IAccessControlCaller // Generic read-only contract binding to access the raw methods on } -// IAccessControlTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IAccessControlTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IAccessControlTransactorRaw struct { Contract *IAccessControlTransactor // Generic write-only contract binding to access the raw methods on } @@ -22891,29 +22891,29 @@ const IAccessControlEnumerableBinRuntime = `` // Deprecated: Use IAccessControlEnumerableMetaData.Sigs instead. var IAccessControlEnumerableFuncSigs = IAccessControlEnumerableMetaData.Sigs -// IAccessControlEnumerable is an auto generated Go binding around a Klaytn contract. +// IAccessControlEnumerable is an auto generated Go binding around a Kaia contract. type IAccessControlEnumerable struct { IAccessControlEnumerableCaller // Read-only binding to the contract IAccessControlEnumerableTransactor // Write-only binding to the contract IAccessControlEnumerableFilterer // Log filterer for contract events } -// IAccessControlEnumerableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IAccessControlEnumerableCaller is an auto generated read-only Go binding around a Kaia contract. type IAccessControlEnumerableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlEnumerableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IAccessControlEnumerableTransactor is an auto generated write-only Go binding around a Kaia contract. type IAccessControlEnumerableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlEnumerableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IAccessControlEnumerableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IAccessControlEnumerableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAccessControlEnumerableSession is an auto generated Go binding around a Klaytn contract, +// IAccessControlEnumerableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IAccessControlEnumerableSession struct { Contract *IAccessControlEnumerable // Generic contract binding to set the session for @@ -22921,31 +22921,31 @@ type IAccessControlEnumerableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAccessControlEnumerableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IAccessControlEnumerableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IAccessControlEnumerableCallerSession struct { Contract *IAccessControlEnumerableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IAccessControlEnumerableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IAccessControlEnumerableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IAccessControlEnumerableTransactorSession struct { Contract *IAccessControlEnumerableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAccessControlEnumerableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IAccessControlEnumerableRaw is an auto generated low-level Go binding around a Kaia contract. type IAccessControlEnumerableRaw struct { Contract *IAccessControlEnumerable // Generic contract binding to access the raw methods on } -// IAccessControlEnumerableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IAccessControlEnumerableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IAccessControlEnumerableCallerRaw struct { Contract *IAccessControlEnumerableCaller // Generic read-only contract binding to access the raw methods on } -// IAccessControlEnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IAccessControlEnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IAccessControlEnumerableTransactorRaw struct { Contract *IAccessControlEnumerableTransactor // Generic write-only contract binding to access the raw methods on } @@ -23732,29 +23732,29 @@ const IAddressBookBinRuntime = `` // Deprecated: Use IAddressBookMetaData.Sigs instead. var IAddressBookFuncSigs = IAddressBookMetaData.Sigs -// IAddressBook is an auto generated Go binding around a Klaytn contract. +// IAddressBook is an auto generated Go binding around a Kaia contract. type IAddressBook struct { IAddressBookCaller // Read-only binding to the contract IAddressBookTransactor // Write-only binding to the contract IAddressBookFilterer // Log filterer for contract events } -// IAddressBookCaller is an auto generated read-only Go binding around a Klaytn contract. +// IAddressBookCaller is an auto generated read-only Go binding around a Kaia contract. type IAddressBookCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IAddressBookTransactor is an auto generated write-only Go binding around a Kaia contract. type IAddressBookTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IAddressBookFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IAddressBookFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookSession is an auto generated Go binding around a Klaytn contract, +// IAddressBookSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IAddressBookSession struct { Contract *IAddressBook // Generic contract binding to set the session for @@ -23762,31 +23762,31 @@ type IAddressBookSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IAddressBookCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IAddressBookCallerSession struct { Contract *IAddressBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IAddressBookTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IAddressBookTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IAddressBookTransactorSession struct { Contract *IAddressBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookRaw is an auto generated low-level Go binding around a Klaytn contract. +// IAddressBookRaw is an auto generated low-level Go binding around a Kaia contract. type IAddressBookRaw struct { Contract *IAddressBook // Generic contract binding to access the raw methods on } -// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IAddressBookCallerRaw struct { Contract *IAddressBookCaller // Generic read-only contract binding to access the raw methods on } -// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IAddressBookTransactorRaw struct { Contract *IAddressBookTransactor // Generic write-only contract binding to access the raw methods on } @@ -24655,29 +24655,29 @@ const ICnStakingBinRuntime = `` // Deprecated: Use ICnStakingMetaData.Sigs instead. var ICnStakingFuncSigs = ICnStakingMetaData.Sigs -// ICnStaking is an auto generated Go binding around a Klaytn contract. +// ICnStaking is an auto generated Go binding around a Kaia contract. type ICnStaking struct { ICnStakingCaller // Read-only binding to the contract ICnStakingTransactor // Write-only binding to the contract ICnStakingFilterer // Log filterer for contract events } -// ICnStakingCaller is an auto generated read-only Go binding around a Klaytn contract. +// ICnStakingCaller is an auto generated read-only Go binding around a Kaia contract. type ICnStakingCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ICnStakingTransactor is an auto generated write-only Go binding around a Kaia contract. type ICnStakingTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ICnStakingFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ICnStakingFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingSession is an auto generated Go binding around a Klaytn contract, +// ICnStakingSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ICnStakingSession struct { Contract *ICnStaking // Generic contract binding to set the session for @@ -24685,31 +24685,31 @@ type ICnStakingSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ICnStakingCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ICnStakingCallerSession struct { Contract *ICnStakingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ICnStakingTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ICnStakingTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ICnStakingTransactorSession struct { Contract *ICnStakingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingRaw is an auto generated low-level Go binding around a Klaytn contract. +// ICnStakingRaw is an auto generated low-level Go binding around a Kaia contract. type ICnStakingRaw struct { Contract *ICnStaking // Generic contract binding to access the raw methods on } -// ICnStakingCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ICnStakingCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ICnStakingCallerRaw struct { Contract *ICnStakingCaller // Generic read-only contract binding to access the raw methods on } -// ICnStakingTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ICnStakingTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ICnStakingTransactorRaw struct { Contract *ICnStakingTransactor // Generic write-only contract binding to access the raw methods on } @@ -24947,29 +24947,29 @@ const ICnStakingV3BinRuntime = `` // Deprecated: Use ICnStakingV3MetaData.Sigs instead. var ICnStakingV3FuncSigs = ICnStakingV3MetaData.Sigs -// ICnStakingV3 is an auto generated Go binding around a Klaytn contract. +// ICnStakingV3 is an auto generated Go binding around a Kaia contract. type ICnStakingV3 struct { ICnStakingV3Caller // Read-only binding to the contract ICnStakingV3Transactor // Write-only binding to the contract ICnStakingV3Filterer // Log filterer for contract events } -// ICnStakingV3Caller is an auto generated read-only Go binding around a Klaytn contract. +// ICnStakingV3Caller is an auto generated read-only Go binding around a Kaia contract. type ICnStakingV3Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ICnStakingV3Transactor is an auto generated write-only Go binding around a Kaia contract. type ICnStakingV3Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ICnStakingV3Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ICnStakingV3Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3Session is an auto generated Go binding around a Klaytn contract, +// ICnStakingV3Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ICnStakingV3Session struct { Contract *ICnStakingV3 // Generic contract binding to set the session for @@ -24977,31 +24977,31 @@ type ICnStakingV3Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingV3CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ICnStakingV3CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ICnStakingV3CallerSession struct { Contract *ICnStakingV3Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ICnStakingV3TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ICnStakingV3TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ICnStakingV3TransactorSession struct { Contract *ICnStakingV3Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingV3Raw is an auto generated low-level Go binding around a Klaytn contract. +// ICnStakingV3Raw is an auto generated low-level Go binding around a Kaia contract. type ICnStakingV3Raw struct { Contract *ICnStakingV3 // Generic contract binding to access the raw methods on } -// ICnStakingV3CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ICnStakingV3CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ICnStakingV3CallerRaw struct { Contract *ICnStakingV3Caller // Generic read-only contract binding to access the raw methods on } -// ICnStakingV3TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ICnStakingV3TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ICnStakingV3TransactorRaw struct { Contract *ICnStakingV3Transactor // Generic write-only contract binding to access the raw methods on } @@ -28955,29 +28955,29 @@ const ICnStakingV3MultiSigBinRuntime = `` // Deprecated: Use ICnStakingV3MultiSigMetaData.Sigs instead. var ICnStakingV3MultiSigFuncSigs = ICnStakingV3MultiSigMetaData.Sigs -// ICnStakingV3MultiSig is an auto generated Go binding around a Klaytn contract. +// ICnStakingV3MultiSig is an auto generated Go binding around a Kaia contract. type ICnStakingV3MultiSig struct { ICnStakingV3MultiSigCaller // Read-only binding to the contract ICnStakingV3MultiSigTransactor // Write-only binding to the contract ICnStakingV3MultiSigFilterer // Log filterer for contract events } -// ICnStakingV3MultiSigCaller is an auto generated read-only Go binding around a Klaytn contract. +// ICnStakingV3MultiSigCaller is an auto generated read-only Go binding around a Kaia contract. type ICnStakingV3MultiSigCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3MultiSigTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ICnStakingV3MultiSigTransactor is an auto generated write-only Go binding around a Kaia contract. type ICnStakingV3MultiSigTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3MultiSigFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ICnStakingV3MultiSigFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ICnStakingV3MultiSigFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ICnStakingV3MultiSigSession is an auto generated Go binding around a Klaytn contract, +// ICnStakingV3MultiSigSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ICnStakingV3MultiSigSession struct { Contract *ICnStakingV3MultiSig // Generic contract binding to set the session for @@ -28985,31 +28985,31 @@ type ICnStakingV3MultiSigSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingV3MultiSigCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ICnStakingV3MultiSigCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ICnStakingV3MultiSigCallerSession struct { Contract *ICnStakingV3MultiSigCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ICnStakingV3MultiSigTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ICnStakingV3MultiSigTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ICnStakingV3MultiSigTransactorSession struct { Contract *ICnStakingV3MultiSigTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ICnStakingV3MultiSigRaw is an auto generated low-level Go binding around a Klaytn contract. +// ICnStakingV3MultiSigRaw is an auto generated low-level Go binding around a Kaia contract. type ICnStakingV3MultiSigRaw struct { Contract *ICnStakingV3MultiSig // Generic contract binding to access the raw methods on } -// ICnStakingV3MultiSigCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ICnStakingV3MultiSigCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ICnStakingV3MultiSigCallerRaw struct { Contract *ICnStakingV3MultiSigCaller // Generic read-only contract binding to access the raw methods on } -// ICnStakingV3MultiSigTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ICnStakingV3MultiSigTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ICnStakingV3MultiSigTransactorRaw struct { Contract *ICnStakingV3MultiSigTransactor // Generic write-only contract binding to access the raw methods on } @@ -31505,29 +31505,29 @@ var IERC1155ErrorsABI = IERC1155ErrorsMetaData.ABI // IERC1155ErrorsBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC1155ErrorsBinRuntime = `` -// IERC1155Errors is an auto generated Go binding around a Klaytn contract. +// IERC1155Errors is an auto generated Go binding around a Kaia contract. type IERC1155Errors struct { IERC1155ErrorsCaller // Read-only binding to the contract IERC1155ErrorsTransactor // Write-only binding to the contract IERC1155ErrorsFilterer // Log filterer for contract events } -// IERC1155ErrorsCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1155ErrorsCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1155ErrorsCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1155ErrorsTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1155ErrorsTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1155ErrorsTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1155ErrorsFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1155ErrorsFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1155ErrorsFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1155ErrorsSession is an auto generated Go binding around a Klaytn contract, +// IERC1155ErrorsSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1155ErrorsSession struct { Contract *IERC1155Errors // Generic contract binding to set the session for @@ -31535,31 +31535,31 @@ type IERC1155ErrorsSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1155ErrorsCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1155ErrorsCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1155ErrorsCallerSession struct { Contract *IERC1155ErrorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1155ErrorsTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1155ErrorsTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1155ErrorsTransactorSession struct { Contract *IERC1155ErrorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1155ErrorsRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1155ErrorsRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1155ErrorsRaw struct { Contract *IERC1155Errors // Generic contract binding to access the raw methods on } -// IERC1155ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1155ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1155ErrorsCallerRaw struct { Contract *IERC1155ErrorsCaller // Generic read-only contract binding to access the raw methods on } -// IERC1155ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1155ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1155ErrorsTransactorRaw struct { Contract *IERC1155ErrorsTransactor // Generic write-only contract binding to access the raw methods on } @@ -31666,29 +31666,29 @@ const IERC165BinRuntime = `` // Deprecated: Use IERC165MetaData.Sigs instead. var IERC165FuncSigs = IERC165MetaData.Sigs -// IERC165 is an auto generated Go binding around a Klaytn contract. +// IERC165 is an auto generated Go binding around a Kaia contract. type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events } -// IERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC165Caller is an auto generated read-only Go binding around a Kaia contract. type IERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Session is an auto generated Go binding around a Klaytn contract, +// IERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for @@ -31696,31 +31696,31 @@ type IERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC165Raw is an auto generated low-level Go binding around a Kaia contract. type IERC165Raw struct { Contract *IERC165 // Generic contract binding to access the raw methods on } -// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC165CallerRaw struct { Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on } -// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC165TransactorRaw struct { Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -31861,29 +31861,29 @@ const IERC20BinRuntime = `` // Deprecated: Use IERC20MetaData.Sigs instead. var IERC20FuncSigs = IERC20MetaData.Sigs -// IERC20 is an auto generated Go binding around a Klaytn contract. +// IERC20 is an auto generated Go binding around a Kaia contract. type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events } -// IERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20Caller is an auto generated read-only Go binding around a Kaia contract. type IERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Session is an auto generated Go binding around a Klaytn contract, +// IERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20Session struct { Contract *IERC20 // Generic contract binding to set the session for @@ -31891,31 +31891,31 @@ type IERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20Raw is an auto generated low-level Go binding around a Kaia contract. type IERC20Raw struct { Contract *IERC20 // Generic contract binding to access the raw methods on } -// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20CallerRaw struct { Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on } -// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20TransactorRaw struct { Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -32467,29 +32467,29 @@ var IERC20ErrorsABI = IERC20ErrorsMetaData.ABI // IERC20ErrorsBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC20ErrorsBinRuntime = `` -// IERC20Errors is an auto generated Go binding around a Klaytn contract. +// IERC20Errors is an auto generated Go binding around a Kaia contract. type IERC20Errors struct { IERC20ErrorsCaller // Read-only binding to the contract IERC20ErrorsTransactor // Write-only binding to the contract IERC20ErrorsFilterer // Log filterer for contract events } -// IERC20ErrorsCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20ErrorsCaller is an auto generated read-only Go binding around a Kaia contract. type IERC20ErrorsCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20ErrorsTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20ErrorsTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC20ErrorsTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20ErrorsFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20ErrorsFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20ErrorsFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20ErrorsSession is an auto generated Go binding around a Klaytn contract, +// IERC20ErrorsSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20ErrorsSession struct { Contract *IERC20Errors // Generic contract binding to set the session for @@ -32497,31 +32497,31 @@ type IERC20ErrorsSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20ErrorsCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20ErrorsCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20ErrorsCallerSession struct { Contract *IERC20ErrorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20ErrorsTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20ErrorsTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20ErrorsTransactorSession struct { Contract *IERC20ErrorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20ErrorsRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20ErrorsRaw is an auto generated low-level Go binding around a Kaia contract. type IERC20ErrorsRaw struct { Contract *IERC20Errors // Generic contract binding to access the raw methods on } -// IERC20ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20ErrorsCallerRaw struct { Contract *IERC20ErrorsCaller // Generic read-only contract binding to access the raw methods on } -// IERC20ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20ErrorsTransactorRaw struct { Contract *IERC20ErrorsTransactor // Generic write-only contract binding to access the raw methods on } @@ -32636,29 +32636,29 @@ const IERC20MetadataBinRuntime = `` // Deprecated: Use IERC20MetadataMetaData.Sigs instead. var IERC20MetadataFuncSigs = IERC20MetadataMetaData.Sigs -// IERC20Metadata is an auto generated Go binding around a Klaytn contract. +// IERC20Metadata is an auto generated Go binding around a Kaia contract. type IERC20Metadata struct { IERC20MetadataCaller // Read-only binding to the contract IERC20MetadataTransactor // Write-only binding to the contract IERC20MetadataFilterer // Log filterer for contract events } -// IERC20MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type IERC20MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC20MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20MetadataSession is an auto generated Go binding around a Klaytn contract, +// IERC20MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20MetadataSession struct { Contract *IERC20Metadata // Generic contract binding to set the session for @@ -32666,31 +32666,31 @@ type IERC20MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20MetadataCallerSession struct { Contract *IERC20MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20MetadataTransactorSession struct { Contract *IERC20MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type IERC20MetadataRaw struct { Contract *IERC20Metadata // Generic contract binding to access the raw methods on } -// IERC20MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20MetadataCallerRaw struct { Contract *IERC20MetadataCaller // Generic read-only contract binding to access the raw methods on } -// IERC20MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20MetadataTransactorRaw struct { Contract *IERC20MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -33329,29 +33329,29 @@ var IERC721ErrorsABI = IERC721ErrorsMetaData.ABI // IERC721ErrorsBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC721ErrorsBinRuntime = `` -// IERC721Errors is an auto generated Go binding around a Klaytn contract. +// IERC721Errors is an auto generated Go binding around a Kaia contract. type IERC721Errors struct { IERC721ErrorsCaller // Read-only binding to the contract IERC721ErrorsTransactor // Write-only binding to the contract IERC721ErrorsFilterer // Log filterer for contract events } -// IERC721ErrorsCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721ErrorsCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721ErrorsCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ErrorsTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721ErrorsTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721ErrorsTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ErrorsFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721ErrorsFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721ErrorsFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ErrorsSession is an auto generated Go binding around a Klaytn contract, +// IERC721ErrorsSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721ErrorsSession struct { Contract *IERC721Errors // Generic contract binding to set the session for @@ -33359,31 +33359,31 @@ type IERC721ErrorsSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ErrorsCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721ErrorsCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721ErrorsCallerSession struct { Contract *IERC721ErrorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721ErrorsTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721ErrorsTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721ErrorsTransactorSession struct { Contract *IERC721ErrorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ErrorsRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721ErrorsRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721ErrorsRaw struct { Contract *IERC721Errors // Generic contract binding to access the raw methods on } -// IERC721ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721ErrorsCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721ErrorsCallerRaw struct { Contract *IERC721ErrorsCaller // Generic read-only contract binding to access the raw methods on } -// IERC721ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721ErrorsTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721ErrorsTransactorRaw struct { Contract *IERC721ErrorsTransactor // Generic write-only contract binding to access the raw methods on } @@ -33491,29 +33491,29 @@ const IKIP163BinRuntime = `` // Deprecated: Use IKIP163MetaData.Sigs instead. var IKIP163FuncSigs = IKIP163MetaData.Sigs -// IKIP163 is an auto generated Go binding around a Klaytn contract. +// IKIP163 is an auto generated Go binding around a Kaia contract. type IKIP163 struct { IKIP163Caller // Read-only binding to the contract IKIP163Transactor // Write-only binding to the contract IKIP163Filterer // Log filterer for contract events } -// IKIP163Caller is an auto generated read-only Go binding around a Klaytn contract. +// IKIP163Caller is an auto generated read-only Go binding around a Kaia contract. type IKIP163Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP163Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IKIP163Transactor is an auto generated write-only Go binding around a Kaia contract. type IKIP163Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP163Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IKIP163Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IKIP163Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP163Session is an auto generated Go binding around a Klaytn contract, +// IKIP163Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IKIP163Session struct { Contract *IKIP163 // Generic contract binding to set the session for @@ -33521,31 +33521,31 @@ type IKIP163Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP163CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IKIP163CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IKIP163CallerSession struct { Contract *IKIP163Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IKIP163TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IKIP163TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IKIP163TransactorSession struct { Contract *IKIP163Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP163Raw is an auto generated low-level Go binding around a Klaytn contract. +// IKIP163Raw is an auto generated low-level Go binding around a Kaia contract. type IKIP163Raw struct { Contract *IKIP163 // Generic contract binding to access the raw methods on } -// IKIP163CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IKIP163CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IKIP163CallerRaw struct { Contract *IKIP163Caller // Generic read-only contract binding to access the raw methods on } -// IKIP163TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IKIP163TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IKIP163TransactorRaw struct { Contract *IKIP163Transactor // Generic write-only contract binding to access the raw methods on } @@ -33734,29 +33734,29 @@ const IPublicDelegationBinRuntime = `` // Deprecated: Use IPublicDelegationMetaData.Sigs instead. var IPublicDelegationFuncSigs = IPublicDelegationMetaData.Sigs -// IPublicDelegation is an auto generated Go binding around a Klaytn contract. +// IPublicDelegation is an auto generated Go binding around a Kaia contract. type IPublicDelegation struct { IPublicDelegationCaller // Read-only binding to the contract IPublicDelegationTransactor // Write-only binding to the contract IPublicDelegationFilterer // Log filterer for contract events } -// IPublicDelegationCaller is an auto generated read-only Go binding around a Klaytn contract. +// IPublicDelegationCaller is an auto generated read-only Go binding around a Kaia contract. type IPublicDelegationCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IPublicDelegationTransactor is an auto generated write-only Go binding around a Kaia contract. type IPublicDelegationTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IPublicDelegationFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IPublicDelegationFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationSession is an auto generated Go binding around a Klaytn contract, +// IPublicDelegationSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IPublicDelegationSession struct { Contract *IPublicDelegation // Generic contract binding to set the session for @@ -33764,31 +33764,31 @@ type IPublicDelegationSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IPublicDelegationCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IPublicDelegationCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IPublicDelegationCallerSession struct { Contract *IPublicDelegationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IPublicDelegationTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IPublicDelegationTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IPublicDelegationTransactorSession struct { Contract *IPublicDelegationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IPublicDelegationRaw is an auto generated low-level Go binding around a Klaytn contract. +// IPublicDelegationRaw is an auto generated low-level Go binding around a Kaia contract. type IPublicDelegationRaw struct { Contract *IPublicDelegation // Generic contract binding to access the raw methods on } -// IPublicDelegationCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IPublicDelegationCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IPublicDelegationCallerRaw struct { Contract *IPublicDelegationCaller // Generic read-only contract binding to access the raw methods on } -// IPublicDelegationTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IPublicDelegationTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IPublicDelegationTransactorRaw struct { Contract *IPublicDelegationTransactor // Generic write-only contract binding to access the raw methods on } @@ -36268,29 +36268,29 @@ const IPublicDelegationFactoryBinRuntime = `` // Deprecated: Use IPublicDelegationFactoryMetaData.Sigs instead. var IPublicDelegationFactoryFuncSigs = IPublicDelegationFactoryMetaData.Sigs -// IPublicDelegationFactory is an auto generated Go binding around a Klaytn contract. +// IPublicDelegationFactory is an auto generated Go binding around a Kaia contract. type IPublicDelegationFactory struct { IPublicDelegationFactoryCaller // Read-only binding to the contract IPublicDelegationFactoryTransactor // Write-only binding to the contract IPublicDelegationFactoryFilterer // Log filterer for contract events } -// IPublicDelegationFactoryCaller is an auto generated read-only Go binding around a Klaytn contract. +// IPublicDelegationFactoryCaller is an auto generated read-only Go binding around a Kaia contract. type IPublicDelegationFactoryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationFactoryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IPublicDelegationFactoryTransactor is an auto generated write-only Go binding around a Kaia contract. type IPublicDelegationFactoryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationFactoryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IPublicDelegationFactoryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IPublicDelegationFactoryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IPublicDelegationFactorySession is an auto generated Go binding around a Klaytn contract, +// IPublicDelegationFactorySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IPublicDelegationFactorySession struct { Contract *IPublicDelegationFactory // Generic contract binding to set the session for @@ -36298,31 +36298,31 @@ type IPublicDelegationFactorySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IPublicDelegationFactoryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IPublicDelegationFactoryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IPublicDelegationFactoryCallerSession struct { Contract *IPublicDelegationFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IPublicDelegationFactoryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IPublicDelegationFactoryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IPublicDelegationFactoryTransactorSession struct { Contract *IPublicDelegationFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IPublicDelegationFactoryRaw is an auto generated low-level Go binding around a Klaytn contract. +// IPublicDelegationFactoryRaw is an auto generated low-level Go binding around a Kaia contract. type IPublicDelegationFactoryRaw struct { Contract *IPublicDelegationFactory // Generic contract binding to access the raw methods on } -// IPublicDelegationFactoryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IPublicDelegationFactoryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IPublicDelegationFactoryCallerRaw struct { Contract *IPublicDelegationFactoryCaller // Generic read-only contract binding to access the raw methods on } -// IPublicDelegationFactoryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IPublicDelegationFactoryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IPublicDelegationFactoryTransactorRaw struct { Contract *IPublicDelegationFactoryTransactor // Generic write-only contract binding to access the raw methods on } @@ -36523,29 +36523,29 @@ const IStakingTrackerBinRuntime = `` // Deprecated: Use IStakingTrackerMetaData.Sigs instead. var IStakingTrackerFuncSigs = IStakingTrackerMetaData.Sigs -// IStakingTracker is an auto generated Go binding around a Klaytn contract. +// IStakingTracker is an auto generated Go binding around a Kaia contract. type IStakingTracker struct { IStakingTrackerCaller // Read-only binding to the contract IStakingTrackerTransactor // Write-only binding to the contract IStakingTrackerFilterer // Log filterer for contract events } -// IStakingTrackerCaller is an auto generated read-only Go binding around a Klaytn contract. +// IStakingTrackerCaller is an auto generated read-only Go binding around a Kaia contract. type IStakingTrackerCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IStakingTrackerTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IStakingTrackerTransactor is an auto generated write-only Go binding around a Kaia contract. type IStakingTrackerTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IStakingTrackerFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IStakingTrackerFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IStakingTrackerFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IStakingTrackerSession is an auto generated Go binding around a Klaytn contract, +// IStakingTrackerSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IStakingTrackerSession struct { Contract *IStakingTracker // Generic contract binding to set the session for @@ -36553,31 +36553,31 @@ type IStakingTrackerSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IStakingTrackerCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IStakingTrackerCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IStakingTrackerCallerSession struct { Contract *IStakingTrackerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IStakingTrackerTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IStakingTrackerTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IStakingTrackerTransactorSession struct { Contract *IStakingTrackerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IStakingTrackerRaw is an auto generated low-level Go binding around a Klaytn contract. +// IStakingTrackerRaw is an auto generated low-level Go binding around a Kaia contract. type IStakingTrackerRaw struct { Contract *IStakingTracker // Generic contract binding to access the raw methods on } -// IStakingTrackerCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IStakingTrackerCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IStakingTrackerCallerRaw struct { Contract *IStakingTrackerCaller // Generic read-only contract binding to access the raw methods on } -// IStakingTrackerTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IStakingTrackerTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IStakingTrackerTransactorRaw struct { Contract *IStakingTrackerTransactor // Generic write-only contract binding to access the raw methods on } @@ -37784,29 +37784,29 @@ func DeployMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.A return address, tx, &Math{MathCaller: MathCaller{contract: contract}, MathTransactor: MathTransactor{contract: contract}, MathFilterer: MathFilterer{contract: contract}}, nil } -// Math is an auto generated Go binding around a Klaytn contract. +// Math is an auto generated Go binding around a Kaia contract. type Math struct { MathCaller // Read-only binding to the contract MathTransactor // Write-only binding to the contract MathFilterer // Log filterer for contract events } -// MathCaller is an auto generated read-only Go binding around a Klaytn contract. +// MathCaller is an auto generated read-only Go binding around a Kaia contract. type MathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MathTransactor is an auto generated write-only Go binding around a Kaia contract. type MathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MathSession is an auto generated Go binding around a Klaytn contract, +// MathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MathSession struct { Contract *Math // Generic contract binding to set the session for @@ -37814,31 +37814,31 @@ type MathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MathCallerSession struct { Contract *MathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MathTransactorSession struct { Contract *MathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MathRaw is an auto generated low-level Go binding around a Klaytn contract. +// MathRaw is an auto generated low-level Go binding around a Kaia contract. type MathRaw struct { Contract *Math // Generic contract binding to access the raw methods on } -// MathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MathCallerRaw struct { Contract *MathCaller // Generic read-only contract binding to access the raw methods on } -// MathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MathTransactorRaw struct { Contract *MathTransactor // Generic write-only contract binding to access the raw methods on } @@ -37947,29 +37947,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -37977,31 +37977,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -38395,29 +38395,29 @@ func DeployPublicDelegation(auth *bind.TransactOpts, backend bind.ContractBacken return address, tx, &PublicDelegation{PublicDelegationCaller: PublicDelegationCaller{contract: contract}, PublicDelegationTransactor: PublicDelegationTransactor{contract: contract}, PublicDelegationFilterer: PublicDelegationFilterer{contract: contract}}, nil } -// PublicDelegation is an auto generated Go binding around a Klaytn contract. +// PublicDelegation is an auto generated Go binding around a Kaia contract. type PublicDelegation struct { PublicDelegationCaller // Read-only binding to the contract PublicDelegationTransactor // Write-only binding to the contract PublicDelegationFilterer // Log filterer for contract events } -// PublicDelegationCaller is an auto generated read-only Go binding around a Klaytn contract. +// PublicDelegationCaller is an auto generated read-only Go binding around a Kaia contract. type PublicDelegationCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationTransactor is an auto generated write-only Go binding around a Klaytn contract. +// PublicDelegationTransactor is an auto generated write-only Go binding around a Kaia contract. type PublicDelegationTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// PublicDelegationFilterer is an auto generated log filtering Go binding around a Kaia contract events. type PublicDelegationFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationSession is an auto generated Go binding around a Klaytn contract, +// PublicDelegationSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type PublicDelegationSession struct { Contract *PublicDelegation // Generic contract binding to set the session for @@ -38425,31 +38425,31 @@ type PublicDelegationSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// PublicDelegationCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type PublicDelegationCallerSession struct { Contract *PublicDelegationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// PublicDelegationTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// PublicDelegationTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type PublicDelegationTransactorSession struct { Contract *PublicDelegationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationRaw is an auto generated low-level Go binding around a Klaytn contract. +// PublicDelegationRaw is an auto generated low-level Go binding around a Kaia contract. type PublicDelegationRaw struct { Contract *PublicDelegation // Generic contract binding to access the raw methods on } -// PublicDelegationCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// PublicDelegationCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type PublicDelegationCallerRaw struct { Contract *PublicDelegationCaller // Generic read-only contract binding to access the raw methods on } -// PublicDelegationTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// PublicDelegationTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type PublicDelegationTransactorRaw struct { Contract *PublicDelegationTransactor // Generic write-only contract binding to access the raw methods on } @@ -41711,29 +41711,29 @@ func DeployPublicDelegationFactory(auth *bind.TransactOpts, backend bind.Contrac return address, tx, &PublicDelegationFactory{PublicDelegationFactoryCaller: PublicDelegationFactoryCaller{contract: contract}, PublicDelegationFactoryTransactor: PublicDelegationFactoryTransactor{contract: contract}, PublicDelegationFactoryFilterer: PublicDelegationFactoryFilterer{contract: contract}}, nil } -// PublicDelegationFactory is an auto generated Go binding around a Klaytn contract. +// PublicDelegationFactory is an auto generated Go binding around a Kaia contract. type PublicDelegationFactory struct { PublicDelegationFactoryCaller // Read-only binding to the contract PublicDelegationFactoryTransactor // Write-only binding to the contract PublicDelegationFactoryFilterer // Log filterer for contract events } -// PublicDelegationFactoryCaller is an auto generated read-only Go binding around a Klaytn contract. +// PublicDelegationFactoryCaller is an auto generated read-only Go binding around a Kaia contract. type PublicDelegationFactoryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationFactoryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// PublicDelegationFactoryTransactor is an auto generated write-only Go binding around a Kaia contract. type PublicDelegationFactoryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationFactoryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// PublicDelegationFactoryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type PublicDelegationFactoryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationFactorySession is an auto generated Go binding around a Klaytn contract, +// PublicDelegationFactorySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type PublicDelegationFactorySession struct { Contract *PublicDelegationFactory // Generic contract binding to set the session for @@ -41741,31 +41741,31 @@ type PublicDelegationFactorySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationFactoryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// PublicDelegationFactoryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type PublicDelegationFactoryCallerSession struct { Contract *PublicDelegationFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// PublicDelegationFactoryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// PublicDelegationFactoryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type PublicDelegationFactoryTransactorSession struct { Contract *PublicDelegationFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationFactoryRaw is an auto generated low-level Go binding around a Klaytn contract. +// PublicDelegationFactoryRaw is an auto generated low-level Go binding around a Kaia contract. type PublicDelegationFactoryRaw struct { Contract *PublicDelegationFactory // Generic contract binding to access the raw methods on } -// PublicDelegationFactoryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// PublicDelegationFactoryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type PublicDelegationFactoryCallerRaw struct { Contract *PublicDelegationFactoryCaller // Generic read-only contract binding to access the raw methods on } -// PublicDelegationFactoryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// PublicDelegationFactoryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type PublicDelegationFactoryTransactorRaw struct { Contract *PublicDelegationFactoryTransactor // Generic write-only contract binding to access the raw methods on } @@ -41983,29 +41983,29 @@ const PublicDelegationStorageBinRuntime = `` // Deprecated: Use PublicDelegationStorageMetaData.Sigs instead. var PublicDelegationStorageFuncSigs = PublicDelegationStorageMetaData.Sigs -// PublicDelegationStorage is an auto generated Go binding around a Klaytn contract. +// PublicDelegationStorage is an auto generated Go binding around a Kaia contract. type PublicDelegationStorage struct { PublicDelegationStorageCaller // Read-only binding to the contract PublicDelegationStorageTransactor // Write-only binding to the contract PublicDelegationStorageFilterer // Log filterer for contract events } -// PublicDelegationStorageCaller is an auto generated read-only Go binding around a Klaytn contract. +// PublicDelegationStorageCaller is an auto generated read-only Go binding around a Kaia contract. type PublicDelegationStorageCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationStorageTransactor is an auto generated write-only Go binding around a Klaytn contract. +// PublicDelegationStorageTransactor is an auto generated write-only Go binding around a Kaia contract. type PublicDelegationStorageTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationStorageFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// PublicDelegationStorageFilterer is an auto generated log filtering Go binding around a Kaia contract events. type PublicDelegationStorageFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PublicDelegationStorageSession is an auto generated Go binding around a Klaytn contract, +// PublicDelegationStorageSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type PublicDelegationStorageSession struct { Contract *PublicDelegationStorage // Generic contract binding to set the session for @@ -42013,31 +42013,31 @@ type PublicDelegationStorageSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationStorageCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// PublicDelegationStorageCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type PublicDelegationStorageCallerSession struct { Contract *PublicDelegationStorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// PublicDelegationStorageTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// PublicDelegationStorageTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type PublicDelegationStorageTransactorSession struct { Contract *PublicDelegationStorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PublicDelegationStorageRaw is an auto generated low-level Go binding around a Klaytn contract. +// PublicDelegationStorageRaw is an auto generated low-level Go binding around a Kaia contract. type PublicDelegationStorageRaw struct { Contract *PublicDelegationStorage // Generic contract binding to access the raw methods on } -// PublicDelegationStorageCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// PublicDelegationStorageCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type PublicDelegationStorageCallerRaw struct { Contract *PublicDelegationStorageCaller // Generic read-only contract binding to access the raw methods on } -// PublicDelegationStorageTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// PublicDelegationStorageTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type PublicDelegationStorageTransactorRaw struct { Contract *PublicDelegationStorageTransactor // Generic write-only contract binding to access the raw methods on } @@ -44530,29 +44530,29 @@ func DeployValidContract(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ValidContract{ValidContractCaller: ValidContractCaller{contract: contract}, ValidContractTransactor: ValidContractTransactor{contract: contract}, ValidContractFilterer: ValidContractFilterer{contract: contract}}, nil } -// ValidContract is an auto generated Go binding around a Klaytn contract. +// ValidContract is an auto generated Go binding around a Kaia contract. type ValidContract struct { ValidContractCaller // Read-only binding to the contract ValidContractTransactor // Write-only binding to the contract ValidContractFilterer // Log filterer for contract events } -// ValidContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// ValidContractCaller is an auto generated read-only Go binding around a Kaia contract. type ValidContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ValidContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ValidContractTransactor is an auto generated write-only Go binding around a Kaia contract. type ValidContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ValidContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ValidContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ValidContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ValidContractSession is an auto generated Go binding around a Klaytn contract, +// ValidContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ValidContractSession struct { Contract *ValidContract // Generic contract binding to set the session for @@ -44560,31 +44560,31 @@ type ValidContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ValidContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ValidContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ValidContractCallerSession struct { Contract *ValidContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ValidContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ValidContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ValidContractTransactorSession struct { Contract *ValidContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ValidContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// ValidContractRaw is an auto generated low-level Go binding around a Kaia contract. type ValidContractRaw struct { Contract *ValidContract // Generic contract binding to access the raw methods on } -// ValidContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ValidContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ValidContractCallerRaw struct { Contract *ValidContractCaller // Generic read-only contract binding to access the raw methods on } -// ValidContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ValidContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ValidContractTransactorRaw struct { Contract *ValidContractTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/consensus/consensus.go b/contracts/contracts/system_contracts/consensus/consensus.go index f32e79738c..08bdb142a3 100644 --- a/contracts/contracts/system_contracts/consensus/consensus.go +++ b/contracts/contracts/system_contracts/consensus/consensus.go @@ -116,29 +116,29 @@ func DeployAddressBook(auth *bind.TransactOpts, backend bind.ContractBackend) (c return address, tx, &AddressBook{AddressBookCaller: AddressBookCaller{contract: contract}, AddressBookTransactor: AddressBookTransactor{contract: contract}, AddressBookFilterer: AddressBookFilterer{contract: contract}}, nil } -// AddressBook is an auto generated Go binding around a Klaytn contract. +// AddressBook is an auto generated Go binding around a Kaia contract. type AddressBook struct { AddressBookCaller // Read-only binding to the contract AddressBookTransactor // Write-only binding to the contract AddressBookFilterer // Log filterer for contract events } -// AddressBookCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookSession is an auto generated Go binding around a Klaytn contract, +// AddressBookSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookSession struct { Contract *AddressBook // Generic contract binding to set the session for @@ -146,31 +146,31 @@ type AddressBookSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookCallerSession struct { Contract *AddressBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookTransactorSession struct { Contract *AddressBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookRaw struct { Contract *AddressBook // Generic contract binding to access the raw methods on } -// AddressBookCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookCallerRaw struct { Contract *AddressBookCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookTransactorRaw struct { Contract *AddressBookTransactor // Generic write-only contract binding to access the raw methods on } @@ -4002,29 +4002,29 @@ const AddressBookInterfaceBinRuntime = `` // Deprecated: Use AddressBookInterfaceMetaData.Sigs instead. var AddressBookInterfaceFuncSigs = AddressBookInterfaceMetaData.Sigs -// AddressBookInterface is an auto generated Go binding around a Klaytn contract. +// AddressBookInterface is an auto generated Go binding around a Kaia contract. type AddressBookInterface struct { AddressBookInterfaceCaller // Read-only binding to the contract AddressBookInterfaceTransactor // Write-only binding to the contract AddressBookInterfaceFilterer // Log filterer for contract events } -// AddressBookInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookInterfaceCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookInterfaceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookInterfaceTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookInterfaceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookInterfaceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookInterfaceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookInterfaceSession is an auto generated Go binding around a Klaytn contract, +// AddressBookInterfaceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookInterfaceSession struct { Contract *AddressBookInterface // Generic contract binding to set the session for @@ -4032,31 +4032,31 @@ type AddressBookInterfaceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookInterfaceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookInterfaceCallerSession struct { Contract *AddressBookInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookInterfaceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookInterfaceTransactorSession struct { Contract *AddressBookInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookInterfaceRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookInterfaceRaw struct { Contract *AddressBookInterface // Generic contract binding to access the raw methods on } -// AddressBookInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookInterfaceCallerRaw struct { Contract *AddressBookInterfaceCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookInterfaceTransactorRaw struct { Contract *AddressBookInterfaceTransactor // Generic write-only contract binding to access the raw methods on } @@ -4251,29 +4251,29 @@ func DeployCnStakingContract(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &CnStakingContract{CnStakingContractCaller: CnStakingContractCaller{contract: contract}, CnStakingContractTransactor: CnStakingContractTransactor{contract: contract}, CnStakingContractFilterer: CnStakingContractFilterer{contract: contract}}, nil } -// CnStakingContract is an auto generated Go binding around a Klaytn contract. +// CnStakingContract is an auto generated Go binding around a Kaia contract. type CnStakingContract struct { CnStakingContractCaller // Read-only binding to the contract CnStakingContractTransactor // Write-only binding to the contract CnStakingContractFilterer // Log filterer for contract events } -// CnStakingContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingContractCaller is an auto generated read-only Go binding around a Kaia contract. type CnStakingContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingContractTransactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractSession is an auto generated Go binding around a Klaytn contract, +// CnStakingContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingContractSession struct { Contract *CnStakingContract // Generic contract binding to set the session for @@ -4281,31 +4281,31 @@ type CnStakingContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingContractCallerSession struct { Contract *CnStakingContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingContractTransactorSession struct { Contract *CnStakingContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingContractRaw is an auto generated low-level Go binding around a Kaia contract. type CnStakingContractRaw struct { Contract *CnStakingContract // Generic contract binding to access the raw methods on } -// CnStakingContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingContractCallerRaw struct { Contract *CnStakingContractCaller // Generic read-only contract binding to access the raw methods on } -// CnStakingContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingContractTransactorRaw struct { Contract *CnStakingContractTransactor // Generic write-only contract binding to access the raw methods on } @@ -8576,29 +8576,29 @@ const CnStakingContractInterfaceBinRuntime = `` // Deprecated: Use CnStakingContractInterfaceMetaData.Sigs instead. var CnStakingContractInterfaceFuncSigs = CnStakingContractInterfaceMetaData.Sigs -// CnStakingContractInterface is an auto generated Go binding around a Klaytn contract. +// CnStakingContractInterface is an auto generated Go binding around a Kaia contract. type CnStakingContractInterface struct { CnStakingContractInterfaceCaller // Read-only binding to the contract CnStakingContractInterfaceTransactor // Write-only binding to the contract CnStakingContractInterfaceFilterer // Log filterer for contract events } -// CnStakingContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract. +// CnStakingContractInterfaceCaller is an auto generated read-only Go binding around a Kaia contract. type CnStakingContractInterfaceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CnStakingContractInterfaceTransactor is an auto generated write-only Go binding around a Kaia contract. type CnStakingContractInterfaceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CnStakingContractInterfaceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CnStakingContractInterfaceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CnStakingContractInterfaceSession is an auto generated Go binding around a Klaytn contract, +// CnStakingContractInterfaceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CnStakingContractInterfaceSession struct { Contract *CnStakingContractInterface // Generic contract binding to set the session for @@ -8606,31 +8606,31 @@ type CnStakingContractInterfaceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CnStakingContractInterfaceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CnStakingContractInterfaceCallerSession struct { Contract *CnStakingContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CnStakingContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CnStakingContractInterfaceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CnStakingContractInterfaceTransactorSession struct { Contract *CnStakingContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CnStakingContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract. +// CnStakingContractInterfaceRaw is an auto generated low-level Go binding around a Kaia contract. type CnStakingContractInterfaceRaw struct { Contract *CnStakingContractInterface // Generic contract binding to access the raw methods on } -// CnStakingContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CnStakingContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CnStakingContractInterfaceCallerRaw struct { Contract *CnStakingContractInterfaceCaller // Generic read-only contract binding to access the raw methods on } -// CnStakingContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CnStakingContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CnStakingContractInterfaceTransactorRaw struct { Contract *CnStakingContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on } @@ -8824,29 +8824,29 @@ const KirContractInterfaceBinRuntime = `` // Deprecated: Use KirContractInterfaceMetaData.Sigs instead. var KirContractInterfaceFuncSigs = KirContractInterfaceMetaData.Sigs -// KirContractInterface is an auto generated Go binding around a Klaytn contract. +// KirContractInterface is an auto generated Go binding around a Kaia contract. type KirContractInterface struct { KirContractInterfaceCaller // Read-only binding to the contract KirContractInterfaceTransactor // Write-only binding to the contract KirContractInterfaceFilterer // Log filterer for contract events } -// KirContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract. +// KirContractInterfaceCaller is an auto generated read-only Go binding around a Kaia contract. type KirContractInterfaceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KirContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// KirContractInterfaceTransactor is an auto generated write-only Go binding around a Kaia contract. type KirContractInterfaceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KirContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// KirContractInterfaceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type KirContractInterfaceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KirContractInterfaceSession is an auto generated Go binding around a Klaytn contract, +// KirContractInterfaceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type KirContractInterfaceSession struct { Contract *KirContractInterface // Generic contract binding to set the session for @@ -8854,31 +8854,31 @@ type KirContractInterfaceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KirContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// KirContractInterfaceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type KirContractInterfaceCallerSession struct { Contract *KirContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// KirContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// KirContractInterfaceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type KirContractInterfaceTransactorSession struct { Contract *KirContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KirContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract. +// KirContractInterfaceRaw is an auto generated low-level Go binding around a Kaia contract. type KirContractInterfaceRaw struct { Contract *KirContractInterface // Generic contract binding to access the raw methods on } -// KirContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// KirContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type KirContractInterfaceCallerRaw struct { Contract *KirContractInterfaceCaller // Generic read-only contract binding to access the raw methods on } -// KirContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// KirContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type KirContractInterfaceTransactorRaw struct { Contract *KirContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on } @@ -9014,29 +9014,29 @@ const PocContractInterfaceBinRuntime = `` // Deprecated: Use PocContractInterfaceMetaData.Sigs instead. var PocContractInterfaceFuncSigs = PocContractInterfaceMetaData.Sigs -// PocContractInterface is an auto generated Go binding around a Klaytn contract. +// PocContractInterface is an auto generated Go binding around a Kaia contract. type PocContractInterface struct { PocContractInterfaceCaller // Read-only binding to the contract PocContractInterfaceTransactor // Write-only binding to the contract PocContractInterfaceFilterer // Log filterer for contract events } -// PocContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract. +// PocContractInterfaceCaller is an auto generated read-only Go binding around a Kaia contract. type PocContractInterfaceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PocContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// PocContractInterfaceTransactor is an auto generated write-only Go binding around a Kaia contract. type PocContractInterfaceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PocContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// PocContractInterfaceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type PocContractInterfaceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// PocContractInterfaceSession is an auto generated Go binding around a Klaytn contract, +// PocContractInterfaceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type PocContractInterfaceSession struct { Contract *PocContractInterface // Generic contract binding to set the session for @@ -9044,31 +9044,31 @@ type PocContractInterfaceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PocContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// PocContractInterfaceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type PocContractInterfaceCallerSession struct { Contract *PocContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// PocContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// PocContractInterfaceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type PocContractInterfaceTransactorSession struct { Contract *PocContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// PocContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract. +// PocContractInterfaceRaw is an auto generated low-level Go binding around a Kaia contract. type PocContractInterfaceRaw struct { Contract *PocContractInterface // Generic contract binding to access the raw methods on } -// PocContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// PocContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type PocContractInterfaceCallerRaw struct { Contract *PocContractInterfaceCaller // Generic read-only contract binding to access the raw methods on } -// PocContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// PocContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type PocContractInterfaceTransactorRaw struct { Contract *PocContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on } @@ -9219,29 +9219,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -9249,31 +9249,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/gov/GovParam.go b/contracts/contracts/system_contracts/gov/GovParam.go index b9299b6103..1c4df253e7 100644 --- a/contracts/contracts/system_contracts/gov/GovParam.go +++ b/contracts/contracts/system_contracts/gov/GovParam.go @@ -48,29 +48,29 @@ var ContextABI = ContextMetaData.ABI // ContextBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ContextBinRuntime = `` -// Context is an auto generated Go binding around a Klaytn contract. +// Context is an auto generated Go binding around a Kaia contract. type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events } -// ContextCaller is an auto generated read-only Go binding around a Klaytn contract. +// ContextCaller is an auto generated read-only Go binding around a Kaia contract. type ContextCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ContextTransactor is an auto generated write-only Go binding around a Kaia contract. type ContextTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ContextFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ContextFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextSession is an auto generated Go binding around a Klaytn contract, +// ContextSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ContextSession struct { Contract *Context // Generic contract binding to set the session for @@ -78,31 +78,31 @@ type ContextSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ContextCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ContextTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ContextTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextRaw is an auto generated low-level Go binding around a Klaytn contract. +// ContextRaw is an auto generated low-level Go binding around a Kaia contract. type ContextRaw struct { Contract *Context // Generic contract binding to access the raw methods on } -// ContextCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ContextCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ContextCallerRaw struct { Contract *ContextCaller // Generic read-only contract binding to access the raw methods on } -// ContextTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ContextTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ContextTransactorRaw struct { Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on } @@ -243,29 +243,29 @@ func DeployGovParam(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &GovParam{GovParamCaller: GovParamCaller{contract: contract}, GovParamTransactor: GovParamTransactor{contract: contract}, GovParamFilterer: GovParamFilterer{contract: contract}}, nil } -// GovParam is an auto generated Go binding around a Klaytn contract. +// GovParam is an auto generated Go binding around a Kaia contract. type GovParam struct { GovParamCaller // Read-only binding to the contract GovParamTransactor // Write-only binding to the contract GovParamFilterer // Log filterer for contract events } -// GovParamCaller is an auto generated read-only Go binding around a Klaytn contract. +// GovParamCaller is an auto generated read-only Go binding around a Kaia contract. type GovParamCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// GovParamTransactor is an auto generated write-only Go binding around a Klaytn contract. +// GovParamTransactor is an auto generated write-only Go binding around a Kaia contract. type GovParamTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// GovParamFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// GovParamFilterer is an auto generated log filtering Go binding around a Kaia contract events. type GovParamFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// GovParamSession is an auto generated Go binding around a Klaytn contract, +// GovParamSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type GovParamSession struct { Contract *GovParam // Generic contract binding to set the session for @@ -273,31 +273,31 @@ type GovParamSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// GovParamCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// GovParamCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type GovParamCallerSession struct { Contract *GovParamCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// GovParamTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// GovParamTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type GovParamTransactorSession struct { Contract *GovParamTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// GovParamRaw is an auto generated low-level Go binding around a Klaytn contract. +// GovParamRaw is an auto generated low-level Go binding around a Kaia contract. type GovParamRaw struct { Contract *GovParam // Generic contract binding to access the raw methods on } -// GovParamCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// GovParamCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type GovParamCallerRaw struct { Contract *GovParamCaller // Generic read-only contract binding to access the raw methods on } -// GovParamTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// GovParamTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type GovParamTransactorRaw struct { Contract *GovParamTransactor // Generic write-only contract binding to access the raw methods on } @@ -1047,29 +1047,29 @@ const IGovParamBinRuntime = `` // Deprecated: Use IGovParamMetaData.Sigs instead. var IGovParamFuncSigs = IGovParamMetaData.Sigs -// IGovParam is an auto generated Go binding around a Klaytn contract. +// IGovParam is an auto generated Go binding around a Kaia contract. type IGovParam struct { IGovParamCaller // Read-only binding to the contract IGovParamTransactor // Write-only binding to the contract IGovParamFilterer // Log filterer for contract events } -// IGovParamCaller is an auto generated read-only Go binding around a Klaytn contract. +// IGovParamCaller is an auto generated read-only Go binding around a Kaia contract. type IGovParamCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IGovParamTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IGovParamTransactor is an auto generated write-only Go binding around a Kaia contract. type IGovParamTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IGovParamFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IGovParamFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IGovParamFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IGovParamSession is an auto generated Go binding around a Klaytn contract, +// IGovParamSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IGovParamSession struct { Contract *IGovParam // Generic contract binding to set the session for @@ -1077,31 +1077,31 @@ type IGovParamSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IGovParamCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IGovParamCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IGovParamCallerSession struct { Contract *IGovParamCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IGovParamTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IGovParamTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IGovParamTransactorSession struct { Contract *IGovParamTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IGovParamRaw is an auto generated low-level Go binding around a Klaytn contract. +// IGovParamRaw is an auto generated low-level Go binding around a Kaia contract. type IGovParamRaw struct { Contract *IGovParam // Generic contract binding to access the raw methods on } -// IGovParamCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IGovParamCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IGovParamCallerRaw struct { Contract *IGovParamCaller // Generic read-only contract binding to access the raw methods on } -// IGovParamTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IGovParamTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IGovParamTransactorRaw struct { Contract *IGovParamTransactor // Generic write-only contract binding to access the raw methods on } @@ -1623,29 +1623,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -1653,31 +1653,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go index aa73a658a2..78334c5113 100644 --- a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go +++ b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go @@ -69,29 +69,29 @@ func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBack return address, tx, &AddressUpgradeable{AddressUpgradeableCaller: AddressUpgradeableCaller{contract: contract}, AddressUpgradeableTransactor: AddressUpgradeableTransactor{contract: contract}, AddressUpgradeableFilterer: AddressUpgradeableFilterer{contract: contract}}, nil } -// AddressUpgradeable is an auto generated Go binding around a Klaytn contract. +// AddressUpgradeable is an auto generated Go binding around a Kaia contract. type AddressUpgradeable struct { AddressUpgradeableCaller // Read-only binding to the contract AddressUpgradeableTransactor // Write-only binding to the contract AddressUpgradeableFilterer // Log filterer for contract events } -// AddressUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type AddressUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// AddressUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressUpgradeableSession struct { Contract *AddressUpgradeable // Generic contract binding to set the session for @@ -99,31 +99,31 @@ type AddressUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressUpgradeableCallerSession struct { Contract *AddressUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressUpgradeableTransactorSession struct { Contract *AddressUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type AddressUpgradeableRaw struct { Contract *AddressUpgradeable // Generic contract binding to access the raw methods on } -// AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressUpgradeableCallerRaw struct { Contract *AddressUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressUpgradeableTransactorRaw struct { Contract *AddressUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -223,29 +223,29 @@ var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI // ContextUpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ContextUpgradeableBinRuntime = `` -// ContextUpgradeable is an auto generated Go binding around a Klaytn contract. +// ContextUpgradeable is an auto generated Go binding around a Kaia contract. type ContextUpgradeable struct { ContextUpgradeableCaller // Read-only binding to the contract ContextUpgradeableTransactor // Write-only binding to the contract ContextUpgradeableFilterer // Log filterer for contract events } -// ContextUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ContextUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type ContextUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ContextUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type ContextUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ContextUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ContextUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// ContextUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ContextUpgradeableSession struct { Contract *ContextUpgradeable // Generic contract binding to set the session for @@ -253,31 +253,31 @@ type ContextUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ContextUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ContextUpgradeableCallerSession struct { Contract *ContextUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ContextUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ContextUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ContextUpgradeableTransactorSession struct { Contract *ContextUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ContextUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type ContextUpgradeableRaw struct { Contract *ContextUpgradeable // Generic contract binding to access the raw methods on } -// ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ContextUpgradeableCallerRaw struct { Contract *ContextUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ContextUpgradeableTransactorRaw struct { Contract *ContextUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -508,29 +508,29 @@ var ERC1967UpgradeUpgradeableABI = ERC1967UpgradeUpgradeableMetaData.ABI // ERC1967UpgradeUpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ERC1967UpgradeUpgradeableBinRuntime = `` -// ERC1967UpgradeUpgradeable is an auto generated Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeable is an auto generated Go binding around a Kaia contract. type ERC1967UpgradeUpgradeable struct { ERC1967UpgradeUpgradeableCaller // Read-only binding to the contract ERC1967UpgradeUpgradeableTransactor // Write-only binding to the contract ERC1967UpgradeUpgradeableFilterer // Log filterer for contract events } -// ERC1967UpgradeUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC1967UpgradeUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC1967UpgradeUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC1967UpgradeUpgradeableSession struct { Contract *ERC1967UpgradeUpgradeable // Generic contract binding to set the session for @@ -538,31 +538,31 @@ type ERC1967UpgradeUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC1967UpgradeUpgradeableCallerSession struct { Contract *ERC1967UpgradeUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC1967UpgradeUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC1967UpgradeUpgradeableTransactorSession struct { Contract *ERC1967UpgradeUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableRaw struct { Contract *ERC1967UpgradeUpgradeable // Generic contract binding to access the raw methods on } -// ERC1967UpgradeUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableCallerRaw struct { Contract *ERC1967UpgradeUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// ERC1967UpgradeUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableTransactorRaw struct { Contract *ERC1967UpgradeUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -1238,29 +1238,29 @@ const IAddressBookBinRuntime = `` // Deprecated: Use IAddressBookMetaData.Sigs instead. var IAddressBookFuncSigs = IAddressBookMetaData.Sigs -// IAddressBook is an auto generated Go binding around a Klaytn contract. +// IAddressBook is an auto generated Go binding around a Kaia contract. type IAddressBook struct { IAddressBookCaller // Read-only binding to the contract IAddressBookTransactor // Write-only binding to the contract IAddressBookFilterer // Log filterer for contract events } -// IAddressBookCaller is an auto generated read-only Go binding around a Klaytn contract. +// IAddressBookCaller is an auto generated read-only Go binding around a Kaia contract. type IAddressBookCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IAddressBookTransactor is an auto generated write-only Go binding around a Kaia contract. type IAddressBookTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IAddressBookFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IAddressBookFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookSession is an auto generated Go binding around a Klaytn contract, +// IAddressBookSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IAddressBookSession struct { Contract *IAddressBook // Generic contract binding to set the session for @@ -1268,31 +1268,31 @@ type IAddressBookSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IAddressBookCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IAddressBookCallerSession struct { Contract *IAddressBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IAddressBookTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IAddressBookTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IAddressBookTransactorSession struct { Contract *IAddressBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookRaw is an auto generated low-level Go binding around a Klaytn contract. +// IAddressBookRaw is an auto generated low-level Go binding around a Kaia contract. type IAddressBookRaw struct { Contract *IAddressBook // Generic contract binding to access the raw methods on } -// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IAddressBookCallerRaw struct { Contract *IAddressBookCaller // Generic read-only contract binding to access the raw methods on } -// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IAddressBookTransactorRaw struct { Contract *IAddressBookTransactor // Generic write-only contract binding to access the raw methods on } @@ -2159,29 +2159,29 @@ const IBeaconUpgradeableBinRuntime = `` // Deprecated: Use IBeaconUpgradeableMetaData.Sigs instead. var IBeaconUpgradeableFuncSigs = IBeaconUpgradeableMetaData.Sigs -// IBeaconUpgradeable is an auto generated Go binding around a Klaytn contract. +// IBeaconUpgradeable is an auto generated Go binding around a Kaia contract. type IBeaconUpgradeable struct { IBeaconUpgradeableCaller // Read-only binding to the contract IBeaconUpgradeableTransactor // Write-only binding to the contract IBeaconUpgradeableFilterer // Log filterer for contract events } -// IBeaconUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IBeaconUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IBeaconUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IBeaconUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IBeaconUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IBeaconUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IBeaconUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IBeaconUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IBeaconUpgradeableSession struct { Contract *IBeaconUpgradeable // Generic contract binding to set the session for @@ -2189,31 +2189,31 @@ type IBeaconUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IBeaconUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IBeaconUpgradeableCallerSession struct { Contract *IBeaconUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IBeaconUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IBeaconUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IBeaconUpgradeableTransactorSession struct { Contract *IBeaconUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IBeaconUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IBeaconUpgradeableRaw struct { Contract *IBeaconUpgradeable // Generic contract binding to access the raw methods on } -// IBeaconUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IBeaconUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IBeaconUpgradeableCallerRaw struct { Contract *IBeaconUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IBeaconUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IBeaconUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IBeaconUpgradeableTransactorRaw struct { Contract *IBeaconUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2349,29 +2349,29 @@ const IERC1822ProxiableUpgradeableBinRuntime = `` // Deprecated: Use IERC1822ProxiableUpgradeableMetaData.Sigs instead. var IERC1822ProxiableUpgradeableFuncSigs = IERC1822ProxiableUpgradeableMetaData.Sigs -// IERC1822ProxiableUpgradeable is an auto generated Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeable is an auto generated Go binding around a Kaia contract. type IERC1822ProxiableUpgradeable struct { IERC1822ProxiableUpgradeableCaller // Read-only binding to the contract IERC1822ProxiableUpgradeableTransactor // Write-only binding to the contract IERC1822ProxiableUpgradeableFilterer // Log filterer for contract events } -// IERC1822ProxiableUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1822ProxiableUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1822ProxiableUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1822ProxiableUpgradeableSession struct { Contract *IERC1822ProxiableUpgradeable // Generic contract binding to set the session for @@ -2379,31 +2379,31 @@ type IERC1822ProxiableUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1822ProxiableUpgradeableCallerSession struct { Contract *IERC1822ProxiableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1822ProxiableUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1822ProxiableUpgradeableTransactorSession struct { Contract *IERC1822ProxiableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableRaw struct { Contract *IERC1822ProxiableUpgradeable // Generic contract binding to access the raw methods on } -// IERC1822ProxiableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableCallerRaw struct { Contract *IERC1822ProxiableUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IERC1822ProxiableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableTransactorRaw struct { Contract *IERC1822ProxiableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2532,29 +2532,29 @@ var IERC1967UpgradeableABI = IERC1967UpgradeableMetaData.ABI // IERC1967UpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC1967UpgradeableBinRuntime = `` -// IERC1967Upgradeable is an auto generated Go binding around a Klaytn contract. +// IERC1967Upgradeable is an auto generated Go binding around a Kaia contract. type IERC1967Upgradeable struct { IERC1967UpgradeableCaller // Read-only binding to the contract IERC1967UpgradeableTransactor // Write-only binding to the contract IERC1967UpgradeableFilterer // Log filterer for contract events } -// IERC1967UpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1967UpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1967UpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1967UpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1967UpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1967UpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1967UpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IERC1967UpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1967UpgradeableSession struct { Contract *IERC1967Upgradeable // Generic contract binding to set the session for @@ -2562,31 +2562,31 @@ type IERC1967UpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967UpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1967UpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1967UpgradeableCallerSession struct { Contract *IERC1967UpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1967UpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1967UpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1967UpgradeableTransactorSession struct { Contract *IERC1967UpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967UpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1967UpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1967UpgradeableRaw struct { Contract *IERC1967Upgradeable // Generic contract binding to access the raw methods on } -// IERC1967UpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1967UpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1967UpgradeableCallerRaw struct { Contract *IERC1967UpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IERC1967UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1967UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1967UpgradeableTransactorRaw struct { Contract *IERC1967UpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -3107,29 +3107,29 @@ const IKIP113BinRuntime = `` // Deprecated: Use IKIP113MetaData.Sigs instead. var IKIP113FuncSigs = IKIP113MetaData.Sigs -// IKIP113 is an auto generated Go binding around a Klaytn contract. +// IKIP113 is an auto generated Go binding around a Kaia contract. type IKIP113 struct { IKIP113Caller // Read-only binding to the contract IKIP113Transactor // Write-only binding to the contract IKIP113Filterer // Log filterer for contract events } -// IKIP113Caller is an auto generated read-only Go binding around a Klaytn contract. +// IKIP113Caller is an auto generated read-only Go binding around a Kaia contract. type IKIP113Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IKIP113Transactor is an auto generated write-only Go binding around a Kaia contract. type IKIP113Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IKIP113Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IKIP113Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Session is an auto generated Go binding around a Klaytn contract, +// IKIP113Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IKIP113Session struct { Contract *IKIP113 // Generic contract binding to set the session for @@ -3137,31 +3137,31 @@ type IKIP113Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP113CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IKIP113CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IKIP113CallerSession struct { Contract *IKIP113Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IKIP113TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IKIP113TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IKIP113TransactorSession struct { Contract *IKIP113Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP113Raw is an auto generated low-level Go binding around a Klaytn contract. +// IKIP113Raw is an auto generated low-level Go binding around a Kaia contract. type IKIP113Raw struct { Contract *IKIP113 // Generic contract binding to access the raw methods on } -// IKIP113CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IKIP113CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IKIP113CallerRaw struct { Contract *IKIP113Caller // Generic read-only contract binding to access the raw methods on } -// IKIP113TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IKIP113TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IKIP113TransactorRaw struct { Contract *IKIP113Transactor // Generic write-only contract binding to access the raw methods on } @@ -3304,29 +3304,29 @@ var InitializableABI = InitializableMetaData.ABI // InitializableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const InitializableBinRuntime = `` -// Initializable is an auto generated Go binding around a Klaytn contract. +// Initializable is an auto generated Go binding around a Kaia contract. type Initializable struct { InitializableCaller // Read-only binding to the contract InitializableTransactor // Write-only binding to the contract InitializableFilterer // Log filterer for contract events } -// InitializableCaller is an auto generated read-only Go binding around a Klaytn contract. +// InitializableCaller is an auto generated read-only Go binding around a Kaia contract. type InitializableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// InitializableTransactor is an auto generated write-only Go binding around a Kaia contract. type InitializableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// InitializableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type InitializableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableSession is an auto generated Go binding around a Klaytn contract, +// InitializableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type InitializableSession struct { Contract *Initializable // Generic contract binding to set the session for @@ -3334,31 +3334,31 @@ type InitializableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InitializableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// InitializableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type InitializableCallerSession struct { Contract *InitializableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// InitializableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// InitializableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type InitializableTransactorSession struct { Contract *InitializableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InitializableRaw is an auto generated low-level Go binding around a Klaytn contract. +// InitializableRaw is an auto generated low-level Go binding around a Kaia contract. type InitializableRaw struct { Contract *Initializable // Generic contract binding to access the raw methods on } -// InitializableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// InitializableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type InitializableCallerRaw struct { Contract *InitializableCaller // Generic read-only contract binding to access the raw methods on } -// InitializableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// InitializableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type InitializableTransactorRaw struct { Contract *InitializableTransactor // Generic write-only contract binding to access the raw methods on } @@ -3598,29 +3598,29 @@ const OwnableUpgradeableBinRuntime = `` // Deprecated: Use OwnableUpgradeableMetaData.Sigs instead. var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs -// OwnableUpgradeable is an auto generated Go binding around a Klaytn contract. +// OwnableUpgradeable is an auto generated Go binding around a Kaia contract. type OwnableUpgradeable struct { OwnableUpgradeableCaller // Read-only binding to the contract OwnableUpgradeableTransactor // Write-only binding to the contract OwnableUpgradeableFilterer // Log filterer for contract events } -// OwnableUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// OwnableUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableUpgradeableSession struct { Contract *OwnableUpgradeable // Generic contract binding to set the session for @@ -3628,31 +3628,31 @@ type OwnableUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableUpgradeableCallerSession struct { Contract *OwnableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableUpgradeableTransactorSession struct { Contract *OwnableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableUpgradeableRaw struct { Contract *OwnableUpgradeable // Generic contract binding to access the raw methods on } -// OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableUpgradeableCallerRaw struct { Contract *OwnableUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableUpgradeableTransactorRaw struct { Contract *OwnableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -4147,29 +4147,29 @@ func DeploySimpleBlsRegistry(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &SimpleBlsRegistry{SimpleBlsRegistryCaller: SimpleBlsRegistryCaller{contract: contract}, SimpleBlsRegistryTransactor: SimpleBlsRegistryTransactor{contract: contract}, SimpleBlsRegistryFilterer: SimpleBlsRegistryFilterer{contract: contract}}, nil } -// SimpleBlsRegistry is an auto generated Go binding around a Klaytn contract. +// SimpleBlsRegistry is an auto generated Go binding around a Kaia contract. type SimpleBlsRegistry struct { SimpleBlsRegistryCaller // Read-only binding to the contract SimpleBlsRegistryTransactor // Write-only binding to the contract SimpleBlsRegistryFilterer // Log filterer for contract events } -// SimpleBlsRegistryCaller is an auto generated read-only Go binding around a Klaytn contract. +// SimpleBlsRegistryCaller is an auto generated read-only Go binding around a Kaia contract. type SimpleBlsRegistryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SimpleBlsRegistryTransactor is an auto generated write-only Go binding around a Kaia contract. type SimpleBlsRegistryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SimpleBlsRegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SimpleBlsRegistryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistrySession is an auto generated Go binding around a Klaytn contract, +// SimpleBlsRegistrySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SimpleBlsRegistrySession struct { Contract *SimpleBlsRegistry // Generic contract binding to set the session for @@ -4177,31 +4177,31 @@ type SimpleBlsRegistrySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SimpleBlsRegistryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SimpleBlsRegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SimpleBlsRegistryCallerSession struct { Contract *SimpleBlsRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SimpleBlsRegistryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SimpleBlsRegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SimpleBlsRegistryTransactorSession struct { Contract *SimpleBlsRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SimpleBlsRegistryRaw is an auto generated low-level Go binding around a Klaytn contract. +// SimpleBlsRegistryRaw is an auto generated low-level Go binding around a Kaia contract. type SimpleBlsRegistryRaw struct { Contract *SimpleBlsRegistry // Generic contract binding to access the raw methods on } -// SimpleBlsRegistryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SimpleBlsRegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SimpleBlsRegistryCallerRaw struct { Contract *SimpleBlsRegistryCaller // Generic read-only contract binding to access the raw methods on } -// SimpleBlsRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SimpleBlsRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SimpleBlsRegistryTransactorRaw struct { Contract *SimpleBlsRegistryTransactor // Generic write-only contract binding to access the raw methods on } @@ -5691,29 +5691,29 @@ func DeployStorageSlotUpgradeable(auth *bind.TransactOpts, backend bind.Contract return address, tx, &StorageSlotUpgradeable{StorageSlotUpgradeableCaller: StorageSlotUpgradeableCaller{contract: contract}, StorageSlotUpgradeableTransactor: StorageSlotUpgradeableTransactor{contract: contract}, StorageSlotUpgradeableFilterer: StorageSlotUpgradeableFilterer{contract: contract}}, nil } -// StorageSlotUpgradeable is an auto generated Go binding around a Klaytn contract. +// StorageSlotUpgradeable is an auto generated Go binding around a Kaia contract. type StorageSlotUpgradeable struct { StorageSlotUpgradeableCaller // Read-only binding to the contract StorageSlotUpgradeableTransactor // Write-only binding to the contract StorageSlotUpgradeableFilterer // Log filterer for contract events } -// StorageSlotUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type StorageSlotUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type StorageSlotUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// StorageSlotUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type StorageSlotUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// StorageSlotUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type StorageSlotUpgradeableSession struct { Contract *StorageSlotUpgradeable // Generic contract binding to set the session for @@ -5721,31 +5721,31 @@ type StorageSlotUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// StorageSlotUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type StorageSlotUpgradeableCallerSession struct { Contract *StorageSlotUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// StorageSlotUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// StorageSlotUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type StorageSlotUpgradeableTransactorSession struct { Contract *StorageSlotUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// StorageSlotUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type StorageSlotUpgradeableRaw struct { Contract *StorageSlotUpgradeable // Generic contract binding to access the raw methods on } -// StorageSlotUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type StorageSlotUpgradeableCallerRaw struct { Contract *StorageSlotUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// StorageSlotUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type StorageSlotUpgradeableTransactorRaw struct { Contract *StorageSlotUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -5854,29 +5854,29 @@ const UUPSUpgradeableBinRuntime = `` // Deprecated: Use UUPSUpgradeableMetaData.Sigs instead. var UUPSUpgradeableFuncSigs = UUPSUpgradeableMetaData.Sigs -// UUPSUpgradeable is an auto generated Go binding around a Klaytn contract. +// UUPSUpgradeable is an auto generated Go binding around a Kaia contract. type UUPSUpgradeable struct { UUPSUpgradeableCaller // Read-only binding to the contract UUPSUpgradeableTransactor // Write-only binding to the contract UUPSUpgradeableFilterer // Log filterer for contract events } -// UUPSUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// UUPSUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type UUPSUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// UUPSUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type UUPSUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// UUPSUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type UUPSUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// UUPSUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type UUPSUpgradeableSession struct { Contract *UUPSUpgradeable // Generic contract binding to set the session for @@ -5884,31 +5884,31 @@ type UUPSUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// UUPSUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// UUPSUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type UUPSUpgradeableCallerSession struct { Contract *UUPSUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// UUPSUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// UUPSUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type UUPSUpgradeableTransactorSession struct { Contract *UUPSUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// UUPSUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// UUPSUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type UUPSUpgradeableRaw struct { Contract *UUPSUpgradeable // Generic contract binding to access the raw methods on } -// UUPSUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// UUPSUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type UUPSUpgradeableCallerRaw struct { Contract *UUPSUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// UUPSUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// UUPSUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type UUPSUpgradeableTransactorRaw struct { Contract *UUPSUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/kip149/Registry.go b/contracts/contracts/system_contracts/kip149/Registry.go index ce39fd6959..cb9a375a69 100644 --- a/contracts/contracts/system_contracts/kip149/Registry.go +++ b/contracts/contracts/system_contracts/kip149/Registry.go @@ -61,29 +61,29 @@ const IRegistryBinRuntime = `` // Deprecated: Use IRegistryMetaData.Sigs instead. var IRegistryFuncSigs = IRegistryMetaData.Sigs -// IRegistry is an auto generated Go binding around a Klaytn contract. +// IRegistry is an auto generated Go binding around a Kaia contract. type IRegistry struct { IRegistryCaller // Read-only binding to the contract IRegistryTransactor // Write-only binding to the contract IRegistryFilterer // Log filterer for contract events } -// IRegistryCaller is an auto generated read-only Go binding around a Klaytn contract. +// IRegistryCaller is an auto generated read-only Go binding around a Kaia contract. type IRegistryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IRegistryTransactor is an auto generated write-only Go binding around a Kaia contract. type IRegistryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IRegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IRegistryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistrySession is an auto generated Go binding around a Klaytn contract, +// IRegistrySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IRegistrySession struct { Contract *IRegistry // Generic contract binding to set the session for @@ -91,31 +91,31 @@ type IRegistrySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRegistryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IRegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IRegistryCallerSession struct { Contract *IRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IRegistryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IRegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IRegistryTransactorSession struct { Contract *IRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRegistryRaw is an auto generated low-level Go binding around a Klaytn contract. +// IRegistryRaw is an auto generated low-level Go binding around a Kaia contract. type IRegistryRaw struct { Contract *IRegistry // Generic contract binding to access the raw methods on } -// IRegistryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IRegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IRegistryCallerRaw struct { Contract *IRegistryCaller // Generic read-only contract binding to access the raw methods on } -// IRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IRegistryTransactorRaw struct { Contract *IRegistryTransactor // Generic write-only contract binding to access the raw methods on } @@ -774,29 +774,29 @@ func DeployRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Registry{RegistryCaller: RegistryCaller{contract: contract}, RegistryTransactor: RegistryTransactor{contract: contract}, RegistryFilterer: RegistryFilterer{contract: contract}}, nil } -// Registry is an auto generated Go binding around a Klaytn contract. +// Registry is an auto generated Go binding around a Kaia contract. type Registry struct { RegistryCaller // Read-only binding to the contract RegistryTransactor // Write-only binding to the contract RegistryFilterer // Log filterer for contract events } -// RegistryCaller is an auto generated read-only Go binding around a Klaytn contract. +// RegistryCaller is an auto generated read-only Go binding around a Kaia contract. type RegistryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RegistryTransactor is an auto generated write-only Go binding around a Kaia contract. type RegistryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RegistryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistrySession is an auto generated Go binding around a Klaytn contract, +// RegistrySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RegistrySession struct { Contract *Registry // Generic contract binding to set the session for @@ -804,31 +804,31 @@ type RegistrySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RegistryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RegistryCallerSession struct { Contract *RegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RegistryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RegistryTransactorSession struct { Contract *RegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RegistryRaw is an auto generated low-level Go binding around a Klaytn contract. +// RegistryRaw is an auto generated low-level Go binding around a Kaia contract. type RegistryRaw struct { Contract *Registry // Generic contract binding to access the raw methods on } -// RegistryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RegistryCallerRaw struct { Contract *RegistryCaller // Generic read-only contract binding to access the raw methods on } -// RegistryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RegistryTransactorRaw struct { Contract *RegistryTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/misc/credit.go b/contracts/contracts/system_contracts/misc/credit.go index dd4631afc7..2ad11b7499 100644 --- a/contracts/contracts/system_contracts/misc/credit.go +++ b/contracts/contracts/system_contracts/misc/credit.go @@ -71,29 +71,29 @@ func DeployCypressCredit(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &CypressCredit{CypressCreditCaller: CypressCreditCaller{contract: contract}, CypressCreditTransactor: CypressCreditTransactor{contract: contract}, CypressCreditFilterer: CypressCreditFilterer{contract: contract}}, nil } -// CypressCredit is an auto generated Go binding around a Klaytn contract. +// CypressCredit is an auto generated Go binding around a Kaia contract. type CypressCredit struct { CypressCreditCaller // Read-only binding to the contract CypressCreditTransactor // Write-only binding to the contract CypressCreditFilterer // Log filterer for contract events } -// CypressCreditCaller is an auto generated read-only Go binding around a Klaytn contract. +// CypressCreditCaller is an auto generated read-only Go binding around a Kaia contract. type CypressCreditCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CypressCreditTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CypressCreditTransactor is an auto generated write-only Go binding around a Kaia contract. type CypressCreditTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CypressCreditFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CypressCreditFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CypressCreditFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CypressCreditSession is an auto generated Go binding around a Klaytn contract, +// CypressCreditSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CypressCreditSession struct { Contract *CypressCredit // Generic contract binding to set the session for @@ -101,31 +101,31 @@ type CypressCreditSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CypressCreditCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CypressCreditCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CypressCreditCallerSession struct { Contract *CypressCreditCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CypressCreditTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CypressCreditTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CypressCreditTransactorSession struct { Contract *CypressCreditTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CypressCreditRaw is an auto generated low-level Go binding around a Klaytn contract. +// CypressCreditRaw is an auto generated low-level Go binding around a Kaia contract. type CypressCreditRaw struct { Contract *CypressCredit // Generic contract binding to access the raw methods on } -// CypressCreditCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CypressCreditCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CypressCreditCallerRaw struct { Contract *CypressCreditCaller // Generic read-only contract binding to access the raw methods on } -// CypressCreditTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CypressCreditTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CypressCreditTransactorRaw struct { Contract *CypressCreditTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/proxy/proxy.go b/contracts/contracts/system_contracts/proxy/proxy.go index f2c46a50b5..7ff71081fc 100644 --- a/contracts/contracts/system_contracts/proxy/proxy.go +++ b/contracts/contracts/system_contracts/proxy/proxy.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -239,29 +239,29 @@ func DeployERC1967Proxy(auth *bind.TransactOpts, backend bind.ContractBackend, _ return address, tx, &ERC1967Proxy{ERC1967ProxyCaller: ERC1967ProxyCaller{contract: contract}, ERC1967ProxyTransactor: ERC1967ProxyTransactor{contract: contract}, ERC1967ProxyFilterer: ERC1967ProxyFilterer{contract: contract}}, nil } -// ERC1967Proxy is an auto generated Go binding around a Klaytn contract. +// ERC1967Proxy is an auto generated Go binding around a Kaia contract. type ERC1967Proxy struct { ERC1967ProxyCaller // Read-only binding to the contract ERC1967ProxyTransactor // Write-only binding to the contract ERC1967ProxyFilterer // Log filterer for contract events } -// ERC1967ProxyCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC1967ProxyCaller is an auto generated read-only Go binding around a Kaia contract. type ERC1967ProxyCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967ProxyTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC1967ProxyTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC1967ProxyTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967ProxyFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC1967ProxyFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC1967ProxyFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967ProxySession is an auto generated Go binding around a Klaytn contract, +// ERC1967ProxySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC1967ProxySession struct { Contract *ERC1967Proxy // Generic contract binding to set the session for @@ -269,31 +269,31 @@ type ERC1967ProxySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967ProxyCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC1967ProxyCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC1967ProxyCallerSession struct { Contract *ERC1967ProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC1967ProxyTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC1967ProxyTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC1967ProxyTransactorSession struct { Contract *ERC1967ProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967ProxyRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC1967ProxyRaw is an auto generated low-level Go binding around a Kaia contract. type ERC1967ProxyRaw struct { Contract *ERC1967Proxy // Generic contract binding to access the raw methods on } -// ERC1967ProxyCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC1967ProxyCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC1967ProxyCallerRaw struct { Contract *ERC1967ProxyCaller // Generic read-only contract binding to access the raw methods on } -// ERC1967ProxyTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC1967ProxyTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC1967ProxyTransactorRaw struct { Contract *ERC1967ProxyTransactor // Generic write-only contract binding to access the raw methods on } @@ -849,29 +849,29 @@ var ERC1967UpgradeABI = ERC1967UpgradeMetaData.ABI // ERC1967UpgradeBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ERC1967UpgradeBinRuntime = `` -// ERC1967Upgrade is an auto generated Go binding around a Klaytn contract. +// ERC1967Upgrade is an auto generated Go binding around a Kaia contract. type ERC1967Upgrade struct { ERC1967UpgradeCaller // Read-only binding to the contract ERC1967UpgradeTransactor // Write-only binding to the contract ERC1967UpgradeFilterer // Log filterer for contract events } -// ERC1967UpgradeCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC1967UpgradeCaller is an auto generated read-only Go binding around a Kaia contract. type ERC1967UpgradeCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC1967UpgradeTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC1967UpgradeTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC1967UpgradeFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC1967UpgradeFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeSession is an auto generated Go binding around a Klaytn contract, +// ERC1967UpgradeSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC1967UpgradeSession struct { Contract *ERC1967Upgrade // Generic contract binding to set the session for @@ -879,31 +879,31 @@ type ERC1967UpgradeSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC1967UpgradeCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC1967UpgradeCallerSession struct { Contract *ERC1967UpgradeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC1967UpgradeTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC1967UpgradeTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC1967UpgradeTransactorSession struct { Contract *ERC1967UpgradeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC1967UpgradeRaw is an auto generated low-level Go binding around a Kaia contract. type ERC1967UpgradeRaw struct { Contract *ERC1967Upgrade // Generic contract binding to access the raw methods on } -// ERC1967UpgradeCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC1967UpgradeCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC1967UpgradeCallerRaw struct { Contract *ERC1967UpgradeCaller // Generic read-only contract binding to access the raw methods on } -// ERC1967UpgradeTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC1967UpgradeTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC1967UpgradeTransactorRaw struct { Contract *ERC1967UpgradeTransactor // Generic write-only contract binding to access the raw methods on } @@ -1424,29 +1424,29 @@ const IBeaconBinRuntime = `` // Deprecated: Use IBeaconMetaData.Sigs instead. var IBeaconFuncSigs = IBeaconMetaData.Sigs -// IBeacon is an auto generated Go binding around a Klaytn contract. +// IBeacon is an auto generated Go binding around a Kaia contract. type IBeacon struct { IBeaconCaller // Read-only binding to the contract IBeaconTransactor // Write-only binding to the contract IBeaconFilterer // Log filterer for contract events } -// IBeaconCaller is an auto generated read-only Go binding around a Klaytn contract. +// IBeaconCaller is an auto generated read-only Go binding around a Kaia contract. type IBeaconCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IBeaconTransactor is an auto generated write-only Go binding around a Kaia contract. type IBeaconTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IBeaconFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IBeaconFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconSession is an auto generated Go binding around a Klaytn contract, +// IBeaconSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IBeaconSession struct { Contract *IBeacon // Generic contract binding to set the session for @@ -1454,31 +1454,31 @@ type IBeaconSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IBeaconCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IBeaconCallerSession struct { Contract *IBeaconCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IBeaconTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IBeaconTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IBeaconTransactorSession struct { Contract *IBeaconTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconRaw is an auto generated low-level Go binding around a Klaytn contract. +// IBeaconRaw is an auto generated low-level Go binding around a Kaia contract. type IBeaconRaw struct { Contract *IBeacon // Generic contract binding to access the raw methods on } -// IBeaconCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IBeaconCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IBeaconCallerRaw struct { Contract *IBeaconCaller // Generic read-only contract binding to access the raw methods on } -// IBeaconTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IBeaconTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IBeaconTransactorRaw struct { Contract *IBeaconTransactor // Generic write-only contract binding to access the raw methods on } @@ -1614,29 +1614,29 @@ const IERC1822ProxiableBinRuntime = `` // Deprecated: Use IERC1822ProxiableMetaData.Sigs instead. var IERC1822ProxiableFuncSigs = IERC1822ProxiableMetaData.Sigs -// IERC1822Proxiable is an auto generated Go binding around a Klaytn contract. +// IERC1822Proxiable is an auto generated Go binding around a Kaia contract. type IERC1822Proxiable struct { IERC1822ProxiableCaller // Read-only binding to the contract IERC1822ProxiableTransactor // Write-only binding to the contract IERC1822ProxiableFilterer // Log filterer for contract events } -// IERC1822ProxiableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1822ProxiableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1822ProxiableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1822ProxiableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1822ProxiableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1822ProxiableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1822ProxiableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableSession is an auto generated Go binding around a Klaytn contract, +// IERC1822ProxiableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1822ProxiableSession struct { Contract *IERC1822Proxiable // Generic contract binding to set the session for @@ -1644,31 +1644,31 @@ type IERC1822ProxiableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1822ProxiableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1822ProxiableCallerSession struct { Contract *IERC1822ProxiableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1822ProxiableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1822ProxiableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1822ProxiableTransactorSession struct { Contract *IERC1822ProxiableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1822ProxiableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1822ProxiableRaw struct { Contract *IERC1822Proxiable // Generic contract binding to access the raw methods on } -// IERC1822ProxiableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1822ProxiableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1822ProxiableCallerRaw struct { Contract *IERC1822ProxiableCaller // Generic read-only contract binding to access the raw methods on } -// IERC1822ProxiableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1822ProxiableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1822ProxiableTransactorRaw struct { Contract *IERC1822ProxiableTransactor // Generic write-only contract binding to access the raw methods on } @@ -1797,29 +1797,29 @@ var IERC1967ABI = IERC1967MetaData.ABI // IERC1967BinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC1967BinRuntime = `` -// IERC1967 is an auto generated Go binding around a Klaytn contract. +// IERC1967 is an auto generated Go binding around a Kaia contract. type IERC1967 struct { IERC1967Caller // Read-only binding to the contract IERC1967Transactor // Write-only binding to the contract IERC1967Filterer // Log filterer for contract events } -// IERC1967Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1967Caller is an auto generated read-only Go binding around a Kaia contract. type IERC1967Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1967Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC1967Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1967Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1967Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967Session is an auto generated Go binding around a Klaytn contract, +// IERC1967Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1967Session struct { Contract *IERC1967 // Generic contract binding to set the session for @@ -1827,31 +1827,31 @@ type IERC1967Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1967CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1967CallerSession struct { Contract *IERC1967Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1967TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1967TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1967TransactorSession struct { Contract *IERC1967Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1967Raw is an auto generated low-level Go binding around a Kaia contract. type IERC1967Raw struct { Contract *IERC1967 // Generic contract binding to access the raw methods on } -// IERC1967CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1967CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1967CallerRaw struct { Contract *IERC1967Caller // Generic read-only contract binding to access the raw methods on } -// IERC1967TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1967TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1967TransactorRaw struct { Contract *IERC1967Transactor // Generic write-only contract binding to access the raw methods on } @@ -2365,29 +2365,29 @@ var ProxyABI = ProxyMetaData.ABI // ProxyBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ProxyBinRuntime = `` -// Proxy is an auto generated Go binding around a Klaytn contract. +// Proxy is an auto generated Go binding around a Kaia contract. type Proxy struct { ProxyCaller // Read-only binding to the contract ProxyTransactor // Write-only binding to the contract ProxyFilterer // Log filterer for contract events } -// ProxyCaller is an auto generated read-only Go binding around a Klaytn contract. +// ProxyCaller is an auto generated read-only Go binding around a Kaia contract. type ProxyCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ProxyTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ProxyTransactor is an auto generated write-only Go binding around a Kaia contract. type ProxyTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ProxyFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ProxyFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ProxyFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ProxySession is an auto generated Go binding around a Klaytn contract, +// ProxySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ProxySession struct { Contract *Proxy // Generic contract binding to set the session for @@ -2395,31 +2395,31 @@ type ProxySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ProxyCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ProxyCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ProxyCallerSession struct { Contract *ProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ProxyTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ProxyTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ProxyTransactorSession struct { Contract *ProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ProxyRaw is an auto generated low-level Go binding around a Klaytn contract. +// ProxyRaw is an auto generated low-level Go binding around a Kaia contract. type ProxyRaw struct { Contract *Proxy // Generic contract binding to access the raw methods on } -// ProxyCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ProxyCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ProxyCallerRaw struct { Contract *ProxyCaller // Generic read-only contract binding to access the raw methods on } -// ProxyTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ProxyTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ProxyTransactorRaw struct { Contract *ProxyTransactor // Generic write-only contract binding to access the raw methods on } @@ -2583,29 +2583,29 @@ func DeployStorageSlot(auth *bind.TransactOpts, backend bind.ContractBackend) (c return address, tx, &StorageSlot{StorageSlotCaller: StorageSlotCaller{contract: contract}, StorageSlotTransactor: StorageSlotTransactor{contract: contract}, StorageSlotFilterer: StorageSlotFilterer{contract: contract}}, nil } -// StorageSlot is an auto generated Go binding around a Klaytn contract. +// StorageSlot is an auto generated Go binding around a Kaia contract. type StorageSlot struct { StorageSlotCaller // Read-only binding to the contract StorageSlotTransactor // Write-only binding to the contract StorageSlotFilterer // Log filterer for contract events } -// StorageSlotCaller is an auto generated read-only Go binding around a Klaytn contract. +// StorageSlotCaller is an auto generated read-only Go binding around a Kaia contract. type StorageSlotCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotTransactor is an auto generated write-only Go binding around a Klaytn contract. +// StorageSlotTransactor is an auto generated write-only Go binding around a Kaia contract. type StorageSlotTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// StorageSlotFilterer is an auto generated log filtering Go binding around a Kaia contract events. type StorageSlotFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotSession is an auto generated Go binding around a Klaytn contract, +// StorageSlotSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type StorageSlotSession struct { Contract *StorageSlot // Generic contract binding to set the session for @@ -2613,31 +2613,31 @@ type StorageSlotSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// StorageSlotCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type StorageSlotCallerSession struct { Contract *StorageSlotCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// StorageSlotTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// StorageSlotTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type StorageSlotTransactorSession struct { Contract *StorageSlotTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotRaw is an auto generated low-level Go binding around a Klaytn contract. +// StorageSlotRaw is an auto generated low-level Go binding around a Kaia contract. type StorageSlotRaw struct { Contract *StorageSlot // Generic contract binding to access the raw methods on } -// StorageSlotCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// StorageSlotCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type StorageSlotCallerRaw struct { Contract *StorageSlotCaller // Generic read-only contract binding to access the raw methods on } -// StorageSlotTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// StorageSlotTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type StorageSlotTransactorRaw struct { Contract *StorageSlotTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/system_contracts/rebalance/all.go b/contracts/contracts/system_contracts/rebalance/all.go index 9082bf7dde..20f4dc770a 100644 --- a/contracts/contracts/system_contracts/rebalance/all.go +++ b/contracts/contracts/system_contracts/rebalance/all.go @@ -48,29 +48,29 @@ const IRetiredContractBinRuntime = `` // Deprecated: Use IRetiredContractMetaData.Sigs instead. var IRetiredContractFuncSigs = IRetiredContractMetaData.Sigs -// IRetiredContract is an auto generated Go binding around a Klaytn contract. +// IRetiredContract is an auto generated Go binding around a Kaia contract. type IRetiredContract struct { IRetiredContractCaller // Read-only binding to the contract IRetiredContractTransactor // Write-only binding to the contract IRetiredContractFilterer // Log filterer for contract events } -// IRetiredContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// IRetiredContractCaller is an auto generated read-only Go binding around a Kaia contract. type IRetiredContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IRetiredContractTransactor is an auto generated write-only Go binding around a Kaia contract. type IRetiredContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IRetiredContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IRetiredContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractSession is an auto generated Go binding around a Klaytn contract, +// IRetiredContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IRetiredContractSession struct { Contract *IRetiredContract // Generic contract binding to set the session for @@ -78,31 +78,31 @@ type IRetiredContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRetiredContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IRetiredContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IRetiredContractCallerSession struct { Contract *IRetiredContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IRetiredContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IRetiredContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IRetiredContractTransactorSession struct { Contract *IRetiredContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRetiredContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// IRetiredContractRaw is an auto generated low-level Go binding around a Kaia contract. type IRetiredContractRaw struct { Contract *IRetiredContract // Generic contract binding to access the raw methods on } -// IRetiredContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IRetiredContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IRetiredContractCallerRaw struct { Contract *IRetiredContractCaller // Generic read-only contract binding to access the raw methods on } -// IRetiredContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IRetiredContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IRetiredContractTransactorRaw struct { Contract *IRetiredContractTransactor // Generic write-only contract binding to access the raw methods on } @@ -270,29 +270,29 @@ const ITreasuryRebalanceBinRuntime = `` // Deprecated: Use ITreasuryRebalanceMetaData.Sigs instead. var ITreasuryRebalanceFuncSigs = ITreasuryRebalanceMetaData.Sigs -// ITreasuryRebalance is an auto generated Go binding around a Klaytn contract. +// ITreasuryRebalance is an auto generated Go binding around a Kaia contract. type ITreasuryRebalance struct { ITreasuryRebalanceCaller // Read-only binding to the contract ITreasuryRebalanceTransactor // Write-only binding to the contract ITreasuryRebalanceFilterer // Log filterer for contract events } -// ITreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract. +// ITreasuryRebalanceCaller is an auto generated read-only Go binding around a Kaia contract. type ITreasuryRebalanceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ITreasuryRebalanceTransactor is an auto generated write-only Go binding around a Kaia contract. type ITreasuryRebalanceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ITreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ITreasuryRebalanceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, +// ITreasuryRebalanceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ITreasuryRebalanceSession struct { Contract *ITreasuryRebalance // Generic contract binding to set the session for @@ -300,31 +300,31 @@ type ITreasuryRebalanceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ITreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ITreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ITreasuryRebalanceCallerSession struct { Contract *ITreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ITreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ITreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ITreasuryRebalanceTransactorSession struct { Contract *ITreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ITreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract. +// ITreasuryRebalanceRaw is an auto generated low-level Go binding around a Kaia contract. type ITreasuryRebalanceRaw struct { Contract *ITreasuryRebalance // Generic contract binding to access the raw methods on } -// ITreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ITreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ITreasuryRebalanceCallerRaw struct { Contract *ITreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on } -// ITreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ITreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ITreasuryRebalanceTransactorRaw struct { Contract *ITreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on } @@ -1964,29 +1964,29 @@ const IZeroedContractBinRuntime = `` // Deprecated: Use IZeroedContractMetaData.Sigs instead. var IZeroedContractFuncSigs = IZeroedContractMetaData.Sigs -// IZeroedContract is an auto generated Go binding around a Klaytn contract. +// IZeroedContract is an auto generated Go binding around a Kaia contract. type IZeroedContract struct { IZeroedContractCaller // Read-only binding to the contract IZeroedContractTransactor // Write-only binding to the contract IZeroedContractFilterer // Log filterer for contract events } -// IZeroedContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// IZeroedContractCaller is an auto generated read-only Go binding around a Kaia contract. type IZeroedContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IZeroedContractTransactor is an auto generated write-only Go binding around a Kaia contract. type IZeroedContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IZeroedContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IZeroedContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractSession is an auto generated Go binding around a Klaytn contract, +// IZeroedContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IZeroedContractSession struct { Contract *IZeroedContract // Generic contract binding to set the session for @@ -1994,31 +1994,31 @@ type IZeroedContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IZeroedContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IZeroedContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IZeroedContractCallerSession struct { Contract *IZeroedContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IZeroedContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IZeroedContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IZeroedContractTransactorSession struct { Contract *IZeroedContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IZeroedContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// IZeroedContractRaw is an auto generated low-level Go binding around a Kaia contract. type IZeroedContractRaw struct { Contract *IZeroedContract // Generic contract binding to access the raw methods on } -// IZeroedContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IZeroedContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IZeroedContractCallerRaw struct { Contract *IZeroedContractCaller // Generic read-only contract binding to access the raw methods on } -// IZeroedContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IZeroedContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IZeroedContractTransactorRaw struct { Contract *IZeroedContractTransactor // Generic write-only contract binding to access the raw methods on } @@ -2193,29 +2193,29 @@ func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Ownable{OwnableCaller: OwnableCaller{contract: contract}, OwnableTransactor: OwnableTransactor{contract: contract}, OwnableFilterer: OwnableFilterer{contract: contract}}, nil } -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -2223,31 +2223,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2655,29 +2655,29 @@ func DeployTreasuryRebalance(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &TreasuryRebalance{TreasuryRebalanceCaller: TreasuryRebalanceCaller{contract: contract}, TreasuryRebalanceTransactor: TreasuryRebalanceTransactor{contract: contract}, TreasuryRebalanceFilterer: TreasuryRebalanceFilterer{contract: contract}}, nil } -// TreasuryRebalance is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalance is an auto generated Go binding around a Kaia contract. type TreasuryRebalance struct { TreasuryRebalanceCaller // Read-only binding to the contract TreasuryRebalanceTransactor // Write-only binding to the contract TreasuryRebalanceFilterer // Log filterer for contract events } -// TreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceCaller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceTransactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceSession struct { Contract *TreasuryRebalance // Generic contract binding to set the session for @@ -2685,31 +2685,31 @@ type TreasuryRebalanceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceCallerSession struct { Contract *TreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceTransactorSession struct { Contract *TreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceRaw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceRaw struct { Contract *TreasuryRebalance // Generic contract binding to access the raw methods on } -// TreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceCallerRaw struct { Contract *TreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceTransactorRaw struct { Contract *TreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on } @@ -4889,29 +4889,29 @@ func DeployTreasuryRebalanceV2(auth *bind.TransactOpts, backend bind.ContractBac return address, tx, &TreasuryRebalanceV2{TreasuryRebalanceV2Caller: TreasuryRebalanceV2Caller{contract: contract}, TreasuryRebalanceV2Transactor: TreasuryRebalanceV2Transactor{contract: contract}, TreasuryRebalanceV2Filterer: TreasuryRebalanceV2Filterer{contract: contract}}, nil } -// TreasuryRebalanceV2 is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalanceV2 is an auto generated Go binding around a Kaia contract. type TreasuryRebalanceV2 struct { TreasuryRebalanceV2Caller // Read-only binding to the contract TreasuryRebalanceV2Transactor // Write-only binding to the contract TreasuryRebalanceV2Filterer // Log filterer for contract events } -// TreasuryRebalanceV2Caller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2Caller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceV2Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Transactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2Transactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceV2Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceV2Filterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceV2Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Session is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceV2Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceV2Session struct { Contract *TreasuryRebalanceV2 // Generic contract binding to set the session for @@ -4919,31 +4919,31 @@ type TreasuryRebalanceV2Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceV2CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceV2CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceV2CallerSession struct { Contract *TreasuryRebalanceV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceV2TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceV2TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceV2TransactorSession struct { Contract *TreasuryRebalanceV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceV2Raw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceV2Raw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceV2Raw struct { Contract *TreasuryRebalanceV2 // Generic contract binding to access the raw methods on } -// TreasuryRebalanceV2CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceV2CallerRaw struct { Contract *TreasuryRebalanceV2Caller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceV2TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceV2TransactorRaw struct { Contract *TreasuryRebalanceV2Transactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/extbridge/ext_bridge.go b/contracts/contracts/testing/extbridge/ext_bridge.go index 1be12fee8b..f956a8113a 100644 --- a/contracts/contracts/testing/extbridge/ext_bridge.go +++ b/contracts/contracts/testing/extbridge/ext_bridge.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -226,29 +226,29 @@ const BridgeFeeBinRuntime = `` // Deprecated: Use BridgeFeeMetaData.Sigs instead. var BridgeFeeFuncSigs = BridgeFeeMetaData.Sigs -// BridgeFee is an auto generated Go binding around a Klaytn contract. +// BridgeFee is an auto generated Go binding around a Kaia contract. type BridgeFee struct { BridgeFeeCaller // Read-only binding to the contract BridgeFeeTransactor // Write-only binding to the contract BridgeFeeFilterer // Log filterer for contract events } -// BridgeFeeCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeFeeCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeFeeCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeFeeTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeFeeTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeFeeFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeFeeFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeFeeSession is an auto generated Go binding around a Klaytn contract, +// BridgeFeeSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeFeeSession struct { Contract *BridgeFee // Generic contract binding to set the session for @@ -256,31 +256,31 @@ type BridgeFeeSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeFeeCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeFeeCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeFeeCallerSession struct { Contract *BridgeFeeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeFeeTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeFeeTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeFeeTransactorSession struct { Contract *BridgeFeeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeFeeRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeFeeRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeFeeRaw struct { Contract *BridgeFee // Generic contract binding to access the raw methods on } -// BridgeFeeCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeFeeCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeFeeCallerRaw struct { Contract *BridgeFeeCaller // Generic read-only contract binding to access the raw methods on } -// BridgeFeeTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeFeeTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeFeeTransactorRaw struct { Contract *BridgeFeeTransactor // Generic write-only contract binding to access the raw methods on } @@ -928,29 +928,29 @@ func DeployBridgeHandledRequests(auth *bind.TransactOpts, backend bind.ContractB return address, tx, &BridgeHandledRequests{BridgeHandledRequestsCaller: BridgeHandledRequestsCaller{contract: contract}, BridgeHandledRequestsTransactor: BridgeHandledRequestsTransactor{contract: contract}, BridgeHandledRequestsFilterer: BridgeHandledRequestsFilterer{contract: contract}}, nil } -// BridgeHandledRequests is an auto generated Go binding around a Klaytn contract. +// BridgeHandledRequests is an auto generated Go binding around a Kaia contract. type BridgeHandledRequests struct { BridgeHandledRequestsCaller // Read-only binding to the contract BridgeHandledRequestsTransactor // Write-only binding to the contract BridgeHandledRequestsFilterer // Log filterer for contract events } -// BridgeHandledRequestsCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeHandledRequestsCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeHandledRequestsCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeHandledRequestsTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeHandledRequestsTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeHandledRequestsFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeHandledRequestsFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeHandledRequestsSession is an auto generated Go binding around a Klaytn contract, +// BridgeHandledRequestsSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeHandledRequestsSession struct { Contract *BridgeHandledRequests // Generic contract binding to set the session for @@ -958,31 +958,31 @@ type BridgeHandledRequestsSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeHandledRequestsCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeHandledRequestsCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeHandledRequestsCallerSession struct { Contract *BridgeHandledRequestsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeHandledRequestsTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeHandledRequestsTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeHandledRequestsTransactorSession struct { Contract *BridgeHandledRequestsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeHandledRequestsRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeHandledRequestsRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeHandledRequestsRaw struct { Contract *BridgeHandledRequests // Generic contract binding to access the raw methods on } -// BridgeHandledRequestsCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeHandledRequestsCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeHandledRequestsCallerRaw struct { Contract *BridgeHandledRequestsCaller // Generic read-only contract binding to access the raw methods on } -// BridgeHandledRequestsTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeHandledRequestsTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeHandledRequestsTransactorRaw struct { Contract *BridgeHandledRequestsTransactor // Generic write-only contract binding to access the raw methods on } @@ -1131,29 +1131,29 @@ const BridgeOperatorBinRuntime = `` // Deprecated: Use BridgeOperatorMetaData.Sigs instead. var BridgeOperatorFuncSigs = BridgeOperatorMetaData.Sigs -// BridgeOperator is an auto generated Go binding around a Klaytn contract. +// BridgeOperator is an auto generated Go binding around a Kaia contract. type BridgeOperator struct { BridgeOperatorCaller // Read-only binding to the contract BridgeOperatorTransactor // Write-only binding to the contract BridgeOperatorFilterer // Log filterer for contract events } -// BridgeOperatorCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeOperatorCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeOperatorCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeOperatorTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeOperatorTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeOperatorFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeOperatorFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeOperatorSession is an auto generated Go binding around a Klaytn contract, +// BridgeOperatorSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeOperatorSession struct { Contract *BridgeOperator // Generic contract binding to set the session for @@ -1161,31 +1161,31 @@ type BridgeOperatorSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeOperatorCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeOperatorCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeOperatorCallerSession struct { Contract *BridgeOperatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeOperatorTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeOperatorTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeOperatorTransactorSession struct { Contract *BridgeOperatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeOperatorRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeOperatorRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeOperatorRaw struct { Contract *BridgeOperator // Generic contract binding to access the raw methods on } -// BridgeOperatorCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeOperatorCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeOperatorCallerRaw struct { Contract *BridgeOperatorCaller // Generic read-only contract binding to access the raw methods on } -// BridgeOperatorTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeOperatorTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeOperatorTransactorRaw struct { Contract *BridgeOperatorTransactor // Generic write-only contract binding to access the raw methods on } @@ -1842,29 +1842,29 @@ func DeployBridgeTokens(auth *bind.TransactOpts, backend bind.ContractBackend) ( return address, tx, &BridgeTokens{BridgeTokensCaller: BridgeTokensCaller{contract: contract}, BridgeTokensTransactor: BridgeTokensTransactor{contract: contract}, BridgeTokensFilterer: BridgeTokensFilterer{contract: contract}}, nil } -// BridgeTokens is an auto generated Go binding around a Klaytn contract. +// BridgeTokens is an auto generated Go binding around a Kaia contract. type BridgeTokens struct { BridgeTokensCaller // Read-only binding to the contract BridgeTokensTransactor // Write-only binding to the contract BridgeTokensFilterer // Log filterer for contract events } -// BridgeTokensCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTokensCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeTokensCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTokensTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTokensTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTokensFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTokensFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTokensSession is an auto generated Go binding around a Klaytn contract, +// BridgeTokensSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTokensSession struct { Contract *BridgeTokens // Generic contract binding to set the session for @@ -1872,31 +1872,31 @@ type BridgeTokensSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTokensCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTokensCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTokensCallerSession struct { Contract *BridgeTokensCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTokensTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTokensTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTokensTransactorSession struct { Contract *BridgeTokensTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTokensRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTokensRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeTokensRaw struct { Contract *BridgeTokens // Generic contract binding to access the raw methods on } -// BridgeTokensCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTokensCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTokensCallerRaw struct { Contract *BridgeTokensCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTokensTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTokensTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTokensTransactorRaw struct { Contract *BridgeTokensTransactor // Generic write-only contract binding to access the raw methods on } @@ -3072,29 +3072,29 @@ const BridgeTransferBinRuntime = `` // Deprecated: Use BridgeTransferMetaData.Sigs instead. var BridgeTransferFuncSigs = BridgeTransferMetaData.Sigs -// BridgeTransfer is an auto generated Go binding around a Klaytn contract. +// BridgeTransfer is an auto generated Go binding around a Kaia contract. type BridgeTransfer struct { BridgeTransferCaller // Read-only binding to the contract BridgeTransferTransactor // Write-only binding to the contract BridgeTransferFilterer // Log filterer for contract events } -// BridgeTransferCaller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferCaller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferTransactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferTransactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferFilterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferSession is an auto generated Go binding around a Klaytn contract, +// BridgeTransferSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferSession struct { Contract *BridgeTransfer // Generic contract binding to set the session for @@ -3102,31 +3102,31 @@ type BridgeTransferSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferCallerSession struct { Contract *BridgeTransferCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferTransactorSession struct { Contract *BridgeTransferTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferRaw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferRaw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferRaw struct { Contract *BridgeTransfer // Generic contract binding to access the raw methods on } -// BridgeTransferCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferCallerRaw struct { Contract *BridgeTransferCaller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferTransactorRaw struct { Contract *BridgeTransferTransactor // Generic write-only contract binding to access the raw methods on } @@ -5076,29 +5076,29 @@ const BridgeTransferERC20BinRuntime = `` // Deprecated: Use BridgeTransferERC20MetaData.Sigs instead. var BridgeTransferERC20FuncSigs = BridgeTransferERC20MetaData.Sigs -// BridgeTransferERC20 is an auto generated Go binding around a Klaytn contract. +// BridgeTransferERC20 is an auto generated Go binding around a Kaia contract. type BridgeTransferERC20 struct { BridgeTransferERC20Caller // Read-only binding to the contract BridgeTransferERC20Transactor // Write-only binding to the contract BridgeTransferERC20Filterer // Log filterer for contract events } -// BridgeTransferERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferERC20Caller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC20Session is an auto generated Go binding around a Klaytn contract, +// BridgeTransferERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferERC20Session struct { Contract *BridgeTransferERC20 // Generic contract binding to set the session for @@ -5106,31 +5106,31 @@ type BridgeTransferERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferERC20CallerSession struct { Contract *BridgeTransferERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferERC20TransactorSession struct { Contract *BridgeTransferERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferERC20Raw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferERC20Raw struct { Contract *BridgeTransferERC20 // Generic contract binding to access the raw methods on } -// BridgeTransferERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferERC20CallerRaw struct { Contract *BridgeTransferERC20Caller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferERC20TransactorRaw struct { Contract *BridgeTransferERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -7956,29 +7956,29 @@ const BridgeTransferERC721BinRuntime = `` // Deprecated: Use BridgeTransferERC721MetaData.Sigs instead. var BridgeTransferERC721FuncSigs = BridgeTransferERC721MetaData.Sigs -// BridgeTransferERC721 is an auto generated Go binding around a Klaytn contract. +// BridgeTransferERC721 is an auto generated Go binding around a Kaia contract. type BridgeTransferERC721 struct { BridgeTransferERC721Caller // Read-only binding to the contract BridgeTransferERC721Transactor // Write-only binding to the contract BridgeTransferERC721Filterer // Log filterer for contract events } -// BridgeTransferERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// BridgeTransferERC721Caller is an auto generated read-only Go binding around a Kaia contract. type BridgeTransferERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// BridgeTransferERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type BridgeTransferERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// BridgeTransferERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type BridgeTransferERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// BridgeTransferERC721Session is an auto generated Go binding around a Klaytn contract, +// BridgeTransferERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type BridgeTransferERC721Session struct { Contract *BridgeTransferERC721 // Generic contract binding to set the session for @@ -7986,31 +7986,31 @@ type BridgeTransferERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// BridgeTransferERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type BridgeTransferERC721CallerSession struct { Contract *BridgeTransferERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// BridgeTransferERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// BridgeTransferERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type BridgeTransferERC721TransactorSession struct { Contract *BridgeTransferERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// BridgeTransferERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// BridgeTransferERC721Raw is an auto generated low-level Go binding around a Kaia contract. type BridgeTransferERC721Raw struct { Contract *BridgeTransferERC721 // Generic contract binding to access the raw methods on } -// BridgeTransferERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// BridgeTransferERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type BridgeTransferERC721CallerRaw struct { Contract *BridgeTransferERC721Caller // Generic read-only contract binding to access the raw methods on } -// BridgeTransferERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// BridgeTransferERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type BridgeTransferERC721TransactorRaw struct { Contract *BridgeTransferERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -10799,29 +10799,29 @@ func DeployCallback(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Callback{CallbackCaller: CallbackCaller{contract: contract}, CallbackTransactor: CallbackTransactor{contract: contract}, CallbackFilterer: CallbackFilterer{contract: contract}}, nil } -// Callback is an auto generated Go binding around a Klaytn contract. +// Callback is an auto generated Go binding around a Kaia contract. type Callback struct { CallbackCaller // Read-only binding to the contract CallbackTransactor // Write-only binding to the contract CallbackFilterer // Log filterer for contract events } -// CallbackCaller is an auto generated read-only Go binding around a Klaytn contract. +// CallbackCaller is an auto generated read-only Go binding around a Kaia contract. type CallbackCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CallbackTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CallbackTransactor is an auto generated write-only Go binding around a Kaia contract. type CallbackTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CallbackFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CallbackFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CallbackFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CallbackSession is an auto generated Go binding around a Klaytn contract, +// CallbackSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CallbackSession struct { Contract *Callback // Generic contract binding to set the session for @@ -10829,31 +10829,31 @@ type CallbackSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CallbackCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CallbackCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CallbackCallerSession struct { Contract *CallbackCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CallbackTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CallbackTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CallbackTransactorSession struct { Contract *CallbackTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CallbackRaw is an auto generated low-level Go binding around a Klaytn contract. +// CallbackRaw is an auto generated low-level Go binding around a Kaia contract. type CallbackRaw struct { Contract *Callback // Generic contract binding to access the raw methods on } -// CallbackCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CallbackCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CallbackCallerRaw struct { Contract *CallbackCaller // Generic read-only contract binding to access the raw methods on } -// CallbackTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CallbackTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CallbackTransactorRaw struct { Contract *CallbackTransactor // Generic write-only contract binding to access the raw methods on } @@ -11130,29 +11130,29 @@ func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Counters{CountersCaller: CountersCaller{contract: contract}, CountersTransactor: CountersTransactor{contract: contract}, CountersFilterer: CountersFilterer{contract: contract}}, nil } -// Counters is an auto generated Go binding around a Klaytn contract. +// Counters is an auto generated Go binding around a Kaia contract. type Counters struct { CountersCaller // Read-only binding to the contract CountersTransactor // Write-only binding to the contract CountersFilterer // Log filterer for contract events } -// CountersCaller is an auto generated read-only Go binding around a Klaytn contract. +// CountersCaller is an auto generated read-only Go binding around a Kaia contract. type CountersCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CountersTransactor is an auto generated write-only Go binding around a Kaia contract. type CountersTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CountersFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CountersFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersSession is an auto generated Go binding around a Klaytn contract, +// CountersSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CountersSession struct { Contract *Counters // Generic contract binding to set the session for @@ -11160,31 +11160,31 @@ type CountersSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CountersCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CountersCallerSession struct { Contract *CountersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CountersTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CountersTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CountersTransactorSession struct { Contract *CountersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersRaw is an auto generated low-level Go binding around a Klaytn contract. +// CountersRaw is an auto generated low-level Go binding around a Kaia contract. type CountersRaw struct { Contract *Counters // Generic contract binding to access the raw methods on } -// CountersCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CountersCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CountersCallerRaw struct { Contract *CountersCaller // Generic read-only contract binding to access the raw methods on } -// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CountersTransactorRaw struct { Contract *CountersTransactor // Generic write-only contract binding to access the raw methods on } @@ -11291,29 +11291,29 @@ const ERC165BinRuntime = `` // Deprecated: Use ERC165MetaData.Sigs instead. var ERC165FuncSigs = ERC165MetaData.Sigs -// ERC165 is an auto generated Go binding around a Klaytn contract. +// ERC165 is an auto generated Go binding around a Kaia contract. type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events } -// ERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC165Caller is an auto generated read-only Go binding around a Kaia contract. type ERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Session is an auto generated Go binding around a Klaytn contract, +// ERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC165Session struct { Contract *ERC165 // Generic contract binding to set the session for @@ -11321,31 +11321,31 @@ type ERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC165Raw is an auto generated low-level Go binding around a Kaia contract. type ERC165Raw struct { Contract *ERC165 // Generic contract binding to access the raw methods on } -// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC165CallerRaw struct { Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on } -// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC165TransactorRaw struct { Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -11510,29 +11510,29 @@ func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &ERC20{ERC20Caller: ERC20Caller{contract: contract}, ERC20Transactor: ERC20Transactor{contract: contract}, ERC20Filterer: ERC20Filterer{contract: contract}}, nil } -// ERC20 is an auto generated Go binding around a Klaytn contract. +// ERC20 is an auto generated Go binding around a Kaia contract. type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events } -// ERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20Caller is an auto generated read-only Go binding around a Kaia contract. type ERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Session is an auto generated Go binding around a Klaytn contract, +// ERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for @@ -11540,31 +11540,31 @@ type ERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20Raw is an auto generated low-level Go binding around a Kaia contract. type ERC20Raw struct { Contract *ERC20 // Generic contract binding to access the raw methods on } -// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20CallerRaw struct { Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on } -// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20TransactorRaw struct { Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -12196,29 +12196,29 @@ func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Burnable{ERC20BurnableCaller: ERC20BurnableCaller{contract: contract}, ERC20BurnableTransactor: ERC20BurnableTransactor{contract: contract}, ERC20BurnableFilterer: ERC20BurnableFilterer{contract: contract}}, nil } -// ERC20Burnable is an auto generated Go binding around a Klaytn contract. +// ERC20Burnable is an auto generated Go binding around a Kaia contract. type ERC20Burnable struct { ERC20BurnableCaller // Read-only binding to the contract ERC20BurnableTransactor // Write-only binding to the contract ERC20BurnableFilterer // Log filterer for contract events } -// ERC20BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC20BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20BurnableSession struct { Contract *ERC20Burnable // Generic contract binding to set the session for @@ -12226,31 +12226,31 @@ type ERC20BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20BurnableCallerSession struct { Contract *ERC20BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20BurnableTransactorSession struct { Contract *ERC20BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20BurnableRaw struct { Contract *ERC20Burnable // Generic contract binding to access the raw methods on } -// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20BurnableCallerRaw struct { Contract *ERC20BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20BurnableTransactorRaw struct { Contract *ERC20BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -12926,29 +12926,29 @@ func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Mintable{ERC20MintableCaller: ERC20MintableCaller{contract: contract}, ERC20MintableTransactor: ERC20MintableTransactor{contract: contract}, ERC20MintableFilterer: ERC20MintableFilterer{contract: contract}}, nil } -// ERC20Mintable is an auto generated Go binding around a Klaytn contract. +// ERC20Mintable is an auto generated Go binding around a Kaia contract. type ERC20Mintable struct { ERC20MintableCaller // Read-only binding to the contract ERC20MintableTransactor // Write-only binding to the contract ERC20MintableFilterer // Log filterer for contract events } -// ERC20MintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20MintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20MintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20MintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20MintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20MintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20MintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableSession is an auto generated Go binding around a Klaytn contract, +// ERC20MintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20MintableSession struct { Contract *ERC20Mintable // Generic contract binding to set the session for @@ -12956,31 +12956,31 @@ type ERC20MintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20MintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20MintableCallerSession struct { Contract *ERC20MintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20MintableTransactorSession struct { Contract *ERC20MintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20MintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20MintableRaw struct { Contract *ERC20Mintable // Generic contract binding to access the raw methods on } -// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20MintableCallerRaw struct { Contract *ERC20MintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20MintableTransactorRaw struct { Contract *ERC20MintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -13986,29 +13986,29 @@ func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common return address, tx, &ERC721{ERC721Caller: ERC721Caller{contract: contract}, ERC721Transactor: ERC721Transactor{contract: contract}, ERC721Filterer: ERC721Filterer{contract: contract}}, nil } -// ERC721 is an auto generated Go binding around a Klaytn contract. +// ERC721 is an auto generated Go binding around a Kaia contract. type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events } -// ERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721Caller is an auto generated read-only Go binding around a Kaia contract. type ERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Session is an auto generated Go binding around a Klaytn contract, +// ERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721Session struct { Contract *ERC721 // Generic contract binding to set the session for @@ -14016,31 +14016,31 @@ type ERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721Raw is an auto generated low-level Go binding around a Kaia contract. type ERC721Raw struct { Contract *ERC721 // Generic contract binding to access the raw methods on } -// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721CallerRaw struct { Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on } -// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721TransactorRaw struct { Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -14898,29 +14898,29 @@ func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC721Burnable{ERC721BurnableCaller: ERC721BurnableCaller{contract: contract}, ERC721BurnableTransactor: ERC721BurnableTransactor{contract: contract}, ERC721BurnableFilterer: ERC721BurnableFilterer{contract: contract}}, nil } -// ERC721Burnable is an auto generated Go binding around a Klaytn contract. +// ERC721Burnable is an auto generated Go binding around a Kaia contract. type ERC721Burnable struct { ERC721BurnableCaller // Read-only binding to the contract ERC721BurnableTransactor // Write-only binding to the contract ERC721BurnableFilterer // Log filterer for contract events } -// ERC721BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC721BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721BurnableSession struct { Contract *ERC721Burnable // Generic contract binding to set the session for @@ -14928,31 +14928,31 @@ type ERC721BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721BurnableCallerSession struct { Contract *ERC721BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721BurnableTransactorSession struct { Contract *ERC721BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721BurnableRaw struct { Contract *ERC721Burnable // Generic contract binding to access the raw methods on } -// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721BurnableCallerRaw struct { Contract *ERC721BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721BurnableTransactorRaw struct { Contract *ERC721BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -15833,29 +15833,29 @@ func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, return address, tx, &ERC721Metadata{ERC721MetadataCaller: ERC721MetadataCaller{contract: contract}, ERC721MetadataTransactor: ERC721MetadataTransactor{contract: contract}, ERC721MetadataFilterer: ERC721MetadataFilterer{contract: contract}}, nil } -// ERC721Metadata is an auto generated Go binding around a Klaytn contract. +// ERC721Metadata is an auto generated Go binding around a Kaia contract. type ERC721Metadata struct { ERC721MetadataCaller // Read-only binding to the contract ERC721MetadataTransactor // Write-only binding to the contract ERC721MetadataFilterer // Log filterer for contract events } -// ERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataSession struct { Contract *ERC721Metadata // Generic contract binding to set the session for @@ -15863,31 +15863,31 @@ type ERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataCallerSession struct { Contract *ERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataTransactorSession struct { Contract *ERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataRaw struct { Contract *ERC721Metadata // Generic contract binding to access the raw methods on } -// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataCallerRaw struct { Contract *ERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataTransactorRaw struct { Contract *ERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -16816,29 +16816,29 @@ const ERC721MetadataMintableBinRuntime = `` // Deprecated: Use ERC721MetadataMintableMetaData.Sigs instead. var ERC721MetadataMintableFuncSigs = ERC721MetadataMintableMetaData.Sigs -// ERC721MetadataMintable is an auto generated Go binding around a Klaytn contract. +// ERC721MetadataMintable is an auto generated Go binding around a Kaia contract. type ERC721MetadataMintable struct { ERC721MetadataMintableCaller // Read-only binding to the contract ERC721MetadataMintableTransactor // Write-only binding to the contract ERC721MetadataMintableFilterer // Log filterer for contract events } -// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataMintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataMintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataMintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataMintableSession struct { Contract *ERC721MetadataMintable // Generic contract binding to set the session for @@ -16846,31 +16846,31 @@ type ERC721MetadataMintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataMintableCallerSession struct { Contract *ERC721MetadataMintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataMintableTransactorSession struct { Contract *ERC721MetadataMintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataMintableRaw struct { Contract *ERC721MetadataMintable // Generic contract binding to access the raw methods on } -// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataMintableCallerRaw struct { Contract *ERC721MetadataMintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactorRaw struct { Contract *ERC721MetadataMintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -18225,29 +18225,29 @@ func DeployExtBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _mod return address, tx, &ExtBridge{ExtBridgeCaller: ExtBridgeCaller{contract: contract}, ExtBridgeTransactor: ExtBridgeTransactor{contract: contract}, ExtBridgeFilterer: ExtBridgeFilterer{contract: contract}}, nil } -// ExtBridge is an auto generated Go binding around a Klaytn contract. +// ExtBridge is an auto generated Go binding around a Kaia contract. type ExtBridge struct { ExtBridgeCaller // Read-only binding to the contract ExtBridgeTransactor // Write-only binding to the contract ExtBridgeFilterer // Log filterer for contract events } -// ExtBridgeCaller is an auto generated read-only Go binding around a Klaytn contract. +// ExtBridgeCaller is an auto generated read-only Go binding around a Kaia contract. type ExtBridgeCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ExtBridgeTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ExtBridgeTransactor is an auto generated write-only Go binding around a Kaia contract. type ExtBridgeTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ExtBridgeFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ExtBridgeFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ExtBridgeFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ExtBridgeSession is an auto generated Go binding around a Klaytn contract, +// ExtBridgeSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ExtBridgeSession struct { Contract *ExtBridge // Generic contract binding to set the session for @@ -18255,31 +18255,31 @@ type ExtBridgeSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ExtBridgeCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ExtBridgeCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ExtBridgeCallerSession struct { Contract *ExtBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ExtBridgeTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ExtBridgeTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ExtBridgeTransactorSession struct { Contract *ExtBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ExtBridgeRaw is an auto generated low-level Go binding around a Klaytn contract. +// ExtBridgeRaw is an auto generated low-level Go binding around a Kaia contract. type ExtBridgeRaw struct { Contract *ExtBridge // Generic contract binding to access the raw methods on } -// ExtBridgeCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ExtBridgeCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ExtBridgeCallerRaw struct { Contract *ExtBridgeCaller // Generic read-only contract binding to access the raw methods on } -// ExtBridgeTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ExtBridgeTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ExtBridgeTransactorRaw struct { Contract *ExtBridgeTransactor // Generic write-only contract binding to access the raw methods on } @@ -21222,29 +21222,29 @@ const IERC165BinRuntime = `` // Deprecated: Use IERC165MetaData.Sigs instead. var IERC165FuncSigs = IERC165MetaData.Sigs -// IERC165 is an auto generated Go binding around a Klaytn contract. +// IERC165 is an auto generated Go binding around a Kaia contract. type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events } -// IERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC165Caller is an auto generated read-only Go binding around a Kaia contract. type IERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Session is an auto generated Go binding around a Klaytn contract, +// IERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for @@ -21252,31 +21252,31 @@ type IERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC165Raw is an auto generated low-level Go binding around a Kaia contract. type IERC165Raw struct { Contract *IERC165 // Generic contract binding to access the raw methods on } -// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC165CallerRaw struct { Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on } -// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC165TransactorRaw struct { Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -21417,29 +21417,29 @@ const IERC20BinRuntime = `` // Deprecated: Use IERC20MetaData.Sigs instead. var IERC20FuncSigs = IERC20MetaData.Sigs -// IERC20 is an auto generated Go binding around a Klaytn contract. +// IERC20 is an auto generated Go binding around a Kaia contract. type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events } -// IERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20Caller is an auto generated read-only Go binding around a Kaia contract. type IERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Session is an auto generated Go binding around a Klaytn contract, +// IERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20Session struct { Contract *IERC20 // Generic contract binding to set the session for @@ -21447,31 +21447,31 @@ type IERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20Raw is an auto generated low-level Go binding around a Kaia contract. type IERC20Raw struct { Contract *IERC20 // Generic contract binding to access the raw methods on } -// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20CallerRaw struct { Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on } -// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20TransactorRaw struct { Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -22030,29 +22030,29 @@ const IERC20BridgeReceiverBinRuntime = `` // Deprecated: Use IERC20BridgeReceiverMetaData.Sigs instead. var IERC20BridgeReceiverFuncSigs = IERC20BridgeReceiverMetaData.Sigs -// IERC20BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC20BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC20BridgeReceiver struct { IERC20BridgeReceiverCaller // Read-only binding to the contract IERC20BridgeReceiverTransactor // Write-only binding to the contract IERC20BridgeReceiverFilterer // Log filterer for contract events } -// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC20BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20BridgeReceiverSession struct { Contract *IERC20BridgeReceiver // Generic contract binding to set the session for @@ -22060,31 +22060,31 @@ type IERC20BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20BridgeReceiverCallerSession struct { Contract *IERC20BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20BridgeReceiverTransactorSession struct { Contract *IERC20BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC20BridgeReceiverRaw struct { Contract *IERC20BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCallerRaw struct { Contract *IERC20BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactorRaw struct { Contract *IERC20BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -22221,29 +22221,29 @@ const IERC721BinRuntime = `` // Deprecated: Use IERC721MetaData.Sigs instead. var IERC721FuncSigs = IERC721MetaData.Sigs -// IERC721 is an auto generated Go binding around a Klaytn contract. +// IERC721 is an auto generated Go binding around a Kaia contract. type IERC721 struct { IERC721Caller // Read-only binding to the contract IERC721Transactor // Write-only binding to the contract IERC721Filterer // Log filterer for contract events } -// IERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721Caller is an auto generated read-only Go binding around a Kaia contract. type IERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Session is an auto generated Go binding around a Klaytn contract, +// IERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721Session struct { Contract *IERC721 // Generic contract binding to set the session for @@ -22251,31 +22251,31 @@ type IERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721CallerSession struct { Contract *IERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721TransactorSession struct { Contract *IERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721Raw is an auto generated low-level Go binding around a Kaia contract. type IERC721Raw struct { Contract *IERC721 // Generic contract binding to access the raw methods on } -// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721CallerRaw struct { Contract *IERC721Caller // Generic read-only contract binding to access the raw methods on } -// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721TransactorRaw struct { Contract *IERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -23101,29 +23101,29 @@ const IERC721BridgeReceiverBinRuntime = `` // Deprecated: Use IERC721BridgeReceiverMetaData.Sigs instead. var IERC721BridgeReceiverFuncSigs = IERC721BridgeReceiverMetaData.Sigs -// IERC721BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC721BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC721BridgeReceiver struct { IERC721BridgeReceiverCaller // Read-only binding to the contract IERC721BridgeReceiverTransactor // Write-only binding to the contract IERC721BridgeReceiverFilterer // Log filterer for contract events } -// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721BridgeReceiverSession struct { Contract *IERC721BridgeReceiver // Generic contract binding to set the session for @@ -23131,31 +23131,31 @@ type IERC721BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721BridgeReceiverCallerSession struct { Contract *IERC721BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721BridgeReceiverTransactorSession struct { Contract *IERC721BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721BridgeReceiverRaw struct { Contract *IERC721BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCallerRaw struct { Contract *IERC721BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactorRaw struct { Contract *IERC721BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -23295,29 +23295,29 @@ const IERC721MetadataBinRuntime = `` // Deprecated: Use IERC721MetadataMetaData.Sigs instead. var IERC721MetadataFuncSigs = IERC721MetadataMetaData.Sigs -// IERC721Metadata is an auto generated Go binding around a Klaytn contract. +// IERC721Metadata is an auto generated Go binding around a Kaia contract. type IERC721Metadata struct { IERC721MetadataCaller // Read-only binding to the contract IERC721MetadataTransactor // Write-only binding to the contract IERC721MetadataFilterer // Log filterer for contract events } -// IERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// IERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721MetadataSession struct { Contract *IERC721Metadata // Generic contract binding to set the session for @@ -23325,31 +23325,31 @@ type IERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721MetadataCallerSession struct { Contract *IERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721MetadataTransactorSession struct { Contract *IERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721MetadataRaw struct { Contract *IERC721Metadata // Generic contract binding to access the raw methods on } -// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721MetadataCallerRaw struct { Contract *IERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721MetadataTransactorRaw struct { Contract *IERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -24262,29 +24262,29 @@ const IERC721ReceiverBinRuntime = `` // Deprecated: Use IERC721ReceiverMetaData.Sigs instead. var IERC721ReceiverFuncSigs = IERC721ReceiverMetaData.Sigs -// IERC721Receiver is an auto generated Go binding around a Klaytn contract. +// IERC721Receiver is an auto generated Go binding around a Kaia contract. type IERC721Receiver struct { IERC721ReceiverCaller // Read-only binding to the contract IERC721ReceiverTransactor // Write-only binding to the contract IERC721ReceiverFilterer // Log filterer for contract events } -// IERC721ReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721ReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721ReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721ReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721ReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721ReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721ReceiverSession struct { Contract *IERC721Receiver // Generic contract binding to set the session for @@ -24292,31 +24292,31 @@ type IERC721ReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721ReceiverCallerSession struct { Contract *IERC721ReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721ReceiverTransactorSession struct { Contract *IERC721ReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721ReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721ReceiverRaw struct { Contract *IERC721Receiver // Generic contract binding to access the raw methods on } -// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721ReceiverCallerRaw struct { Contract *IERC721ReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721ReceiverTransactorRaw struct { Contract *IERC721ReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -24446,29 +24446,29 @@ const MinterRoleBinRuntime = `` // Deprecated: Use MinterRoleMetaData.Sigs instead. var MinterRoleFuncSigs = MinterRoleMetaData.Sigs -// MinterRole is an auto generated Go binding around a Klaytn contract. +// MinterRole is an auto generated Go binding around a Kaia contract. type MinterRole struct { MinterRoleCaller // Read-only binding to the contract MinterRoleTransactor // Write-only binding to the contract MinterRoleFilterer // Log filterer for contract events } -// MinterRoleCaller is an auto generated read-only Go binding around a Klaytn contract. +// MinterRoleCaller is an auto generated read-only Go binding around a Kaia contract. type MinterRoleCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MinterRoleTransactor is an auto generated write-only Go binding around a Kaia contract. type MinterRoleTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MinterRoleFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MinterRoleFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleSession is an auto generated Go binding around a Klaytn contract, +// MinterRoleSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MinterRoleSession struct { Contract *MinterRole // Generic contract binding to set the session for @@ -24476,31 +24476,31 @@ type MinterRoleSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MinterRoleCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MinterRoleCallerSession struct { Contract *MinterRoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MinterRoleTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MinterRoleTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MinterRoleTransactorSession struct { Contract *MinterRoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleRaw is an auto generated low-level Go binding around a Klaytn contract. +// MinterRoleRaw is an auto generated low-level Go binding around a Kaia contract. type MinterRoleRaw struct { Contract *MinterRole // Generic contract binding to access the raw methods on } -// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MinterRoleCallerRaw struct { Contract *MinterRoleCaller // Generic read-only contract binding to access the raw methods on } -// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MinterRoleTransactorRaw struct { Contract *MinterRoleTransactor // Generic write-only contract binding to access the raw methods on } @@ -24963,29 +24963,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -24993,31 +24993,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -25389,29 +25389,29 @@ func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &Roles{RolesCaller: RolesCaller{contract: contract}, RolesTransactor: RolesTransactor{contract: contract}, RolesFilterer: RolesFilterer{contract: contract}}, nil } -// Roles is an auto generated Go binding around a Klaytn contract. +// Roles is an auto generated Go binding around a Kaia contract. type Roles struct { RolesCaller // Read-only binding to the contract RolesTransactor // Write-only binding to the contract RolesFilterer // Log filterer for contract events } -// RolesCaller is an auto generated read-only Go binding around a Klaytn contract. +// RolesCaller is an auto generated read-only Go binding around a Kaia contract. type RolesCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RolesTransactor is an auto generated write-only Go binding around a Kaia contract. type RolesTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RolesFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RolesFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesSession is an auto generated Go binding around a Klaytn contract, +// RolesSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RolesSession struct { Contract *Roles // Generic contract binding to set the session for @@ -25419,31 +25419,31 @@ type RolesSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RolesCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RolesCallerSession struct { Contract *RolesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RolesTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RolesTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RolesTransactorSession struct { Contract *RolesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesRaw is an auto generated low-level Go binding around a Klaytn contract. +// RolesRaw is an auto generated low-level Go binding around a Kaia contract. type RolesRaw struct { Contract *Roles // Generic contract binding to access the raw methods on } -// RolesCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RolesCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RolesCallerRaw struct { Contract *RolesCaller // Generic read-only contract binding to access the raw methods on } -// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RolesTransactorRaw struct { Contract *RolesTransactor // Generic write-only contract binding to access the raw methods on } @@ -25565,29 +25565,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -25595,31 +25595,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/reward/all.go b/contracts/contracts/testing/reward/all.go index 6a95cf47b8..5a56818bc3 100644 --- a/contracts/contracts/testing/reward/all.go +++ b/contracts/contracts/testing/reward/all.go @@ -118,29 +118,29 @@ func DeployAddressBookMock(auth *bind.TransactOpts, backend bind.ContractBackend return address, tx, &AddressBookMock{AddressBookMockCaller: AddressBookMockCaller{contract: contract}, AddressBookMockTransactor: AddressBookMockTransactor{contract: contract}, AddressBookMockFilterer: AddressBookMockFilterer{contract: contract}}, nil } -// AddressBookMock is an auto generated Go binding around a Klaytn contract. +// AddressBookMock is an auto generated Go binding around a Kaia contract. type AddressBookMock struct { AddressBookMockCaller // Read-only binding to the contract AddressBookMockTransactor // Write-only binding to the contract AddressBookMockFilterer // Log filterer for contract events } -// AddressBookMockCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookMockCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookMockCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookMockTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookMockTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookMockFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookMockFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockSession is an auto generated Go binding around a Klaytn contract, +// AddressBookMockSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookMockSession struct { Contract *AddressBookMock // Generic contract binding to set the session for @@ -148,31 +148,31 @@ type AddressBookMockSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookMockCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookMockCallerSession struct { Contract *AddressBookMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookMockTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookMockTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookMockTransactorSession struct { Contract *AddressBookMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookMockRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookMockRaw struct { Contract *AddressBookMock // Generic contract binding to access the raw methods on } -// AddressBookMockCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookMockCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookMockCallerRaw struct { Contract *AddressBookMockCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookMockTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookMockTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookMockTransactorRaw struct { Contract *AddressBookMockTransactor // Generic write-only contract binding to access the raw methods on } @@ -1683,29 +1683,29 @@ func DeployAddressBookMockOneCN(auth *bind.TransactOpts, backend bind.ContractBa return address, tx, &AddressBookMockOneCN{AddressBookMockOneCNCaller: AddressBookMockOneCNCaller{contract: contract}, AddressBookMockOneCNTransactor: AddressBookMockOneCNTransactor{contract: contract}, AddressBookMockOneCNFilterer: AddressBookMockOneCNFilterer{contract: contract}}, nil } -// AddressBookMockOneCN is an auto generated Go binding around a Klaytn contract. +// AddressBookMockOneCN is an auto generated Go binding around a Kaia contract. type AddressBookMockOneCN struct { AddressBookMockOneCNCaller // Read-only binding to the contract AddressBookMockOneCNTransactor // Write-only binding to the contract AddressBookMockOneCNFilterer // Log filterer for contract events } -// AddressBookMockOneCNCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookMockOneCNCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookMockOneCNCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockOneCNTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookMockOneCNTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookMockOneCNTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockOneCNFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookMockOneCNFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookMockOneCNFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockOneCNSession is an auto generated Go binding around a Klaytn contract, +// AddressBookMockOneCNSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookMockOneCNSession struct { Contract *AddressBookMockOneCN // Generic contract binding to set the session for @@ -1713,31 +1713,31 @@ type AddressBookMockOneCNSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockOneCNCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookMockOneCNCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookMockOneCNCallerSession struct { Contract *AddressBookMockOneCNCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookMockOneCNTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookMockOneCNTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookMockOneCNTransactorSession struct { Contract *AddressBookMockOneCNTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockOneCNRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookMockOneCNRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookMockOneCNRaw struct { Contract *AddressBookMockOneCN // Generic contract binding to access the raw methods on } -// AddressBookMockOneCNCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookMockOneCNCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookMockOneCNCallerRaw struct { Contract *AddressBookMockOneCNCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookMockOneCNTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookMockOneCNTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookMockOneCNTransactorRaw struct { Contract *AddressBookMockOneCNTransactor // Generic write-only contract binding to access the raw methods on } @@ -2020,29 +2020,29 @@ func DeployAddressBookMockThreeCN(auth *bind.TransactOpts, backend bind.Contract return address, tx, &AddressBookMockThreeCN{AddressBookMockThreeCNCaller: AddressBookMockThreeCNCaller{contract: contract}, AddressBookMockThreeCNTransactor: AddressBookMockThreeCNTransactor{contract: contract}, AddressBookMockThreeCNFilterer: AddressBookMockThreeCNFilterer{contract: contract}}, nil } -// AddressBookMockThreeCN is an auto generated Go binding around a Klaytn contract. +// AddressBookMockThreeCN is an auto generated Go binding around a Kaia contract. type AddressBookMockThreeCN struct { AddressBookMockThreeCNCaller // Read-only binding to the contract AddressBookMockThreeCNTransactor // Write-only binding to the contract AddressBookMockThreeCNFilterer // Log filterer for contract events } -// AddressBookMockThreeCNCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookMockThreeCNCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookMockThreeCNCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockThreeCNTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookMockThreeCNTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookMockThreeCNTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockThreeCNFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookMockThreeCNFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookMockThreeCNFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockThreeCNSession is an auto generated Go binding around a Klaytn contract, +// AddressBookMockThreeCNSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookMockThreeCNSession struct { Contract *AddressBookMockThreeCN // Generic contract binding to set the session for @@ -2050,31 +2050,31 @@ type AddressBookMockThreeCNSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockThreeCNCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookMockThreeCNCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookMockThreeCNCallerSession struct { Contract *AddressBookMockThreeCNCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookMockThreeCNTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookMockThreeCNTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookMockThreeCNTransactorSession struct { Contract *AddressBookMockThreeCNTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockThreeCNRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookMockThreeCNRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookMockThreeCNRaw struct { Contract *AddressBookMockThreeCN // Generic contract binding to access the raw methods on } -// AddressBookMockThreeCNCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookMockThreeCNCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookMockThreeCNCallerRaw struct { Contract *AddressBookMockThreeCNCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookMockThreeCNTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookMockThreeCNTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookMockThreeCNTransactorRaw struct { Contract *AddressBookMockThreeCNTransactor // Generic write-only contract binding to access the raw methods on } @@ -2409,29 +2409,29 @@ func DeployAddressBookMockWrong(auth *bind.TransactOpts, backend bind.ContractBa return address, tx, &AddressBookMockWrong{AddressBookMockWrongCaller: AddressBookMockWrongCaller{contract: contract}, AddressBookMockWrongTransactor: AddressBookMockWrongTransactor{contract: contract}, AddressBookMockWrongFilterer: AddressBookMockWrongFilterer{contract: contract}}, nil } -// AddressBookMockWrong is an auto generated Go binding around a Klaytn contract. +// AddressBookMockWrong is an auto generated Go binding around a Kaia contract. type AddressBookMockWrong struct { AddressBookMockWrongCaller // Read-only binding to the contract AddressBookMockWrongTransactor // Write-only binding to the contract AddressBookMockWrongFilterer // Log filterer for contract events } -// AddressBookMockWrongCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressBookMockWrongCaller is an auto generated read-only Go binding around a Kaia contract. type AddressBookMockWrongCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockWrongTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressBookMockWrongTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressBookMockWrongTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockWrongFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressBookMockWrongFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressBookMockWrongFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressBookMockWrongSession is an auto generated Go binding around a Klaytn contract, +// AddressBookMockWrongSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressBookMockWrongSession struct { Contract *AddressBookMockWrong // Generic contract binding to set the session for @@ -2439,31 +2439,31 @@ type AddressBookMockWrongSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockWrongCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressBookMockWrongCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressBookMockWrongCallerSession struct { Contract *AddressBookMockWrongCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressBookMockWrongTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressBookMockWrongTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressBookMockWrongTransactorSession struct { Contract *AddressBookMockWrongTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressBookMockWrongRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressBookMockWrongRaw is an auto generated low-level Go binding around a Kaia contract. type AddressBookMockWrongRaw struct { Contract *AddressBookMockWrong // Generic contract binding to access the raw methods on } -// AddressBookMockWrongCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressBookMockWrongCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressBookMockWrongCallerRaw struct { Contract *AddressBookMockWrongCaller // Generic read-only contract binding to access the raw methods on } -// AddressBookMockWrongTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressBookMockWrongTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressBookMockWrongTransactorRaw struct { Contract *AddressBookMockWrongTransactor // Generic write-only contract binding to access the raw methods on } @@ -2628,29 +2628,29 @@ func DeployKlaytnReward(auth *bind.TransactOpts, backend bind.ContractBackend) ( return address, tx, &KlaytnReward{KlaytnRewardCaller: KlaytnRewardCaller{contract: contract}, KlaytnRewardTransactor: KlaytnRewardTransactor{contract: contract}, KlaytnRewardFilterer: KlaytnRewardFilterer{contract: contract}}, nil } -// KlaytnReward is an auto generated Go binding around a Klaytn contract. +// KlaytnReward is an auto generated Go binding around a Kaia contract. type KlaytnReward struct { KlaytnRewardCaller // Read-only binding to the contract KlaytnRewardTransactor // Write-only binding to the contract KlaytnRewardFilterer // Log filterer for contract events } -// KlaytnRewardCaller is an auto generated read-only Go binding around a Klaytn contract. +// KlaytnRewardCaller is an auto generated read-only Go binding around a Kaia contract. type KlaytnRewardCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KlaytnRewardTransactor is an auto generated write-only Go binding around a Klaytn contract. +// KlaytnRewardTransactor is an auto generated write-only Go binding around a Kaia contract. type KlaytnRewardTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KlaytnRewardFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// KlaytnRewardFilterer is an auto generated log filtering Go binding around a Kaia contract events. type KlaytnRewardFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KlaytnRewardSession is an auto generated Go binding around a Klaytn contract, +// KlaytnRewardSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type KlaytnRewardSession struct { Contract *KlaytnReward // Generic contract binding to set the session for @@ -2658,31 +2658,31 @@ type KlaytnRewardSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KlaytnRewardCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// KlaytnRewardCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type KlaytnRewardCallerSession struct { Contract *KlaytnRewardCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// KlaytnRewardTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// KlaytnRewardTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type KlaytnRewardTransactorSession struct { Contract *KlaytnRewardTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KlaytnRewardRaw is an auto generated low-level Go binding around a Klaytn contract. +// KlaytnRewardRaw is an auto generated low-level Go binding around a Kaia contract. type KlaytnRewardRaw struct { Contract *KlaytnReward // Generic contract binding to access the raw methods on } -// KlaytnRewardCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// KlaytnRewardCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type KlaytnRewardCallerRaw struct { Contract *KlaytnRewardCaller // Generic read-only contract binding to access the raw methods on } -// KlaytnRewardTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// KlaytnRewardTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type KlaytnRewardTransactorRaw struct { Contract *KlaytnRewardTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/sc_erc20/sc_token.go b/contracts/contracts/testing/sc_erc20/sc_token.go index 6dc0857bc6..185ca14542 100644 --- a/contracts/contracts/testing/sc_erc20/sc_token.go +++ b/contracts/contracts/testing/sc_erc20/sc_token.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -253,29 +253,29 @@ func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &ERC20{ERC20Caller: ERC20Caller{contract: contract}, ERC20Transactor: ERC20Transactor{contract: contract}, ERC20Filterer: ERC20Filterer{contract: contract}}, nil } -// ERC20 is an auto generated Go binding around a Klaytn contract. +// ERC20 is an auto generated Go binding around a Kaia contract. type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events } -// ERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20Caller is an auto generated read-only Go binding around a Kaia contract. type ERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20Session is an auto generated Go binding around a Klaytn contract, +// ERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for @@ -283,31 +283,31 @@ type ERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20Raw is an auto generated low-level Go binding around a Kaia contract. type ERC20Raw struct { Contract *ERC20 // Generic contract binding to access the raw methods on } -// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20CallerRaw struct { Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on } -// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20TransactorRaw struct { Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -939,29 +939,29 @@ func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Burnable{ERC20BurnableCaller: ERC20BurnableCaller{contract: contract}, ERC20BurnableTransactor: ERC20BurnableTransactor{contract: contract}, ERC20BurnableFilterer: ERC20BurnableFilterer{contract: contract}}, nil } -// ERC20Burnable is an auto generated Go binding around a Klaytn contract. +// ERC20Burnable is an auto generated Go binding around a Kaia contract. type ERC20Burnable struct { ERC20BurnableCaller // Read-only binding to the contract ERC20BurnableTransactor // Write-only binding to the contract ERC20BurnableFilterer // Log filterer for contract events } -// ERC20BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC20BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20BurnableSession struct { Contract *ERC20Burnable // Generic contract binding to set the session for @@ -969,31 +969,31 @@ type ERC20BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20BurnableCallerSession struct { Contract *ERC20BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20BurnableTransactorSession struct { Contract *ERC20BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20BurnableRaw struct { Contract *ERC20Burnable // Generic contract binding to access the raw methods on } -// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20BurnableCallerRaw struct { Contract *ERC20BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20BurnableTransactorRaw struct { Contract *ERC20BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -1669,29 +1669,29 @@ func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC20Mintable{ERC20MintableCaller: ERC20MintableCaller{contract: contract}, ERC20MintableTransactor: ERC20MintableTransactor{contract: contract}, ERC20MintableFilterer: ERC20MintableFilterer{contract: contract}}, nil } -// ERC20Mintable is an auto generated Go binding around a Klaytn contract. +// ERC20Mintable is an auto generated Go binding around a Kaia contract. type ERC20Mintable struct { ERC20MintableCaller // Read-only binding to the contract ERC20MintableTransactor // Write-only binding to the contract ERC20MintableFilterer // Log filterer for contract events } -// ERC20MintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20MintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20MintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20MintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20MintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20MintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20MintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20MintableSession is an auto generated Go binding around a Klaytn contract, +// ERC20MintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20MintableSession struct { Contract *ERC20Mintable // Generic contract binding to set the session for @@ -1699,31 +1699,31 @@ type ERC20MintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20MintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20MintableCallerSession struct { Contract *ERC20MintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20MintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20MintableTransactorSession struct { Contract *ERC20MintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20MintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20MintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20MintableRaw struct { Contract *ERC20Mintable // Generic contract binding to access the raw methods on } -// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20MintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20MintableCallerRaw struct { Contract *ERC20MintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20MintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20MintableTransactorRaw struct { Contract *ERC20MintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2712,29 +2712,29 @@ const ERC20ServiceChainBinRuntime = `` // Deprecated: Use ERC20ServiceChainMetaData.Sigs instead. var ERC20ServiceChainFuncSigs = ERC20ServiceChainMetaData.Sigs -// ERC20ServiceChain is an auto generated Go binding around a Klaytn contract. +// ERC20ServiceChain is an auto generated Go binding around a Kaia contract. type ERC20ServiceChain struct { ERC20ServiceChainCaller // Read-only binding to the contract ERC20ServiceChainTransactor // Write-only binding to the contract ERC20ServiceChainFilterer // Log filterer for contract events } -// ERC20ServiceChainCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC20ServiceChainCaller is an auto generated read-only Go binding around a Kaia contract. type ERC20ServiceChainCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20ServiceChainTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC20ServiceChainTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC20ServiceChainTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20ServiceChainFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC20ServiceChainFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC20ServiceChainFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC20ServiceChainSession is an auto generated Go binding around a Klaytn contract, +// ERC20ServiceChainSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC20ServiceChainSession struct { Contract *ERC20ServiceChain // Generic contract binding to set the session for @@ -2742,31 +2742,31 @@ type ERC20ServiceChainSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20ServiceChainCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC20ServiceChainCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC20ServiceChainCallerSession struct { Contract *ERC20ServiceChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC20ServiceChainTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC20ServiceChainTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC20ServiceChainTransactorSession struct { Contract *ERC20ServiceChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC20ServiceChainRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC20ServiceChainRaw is an auto generated low-level Go binding around a Kaia contract. type ERC20ServiceChainRaw struct { Contract *ERC20ServiceChain // Generic contract binding to access the raw methods on } -// ERC20ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC20ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC20ServiceChainCallerRaw struct { Contract *ERC20ServiceChainCaller // Generic read-only contract binding to access the raw methods on } -// ERC20ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC20ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC20ServiceChainTransactorRaw struct { Contract *ERC20ServiceChainTransactor // Generic write-only contract binding to access the raw methods on } @@ -3693,29 +3693,29 @@ const IERC20BinRuntime = `` // Deprecated: Use IERC20MetaData.Sigs instead. var IERC20FuncSigs = IERC20MetaData.Sigs -// IERC20 is an auto generated Go binding around a Klaytn contract. +// IERC20 is an auto generated Go binding around a Kaia contract. type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events } -// IERC20Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20Caller is an auto generated read-only Go binding around a Kaia contract. type IERC20Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC20Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20Session is an auto generated Go binding around a Klaytn contract, +// IERC20Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20Session struct { Contract *IERC20 // Generic contract binding to set the session for @@ -3723,31 +3723,31 @@ type IERC20Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20Raw is an auto generated low-level Go binding around a Kaia contract. type IERC20Raw struct { Contract *IERC20 // Generic contract binding to access the raw methods on } -// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20CallerRaw struct { Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on } -// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20TransactorRaw struct { Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on } @@ -4306,29 +4306,29 @@ const IERC20BridgeReceiverBinRuntime = `` // Deprecated: Use IERC20BridgeReceiverMetaData.Sigs instead. var IERC20BridgeReceiverFuncSigs = IERC20BridgeReceiverMetaData.Sigs -// IERC20BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC20BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC20BridgeReceiver struct { IERC20BridgeReceiverCaller // Read-only binding to the contract IERC20BridgeReceiverTransactor // Write-only binding to the contract IERC20BridgeReceiverFilterer // Log filterer for contract events } -// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC20BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC20BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC20BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC20BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC20BridgeReceiverSession struct { Contract *IERC20BridgeReceiver // Generic contract binding to set the session for @@ -4336,31 +4336,31 @@ type IERC20BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC20BridgeReceiverCallerSession struct { Contract *IERC20BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC20BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC20BridgeReceiverTransactorSession struct { Contract *IERC20BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC20BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC20BridgeReceiverRaw struct { Contract *IERC20BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC20BridgeReceiverCallerRaw struct { Contract *IERC20BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC20BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC20BridgeReceiverTransactorRaw struct { Contract *IERC20BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -4490,29 +4490,29 @@ const MinterRoleBinRuntime = `` // Deprecated: Use MinterRoleMetaData.Sigs instead. var MinterRoleFuncSigs = MinterRoleMetaData.Sigs -// MinterRole is an auto generated Go binding around a Klaytn contract. +// MinterRole is an auto generated Go binding around a Kaia contract. type MinterRole struct { MinterRoleCaller // Read-only binding to the contract MinterRoleTransactor // Write-only binding to the contract MinterRoleFilterer // Log filterer for contract events } -// MinterRoleCaller is an auto generated read-only Go binding around a Klaytn contract. +// MinterRoleCaller is an auto generated read-only Go binding around a Kaia contract. type MinterRoleCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MinterRoleTransactor is an auto generated write-only Go binding around a Kaia contract. type MinterRoleTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MinterRoleFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MinterRoleFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleSession is an auto generated Go binding around a Klaytn contract, +// MinterRoleSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MinterRoleSession struct { Contract *MinterRole // Generic contract binding to set the session for @@ -4520,31 +4520,31 @@ type MinterRoleSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MinterRoleCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MinterRoleCallerSession struct { Contract *MinterRoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MinterRoleTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MinterRoleTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MinterRoleTransactorSession struct { Contract *MinterRoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleRaw is an auto generated low-level Go binding around a Klaytn contract. +// MinterRoleRaw is an auto generated low-level Go binding around a Kaia contract. type MinterRoleRaw struct { Contract *MinterRole // Generic contract binding to access the raw methods on } -// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MinterRoleCallerRaw struct { Contract *MinterRoleCaller // Generic read-only contract binding to access the raw methods on } -// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MinterRoleTransactorRaw struct { Contract *MinterRoleTransactor // Generic write-only contract binding to access the raw methods on } @@ -5007,29 +5007,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -5037,31 +5037,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -5433,29 +5433,29 @@ func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &Roles{RolesCaller: RolesCaller{contract: contract}, RolesTransactor: RolesTransactor{contract: contract}, RolesFilterer: RolesFilterer{contract: contract}}, nil } -// Roles is an auto generated Go binding around a Klaytn contract. +// Roles is an auto generated Go binding around a Kaia contract. type Roles struct { RolesCaller // Read-only binding to the contract RolesTransactor // Write-only binding to the contract RolesFilterer // Log filterer for contract events } -// RolesCaller is an auto generated read-only Go binding around a Klaytn contract. +// RolesCaller is an auto generated read-only Go binding around a Kaia contract. type RolesCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RolesTransactor is an auto generated write-only Go binding around a Kaia contract. type RolesTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RolesFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RolesFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesSession is an auto generated Go binding around a Klaytn contract, +// RolesSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RolesSession struct { Contract *Roles // Generic contract binding to set the session for @@ -5463,31 +5463,31 @@ type RolesSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RolesCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RolesCallerSession struct { Contract *RolesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RolesTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RolesTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RolesTransactorSession struct { Contract *RolesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesRaw is an auto generated low-level Go binding around a Klaytn contract. +// RolesRaw is an auto generated low-level Go binding around a Kaia contract. type RolesRaw struct { Contract *Roles // Generic contract binding to access the raw methods on } -// RolesCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RolesCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RolesCallerRaw struct { Contract *RolesCaller // Generic read-only contract binding to access the raw methods on } -// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RolesTransactorRaw struct { Contract *RolesTransactor // Generic write-only contract binding to access the raw methods on } @@ -5609,29 +5609,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -5639,31 +5639,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } @@ -5816,29 +5816,29 @@ func DeployServiceChainToken(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &ServiceChainToken{ServiceChainTokenCaller: ServiceChainTokenCaller{contract: contract}, ServiceChainTokenTransactor: ServiceChainTokenTransactor{contract: contract}, ServiceChainTokenFilterer: ServiceChainTokenFilterer{contract: contract}}, nil } -// ServiceChainToken is an auto generated Go binding around a Klaytn contract. +// ServiceChainToken is an auto generated Go binding around a Kaia contract. type ServiceChainToken struct { ServiceChainTokenCaller // Read-only binding to the contract ServiceChainTokenTransactor // Write-only binding to the contract ServiceChainTokenFilterer // Log filterer for contract events } -// ServiceChainTokenCaller is an auto generated read-only Go binding around a Klaytn contract. +// ServiceChainTokenCaller is an auto generated read-only Go binding around a Kaia contract. type ServiceChainTokenCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainTokenTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ServiceChainTokenTransactor is an auto generated write-only Go binding around a Kaia contract. type ServiceChainTokenTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainTokenFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ServiceChainTokenFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ServiceChainTokenFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainTokenSession is an auto generated Go binding around a Klaytn contract, +// ServiceChainTokenSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ServiceChainTokenSession struct { Contract *ServiceChainToken // Generic contract binding to set the session for @@ -5846,31 +5846,31 @@ type ServiceChainTokenSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainTokenCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ServiceChainTokenCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ServiceChainTokenCallerSession struct { Contract *ServiceChainTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ServiceChainTokenTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ServiceChainTokenTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ServiceChainTokenTransactorSession struct { Contract *ServiceChainTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainTokenRaw is an auto generated low-level Go binding around a Klaytn contract. +// ServiceChainTokenRaw is an auto generated low-level Go binding around a Kaia contract. type ServiceChainTokenRaw struct { Contract *ServiceChainToken // Generic contract binding to access the raw methods on } -// ServiceChainTokenCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ServiceChainTokenCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ServiceChainTokenCallerRaw struct { Contract *ServiceChainTokenCaller // Generic read-only contract binding to access the raw methods on } -// ServiceChainTokenTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ServiceChainTokenTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ServiceChainTokenTransactorRaw struct { Contract *ServiceChainTokenTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/sc_erc721/sc_nft.go b/contracts/contracts/testing/sc_erc721/sc_nft.go index 84e70b6f10..5b32e6f48f 100644 --- a/contracts/contracts/testing/sc_erc721/sc_nft.go +++ b/contracts/contracts/testing/sc_erc721/sc_nft.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -239,29 +239,29 @@ func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Counters{CountersCaller: CountersCaller{contract: contract}, CountersTransactor: CountersTransactor{contract: contract}, CountersFilterer: CountersFilterer{contract: contract}}, nil } -// Counters is an auto generated Go binding around a Klaytn contract. +// Counters is an auto generated Go binding around a Kaia contract. type Counters struct { CountersCaller // Read-only binding to the contract CountersTransactor // Write-only binding to the contract CountersFilterer // Log filterer for contract events } -// CountersCaller is an auto generated read-only Go binding around a Klaytn contract. +// CountersCaller is an auto generated read-only Go binding around a Kaia contract. type CountersCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CountersTransactor is an auto generated write-only Go binding around a Kaia contract. type CountersTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CountersFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CountersFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersSession is an auto generated Go binding around a Klaytn contract, +// CountersSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CountersSession struct { Contract *Counters // Generic contract binding to set the session for @@ -269,31 +269,31 @@ type CountersSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CountersCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CountersCallerSession struct { Contract *CountersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CountersTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CountersTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CountersTransactorSession struct { Contract *CountersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersRaw is an auto generated low-level Go binding around a Klaytn contract. +// CountersRaw is an auto generated low-level Go binding around a Kaia contract. type CountersRaw struct { Contract *Counters // Generic contract binding to access the raw methods on } -// CountersCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CountersCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CountersCallerRaw struct { Contract *CountersCaller // Generic read-only contract binding to access the raw methods on } -// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CountersTransactorRaw struct { Contract *CountersTransactor // Generic write-only contract binding to access the raw methods on } @@ -400,29 +400,29 @@ const ERC165BinRuntime = `` // Deprecated: Use ERC165MetaData.Sigs instead. var ERC165FuncSigs = ERC165MetaData.Sigs -// ERC165 is an auto generated Go binding around a Klaytn contract. +// ERC165 is an auto generated Go binding around a Kaia contract. type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events } -// ERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC165Caller is an auto generated read-only Go binding around a Kaia contract. type ERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Session is an auto generated Go binding around a Klaytn contract, +// ERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC165Session struct { Contract *ERC165 // Generic contract binding to set the session for @@ -430,31 +430,31 @@ type ERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC165Raw is an auto generated low-level Go binding around a Kaia contract. type ERC165Raw struct { Contract *ERC165 // Generic contract binding to access the raw methods on } -// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC165CallerRaw struct { Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on } -// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC165TransactorRaw struct { Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -621,29 +621,29 @@ func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common return address, tx, &ERC721{ERC721Caller: ERC721Caller{contract: contract}, ERC721Transactor: ERC721Transactor{contract: contract}, ERC721Filterer: ERC721Filterer{contract: contract}}, nil } -// ERC721 is an auto generated Go binding around a Klaytn contract. +// ERC721 is an auto generated Go binding around a Kaia contract. type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events } -// ERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721Caller is an auto generated read-only Go binding around a Kaia contract. type ERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Session is an auto generated Go binding around a Klaytn contract, +// ERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721Session struct { Contract *ERC721 // Generic contract binding to set the session for @@ -651,31 +651,31 @@ type ERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721Raw is an auto generated low-level Go binding around a Kaia contract. type ERC721Raw struct { Contract *ERC721 // Generic contract binding to access the raw methods on } -// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721CallerRaw struct { Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on } -// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721TransactorRaw struct { Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -1533,29 +1533,29 @@ func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC721Burnable{ERC721BurnableCaller: ERC721BurnableCaller{contract: contract}, ERC721BurnableTransactor: ERC721BurnableTransactor{contract: contract}, ERC721BurnableFilterer: ERC721BurnableFilterer{contract: contract}}, nil } -// ERC721Burnable is an auto generated Go binding around a Klaytn contract. +// ERC721Burnable is an auto generated Go binding around a Kaia contract. type ERC721Burnable struct { ERC721BurnableCaller // Read-only binding to the contract ERC721BurnableTransactor // Write-only binding to the contract ERC721BurnableFilterer // Log filterer for contract events } -// ERC721BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC721BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721BurnableSession struct { Contract *ERC721Burnable // Generic contract binding to set the session for @@ -1563,31 +1563,31 @@ type ERC721BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721BurnableCallerSession struct { Contract *ERC721BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721BurnableTransactorSession struct { Contract *ERC721BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721BurnableRaw struct { Contract *ERC721Burnable // Generic contract binding to access the raw methods on } -// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721BurnableCallerRaw struct { Contract *ERC721BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721BurnableTransactorRaw struct { Contract *ERC721BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2468,29 +2468,29 @@ func DeployERC721Enumerable(auth *bind.TransactOpts, backend bind.ContractBacken return address, tx, &ERC721Enumerable{ERC721EnumerableCaller: ERC721EnumerableCaller{contract: contract}, ERC721EnumerableTransactor: ERC721EnumerableTransactor{contract: contract}, ERC721EnumerableFilterer: ERC721EnumerableFilterer{contract: contract}}, nil } -// ERC721Enumerable is an auto generated Go binding around a Klaytn contract. +// ERC721Enumerable is an auto generated Go binding around a Kaia contract. type ERC721Enumerable struct { ERC721EnumerableCaller // Read-only binding to the contract ERC721EnumerableTransactor // Write-only binding to the contract ERC721EnumerableFilterer // Log filterer for contract events } -// ERC721EnumerableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721EnumerableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721EnumerableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721EnumerableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721EnumerableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721EnumerableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721EnumerableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721EnumerableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721EnumerableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721EnumerableSession is an auto generated Go binding around a Klaytn contract, +// ERC721EnumerableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721EnumerableSession struct { Contract *ERC721Enumerable // Generic contract binding to set the session for @@ -2498,31 +2498,31 @@ type ERC721EnumerableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721EnumerableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721EnumerableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721EnumerableCallerSession struct { Contract *ERC721EnumerableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721EnumerableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721EnumerableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721EnumerableTransactorSession struct { Contract *ERC721EnumerableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721EnumerableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721EnumerableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721EnumerableRaw struct { Contract *ERC721Enumerable // Generic contract binding to access the raw methods on } -// ERC721EnumerableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721EnumerableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721EnumerableCallerRaw struct { Contract *ERC721EnumerableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721EnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721EnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721EnumerableTransactorRaw struct { Contract *ERC721EnumerableTransactor // Generic write-only contract binding to access the raw methods on } @@ -3472,29 +3472,29 @@ func DeployERC721Full(auth *bind.TransactOpts, backend bind.ContractBackend, nam return address, tx, &ERC721Full{ERC721FullCaller: ERC721FullCaller{contract: contract}, ERC721FullTransactor: ERC721FullTransactor{contract: contract}, ERC721FullFilterer: ERC721FullFilterer{contract: contract}}, nil } -// ERC721Full is an auto generated Go binding around a Klaytn contract. +// ERC721Full is an auto generated Go binding around a Kaia contract. type ERC721Full struct { ERC721FullCaller // Read-only binding to the contract ERC721FullTransactor // Write-only binding to the contract ERC721FullFilterer // Log filterer for contract events } -// ERC721FullCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721FullCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721FullCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721FullTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721FullTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721FullTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721FullFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721FullFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721FullFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721FullSession is an auto generated Go binding around a Klaytn contract, +// ERC721FullSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721FullSession struct { Contract *ERC721Full // Generic contract binding to set the session for @@ -3502,31 +3502,31 @@ type ERC721FullSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721FullCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721FullCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721FullCallerSession struct { Contract *ERC721FullCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721FullTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721FullTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721FullTransactorSession struct { Contract *ERC721FullTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721FullRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721FullRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721FullRaw struct { Contract *ERC721Full // Generic contract binding to access the raw methods on } -// ERC721FullCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721FullCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721FullCallerRaw struct { Contract *ERC721FullCaller // Generic read-only contract binding to access the raw methods on } -// ERC721FullTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721FullTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721FullTransactorRaw struct { Contract *ERC721FullTransactor // Generic write-only contract binding to access the raw methods on } @@ -4560,29 +4560,29 @@ func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, return address, tx, &ERC721Metadata{ERC721MetadataCaller: ERC721MetadataCaller{contract: contract}, ERC721MetadataTransactor: ERC721MetadataTransactor{contract: contract}, ERC721MetadataFilterer: ERC721MetadataFilterer{contract: contract}}, nil } -// ERC721Metadata is an auto generated Go binding around a Klaytn contract. +// ERC721Metadata is an auto generated Go binding around a Kaia contract. type ERC721Metadata struct { ERC721MetadataCaller // Read-only binding to the contract ERC721MetadataTransactor // Write-only binding to the contract ERC721MetadataFilterer // Log filterer for contract events } -// ERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataSession struct { Contract *ERC721Metadata // Generic contract binding to set the session for @@ -4590,31 +4590,31 @@ type ERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataCallerSession struct { Contract *ERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataTransactorSession struct { Contract *ERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataRaw struct { Contract *ERC721Metadata // Generic contract binding to access the raw methods on } -// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataCallerRaw struct { Contract *ERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataTransactorRaw struct { Contract *ERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -5543,29 +5543,29 @@ const ERC721MetadataMintableBinRuntime = `` // Deprecated: Use ERC721MetadataMintableMetaData.Sigs instead. var ERC721MetadataMintableFuncSigs = ERC721MetadataMintableMetaData.Sigs -// ERC721MetadataMintable is an auto generated Go binding around a Klaytn contract. +// ERC721MetadataMintable is an auto generated Go binding around a Kaia contract. type ERC721MetadataMintable struct { ERC721MetadataMintableCaller // Read-only binding to the contract ERC721MetadataMintableTransactor // Write-only binding to the contract ERC721MetadataMintableFilterer // Log filterer for contract events } -// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MetadataMintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MetadataMintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MetadataMintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MetadataMintableSession is an auto generated Go binding around a Klaytn contract, +// ERC721MetadataMintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MetadataMintableSession struct { Contract *ERC721MetadataMintable // Generic contract binding to set the session for @@ -5573,31 +5573,31 @@ type ERC721MetadataMintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MetadataMintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MetadataMintableCallerSession struct { Contract *ERC721MetadataMintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MetadataMintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MetadataMintableTransactorSession struct { Contract *ERC721MetadataMintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MetadataMintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MetadataMintableRaw struct { Contract *ERC721MetadataMintable // Generic contract binding to access the raw methods on } -// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MetadataMintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MetadataMintableCallerRaw struct { Contract *ERC721MetadataMintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MetadataMintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MetadataMintableTransactorRaw struct { Contract *ERC721MetadataMintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -6900,29 +6900,29 @@ const ERC721ServiceChainBinRuntime = `` // Deprecated: Use ERC721ServiceChainMetaData.Sigs instead. var ERC721ServiceChainFuncSigs = ERC721ServiceChainMetaData.Sigs -// ERC721ServiceChain is an auto generated Go binding around a Klaytn contract. +// ERC721ServiceChain is an auto generated Go binding around a Kaia contract. type ERC721ServiceChain struct { ERC721ServiceChainCaller // Read-only binding to the contract ERC721ServiceChainTransactor // Write-only binding to the contract ERC721ServiceChainFilterer // Log filterer for contract events } -// ERC721ServiceChainCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721ServiceChainCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721ServiceChainCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721ServiceChainTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721ServiceChainTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721ServiceChainFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721ServiceChainFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainSession is an auto generated Go binding around a Klaytn contract, +// ERC721ServiceChainSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721ServiceChainSession struct { Contract *ERC721ServiceChain // Generic contract binding to set the session for @@ -6930,31 +6930,31 @@ type ERC721ServiceChainSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721ServiceChainCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721ServiceChainCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721ServiceChainCallerSession struct { Contract *ERC721ServiceChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721ServiceChainTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721ServiceChainTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721ServiceChainTransactorSession struct { Contract *ERC721ServiceChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721ServiceChainRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721ServiceChainRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721ServiceChainRaw struct { Contract *ERC721ServiceChain // Generic contract binding to access the raw methods on } -// ERC721ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721ServiceChainCallerRaw struct { Contract *ERC721ServiceChainCaller // Generic read-only contract binding to access the raw methods on } -// ERC721ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721ServiceChainTransactorRaw struct { Contract *ERC721ServiceChainTransactor // Generic write-only contract binding to access the raw methods on } @@ -8101,29 +8101,29 @@ const IERC165BinRuntime = `` // Deprecated: Use IERC165MetaData.Sigs instead. var IERC165FuncSigs = IERC165MetaData.Sigs -// IERC165 is an auto generated Go binding around a Klaytn contract. +// IERC165 is an auto generated Go binding around a Kaia contract. type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events } -// IERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC165Caller is an auto generated read-only Go binding around a Kaia contract. type IERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Session is an auto generated Go binding around a Klaytn contract, +// IERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for @@ -8131,31 +8131,31 @@ type IERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC165Raw is an auto generated low-level Go binding around a Kaia contract. type IERC165Raw struct { Contract *IERC165 // Generic contract binding to access the raw methods on } -// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC165CallerRaw struct { Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on } -// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC165TransactorRaw struct { Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -8300,29 +8300,29 @@ const IERC721BinRuntime = `` // Deprecated: Use IERC721MetaData.Sigs instead. var IERC721FuncSigs = IERC721MetaData.Sigs -// IERC721 is an auto generated Go binding around a Klaytn contract. +// IERC721 is an auto generated Go binding around a Kaia contract. type IERC721 struct { IERC721Caller // Read-only binding to the contract IERC721Transactor // Write-only binding to the contract IERC721Filterer // Log filterer for contract events } -// IERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721Caller is an auto generated read-only Go binding around a Kaia contract. type IERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Session is an auto generated Go binding around a Klaytn contract, +// IERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721Session struct { Contract *IERC721 // Generic contract binding to set the session for @@ -8330,31 +8330,31 @@ type IERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721CallerSession struct { Contract *IERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721TransactorSession struct { Contract *IERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721Raw is an auto generated low-level Go binding around a Kaia contract. type IERC721Raw struct { Contract *IERC721 // Generic contract binding to access the raw methods on } -// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721CallerRaw struct { Contract *IERC721Caller // Generic read-only contract binding to access the raw methods on } -// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721TransactorRaw struct { Contract *IERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -9180,29 +9180,29 @@ const IERC721BridgeReceiverBinRuntime = `` // Deprecated: Use IERC721BridgeReceiverMetaData.Sigs instead. var IERC721BridgeReceiverFuncSigs = IERC721BridgeReceiverMetaData.Sigs -// IERC721BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC721BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC721BridgeReceiver struct { IERC721BridgeReceiverCaller // Read-only binding to the contract IERC721BridgeReceiverTransactor // Write-only binding to the contract IERC721BridgeReceiverFilterer // Log filterer for contract events } -// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721BridgeReceiverSession struct { Contract *IERC721BridgeReceiver // Generic contract binding to set the session for @@ -9210,31 +9210,31 @@ type IERC721BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721BridgeReceiverCallerSession struct { Contract *IERC721BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721BridgeReceiverTransactorSession struct { Contract *IERC721BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721BridgeReceiverRaw struct { Contract *IERC721BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCallerRaw struct { Contract *IERC721BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactorRaw struct { Contract *IERC721BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -9374,29 +9374,29 @@ const IERC721EnumerableBinRuntime = `` // Deprecated: Use IERC721EnumerableMetaData.Sigs instead. var IERC721EnumerableFuncSigs = IERC721EnumerableMetaData.Sigs -// IERC721Enumerable is an auto generated Go binding around a Klaytn contract. +// IERC721Enumerable is an auto generated Go binding around a Kaia contract. type IERC721Enumerable struct { IERC721EnumerableCaller // Read-only binding to the contract IERC721EnumerableTransactor // Write-only binding to the contract IERC721EnumerableFilterer // Log filterer for contract events } -// IERC721EnumerableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721EnumerableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721EnumerableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721EnumerableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721EnumerableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721EnumerableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721EnumerableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721EnumerableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721EnumerableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721EnumerableSession is an auto generated Go binding around a Klaytn contract, +// IERC721EnumerableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721EnumerableSession struct { Contract *IERC721Enumerable // Generic contract binding to set the session for @@ -9404,31 +9404,31 @@ type IERC721EnumerableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721EnumerableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721EnumerableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721EnumerableCallerSession struct { Contract *IERC721EnumerableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721EnumerableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721EnumerableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721EnumerableTransactorSession struct { Contract *IERC721EnumerableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721EnumerableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721EnumerableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721EnumerableRaw struct { Contract *IERC721Enumerable // Generic contract binding to access the raw methods on } -// IERC721EnumerableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721EnumerableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721EnumerableCallerRaw struct { Contract *IERC721EnumerableCaller // Generic read-only contract binding to access the raw methods on } -// IERC721EnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721EnumerableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721EnumerableTransactorRaw struct { Contract *IERC721EnumerableTransactor // Generic write-only contract binding to access the raw methods on } @@ -10353,29 +10353,29 @@ const IERC721MetadataBinRuntime = `` // Deprecated: Use IERC721MetadataMetaData.Sigs instead. var IERC721MetadataFuncSigs = IERC721MetadataMetaData.Sigs -// IERC721Metadata is an auto generated Go binding around a Klaytn contract. +// IERC721Metadata is an auto generated Go binding around a Kaia contract. type IERC721Metadata struct { IERC721MetadataCaller // Read-only binding to the contract IERC721MetadataTransactor // Write-only binding to the contract IERC721MetadataFilterer // Log filterer for contract events } -// IERC721MetadataCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721MetadataCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721MetadataCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721MetadataTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721MetadataFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721MetadataFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721MetadataSession is an auto generated Go binding around a Klaytn contract, +// IERC721MetadataSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721MetadataSession struct { Contract *IERC721Metadata // Generic contract binding to set the session for @@ -10383,31 +10383,31 @@ type IERC721MetadataSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721MetadataCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721MetadataCallerSession struct { Contract *IERC721MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721MetadataTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721MetadataTransactorSession struct { Contract *IERC721MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721MetadataRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721MetadataRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721MetadataRaw struct { Contract *IERC721Metadata // Generic contract binding to access the raw methods on } -// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721MetadataCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721MetadataCallerRaw struct { Contract *IERC721MetadataCaller // Generic read-only contract binding to access the raw methods on } -// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721MetadataTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721MetadataTransactorRaw struct { Contract *IERC721MetadataTransactor // Generic write-only contract binding to access the raw methods on } @@ -11320,29 +11320,29 @@ const IERC721ReceiverBinRuntime = `` // Deprecated: Use IERC721ReceiverMetaData.Sigs instead. var IERC721ReceiverFuncSigs = IERC721ReceiverMetaData.Sigs -// IERC721Receiver is an auto generated Go binding around a Klaytn contract. +// IERC721Receiver is an auto generated Go binding around a Kaia contract. type IERC721Receiver struct { IERC721ReceiverCaller // Read-only binding to the contract IERC721ReceiverTransactor // Write-only binding to the contract IERC721ReceiverFilterer // Log filterer for contract events } -// IERC721ReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721ReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721ReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721ReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721ReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721ReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721ReceiverSession struct { Contract *IERC721Receiver // Generic contract binding to set the session for @@ -11350,31 +11350,31 @@ type IERC721ReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721ReceiverCallerSession struct { Contract *IERC721ReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721ReceiverTransactorSession struct { Contract *IERC721ReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721ReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721ReceiverRaw struct { Contract *IERC721Receiver // Generic contract binding to access the raw methods on } -// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721ReceiverCallerRaw struct { Contract *IERC721ReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721ReceiverTransactorRaw struct { Contract *IERC721ReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -11504,29 +11504,29 @@ const MinterRoleBinRuntime = `` // Deprecated: Use MinterRoleMetaData.Sigs instead. var MinterRoleFuncSigs = MinterRoleMetaData.Sigs -// MinterRole is an auto generated Go binding around a Klaytn contract. +// MinterRole is an auto generated Go binding around a Kaia contract. type MinterRole struct { MinterRoleCaller // Read-only binding to the contract MinterRoleTransactor // Write-only binding to the contract MinterRoleFilterer // Log filterer for contract events } -// MinterRoleCaller is an auto generated read-only Go binding around a Klaytn contract. +// MinterRoleCaller is an auto generated read-only Go binding around a Kaia contract. type MinterRoleCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MinterRoleTransactor is an auto generated write-only Go binding around a Kaia contract. type MinterRoleTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MinterRoleFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MinterRoleFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleSession is an auto generated Go binding around a Klaytn contract, +// MinterRoleSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MinterRoleSession struct { Contract *MinterRole // Generic contract binding to set the session for @@ -11534,31 +11534,31 @@ type MinterRoleSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MinterRoleCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MinterRoleCallerSession struct { Contract *MinterRoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MinterRoleTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MinterRoleTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MinterRoleTransactorSession struct { Contract *MinterRoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleRaw is an auto generated low-level Go binding around a Klaytn contract. +// MinterRoleRaw is an auto generated low-level Go binding around a Kaia contract. type MinterRoleRaw struct { Contract *MinterRole // Generic contract binding to access the raw methods on } -// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MinterRoleCallerRaw struct { Contract *MinterRoleCaller // Generic read-only contract binding to access the raw methods on } -// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MinterRoleTransactorRaw struct { Contract *MinterRoleTransactor // Generic write-only contract binding to access the raw methods on } @@ -12021,29 +12021,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -12051,31 +12051,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -12447,29 +12447,29 @@ func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &Roles{RolesCaller: RolesCaller{contract: contract}, RolesTransactor: RolesTransactor{contract: contract}, RolesFilterer: RolesFilterer{contract: contract}}, nil } -// Roles is an auto generated Go binding around a Klaytn contract. +// Roles is an auto generated Go binding around a Kaia contract. type Roles struct { RolesCaller // Read-only binding to the contract RolesTransactor // Write-only binding to the contract RolesFilterer // Log filterer for contract events } -// RolesCaller is an auto generated read-only Go binding around a Klaytn contract. +// RolesCaller is an auto generated read-only Go binding around a Kaia contract. type RolesCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RolesTransactor is an auto generated write-only Go binding around a Kaia contract. type RolesTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RolesFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RolesFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesSession is an auto generated Go binding around a Klaytn contract, +// RolesSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RolesSession struct { Contract *Roles // Generic contract binding to set the session for @@ -12477,31 +12477,31 @@ type RolesSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RolesCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RolesCallerSession struct { Contract *RolesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RolesTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RolesTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RolesTransactorSession struct { Contract *RolesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesRaw is an auto generated low-level Go binding around a Klaytn contract. +// RolesRaw is an auto generated low-level Go binding around a Kaia contract. type RolesRaw struct { Contract *Roles // Generic contract binding to access the raw methods on } -// RolesCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RolesCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RolesCallerRaw struct { Contract *RolesCaller // Generic read-only contract binding to access the raw methods on } -// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RolesTransactorRaw struct { Contract *RolesTransactor // Generic write-only contract binding to access the raw methods on } @@ -12623,29 +12623,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -12653,31 +12653,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } @@ -12834,29 +12834,29 @@ func DeployServiceChainNFT(auth *bind.TransactOpts, backend bind.ContractBackend return address, tx, &ServiceChainNFT{ServiceChainNFTCaller: ServiceChainNFTCaller{contract: contract}, ServiceChainNFTTransactor: ServiceChainNFTTransactor{contract: contract}, ServiceChainNFTFilterer: ServiceChainNFTFilterer{contract: contract}}, nil } -// ServiceChainNFT is an auto generated Go binding around a Klaytn contract. +// ServiceChainNFT is an auto generated Go binding around a Kaia contract. type ServiceChainNFT struct { ServiceChainNFTCaller // Read-only binding to the contract ServiceChainNFTTransactor // Write-only binding to the contract ServiceChainNFTFilterer // Log filterer for contract events } -// ServiceChainNFTCaller is an auto generated read-only Go binding around a Klaytn contract. +// ServiceChainNFTCaller is an auto generated read-only Go binding around a Kaia contract. type ServiceChainNFTCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ServiceChainNFTTransactor is an auto generated write-only Go binding around a Kaia contract. type ServiceChainNFTTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ServiceChainNFTFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ServiceChainNFTFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTSession is an auto generated Go binding around a Klaytn contract, +// ServiceChainNFTSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ServiceChainNFTSession struct { Contract *ServiceChainNFT // Generic contract binding to set the session for @@ -12864,31 +12864,31 @@ type ServiceChainNFTSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainNFTCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ServiceChainNFTCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ServiceChainNFTCallerSession struct { Contract *ServiceChainNFTCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ServiceChainNFTTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ServiceChainNFTTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ServiceChainNFTTransactorSession struct { Contract *ServiceChainNFTTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainNFTRaw is an auto generated low-level Go binding around a Klaytn contract. +// ServiceChainNFTRaw is an auto generated low-level Go binding around a Kaia contract. type ServiceChainNFTRaw struct { Contract *ServiceChainNFT // Generic contract binding to access the raw methods on } -// ServiceChainNFTCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ServiceChainNFTCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ServiceChainNFTCallerRaw struct { Contract *ServiceChainNFTCaller // Generic read-only contract binding to access the raw methods on } -// ServiceChainNFTTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ServiceChainNFTTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ServiceChainNFTTransactorRaw struct { Contract *ServiceChainNFTTransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go index e85ab53bd8..f37196fb0c 100644 --- a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go +++ b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go @@ -63,29 +63,29 @@ func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Address{AddressCaller: AddressCaller{contract: contract}, AddressTransactor: AddressTransactor{contract: contract}, AddressFilterer: AddressFilterer{contract: contract}}, nil } -// Address is an auto generated Go binding around a Klaytn contract. +// Address is an auto generated Go binding around a Kaia contract. type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events } -// AddressCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressCaller is an auto generated read-only Go binding around a Kaia contract. type AddressCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressSession is an auto generated Go binding around a Klaytn contract, +// AddressSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressSession struct { Contract *Address // Generic contract binding to set the session for @@ -93,31 +93,31 @@ type AddressSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressRaw is an auto generated low-level Go binding around a Kaia contract. type AddressRaw struct { Contract *Address // Generic contract binding to access the raw methods on } -// AddressCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressCallerRaw struct { Contract *AddressCaller // Generic read-only contract binding to access the raw methods on } -// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressTransactorRaw struct { Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on } @@ -239,29 +239,29 @@ func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &Counters{CountersCaller: CountersCaller{contract: contract}, CountersTransactor: CountersTransactor{contract: contract}, CountersFilterer: CountersFilterer{contract: contract}}, nil } -// Counters is an auto generated Go binding around a Klaytn contract. +// Counters is an auto generated Go binding around a Kaia contract. type Counters struct { CountersCaller // Read-only binding to the contract CountersTransactor // Write-only binding to the contract CountersFilterer // Log filterer for contract events } -// CountersCaller is an auto generated read-only Go binding around a Klaytn contract. +// CountersCaller is an auto generated read-only Go binding around a Kaia contract. type CountersCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersTransactor is an auto generated write-only Go binding around a Klaytn contract. +// CountersTransactor is an auto generated write-only Go binding around a Kaia contract. type CountersTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// CountersFilterer is an auto generated log filtering Go binding around a Kaia contract events. type CountersFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// CountersSession is an auto generated Go binding around a Klaytn contract, +// CountersSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type CountersSession struct { Contract *Counters // Generic contract binding to set the session for @@ -269,31 +269,31 @@ type CountersSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// CountersCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type CountersCallerSession struct { Contract *CountersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// CountersTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// CountersTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type CountersTransactorSession struct { Contract *CountersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// CountersRaw is an auto generated low-level Go binding around a Klaytn contract. +// CountersRaw is an auto generated low-level Go binding around a Kaia contract. type CountersRaw struct { Contract *Counters // Generic contract binding to access the raw methods on } -// CountersCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// CountersCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type CountersCallerRaw struct { Contract *CountersCaller // Generic read-only contract binding to access the raw methods on } -// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// CountersTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type CountersTransactorRaw struct { Contract *CountersTransactor // Generic write-only contract binding to access the raw methods on } @@ -400,29 +400,29 @@ const ERC165BinRuntime = `` // Deprecated: Use ERC165MetaData.Sigs instead. var ERC165FuncSigs = ERC165MetaData.Sigs -// ERC165 is an auto generated Go binding around a Klaytn contract. +// ERC165 is an auto generated Go binding around a Kaia contract. type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events } -// ERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC165Caller is an auto generated read-only Go binding around a Kaia contract. type ERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC165Session is an auto generated Go binding around a Klaytn contract, +// ERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC165Session struct { Contract *ERC165 // Generic contract binding to set the session for @@ -430,31 +430,31 @@ type ERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC165Raw is an auto generated low-level Go binding around a Kaia contract. type ERC165Raw struct { Contract *ERC165 // Generic contract binding to access the raw methods on } -// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC165CallerRaw struct { Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on } -// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC165TransactorRaw struct { Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -621,29 +621,29 @@ func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common return address, tx, &ERC721{ERC721Caller: ERC721Caller{contract: contract}, ERC721Transactor: ERC721Transactor{contract: contract}, ERC721Filterer: ERC721Filterer{contract: contract}}, nil } -// ERC721 is an auto generated Go binding around a Klaytn contract. +// ERC721 is an auto generated Go binding around a Kaia contract. type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events } -// ERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721Caller is an auto generated read-only Go binding around a Kaia contract. type ERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type ERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721Session is an auto generated Go binding around a Klaytn contract, +// ERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721Session struct { Contract *ERC721 // Generic contract binding to set the session for @@ -651,31 +651,31 @@ type ERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721Raw is an auto generated low-level Go binding around a Kaia contract. type ERC721Raw struct { Contract *ERC721 // Generic contract binding to access the raw methods on } -// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721CallerRaw struct { Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on } -// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721TransactorRaw struct { Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -1533,29 +1533,29 @@ func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC721Burnable{ERC721BurnableCaller: ERC721BurnableCaller{contract: contract}, ERC721BurnableTransactor: ERC721BurnableTransactor{contract: contract}, ERC721BurnableFilterer: ERC721BurnableFilterer{contract: contract}}, nil } -// ERC721Burnable is an auto generated Go binding around a Klaytn contract. +// ERC721Burnable is an auto generated Go binding around a Kaia contract. type ERC721Burnable struct { ERC721BurnableCaller // Read-only binding to the contract ERC721BurnableTransactor // Write-only binding to the contract ERC721BurnableFilterer // Log filterer for contract events } -// ERC721BurnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721BurnableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721BurnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721BurnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721BurnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721BurnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721BurnableSession is an auto generated Go binding around a Klaytn contract, +// ERC721BurnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721BurnableSession struct { Contract *ERC721Burnable // Generic contract binding to set the session for @@ -1563,31 +1563,31 @@ type ERC721BurnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721BurnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721BurnableCallerSession struct { Contract *ERC721BurnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721BurnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721BurnableTransactorSession struct { Contract *ERC721BurnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721BurnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721BurnableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721BurnableRaw struct { Contract *ERC721Burnable // Generic contract binding to access the raw methods on } -// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721BurnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721BurnableCallerRaw struct { Contract *ERC721BurnableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721BurnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721BurnableTransactorRaw struct { Contract *ERC721BurnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2469,29 +2469,29 @@ func DeployERC721Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) return address, tx, &ERC721Mintable{ERC721MintableCaller: ERC721MintableCaller{contract: contract}, ERC721MintableTransactor: ERC721MintableTransactor{contract: contract}, ERC721MintableFilterer: ERC721MintableFilterer{contract: contract}}, nil } -// ERC721Mintable is an auto generated Go binding around a Klaytn contract. +// ERC721Mintable is an auto generated Go binding around a Kaia contract. type ERC721Mintable struct { ERC721MintableCaller // Read-only binding to the contract ERC721MintableTransactor // Write-only binding to the contract ERC721MintableFilterer // Log filterer for contract events } -// ERC721MintableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721MintableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721MintableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MintableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721MintableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721MintableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MintableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721MintableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721MintableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721MintableSession is an auto generated Go binding around a Klaytn contract, +// ERC721MintableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721MintableSession struct { Contract *ERC721Mintable // Generic contract binding to set the session for @@ -2499,31 +2499,31 @@ type ERC721MintableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MintableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721MintableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721MintableCallerSession struct { Contract *ERC721MintableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721MintableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721MintableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721MintableTransactorSession struct { Contract *ERC721MintableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721MintableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721MintableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721MintableRaw struct { Contract *ERC721Mintable // Generic contract binding to access the raw methods on } -// ERC721MintableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721MintableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721MintableCallerRaw struct { Contract *ERC721MintableCaller // Generic read-only contract binding to access the raw methods on } -// ERC721MintableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721MintableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721MintableTransactorRaw struct { Contract *ERC721MintableTransactor // Generic write-only contract binding to access the raw methods on } @@ -3739,29 +3739,29 @@ const ERC721ServiceChainBinRuntime = `` // Deprecated: Use ERC721ServiceChainMetaData.Sigs instead. var ERC721ServiceChainFuncSigs = ERC721ServiceChainMetaData.Sigs -// ERC721ServiceChain is an auto generated Go binding around a Klaytn contract. +// ERC721ServiceChain is an auto generated Go binding around a Kaia contract. type ERC721ServiceChain struct { ERC721ServiceChainCaller // Read-only binding to the contract ERC721ServiceChainTransactor // Write-only binding to the contract ERC721ServiceChainFilterer // Log filterer for contract events } -// ERC721ServiceChainCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC721ServiceChainCaller is an auto generated read-only Go binding around a Kaia contract. type ERC721ServiceChainCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC721ServiceChainTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC721ServiceChainTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC721ServiceChainFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC721ServiceChainFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC721ServiceChainSession is an auto generated Go binding around a Klaytn contract, +// ERC721ServiceChainSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC721ServiceChainSession struct { Contract *ERC721ServiceChain // Generic contract binding to set the session for @@ -3769,31 +3769,31 @@ type ERC721ServiceChainSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721ServiceChainCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC721ServiceChainCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC721ServiceChainCallerSession struct { Contract *ERC721ServiceChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC721ServiceChainTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC721ServiceChainTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC721ServiceChainTransactorSession struct { Contract *ERC721ServiceChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC721ServiceChainRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC721ServiceChainRaw is an auto generated low-level Go binding around a Kaia contract. type ERC721ServiceChainRaw struct { Contract *ERC721ServiceChain // Generic contract binding to access the raw methods on } -// ERC721ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC721ServiceChainCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC721ServiceChainCallerRaw struct { Contract *ERC721ServiceChainCaller // Generic read-only contract binding to access the raw methods on } -// ERC721ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC721ServiceChainTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC721ServiceChainTransactorRaw struct { Contract *ERC721ServiceChainTransactor // Generic write-only contract binding to access the raw methods on } @@ -4940,29 +4940,29 @@ const IERC165BinRuntime = `` // Deprecated: Use IERC165MetaData.Sigs instead. var IERC165FuncSigs = IERC165MetaData.Sigs -// IERC165 is an auto generated Go binding around a Klaytn contract. +// IERC165 is an auto generated Go binding around a Kaia contract. type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events } -// IERC165Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC165Caller is an auto generated read-only Go binding around a Kaia contract. type IERC165Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC165Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC165Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC165Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC165Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC165Session is an auto generated Go binding around a Klaytn contract, +// IERC165Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for @@ -4970,31 +4970,31 @@ type IERC165Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC165CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC165TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC165TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC165Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC165Raw is an auto generated low-level Go binding around a Kaia contract. type IERC165Raw struct { Contract *IERC165 // Generic contract binding to access the raw methods on } -// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC165CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC165CallerRaw struct { Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on } -// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC165TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC165TransactorRaw struct { Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on } @@ -5139,29 +5139,29 @@ const IERC721BinRuntime = `` // Deprecated: Use IERC721MetaData.Sigs instead. var IERC721FuncSigs = IERC721MetaData.Sigs -// IERC721 is an auto generated Go binding around a Klaytn contract. +// IERC721 is an auto generated Go binding around a Kaia contract. type IERC721 struct { IERC721Caller // Read-only binding to the contract IERC721Transactor // Write-only binding to the contract IERC721Filterer // Log filterer for contract events } -// IERC721Caller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721Caller is an auto generated read-only Go binding around a Kaia contract. type IERC721Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721Transactor is an auto generated write-only Go binding around a Kaia contract. type IERC721Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721Session is an auto generated Go binding around a Klaytn contract, +// IERC721Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721Session struct { Contract *IERC721 // Generic contract binding to set the session for @@ -5169,31 +5169,31 @@ type IERC721Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721CallerSession struct { Contract *IERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721TransactorSession struct { Contract *IERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721Raw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721Raw is an auto generated low-level Go binding around a Kaia contract. type IERC721Raw struct { Contract *IERC721 // Generic contract binding to access the raw methods on } -// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721CallerRaw struct { Contract *IERC721Caller // Generic read-only contract binding to access the raw methods on } -// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721TransactorRaw struct { Contract *IERC721Transactor // Generic write-only contract binding to access the raw methods on } @@ -6019,29 +6019,29 @@ const IERC721BridgeReceiverBinRuntime = `` // Deprecated: Use IERC721BridgeReceiverMetaData.Sigs instead. var IERC721BridgeReceiverFuncSigs = IERC721BridgeReceiverMetaData.Sigs -// IERC721BridgeReceiver is an auto generated Go binding around a Klaytn contract. +// IERC721BridgeReceiver is an auto generated Go binding around a Kaia contract. type IERC721BridgeReceiver struct { IERC721BridgeReceiverCaller // Read-only binding to the contract IERC721BridgeReceiverTransactor // Write-only binding to the contract IERC721BridgeReceiverFilterer // Log filterer for contract events } -// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721BridgeReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721BridgeReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721BridgeReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721BridgeReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721BridgeReceiverSession struct { Contract *IERC721BridgeReceiver // Generic contract binding to set the session for @@ -6049,31 +6049,31 @@ type IERC721BridgeReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721BridgeReceiverCallerSession struct { Contract *IERC721BridgeReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721BridgeReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721BridgeReceiverTransactorSession struct { Contract *IERC721BridgeReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721BridgeReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721BridgeReceiverRaw struct { Contract *IERC721BridgeReceiver // Generic contract binding to access the raw methods on } -// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721BridgeReceiverCallerRaw struct { Contract *IERC721BridgeReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721BridgeReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721BridgeReceiverTransactorRaw struct { Contract *IERC721BridgeReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -6201,29 +6201,29 @@ const IERC721ReceiverBinRuntime = `` // Deprecated: Use IERC721ReceiverMetaData.Sigs instead. var IERC721ReceiverFuncSigs = IERC721ReceiverMetaData.Sigs -// IERC721Receiver is an auto generated Go binding around a Klaytn contract. +// IERC721Receiver is an auto generated Go binding around a Kaia contract. type IERC721Receiver struct { IERC721ReceiverCaller // Read-only binding to the contract IERC721ReceiverTransactor // Write-only binding to the contract IERC721ReceiverFilterer // Log filterer for contract events } -// IERC721ReceiverCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC721ReceiverCaller is an auto generated read-only Go binding around a Kaia contract. type IERC721ReceiverCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC721ReceiverTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC721ReceiverFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC721ReceiverFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC721ReceiverSession is an auto generated Go binding around a Klaytn contract, +// IERC721ReceiverSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC721ReceiverSession struct { Contract *IERC721Receiver // Generic contract binding to set the session for @@ -6231,31 +6231,31 @@ type IERC721ReceiverSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC721ReceiverCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC721ReceiverCallerSession struct { Contract *IERC721ReceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC721ReceiverTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC721ReceiverTransactorSession struct { Contract *IERC721ReceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC721ReceiverRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC721ReceiverRaw is an auto generated low-level Go binding around a Kaia contract. type IERC721ReceiverRaw struct { Contract *IERC721Receiver // Generic contract binding to access the raw methods on } -// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC721ReceiverCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC721ReceiverCallerRaw struct { Contract *IERC721ReceiverCaller // Generic read-only contract binding to access the raw methods on } -// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC721ReceiverTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC721ReceiverTransactorRaw struct { Contract *IERC721ReceiverTransactor // Generic write-only contract binding to access the raw methods on } @@ -6385,29 +6385,29 @@ const MinterRoleBinRuntime = `` // Deprecated: Use MinterRoleMetaData.Sigs instead. var MinterRoleFuncSigs = MinterRoleMetaData.Sigs -// MinterRole is an auto generated Go binding around a Klaytn contract. +// MinterRole is an auto generated Go binding around a Kaia contract. type MinterRole struct { MinterRoleCaller // Read-only binding to the contract MinterRoleTransactor // Write-only binding to the contract MinterRoleFilterer // Log filterer for contract events } -// MinterRoleCaller is an auto generated read-only Go binding around a Klaytn contract. +// MinterRoleCaller is an auto generated read-only Go binding around a Kaia contract. type MinterRoleCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleTransactor is an auto generated write-only Go binding around a Klaytn contract. +// MinterRoleTransactor is an auto generated write-only Go binding around a Kaia contract. type MinterRoleTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// MinterRoleFilterer is an auto generated log filtering Go binding around a Kaia contract events. type MinterRoleFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// MinterRoleSession is an auto generated Go binding around a Klaytn contract, +// MinterRoleSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type MinterRoleSession struct { Contract *MinterRole // Generic contract binding to set the session for @@ -6415,31 +6415,31 @@ type MinterRoleSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// MinterRoleCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type MinterRoleCallerSession struct { Contract *MinterRoleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// MinterRoleTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// MinterRoleTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type MinterRoleTransactorSession struct { Contract *MinterRoleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// MinterRoleRaw is an auto generated low-level Go binding around a Klaytn contract. +// MinterRoleRaw is an auto generated low-level Go binding around a Kaia contract. type MinterRoleRaw struct { Contract *MinterRole // Generic contract binding to access the raw methods on } -// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// MinterRoleCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type MinterRoleCallerRaw struct { Contract *MinterRoleCaller // Generic read-only contract binding to access the raw methods on } -// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// MinterRoleTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type MinterRoleTransactorRaw struct { Contract *MinterRoleTransactor // Generic write-only contract binding to access the raw methods on } @@ -6902,29 +6902,29 @@ const OwnableBinRuntime = `` // Deprecated: Use OwnableMetaData.Sigs instead. var OwnableFuncSigs = OwnableMetaData.Sigs -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -6932,31 +6932,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -7328,29 +7328,29 @@ func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common. return address, tx, &Roles{RolesCaller: RolesCaller{contract: contract}, RolesTransactor: RolesTransactor{contract: contract}, RolesFilterer: RolesFilterer{contract: contract}}, nil } -// Roles is an auto generated Go binding around a Klaytn contract. +// Roles is an auto generated Go binding around a Kaia contract. type Roles struct { RolesCaller // Read-only binding to the contract RolesTransactor // Write-only binding to the contract RolesFilterer // Log filterer for contract events } -// RolesCaller is an auto generated read-only Go binding around a Klaytn contract. +// RolesCaller is an auto generated read-only Go binding around a Kaia contract. type RolesCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RolesTransactor is an auto generated write-only Go binding around a Kaia contract. type RolesTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RolesFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RolesFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RolesSession is an auto generated Go binding around a Klaytn contract, +// RolesSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RolesSession struct { Contract *Roles // Generic contract binding to set the session for @@ -7358,31 +7358,31 @@ type RolesSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RolesCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RolesCallerSession struct { Contract *RolesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RolesTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RolesTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RolesTransactorSession struct { Contract *RolesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RolesRaw is an auto generated low-level Go binding around a Klaytn contract. +// RolesRaw is an auto generated low-level Go binding around a Kaia contract. type RolesRaw struct { Contract *Roles // Generic contract binding to access the raw methods on } -// RolesCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RolesCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RolesCallerRaw struct { Contract *RolesCaller // Generic read-only contract binding to access the raw methods on } -// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RolesTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RolesTransactorRaw struct { Contract *RolesTransactor // Generic write-only contract binding to access the raw methods on } @@ -7504,29 +7504,29 @@ func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (comm return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil } -// SafeMath is an auto generated Go binding around a Klaytn contract. +// SafeMath is an auto generated Go binding around a Kaia contract. type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events } -// SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract. +// SafeMathCaller is an auto generated read-only Go binding around a Kaia contract. type SafeMathCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SafeMathTransactor is an auto generated write-only Go binding around a Kaia contract. type SafeMathTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SafeMathFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SafeMathFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SafeMathSession is an auto generated Go binding around a Klaytn contract, +// SafeMathSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for @@ -7534,31 +7534,31 @@ type SafeMathSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SafeMathCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SafeMathTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract. +// SafeMathRaw is an auto generated low-level Go binding around a Kaia contract. type SafeMathRaw struct { Contract *SafeMath // Generic contract binding to access the raw methods on } -// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SafeMathCallerRaw struct { Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on } -// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SafeMathTransactorRaw struct { Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on } @@ -7709,29 +7709,29 @@ func DeployServiceChainNFTNoURI(auth *bind.TransactOpts, backend bind.ContractBa return address, tx, &ServiceChainNFTNoURI{ServiceChainNFTNoURICaller: ServiceChainNFTNoURICaller{contract: contract}, ServiceChainNFTNoURITransactor: ServiceChainNFTNoURITransactor{contract: contract}, ServiceChainNFTNoURIFilterer: ServiceChainNFTNoURIFilterer{contract: contract}}, nil } -// ServiceChainNFTNoURI is an auto generated Go binding around a Klaytn contract. +// ServiceChainNFTNoURI is an auto generated Go binding around a Kaia contract. type ServiceChainNFTNoURI struct { ServiceChainNFTNoURICaller // Read-only binding to the contract ServiceChainNFTNoURITransactor // Write-only binding to the contract ServiceChainNFTNoURIFilterer // Log filterer for contract events } -// ServiceChainNFTNoURICaller is an auto generated read-only Go binding around a Klaytn contract. +// ServiceChainNFTNoURICaller is an auto generated read-only Go binding around a Kaia contract. type ServiceChainNFTNoURICaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTNoURITransactor is an auto generated write-only Go binding around a Klaytn contract. +// ServiceChainNFTNoURITransactor is an auto generated write-only Go binding around a Kaia contract. type ServiceChainNFTNoURITransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTNoURIFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ServiceChainNFTNoURIFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ServiceChainNFTNoURIFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ServiceChainNFTNoURISession is an auto generated Go binding around a Klaytn contract, +// ServiceChainNFTNoURISession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ServiceChainNFTNoURISession struct { Contract *ServiceChainNFTNoURI // Generic contract binding to set the session for @@ -7739,31 +7739,31 @@ type ServiceChainNFTNoURISession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainNFTNoURICallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ServiceChainNFTNoURICallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ServiceChainNFTNoURICallerSession struct { Contract *ServiceChainNFTNoURICaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ServiceChainNFTNoURITransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ServiceChainNFTNoURITransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ServiceChainNFTNoURITransactorSession struct { Contract *ServiceChainNFTNoURITransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ServiceChainNFTNoURIRaw is an auto generated low-level Go binding around a Klaytn contract. +// ServiceChainNFTNoURIRaw is an auto generated low-level Go binding around a Kaia contract. type ServiceChainNFTNoURIRaw struct { Contract *ServiceChainNFTNoURI // Generic contract binding to access the raw methods on } -// ServiceChainNFTNoURICallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ServiceChainNFTNoURICallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ServiceChainNFTNoURICallerRaw struct { Contract *ServiceChainNFTNoURICaller // Generic read-only contract binding to access the raw methods on } -// ServiceChainNFTNoURITransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ServiceChainNFTNoURITransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ServiceChainNFTNoURITransactorRaw struct { Contract *ServiceChainNFTNoURITransactor // Generic write-only contract binding to access the raw methods on } diff --git a/contracts/contracts/testing/system_contracts/all.go b/contracts/contracts/testing/system_contracts/all.go index 95bf2740a2..93a3cc10f1 100644 --- a/contracts/contracts/testing/system_contracts/all.go +++ b/contracts/contracts/testing/system_contracts/all.go @@ -75,29 +75,29 @@ func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBack return address, tx, &AddressUpgradeable{AddressUpgradeableCaller: AddressUpgradeableCaller{contract: contract}, AddressUpgradeableTransactor: AddressUpgradeableTransactor{contract: contract}, AddressUpgradeableFilterer: AddressUpgradeableFilterer{contract: contract}}, nil } -// AddressUpgradeable is an auto generated Go binding around a Klaytn contract. +// AddressUpgradeable is an auto generated Go binding around a Kaia contract. type AddressUpgradeable struct { AddressUpgradeableCaller // Read-only binding to the contract AddressUpgradeableTransactor // Write-only binding to the contract AddressUpgradeableFilterer // Log filterer for contract events } -// AddressUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// AddressUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type AddressUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// AddressUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type AddressUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// AddressUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type AddressUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// AddressUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// AddressUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type AddressUpgradeableSession struct { Contract *AddressUpgradeable // Generic contract binding to set the session for @@ -105,31 +105,31 @@ type AddressUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// AddressUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type AddressUpgradeableCallerSession struct { Contract *AddressUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// AddressUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// AddressUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type AddressUpgradeableTransactorSession struct { Contract *AddressUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// AddressUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// AddressUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type AddressUpgradeableRaw struct { Contract *AddressUpgradeable // Generic contract binding to access the raw methods on } -// AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type AddressUpgradeableCallerRaw struct { Contract *AddressUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type AddressUpgradeableTransactorRaw struct { Contract *AddressUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -229,29 +229,29 @@ var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI // ContextUpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ContextUpgradeableBinRuntime = `` -// ContextUpgradeable is an auto generated Go binding around a Klaytn contract. +// ContextUpgradeable is an auto generated Go binding around a Kaia contract. type ContextUpgradeable struct { ContextUpgradeableCaller // Read-only binding to the contract ContextUpgradeableTransactor // Write-only binding to the contract ContextUpgradeableFilterer // Log filterer for contract events } -// ContextUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ContextUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type ContextUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ContextUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type ContextUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ContextUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ContextUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ContextUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// ContextUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ContextUpgradeableSession struct { Contract *ContextUpgradeable // Generic contract binding to set the session for @@ -259,31 +259,31 @@ type ContextUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ContextUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ContextUpgradeableCallerSession struct { Contract *ContextUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ContextUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ContextUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ContextUpgradeableTransactorSession struct { Contract *ContextUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ContextUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ContextUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type ContextUpgradeableRaw struct { Contract *ContextUpgradeable // Generic contract binding to access the raw methods on } -// ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ContextUpgradeableCallerRaw struct { Contract *ContextUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ContextUpgradeableTransactorRaw struct { Contract *ContextUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -514,29 +514,29 @@ var ERC1967UpgradeUpgradeableABI = ERC1967UpgradeUpgradeableMetaData.ABI // ERC1967UpgradeUpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const ERC1967UpgradeUpgradeableBinRuntime = `` -// ERC1967UpgradeUpgradeable is an auto generated Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeable is an auto generated Go binding around a Kaia contract. type ERC1967UpgradeUpgradeable struct { ERC1967UpgradeUpgradeableCaller // Read-only binding to the contract ERC1967UpgradeUpgradeableTransactor // Write-only binding to the contract ERC1967UpgradeUpgradeableFilterer // Log filterer for contract events } -// ERC1967UpgradeUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ERC1967UpgradeUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ERC1967UpgradeUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ERC1967UpgradeUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ERC1967UpgradeUpgradeableSession struct { Contract *ERC1967UpgradeUpgradeable // Generic contract binding to set the session for @@ -544,31 +544,31 @@ type ERC1967UpgradeUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ERC1967UpgradeUpgradeableCallerSession struct { Contract *ERC1967UpgradeUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ERC1967UpgradeUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ERC1967UpgradeUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ERC1967UpgradeUpgradeableTransactorSession struct { Contract *ERC1967UpgradeUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ERC1967UpgradeUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableRaw struct { Contract *ERC1967UpgradeUpgradeable // Generic contract binding to access the raw methods on } -// ERC1967UpgradeUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableCallerRaw struct { Contract *ERC1967UpgradeUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// ERC1967UpgradeUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ERC1967UpgradeUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ERC1967UpgradeUpgradeableTransactorRaw struct { Contract *ERC1967UpgradeUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -1244,29 +1244,29 @@ const IAddressBookBinRuntime = `` // Deprecated: Use IAddressBookMetaData.Sigs instead. var IAddressBookFuncSigs = IAddressBookMetaData.Sigs -// IAddressBook is an auto generated Go binding around a Klaytn contract. +// IAddressBook is an auto generated Go binding around a Kaia contract. type IAddressBook struct { IAddressBookCaller // Read-only binding to the contract IAddressBookTransactor // Write-only binding to the contract IAddressBookFilterer // Log filterer for contract events } -// IAddressBookCaller is an auto generated read-only Go binding around a Klaytn contract. +// IAddressBookCaller is an auto generated read-only Go binding around a Kaia contract. type IAddressBookCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IAddressBookTransactor is an auto generated write-only Go binding around a Kaia contract. type IAddressBookTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IAddressBookFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IAddressBookFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IAddressBookSession is an auto generated Go binding around a Klaytn contract, +// IAddressBookSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IAddressBookSession struct { Contract *IAddressBook // Generic contract binding to set the session for @@ -1274,31 +1274,31 @@ type IAddressBookSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IAddressBookCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IAddressBookCallerSession struct { Contract *IAddressBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IAddressBookTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IAddressBookTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IAddressBookTransactorSession struct { Contract *IAddressBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IAddressBookRaw is an auto generated low-level Go binding around a Klaytn contract. +// IAddressBookRaw is an auto generated low-level Go binding around a Kaia contract. type IAddressBookRaw struct { Contract *IAddressBook // Generic contract binding to access the raw methods on } -// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IAddressBookCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IAddressBookCallerRaw struct { Contract *IAddressBookCaller // Generic read-only contract binding to access the raw methods on } -// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IAddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IAddressBookTransactorRaw struct { Contract *IAddressBookTransactor // Generic write-only contract binding to access the raw methods on } @@ -2165,29 +2165,29 @@ const IBeaconUpgradeableBinRuntime = `` // Deprecated: Use IBeaconUpgradeableMetaData.Sigs instead. var IBeaconUpgradeableFuncSigs = IBeaconUpgradeableMetaData.Sigs -// IBeaconUpgradeable is an auto generated Go binding around a Klaytn contract. +// IBeaconUpgradeable is an auto generated Go binding around a Kaia contract. type IBeaconUpgradeable struct { IBeaconUpgradeableCaller // Read-only binding to the contract IBeaconUpgradeableTransactor // Write-only binding to the contract IBeaconUpgradeableFilterer // Log filterer for contract events } -// IBeaconUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IBeaconUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IBeaconUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IBeaconUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IBeaconUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IBeaconUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IBeaconUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IBeaconUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IBeaconUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IBeaconUpgradeableSession struct { Contract *IBeaconUpgradeable // Generic contract binding to set the session for @@ -2195,31 +2195,31 @@ type IBeaconUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IBeaconUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IBeaconUpgradeableCallerSession struct { Contract *IBeaconUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IBeaconUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IBeaconUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IBeaconUpgradeableTransactorSession struct { Contract *IBeaconUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IBeaconUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IBeaconUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IBeaconUpgradeableRaw struct { Contract *IBeaconUpgradeable // Generic contract binding to access the raw methods on } -// IBeaconUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IBeaconUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IBeaconUpgradeableCallerRaw struct { Contract *IBeaconUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IBeaconUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IBeaconUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IBeaconUpgradeableTransactorRaw struct { Contract *IBeaconUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2355,29 +2355,29 @@ const IERC1822ProxiableUpgradeableBinRuntime = `` // Deprecated: Use IERC1822ProxiableUpgradeableMetaData.Sigs instead. var IERC1822ProxiableUpgradeableFuncSigs = IERC1822ProxiableUpgradeableMetaData.Sigs -// IERC1822ProxiableUpgradeable is an auto generated Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeable is an auto generated Go binding around a Kaia contract. type IERC1822ProxiableUpgradeable struct { IERC1822ProxiableUpgradeableCaller // Read-only binding to the contract IERC1822ProxiableUpgradeableTransactor // Write-only binding to the contract IERC1822ProxiableUpgradeableFilterer // Log filterer for contract events } -// IERC1822ProxiableUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1822ProxiableUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1822ProxiableUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1822ProxiableUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1822ProxiableUpgradeableSession struct { Contract *IERC1822ProxiableUpgradeable // Generic contract binding to set the session for @@ -2385,31 +2385,31 @@ type IERC1822ProxiableUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1822ProxiableUpgradeableCallerSession struct { Contract *IERC1822ProxiableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1822ProxiableUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1822ProxiableUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1822ProxiableUpgradeableTransactorSession struct { Contract *IERC1822ProxiableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1822ProxiableUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableRaw struct { Contract *IERC1822ProxiableUpgradeable // Generic contract binding to access the raw methods on } -// IERC1822ProxiableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableCallerRaw struct { Contract *IERC1822ProxiableUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IERC1822ProxiableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1822ProxiableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1822ProxiableUpgradeableTransactorRaw struct { Contract *IERC1822ProxiableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -2538,29 +2538,29 @@ var IERC1967UpgradeableABI = IERC1967UpgradeableMetaData.ABI // IERC1967UpgradeableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const IERC1967UpgradeableBinRuntime = `` -// IERC1967Upgradeable is an auto generated Go binding around a Klaytn contract. +// IERC1967Upgradeable is an auto generated Go binding around a Kaia contract. type IERC1967Upgradeable struct { IERC1967UpgradeableCaller // Read-only binding to the contract IERC1967UpgradeableTransactor // Write-only binding to the contract IERC1967UpgradeableFilterer // Log filterer for contract events } -// IERC1967UpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// IERC1967UpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type IERC1967UpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IERC1967UpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type IERC1967UpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IERC1967UpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IERC1967UpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IERC1967UpgradeableSession is an auto generated Go binding around a Klaytn contract, +// IERC1967UpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IERC1967UpgradeableSession struct { Contract *IERC1967Upgradeable // Generic contract binding to set the session for @@ -2568,31 +2568,31 @@ type IERC1967UpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967UpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IERC1967UpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IERC1967UpgradeableCallerSession struct { Contract *IERC1967UpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IERC1967UpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IERC1967UpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IERC1967UpgradeableTransactorSession struct { Contract *IERC1967UpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IERC1967UpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// IERC1967UpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type IERC1967UpgradeableRaw struct { Contract *IERC1967Upgradeable // Generic contract binding to access the raw methods on } -// IERC1967UpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IERC1967UpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IERC1967UpgradeableCallerRaw struct { Contract *IERC1967UpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// IERC1967UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IERC1967UpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IERC1967UpgradeableTransactorRaw struct { Contract *IERC1967UpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -3113,29 +3113,29 @@ const IKIP113BinRuntime = `` // Deprecated: Use IKIP113MetaData.Sigs instead. var IKIP113FuncSigs = IKIP113MetaData.Sigs -// IKIP113 is an auto generated Go binding around a Klaytn contract. +// IKIP113 is an auto generated Go binding around a Kaia contract. type IKIP113 struct { IKIP113Caller // Read-only binding to the contract IKIP113Transactor // Write-only binding to the contract IKIP113Filterer // Log filterer for contract events } -// IKIP113Caller is an auto generated read-only Go binding around a Klaytn contract. +// IKIP113Caller is an auto generated read-only Go binding around a Kaia contract. type IKIP113Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Transactor is an auto generated write-only Go binding around a Klaytn contract. +// IKIP113Transactor is an auto generated write-only Go binding around a Kaia contract. type IKIP113Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IKIP113Filterer is an auto generated log filtering Go binding around a Kaia contract events. type IKIP113Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IKIP113Session is an auto generated Go binding around a Klaytn contract, +// IKIP113Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IKIP113Session struct { Contract *IKIP113 // Generic contract binding to set the session for @@ -3143,31 +3143,31 @@ type IKIP113Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP113CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IKIP113CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IKIP113CallerSession struct { Contract *IKIP113Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IKIP113TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IKIP113TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IKIP113TransactorSession struct { Contract *IKIP113Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IKIP113Raw is an auto generated low-level Go binding around a Klaytn contract. +// IKIP113Raw is an auto generated low-level Go binding around a Kaia contract. type IKIP113Raw struct { Contract *IKIP113 // Generic contract binding to access the raw methods on } -// IKIP113CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IKIP113CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IKIP113CallerRaw struct { Contract *IKIP113Caller // Generic read-only contract binding to access the raw methods on } -// IKIP113TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IKIP113TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IKIP113TransactorRaw struct { Contract *IKIP113Transactor // Generic write-only contract binding to access the raw methods on } @@ -3324,29 +3324,29 @@ const IRegistryBinRuntime = `` // Deprecated: Use IRegistryMetaData.Sigs instead. var IRegistryFuncSigs = IRegistryMetaData.Sigs -// IRegistry is an auto generated Go binding around a Klaytn contract. +// IRegistry is an auto generated Go binding around a Kaia contract. type IRegistry struct { IRegistryCaller // Read-only binding to the contract IRegistryTransactor // Write-only binding to the contract IRegistryFilterer // Log filterer for contract events } -// IRegistryCaller is an auto generated read-only Go binding around a Klaytn contract. +// IRegistryCaller is an auto generated read-only Go binding around a Kaia contract. type IRegistryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IRegistryTransactor is an auto generated write-only Go binding around a Kaia contract. type IRegistryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IRegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IRegistryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRegistrySession is an auto generated Go binding around a Klaytn contract, +// IRegistrySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IRegistrySession struct { Contract *IRegistry // Generic contract binding to set the session for @@ -3354,31 +3354,31 @@ type IRegistrySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRegistryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IRegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IRegistryCallerSession struct { Contract *IRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IRegistryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IRegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IRegistryTransactorSession struct { Contract *IRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRegistryRaw is an auto generated low-level Go binding around a Klaytn contract. +// IRegistryRaw is an auto generated low-level Go binding around a Kaia contract. type IRegistryRaw struct { Contract *IRegistry // Generic contract binding to access the raw methods on } -// IRegistryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IRegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IRegistryCallerRaw struct { Contract *IRegistryCaller // Generic read-only contract binding to access the raw methods on } -// IRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IRegistryTransactorRaw struct { Contract *IRegistryTransactor // Generic write-only contract binding to access the raw methods on } @@ -4008,29 +4008,29 @@ const IRetiredContractBinRuntime = `` // Deprecated: Use IRetiredContractMetaData.Sigs instead. var IRetiredContractFuncSigs = IRetiredContractMetaData.Sigs -// IRetiredContract is an auto generated Go binding around a Klaytn contract. +// IRetiredContract is an auto generated Go binding around a Kaia contract. type IRetiredContract struct { IRetiredContractCaller // Read-only binding to the contract IRetiredContractTransactor // Write-only binding to the contract IRetiredContractFilterer // Log filterer for contract events } -// IRetiredContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// IRetiredContractCaller is an auto generated read-only Go binding around a Kaia contract. type IRetiredContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IRetiredContractTransactor is an auto generated write-only Go binding around a Kaia contract. type IRetiredContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IRetiredContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IRetiredContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IRetiredContractSession is an auto generated Go binding around a Klaytn contract, +// IRetiredContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IRetiredContractSession struct { Contract *IRetiredContract // Generic contract binding to set the session for @@ -4038,31 +4038,31 @@ type IRetiredContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRetiredContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IRetiredContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IRetiredContractCallerSession struct { Contract *IRetiredContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IRetiredContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IRetiredContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IRetiredContractTransactorSession struct { Contract *IRetiredContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IRetiredContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// IRetiredContractRaw is an auto generated low-level Go binding around a Kaia contract. type IRetiredContractRaw struct { Contract *IRetiredContract // Generic contract binding to access the raw methods on } -// IRetiredContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IRetiredContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IRetiredContractCallerRaw struct { Contract *IRetiredContractCaller // Generic read-only contract binding to access the raw methods on } -// IRetiredContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IRetiredContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IRetiredContractTransactorRaw struct { Contract *IRetiredContractTransactor // Generic write-only contract binding to access the raw methods on } @@ -4230,29 +4230,29 @@ const ITreasuryRebalanceBinRuntime = `` // Deprecated: Use ITreasuryRebalanceMetaData.Sigs instead. var ITreasuryRebalanceFuncSigs = ITreasuryRebalanceMetaData.Sigs -// ITreasuryRebalance is an auto generated Go binding around a Klaytn contract. +// ITreasuryRebalance is an auto generated Go binding around a Kaia contract. type ITreasuryRebalance struct { ITreasuryRebalanceCaller // Read-only binding to the contract ITreasuryRebalanceTransactor // Write-only binding to the contract ITreasuryRebalanceFilterer // Log filterer for contract events } -// ITreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract. +// ITreasuryRebalanceCaller is an auto generated read-only Go binding around a Kaia contract. type ITreasuryRebalanceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// ITreasuryRebalanceTransactor is an auto generated write-only Go binding around a Kaia contract. type ITreasuryRebalanceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// ITreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type ITreasuryRebalanceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// ITreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, +// ITreasuryRebalanceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type ITreasuryRebalanceSession struct { Contract *ITreasuryRebalance // Generic contract binding to set the session for @@ -4260,31 +4260,31 @@ type ITreasuryRebalanceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ITreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// ITreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type ITreasuryRebalanceCallerSession struct { Contract *ITreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// ITreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// ITreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type ITreasuryRebalanceTransactorSession struct { Contract *ITreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// ITreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract. +// ITreasuryRebalanceRaw is an auto generated low-level Go binding around a Kaia contract. type ITreasuryRebalanceRaw struct { Contract *ITreasuryRebalance // Generic contract binding to access the raw methods on } -// ITreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// ITreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type ITreasuryRebalanceCallerRaw struct { Contract *ITreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on } -// ITreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// ITreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type ITreasuryRebalanceTransactorRaw struct { Contract *ITreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on } @@ -5924,29 +5924,29 @@ const IZeroedContractBinRuntime = `` // Deprecated: Use IZeroedContractMetaData.Sigs instead. var IZeroedContractFuncSigs = IZeroedContractMetaData.Sigs -// IZeroedContract is an auto generated Go binding around a Klaytn contract. +// IZeroedContract is an auto generated Go binding around a Kaia contract. type IZeroedContract struct { IZeroedContractCaller // Read-only binding to the contract IZeroedContractTransactor // Write-only binding to the contract IZeroedContractFilterer // Log filterer for contract events } -// IZeroedContractCaller is an auto generated read-only Go binding around a Klaytn contract. +// IZeroedContractCaller is an auto generated read-only Go binding around a Kaia contract. type IZeroedContractCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractTransactor is an auto generated write-only Go binding around a Klaytn contract. +// IZeroedContractTransactor is an auto generated write-only Go binding around a Kaia contract. type IZeroedContractTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// IZeroedContractFilterer is an auto generated log filtering Go binding around a Kaia contract events. type IZeroedContractFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// IZeroedContractSession is an auto generated Go binding around a Klaytn contract, +// IZeroedContractSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type IZeroedContractSession struct { Contract *IZeroedContract // Generic contract binding to set the session for @@ -5954,31 +5954,31 @@ type IZeroedContractSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IZeroedContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// IZeroedContractCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type IZeroedContractCallerSession struct { Contract *IZeroedContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// IZeroedContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// IZeroedContractTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type IZeroedContractTransactorSession struct { Contract *IZeroedContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// IZeroedContractRaw is an auto generated low-level Go binding around a Klaytn contract. +// IZeroedContractRaw is an auto generated low-level Go binding around a Kaia contract. type IZeroedContractRaw struct { Contract *IZeroedContract // Generic contract binding to access the raw methods on } -// IZeroedContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// IZeroedContractCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type IZeroedContractCallerRaw struct { Contract *IZeroedContractCaller // Generic read-only contract binding to access the raw methods on } -// IZeroedContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// IZeroedContractTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type IZeroedContractTransactorRaw struct { Contract *IZeroedContractTransactor // Generic write-only contract binding to access the raw methods on } @@ -6121,29 +6121,29 @@ var InitializableABI = InitializableMetaData.ABI // InitializableBinRuntime is the compiled bytecode used for adding genesis block without deploying code. const InitializableBinRuntime = `` -// Initializable is an auto generated Go binding around a Klaytn contract. +// Initializable is an auto generated Go binding around a Kaia contract. type Initializable struct { InitializableCaller // Read-only binding to the contract InitializableTransactor // Write-only binding to the contract InitializableFilterer // Log filterer for contract events } -// InitializableCaller is an auto generated read-only Go binding around a Klaytn contract. +// InitializableCaller is an auto generated read-only Go binding around a Kaia contract. type InitializableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// InitializableTransactor is an auto generated write-only Go binding around a Kaia contract. type InitializableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// InitializableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type InitializableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// InitializableSession is an auto generated Go binding around a Klaytn contract, +// InitializableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type InitializableSession struct { Contract *Initializable // Generic contract binding to set the session for @@ -6151,31 +6151,31 @@ type InitializableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InitializableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// InitializableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type InitializableCallerSession struct { Contract *InitializableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// InitializableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// InitializableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type InitializableTransactorSession struct { Contract *InitializableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// InitializableRaw is an auto generated low-level Go binding around a Klaytn contract. +// InitializableRaw is an auto generated low-level Go binding around a Kaia contract. type InitializableRaw struct { Contract *Initializable // Generic contract binding to access the raw methods on } -// InitializableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// InitializableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type InitializableCallerRaw struct { Contract *InitializableCaller // Generic read-only contract binding to access the raw methods on } -// InitializableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// InitializableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type InitializableTransactorRaw struct { Contract *InitializableTransactor // Generic write-only contract binding to access the raw methods on } @@ -6449,29 +6449,29 @@ func DeployKIP113Mock(auth *bind.TransactOpts, backend bind.ContractBackend) (co return address, tx, &KIP113Mock{KIP113MockCaller: KIP113MockCaller{contract: contract}, KIP113MockTransactor: KIP113MockTransactor{contract: contract}, KIP113MockFilterer: KIP113MockFilterer{contract: contract}}, nil } -// KIP113Mock is an auto generated Go binding around a Klaytn contract. +// KIP113Mock is an auto generated Go binding around a Kaia contract. type KIP113Mock struct { KIP113MockCaller // Read-only binding to the contract KIP113MockTransactor // Write-only binding to the contract KIP113MockFilterer // Log filterer for contract events } -// KIP113MockCaller is an auto generated read-only Go binding around a Klaytn contract. +// KIP113MockCaller is an auto generated read-only Go binding around a Kaia contract. type KIP113MockCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KIP113MockTransactor is an auto generated write-only Go binding around a Klaytn contract. +// KIP113MockTransactor is an auto generated write-only Go binding around a Kaia contract. type KIP113MockTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KIP113MockFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// KIP113MockFilterer is an auto generated log filtering Go binding around a Kaia contract events. type KIP113MockFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// KIP113MockSession is an auto generated Go binding around a Klaytn contract, +// KIP113MockSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type KIP113MockSession struct { Contract *KIP113Mock // Generic contract binding to set the session for @@ -6479,31 +6479,31 @@ type KIP113MockSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KIP113MockCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// KIP113MockCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type KIP113MockCallerSession struct { Contract *KIP113MockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// KIP113MockTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// KIP113MockTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type KIP113MockTransactorSession struct { Contract *KIP113MockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// KIP113MockRaw is an auto generated low-level Go binding around a Klaytn contract. +// KIP113MockRaw is an auto generated low-level Go binding around a Kaia contract. type KIP113MockRaw struct { Contract *KIP113Mock // Generic contract binding to access the raw methods on } -// KIP113MockCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// KIP113MockCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type KIP113MockCallerRaw struct { Contract *KIP113MockCaller // Generic read-only contract binding to access the raw methods on } -// KIP113MockTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// KIP113MockTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type KIP113MockTransactorRaw struct { Contract *KIP113MockTransactor // Generic write-only contract binding to access the raw methods on } @@ -8003,29 +8003,29 @@ func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (commo return address, tx, &Ownable{OwnableCaller: OwnableCaller{contract: contract}, OwnableTransactor: OwnableTransactor{contract: contract}, OwnableFilterer: OwnableFilterer{contract: contract}}, nil } -// Ownable is an auto generated Go binding around a Klaytn contract. +// Ownable is an auto generated Go binding around a Kaia contract. type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events } -// OwnableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableSession is an auto generated Go binding around a Klaytn contract, +// OwnableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableSession struct { Contract *Ownable // Generic contract binding to set the session for @@ -8033,31 +8033,31 @@ type OwnableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableRaw struct { Contract *Ownable // Generic contract binding to access the raw methods on } -// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableCallerRaw struct { Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableTransactorRaw struct { Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on } @@ -8416,29 +8416,29 @@ const OwnableUpgradeableBinRuntime = `` // Deprecated: Use OwnableUpgradeableMetaData.Sigs instead. var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs -// OwnableUpgradeable is an auto generated Go binding around a Klaytn contract. +// OwnableUpgradeable is an auto generated Go binding around a Kaia contract. type OwnableUpgradeable struct { OwnableUpgradeableCaller // Read-only binding to the contract OwnableUpgradeableTransactor // Write-only binding to the contract OwnableUpgradeableFilterer // Log filterer for contract events } -// OwnableUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// OwnableUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type OwnableUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// OwnableUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type OwnableUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// OwnableUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type OwnableUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// OwnableUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// OwnableUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type OwnableUpgradeableSession struct { Contract *OwnableUpgradeable // Generic contract binding to set the session for @@ -8446,31 +8446,31 @@ type OwnableUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// OwnableUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type OwnableUpgradeableCallerSession struct { Contract *OwnableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type OwnableUpgradeableTransactorSession struct { Contract *OwnableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// OwnableUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// OwnableUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type OwnableUpgradeableRaw struct { Contract *OwnableUpgradeable // Generic contract binding to access the raw methods on } -// OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type OwnableUpgradeableCallerRaw struct { Contract *OwnableUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type OwnableUpgradeableTransactorRaw struct { Contract *OwnableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -8958,29 +8958,29 @@ func DeployRegistryMock(auth *bind.TransactOpts, backend bind.ContractBackend) ( return address, tx, &RegistryMock{RegistryMockCaller: RegistryMockCaller{contract: contract}, RegistryMockTransactor: RegistryMockTransactor{contract: contract}, RegistryMockFilterer: RegistryMockFilterer{contract: contract}}, nil } -// RegistryMock is an auto generated Go binding around a Klaytn contract. +// RegistryMock is an auto generated Go binding around a Kaia contract. type RegistryMock struct { RegistryMockCaller // Read-only binding to the contract RegistryMockTransactor // Write-only binding to the contract RegistryMockFilterer // Log filterer for contract events } -// RegistryMockCaller is an auto generated read-only Go binding around a Klaytn contract. +// RegistryMockCaller is an auto generated read-only Go binding around a Kaia contract. type RegistryMockCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistryMockTransactor is an auto generated write-only Go binding around a Klaytn contract. +// RegistryMockTransactor is an auto generated write-only Go binding around a Kaia contract. type RegistryMockTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistryMockFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// RegistryMockFilterer is an auto generated log filtering Go binding around a Kaia contract events. type RegistryMockFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// RegistryMockSession is an auto generated Go binding around a Klaytn contract, +// RegistryMockSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type RegistryMockSession struct { Contract *RegistryMock // Generic contract binding to set the session for @@ -8988,31 +8988,31 @@ type RegistryMockSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RegistryMockCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// RegistryMockCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type RegistryMockCallerSession struct { Contract *RegistryMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// RegistryMockTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// RegistryMockTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type RegistryMockTransactorSession struct { Contract *RegistryMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// RegistryMockRaw is an auto generated low-level Go binding around a Klaytn contract. +// RegistryMockRaw is an auto generated low-level Go binding around a Kaia contract. type RegistryMockRaw struct { Contract *RegistryMock // Generic contract binding to access the raw methods on } -// RegistryMockCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// RegistryMockCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type RegistryMockCallerRaw struct { Contract *RegistryMockCaller // Generic read-only contract binding to access the raw methods on } -// RegistryMockTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// RegistryMockTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type RegistryMockTransactorRaw struct { Contract *RegistryMockTransactor // Generic write-only contract binding to access the raw methods on } @@ -9686,29 +9686,29 @@ func DeploySimpleBlsRegistry(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &SimpleBlsRegistry{SimpleBlsRegistryCaller: SimpleBlsRegistryCaller{contract: contract}, SimpleBlsRegistryTransactor: SimpleBlsRegistryTransactor{contract: contract}, SimpleBlsRegistryFilterer: SimpleBlsRegistryFilterer{contract: contract}}, nil } -// SimpleBlsRegistry is an auto generated Go binding around a Klaytn contract. +// SimpleBlsRegistry is an auto generated Go binding around a Kaia contract. type SimpleBlsRegistry struct { SimpleBlsRegistryCaller // Read-only binding to the contract SimpleBlsRegistryTransactor // Write-only binding to the contract SimpleBlsRegistryFilterer // Log filterer for contract events } -// SimpleBlsRegistryCaller is an auto generated read-only Go binding around a Klaytn contract. +// SimpleBlsRegistryCaller is an auto generated read-only Go binding around a Kaia contract. type SimpleBlsRegistryCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistryTransactor is an auto generated write-only Go binding around a Klaytn contract. +// SimpleBlsRegistryTransactor is an auto generated write-only Go binding around a Kaia contract. type SimpleBlsRegistryTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistryFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// SimpleBlsRegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events. type SimpleBlsRegistryFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// SimpleBlsRegistrySession is an auto generated Go binding around a Klaytn contract, +// SimpleBlsRegistrySession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type SimpleBlsRegistrySession struct { Contract *SimpleBlsRegistry // Generic contract binding to set the session for @@ -9716,31 +9716,31 @@ type SimpleBlsRegistrySession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SimpleBlsRegistryCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// SimpleBlsRegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type SimpleBlsRegistryCallerSession struct { Contract *SimpleBlsRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// SimpleBlsRegistryTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// SimpleBlsRegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type SimpleBlsRegistryTransactorSession struct { Contract *SimpleBlsRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// SimpleBlsRegistryRaw is an auto generated low-level Go binding around a Klaytn contract. +// SimpleBlsRegistryRaw is an auto generated low-level Go binding around a Kaia contract. type SimpleBlsRegistryRaw struct { Contract *SimpleBlsRegistry // Generic contract binding to access the raw methods on } -// SimpleBlsRegistryCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// SimpleBlsRegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type SimpleBlsRegistryCallerRaw struct { Contract *SimpleBlsRegistryCaller // Generic read-only contract binding to access the raw methods on } -// SimpleBlsRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// SimpleBlsRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type SimpleBlsRegistryTransactorRaw struct { Contract *SimpleBlsRegistryTransactor // Generic write-only contract binding to access the raw methods on } @@ -11230,29 +11230,29 @@ func DeployStorageSlotUpgradeable(auth *bind.TransactOpts, backend bind.Contract return address, tx, &StorageSlotUpgradeable{StorageSlotUpgradeableCaller: StorageSlotUpgradeableCaller{contract: contract}, StorageSlotUpgradeableTransactor: StorageSlotUpgradeableTransactor{contract: contract}, StorageSlotUpgradeableFilterer: StorageSlotUpgradeableFilterer{contract: contract}}, nil } -// StorageSlotUpgradeable is an auto generated Go binding around a Klaytn contract. +// StorageSlotUpgradeable is an auto generated Go binding around a Kaia contract. type StorageSlotUpgradeable struct { StorageSlotUpgradeableCaller // Read-only binding to the contract StorageSlotUpgradeableTransactor // Write-only binding to the contract StorageSlotUpgradeableFilterer // Log filterer for contract events } -// StorageSlotUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type StorageSlotUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type StorageSlotUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// StorageSlotUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type StorageSlotUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// StorageSlotUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// StorageSlotUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type StorageSlotUpgradeableSession struct { Contract *StorageSlotUpgradeable // Generic contract binding to set the session for @@ -11260,31 +11260,31 @@ type StorageSlotUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// StorageSlotUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type StorageSlotUpgradeableCallerSession struct { Contract *StorageSlotUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// StorageSlotUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// StorageSlotUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type StorageSlotUpgradeableTransactorSession struct { Contract *StorageSlotUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// StorageSlotUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// StorageSlotUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type StorageSlotUpgradeableRaw struct { Contract *StorageSlotUpgradeable // Generic contract binding to access the raw methods on } -// StorageSlotUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type StorageSlotUpgradeableCallerRaw struct { Contract *StorageSlotUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// StorageSlotUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// StorageSlotUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type StorageSlotUpgradeableTransactorRaw struct { Contract *StorageSlotUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } @@ -11442,29 +11442,29 @@ func DeployTreasuryRebalance(auth *bind.TransactOpts, backend bind.ContractBacke return address, tx, &TreasuryRebalance{TreasuryRebalanceCaller: TreasuryRebalanceCaller{contract: contract}, TreasuryRebalanceTransactor: TreasuryRebalanceTransactor{contract: contract}, TreasuryRebalanceFilterer: TreasuryRebalanceFilterer{contract: contract}}, nil } -// TreasuryRebalance is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalance is an auto generated Go binding around a Kaia contract. type TreasuryRebalance struct { TreasuryRebalanceCaller // Read-only binding to the contract TreasuryRebalanceTransactor // Write-only binding to the contract TreasuryRebalanceFilterer // Log filterer for contract events } -// TreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceCaller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceTransactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceSession struct { Contract *TreasuryRebalance // Generic contract binding to set the session for @@ -11472,31 +11472,31 @@ type TreasuryRebalanceSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceCallerSession struct { Contract *TreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceTransactorSession struct { Contract *TreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceRaw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceRaw struct { Contract *TreasuryRebalance // Generic contract binding to access the raw methods on } -// TreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceCallerRaw struct { Contract *TreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceTransactorRaw struct { Contract *TreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on } @@ -13676,29 +13676,29 @@ func DeployTreasuryRebalanceMock(auth *bind.TransactOpts, backend bind.ContractB return address, tx, &TreasuryRebalanceMock{TreasuryRebalanceMockCaller: TreasuryRebalanceMockCaller{contract: contract}, TreasuryRebalanceMockTransactor: TreasuryRebalanceMockTransactor{contract: contract}, TreasuryRebalanceMockFilterer: TreasuryRebalanceMockFilterer{contract: contract}}, nil } -// TreasuryRebalanceMock is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalanceMock is an auto generated Go binding around a Kaia contract. type TreasuryRebalanceMock struct { TreasuryRebalanceMockCaller // Read-only binding to the contract TreasuryRebalanceMockTransactor // Write-only binding to the contract TreasuryRebalanceMockFilterer // Log filterer for contract events } -// TreasuryRebalanceMockCaller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockCaller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceMockCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockTransactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockTransactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceMockTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceMockFilterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceMockFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockSession is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceMockSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceMockSession struct { Contract *TreasuryRebalanceMock // Generic contract binding to set the session for @@ -13706,31 +13706,31 @@ type TreasuryRebalanceMockSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceMockCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceMockCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceMockCallerSession struct { Contract *TreasuryRebalanceMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceMockTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceMockTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceMockTransactorSession struct { Contract *TreasuryRebalanceMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceMockRaw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceMockRaw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceMockRaw struct { Contract *TreasuryRebalanceMock // Generic contract binding to access the raw methods on } -// TreasuryRebalanceMockCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceMockCallerRaw struct { Contract *TreasuryRebalanceMockCaller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceMockTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceMockTransactorRaw struct { Contract *TreasuryRebalanceMockTransactor // Generic write-only contract binding to access the raw methods on } @@ -15932,29 +15932,29 @@ func DeployTreasuryRebalanceMockV2(auth *bind.TransactOpts, backend bind.Contrac return address, tx, &TreasuryRebalanceMockV2{TreasuryRebalanceMockV2Caller: TreasuryRebalanceMockV2Caller{contract: contract}, TreasuryRebalanceMockV2Transactor: TreasuryRebalanceMockV2Transactor{contract: contract}, TreasuryRebalanceMockV2Filterer: TreasuryRebalanceMockV2Filterer{contract: contract}}, nil } -// TreasuryRebalanceMockV2 is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2 is an auto generated Go binding around a Kaia contract. type TreasuryRebalanceMockV2 struct { TreasuryRebalanceMockV2Caller // Read-only binding to the contract TreasuryRebalanceMockV2Transactor // Write-only binding to the contract TreasuryRebalanceMockV2Filterer // Log filterer for contract events } -// TreasuryRebalanceMockV2Caller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2Caller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceMockV2Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockV2Transactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2Transactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceMockV2Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockV2Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceMockV2Filterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceMockV2Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceMockV2Session is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceMockV2Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceMockV2Session struct { Contract *TreasuryRebalanceMockV2 // Generic contract binding to set the session for @@ -15962,31 +15962,31 @@ type TreasuryRebalanceMockV2Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceMockV2CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceMockV2CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceMockV2CallerSession struct { Contract *TreasuryRebalanceMockV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceMockV2TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceMockV2TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceMockV2TransactorSession struct { Contract *TreasuryRebalanceMockV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceMockV2Raw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2Raw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceMockV2Raw struct { Contract *TreasuryRebalanceMockV2 // Generic contract binding to access the raw methods on } -// TreasuryRebalanceMockV2CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceMockV2CallerRaw struct { Contract *TreasuryRebalanceMockV2Caller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceMockV2TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceMockV2TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceMockV2TransactorRaw struct { Contract *TreasuryRebalanceMockV2Transactor // Generic write-only contract binding to access the raw methods on } @@ -18187,29 +18187,29 @@ func DeployTreasuryRebalanceV2(auth *bind.TransactOpts, backend bind.ContractBac return address, tx, &TreasuryRebalanceV2{TreasuryRebalanceV2Caller: TreasuryRebalanceV2Caller{contract: contract}, TreasuryRebalanceV2Transactor: TreasuryRebalanceV2Transactor{contract: contract}, TreasuryRebalanceV2Filterer: TreasuryRebalanceV2Filterer{contract: contract}}, nil } -// TreasuryRebalanceV2 is an auto generated Go binding around a Klaytn contract. +// TreasuryRebalanceV2 is an auto generated Go binding around a Kaia contract. type TreasuryRebalanceV2 struct { TreasuryRebalanceV2Caller // Read-only binding to the contract TreasuryRebalanceV2Transactor // Write-only binding to the contract TreasuryRebalanceV2Filterer // Log filterer for contract events } -// TreasuryRebalanceV2Caller is an auto generated read-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2Caller is an auto generated read-only Go binding around a Kaia contract. type TreasuryRebalanceV2Caller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Transactor is an auto generated write-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2Transactor is an auto generated write-only Go binding around a Kaia contract. type TreasuryRebalanceV2Transactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Filterer is an auto generated log filtering Go binding around a Klaytn contract events. +// TreasuryRebalanceV2Filterer is an auto generated log filtering Go binding around a Kaia contract events. type TreasuryRebalanceV2Filterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// TreasuryRebalanceV2Session is an auto generated Go binding around a Klaytn contract, +// TreasuryRebalanceV2Session is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type TreasuryRebalanceV2Session struct { Contract *TreasuryRebalanceV2 // Generic contract binding to set the session for @@ -18217,31 +18217,31 @@ type TreasuryRebalanceV2Session struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceV2CallerSession is an auto generated read-only Go binding around a Klaytn contract, +// TreasuryRebalanceV2CallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type TreasuryRebalanceV2CallerSession struct { Contract *TreasuryRebalanceV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// TreasuryRebalanceV2TransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// TreasuryRebalanceV2TransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type TreasuryRebalanceV2TransactorSession struct { Contract *TreasuryRebalanceV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// TreasuryRebalanceV2Raw is an auto generated low-level Go binding around a Klaytn contract. +// TreasuryRebalanceV2Raw is an auto generated low-level Go binding around a Kaia contract. type TreasuryRebalanceV2Raw struct { Contract *TreasuryRebalanceV2 // Generic contract binding to access the raw methods on } -// TreasuryRebalanceV2CallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2CallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type TreasuryRebalanceV2CallerRaw struct { Contract *TreasuryRebalanceV2Caller // Generic read-only contract binding to access the raw methods on } -// TreasuryRebalanceV2TransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// TreasuryRebalanceV2TransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type TreasuryRebalanceV2TransactorRaw struct { Contract *TreasuryRebalanceV2Transactor // Generic write-only contract binding to access the raw methods on } @@ -20371,29 +20371,29 @@ const UUPSUpgradeableBinRuntime = `` // Deprecated: Use UUPSUpgradeableMetaData.Sigs instead. var UUPSUpgradeableFuncSigs = UUPSUpgradeableMetaData.Sigs -// UUPSUpgradeable is an auto generated Go binding around a Klaytn contract. +// UUPSUpgradeable is an auto generated Go binding around a Kaia contract. type UUPSUpgradeable struct { UUPSUpgradeableCaller // Read-only binding to the contract UUPSUpgradeableTransactor // Write-only binding to the contract UUPSUpgradeableFilterer // Log filterer for contract events } -// UUPSUpgradeableCaller is an auto generated read-only Go binding around a Klaytn contract. +// UUPSUpgradeableCaller is an auto generated read-only Go binding around a Kaia contract. type UUPSUpgradeableCaller struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableTransactor is an auto generated write-only Go binding around a Klaytn contract. +// UUPSUpgradeableTransactor is an auto generated write-only Go binding around a Kaia contract. type UUPSUpgradeableTransactor struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableFilterer is an auto generated log filtering Go binding around a Klaytn contract events. +// UUPSUpgradeableFilterer is an auto generated log filtering Go binding around a Kaia contract events. type UUPSUpgradeableFilterer struct { contract *bind.BoundContract // Generic contract wrapper for the low level calls } -// UUPSUpgradeableSession is an auto generated Go binding around a Klaytn contract, +// UUPSUpgradeableSession is an auto generated Go binding around a Kaia contract, // with pre-set call and transact options. type UUPSUpgradeableSession struct { Contract *UUPSUpgradeable // Generic contract binding to set the session for @@ -20401,31 +20401,31 @@ type UUPSUpgradeableSession struct { TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// UUPSUpgradeableCallerSession is an auto generated read-only Go binding around a Klaytn contract, +// UUPSUpgradeableCallerSession is an auto generated read-only Go binding around a Kaia contract, // with pre-set call options. type UUPSUpgradeableCallerSession struct { Contract *UUPSUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session } -// UUPSUpgradeableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, +// UUPSUpgradeableTransactorSession is an auto generated write-only Go binding around a Kaia contract, // with pre-set transact options. type UUPSUpgradeableTransactorSession struct { Contract *UUPSUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session } -// UUPSUpgradeableRaw is an auto generated low-level Go binding around a Klaytn contract. +// UUPSUpgradeableRaw is an auto generated low-level Go binding around a Kaia contract. type UUPSUpgradeableRaw struct { Contract *UUPSUpgradeable // Generic contract binding to access the raw methods on } -// UUPSUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract. +// UUPSUpgradeableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract. type UUPSUpgradeableCallerRaw struct { Contract *UUPSUpgradeableCaller // Generic read-only contract binding to access the raw methods on } -// UUPSUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract. +// UUPSUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract. type UUPSUpgradeableTransactorRaw struct { Contract *UUPSUpgradeableTransactor // Generic write-only contract binding to access the raw methods on } From 7b3a17f99c92022a1f7b297a63c4ad894f37848a Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 15:00:44 +0900 Subject: [PATCH 04/16] Update NOTE to Kaia --- blockchain/blockchain.go | 2 +- blockchain/tx_pool.go | 2 +- blockchain/tx_pool_test.go | 18 +++++++++--------- .../account_key_weighted_multi_sig.go | 2 +- blockchain/types/receipt.go | 2 +- cmd/homi/setup/cmd.go | 4 ++-- cmd/utils/config.go | 8 ++++---- cmd/utils/customflags.go | 2 +- log/log_modules.go | 2 +- node/cn/backend.go | 2 +- params/config.go | 2 +- storage/database/cache_manager.go | 2 +- storage/statedb/proof.go | 2 +- tests/klay_test_account_map_test.go | 2 +- work/worker.go | 6 +++--- 15 files changed, 29 insertions(+), 29 deletions(-) diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index 0c75c14b9a..d4f6291c39 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -1385,7 +1385,7 @@ func (bc *BlockChain) writeStateTrie(block *types.Block, state *state.StateDB) e trieDBPreimagesSizeGauge.Update(int64(preimagesSize)) if nodesSize > nodesSizeLimit || preimagesSize > 4*1024*1024 { - // NOTE-Klaytn Not to change the original behavior, error is not returned. + // NOTE-Kaia Not to change the original behavior, error is not returned. // Error should be returned if it is thought to be safe in the future. if err := trieDB.Cap(nodesSizeLimit - database.IdealBatchSize); err != nil { logger.Error("Error from trieDB.Cap", "err", err, "limit", nodesSizeLimit-database.IdealBatchSize) diff --git a/blockchain/tx_pool.go b/blockchain/tx_pool.go index 07a82c9d81..a65965fe1b 100644 --- a/blockchain/tx_pool.go +++ b/blockchain/tx_pool.go @@ -687,7 +687,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction) error { return ErrInvalidChainId } - // NOTE-Klaytn Drop transactions with unexpected gasPrice + // NOTE-Kaia Drop transactions with unexpected gasPrice // If the transaction type is DynamicFee tx, Compare transaction's GasFeeCap(MaxFeePerGas) and GasTipCap with tx pool's gasPrice to check to have same value. if tx.Type() == types.TxTypeEthereumDynamicFee { // Sanity check for extremely large numbers diff --git a/blockchain/tx_pool_test.go b/blockchain/tx_pool_test.go index c7e096f4a4..8785917735 100644 --- a/blockchain/tx_pool_test.go +++ b/blockchain/tx_pool_test.go @@ -402,7 +402,7 @@ func TestInvalidTransactions(t *testing.T) { tx = transaction(1, 100000, key) pool.SetBaseFee(big.NewInt(1000)) - // NOTE-Klaytn We only accept txs with an expected gas price only + // NOTE-Kaia We only accept txs with an expected gas price only // regardless of local or remote. if err := pool.AddRemote(tx); err != ErrInvalidUnitPrice { t.Error("expected", ErrInvalidUnitPrice, "got", err) @@ -443,7 +443,7 @@ func TestInvalidTransactionsMagma(t *testing.T) { tx = transaction(1, 100000, key) pool.SetBaseFee(big.NewInt(1000)) - // NOTE-Klaytn if the gasPrice in tx is lower than txPool's + // NOTE-Kaia if the gasPrice in tx is lower than txPool's // It should return ErrGasPriceBelowBaseFee error after magma hardfork if err := pool.AddRemote(tx); err != ErrGasPriceBelowBaseFee { t.Error("expected", ErrGasPriceBelowBaseFee, "got", err) @@ -632,7 +632,7 @@ func TestTransactionDoubleNonce(t *testing.T) { tx2, _ := types.SignTx(types.NewTransaction(0, common.HexToAddress("0xAAAA"), big.NewInt(100), 1000000, big.NewInt(1), nil), signer, key) tx3, _ := types.SignTx(types.NewTransaction(0, common.HexToAddress("0xAAAA"), big.NewInt(100), 1000000, big.NewInt(1), nil), signer, key) - // NOTE-Klaytn Add the first two transaction, ensure the first one stays only + // NOTE-Kaia Add the first two transaction, ensure the first one stays only if replace, err := pool.add(tx1, false); err != nil || replace { t.Errorf("first transaction insert failed (%v) or reported replacement (%v)", err, replace) } @@ -646,7 +646,7 @@ func TestTransactionDoubleNonce(t *testing.T) { if tx := pool.pending[addr].txs.items[0]; tx.Hash() != tx1.Hash() { t.Errorf("transaction mismatch: have %x, want %x", tx.Hash(), tx2.Hash()) } - // NOTE-Klaytn Add the third transaction and ensure it's not saved + // NOTE-Kaia Add the third transaction and ensure it's not saved pool.add(tx3, false) pool.promoteExecutables([]common.Address{addr}) if pool.pending[addr].Len() != 1 { @@ -1454,7 +1454,7 @@ func TestTransactionPendingMinimumAllowance(t *testing.T) { } } -// NOTE-Klaytn Disable test, because we don't have a pool repricing feature anymore. +// NOTE-Kaia Disable test, because we don't have a pool repricing feature anymore. // Tests that setting the transaction pool gas price to a higher value correctly // discards everything cheaper than that and moves any gapped transactions back // from the pending pool to the queue. @@ -1532,7 +1532,7 @@ func TestTransactionPoolRepricing(t *testing.T) { if err := validateTxPoolInternals(pool); err != nil { t.Fatalf("pool internal state corrupted: %v", err) } - // NOTE-Klaytn Klaytn currently accepts remote txs regardless of gas price. + // NOTE-Kaia Klaytn currently accepts remote txs regardless of gas price. // TODO-Kaia-RemoveLater Remove or uncomment the code below once the policy for how to // deal with underpriced remote txs is decided. // Check that we can't add the old transactions back @@ -1647,7 +1647,7 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) { } */ -// NOTE-Klaytn Disable test, because we accept only transactions with a expected +// NOTE-Kaia Disable test, because we accept only transactions with a expected // gas price and there is no underpricing policy anymore. // Tests that when the pool reaches its global transaction limit, underpriced // transactions are gradually shifted out for more expensive ones and any gapped @@ -1759,7 +1759,7 @@ func TestTransactionPoolUnderpricing(t *testing.T) { } */ -// NOTE-Klaytn Disable test, because we accept only transactions with a expected +// NOTE-Kaia Disable test, because we accept only transactions with a expected // gas price and there is no underpricing policy anymore. // Tests that more expensive transactions push out cheap ones from the pool, but // without producing instability by creating gaps that start jumping transactions @@ -1830,7 +1830,7 @@ func TestTransactionPoolStableUnderpricing(t *testing.T) { } */ -// NOTE-Klaytn Disable this test, because we don't have a replacement rule. +// NOTE-Kaia Disable this test, because we don't have a replacement rule. // Tests that the pool rejects replacement transactions that don't meet the minimum // price bump required. /* diff --git a/blockchain/types/accountkey/account_key_weighted_multi_sig.go b/blockchain/types/accountkey/account_key_weighted_multi_sig.go index 53c321a518..d58a88980e 100644 --- a/blockchain/types/accountkey/account_key_weighted_multi_sig.go +++ b/blockchain/types/accountkey/account_key_weighted_multi_sig.go @@ -30,7 +30,7 @@ import ( const ( // TODO-Kaia-MultiSig: Need to fix the maximum number of keys allowed for an account. - // NOTE-Klaytn-MultiSig: This value should not be reduced. If it is reduced, there is a case: + // NOTE-Kaia-MultiSig: This value should not be reduced. If it is reduced, there is a case: // - the tx validation will be failed if the sender has larger keys. MaxNumKeysForMultiSig = uint64(10) ) diff --git a/blockchain/types/receipt.go b/blockchain/types/receipt.go index fa4e4734d7..873ff6910c 100644 --- a/blockchain/types/receipt.go +++ b/blockchain/types/receipt.go @@ -48,7 +48,7 @@ const ( // TODO-Kaia Enable more error below. // Klaytn specific - // NOTE-Klaytn Value should be consecutive from ReceiptStatusFailed to the last ReceiptStatusLast + // NOTE-Kaia Value should be consecutive from ReceiptStatusFailed to the last ReceiptStatusLast // Add a new ReceiptStatusErrXXX before ReceiptStatusLast ReceiptStatusErrDefault = uint(0x02) // Default ReceiptStatusErrDepth = uint(0x03) diff --git a/cmd/homi/setup/cmd.go b/cmd/homi/setup/cmd.go index d7a1ffc385..5b3c57847e 100644 --- a/cmd/homi/setup/cmd.go +++ b/cmd/homi/setup/cmd.go @@ -664,7 +664,7 @@ func Gen(ctx *cli.Context) error { chainid := ctx.Uint64(chainIDFlag.Name) serviceChainId := ctx.Uint64(serviceChainIDFlag.Name) - // Note-klaytn : the following code that seems unnecessary is for the priority to flags, not yaml + // NOTE-Kaia : the following code that seems unnecessary is for the priority to flags, not yaml if !baobab && !baobabTest && !cypress && !cypressTest && !serviceChain && !serviceChainTest && !clique { switch genesisType := ctx.String(genesisTypeFlag.Name); genesisType { case "baobab": @@ -1279,7 +1279,7 @@ func WriteFile(content []byte, parentFolder string, fileName string) { } func indexGenType(genTypeFlag string, base string) int { - // NOTE-Klaytn: genTypeFlag's default value is docker + // NOTE-Kaia: genTypeFlag's default value is docker if base != "" && genTypeFlag == "" { genTypeFlag = base } diff --git a/cmd/utils/config.go b/cmd/utils/config.go index 4b047b7f91..aa274c7315 100644 --- a/cmd/utils/config.go +++ b/cmd/utils/config.go @@ -133,7 +133,7 @@ func MakeConfigNode(ctx *cli.Context) (*node.Node, KlayConfig) { ServiceChain: *sc.DefaultServiceChainConfig(), } - // NOTE-Klaytn : klaytn loads the flags from yaml, not toml + // NOTE-Kaia : klaytn loads the flags from yaml, not toml // Load config file. // if file := ctx.String(ConfigFileFlag.Name); file != "" { // if err := LoadConfig(file, &cfg); err != nil { @@ -909,7 +909,7 @@ func (kCfg *KlayConfig) SetChainDataFetcherConfig(ctx *cli.Context) { } } -// NOTE-klaytn +// NOTE-Kaia // Deprecated: KASConfig is not used anymore. func checkKASDBConfigs(ctx *cli.Context) { if !ctx.IsSet(ChainDataFetcherKASDBHostFlag.Name) { @@ -926,7 +926,7 @@ func checkKASDBConfigs(ctx *cli.Context) { } } -// NOTE-klaytn +// NOTE-Kaia // Deprecated: KASConfig is not used anymore. func checkKASCacheInvalidationConfigs(ctx *cli.Context) { if !ctx.IsSet(ChainDataFetcherKASCacheURLFlag.Name) { @@ -940,7 +940,7 @@ func checkKASCacheInvalidationConfigs(ctx *cli.Context) { } } -// NOTE-klaytn +// NOTE-Kaia // Deprecated: KASConfig is not used anymore. func makeKASConfig(ctx *cli.Context) *kas.KASConfig { kasConfig := kas.DefaultKASConfig diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go index 6842235add..1a6f1a095e 100644 --- a/cmd/utils/customflags.go +++ b/cmd/utils/customflags.go @@ -38,7 +38,7 @@ import ( "github.com/urfave/cli/v2/altsrc" ) -// NOTE-klaytn: The custom directoryFlag deprecated. +// NOTE-Kaia: The custom directoryFlag deprecated. // urfave.v2 new flag, PathFlag, replaced the directoryFlag. // Custom type which is registered in the flags library which cli uses for diff --git a/log/log_modules.go b/log/log_modules.go index 7603f2baa4..1eb7d8849f 100644 --- a/log/log_modules.go +++ b/log/log_modules.go @@ -53,7 +53,7 @@ func (mi ModuleID) String() string { return moduleNames[mi] } -// NOTE-Klaytn-Log Please add module in lexicographical order. +// NOTE-Kaia-Log Please add module in lexicographical order. const ( // 0 BaseLogger ModuleID = iota diff --git a/node/cn/backend.go b/node/cn/backend.go index 807039f36f..ccc1d20134 100644 --- a/node/cn/backend.go +++ b/node/cn/backend.go @@ -385,7 +385,7 @@ func New(ctx *node.ServiceContext, config *Config) (*CN, error) { gpoParams := config.GPO - // NOTE-Klaytn Now we use latest unitPrice + // NOTE-Kaia Now we use latest unitPrice // So let's override gpoParams.Default with config.GasPrice gpoParams.Default = config.GasPrice diff --git a/params/config.go b/params/config.go index 375e8b9d92..da42a6c065 100644 --- a/params/config.go +++ b/params/config.go @@ -152,7 +152,7 @@ var ( Gxhash: new(GxhashConfig), Clique: nil, Istanbul: nil, - UnitPrice: 1, // NOTE-Klaytn Use UnitPrice 1 for tests + UnitPrice: 1, // NOTE-Kaia Use UnitPrice 1 for tests DeriveShaImpl: 0, } TestRules = TestChainConfig.Rules(new(big.Int)) diff --git a/storage/database/cache_manager.go b/storage/database/cache_manager.go index 3ad4e63851..f0f13fedc0 100644 --- a/storage/database/cache_manager.go +++ b/storage/database/cache_manager.go @@ -25,7 +25,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// NOTE-Klaytn-Cache BlockChain Caches +// NOTE-Kaia-Cache BlockChain Caches // Below is the list of the constants for cache size. // TODO-Kaia: Below should be handled by ini or other configurations. const ( diff --git a/storage/statedb/proof.go b/storage/statedb/proof.go index 75f95e2162..d51a40b707 100644 --- a/storage/statedb/proof.go +++ b/storage/statedb/proof.go @@ -103,7 +103,7 @@ func (t *Trie) Prove(key []byte, fromLevel uint, proofDB ProofDBWriter) error { return nil } -// NOTE-Klaytn-RemoveLater Below Prove is only used in tests, not in core codes. +// NOTE-Kaia-RemoveLater Below Prove is only used in tests, not in core codes. // Prove constructs a merkle proof for key. The result contains all encoded nodes // on the path to the value at key. The value itself is also included in the last // node and can be retrieved by verifying the proof. diff --git a/tests/klay_test_account_map_test.go b/tests/klay_test_account_map_test.go index f533beb130..c076ebe58f 100644 --- a/tests/klay_test_account_map_test.go +++ b/tests/klay_test_account_map_test.go @@ -88,7 +88,7 @@ func (a *AccountMap) Initialize(bcdata *BCData) error { return err } - // NOTE-Klaytn-Issue973 Developing Klaytn token economy + // NOTE-Kaia-Issue973 Developing Klaytn token economy // Add predefined accounts related to reward mechanism rewardContractAddr := common.HexToAddress("0x0000000000000000000000000000000000000441") kcfContractAddr := common.HexToAddress("0x0000000000000000000000000000000000000442") diff --git a/work/worker.go b/work/worker.go index bcb36c8771..f6f04dd531 100644 --- a/work/worker.go +++ b/work/worker.go @@ -517,7 +517,7 @@ func (self *worker) commitNewWork() { var nextBaseFee *big.Int if self.nodetype == common.CONSENSUSNODE { if self.config.IsMagmaForkEnabled(nextBlockNum) { - // NOTE-klaytn NextBlockBaseFee needs the header of parent, self.chain.CurrentBlock + // NOTE-Kaia NextBlockBaseFee needs the header of parent, self.chain.CurrentBlock // So above code, TxPool().Pending(), is separated with this and can be refactored later. nextBaseFee = misc.NextMagmaBlockBaseFee(parent.Header(), self.config.Governance.KIP71) pending = types.FilterTransactionWithBaseFee(pending, nextBaseFee) @@ -734,7 +734,7 @@ CommitTransactionLoop: // We use the eip155 signer regardless of the current hf. from, _ := types.Sender(env.signer, tx) - // NOTE-Klaytn Since Klaytn is always in EIP155, the below replay protection code is not needed. + // NOTE-Kaia Since Klaytn is always in EIP155, the below replay protection code is not needed. // TODO-Kaia-RemoveLater Remove the code commented below. // Check whether the tx is replay protected. If we're not in the EIP155 hf // phase, start ignoring the sender until we do. @@ -774,7 +774,7 @@ CommitTransactionLoop: logger.Error("A single transaction exceeds total time limit", "hash", tx.Hash().String()) tooLongTxCounter.Inc(1) } - // NOTE-Klaytn Exit for loop immediately without checking abort variable again. + // NOTE-Kaia Exit for loop immediately without checking abort variable again. break CommitTransactionLoop case blockchain.ErrTxTypeNotSupported: From d91d633271201cf55cb548a56cf7aca5fe502323 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 15:13:28 +0900 Subject: [PATCH 05/16] Update blockchain, network, protocol to Kaia --- accounts/abi/bind/backends/simulated.go | 2 +- accounts/abi/bind/base.go | 6 +++--- api/api_public_blockchain.go | 4 ++-- api/api_public_klay.go | 4 ++-- api/api_public_net.go | 2 +- api/doc.go | 2 +- blockchain/state/statedb.go | 2 +- blockchain/types/block.go | 6 +++--- consensus/protocol.go | 2 +- datasync/downloader/api.go | 2 +- datasync/downloader/peer.go | 2 +- interfaces.go | 2 +- node/cn/api.go | 2 +- node/cn/backend.go | 4 ++-- node/cn/doc.go | 2 +- node/cn/filters/api.go | 2 +- node/cn/handler.go | 4 ++-- node/cn/peer.go | 6 +++--- node/cn/protocol.go | 2 +- node/sc/bridgepeer.go | 4 ++-- node/sc/doc.go | 2 +- node/sc/mainbridge.go | 6 +++--- node/sc/protocol.go | 2 +- node/sc/subbridge.go | 6 +++--- params/protocol_params.go | 2 +- 25 files changed, 40 insertions(+), 40 deletions(-) diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 52770e23a8..7b6e38170b 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -61,7 +61,7 @@ var ( // DeployBackend, GasEstimator, GasPricer, LogFilterer, PendingContractCaller, TransactionReader, and TransactionSender type SimulatedBackend struct { database database.DBManager // In memory database to store our testing data - blockchain *blockchain.BlockChain // Klaytn blockchain to handle the consensus + blockchain *blockchain.BlockChain // Kaia blockchain to handle the consensus mu sync.Mutex pendingBlock *types.Block // Currently pending block that will be imported on request diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index 369cb7936a..d9b6e6762c 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -102,10 +102,10 @@ func (m *MetaData) GetAbi() (*abi.ABI, error) { } // BoundContract is the base wrapper object that reflects a contract on the -// Klaytn network. It contains a collection of methods that are used by the +// Kaia network. It contains a collection of methods that are used by the // higher level contract bindings to operate. type BoundContract struct { - address common.Address // Deployment address of the contract on the Klaytn blockchain + address common.Address // Deployment address of the contract on the Kaia blockchain abi abi.ABI // Reflect based ABI to access the correct Klaytn methods caller ContractCaller // Read interface to interact with the blockchain transactor ContractTransactor // Write interface to interact with the blockchain @@ -124,7 +124,7 @@ func NewBoundContract(address common.Address, abi abi.ABI, caller ContractCaller } } -// DeployContract deploys a contract onto the Klaytn network and binds the +// DeployContract deploys a contract onto the Kaia network and binds the // deployment address with a Go wrapper. func DeployContract(opts *TransactOpts, abi abi.ABI, bytecode []byte, backend ContractBackend, params ...interface{}) (common.Address, *types.Transaction, *BoundContract, error) { // Otherwise try to deploy the contract diff --git a/api/api_public_blockchain.go b/api/api_public_blockchain.go index 94f541dfb6..9e69fae316 100644 --- a/api/api_public_blockchain.go +++ b/api/api_public_blockchain.go @@ -45,13 +45,13 @@ import ( var logger = log.NewModuleLogger(log.API) -// PublicBlockChainAPI provides an API to access the Klaytn blockchain. +// PublicBlockChainAPI provides an API to access the Kaia blockchain. // It offers only methods that operate on public data that is freely available to anyone. type PublicBlockChainAPI struct { b Backend } -// NewPublicBlockChainAPI creates a new Klaytn blockchain API. +// NewPublicBlockChainAPI creates a new Kaia blockchain API. func NewPublicBlockChainAPI(b Backend) *PublicBlockChainAPI { return &PublicBlockChainAPI{b} } diff --git a/api/api_public_klay.go b/api/api_public_klay.go index 603705ffb3..d79c3f27a8 100644 --- a/api/api_public_klay.go +++ b/api/api_public_klay.go @@ -37,7 +37,7 @@ type PublicKlayAPI struct { b Backend } -// NewPublicKlayAPI creates a new Klaytn protocol API. +// NewPublicKlayAPI creates a new Kaia protocol API. func NewPublicKlayAPI(b Backend) *PublicKlayAPI { return &PublicKlayAPI{b} } @@ -56,7 +56,7 @@ func (s *PublicKlayAPI) LowerBoundGasPrice(ctx context.Context) *hexutil.Big { return (*hexutil.Big)(s.b.LowerBoundGasPrice(ctx)) } -// ProtocolVersion returns the current Klaytn protocol version this node supports. +// ProtocolVersion returns the current Kaia protocol version this node supports. func (s *PublicKlayAPI) ProtocolVersion() hexutil.Uint { return hexutil.Uint(s.b.ProtocolVersion()) } diff --git a/api/api_public_net.go b/api/api_public_net.go index c9fdd0404a..ebf0ba3e07 100644 --- a/api/api_public_net.go +++ b/api/api_public_net.go @@ -53,7 +53,7 @@ func (s *PublicNetAPI) PeerCountByType() map[string]uint { return s.net.PeerCountByType() } -// Version returns the current klaytn protocol version. +// Version returns the current Kaia protocol version. func (s *PublicNetAPI) Version() string { return fmt.Sprintf("%d", s.networkVersion) } diff --git a/api/doc.go b/api/doc.go index a2379adddf..85bf1f61a2 100644 --- a/api/doc.go +++ b/api/doc.go @@ -33,7 +33,7 @@ Source Files - api_private_account.go : provides private APIs to access accounts managed by the node. - api_private_debug.go : provides private APIs exposed over the debugging node. - api_public_account.go : provides public APIs to access accounts managed by the node. - - api_public_blockchain.go : provides public APIs to access the Klaytn blockchain. + - api_public_blockchain.go : provides public APIs to access the Kaia blockchain. - api_public_cypress.go : provides public APIs to return specific information of Klaytn Cypress network. - api_public_debug.go : provides public APIs exposed over the debugging node. - api_public_klay.go : provides public APIs to access Klaytn related data. diff --git a/blockchain/state/statedb.go b/blockchain/state/statedb.go index bccbb99444..f25fa9fd42 100644 --- a/blockchain/state/statedb.go +++ b/blockchain/state/statedb.go @@ -57,7 +57,7 @@ var ( EnabledExpensive = false ) -// StateDBs within the Klaytn protocol are used to cache stateObjects from Merkle Patricia Trie +// StateDBs within the Kaia protocol are used to cache stateObjects from Merkle Patricia Trie // and mediate the operations to them. type StateDB struct { db Database diff --git a/blockchain/types/block.go b/blockchain/types/block.go index 731e7e35ce..229b66921b 100644 --- a/blockchain/types/block.go +++ b/blockchain/types/block.go @@ -45,7 +45,7 @@ var EngineType = Engine_IBFT //go:generate gencodec -type Header -field-override headerMarshaling -out gen_header_json.go -// Header represents a block header in the Klaytn blockchain. +// Header represents a block header in the Kaia blockchain. type Header struct { ParentHash common.Hash `json:"parentHash" gencodec:"required"` Rewardbase common.Address `json:"reward" gencodec:"required"` @@ -175,7 +175,7 @@ type Body struct { Transactions []*Transaction } -// Block represents an entire block in the Klaytn blockchain. +// Block represents an entire block in the Kaia blockchain. type Block struct { header *Header transactions Transactions @@ -198,7 +198,7 @@ type Result struct { Round int64 } -// extblock represents external block encoding used for Klaytn protocol, etc. +// extblock represents external block encoding used for Kaia protocol, etc. type extblock struct { Header *Header Txs []*Transaction diff --git a/consensus/protocol.go b/consensus/protocol.go index ef7fda047c..83b9d8f81c 100644 --- a/consensus/protocol.go +++ b/consensus/protocol.go @@ -44,7 +44,7 @@ var KlayProtocol = Protocol{ type Protocol struct { // Official short name of the protocol used during capability negotiation. Name string - // Supported versions of the klaytn protocol (first is primary). + // Supported versions of the Kaia protocol (first is primary). Versions []uint // Number of implemented message corresponding to different protocol versions. Lengths []uint64 diff --git a/datasync/downloader/api.go b/datasync/downloader/api.go index 5b3c2750b7..8163b2fdb8 100644 --- a/datasync/downloader/api.go +++ b/datasync/downloader/api.go @@ -99,7 +99,7 @@ func (api *PublicDownloaderAPI) eventLoop() { } } -// Syncing provides information when this nodes starts synchronising with the Klaytn network and when it's finished. +// Syncing provides information when this nodes starts synchronising with the Kaia network and when it's finished. func (api *PublicDownloaderAPI) Syncing(ctx context.Context) (*rpc.Subscription, error) { notifier, supported := rpc.NotifierFromContext(ctx) if !supported { diff --git a/datasync/downloader/peer.go b/datasync/downloader/peer.go index ef1ecea64a..e839b68aa1 100644 --- a/datasync/downloader/peer.go +++ b/datasync/downloader/peer.go @@ -74,7 +74,7 @@ type peerConnection struct { peer Peer - version int // Klaytn protocol version number to switch strategies + version int // Kaia protocol version number to switch strategies logger log.Logger // Contextual logger to add extra infos to peer logs lock sync.RWMutex } diff --git a/interfaces.go b/interfaces.go index 87d3d1264c..b6428cd158 100644 --- a/interfaces.go +++ b/interfaces.go @@ -99,7 +99,7 @@ type ChainStateReader interface { } // SyncProgress gives progress indications when the node is synchronising with -// the Klaytn network. +// the Kaia network. type SyncProgress struct { StartingBlock uint64 // Block number where sync began CurrentBlock uint64 // Current block number where sync is at diff --git a/node/cn/api.go b/node/cn/api.go index 4215024ad3..db151292f0 100644 --- a/node/cn/api.go +++ b/node/cn/api.go @@ -49,7 +49,7 @@ type PublicKlayAPI struct { cn *CN } -// NewPublicKlayAPI creates a new Klaytn protocol API for full nodes. +// NewPublicKlayAPI creates a new Kaia protocol API for full nodes. func NewPublicKlayAPI(e *CN) *PublicKlayAPI { return &PublicKlayAPI{e} } diff --git a/node/cn/backend.go b/node/cn/backend.go index ccc1d20134..bcb7d2299e 100644 --- a/node/cn/backend.go +++ b/node/cn/backend.go @@ -678,7 +678,7 @@ func (s *CN) Protocols() []p2p.Protocol { } // Start implements node.Service, starting all internal goroutines needed by the -// Klaytn protocol implementation. +// Kaia protocol implementation. func (s *CN) Start(srvr p2p.Server) error { // Start the bloom bits servicing goroutines s.startBloomHandlers() @@ -700,7 +700,7 @@ func (s *CN) Start(srvr p2p.Server) error { } // Stop implements node.Service, terminating all internal goroutines used by the -// Klaytn protocol. +// Kaia protocol. func (s *CN) Stop() error { // Stop all the peer-related stuff first. s.protocolManager.Stop() diff --git a/node/cn/doc.go b/node/cn/doc.go index a91939bc22..37764124c0 100644 --- a/node/cn/doc.go +++ b/node/cn/doc.go @@ -34,7 +34,7 @@ Source Files - metrics.go : includes statistics used in cn package - peer.go : provides the interface and implementation of Peer interface - peer_set.go : provides the interface and implementation of PeerSet interface - - protocol.go : defines the protocol version of Klaytn network and includes errors in cn package + - protocol.go : defines the protocol version of Kaia network and includes errors in cn package - sync.go : includes syncing features of ProtocolManager */ package cn diff --git a/node/cn/filters/api.go b/node/cn/filters/api.go index 5d670be90c..3ed032aec9 100644 --- a/node/cn/filters/api.go +++ b/node/cn/filters/api.go @@ -60,7 +60,7 @@ type filter struct { } // PublicFilterAPI offers support to create and manage filters. This will allow external clients to retrieve various -// information related to the Klaytn protocol such als blocks, transactions and logs. +// information related to the Kaia protocol such als blocks, transactions and logs. type PublicFilterAPI struct { backend Backend mux *event.TypeMux diff --git a/node/cn/handler.go b/node/cn/handler.go index 39f0e870f9..737d54d4c9 100644 --- a/node/cn/handler.go +++ b/node/cn/handler.go @@ -137,7 +137,7 @@ type ProtocolManager struct { } // NewProtocolManager returns a new Klaytn sub protocol manager. The Klaytn sub protocol manages peers capable -// with the Klaytn network. +// with the Kaia network. func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, networkId uint64, mux *event.TypeMux, txpool work.TxPool, engine consensus.Engine, blockchain work.BlockChain, chainDB database.DBManager, cacheLimit int, nodetype common.ConnType, cnconfig *Config, @@ -1490,7 +1490,7 @@ func (pm *ProtocolManager) useTxResend() bool { // known about the host peer. type NodeInfo struct { // TODO-Kaia describe predefined network ID below - Network uint64 `json:"network"` // Klaytn network ID + Network uint64 `json:"network"` // Kaia network ID BlockScore *big.Int `json:"blockscore"` // Total blockscore of the host's blockchain Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block Config *params.ChainConfig `json:"config"` // Chain configuration for the fork rules diff --git a/node/cn/peer.go b/node/cn/peer.go index 016cfb842d..f9c2b69183 100644 --- a/node/cn/peer.go +++ b/node/cn/peer.go @@ -75,7 +75,7 @@ const ( // PeerInfo represents a short summary of the Klaytn sub-protocol metadata known // about a connected peer. type PeerInfo struct { - Version int `json:"version"` // Klaytn protocol version negotiated + Version int `json:"version"` // Kaia protocol version negotiated BlockScore *big.Int `json:"blockscore"` // Total blockscore of the peer's blockchain Head string `json:"head"` // SHA3 hash of the peer's best owned block } @@ -178,7 +178,7 @@ type Peer interface { // It is used solely by the fetcher. FetchBlockBodies(hashes []common.Hash) error - // Handshake executes the Klaytn protocol handshake, negotiating version number, + // Handshake executes the Kaia protocol handshake, negotiating version number, // network IDs, difficulties, head, and genesis blocks and returning error. Handshake(network uint64, chainID, td *big.Int, head common.Hash, genesis common.Hash) error @@ -629,7 +629,7 @@ func (p *basePeer) RequestStakingInfo(hashes []common.Hash) error { return p2p.Send(p.rw, StakingInfoRequestMsg, hashes) } -// Handshake executes the Klaytn protocol handshake, negotiating version number, +// Handshake executes the Kaia protocol handshake, negotiating version number, // network IDs, difficulties, head and genesis blocks. func (p *basePeer) Handshake(network uint64, chainID, td *big.Int, head common.Hash, genesis common.Hash) error { // Send out own handshake in a new thread diff --git a/node/cn/protocol.go b/node/cn/protocol.go index 27c20e3deb..b9251c0ec0 100644 --- a/node/cn/protocol.go +++ b/node/cn/protocol.go @@ -55,7 +55,7 @@ var ProtocolLengths = []uint64{21, 19, 17, 8} const ProtocolMaxMsgSize = 12 * 1024 * 1024 // Maximum cap on the size of a protocol message -// Klaytn protocol message codes +// Kaia protocol message codes // TODO-Kaia-Issue751 Protocol message should be refactored. Present code is not used. const ( // Protocol messages belonging to klay/62 diff --git a/node/sc/bridgepeer.go b/node/sc/bridgepeer.go index d48a5e6425..72d52841eb 100644 --- a/node/sc/bridgepeer.go +++ b/node/sc/bridgepeer.go @@ -74,7 +74,7 @@ type BridgePeer interface { // data should have been encoded as an RLP list. Send(msgcode uint64, data interface{}) error - // Handshake executes the Klaytn protocol handshake, negotiating version number, + // Handshake executes the Kaia protocol handshake, negotiating version number, // network IDs, difficulties, head, genesis blocks, and onChildChain(if the node is on child chain for the peer) // and returning if the peer on the same chain or not and error. Handshake(network uint64, chainID, td *big.Int, head common.Hash) error @@ -259,7 +259,7 @@ func (p *baseBridgePeer) SendServiceChainInvalidTxResponse(invalidTxs []InvalidP return p2p.Send(p.rw, ServiceChainInvalidTxResponseMsg, invalidTxs) } -// Handshake executes the Klaytn protocol handshake, negotiating version number, +// Handshake executes the Kaia protocol handshake, negotiating version number, // network IDs, difficulties, head and genesis blocks. func (p *baseBridgePeer) Handshake(network uint64, chainID, td *big.Int, head common.Hash) error { // Send out own handshake in a new thread diff --git a/node/sc/doc.go b/node/sc/doc.go index b83e5d997f..792b27f650 100644 --- a/node/sc/doc.go +++ b/node/sc/doc.go @@ -18,7 +18,7 @@ Package sc implements an auxiliary blockchain called Service Chain. Service Chains in Klaytn are auxiliary blockchains independent from the Klaytn main chain. -They mostly act like normal Klaytn blockchains but has additional features to connect them to another Klaytn network. +They mostly act like normal Kaia blockchains but has additional features to connect them to another Klaytn network. They can be used as separate public/private blockchains or child chains of a Klaytn chain (or another Service Chain). The followings describe main features of Service chain. - Anchoring block data of Service Chain diff --git a/node/sc/mainbridge.go b/node/sc/mainbridge.go index 5494a0c8c4..270e7b7eb2 100644 --- a/node/sc/mainbridge.go +++ b/node/sc/mainbridge.go @@ -55,7 +55,7 @@ const ( // MainBridgeInfo represents a short summary of the Klaytn sub-protocol metadata // known about the host peer. type MainBridgeInfo struct { - Network uint64 `json:"network"` // Klaytn network ID + Network uint64 `json:"network"` // Kaia network ID BlockScore *big.Int `json:"blockscore"` // Total blockscore of the host's blockchain Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block Config *params.ChainConfig `json:"config"` // Chain configuration for the fork rules @@ -283,7 +283,7 @@ func (mb *MainBridge) getChainID() *big.Int { } // Start implements node.Service, starting all internal goroutines needed by the -// Klaytn protocol implementation. +// Kaia protocol implementation. func (mb *MainBridge) Start(srvr p2p.Server) error { serverConfig := p2p.Config{} serverConfig.PrivateKey = mb.ctx.NodeKey() @@ -518,7 +518,7 @@ func (mb *MainBridge) synchronise(peer BridgePeer) { } // Stop implements node.Service, terminating all internal goroutines used by the -// Klaytn protocol. +// Kaia protocol. func (mb *MainBridge) Stop() error { close(mb.quitSync) diff --git a/node/sc/protocol.go b/node/sc/protocol.go index dfb7ac9765..67e3c21ffc 100644 --- a/node/sc/protocol.go +++ b/node/sc/protocol.go @@ -56,7 +56,7 @@ var ( type SCProtocol struct { // Official short name of the protocol used during capability negotiation. Name string - // Supported versions of the Klaytn protocol (first is primary). + // Supported versions of the Kaia protocol (first is primary). Versions []uint // Number of implemented message corresponding to different protocol versions. Lengths []uint64 diff --git a/node/sc/subbridge.go b/node/sc/subbridge.go index 50c0fd7a38..6dd9a10b50 100644 --- a/node/sc/subbridge.go +++ b/node/sc/subbridge.go @@ -79,7 +79,7 @@ type Backend interface { // NodeInfo represents a short summary of the ServiceChain sub-protocol metadata // known about the host peer. type SubBridgeInfo struct { - Network uint64 `json:"network"` // Klaytn network ID + Network uint64 `json:"network"` // Kaia network ID Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block Config *params.ChainConfig `json:"config"` // Chain configuration for the fork rules Head common.Hash `json:"head"` // SHA3 hash of the host's best owned block @@ -423,7 +423,7 @@ func (sb *SubBridge) getChainID() *big.Int { } // Start implements node.Service, starting all internal goroutines needed by the -// Klaytn protocol implementation. +// Kaia protocol implementation. func (sb *SubBridge) Start(srvr p2p.Server) error { if sb.bootFail { return errors.New("subBridge node fail to start") @@ -755,7 +755,7 @@ func (sb *SubBridge) synchronise(peer BridgePeer) { } // Stop implements node.Service, terminating all internal goroutines used by the -// Klaytn protocol. +// Kaia protocol. func (sb *SubBridge) Stop() error { close(sb.quitSync) sb.bridgeManager.stopAllRecoveries() diff --git a/params/protocol_params.go b/params/protocol_params.go index 967dee4328..1b74b1f73c 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -199,7 +199,7 @@ var ( TxGasHumanReadable uint64 = 4000000000 // NOTE: HumanReadable related functions are inactivated now - // TODO-Kaia Change the variables used in GXhash to more appropriate values for Klaytn Network + // TODO-Kaia Change the variables used in GXhash to more appropriate values for Kaia network BlockScoreBoundDivisor = big.NewInt(2048) // The bound divisor of the blockscore, used in the update calculations. GenesisBlockScore = big.NewInt(131072) // BlockScore of the Genesis block. MinimumBlockScore = big.NewInt(131072) // The minimum that the blockscore may ever be. From 424f071c416026389ee6cddc808f6dc7a029b329 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 15:15:16 +0900 Subject: [PATCH 06/16] Update account, transaction --- accounts/abi/bind/backend.go | 4 +-- accounts/abi/bind/base.go | 4 +-- accounts/abi/bind/doc.go | 2 +- accounts/accounts.go | 4 +-- accounts/doc.go | 2 +- api/api_ethereum.go | 8 +++--- api/api_ethereum_test.go | 8 +++--- blockchain/state/doc.go | 2 +- blockchain/state/state_object.go | 2 +- blockchain/types/account/account_common.go | 2 +- blockchain/types/account/doc.go | 2 +- .../types/account/externally_owned_account.go | 2 +- common/types.go | 2 +- consensus/clique/clique.go | 2 +- consensus/istanbul/backend/engine.go | 2 +- .../contracts/service_chain/bridge/Bridge.go | 28 +++++++++---------- .../system_contracts/consensus/Kip163.go | 16 +++++------ .../system_contracts/consensus/consensus.go | 6 ++-- .../system_contracts/gov/GovParam.go | 2 +- .../kip113/SimpleBlsRegistry.go | 6 ++-- .../system_contracts/kip149/Registry.go | 2 +- .../contracts/system_contracts/misc/credit.go | 2 +- .../contracts/system_contracts/proxy/proxy.go | 6 ++-- .../system_contracts/rebalance/all.go | 6 ++-- .../contracts/testing/extbridge/ext_bridge.go | 28 +++++++++---------- contracts/contracts/testing/reward/all.go | 10 +++---- .../contracts/testing/sc_erc20/sc_token.go | 14 +++++----- .../contracts/testing/sc_erc721/sc_nft.go | 20 ++++++------- .../testing/sc_erc721_no_uri/sc_nft_no_uri.go | 16 +++++------ .../contracts/testing/system_contracts/all.go | 20 ++++++------- datasync/dbsyncer/utils.go | 2 +- node/cn/snap/sync.go | 2 +- node/doc.go | 2 +- node/sc/doc.go | 2 +- reward/reward_distributor.go | 2 +- tests/apply_tx_test.go | 2 +- 36 files changed, 121 insertions(+), 121 deletions(-) diff --git a/accounts/abi/bind/backend.go b/accounts/abi/bind/backend.go index 0e01f06a63..6af997ee37 100644 --- a/accounts/abi/bind/backend.go +++ b/accounts/abi/bind/backend.go @@ -51,7 +51,7 @@ type ContractCaller interface { // CodeAt returns the code of the given account. This is needed to differentiate // between contract internal errors and the local chain being out of sync. CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) - // ContractCall executes a Klaytn contract call with the specified data as the + // ContractCall executes a Kaia contract call with the specified data as the // input. CallContract(ctx context.Context, call klaytn.CallMsg, blockNumber *big.Int) ([]byte, error) } @@ -62,7 +62,7 @@ type ContractCaller interface { type PendingContractCaller interface { // PendingCodeAt returns the code of the given account in the pending state. PendingCodeAt(ctx context.Context, contract common.Address) ([]byte, error) - // PendingCallContract executes a Klaytn contract call against the pending state. + // PendingCallContract executes a Kaia contract call against the pending state. PendingCallContract(ctx context.Context, call klaytn.CallMsg) ([]byte, error) } diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index d9b6e6762c..eb70023f17 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -49,9 +49,9 @@ type CallOpts struct { } // TransactOpts is the collection of authorization data required to create a -// valid Klaytn transaction. +// valid Kaia transaction. type TransactOpts struct { - From common.Address // Klaytn account to send the transaction from + From common.Address // Kaia account to send the transaction from Nonce *big.Int // Nonce to use for the transaction execution (nil = use pending state) Signer SignerFn // Method to use for signing the transaction (mandatory) diff --git a/accounts/abi/bind/doc.go b/accounts/abi/bind/doc.go index 7dfd65e5cb..bec54e77b6 100644 --- a/accounts/abi/bind/doc.go +++ b/accounts/abi/bind/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package bind generates Go bindings for Klaytn contracts. +Package bind generates Go bindings for Kaia contracts. # Source Files diff --git a/accounts/accounts.go b/accounts/accounts.go index 5eb1a3939f..7f1d37baed 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -29,10 +29,10 @@ import ( "github.com/klaytn/klaytn/event" ) -// Account represents a Klaytn account located at a specific location defined +// Account represents a Kaia account located at a specific location defined // by the optional URL field. type Account struct { - Address common.Address `json:"address"` // Klaytn account address derived from the key + Address common.Address `json:"address"` // Kaia account address derived from the key URL URL `json:"url"` // Optional resource locator within a backend } diff --git a/accounts/doc.go b/accounts/doc.go index 10ebe630bc..43ef727526 100644 --- a/accounts/doc.go +++ b/accounts/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package accounts implements high level Klaytn account management. +Package accounts implements high level Kaia account management. There are several important data structures and their hierarchy is as below diff --git a/api/api_ethereum.go b/api/api_ethereum.go index dec55b1fa7..d56dade7ec 100644 --- a/api/api_ethereum.go +++ b/api/api_ethereum.go @@ -771,7 +771,7 @@ type EthRPCTransaction struct { // Because every transaction in Klaytn, implements json.Marshaler interface (MarshalJSON), but // it is marshaled for Klaytn format only. // e.g. Ethereum transaction have V, R, and S field for signature but, -// Klaytn transaction have types.TxSignaturesJSON which includes array of signatures which is not +// Kaia transaction have types.TxSignaturesJSON which includes array of signatures which is not // applicable for Ethereum transaction. type ethTxJSON struct { Type hexutil.Uint64 `json:"type"` @@ -818,7 +818,7 @@ func newEthRPCTransactionFromBlockHash(b *types.Block, hash common.Hash) *EthRPC } // resolveToField returns value which fits to `to` field based on transaction types. -// This function is used when converting Klaytn transactions to Ethereum transaction types. +// This function is used when converting Kaia transactions to Ethereum transaction types. func resolveToField(tx *types.Transaction) *common.Address { switch tx.Type() { case types.TxTypeAccountUpdate, types.TxTypeFeeDelegatedAccountUpdate, types.TxTypeFeeDelegatedAccountUpdateWithRatio, @@ -832,7 +832,7 @@ func resolveToField(tx *types.Transaction) *common.Address { return tx.To() } -// newEthRPCTransaction creates an EthRPCTransaction from Klaytn transaction. +// newEthRPCTransaction creates an EthRPCTransaction from Kaia transaction. func newEthRPCTransaction(block *types.Block, tx *types.Transaction, blockHash common.Hash, blockNumber, index uint64) *EthRPCTransaction { // When an unknown transaction is requested through rpc call, // nil is returned by Klaytn API, and it is handled. @@ -1034,7 +1034,7 @@ func (api *EthereumAPI) GetRawTransactionByHash(ctx context.Context, hash common func (api *EthereumAPI) GetTransactionReceipt(ctx context.Context, hash common.Hash) (map[string]interface{}, error) { txpoolAPI := api.publicTransactionPoolAPI.b - // Formats return Klaytn Transaction Receipt to the Ethereum Transaction Receipt. + // Formats return Kaia transaction Receipt to the Ethereum Transaction Receipt. tx, blockHash, blockNumber, index, receipt := txpoolAPI.GetTxLookupInfoAndReceipt(ctx, hash) if tx == nil { diff --git a/api/api_ethereum_test.go b/api/api_ethereum_test.go index 72c4fcefc3..54f04c41a6 100644 --- a/api/api_ethereum_test.go +++ b/api/api_ethereum_test.go @@ -997,7 +997,7 @@ func testInitForEthApi(t *testing.T) (*gomock.Controller, *mock_api.MockBackend, } func checkEthRPCTransactionFormat(t *testing.T, block *types.Block, ethTx *EthRPCTransaction, tx *types.Transaction, expectedIndex hexutil.Uint64) { - // All Klaytn transaction types must be returned as TxTypeLegacyTransaction types. + // All Kaia transaction types must be returned as TxTypeLegacyTransaction types. assert.Equal(t, types.TxType(ethTx.Type), types.TxTypeLegacyTransaction) // Check the data of common fields of the transaction. @@ -1011,7 +1011,7 @@ func checkEthRPCTransactionFormat(t *testing.T, block *types.Block, ethTx *EthRP assert.Equal(t, tx.GetTxInternalData().RawSignatureValues()[0].S, ethTx.S.ToInt()) assert.Equal(t, hexutil.Uint64(tx.Nonce()), ethTx.Nonce) - // Check the optional field of Klaytn transactions. + // Check the optional field of Kaia transactions. assert.Equal(t, 0, bytes.Compare(ethTx.Input, tx.Data())) to := tx.To() @@ -1035,7 +1035,7 @@ func checkEthRPCTransactionFormat(t *testing.T, block *types.Block, ethTx *EthRP } // Fields additionally used for Ethereum transaction types are not used - // when returning Klaytn transactions. + // when returning Kaia transactions. assert.Equal(t, true, reflect.ValueOf(ethTx.Accesses).IsNil()) assert.Equal(t, true, reflect.ValueOf(ethTx.ChainID).IsNil()) assert.Equal(t, true, reflect.ValueOf(ethTx.GasFeeCap).IsNil()) @@ -1076,7 +1076,7 @@ func checkEthTransactionReceiptFormat(t *testing.T, block *types.Block, receipts } assert.Equal(t, from, kReceipt["from"]) - // Klaytn transactions that do not use the 'To' field + // Kaia transactions that do not use the 'To' field // fill in 'To' with from during converting format. toInTx := tx.To() fromAddress := getFrom(tx) diff --git a/blockchain/state/doc.go b/blockchain/state/doc.go index 23f9ce9a7c..7ce0abec85 100644 --- a/blockchain/state/doc.go +++ b/blockchain/state/doc.go @@ -25,7 +25,7 @@ the objects and the persistent layer. # Overview of state package -stateObject represents a Klaytn account identified by its address. +stateObject represents a Kaia account identified by its address. Once it is loaded from the persistent layer, it is cached and managed by StateDB. StateDB caches stateObjects and mediates the operations to them. diff --git a/blockchain/state/state_object.go b/blockchain/state/state_object.go index 523a0422af..3d98ce53d2 100644 --- a/blockchain/state/state_object.go +++ b/blockchain/state/state_object.go @@ -66,7 +66,7 @@ func (s Storage) Copy() Storage { return cpy } -// stateObject represents a Klaytn account which is being modified. +// stateObject represents a Kaia account which is being modified. // // The usage pattern is as follows: // First you need to obtain a state object. diff --git a/blockchain/types/account/account_common.go b/blockchain/types/account/account_common.go index ad82d8b38a..24bbf88b3e 100644 --- a/blockchain/types/account/account_common.go +++ b/blockchain/types/account/account_common.go @@ -27,7 +27,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// AccountCommon represents the common data structure of a Klaytn account. +// AccountCommon represents the common data structure of a Kaia account. type AccountCommon struct { nonce uint64 balance *big.Int diff --git a/blockchain/types/account/doc.go b/blockchain/types/account/doc.go index 9cab2fe12b..eb58465df2 100644 --- a/blockchain/types/account/doc.go +++ b/blockchain/types/account/doc.go @@ -27,7 +27,7 @@ There are three types of Accounts used in Klaytn. - ExternallyOwnedAccountType - SmartContractAccountType -AccountCommon implements the structure and functions common to Klaytn Account, which also implements the Account interface. +AccountCommon implements the structure and functions common to Kaia account, which also implements the Account interface. EOA (ExternallyOwnedAccount) and SCA (SmartContractAccount) are implemented in a structure that includes AccountCommon. diff --git a/blockchain/types/account/externally_owned_account.go b/blockchain/types/account/externally_owned_account.go index 75533b026c..79b19554dd 100644 --- a/blockchain/types/account/externally_owned_account.go +++ b/blockchain/types/account/externally_owned_account.go @@ -20,7 +20,7 @@ import ( "fmt" ) -// ExternallyOwnedAccount represents a Klaytn account used by a user. +// ExternallyOwnedAccount represents a Kaia account used by a user. type ExternallyOwnedAccount struct { *AccountCommon } diff --git a/common/types.go b/common/types.go index 3781c10340..99413c8e83 100644 --- a/common/types.go +++ b/common/types.go @@ -324,7 +324,7 @@ func (h Hash) ExtendZero() ExtHash { /////////// Address -// Address represents the 20 byte address of a Klaytn account. +// Address represents the 20 byte address of a Kaia account. type Address [AddressLength]byte func EmptyAddress(a Address) bool { diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index b2239fa434..c66960f48d 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -168,7 +168,7 @@ func sigHash(header *types.Header) (hash common.Hash) { return hash } -// ecrecover extracts the Klaytn account address from a signed header. +// ecrecover extracts the Kaia account address from a signed header. func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, error) { // If the signature's already cached, return that hash := header.Hash() diff --git a/consensus/istanbul/backend/engine.go b/consensus/istanbul/backend/engine.go index f0e34be2b8..d66b471f4f 100644 --- a/consensus/istanbul/backend/engine.go +++ b/consensus/istanbul/backend/engine.go @@ -1018,7 +1018,7 @@ func sigHash(header *types.Header) (hash common.Hash) { return hash } -// ecrecover extracts the Klaytn account address from a signed header. +// ecrecover extracts the Kaia account address from a signed header. func ecrecover(header *types.Header) (common.Address, error) { // Retrieve the signature from the header extra-data istanbulExtra, err := types.ExtractIstanbulExtra(header) diff --git a/contracts/contracts/service_chain/bridge/Bridge.go b/contracts/contracts/service_chain/bridge/Bridge.go index b447707a4f..df4727735e 100644 --- a/contracts/contracts/service_chain/bridge/Bridge.go +++ b/contracts/contracts/service_chain/bridge/Bridge.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -281,7 +281,7 @@ var BridgeFuncSigs = BridgeMetaData.Sigs // Deprecated: Use BridgeMetaData.Bin instead. var BridgeBin = BridgeMetaData.Bin -// DeployBridge deploys a new Klaytn contract, binding an instance of Bridge to it. +// DeployBridge deploys a new Kaia contract, binding an instance of Bridge to it. func DeployBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _modeMintBurn bool) (common.Address, *types.Transaction, *Bridge, error) { parsed, err := BridgeMetaData.GetAbi() if err != nil { @@ -3728,7 +3728,7 @@ var BridgeCounterPartFuncSigs = BridgeCounterPartMetaData.Sigs // Deprecated: Use BridgeCounterPartMetaData.Bin instead. var BridgeCounterPartBin = BridgeCounterPartMetaData.Bin -// DeployBridgeCounterPart deploys a new Klaytn contract, binding an instance of BridgeCounterPart to it. +// DeployBridgeCounterPart deploys a new Kaia contract, binding an instance of BridgeCounterPart to it. func DeployBridgeCounterPart(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeCounterPart, error) { parsed, err := BridgeCounterPartMetaData.GetAbi() if err != nil { @@ -4893,7 +4893,7 @@ var BridgeHandledRequestsFuncSigs = BridgeHandledRequestsMetaData.Sigs // Deprecated: Use BridgeHandledRequestsMetaData.Bin instead. var BridgeHandledRequestsBin = BridgeHandledRequestsMetaData.Bin -// DeployBridgeHandledRequests deploys a new Klaytn contract, binding an instance of BridgeHandledRequests to it. +// DeployBridgeHandledRequests deploys a new Kaia contract, binding an instance of BridgeHandledRequests to it. func DeployBridgeHandledRequests(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeHandledRequests, error) { parsed, err := BridgeHandledRequestsMetaData.GetAbi() if err != nil { @@ -5807,7 +5807,7 @@ var BridgeTokensFuncSigs = BridgeTokensMetaData.Sigs // Deprecated: Use BridgeTokensMetaData.Bin instead. var BridgeTokensBin = BridgeTokensMetaData.Bin -// DeployBridgeTokens deploys a new Klaytn contract, binding an instance of BridgeTokens to it. +// DeployBridgeTokens deploys a new Kaia contract, binding an instance of BridgeTokens to it. func DeployBridgeTokens(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeTokens, error) { parsed, err := BridgeTokensMetaData.GetAbi() if err != nil { @@ -17191,7 +17191,7 @@ const CountersBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use CountersMetaData.Bin instead. var CountersBin = CountersMetaData.Bin -// DeployCounters deploys a new Klaytn contract, binding an instance of Counters to it. +// DeployCounters deploys a new Kaia contract, binding an instance of Counters to it. func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Counters, error) { parsed, err := CountersMetaData.GetAbi() if err != nil { @@ -17571,7 +17571,7 @@ var ERC20FuncSigs = ERC20MetaData.Sigs // Deprecated: Use ERC20MetaData.Bin instead. var ERC20Bin = ERC20MetaData.Bin -// DeployERC20 deploys a new Klaytn contract, binding an instance of ERC20 to it. +// DeployERC20 deploys a new Kaia contract, binding an instance of ERC20 to it. func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error) { parsed, err := ERC20MetaData.GetAbi() if err != nil { @@ -18257,7 +18257,7 @@ var ERC20BurnableFuncSigs = ERC20BurnableMetaData.Sigs // Deprecated: Use ERC20BurnableMetaData.Bin instead. var ERC20BurnableBin = ERC20BurnableMetaData.Bin -// DeployERC20Burnable deploys a new Klaytn contract, binding an instance of ERC20Burnable to it. +// DeployERC20Burnable deploys a new Kaia contract, binding an instance of ERC20Burnable to it. func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Burnable, error) { parsed, err := ERC20BurnableMetaData.GetAbi() if err != nil { @@ -18987,7 +18987,7 @@ var ERC20MintableFuncSigs = ERC20MintableMetaData.Sigs // Deprecated: Use ERC20MintableMetaData.Bin instead. var ERC20MintableBin = ERC20MintableMetaData.Bin -// DeployERC20Mintable deploys a new Klaytn contract, binding an instance of ERC20Mintable to it. +// DeployERC20Mintable deploys a new Kaia contract, binding an instance of ERC20Mintable to it. func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Mintable, error) { parsed, err := ERC20MintableMetaData.GetAbi() if err != nil { @@ -20047,7 +20047,7 @@ var ERC721FuncSigs = ERC721MetaData.Sigs // Deprecated: Use ERC721MetaData.Bin instead. var ERC721Bin = ERC721MetaData.Bin -// DeployERC721 deploys a new Klaytn contract, binding an instance of ERC721 to it. +// DeployERC721 deploys a new Kaia contract, binding an instance of ERC721 to it. func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error) { parsed, err := ERC721MetaData.GetAbi() if err != nil { @@ -20959,7 +20959,7 @@ var ERC721BurnableFuncSigs = ERC721BurnableMetaData.Sigs // Deprecated: Use ERC721BurnableMetaData.Bin instead. var ERC721BurnableBin = ERC721BurnableMetaData.Bin -// DeployERC721Burnable deploys a new Klaytn contract, binding an instance of ERC721Burnable to it. +// DeployERC721Burnable deploys a new Kaia contract, binding an instance of ERC721Burnable to it. func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Burnable, error) { parsed, err := ERC721BurnableMetaData.GetAbi() if err != nil { @@ -21894,7 +21894,7 @@ var ERC721MetadataFuncSigs = ERC721MetadataMetaData.Sigs // Deprecated: Use ERC721MetadataMetaData.Bin instead. var ERC721MetadataBin = ERC721MetadataMetaData.Bin -// DeployERC721Metadata deploys a new Klaytn contract, binding an instance of ERC721Metadata to it. +// DeployERC721Metadata deploys a new Kaia contract, binding an instance of ERC721Metadata to it. func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC721Metadata, error) { parsed, err := ERC721MetadataMetaData.GetAbi() if err != nil { @@ -28385,7 +28385,7 @@ const RolesBinRuntime = `7300000000000000000000000000000000000000003014608060405 // Deprecated: Use RolesMetaData.Bin instead. var RolesBin = RolesMetaData.Bin -// DeployRoles deploys a new Klaytn contract, binding an instance of Roles to it. +// DeployRoles deploys a new Kaia contract, binding an instance of Roles to it. func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Roles, error) { parsed, err := RolesMetaData.GetAbi() if err != nil { @@ -28561,7 +28561,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/consensus/Kip163.go b/contracts/contracts/system_contracts/consensus/Kip163.go index 542e51862b..4deedd2b5c 100644 --- a/contracts/contracts/system_contracts/consensus/Kip163.go +++ b/contracts/contracts/system_contracts/consensus/Kip163.go @@ -1760,7 +1760,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -1999,7 +1999,7 @@ var CnStakingV3FuncSigs = CnStakingV3MetaData.Sigs // Deprecated: Use CnStakingV3MetaData.Bin instead. var CnStakingV3Bin = CnStakingV3MetaData.Bin -// DeployCnStakingV3 deploys a new Klaytn contract, binding an instance of CnStakingV3 to it. +// DeployCnStakingV3 deploys a new Kaia contract, binding an instance of CnStakingV3 to it. func DeployCnStakingV3(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address, _nodeId common.Address, _rewardAddress common.Address, _unlockTime []*big.Int, _unlockAmount []*big.Int) (common.Address, *types.Transaction, *CnStakingV3, error) { parsed, err := CnStakingV3MetaData.GetAbi() if err != nil { @@ -6925,7 +6925,7 @@ var CnStakingV3MultiSigFuncSigs = CnStakingV3MultiSigMetaData.Sigs // Deprecated: Use CnStakingV3MultiSigMetaData.Bin instead. var CnStakingV3MultiSigBin = CnStakingV3MultiSigMetaData.Bin -// DeployCnStakingV3MultiSig deploys a new Klaytn contract, binding an instance of CnStakingV3MultiSig to it. +// DeployCnStakingV3MultiSig deploys a new Kaia contract, binding an instance of CnStakingV3MultiSig to it. func DeployCnStakingV3MultiSig(auth *bind.TransactOpts, backend bind.ContractBackend, _contractValidator common.Address, _nodeId common.Address, _rewardAddress common.Address, _cnAdminlist []common.Address, _requirement *big.Int, _unlockTime []*big.Int, _unlockAmount []*big.Int) (common.Address, *types.Transaction, *CnStakingV3MultiSig, error) { parsed, err := CnStakingV3MultiSigMetaData.GetAbi() if err != nil { @@ -21944,7 +21944,7 @@ const EnumerableSetBinRuntime = `73000000000000000000000000000000000000000030146 // Deprecated: Use EnumerableSetMetaData.Bin instead. var EnumerableSetBin = EnumerableSetMetaData.Bin -// DeployEnumerableSet deploys a new Klaytn contract, binding an instance of EnumerableSet to it. +// DeployEnumerableSet deploys a new Kaia contract, binding an instance of EnumerableSet to it. func DeployEnumerableSet(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EnumerableSet, error) { parsed, err := EnumerableSetMetaData.GetAbi() if err != nil { @@ -37767,7 +37767,7 @@ const MathBinRuntime = `73000000000000000000000000000000000000000030146080604052 // Deprecated: Use MathMetaData.Bin instead. var MathBin = MathMetaData.Bin -// DeployMath deploys a new Klaytn contract, binding an instance of Math to it. +// DeployMath deploys a new Kaia contract, binding an instance of Math to it. func DeployMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Math, error) { parsed, err := MathMetaData.GetAbi() if err != nil { @@ -38378,7 +38378,7 @@ var PublicDelegationFuncSigs = PublicDelegationMetaData.Sigs // Deprecated: Use PublicDelegationMetaData.Bin instead. var PublicDelegationBin = PublicDelegationMetaData.Bin -// DeployPublicDelegation deploys a new Klaytn contract, binding an instance of PublicDelegation to it. +// DeployPublicDelegation deploys a new Kaia contract, binding an instance of PublicDelegation to it. func DeployPublicDelegation(auth *bind.TransactOpts, backend bind.ContractBackend, _baseCnStakingV3 common.Address, _pdArgs IPublicDelegationPDConstructorArgs) (common.Address, *types.Transaction, *PublicDelegation, error) { parsed, err := PublicDelegationMetaData.GetAbi() if err != nil { @@ -41694,7 +41694,7 @@ var PublicDelegationFactoryFuncSigs = PublicDelegationFactoryMetaData.Sigs // Deprecated: Use PublicDelegationFactoryMetaData.Bin instead. var PublicDelegationFactoryBin = PublicDelegationFactoryMetaData.Bin -// DeployPublicDelegationFactory deploys a new Klaytn contract, binding an instance of PublicDelegationFactory to it. +// DeployPublicDelegationFactory deploys a new Kaia contract, binding an instance of PublicDelegationFactory to it. func DeployPublicDelegationFactory(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PublicDelegationFactory, error) { parsed, err := PublicDelegationFactoryMetaData.GetAbi() if err != nil { @@ -44513,7 +44513,7 @@ const ValidContractBinRuntime = `73000000000000000000000000000000000000000030146 // Deprecated: Use ValidContractMetaData.Bin instead. var ValidContractBin = ValidContractMetaData.Bin -// DeployValidContract deploys a new Klaytn contract, binding an instance of ValidContract to it. +// DeployValidContract deploys a new Kaia contract, binding an instance of ValidContract to it. func DeployValidContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ValidContract, error) { parsed, err := ValidContractMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/consensus/consensus.go b/contracts/contracts/system_contracts/consensus/consensus.go index 08bdb142a3..633aaa72aa 100644 --- a/contracts/contracts/system_contracts/consensus/consensus.go +++ b/contracts/contracts/system_contracts/consensus/consensus.go @@ -99,7 +99,7 @@ var AddressBookFuncSigs = AddressBookMetaData.Sigs // Deprecated: Use AddressBookMetaData.Bin instead. var AddressBookBin = AddressBookMetaData.Bin -// DeployAddressBook deploys a new Klaytn contract, binding an instance of AddressBook to it. +// DeployAddressBook deploys a new Kaia contract, binding an instance of AddressBook to it. func DeployAddressBook(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBook, error) { parsed, err := AddressBookMetaData.GetAbi() if err != nil { @@ -4234,7 +4234,7 @@ var CnStakingContractFuncSigs = CnStakingContractMetaData.Sigs // Deprecated: Use CnStakingContractMetaData.Bin instead. var CnStakingContractBin = CnStakingContractMetaData.Bin -// DeployCnStakingContract deploys a new Klaytn contract, binding an instance of CnStakingContract to it. +// DeployCnStakingContract deploys a new Kaia contract, binding an instance of CnStakingContract to it. func DeployCnStakingContract(auth *bind.TransactOpts, backend bind.ContractBackend, _contractValidator common.Address, _nodeId common.Address, _rewardAddress common.Address, _cnAdminlist []common.Address, _requirement *big.Int, _unlockTime []*big.Int, _unlockAmount []*big.Int) (common.Address, *types.Transaction, *CnStakingContract, error) { parsed, err := CnStakingContractMetaData.GetAbi() if err != nil { @@ -9202,7 +9202,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/gov/GovParam.go b/contracts/contracts/system_contracts/gov/GovParam.go index 1c4df253e7..9d9bcad71e 100644 --- a/contracts/contracts/system_contracts/gov/GovParam.go +++ b/contracts/contracts/system_contracts/gov/GovParam.go @@ -226,7 +226,7 @@ var GovParamFuncSigs = GovParamMetaData.Sigs // Deprecated: Use GovParamMetaData.Bin instead. var GovParamBin = GovParamMetaData.Bin -// DeployGovParam deploys a new Klaytn contract, binding an instance of GovParam to it. +// DeployGovParam deploys a new Kaia contract, binding an instance of GovParam to it. func DeployGovParam(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GovParam, error) { parsed, err := GovParamMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go index 78334c5113..2181d04eb6 100644 --- a/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go +++ b/contracts/contracts/system_contracts/kip113/SimpleBlsRegistry.go @@ -52,7 +52,7 @@ const AddressUpgradeableBinRuntime = `730000000000000000000000000000000000000000 // Deprecated: Use AddressUpgradeableMetaData.Bin instead. var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin -// DeployAddressUpgradeable deploys a new Klaytn contract, binding an instance of AddressUpgradeable to it. +// DeployAddressUpgradeable deploys a new Kaia contract, binding an instance of AddressUpgradeable to it. func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressUpgradeable, error) { parsed, err := AddressUpgradeableMetaData.GetAbi() if err != nil { @@ -4130,7 +4130,7 @@ var SimpleBlsRegistryFuncSigs = SimpleBlsRegistryMetaData.Sigs // Deprecated: Use SimpleBlsRegistryMetaData.Bin instead. var SimpleBlsRegistryBin = SimpleBlsRegistryMetaData.Bin -// DeploySimpleBlsRegistry deploys a new Klaytn contract, binding an instance of SimpleBlsRegistry to it. +// DeploySimpleBlsRegistry deploys a new Kaia contract, binding an instance of SimpleBlsRegistry to it. func DeploySimpleBlsRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SimpleBlsRegistry, error) { parsed, err := SimpleBlsRegistryMetaData.GetAbi() if err != nil { @@ -5674,7 +5674,7 @@ const StorageSlotUpgradeableBinRuntime = `73000000000000000000000000000000000000 // Deprecated: Use StorageSlotUpgradeableMetaData.Bin instead. var StorageSlotUpgradeableBin = StorageSlotUpgradeableMetaData.Bin -// DeployStorageSlotUpgradeable deploys a new Klaytn contract, binding an instance of StorageSlotUpgradeable to it. +// DeployStorageSlotUpgradeable deploys a new Kaia contract, binding an instance of StorageSlotUpgradeable to it. func DeployStorageSlotUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StorageSlotUpgradeable, error) { parsed, err := StorageSlotUpgradeableMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/kip149/Registry.go b/contracts/contracts/system_contracts/kip149/Registry.go index cb9a375a69..f588775b3e 100644 --- a/contracts/contracts/system_contracts/kip149/Registry.go +++ b/contracts/contracts/system_contracts/kip149/Registry.go @@ -757,7 +757,7 @@ var RegistryFuncSigs = RegistryMetaData.Sigs // Deprecated: Use RegistryMetaData.Bin instead. var RegistryBin = RegistryMetaData.Bin -// DeployRegistry deploys a new Klaytn contract, binding an instance of Registry to it. +// DeployRegistry deploys a new Kaia contract, binding an instance of Registry to it. func DeployRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Registry, error) { parsed, err := RegistryMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/misc/credit.go b/contracts/contracts/system_contracts/misc/credit.go index 2ad11b7499..0b41f69c37 100644 --- a/contracts/contracts/system_contracts/misc/credit.go +++ b/contracts/contracts/system_contracts/misc/credit.go @@ -54,7 +54,7 @@ var CypressCreditFuncSigs = CypressCreditMetaData.Sigs // Deprecated: Use CypressCreditMetaData.Bin instead. var CypressCreditBin = CypressCreditMetaData.Bin -// DeployCypressCredit deploys a new Klaytn contract, binding an instance of CypressCredit to it. +// DeployCypressCredit deploys a new Kaia contract, binding an instance of CypressCredit to it. func DeployCypressCredit(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CypressCredit, error) { parsed, err := CypressCreditMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/proxy/proxy.go b/contracts/contracts/system_contracts/proxy/proxy.go index 7ff71081fc..2f23f8da82 100644 --- a/contracts/contracts/system_contracts/proxy/proxy.go +++ b/contracts/contracts/system_contracts/proxy/proxy.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -222,7 +222,7 @@ const ERC1967ProxyBinRuntime = `608060405236601057600e6013565b005b600e5b601f601b // Deprecated: Use ERC1967ProxyMetaData.Bin instead. var ERC1967ProxyBin = ERC1967ProxyMetaData.Bin -// DeployERC1967Proxy deploys a new Klaytn contract, binding an instance of ERC1967Proxy to it. +// DeployERC1967Proxy deploys a new Kaia contract, binding an instance of ERC1967Proxy to it. func DeployERC1967Proxy(auth *bind.TransactOpts, backend bind.ContractBackend, _logic common.Address, _data []byte) (common.Address, *types.Transaction, *ERC1967Proxy, error) { parsed, err := ERC1967ProxyMetaData.GetAbi() if err != nil { @@ -2566,7 +2566,7 @@ const StorageSlotBinRuntime = `7300000000000000000000000000000000000000003014608 // Deprecated: Use StorageSlotMetaData.Bin instead. var StorageSlotBin = StorageSlotMetaData.Bin -// DeployStorageSlot deploys a new Klaytn contract, binding an instance of StorageSlot to it. +// DeployStorageSlot deploys a new Kaia contract, binding an instance of StorageSlot to it. func DeployStorageSlot(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StorageSlot, error) { parsed, err := StorageSlotMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/system_contracts/rebalance/all.go b/contracts/contracts/system_contracts/rebalance/all.go index 20f4dc770a..e5a0a9390b 100644 --- a/contracts/contracts/system_contracts/rebalance/all.go +++ b/contracts/contracts/system_contracts/rebalance/all.go @@ -2176,7 +2176,7 @@ var OwnableFuncSigs = OwnableMetaData.Sigs // Deprecated: Use OwnableMetaData.Bin instead. var OwnableBin = OwnableMetaData.Bin -// DeployOwnable deploys a new Klaytn contract, binding an instance of Ownable to it. +// DeployOwnable deploys a new Kaia contract, binding an instance of Ownable to it. func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error) { parsed, err := OwnableMetaData.GetAbi() if err != nil { @@ -2638,7 +2638,7 @@ var TreasuryRebalanceFuncSigs = TreasuryRebalanceMetaData.Sigs // Deprecated: Use TreasuryRebalanceMetaData.Bin instead. var TreasuryRebalanceBin = TreasuryRebalanceMetaData.Bin -// DeployTreasuryRebalance deploys a new Klaytn contract, binding an instance of TreasuryRebalance to it. +// DeployTreasuryRebalance deploys a new Kaia contract, binding an instance of TreasuryRebalance to it. func DeployTreasuryRebalance(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalance, error) { parsed, err := TreasuryRebalanceMetaData.GetAbi() if err != nil { @@ -4872,7 +4872,7 @@ var TreasuryRebalanceV2FuncSigs = TreasuryRebalanceV2MetaData.Sigs // Deprecated: Use TreasuryRebalanceV2MetaData.Bin instead. var TreasuryRebalanceV2Bin = TreasuryRebalanceV2MetaData.Bin -// DeployTreasuryRebalanceV2 deploys a new Klaytn contract, binding an instance of TreasuryRebalanceV2 to it. +// DeployTreasuryRebalanceV2 deploys a new Kaia contract, binding an instance of TreasuryRebalanceV2 to it. func DeployTreasuryRebalanceV2(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalanceV2, error) { parsed, err := TreasuryRebalanceV2MetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/extbridge/ext_bridge.go b/contracts/contracts/testing/extbridge/ext_bridge.go index f956a8113a..35b24892d2 100644 --- a/contracts/contracts/testing/extbridge/ext_bridge.go +++ b/contracts/contracts/testing/extbridge/ext_bridge.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -911,7 +911,7 @@ var BridgeHandledRequestsFuncSigs = BridgeHandledRequestsMetaData.Sigs // Deprecated: Use BridgeHandledRequestsMetaData.Bin instead. var BridgeHandledRequestsBin = BridgeHandledRequestsMetaData.Bin -// DeployBridgeHandledRequests deploys a new Klaytn contract, binding an instance of BridgeHandledRequests to it. +// DeployBridgeHandledRequests deploys a new Kaia contract, binding an instance of BridgeHandledRequests to it. func DeployBridgeHandledRequests(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeHandledRequests, error) { parsed, err := BridgeHandledRequestsMetaData.GetAbi() if err != nil { @@ -1825,7 +1825,7 @@ var BridgeTokensFuncSigs = BridgeTokensMetaData.Sigs // Deprecated: Use BridgeTokensMetaData.Bin instead. var BridgeTokensBin = BridgeTokensMetaData.Bin -// DeployBridgeTokens deploys a new Klaytn contract, binding an instance of BridgeTokens to it. +// DeployBridgeTokens deploys a new Kaia contract, binding an instance of BridgeTokens to it. func DeployBridgeTokens(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeTokens, error) { parsed, err := BridgeTokensMetaData.GetAbi() if err != nil { @@ -10782,7 +10782,7 @@ var CallbackFuncSigs = CallbackMetaData.Sigs // Deprecated: Use CallbackMetaData.Bin instead. var CallbackBin = CallbackMetaData.Bin -// DeployCallback deploys a new Klaytn contract, binding an instance of Callback to it. +// DeployCallback deploys a new Kaia contract, binding an instance of Callback to it. func DeployCallback(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Callback, error) { parsed, err := CallbackMetaData.GetAbi() if err != nil { @@ -11113,7 +11113,7 @@ const CountersBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use CountersMetaData.Bin instead. var CountersBin = CountersMetaData.Bin -// DeployCounters deploys a new Klaytn contract, binding an instance of Counters to it. +// DeployCounters deploys a new Kaia contract, binding an instance of Counters to it. func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Counters, error) { parsed, err := CountersMetaData.GetAbi() if err != nil { @@ -11493,7 +11493,7 @@ var ERC20FuncSigs = ERC20MetaData.Sigs // Deprecated: Use ERC20MetaData.Bin instead. var ERC20Bin = ERC20MetaData.Bin -// DeployERC20 deploys a new Klaytn contract, binding an instance of ERC20 to it. +// DeployERC20 deploys a new Kaia contract, binding an instance of ERC20 to it. func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error) { parsed, err := ERC20MetaData.GetAbi() if err != nil { @@ -12179,7 +12179,7 @@ var ERC20BurnableFuncSigs = ERC20BurnableMetaData.Sigs // Deprecated: Use ERC20BurnableMetaData.Bin instead. var ERC20BurnableBin = ERC20BurnableMetaData.Bin -// DeployERC20Burnable deploys a new Klaytn contract, binding an instance of ERC20Burnable to it. +// DeployERC20Burnable deploys a new Kaia contract, binding an instance of ERC20Burnable to it. func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Burnable, error) { parsed, err := ERC20BurnableMetaData.GetAbi() if err != nil { @@ -12909,7 +12909,7 @@ var ERC20MintableFuncSigs = ERC20MintableMetaData.Sigs // Deprecated: Use ERC20MintableMetaData.Bin instead. var ERC20MintableBin = ERC20MintableMetaData.Bin -// DeployERC20Mintable deploys a new Klaytn contract, binding an instance of ERC20Mintable to it. +// DeployERC20Mintable deploys a new Kaia contract, binding an instance of ERC20Mintable to it. func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Mintable, error) { parsed, err := ERC20MintableMetaData.GetAbi() if err != nil { @@ -13969,7 +13969,7 @@ var ERC721FuncSigs = ERC721MetaData.Sigs // Deprecated: Use ERC721MetaData.Bin instead. var ERC721Bin = ERC721MetaData.Bin -// DeployERC721 deploys a new Klaytn contract, binding an instance of ERC721 to it. +// DeployERC721 deploys a new Kaia contract, binding an instance of ERC721 to it. func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error) { parsed, err := ERC721MetaData.GetAbi() if err != nil { @@ -14881,7 +14881,7 @@ var ERC721BurnableFuncSigs = ERC721BurnableMetaData.Sigs // Deprecated: Use ERC721BurnableMetaData.Bin instead. var ERC721BurnableBin = ERC721BurnableMetaData.Bin -// DeployERC721Burnable deploys a new Klaytn contract, binding an instance of ERC721Burnable to it. +// DeployERC721Burnable deploys a new Kaia contract, binding an instance of ERC721Burnable to it. func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Burnable, error) { parsed, err := ERC721BurnableMetaData.GetAbi() if err != nil { @@ -15816,7 +15816,7 @@ var ERC721MetadataFuncSigs = ERC721MetadataMetaData.Sigs // Deprecated: Use ERC721MetadataMetaData.Bin instead. var ERC721MetadataBin = ERC721MetadataMetaData.Bin -// DeployERC721Metadata deploys a new Klaytn contract, binding an instance of ERC721Metadata to it. +// DeployERC721Metadata deploys a new Kaia contract, binding an instance of ERC721Metadata to it. func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC721Metadata, error) { parsed, err := ERC721MetadataMetaData.GetAbi() if err != nil { @@ -18208,7 +18208,7 @@ var ExtBridgeFuncSigs = ExtBridgeMetaData.Sigs // Deprecated: Use ExtBridgeMetaData.Bin instead. var ExtBridgeBin = ExtBridgeMetaData.Bin -// DeployExtBridge deploys a new Klaytn contract, binding an instance of ExtBridge to it. +// DeployExtBridge deploys a new Kaia contract, binding an instance of ExtBridge to it. func DeployExtBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _modeMintBurn bool) (common.Address, *types.Transaction, *ExtBridge, error) { parsed, err := ExtBridgeMetaData.GetAbi() if err != nil { @@ -25372,7 +25372,7 @@ const RolesBinRuntime = `7300000000000000000000000000000000000000003014608060405 // Deprecated: Use RolesMetaData.Bin instead. var RolesBin = RolesMetaData.Bin -// DeployRoles deploys a new Klaytn contract, binding an instance of Roles to it. +// DeployRoles deploys a new Kaia contract, binding an instance of Roles to it. func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Roles, error) { parsed, err := RolesMetaData.GetAbi() if err != nil { @@ -25548,7 +25548,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/reward/all.go b/contracts/contracts/testing/reward/all.go index 5a56818bc3..dd00844e1f 100644 --- a/contracts/contracts/testing/reward/all.go +++ b/contracts/contracts/testing/reward/all.go @@ -101,7 +101,7 @@ var AddressBookMockFuncSigs = AddressBookMockMetaData.Sigs // Deprecated: Use AddressBookMockMetaData.Bin instead. var AddressBookMockBin = AddressBookMockMetaData.Bin -// DeployAddressBookMock deploys a new Klaytn contract, binding an instance of AddressBookMock to it. +// DeployAddressBookMock deploys a new Kaia contract, binding an instance of AddressBookMock to it. func DeployAddressBookMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBookMock, error) { parsed, err := AddressBookMockMetaData.GetAbi() if err != nil { @@ -1666,7 +1666,7 @@ var AddressBookMockOneCNFuncSigs = AddressBookMockOneCNMetaData.Sigs // Deprecated: Use AddressBookMockOneCNMetaData.Bin instead. var AddressBookMockOneCNBin = AddressBookMockOneCNMetaData.Bin -// DeployAddressBookMockOneCN deploys a new Klaytn contract, binding an instance of AddressBookMockOneCN to it. +// DeployAddressBookMockOneCN deploys a new Kaia contract, binding an instance of AddressBookMockOneCN to it. func DeployAddressBookMockOneCN(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBookMockOneCN, error) { parsed, err := AddressBookMockOneCNMetaData.GetAbi() if err != nil { @@ -2003,7 +2003,7 @@ var AddressBookMockThreeCNFuncSigs = AddressBookMockThreeCNMetaData.Sigs // Deprecated: Use AddressBookMockThreeCNMetaData.Bin instead. var AddressBookMockThreeCNBin = AddressBookMockThreeCNMetaData.Bin -// DeployAddressBookMockThreeCN deploys a new Klaytn contract, binding an instance of AddressBookMockThreeCN to it. +// DeployAddressBookMockThreeCN deploys a new Kaia contract, binding an instance of AddressBookMockThreeCN to it. func DeployAddressBookMockThreeCN(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBookMockThreeCN, error) { parsed, err := AddressBookMockThreeCNMetaData.GetAbi() if err != nil { @@ -2392,7 +2392,7 @@ var AddressBookMockWrongFuncSigs = AddressBookMockWrongMetaData.Sigs // Deprecated: Use AddressBookMockWrongMetaData.Bin instead. var AddressBookMockWrongBin = AddressBookMockWrongMetaData.Bin -// DeployAddressBookMockWrong deploys a new Klaytn contract, binding an instance of AddressBookMockWrong to it. +// DeployAddressBookMockWrong deploys a new Kaia contract, binding an instance of AddressBookMockWrong to it. func DeployAddressBookMockWrong(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBookMockWrong, error) { parsed, err := AddressBookMockWrongMetaData.GetAbi() if err != nil { @@ -2611,7 +2611,7 @@ var KlaytnRewardFuncSigs = KlaytnRewardMetaData.Sigs // Deprecated: Use KlaytnRewardMetaData.Bin instead. var KlaytnRewardBin = KlaytnRewardMetaData.Bin -// DeployKlaytnReward deploys a new Klaytn contract, binding an instance of KlaytnReward to it. +// DeployKlaytnReward deploys a new Kaia contract, binding an instance of KlaytnReward to it. func DeployKlaytnReward(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KlaytnReward, error) { parsed, err := KlaytnRewardMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/sc_erc20/sc_token.go b/contracts/contracts/testing/sc_erc20/sc_token.go index 185ca14542..1390fb2973 100644 --- a/contracts/contracts/testing/sc_erc20/sc_token.go +++ b/contracts/contracts/testing/sc_erc20/sc_token.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -236,7 +236,7 @@ var ERC20FuncSigs = ERC20MetaData.Sigs // Deprecated: Use ERC20MetaData.Bin instead. var ERC20Bin = ERC20MetaData.Bin -// DeployERC20 deploys a new Klaytn contract, binding an instance of ERC20 to it. +// DeployERC20 deploys a new Kaia contract, binding an instance of ERC20 to it. func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error) { parsed, err := ERC20MetaData.GetAbi() if err != nil { @@ -922,7 +922,7 @@ var ERC20BurnableFuncSigs = ERC20BurnableMetaData.Sigs // Deprecated: Use ERC20BurnableMetaData.Bin instead. var ERC20BurnableBin = ERC20BurnableMetaData.Bin -// DeployERC20Burnable deploys a new Klaytn contract, binding an instance of ERC20Burnable to it. +// DeployERC20Burnable deploys a new Kaia contract, binding an instance of ERC20Burnable to it. func DeployERC20Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Burnable, error) { parsed, err := ERC20BurnableMetaData.GetAbi() if err != nil { @@ -1652,7 +1652,7 @@ var ERC20MintableFuncSigs = ERC20MintableMetaData.Sigs // Deprecated: Use ERC20MintableMetaData.Bin instead. var ERC20MintableBin = ERC20MintableMetaData.Bin -// DeployERC20Mintable deploys a new Klaytn contract, binding an instance of ERC20Mintable to it. +// DeployERC20Mintable deploys a new Kaia contract, binding an instance of ERC20Mintable to it. func DeployERC20Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Mintable, error) { parsed, err := ERC20MintableMetaData.GetAbi() if err != nil { @@ -5416,7 +5416,7 @@ const RolesBinRuntime = `7300000000000000000000000000000000000000003014608060405 // Deprecated: Use RolesMetaData.Bin instead. var RolesBin = RolesMetaData.Bin -// DeployRoles deploys a new Klaytn contract, binding an instance of Roles to it. +// DeployRoles deploys a new Kaia contract, binding an instance of Roles to it. func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Roles, error) { parsed, err := RolesMetaData.GetAbi() if err != nil { @@ -5592,7 +5592,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { @@ -5799,7 +5799,7 @@ var ServiceChainTokenFuncSigs = ServiceChainTokenMetaData.Sigs // Deprecated: Use ServiceChainTokenMetaData.Bin instead. var ServiceChainTokenBin = ServiceChainTokenMetaData.Bin -// DeployServiceChainToken deploys a new Klaytn contract, binding an instance of ServiceChainToken to it. +// DeployServiceChainToken deploys a new Kaia contract, binding an instance of ServiceChainToken to it. func DeployServiceChainToken(auth *bind.TransactOpts, backend bind.ContractBackend, _bridge common.Address) (common.Address, *types.Transaction, *ServiceChainToken, error) { parsed, err := ServiceChainTokenMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/sc_erc721/sc_nft.go b/contracts/contracts/testing/sc_erc721/sc_nft.go index 5b32e6f48f..3fd44453ec 100644 --- a/contracts/contracts/testing/sc_erc721/sc_nft.go +++ b/contracts/contracts/testing/sc_erc721/sc_nft.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -222,7 +222,7 @@ const CountersBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use CountersMetaData.Bin instead. var CountersBin = CountersMetaData.Bin -// DeployCounters deploys a new Klaytn contract, binding an instance of Counters to it. +// DeployCounters deploys a new Kaia contract, binding an instance of Counters to it. func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Counters, error) { parsed, err := CountersMetaData.GetAbi() if err != nil { @@ -604,7 +604,7 @@ var ERC721FuncSigs = ERC721MetaData.Sigs // Deprecated: Use ERC721MetaData.Bin instead. var ERC721Bin = ERC721MetaData.Bin -// DeployERC721 deploys a new Klaytn contract, binding an instance of ERC721 to it. +// DeployERC721 deploys a new Kaia contract, binding an instance of ERC721 to it. func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error) { parsed, err := ERC721MetaData.GetAbi() if err != nil { @@ -1516,7 +1516,7 @@ var ERC721BurnableFuncSigs = ERC721BurnableMetaData.Sigs // Deprecated: Use ERC721BurnableMetaData.Bin instead. var ERC721BurnableBin = ERC721BurnableMetaData.Bin -// DeployERC721Burnable deploys a new Klaytn contract, binding an instance of ERC721Burnable to it. +// DeployERC721Burnable deploys a new Kaia contract, binding an instance of ERC721Burnable to it. func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Burnable, error) { parsed, err := ERC721BurnableMetaData.GetAbi() if err != nil { @@ -2451,7 +2451,7 @@ var ERC721EnumerableFuncSigs = ERC721EnumerableMetaData.Sigs // Deprecated: Use ERC721EnumerableMetaData.Bin instead. var ERC721EnumerableBin = ERC721EnumerableMetaData.Bin -// DeployERC721Enumerable deploys a new Klaytn contract, binding an instance of ERC721Enumerable to it. +// DeployERC721Enumerable deploys a new Kaia contract, binding an instance of ERC721Enumerable to it. func DeployERC721Enumerable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Enumerable, error) { parsed, err := ERC721EnumerableMetaData.GetAbi() if err != nil { @@ -3455,7 +3455,7 @@ var ERC721FullFuncSigs = ERC721FullMetaData.Sigs // Deprecated: Use ERC721FullMetaData.Bin instead. var ERC721FullBin = ERC721FullMetaData.Bin -// DeployERC721Full deploys a new Klaytn contract, binding an instance of ERC721Full to it. +// DeployERC721Full deploys a new Kaia contract, binding an instance of ERC721Full to it. func DeployERC721Full(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC721Full, error) { parsed, err := ERC721FullMetaData.GetAbi() if err != nil { @@ -4543,7 +4543,7 @@ var ERC721MetadataFuncSigs = ERC721MetadataMetaData.Sigs // Deprecated: Use ERC721MetadataMetaData.Bin instead. var ERC721MetadataBin = ERC721MetadataMetaData.Bin -// DeployERC721Metadata deploys a new Klaytn contract, binding an instance of ERC721Metadata to it. +// DeployERC721Metadata deploys a new Kaia contract, binding an instance of ERC721Metadata to it. func DeployERC721Metadata(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC721Metadata, error) { parsed, err := ERC721MetadataMetaData.GetAbi() if err != nil { @@ -12430,7 +12430,7 @@ const RolesBinRuntime = `7300000000000000000000000000000000000000003014608060405 // Deprecated: Use RolesMetaData.Bin instead. var RolesBin = RolesMetaData.Bin -// DeployRoles deploys a new Klaytn contract, binding an instance of Roles to it. +// DeployRoles deploys a new Kaia contract, binding an instance of Roles to it. func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Roles, error) { parsed, err := RolesMetaData.GetAbi() if err != nil { @@ -12606,7 +12606,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { @@ -12817,7 +12817,7 @@ var ServiceChainNFTFuncSigs = ServiceChainNFTMetaData.Sigs // Deprecated: Use ServiceChainNFTMetaData.Bin instead. var ServiceChainNFTBin = ServiceChainNFTMetaData.Bin -// DeployServiceChainNFT deploys a new Klaytn contract, binding an instance of ServiceChainNFT to it. +// DeployServiceChainNFT deploys a new Kaia contract, binding an instance of ServiceChainNFT to it. func DeployServiceChainNFT(auth *bind.TransactOpts, backend bind.ContractBackend, _bridge common.Address) (common.Address, *types.Transaction, *ServiceChainNFT, error) { parsed, err := ServiceChainNFTMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go index f37196fb0c..e81583ef9a 100644 --- a/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go +++ b/contracts/contracts/testing/sc_erc721_no_uri/sc_nft_no_uri.go @@ -46,7 +46,7 @@ const AddressBinRuntime = `73000000000000000000000000000000000000000030146080604 // Deprecated: Use AddressMetaData.Bin instead. var AddressBin = AddressMetaData.Bin -// DeployAddress deploys a new Klaytn contract, binding an instance of Address to it. +// DeployAddress deploys a new Kaia contract, binding an instance of Address to it. func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error) { parsed, err := AddressMetaData.GetAbi() if err != nil { @@ -222,7 +222,7 @@ const CountersBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use CountersMetaData.Bin instead. var CountersBin = CountersMetaData.Bin -// DeployCounters deploys a new Klaytn contract, binding an instance of Counters to it. +// DeployCounters deploys a new Kaia contract, binding an instance of Counters to it. func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Counters, error) { parsed, err := CountersMetaData.GetAbi() if err != nil { @@ -604,7 +604,7 @@ var ERC721FuncSigs = ERC721MetaData.Sigs // Deprecated: Use ERC721MetaData.Bin instead. var ERC721Bin = ERC721MetaData.Bin -// DeployERC721 deploys a new Klaytn contract, binding an instance of ERC721 to it. +// DeployERC721 deploys a new Kaia contract, binding an instance of ERC721 to it. func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error) { parsed, err := ERC721MetaData.GetAbi() if err != nil { @@ -1516,7 +1516,7 @@ var ERC721BurnableFuncSigs = ERC721BurnableMetaData.Sigs // Deprecated: Use ERC721BurnableMetaData.Bin instead. var ERC721BurnableBin = ERC721BurnableMetaData.Bin -// DeployERC721Burnable deploys a new Klaytn contract, binding an instance of ERC721Burnable to it. +// DeployERC721Burnable deploys a new Kaia contract, binding an instance of ERC721Burnable to it. func DeployERC721Burnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Burnable, error) { parsed, err := ERC721BurnableMetaData.GetAbi() if err != nil { @@ -2452,7 +2452,7 @@ var ERC721MintableFuncSigs = ERC721MintableMetaData.Sigs // Deprecated: Use ERC721MintableMetaData.Bin instead. var ERC721MintableBin = ERC721MintableMetaData.Bin -// DeployERC721Mintable deploys a new Klaytn contract, binding an instance of ERC721Mintable to it. +// DeployERC721Mintable deploys a new Kaia contract, binding an instance of ERC721Mintable to it. func DeployERC721Mintable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721Mintable, error) { parsed, err := ERC721MintableMetaData.GetAbi() if err != nil { @@ -7311,7 +7311,7 @@ const RolesBinRuntime = `7300000000000000000000000000000000000000003014608060405 // Deprecated: Use RolesMetaData.Bin instead. var RolesBin = RolesMetaData.Bin -// DeployRoles deploys a new Klaytn contract, binding an instance of Roles to it. +// DeployRoles deploys a new Kaia contract, binding an instance of Roles to it. func DeployRoles(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Roles, error) { parsed, err := RolesMetaData.GetAbi() if err != nil { @@ -7487,7 +7487,7 @@ const SafeMathBinRuntime = `7300000000000000000000000000000000000000003014608060 // Deprecated: Use SafeMathMetaData.Bin instead. var SafeMathBin = SafeMathMetaData.Bin -// DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it. +// DeploySafeMath deploys a new Kaia contract, binding an instance of SafeMath to it. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) { parsed, err := SafeMathMetaData.GetAbi() if err != nil { @@ -7692,7 +7692,7 @@ var ServiceChainNFTNoURIFuncSigs = ServiceChainNFTNoURIMetaData.Sigs // Deprecated: Use ServiceChainNFTNoURIMetaData.Bin instead. var ServiceChainNFTNoURIBin = ServiceChainNFTNoURIMetaData.Bin -// DeployServiceChainNFTNoURI deploys a new Klaytn contract, binding an instance of ServiceChainNFTNoURI to it. +// DeployServiceChainNFTNoURI deploys a new Kaia contract, binding an instance of ServiceChainNFTNoURI to it. func DeployServiceChainNFTNoURI(auth *bind.TransactOpts, backend bind.ContractBackend, _bridge common.Address) (common.Address, *types.Transaction, *ServiceChainNFTNoURI, error) { parsed, err := ServiceChainNFTNoURIMetaData.GetAbi() if err != nil { diff --git a/contracts/contracts/testing/system_contracts/all.go b/contracts/contracts/testing/system_contracts/all.go index 93a3cc10f1..935a68eeb9 100644 --- a/contracts/contracts/testing/system_contracts/all.go +++ b/contracts/contracts/testing/system_contracts/all.go @@ -58,7 +58,7 @@ const AddressUpgradeableBinRuntime = `730000000000000000000000000000000000000000 // Deprecated: Use AddressUpgradeableMetaData.Bin instead. var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin -// DeployAddressUpgradeable deploys a new Klaytn contract, binding an instance of AddressUpgradeable to it. +// DeployAddressUpgradeable deploys a new Kaia contract, binding an instance of AddressUpgradeable to it. func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressUpgradeable, error) { parsed, err := AddressUpgradeableMetaData.GetAbi() if err != nil { @@ -6432,7 +6432,7 @@ var KIP113MockFuncSigs = KIP113MockMetaData.Sigs // Deprecated: Use KIP113MockMetaData.Bin instead. var KIP113MockBin = KIP113MockMetaData.Bin -// DeployKIP113Mock deploys a new Klaytn contract, binding an instance of KIP113Mock to it. +// DeployKIP113Mock deploys a new Kaia contract, binding an instance of KIP113Mock to it. func DeployKIP113Mock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KIP113Mock, error) { parsed, err := KIP113MockMetaData.GetAbi() if err != nil { @@ -7986,7 +7986,7 @@ var OwnableFuncSigs = OwnableMetaData.Sigs // Deprecated: Use OwnableMetaData.Bin instead. var OwnableBin = OwnableMetaData.Bin -// DeployOwnable deploys a new Klaytn contract, binding an instance of Ownable to it. +// DeployOwnable deploys a new Kaia contract, binding an instance of Ownable to it. func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error) { parsed, err := OwnableMetaData.GetAbi() if err != nil { @@ -8941,7 +8941,7 @@ var RegistryMockFuncSigs = RegistryMockMetaData.Sigs // Deprecated: Use RegistryMockMetaData.Bin instead. var RegistryMockBin = RegistryMockMetaData.Bin -// DeployRegistryMock deploys a new Klaytn contract, binding an instance of RegistryMock to it. +// DeployRegistryMock deploys a new Kaia contract, binding an instance of RegistryMock to it. func DeployRegistryMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RegistryMock, error) { parsed, err := RegistryMockMetaData.GetAbi() if err != nil { @@ -9669,7 +9669,7 @@ var SimpleBlsRegistryFuncSigs = SimpleBlsRegistryMetaData.Sigs // Deprecated: Use SimpleBlsRegistryMetaData.Bin instead. var SimpleBlsRegistryBin = SimpleBlsRegistryMetaData.Bin -// DeploySimpleBlsRegistry deploys a new Klaytn contract, binding an instance of SimpleBlsRegistry to it. +// DeploySimpleBlsRegistry deploys a new Kaia contract, binding an instance of SimpleBlsRegistry to it. func DeploySimpleBlsRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SimpleBlsRegistry, error) { parsed, err := SimpleBlsRegistryMetaData.GetAbi() if err != nil { @@ -11213,7 +11213,7 @@ const StorageSlotUpgradeableBinRuntime = `73000000000000000000000000000000000000 // Deprecated: Use StorageSlotUpgradeableMetaData.Bin instead. var StorageSlotUpgradeableBin = StorageSlotUpgradeableMetaData.Bin -// DeployStorageSlotUpgradeable deploys a new Klaytn contract, binding an instance of StorageSlotUpgradeable to it. +// DeployStorageSlotUpgradeable deploys a new Kaia contract, binding an instance of StorageSlotUpgradeable to it. func DeployStorageSlotUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StorageSlotUpgradeable, error) { parsed, err := StorageSlotUpgradeableMetaData.GetAbi() if err != nil { @@ -11425,7 +11425,7 @@ var TreasuryRebalanceFuncSigs = TreasuryRebalanceMetaData.Sigs // Deprecated: Use TreasuryRebalanceMetaData.Bin instead. var TreasuryRebalanceBin = TreasuryRebalanceMetaData.Bin -// DeployTreasuryRebalance deploys a new Klaytn contract, binding an instance of TreasuryRebalance to it. +// DeployTreasuryRebalance deploys a new Kaia contract, binding an instance of TreasuryRebalance to it. func DeployTreasuryRebalance(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalance, error) { parsed, err := TreasuryRebalanceMetaData.GetAbi() if err != nil { @@ -13659,7 +13659,7 @@ var TreasuryRebalanceMockFuncSigs = TreasuryRebalanceMockMetaData.Sigs // Deprecated: Use TreasuryRebalanceMockMetaData.Bin instead. var TreasuryRebalanceMockBin = TreasuryRebalanceMockMetaData.Bin -// DeployTreasuryRebalanceMock deploys a new Klaytn contract, binding an instance of TreasuryRebalanceMock to it. +// DeployTreasuryRebalanceMock deploys a new Kaia contract, binding an instance of TreasuryRebalanceMock to it. func DeployTreasuryRebalanceMock(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalanceMock, error) { parsed, err := TreasuryRebalanceMockMetaData.GetAbi() if err != nil { @@ -15915,7 +15915,7 @@ var TreasuryRebalanceMockV2FuncSigs = TreasuryRebalanceMockV2MetaData.Sigs // Deprecated: Use TreasuryRebalanceMockV2MetaData.Bin instead. var TreasuryRebalanceMockV2Bin = TreasuryRebalanceMockV2MetaData.Bin -// DeployTreasuryRebalanceMockV2 deploys a new Klaytn contract, binding an instance of TreasuryRebalanceMockV2 to it. +// DeployTreasuryRebalanceMockV2 deploys a new Kaia contract, binding an instance of TreasuryRebalanceMockV2 to it. func DeployTreasuryRebalanceMockV2(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalanceMockV2, error) { parsed, err := TreasuryRebalanceMockV2MetaData.GetAbi() if err != nil { @@ -18170,7 +18170,7 @@ var TreasuryRebalanceV2FuncSigs = TreasuryRebalanceV2MetaData.Sigs // Deprecated: Use TreasuryRebalanceV2MetaData.Bin instead. var TreasuryRebalanceV2Bin = TreasuryRebalanceV2MetaData.Bin -// DeployTreasuryRebalanceV2 deploys a new Klaytn contract, binding an instance of TreasuryRebalanceV2 to it. +// DeployTreasuryRebalanceV2 deploys a new Kaia contract, binding an instance of TreasuryRebalanceV2 to it. func DeployTreasuryRebalanceV2(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalanceV2, error) { parsed, err := TreasuryRebalanceV2MetaData.GetAbi() if err != nil { diff --git a/datasync/dbsyncer/utils.go b/datasync/dbsyncer/utils.go index 4b64f4b3ee..a3d3b7ddf6 100644 --- a/datasync/dbsyncer/utils.go +++ b/datasync/dbsyncer/utils.go @@ -64,7 +64,7 @@ func getProposerAndValidatorsFromBlock(block *types.Block) (proposer string, val return proposerAddr.Hex(), strings.Join(strValidators, ","), nil } -// ecrecover extracts the Klaytn account address from a signed header. +// ecrecover extracts the Kaia account address from a signed header. func ecrecover(header *types.Header) (common.Address, error) { // Retrieve the signature from the header extra-data istanbulExtra, err := types.ExtractIstanbulExtra(header) diff --git a/node/cn/snap/sync.go b/node/cn/snap/sync.go index 9cfef2a4e4..f2c89ad9e9 100644 --- a/node/cn/snap/sync.go +++ b/node/cn/snap/sync.go @@ -385,7 +385,7 @@ type SyncPeer interface { Log() log.Logger } -// Syncer is an Klaytn account and storage trie syncer based on snapshots and +// Syncer is an Kaia account and storage trie syncer based on snapshots and // the snap protocol. It's purpose is to download all the accounts and storage // slots from remote peers and reassemble chunks of the state trie, on top of // which a state sync can be run to fix any gaps / overlaps. diff --git a/node/doc.go b/node/doc.go index 3f372f99b5..638500e9c4 100644 --- a/node/doc.go +++ b/node/doc.go @@ -46,7 +46,7 @@ Service implementations can open LevelDB databases through the service context. node chooses the file system location of each database. If the node is configured to run without a data directory, databases are opened in memory instead. -Node also creates the shared store of encrypted Klaytn account keys. Services can access +Node also creates the shared store of encrypted Kaia account keys. Services can access the account manager through the service context. # Sharing Data Directory Among Instances diff --git a/node/sc/doc.go b/node/sc/doc.go index 792b27f650..fd8ec297dd 100644 --- a/node/sc/doc.go +++ b/node/sc/doc.go @@ -18,7 +18,7 @@ Package sc implements an auxiliary blockchain called Service Chain. Service Chains in Klaytn are auxiliary blockchains independent from the Klaytn main chain. -They mostly act like normal Kaia blockchains but has additional features to connect them to another Klaytn network. +They mostly act like normal Kaia blockchains but has additional features to connect them to another Kaia network. They can be used as separate public/private blockchains or child chains of a Klaytn chain (or another Service Chain). The followings describe main features of Service chain. - Anchoring block data of Service Chain diff --git a/reward/reward_distributor.go b/reward/reward_distributor.go index 51e5d6c7d0..fe6fb453fb 100644 --- a/reward/reward_distributor.go +++ b/reward/reward_distributor.go @@ -582,7 +582,7 @@ func incrementRewardsMap(m map[common.Address]*big.Int, addr common.Address, amo m[addr] = m[addr].Add(m[addr], amount) } -// ecrecover extracts the Klaytn account address from a signed header. +// ecrecover extracts the Kaia account address from a signed header. func ecrecover(header *types.Header) (common.Address, error) { // Retrieve the signature from the header extra-data istanbulExtra, err := types.ExtractIstanbulExtra(header) diff --git a/tests/apply_tx_test.go b/tests/apply_tx_test.go index 9e2ce6f4fa..064a2fb6e7 100644 --- a/tests/apply_tx_test.go +++ b/tests/apply_tx_test.go @@ -94,7 +94,7 @@ func BenchmarkTxPerformanceSmartContractExecution(b *testing.B) { } // BenchmarkTxPerformanceNew measures performance of newly introduced transaction types. -// This requires one more step "account creation of a Klaytn account" compared to BenchmarkTxPerformanceCompatible. +// This requires one more step "account creation of a Kaia account" compared to BenchmarkTxPerformanceCompatible. func BenchmarkTxPerformanceNew(b *testing.B) { testfns := []genTx{ genNewAccountUpdateMultisig3, From 7f4389c6eefef40b007999b23e1e7c374e5d79d7 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 15:33:31 +0900 Subject: [PATCH 07/16] Update address, consensus to Kaia --- accounts/doc.go | 2 +- blockchain/state/journal.go | 2 +- blockchain/types/account/account.go | 2 +- blockchain/types/account/legacy_account.go | 2 +- cmd/kcn/doc.go | 2 +- common/types.go | 2 +- consensus/clique/clique.go | 6 +++--- consensus/clique/snapshot_test.go | 4 ++-- consensus/consensus.go | 2 +- consensus/gxhash/gxhash.go | 4 ++-- consensus/istanbul/backend/engine.go | 2 +- consensus/istanbul/validator/doc.go | 2 +- crypto/crypto.go | 4 ++-- node/cn/backend.go | 2 +- node/cn/doc.go | 2 +- node/sc/subbridge.go | 2 +- params/config.go | 2 +- 17 files changed, 22 insertions(+), 22 deletions(-) diff --git a/accounts/doc.go b/accounts/doc.go index 43ef727526..f95c44ce2f 100644 --- a/accounts/doc.go +++ b/accounts/doc.go @@ -28,7 +28,7 @@ There are several important data structures and their hierarchy is as below # Source Files Each file provides the following features - - accounts.go : Provides `Account` struct and Wallet/Backend interfaces. `Account` represents a Klaytn account located at a specific location defined by the optional URL field. `Wallet` represents a software or hardware wallet and `Backend` is a wallet provider that may contain a batch of accounts they can sign transactions with + - accounts.go : Provides `Account` struct and Wallet/Backend interfaces. `Account` represents a Kaia account located at a specific location defined by the optional URL field. `Wallet` represents a software or hardware wallet and `Backend` is a wallet provider that may contain a batch of accounts they can sign transactions with - errors.go : Provides various account related error variables and helper functions - hd.go : Defines derivation paths for Klaytn and parser function to derive the path from a path string. Klaytn uses 8217 as its coin type - manager.go : Provides `Manager` which is an overarching account manager that can communicate with various backends for signing transactions diff --git a/blockchain/state/journal.go b/blockchain/state/journal.go index d3ed313303..c127105a8d 100644 --- a/blockchain/state/journal.go +++ b/blockchain/state/journal.go @@ -32,7 +32,7 @@ type journalEntry interface { // revert undoes the changes introduced by this journal entry. revert(*StateDB) - // dirtied returns the Klaytn address modified by this journal entry. + // dirtied returns the Kaia address modified by this journal entry. dirtied() *common.Address } diff --git a/blockchain/types/account/account.go b/blockchain/types/account/account.go index 92e01d0e04..bde682881b 100644 --- a/blockchain/types/account/account.go +++ b/blockchain/types/account/account.go @@ -72,7 +72,7 @@ var ( logger = log.NewModuleLogger(log.BlockchainState) ) -// Account is the Klaytn consensus representation of accounts. +// Account is the Kaia consensus representation of accounts. // These objects are stored in the main account trie. type Account interface { Type() AccountType diff --git a/blockchain/types/account/legacy_account.go b/blockchain/types/account/legacy_account.go index f525ee53c3..c8a15e1ad7 100644 --- a/blockchain/types/account/legacy_account.go +++ b/blockchain/types/account/legacy_account.go @@ -26,7 +26,7 @@ import ( "github.com/klaytn/klaytn/common" ) -// LegacyAccount is the Klaytn consensus representation of legacy accounts. +// LegacyAccount is the Kaia consensus representation of legacy accounts. // These objects are stored in the main account trie. type LegacyAccount struct { Nonce uint64 diff --git a/cmd/kcn/doc.go b/cmd/kcn/doc.go index 1003a2d357..be068753e7 100644 --- a/cmd/kcn/doc.go +++ b/cmd/kcn/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -kcn is the command-line client for Klaytn Consensus Node. +kcn is the command-line client for Kaia consensus Node. kcn has the node type of "cn" internally. Please try `kcn -h` to see commands and options list. diff --git a/common/types.go b/common/types.go index 99413c8e83..0cfb43b68b 100644 --- a/common/types.go +++ b/common/types.go @@ -357,7 +357,7 @@ func IsPrecompiledContractAddress(addr Address) bool { } // IsHexAddress verifies whether a string can represent a valid hex-encoded -// Klaytn address or not. +// Kaia address or not. func IsHexAddress(s string) bool { if hasHexPrefix(s) { s = s[2:] diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index c66960f48d..f75cefb2f0 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -181,7 +181,7 @@ func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, er } signature := header.Extra[len(header.Extra)-ExtraSeal:] - // Recover the public key and the Klaytn address + // Recover the public key and the Kaia address pubkey, err := crypto.Ecrecover(sigHash(header).Bytes(), signature) if err != nil { return common.Address{}, err @@ -204,7 +204,7 @@ type Clique struct { proposals map[common.Address]bool // Current list of proposals we are pushing - signer common.Address // Klaytn address of the signing key + signer common.Address // Kaia address of the signing key signFn SignerFn // Signer function to authorize hashes with lock sync.RWMutex // Protects the signer fields @@ -233,7 +233,7 @@ func New(config *params.CliqueConfig, db database.DBManager) *Clique { } } -// Author implements consensus.Engine, returning the Klaytn address recovered +// Author implements consensus.Engine, returning the Kaia address recovered // from the signature in the header's extra-data section. func (c *Clique) Author(header *types.Header) (common.Address, error) { return ecrecover(header, c.signatures) diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 42456af42a..32a20ce500 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -59,7 +59,7 @@ func (ap *testerAccountPool) checkpoint(header *types.Header, signers []string) } } -// address retrieves the Klaytn address of a tester account by label, creating +// address retrieves the Kaia address of a tester account by label, creating // a new account if no previous one exists yet. func (ap *testerAccountPool) address(account string) common.Address { // Return the zero account for non-addresses @@ -70,7 +70,7 @@ func (ap *testerAccountPool) address(account string) common.Address { if ap.accounts[account] == nil { ap.accounts[account], _ = crypto.GenerateKey() } - // Resolve and return the Klaytn address + // Resolve and return the Kaia address return crypto.PubkeyToAddress(ap.accounts[account].PublicKey) } diff --git a/consensus/consensus.go b/consensus/consensus.go index 7e1b6a8987..944c039fde 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -69,7 +69,7 @@ type ChainReader interface { // //go:generate mockgen -destination=consensus/mocks/engine_mock.go -package=mocks github.com/klaytn/klaytn/consensus Engine type Engine interface { - // Author retrieves the Klaytn address of the account that minted the given + // Author retrieves the Kaia address of the account that minted the given // block. Author(header *types.Header) (common.Address, error) diff --git a/consensus/gxhash/gxhash.go b/consensus/gxhash/gxhash.go index 3006cd0d21..69fc7e6bcf 100644 --- a/consensus/gxhash/gxhash.go +++ b/consensus/gxhash/gxhash.go @@ -459,7 +459,7 @@ func NewFaker() *Gxhash { // NewFakeFailer creates a gxhash consensus engine with a fake PoW scheme that // accepts all blocks as valid apart from the single one specified, though they -// still have to conform to the Klaytn consensus rules. +// still have to conform to the Kaia consensus rules. func NewFakeFailer(fail uint64) *Gxhash { return &Gxhash{ config: Config{ @@ -471,7 +471,7 @@ func NewFakeFailer(fail uint64) *Gxhash { // NewFakeDelayer creates a gxhash consensus engine with a fake PoW scheme that // accepts all blocks as valid, but delays verifications by some time, though -// they still have to conform to the Klaytn consensus rules. +// they still have to conform to the Kaia consensus rules. func NewFakeDelayer(delay time.Duration) *Gxhash { return &Gxhash{ config: Config{ diff --git a/consensus/istanbul/backend/engine.go b/consensus/istanbul/backend/engine.go index d66b471f4f..551e6b6a2c 100644 --- a/consensus/istanbul/backend/engine.go +++ b/consensus/istanbul/backend/engine.go @@ -117,7 +117,7 @@ func cacheSignatureAddresses(data []byte, sig []byte) (common.Address, error) { return addr, err } -// Author retrieves the Klaytn address of the account that minted the given block. +// Author retrieves the Kaia address of the account that minted the given block. func (sb *backend) Author(header *types.Header) (common.Address, error) { return ecrecover(header) } diff --git a/consensus/istanbul/validator/doc.go b/consensus/istanbul/validator/doc.go index 437cbec02f..9923e0e543 100644 --- a/consensus/istanbul/validator/doc.go +++ b/consensus/istanbul/validator/doc.go @@ -36,7 +36,7 @@ A validator selected as a block proposer will have a chance to make a block. # Implementation in Klaytn -Klaytn implements `Validator` and `ValidatorSet` interface for Klaytn consensus. +Klaytn implements `Validator` and `ValidatorSet` interface for Kaia consensus. Klaytn reflects the ratio of staking amounts to the probability of selecting a proposer. This is called weightedRandom policy. Detailed information can be found in https://docs.klaytn.com/klaytn/token_economy#klaytn-governance-council-reward. diff --git a/crypto/crypto.go b/crypto/crypto.go index 06f4b7848a..73572c623e 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -91,7 +91,7 @@ func Keccak512(data ...[]byte) []byte { return d.Sum(nil) } -// CreateAddress creates a Klaytn address given the bytes and the nonce +// CreateAddress creates a Kaia address given the bytes and the nonce func CreateAddress(b common.Address, nonce uint64) common.Address { data, _ := rlp.EncodeToBytes(struct { Addr common.Address @@ -100,7 +100,7 @@ func CreateAddress(b common.Address, nonce uint64) common.Address { return common.BytesToAddress(Keccak256(data)[12:]) } -// CreateAddress2 creates a Klaytn address given the address bytes, initial +// CreateAddress2 creates a Kaia address given the address bytes, initial // contract code hash and a salt. func CreateAddress2(b common.Address, salt [32]byte, inithash []byte) common.Address { return common.BytesToAddress(Keccak256([]byte{0xff}, b.Bytes(), salt[:], inithash)[12:]) diff --git a/node/cn/backend.go b/node/cn/backend.go index bcb7d2299e..c51e0ec0b2 100644 --- a/node/cn/backend.go +++ b/node/cn/backend.go @@ -98,7 +98,7 @@ type BackendProtocolManager interface { SetSyncStop(flag bool) } -// CN implements the Klaytn consensus node service. +// CN implements the Kaia consensus node service. type CN struct { config *Config chainConfig *params.ChainConfig diff --git a/node/cn/doc.go b/node/cn/doc.go index 37764124c0..c30845b03b 100644 --- a/node/cn/doc.go +++ b/node/cn/doc.go @@ -16,7 +16,7 @@ /* Package cn implements components related to network management and message handling. -CN implements the Klaytn consensus node service. +CN implements the Kaia consensus node service. ProtocolManager handles the messages from the peer nodes and manages its peers. Peer is the interface used for peer nodes and has two different kinds of implementation depending on single or multi channel usage. diff --git a/node/sc/subbridge.go b/node/sc/subbridge.go index 6dd9a10b50..5dec8bc212 100644 --- a/node/sc/subbridge.go +++ b/node/sc/subbridge.go @@ -99,7 +99,7 @@ type BridgeTxPool interface { Stop() } -// SubBridge implements the Klaytn consensus node service. +// SubBridge implements the Kaia consensus node service. type SubBridge struct { config *SCConfig diff --git a/params/config.go b/params/config.go index da42a6c065..b9e60a6087 100644 --- a/params/config.go +++ b/params/config.go @@ -124,7 +124,7 @@ var ( } // AllGxhashProtocolChanges contains every protocol change (GxIPs) introduced - // and accepted by the klaytn developers into the Klaytn consensus. + // and accepted by the klaytn developers into the Kaia consensus. // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. From 020be7c72848ca8bf11cb65e6c815a0c8a9b8d34 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 15:40:51 +0900 Subject: [PATCH 08/16] Update KLAY to KAIA, klaytn to Kaia --- accounts/abi/bind/backends/blockchain.go | 2 +- accounts/abi/bind/base.go | 2 +- accounts/abi/bind/bind_test.go | 4 +- accounts/abi/doc.go | 4 +- accounts/doc.go | 2 +- accounts/hd.go | 4 +- accounts/keystore/keystore_plain_test.go | 2 +- accounts/url.go | 2 +- api/api_ethereum.go | 60 ++++++++--------- api/api_ethereum_test.go | 16 ++--- api/api_private_account.go | 2 +- api/api_private_account_test.go | 6 +- api/api_private_debug.go | 4 +- api/api_public_debug.go | 4 +- api/api_public_klay.go | 2 +- api/backend.go | 2 +- api/doc.go | 8 +-- api/tx_args.go | 6 +- blockchain/bad_blocks.go | 2 +- blockchain/bench_test.go | 2 +- blockchain/blockchain.go | 2 +- blockchain/chain_makers_test.go | 4 +- blockchain/doc.go | 6 +- blockchain/headerchain.go | 2 +- blockchain/state/database.go | 2 +- blockchain/state/doc.go | 2 +- blockchain/state_prefetcher.go | 4 +- blockchain/state_processor.go | 2 +- blockchain/state_transition.go | 2 +- blockchain/system/doc.go | 2 +- blockchain/system/rebalance.go | 4 +- blockchain/tx_pool_test.go | 2 +- blockchain/types.go | 4 +- blockchain/types/account/doc.go | 4 +- .../types/accountkey/account_key_fail.go | 2 +- .../types/accountkey/account_key_legacy.go | 2 +- blockchain/types/accountkey/doc.go | 4 +- blockchain/types/block.go | 4 +- blockchain/types/doc.go | 16 ++--- blockchain/types/istanbul.go | 2 +- blockchain/types/receipt.go | 2 +- blockchain/types/transaction.go | 2 +- blockchain/types/transaction_test.go | 2 +- blockchain/types/tx_internal_data_cancel.go | 2 +- .../tx_internal_data_fee_delegated_cancel.go | 2 +- ...al_data_fee_delegated_cancel_with_ratio.go | 2 +- ...ernal_data_fee_delegated_value_transfer.go | 2 +- ..._data_fee_delegated_value_transfer_memo.go | 2 +- ...elegated_value_transfer_memo_with_ratio.go | 2 +- .../types/tx_internal_data_value_transfer.go | 2 +- .../tx_internal_data_value_transfer_memo.go | 2 +- blockchain/vm/contracts.go | 14 ++-- blockchain/vm/doc.go | 4 +- blockchain/vm/eips.go | 4 +- blockchain/vm/evm.go | 10 +-- blockchain/vm/gas_table.go | 2 +- blockchain/vm/instructions_test.go | 2 +- blockchain/vm/interpreter.go | 2 +- blockchain/vm/memory.go | 2 +- build/ci.go | 4 +- build/update-license.go | 4 +- client/bridge_client.go | 4 +- client/doc.go | 2 +- client/klay_client.go | 10 +-- client/klay_client_test.go | 6 +- cmd/homi/docker/service/doc.go | 2 +- cmd/kbn/doc.go | 2 +- cmd/ken/doc.go | 2 +- cmd/kgen/doc.go | 2 +- cmd/kpn/doc.go | 2 +- cmd/kscn/doc.go | 2 +- cmd/ksen/doc.go | 2 +- cmd/kspn/doc.go | 2 +- cmd/utils/config.go | 4 +- cmd/utils/doc.go | 2 +- cmd/utils/flags.go | 2 +- cmd/utils/nodecmd/chaincmd.go | 2 +- cmd/utils/nodecmd/consolecmd.go | 6 +- cmd/utils/nodecmd/consolecmd_test.go | 2 +- cmd/utils/usage.go | 2 +- common/fdlimit/doc.go | 4 +- common/hexutil/doc.go | 2 +- common/path.go | 2 +- common/types_test.go | 2 +- consensus/clique/clique.go | 2 +- consensus/clique/snapshot_test.go | 2 +- consensus/doc.go | 4 +- consensus/gxhash/algorithm_test.go | 2 +- consensus/gxhash/consensus.go | 4 +- consensus/gxhash/doc.go | 2 +- consensus/gxhash/gxhash.go | 2 +- consensus/istanbul/backend/api.go | 2 +- consensus/istanbul/core/types.go | 2 +- consensus/istanbul/doc.go | 2 +- consensus/istanbul/types.go | 2 +- consensus/istanbul/validator/doc.go | 4 +- console/bridge.go | 2 +- console/console.go | 6 +- console/console_test.go | 2 +- console/jsre/doc.go | 2 +- console/web3ext/doc.go | 4 +- crypto/bls/bls.go | 2 +- crypto/bls/blst/aliases.go | 2 +- crypto/bn256/doc.go | 2 +- crypto/doc.go | 2 +- crypto/ecies/doc.go | 2 +- crypto/secp256k1/doc.go | 2 +- .../chaindatafetcher/kas/contract_caller.go | 6 +- .../kas/repository_token_transfer.go | 4 +- .../chaindatafetcher/kas/repository_traces.go | 2 +- datasync/fetcher/fetcher.go | 2 +- governance/api_test.go | 10 +-- governance/doc.go | 4 +- interfaces.go | 2 +- kerrors/doc.go | 2 +- networks/grpc/doc.go | 8 +-- networks/grpc/klaytn.pb.go | 2 +- networks/p2p/doc.go | 2 +- networks/p2p/simulations/adapters/types.go | 2 +- node/api.go | 2 +- node/cn/api.go | 6 +- node/cn/backend.go | 4 +- node/cn/bloombits.go | 2 +- node/cn/config.go | 4 +- node/cn/doc.go | 2 +- node/cn/filters/api.go | 2 +- node/cn/filters/doc.go | 2 +- node/cn/gasprice/doc.go | 2 +- node/cn/gasprice/feehistory.go | 2 +- node/cn/gasprice/gasprice.go | 2 +- node/cn/handler.go | 8 +-- node/cn/peer.go | 8 +-- node/cn/peer_set.go | 2 +- node/cn/state_accessor.go | 2 +- node/cn/tracers/api.go | 2 +- node/cn/tracers/tracers.go | 2 +- node/config.go | 4 +- node/doc.go | 2 +- node/sc/bridge_manager.go | 8 +-- node/sc/bridge_manager_test.go | 16 ++--- node/sc/bridge_test.go | 2 +- node/sc/bridgepeer.go | 10 +-- node/sc/config.go | 4 +- node/sc/doc.go | 18 +++--- node/sc/mainbridge.go | 6 +- node/sc/multi_bridge_test.go | 4 +- node/sc/subbridge.go | 2 +- params/bootnodes.go | 2 +- params/config.go | 4 +- params/denomination.go | 2 +- params/doc.go | 6 +- reward/doc.go | 8 +-- reward/reward_distributor.go | 2 +- reward/staking_manager.go | 2 +- storage/database/doc.go | 2 +- storage/database/dynamodb.go | 2 +- storage/database/leveldb_database.go | 2 +- storage/statedb/doc.go | 2 +- storage/statedb/print_trie_test.go | 2 +- storage/statedb/trie_test.go | 2 +- tests/account_keytype_test.go | 4 +- tests/benchmarks/doc.go | 2 +- tests/block_test.go | 2 +- tests/doc.go | 2 +- tests/gov_contract_test.go | 2 +- tests/hard_fork_test.go | 4 +- tests/init.go | 2 +- tests/klay_blockchain_test.go | 4 +- tests/klay_test.go | 8 +-- tests/klay_test_account_map_test.go | 2 +- tests/pregenerated_data_execution_test.go | 2 +- tests/testutil_blockchain_test.go | 2 +- tests/tx_gas_calculation_test.go | 4 +- tests/tx_validation_test.go | 64 +++++++++---------- work/doc.go | 2 +- work/worker.go | 2 +- 176 files changed, 363 insertions(+), 363 deletions(-) diff --git a/accounts/abi/bind/backends/blockchain.go b/accounts/abi/bind/backends/blockchain.go index 57564f8906..a746e034b7 100644 --- a/accounts/abi/bind/backends/blockchain.go +++ b/accounts/abi/bind/backends/blockchain.go @@ -142,7 +142,7 @@ func (b *BlockchainContractBackend) callContract(call klaytn.CallMsg, block *typ txContext := blockchain.NewEVMTxContext(msg, block.Header()) blockContext := blockchain.NewEVMBlockContext(block.Header(), b.bc, nil) - // EVM demands the sender to have enough KLAY balance (gasPrice * gasLimit) in buyGas() + // EVM demands the sender to have enough KAIA balance (gasPrice * gasLimit) in buyGas() // After KIP-71, gasPrice is nonzero baseFee, regardless of the msg.gasPrice (usually 0) // But our sender (usually 0x0) won't have enough balance. Instead we override gasPrice = 0 here txContext.GasPrice = big.NewInt(0) diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index eb70023f17..f1c7d360e5 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -106,7 +106,7 @@ func (m *MetaData) GetAbi() (*abi.ABI, error) { // higher level contract bindings to operate. type BoundContract struct { address common.Address // Deployment address of the contract on the Kaia blockchain - abi abi.ABI // Reflect based ABI to access the correct Klaytn methods + abi abi.ABI // Reflect based ABI to access the correct Kaia methods caller ContractCaller // Read interface to interact with the blockchain transactor ContractTransactor // Write interface to interact with the blockchain filterer ContractFilterer // Event filtering to interact with the blockchain diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index 4f0264e8de..c0455acb55 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -1871,7 +1871,7 @@ func TestGolangBindings(t *testing.T) { } }) } - // Convert the package to go modules and use the current source for klaytn + // Convert the package to go modules and use the current source for Kaia moder := exec.Command(gocmd, "mod", "init", "bindtest") moder.Dir = pkg if out, err := moder.CombinedOutput(); err != nil { @@ -1896,7 +1896,7 @@ func TestGolangBindings(t *testing.T) { } } -// TODO-Kaia: change org.ethereum.geth to org.klaytn when ready +// TODO-Kaia: change org.ethereum.geth to org.Kaia when ready // Tests that java binding generated by the binder is exactly matched. func TestJavaBindings(t *testing.T) { cases := []struct { diff --git a/accounts/abi/doc.go b/accounts/abi/doc.go index cfb85275fe..0a308a68fa 100644 --- a/accounts/abi/doc.go +++ b/accounts/abi/doc.go @@ -19,10 +19,10 @@ // Modified and improved for the klaytn development. /* -Package abi implements the Klaytn ABI (Application Binary +Package abi implements the Kaia ABI (Application Binary Interface). -The Klaytn ABI is strongly typed, known at compile time +The Kaia ABI is strongly typed, known at compile time and static. This ABI will handle basic type casting; unsigned to signed and visa versa. It does not handle slice casting such as unsigned slice to signed slice. Bit size type casting is also diff --git a/accounts/doc.go b/accounts/doc.go index f95c44ce2f..4a61b6767a 100644 --- a/accounts/doc.go +++ b/accounts/doc.go @@ -30,7 +30,7 @@ There are several important data structures and their hierarchy is as below Each file provides the following features - accounts.go : Provides `Account` struct and Wallet/Backend interfaces. `Account` represents a Kaia account located at a specific location defined by the optional URL field. `Wallet` represents a software or hardware wallet and `Backend` is a wallet provider that may contain a batch of accounts they can sign transactions with - errors.go : Provides various account related error variables and helper functions - - hd.go : Defines derivation paths for Klaytn and parser function to derive the path from a path string. Klaytn uses 8217 as its coin type + - hd.go : Defines derivation paths for Kaia and parser function to derive the path from a path string. Kaia uses 8217 as its coin type - manager.go : Provides `Manager` which is an overarching account manager that can communicate with various backends for signing transactions - url.go : Provides `URL` struct which represents the canonical identification URL of a wallet or account */ diff --git a/accounts/hd.go b/accounts/hd.go index 5a82797a88..75a2bbc778 100644 --- a/accounts/hd.go +++ b/accounts/hd.go @@ -53,9 +53,9 @@ var DefaultLedgerBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 // // The BIP-44 spec https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki // defines that the `purpose` be 44' (or 0x8000002C) for crypto currencies, and -// Klaytn defined the `coin_type` 8217' (or 0x80002019) internally. +// Kaia defined the `coin_type` 8217' (or 0x80002019) internally. // -// The root path for Klaytn is m/44'/8217'/0'/0 according to the specification +// The root path for Kaia is m/44'/8217'/0'/0 according to the specification // from https://github.com/ethereum/EIPs/issues/84, albeit it's not set in stone // yet whether accounts should increment the last component or the children of // that. We will go with the simpler approach of incrementing the last component. diff --git a/accounts/keystore/keystore_plain_test.go b/accounts/keystore/keystore_plain_test.go index 8b9e78cb87..b04c4ea219 100644 --- a/accounts/keystore/keystore_plain_test.go +++ b/accounts/keystore/keystore_plain_test.go @@ -103,7 +103,7 @@ func TestKeyStorePassphraseDecryptionFail(t *testing.T) { } } -// Test and utils for the key store tests in the Klaytn JSON tests; +// Test and utils for the key store tests in the Kaia JSON tests; // testdataKeyStoreTests/basic_tests.json type KeyStoreTestV3 struct { Json encryptedKeyJSONV3 diff --git a/accounts/url.go b/accounts/url.go index d4cca88293..fd86d7cb11 100644 --- a/accounts/url.go +++ b/accounts/url.go @@ -37,7 +37,7 @@ import ( // references to the original version, whereas the latter is important to ensure // one single canonical form opposed to many allowed ones by the RFC 3986 spec. // -// As such, these URLs should not be used outside of the scope of a Klaytn +// As such, these URLs should not be used outside of the scope of a Kaia // wallet or account. type URL struct { Scheme string // Protocol scheme to identify a capable account backend diff --git a/api/api_ethereum.go b/api/api_ethereum.go index d56dade7ec..d76c6fb107 100644 --- a/api/api_ethereum.go +++ b/api/api_ethereum.go @@ -46,13 +46,13 @@ import ( const ( // EmptySha3Uncles always have value which is the result of // `crypto.Keccak256Hash(rlp.EncodeToBytes([]*types.Header(nil)).String())` - // because there is no uncles in Klaytn. + // because there is no uncles in Kaia. // Just use const value because we don't have to calculate it everytime which always be same result. EmptySha3Uncles = "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" // ZeroHashrate exists for supporting Ethereum compatible data structure. - // There is no POW mining mechanism in Klaytn. + // There is no POW mining mechanism in Kaia. ZeroHashrate uint64 = 0 - // ZeroUncleCount is always zero because there is no uncle blocks in Klaytn. + // ZeroUncleCount is always zero because there is no uncle blocks in Kaia. ZeroUncleCount uint = 0 ) @@ -61,7 +61,7 @@ var ( errNotFoundBlock = errors.New("can't find a block in database") ) -// EthereumAPI provides an API to access the Klaytn through the `eth` namespace. +// EthereumAPI provides an API to access the Kaia through the `eth` namespace. // TODO-Kaia: Removed unused variable type EthereumAPI struct { publicFilterAPI *filters.PublicFilterAPI @@ -75,7 +75,7 @@ type EthereumAPI struct { } // NewEthereumAPI creates a new ethereum API. -// EthereumAPI operates using Klaytn's API internally without overriding. +// EthereumAPI operates using Kaia's API internally without overriding. // Therefore, it is necessary to use APIs defined in two different packages(cn and api), // so those apis will be defined through a setter. func NewEthereumAPI() *EthereumAPI { @@ -118,7 +118,7 @@ func (api *EthereumAPI) SetGovernanceAPI(governanceAPI *governance.GovernanceAPI } // Etherbase is the address of operating node. -// Unlike Ethereum, it only returns the node address because Klaytn does not have a POW mechanism. +// Unlike Ethereum, it only returns the node address because Kaia does not have a POW mechanism. func (api *EthereumAPI) Etherbase() (common.Address, error) { return api.governanceAPI.NodeAddress(), nil } @@ -129,18 +129,18 @@ func (api *EthereumAPI) Coinbase() (common.Address, error) { } // Hashrate returns the POW hashrate. -// Unlike Ethereum, it always returns ZeroHashrate because Klaytn does not have a POW mechanism. +// Unlike Ethereum, it always returns ZeroHashrate because Kaia does not have a POW mechanism. func (api *EthereumAPI) Hashrate() hexutil.Uint64 { return hexutil.Uint64(ZeroHashrate) } // Mining returns an indication if this node is currently mining. -// Unlike Ethereum, it always returns false because Klaytn does not have a POW mechanism, +// Unlike Ethereum, it always returns false because Kaia does not have a POW mechanism, func (api *EthereumAPI) Mining() bool { return false } -// GetWork returns an errNoMiningWork because klaytn does not have a POW mechanism. +// GetWork returns an errNoMiningWork because Kaia does not have a POW mechanism. func (api *EthereumAPI) GetWork() ([4]string, error) { return [4]string{}, errNoMiningWork } @@ -172,17 +172,17 @@ func (n *BlockNonce) UnmarshalText(input []byte) error { return hexutil.UnmarshalFixedText("BlockNonce", input, n[:]) } -// SubmitWork returns false because klaytn does not have a POW mechanism. +// SubmitWork returns false because Kaia does not have a POW mechanism. func (api *EthereumAPI) SubmitWork(nonce BlockNonce, hash, digest common.Hash) bool { return false } -// SubmitHashrate returns false because klaytn does not have a POW mechanism. +// SubmitHashrate returns false because Kaia does not have a POW mechanism. func (api *EthereumAPI) SubmitHashrate(rate hexutil.Uint64, id common.Hash) bool { return false } -// GetHashrate returns ZeroHashrate because klaytn does not have a POW mechanism. +// GetHashrate returns ZeroHashrate because Kaia does not have a POW mechanism. func (api *EthereumAPI) GetHashrate() uint64 { return ZeroHashrate } @@ -559,7 +559,7 @@ func (api *EthereumAPI) GetHeaderByHash(ctx context.Context, hash common.Hash) m // - When fullTx is true all transactions in the block are returned, otherwise // only the transaction hash is returned. func (api *EthereumAPI) GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, fullTx bool) (map[string]interface{}, error) { - // Klaytn backend returns error when there is no matched block but + // Kaia backend returns error when there is no matched block but // Ethereum returns it as nil without error, so we should return is as nil when there is no matched block. klaytnBlock, err := api.publicBlockChainAPI.b.BlockByNumber(ctx, number) if err != nil { @@ -584,7 +584,7 @@ func (api *EthereumAPI) GetBlockByNumber(ctx context.Context, number rpc.BlockNu // GetBlockByHash returns the requested block. When fullTx is true all transactions in the block are returned in full // detail, otherwise only the transaction hash is returned. func (api *EthereumAPI) GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (map[string]interface{}, error) { - // Klaytn backend returns error when there is no matched block but + // Kaia backend returns error when there is no matched block but // Ethereum returns it as nil without error, so we should return is as nil when there is no matched block. klaytnBlock, err := api.publicBlockChainAPI.b.BlockByHash(ctx, hash) if err != nil { @@ -596,17 +596,17 @@ func (api *EthereumAPI) GetBlockByHash(ctx context.Context, hash common.Hash, fu return api.rpcMarshalBlock(klaytnBlock, true, true, fullTx) } -// GetUncleByBlockNumberAndIndex returns nil because there is no uncle block in Klaytn. +// GetUncleByBlockNumberAndIndex returns nil because there is no uncle block in Kaia. func (api *EthereumAPI) GetUncleByBlockNumberAndIndex(ctx context.Context, blockNr rpc.BlockNumber, index hexutil.Uint) (map[string]interface{}, error) { return nil, nil } -// GetUncleByBlockHashAndIndex returns nil because there is no uncle block in Klaytn. +// GetUncleByBlockHashAndIndex returns nil because there is no uncle block in Kaia. func (api *EthereumAPI) GetUncleByBlockHashAndIndex(ctx context.Context, blockHash common.Hash, index hexutil.Uint) (map[string]interface{}, error) { return nil, nil } -// GetUncleCountByBlockNumber returns 0 when given blockNr exists because there is no uncle block in Klaytn. +// GetUncleCountByBlockNumber returns 0 when given blockNr exists because there is no uncle block in Kaia. func (api *EthereumAPI) GetUncleCountByBlockNumber(ctx context.Context, blockNr rpc.BlockNumber) *hexutil.Uint { if block, _ := api.publicBlockChainAPI.b.BlockByNumber(ctx, blockNr); block != nil { n := hexutil.Uint(ZeroUncleCount) @@ -615,7 +615,7 @@ func (api *EthereumAPI) GetUncleCountByBlockNumber(ctx context.Context, blockNr return nil } -// GetUncleCountByBlockHash returns 0 when given blockHash exists because there is no uncle block in Klaytn. +// GetUncleCountByBlockHash returns 0 when given blockHash exists because there is no uncle block in Kaia. func (api *EthereumAPI) GetUncleCountByBlockHash(ctx context.Context, blockHash common.Hash) *hexutil.Uint { if block, _ := api.publicBlockChainAPI.b.BlockByHash(ctx, blockHash); block != nil { n := hexutil.Uint(ZeroUncleCount) @@ -768,8 +768,8 @@ type EthRPCTransaction struct { // ethTxJSON is the JSON representation of Ethereum transaction. // ethTxJSON is used by eth namespace APIs which returns Transaction object as it is. -// Because every transaction in Klaytn, implements json.Marshaler interface (MarshalJSON), but -// it is marshaled for Klaytn format only. +// Because every transaction in Kaia, implements json.Marshaler interface (MarshalJSON), but +// it is marshaled for Kaia format only. // e.g. Ethereum transaction have V, R, and S field for signature but, // Kaia transaction have types.TxSignaturesJSON which includes array of signatures which is not // applicable for Ethereum transaction. @@ -825,7 +825,7 @@ func resolveToField(tx *types.Transaction) *common.Address { types.TxTypeCancel, types.TxTypeFeeDelegatedCancel, types.TxTypeFeeDelegatedCancelWithRatio, types.TxTypeChainDataAnchoring, types.TxTypeFeeDelegatedChainDataAnchoring, types.TxTypeFeeDelegatedChainDataAnchoringWithRatio: // These type of transactions actually do not have `to` address, but Ethereum always have `to` field, - // so we Klaytn developers decided to fill the `to` field with `from` address value in these case. + // so we Kaia developers decided to fill the `to` field with `from` address value in these case. from := getFrom(tx) return &from } @@ -835,7 +835,7 @@ func resolveToField(tx *types.Transaction) *common.Address { // newEthRPCTransaction creates an EthRPCTransaction from Kaia transaction. func newEthRPCTransaction(block *types.Block, tx *types.Transaction, blockHash common.Hash, blockNumber, index uint64) *EthRPCTransaction { // When an unknown transaction is requested through rpc call, - // nil is returned by Klaytn API, and it is handled. + // nil is returned by Kaia API, and it is handled. if tx == nil { return nil } @@ -1092,7 +1092,7 @@ func (api *EthereumAPI) GetBlockReceipts(ctx context.Context, blockNrOrHash rpc. // newEthTransactionReceipt creates a transaction receipt in Ethereum format. func newEthTransactionReceipt(header *types.Header, tx *types.Transaction, b Backend, blockHash common.Hash, blockNumber, index, cumulativeGasUsed uint64, receipt *types.Receipt) (map[string]interface{}, error) { // When an unknown transaction receipt is requested through rpc call, - // nil is returned by Klaytn API, and it is handled. + // nil is returned by Kaia API, and it is handled. if tx == nil || receipt == nil { return nil, nil } @@ -1307,7 +1307,7 @@ func (api *EthereumAPI) rpcMarshalHeader(head *types.Header, inclMiner bool) (ma if head.Number.Sign() != 0 && inclMiner { proposer, err = b.Engine().Author(head) if err != nil { - // miner is the field Klaytn should provide the correct value. It's not the field dummy value is allowed. + // miner is the field Kaia should provide the correct value. It's not the field dummy value is allowed. logger.Error("Failed to fetch author during marshaling header", "err", err.Error()) return nil, err } @@ -1316,19 +1316,19 @@ func (api *EthereumAPI) rpcMarshalHeader(head *types.Header, inclMiner bool) (ma "number": (*hexutil.Big)(head.Number), "hash": head.Hash(), "parentHash": head.ParentHash, - "nonce": BlockNonce{}, // There is no block nonce concept in Klaytn, so it must be empty. - "mixHash": common.Hash{}, // Klaytn does not use mixHash, so it must be empty. + "nonce": BlockNonce{}, // There is no block nonce concept in Kaia, so it must be empty. + "mixHash": common.Hash{}, // Kaia does not use mixHash, so it must be empty. "sha3Uncles": common.HexToHash(EmptySha3Uncles), "logsBloom": head.Bloom, "stateRoot": head.Root, "miner": proposer, "difficulty": (*hexutil.Big)(head.BlockScore), "totalDifficulty": (*hexutil.Big)(b.GetTd(head.Hash())), - // extraData always return empty Bytes because actual value of extraData in Klaytn header cannot be used as meaningful way because - // we cannot provide original header of Klaytn and this field is used as consensus info which is encoded value of validators addresses, validators signatures, and proposer signature in Klaytn. + // extraData always return empty Bytes because actual value of extraData in Kaia header cannot be used as meaningful way because + // we cannot provide original header of Kaia and this field is used as consensus info which is encoded value of validators addresses, validators signatures, and proposer signature in Kaia. "extraData": hexutil.Bytes{}, "size": hexutil.Uint64(head.Size()), - // No block gas limit in Klaytn, instead there is computation cost limit per tx. + // No block gas limit in Kaia, instead there is computation cost limit per tx. "gasLimit": hexutil.Uint64(params.UpperGasLimit), "gasUsed": hexutil.Uint64(head.GasUsed), "timestamp": hexutil.Big(*head.Time), @@ -1377,7 +1377,7 @@ func (api *EthereumAPI) rpcMarshalBlock(block *types.Block, inclMiner, inclTx, f } fields["transactions"] = transactions } - // There is no uncles in Klaytn + // There is no uncles in Kaia fields["uncles"] = []common.Hash{} return fields, nil diff --git a/api/api_ethereum_test.go b/api/api_ethereum_test.go index 54f04c41a6..9dde3f2621 100644 --- a/api/api_ethereum_test.go +++ b/api/api_ethereum_test.go @@ -2508,35 +2508,35 @@ func testEstimateGas(t *testing.T, mockBackend *mock_api.MockBackend, fnEstimate }, { // simple transfer with insufficient funds with zero gasPrice args: EthTransactionArgs{ - From: &account2, // sender has 0 KLAY + From: &account2, // sender has 0 KAIA To: &account1, - Value: &KLAY, // transfer 1 KLAY + Value: &KLAY, // transfer 1 KAIA }, expectErr: "insufficient balance for transfer", }, { // simple transfer with slightly insufficient funds with zero gasPrice // this testcase is to check whether the gas prefunded in EthDoCall is not too much args: EthTransactionArgs{ - From: &account1, // sender has 2 KLAY + From: &account1, // sender has 2 KAIA To: &account2, - Value: &KLAY2_1, // transfer 2.0000...1 KLAY + Value: &KLAY2_1, // transfer 2.0000...1 KAIA }, expectErr: "insufficient balance for transfer", }, { // simple transfer with insufficient funds with nonzero gasPrice args: EthTransactionArgs{ - From: &account2, // sender has 0 KLAY + From: &account2, // sender has 0 KAIA To: &account1, - Value: &KLAY, // transfer 1 KLAY + Value: &KLAY, // transfer 1 KAIA GasPrice: &mKLAY, }, expectErr: "insufficient funds for transfer", }, { // simple transfer too high gasPrice args: EthTransactionArgs{ - From: &account1, // sender has 2 KLAY + From: &account1, // sender has 2 KAIA To: &account2, - Value: &KLAY, // transfer 1 KLAY + Value: &KLAY, // transfer 1 KAIA GasPrice: &mKLAY, // allowance = (2 - 1) / 0.001 = 1000 gas }, expectErr: "gas required exceeds allowance", diff --git a/api/api_private_account.go b/api/api_private_account.go index f82e2b21e4..6c7fcdfdcc 100644 --- a/api/api_private_account.go +++ b/api/api_private_account.go @@ -449,7 +449,7 @@ func (s *PrivateAccountAPI) signAsFeePayer(addr common.Address, passwd string, t return wallet.SignTxAsFeePayerWithPassphrase(account, passwd, tx, s.b.ChainConfig().ChainID) } -// Sign calculates a Klaytn ECDSA signature for: +// Sign calculates a Kaia ECDSA signature for: // keccack256("\x19Klaytn Signed Message:\n" + len(message) + message)) // // Note, the produced signature conforms to the secp256k1 curve R, S and V values, diff --git a/api/api_private_account_test.go b/api/api_private_account_test.go index a2a3d4f0f7..83be611807 100644 --- a/api/api_private_account_test.go +++ b/api/api_private_account_test.go @@ -57,13 +57,13 @@ func TestPrivateAccountAPI_ImportRawKey(t *testing.T) { require.Equal(t, common.HexToAddress("0x819104a190255e0cedbdd9d5f59a557633d79db1"), addr) } - // 2. Import Klaytn Wallet Key. Since the same address is already registered, it should fail. + // 2. Import Kaia Wallet Key. Since the same address is already registered, it should fail. { _, err := api.ImportRawKey("f8cc7c3813ad23817466b1802ee805ee417001fcce9376ab8728c92dd8ea0a6b0x000x819104a190255e0cedbdd9d5f59a557633d79db1", "1234") require.Equal(t, fmt.Errorf("account already exists"), err) } - // 3. Replace Klaytn Wallet key. It should work. + // 3. Replace Kaia Wallet key. It should work. { addr, err := api.ReplaceRawKey("f8cc7c3813ad23817466b1802ee805ee417001fcce9376ab8728c92dd8ea0a6b0x000x819104a190255e0cedbdd9d5f59a557633d79db1", "1234", "1234") require.NoError(t, err) @@ -89,7 +89,7 @@ func TestPrivateAccountAPI_ImportRawKey(t *testing.T) { require.Equal(t, fmt.Errorf("invalid hex string"), err) } - // 7. Import Klaytn Wallet Key. + // 7. Import Kaia Wallet Key. { addr, err := api.ImportRawKey("f8cc7c3813ad23817466b1802ee805ee417001fcce9376ab8728c92dd8ea0a6b0x000x819104a190255e0cedbdd9d5f59a557633d79db2", "1234") require.NoError(t, err) diff --git a/api/api_private_debug.go b/api/api_private_debug.go index 4efe8c34b9..267ece612e 100644 --- a/api/api_private_debug.go +++ b/api/api_private_debug.go @@ -31,14 +31,14 @@ import ( "github.com/klaytn/klaytn/networks/rpc" ) -// PrivateDebugAPI is the collection of Klaytn APIs exposed over the private +// PrivateDebugAPI is the collection of Kaia APIs exposed over the private // debugging endpoint. type PrivateDebugAPI struct { b Backend } // NewPrivateDebugAPI creates a new API definition for the private debug methods -// of the Klaytn service. +// of the Kaia service. func NewPrivateDebugAPI(b Backend) *PrivateDebugAPI { return &PrivateDebugAPI{b: b} } diff --git a/api/api_public_debug.go b/api/api_public_debug.go index 254ac1fec6..c6c13f1b55 100644 --- a/api/api_public_debug.go +++ b/api/api_public_debug.go @@ -28,14 +28,14 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// PublicDebugAPI is the collection of Klaytn APIs exposed over the public +// PublicDebugAPI is the collection of Kaia APIs exposed over the public // debugging endpoint. type PublicDebugAPI struct { b Backend } // NewPublicDebugAPI creates a new API definition for the public debug methods -// of the Klaytn service. +// of the Kaia service. func NewPublicDebugAPI(b Backend) *PublicDebugAPI { return &PublicDebugAPI{b: b} } diff --git a/api/api_public_klay.go b/api/api_public_klay.go index d79c3f27a8..7400225917 100644 --- a/api/api_public_klay.go +++ b/api/api_public_klay.go @@ -31,7 +31,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// PublicKlayAPI provides an API to access Klaytn related information. +// PublicKlayAPI provides an API to access Kaia related information. // It offers only methods that operate on public data that is freely available to anyone. type PublicKlayAPI struct { b Backend diff --git a/api/backend.go b/api/backend.go index 8f176ac09d..fc8b9bf9df 100644 --- a/api/backend.go +++ b/api/backend.go @@ -44,7 +44,7 @@ import ( // //go:generate mockgen -destination=api/mocks/backend_mock.go github.com/klaytn/klaytn/api Backend type Backend interface { - // General Klaytn API + // General Kaia API Progress() klaytn.SyncProgress ProtocolVersion() int SuggestPrice(ctx context.Context) (*big.Int, error) diff --git a/api/doc.go b/api/doc.go index 85bf1f61a2..5ee516cd1b 100644 --- a/api/doc.go +++ b/api/doc.go @@ -19,11 +19,11 @@ // Modified and improved for the klaytn development. /* -Package api implements the general Klaytn API functions. +Package api implements the general Kaia API functions. # Overview of api package -This package provides various APIs to access the data of the Klaytn node. +This package provides various APIs to access the data of the Kaia node. Remote users can interact with Klyatn by calling these APIs instead of IPC. APIs are grouped by access modifiers (public or private) and namespaces (klay, txpool, debug and personal). @@ -34,9 +34,9 @@ Source Files - api_private_debug.go : provides private APIs exposed over the debugging node. - api_public_account.go : provides public APIs to access accounts managed by the node. - api_public_blockchain.go : provides public APIs to access the Kaia blockchain. - - api_public_cypress.go : provides public APIs to return specific information of Klaytn Cypress network. + - api_public_cypress.go : provides public APIs to return specific information of Kaia Cypress network. - api_public_debug.go : provides public APIs exposed over the debugging node. - - api_public_klay.go : provides public APIs to access Klaytn related data. + - api_public_klay.go : provides public APIs to access Kaia related data. - api_public_net.go : provides public APIs to offer network related RPC methods. - api_public_transaction_pool.go : provides public APIs having "klay" namespace to access transaction pool data. - api_public_tx_pool.go : provides public APIs having "txpool" namespace to access transaction pool data. diff --git a/api/tx_args.go b/api/tx_args.go index 1e2e6d249d..12c23f39f1 100644 --- a/api/tx_args.go +++ b/api/tx_args.go @@ -645,10 +645,10 @@ func (args *EthTransactionArgs) setDefaults(ctx context.Context, b Backend) erro } if args.GasPrice == nil { // TODO-Kaia: Original logic of Ethereum uses b.SuggestTipCap which suggests TipCap, not a GasPrice. - // But Klaytn currently uses fixed unit price determined by Governance, so using b.SuggestPrice + // But Kaia currently uses fixed unit price determined by Governance, so using b.SuggestPrice // is fine as now. if b.ChainConfig().IsEthTxTypeForkEnabled(head.Number) { - // TODO-Kaia: Klaytn is using fixed BaseFee(0) as now but + // TODO-Kaia: Kaia is using fixed BaseFee(0) as now but // if we apply dynamic BaseFee, we should add calculated BaseFee instead of params.ZeroBaseFee. gasPrice.Add(gasPrice, new(big.Int).SetUint64(params.ZeroBaseFee)) } @@ -714,7 +714,7 @@ func (args *EthTransactionArgs) setDefaults(ctx context.Context, b Backend) erro return nil } -// ToMessage change EthTransactionArgs to types.Transaction in Klaytn. +// ToMessage change EthTransactionArgs to types.Transaction in Kaia. func (args *EthTransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int, intrinsicGas uint64) (*types.Transaction, error) { // Reject invalid combinations of pre- and post-1559 fee styles if args.GasPrice != nil && (args.MaxFeePerGas != nil || args.MaxPriorityFeePerGas != nil) { diff --git a/blockchain/bad_blocks.go b/blockchain/bad_blocks.go index ed47975880..f805332c07 100644 --- a/blockchain/bad_blocks.go +++ b/blockchain/bad_blocks.go @@ -24,5 +24,5 @@ import "github.com/klaytn/klaytn/common" // BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ - // TODO-Kaia Fill bad hash later for Klaytn if necessary + // TODO-Kaia Fill bad hash later for Kaia if necessary } diff --git a/blockchain/bench_test.go b/blockchain/bench_test.go index 8a2ede5cd1..17b9eba70c 100644 --- a/blockchain/bench_test.go +++ b/blockchain/bench_test.go @@ -130,7 +130,7 @@ func init() { } } -// genTxRing returns a block generator that sends KLAY in a ring +// genTxRing returns a block generator that sends KAIA in a ring // among n accounts. This is creates n entries in the state database // and fills the blocks with many small transactions. func genTxRing(naccounts int) func(int, *BlockGen) { diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index d4f6291c39..2fcaca349b 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -222,7 +222,7 @@ type prefetchTx struct { } // NewBlockChain returns a fully initialised block chain using information -// available in the database. It initialises the default Klaytn validator and +// available in the database. It initialises the default Kaia validator and // Processor. func NewBlockChain(db database.DBManager, cacheConfig *CacheConfig, chainConfig *params.ChainConfig, engine consensus.Engine, vmConfig vm.Config) (*BlockChain, error) { if cacheConfig == nil { diff --git a/blockchain/chain_makers_test.go b/blockchain/chain_makers_test.go index 6e14adbebd..f96eabd392 100644 --- a/blockchain/chain_makers_test.go +++ b/blockchain/chain_makers_test.go @@ -59,11 +59,11 @@ func ExampleGenerateChain() { chain, _ := GenerateChain(gspec.Config, genesis, gxhash.NewFaker(), db, 5, func(i int, gen *BlockGen) { switch i { case 0: - // In block 1, addr1 sends addr2 some KLAY. + // In block 1, addr1 sends addr2 some KAIA. tx, _ := types.SignTx(types.NewTransaction(gen.TxNonce(addr1), addr2, big.NewInt(10000), params.TxGas, nil, nil), signer, key1) gen.AddTx(tx) case 1: - // In block 2, addr1 sends some more KLAY to addr2. + // In block 2, addr1 sends some more KAIA to addr2. // addr2 passes it on to addr3. tx1, _ := types.SignTx(types.NewTransaction(gen.TxNonce(addr1), addr2, big.NewInt(1000), params.TxGas, nil, nil), signer, key1) tx2, _ := types.SignTx(types.NewTransaction(gen.TxNonce(addr2), addr3, big.NewInt(1000), params.TxGas, nil, nil), signer, key2) diff --git a/blockchain/doc.go b/blockchain/doc.go index 514d22d6a9..57bfb11d7e 100644 --- a/blockchain/doc.go +++ b/blockchain/doc.go @@ -19,13 +19,13 @@ // Modified and improved for the klaytn development. /* -Package blockchain implements the canonical chain and the state transition model of Klaytn. +Package blockchain implements the canonical chain and the state transition model of Kaia. -A Klaytn node starts to generate a chain from a genesis block and appends validated blocks transferred from other nodes or generated by the node. +A Kaia node starts to generate a chain from a genesis block and appends validated blocks transferred from other nodes or generated by the node. Each block containing transactions is validated and processed by each node transiting the global state of the system. The state transition containing EVM execution is triggered by transactions that containing transition messages for the state. Transactions are delivered by RPC servers or other nodes, managed by the tx pool and aggregated to a block. -As well as the exact transaction process, Klaytn achieved the efficiency of the transaction processing through a caching logic. +As well as the exact transaction process, Kaia achieved the efficiency of the transaction processing through a caching logic. The cacheSender concurrently recovers and caches an address from a signature in the transaction which was one of the main bottlenecks of transaction processing. # Source files diff --git a/blockchain/headerchain.go b/blockchain/headerchain.go index 24330b3d8d..53ce649126 100644 --- a/blockchain/headerchain.go +++ b/blockchain/headerchain.go @@ -399,7 +399,7 @@ func (hc *HeaderChain) SetHead(head uint64, updateFn UpdateHeadBlocksCallback, d } parentHash = parent.Hash() - // Notably, since Klaytn has the possibility for setting the head to a low + // Notably, since Kaia has the possibility for setting the head to a low // height which is even lower than ancient head. // In order to ensure that the head is always no higher than the data in // the database (ancient store or active store), we need to update head diff --git a/blockchain/state/database.go b/blockchain/state/database.go index 0bf33dc8c5..7bc0329a44 100644 --- a/blockchain/state/database.go +++ b/blockchain/state/database.go @@ -71,7 +71,7 @@ type Database interface { RUnlockGCCachedNode() } -// Trie is a Klaytn Merkle Patricia trie. +// Trie is a Kaia Merkle Patricia trie. type Trie interface { // GetKey returns the sha3 preimage of a hashed key that was previously used // to store a value. diff --git a/blockchain/state/doc.go b/blockchain/state/doc.go index 7ce0abec85..a50579166a 100644 --- a/blockchain/state/doc.go +++ b/blockchain/state/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package state provides an uppermost caching layer of the Klaytn state trie. +Package state provides an uppermost caching layer of the Kaia state trie. This package is used to read/write stateObject from/to StateDB and it also acts as a bridge between the objects and the persistent layer. diff --git a/blockchain/state_prefetcher.go b/blockchain/state_prefetcher.go index c53e23a704..71a15510f2 100644 --- a/blockchain/state_prefetcher.go +++ b/blockchain/state_prefetcher.go @@ -49,7 +49,7 @@ func newStatePrefetcher(config *params.ChainConfig, bc *BlockChain, engine conse } } -// Prefetch processes the state changes according to the Klaytn rules by running +// Prefetch processes the state changes according to the Kaia rules by running // the transaction messages using the statedb, but any changes are discarded. The // only goal is to pre-cache transaction signatures and state trie nodes. func (p *statePrefetcher) Prefetch(block *types.Block, stateDB *state.StateDB, cfg vm.Config, interrupt *uint32) { @@ -68,7 +68,7 @@ func (p *statePrefetcher) Prefetch(block *types.Block, stateDB *state.StateDB, c } } -// PrefetchTx processes the state changes according to the Klaytn rules by running +// PrefetchTx processes the state changes according to the Kaia rules by running // a single transaction message using the statedb, but any changes are discarded. The // only goal is to pre-cache transaction signatures and state trie nodes. It is used // when fetcher works, so it fetches only a block. diff --git a/blockchain/state_processor.go b/blockchain/state_processor.go index feec7f7e77..6210bbb5fa 100644 --- a/blockchain/state_processor.go +++ b/blockchain/state_processor.go @@ -56,7 +56,7 @@ func NewStateProcessor(config *params.ChainConfig, bc *BlockChain, engine consen } } -// Process processes the state changes according to the Klaytn rules by running +// Process processes the state changes according to the Kaia rules by running // the transaction messages using the statedb and applying any rewards to the processor. // // Process returns the receipts and logs accumulated during the process and diff --git a/blockchain/state_transition.go b/blockchain/state_transition.go index 4a865216a6..452bf58a9c 100644 --- a/blockchain/state_transition.go +++ b/blockchain/state_transition.go @@ -466,7 +466,7 @@ func (st *StateTransition) refundGas(refundQuotient uint64) { } st.gas += refund - // Return KLAY for remaining gas, exchanged at the original rate. + // Return KAIA for remaining gas, exchanged at the original rate. remaining := new(big.Int).Mul(new(big.Int).SetUint64(st.gas), st.gasPrice) validatedFeePayer := st.msg.ValidatedFeePayer() diff --git a/blockchain/system/doc.go b/blockchain/system/doc.go index 3fff590ba8..69c883f460 100644 --- a/blockchain/system/doc.go +++ b/blockchain/system/doc.go @@ -17,7 +17,7 @@ package system /* -Package system deals with system contracts in Klaytn. +Package system deals with system contracts in Kaia. System contracts are smart contracts that affects the protocol. - Registry: Stores the canonical system contract addresses. diff --git a/blockchain/system/rebalance.go b/blockchain/system/rebalance.go index fd7cd6d590..b4c7ed1000 100644 --- a/blockchain/system/rebalance.go +++ b/blockchain/system/rebalance.go @@ -282,9 +282,9 @@ func RebalanceTreasury(state *state.StateDB, chain backends.BlockChainForCaller, for addr := range result.Zeroed { state.SetBalance(addr, big.NewInt(0)) } - // Execution 2) Distribute KLAY to all newbies + // Execution 2) Distribute KAIA to all newbies for addr, balance := range result.Allocated { - // if newbie has KLAY before the allocation, it will be burnt + // if newbie has KAIA before the allocation, it will be burnt currentBalance := state.GetBalance(addr) result.Burnt.Add(result.Burnt, currentBalance) diff --git a/blockchain/tx_pool_test.go b/blockchain/tx_pool_test.go index 8785917735..53e95b7286 100644 --- a/blockchain/tx_pool_test.go +++ b/blockchain/tx_pool_test.go @@ -1532,7 +1532,7 @@ func TestTransactionPoolRepricing(t *testing.T) { if err := validateTxPoolInternals(pool); err != nil { t.Fatalf("pool internal state corrupted: %v", err) } - // NOTE-Kaia Klaytn currently accepts remote txs regardless of gas price. + // NOTE-Kaia Kaia currently accepts remote txs regardless of gas price. // TODO-Kaia-RemoveLater Remove or uncomment the code below once the policy for how to // deal with underpriced remote txs is decided. // Check that we can't add the old transactions back diff --git a/blockchain/types.go b/blockchain/types.go index 4266e2b327..cefd1c667e 100644 --- a/blockchain/types.go +++ b/blockchain/types.go @@ -40,7 +40,7 @@ type Validator interface { // Prefetcher is an interface for pre-caching transaction signatures and state. type Prefetcher interface { - // Prefetch processes the state changes according to the Klaytn rules by running + // Prefetch processes the state changes according to the Kaia rules by running // the transaction messages using the statedb, but any changes are discarded. The // only goal is to pre-cache transaction signatures and state trie nodes. Prefetch(block *types.Block, stateDB *state.StateDB, cfg vm.Config, interrupt *uint32) @@ -49,7 +49,7 @@ type Prefetcher interface { // Processor is an interface for processing blocks using a given initial state. type Processor interface { - // Process processes the state changes according to the Klaytn rules by running + // Process processes the state changes according to the Kaia rules by running // the transaction messages using the statedb and applying any rewards to // the processor (coinbase). Process(block *types.Block, stateDB *state.StateDB, cfg vm.Config) (types.Receipts, []*types.Log, uint64, []*vm.InternalTxTrace, ProcessStats, error) diff --git a/blockchain/types/account/doc.go b/blockchain/types/account/doc.go index eb58465df2..6d91c1f2f4 100644 --- a/blockchain/types/account/doc.go +++ b/blockchain/types/account/doc.go @@ -15,13 +15,13 @@ // along with the klaytn library. If not, see . /* -Package account implements Account used in Klaytn. +Package account implements Account used in Kaia. Inside the package, types, structures, functions, and interfaces associated with the Account are defined. # Type of Account -There are three types of Accounts used in Klaytn. +There are three types of Accounts used in Kaia. - LegacyAccountType - ExternallyOwnedAccountType diff --git a/blockchain/types/accountkey/account_key_fail.go b/blockchain/types/accountkey/account_key_fail.go index 7429c0bafe..ece18476fc 100644 --- a/blockchain/types/accountkey/account_key_fail.go +++ b/blockchain/types/accountkey/account_key_fail.go @@ -25,7 +25,7 @@ import ( // AccountKeyFail is used to prevent smart contract accounts from withdrawing tokens // from themselves with a public key recovery mechanism. -// Klaytn assumes that the only way to take tokens from smart contract account is using +// Kaia assumes that the only way to take tokens from smart contract account is using // `transfer()` in the smart contract code. type AccountKeyFail struct{} diff --git a/blockchain/types/accountkey/account_key_legacy.go b/blockchain/types/accountkey/account_key_legacy.go index a940dc95ae..f425aed1b7 100644 --- a/blockchain/types/accountkey/account_key_legacy.go +++ b/blockchain/types/accountkey/account_key_legacy.go @@ -45,7 +45,7 @@ func (a *AccountKeyLegacy) IsCompositeType() bool { return false } -// Other accountKey types have the pubkey so that we can compare the pubkeys in Klaytn. +// Other accountKey types have the pubkey so that we can compare the pubkeys in Kaia. // But AccountKeyLegacy doesn't have the pubkey so ValidateMember receives 'from' address more // and then checks whether the recovered pubkey's address form equals the 'from' address. func (a *AccountKeyLegacy) ValidateMember(recoveredKey *ecdsa.PublicKey, from common.Address) bool { diff --git a/blockchain/types/accountkey/doc.go b/blockchain/types/accountkey/doc.go index 062bbd1dfe..d227552818 100644 --- a/blockchain/types/accountkey/doc.go +++ b/blockchain/types/accountkey/doc.go @@ -15,12 +15,12 @@ // along with the klaytn library. If not, see . /* -Package accountkey implements the AccountKey used in Klaytn. +Package accountkey implements the AccountKey used in Kaia. Inside the package, types, functions and interfaces associated with the AccountKey are defined. # Type of AccountKey -The AccountKey types used in Klaytn are as follows: +The AccountKey types used in Kaia are as follows: - AccountKeyTypeNil - AccountKeyTypeLegacy - AccountKeyTypePublic diff --git a/blockchain/types/block.go b/blockchain/types/block.go index 229b66921b..98b939d6a7 100644 --- a/blockchain/types/block.go +++ b/blockchain/types/block.go @@ -279,7 +279,7 @@ func CopyHeader(h *Header) *Header { return &cpy } -// DecodeRLP decodes the Klaytn +// DecodeRLP decodes the Kaia func (b *Block) DecodeRLP(s *rlp.Stream) error { var eb extblock _, size, _ := s.Kind() @@ -291,7 +291,7 @@ func (b *Block) DecodeRLP(s *rlp.Stream) error { return nil } -// EncodeRLP serializes a block into the Klaytn RLP block format. +// EncodeRLP serializes a block into the Kaia RLP block format. func (b *Block) EncodeRLP(w io.Writer) error { return rlp.Encode(w, extblock{ Header: b.header, diff --git a/blockchain/types/doc.go b/blockchain/types/doc.go index e52705d176..7a1ca854e7 100644 --- a/blockchain/types/doc.go +++ b/blockchain/types/doc.go @@ -21,22 +21,22 @@ /* Package types contains data types related to Klatyn consensus. -Klaytn nodes achieve a consensus of the global state by processing the same transactions in the same order. +Kaia nodes achieve a consensus of the global state by processing the same transactions in the same order. -Transaction is an atomic operation originated from an Externally Owned Account (EOA) transiting the global state of Klaytn. -Klaytn supports multiple transaction types to efficiently trigger KLAY transfer or contract execution. +Transaction is an atomic operation originated from an Externally Owned Account (EOA) transiting the global state of Kaia. +Kaia supports multiple transaction types to efficiently trigger KAIA transfer or contract execution. LegacyTransaction, the Ethereum compatible transaction, could be sent to both of EOA and Smart Contract (SC). -However, it cannot support advanced features of Klaytn such as multi-sig or fee-delegation. +However, it cannot support advanced features of Kaia such as multi-sig or fee-delegation. All transaction types except LegacyTransaction are enforced to be sent to either of EOA or SC. With a slice of transaction signatures signed by multiple accounts, they can support a multi-sig account to transact. Some transaction types support full or partial fee-delegation feature as well as basic transaction features. Fee-delegation transactions have additional field(s) to charge some amount of transaction fee to a fee payer's account. Block consists of transactions and a header which includes additional information for consensus and transaction support. -A block guarantees the sequential execution of transactions inside, and a block header enables Klaytn nodes to order the blocks. +A block guarantees the sequential execution of transactions inside, and a block header enables Kaia nodes to order the blocks. The block header also provides additional data generated by the transaction execution such as transaction receipts, and logs. -This package implements Klaytn Block, Transaction and related functions and variables to support them. +This package implements Kaia Block, Transaction and related functions and variables to support them. # Source Files @@ -74,8 +74,8 @@ Functions and variables related to Block and Transaction are defined in the file - tx_internal_data_serializer.go: implements serialization functions of transaction internal data - tx_internal_data_smart_contract_deploy.go: implements the transaction deploying a smart contract - tx_internal_data_smart_contract_execution.go: implements the transaction executing a smart contract - - tx_internal_data_value_transfer.go: implements the transaction sending KLAY to an EOA - - tx_internal_data_value_transfer_memo.go: implements the transaction sending KLAY to an EOA with data + - tx_internal_data_value_transfer.go: implements the transaction sending KAIA to an EOA + - tx_internal_data_value_transfer_memo.go: implements the transaction sending KAIA to an EOA with data - tx_signature.go : implements transaction signature (V, R, S) - tx_signatures.go : implements a slice of transaction signature to support multi-sig accounts */ diff --git a/blockchain/types/istanbul.go b/blockchain/types/istanbul.go index f58a5e958c..36f45e9499 100644 --- a/blockchain/types/istanbul.go +++ b/blockchain/types/istanbul.go @@ -46,7 +46,7 @@ type IstanbulExtra struct { CommittedSeal [][]byte } -// EncodeRLP serializes the istanbul fields into the Klaytn RLP format. +// EncodeRLP serializes the istanbul fields into the Kaia RLP format. func (ist *IstanbulExtra) EncodeRLP(w io.Writer) error { return rlp.Encode(w, []interface{}{ ist.Validators, diff --git a/blockchain/types/receipt.go b/blockchain/types/receipt.go index 873ff6910c..dd39cea9a0 100644 --- a/blockchain/types/receipt.go +++ b/blockchain/types/receipt.go @@ -47,7 +47,7 @@ const ( ReceiptStatusSuccessful = uint(1) // TODO-Kaia Enable more error below. - // Klaytn specific + // Kaia specific // NOTE-Kaia Value should be consecutive from ReceiptStatusFailed to the last ReceiptStatusLast // Add a new ReceiptStatusErrXXX before ReceiptStatusLast ReceiptStatusErrDefault = uint(0x02) // Default diff --git a/blockchain/types/transaction.go b/blockchain/types/transaction.go index 3e860e4ef9..8c35aafbeb 100644 --- a/blockchain/types/transaction.go +++ b/blockchain/types/transaction.go @@ -298,7 +298,7 @@ func (tx *Transaction) GasFeeCap() *big.Int { return tx.data.GetPrice() } -// This function is disabled because klaytn has no gas tip +// This function is disabled because Kaia has no gas tip func (tx *Transaction) EffectiveGasTip(baseFee *big.Int) *big.Int { if tx.Type() == TxTypeEthereumDynamicFee { te := tx.GetTxInternalData().(TxInternalDataBaseFee) diff --git a/blockchain/types/transaction_test.go b/blockchain/types/transaction_test.go index 62a6bbb35a..5623037c47 100644 --- a/blockchain/types/transaction_test.go +++ b/blockchain/types/transaction_test.go @@ -530,7 +530,7 @@ func TestGasOverflow(t *testing.T) { // TODO-Kaia-Gas: Need to find a way of checking integer overflow for smart contract execution. } -// TODO-Kaia-FailedTest This test is failed in Klaytn +// TODO-Kaia-FailedTest This test is failed in Kaia /* // TestTransactionJSON tests serializing/de-serializing to/from JSON. func TestTransactionJSON(t *testing.T) { diff --git a/blockchain/types/tx_internal_data_cancel.go b/blockchain/types/tx_internal_data_cancel.go index b35d41cdfc..0ab93a5f74 100644 --- a/blockchain/types/tx_internal_data_cancel.go +++ b/blockchain/types/tx_internal_data_cancel.go @@ -30,7 +30,7 @@ import ( ) // TxInternalDataCancel is a transaction that cancels a transaction previously submitted into txpool by replacement. -// Since Klaytn defines fixed gas price for all transactions, a transaction cannot be replaced with +// Since Kaia defines fixed gas price for all transactions, a transaction cannot be replaced with // another transaction with higher gas price. To provide tx replacement, TxInternalDataCancel is introduced. // To replace a previously added tx, send a TxInternalCancel transaction with the same nonce. type TxInternalDataCancel struct { diff --git a/blockchain/types/tx_internal_data_fee_delegated_cancel.go b/blockchain/types/tx_internal_data_fee_delegated_cancel.go index 6d201d3fee..845deffcc0 100644 --- a/blockchain/types/tx_internal_data_fee_delegated_cancel.go +++ b/blockchain/types/tx_internal_data_fee_delegated_cancel.go @@ -31,7 +31,7 @@ import ( ) // TxInternalDataFeeDelegatedCancel is a fee-delegated transaction that cancels a transaction previously submitted into txpool by replacement. -// Since Klaytn defines fixed gas price for all transactions, a transaction cannot be replaced with +// Since Kaia defines fixed gas price for all transactions, a transaction cannot be replaced with // another transaction with higher gas price. To provide tx replacement, TxInternalDataFeeDelegatedCancel is introduced. // To replace a previously added tx, send a TxInternalFeeDelegatedCancel transaction with the same nonce. type TxInternalDataFeeDelegatedCancel struct { diff --git a/blockchain/types/tx_internal_data_fee_delegated_cancel_with_ratio.go b/blockchain/types/tx_internal_data_fee_delegated_cancel_with_ratio.go index 00e03bbf2c..1cf1b0f041 100644 --- a/blockchain/types/tx_internal_data_fee_delegated_cancel_with_ratio.go +++ b/blockchain/types/tx_internal_data_fee_delegated_cancel_with_ratio.go @@ -31,7 +31,7 @@ import ( ) // TxInternalDataFeeDelegatedCancelWithRatio is a fee-delegated transaction that cancels a transaction previously submitted into txpool by replacement. -// Since Klaytn defines fixed gas price for all transactions, a transaction cannot be replaced with +// Since Kaia defines fixed gas price for all transactions, a transaction cannot be replaced with // another transaction with higher gas price. To provide tx replacement, TxInternalDataFeeDelegatedCancelWithRatio is introduced. // To replace a previously added tx, send a TxInternalFeeDelegatedCancelWithRatio transaction with the same nonce. // TxInternalDataFeeDelegatedCancelWithRatio has a specified fee ratio between the sender and the fee payer. diff --git a/blockchain/types/tx_internal_data_fee_delegated_value_transfer.go b/blockchain/types/tx_internal_data_fee_delegated_value_transfer.go index 1e547c8a79..4bceb688c2 100644 --- a/blockchain/types/tx_internal_data_fee_delegated_value_transfer.go +++ b/blockchain/types/tx_internal_data_fee_delegated_value_transfer.go @@ -32,7 +32,7 @@ import ( ) // TxInternalDataFeeDelegatedValueTransfer represents a fee-delegated transaction -// transferring KLAY with a fee payer. +// transferring KAIA with a fee payer. // FeePayer should be RLP-encoded after the signature of the sender. type TxInternalDataFeeDelegatedValueTransfer struct { AccountNonce uint64 diff --git a/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo.go b/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo.go index fe809b2e29..f4db6146dd 100644 --- a/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo.go +++ b/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo.go @@ -33,7 +33,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// TxInternalDataFeeDelegatedValueTransferMemo represents a fee-delegated transaction transferring KLAY. +// TxInternalDataFeeDelegatedValueTransferMemo represents a fee-delegated transaction transferring KAIA. type TxInternalDataFeeDelegatedValueTransferMemo struct { AccountNonce uint64 Price *big.Int diff --git a/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo_with_ratio.go b/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo_with_ratio.go index 7cdd880493..3531a82e8e 100644 --- a/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo_with_ratio.go +++ b/blockchain/types/tx_internal_data_fee_delegated_value_transfer_memo_with_ratio.go @@ -33,7 +33,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// TxInternalDataFeeDelegatedValueTransferMemoWithRatio represents a fee-delegated transaction transferring KLAY +// TxInternalDataFeeDelegatedValueTransferMemoWithRatio represents a fee-delegated transaction transferring KAIA // with a specified fee ratio between the sender and the fee payer. // The ratio is a fee payer's ratio in percentage. // For example, if it is 20, 20% of tx fee will be paid by the fee payer. diff --git a/blockchain/types/tx_internal_data_value_transfer.go b/blockchain/types/tx_internal_data_value_transfer.go index 240d1a9a85..95fc03a368 100644 --- a/blockchain/types/tx_internal_data_value_transfer.go +++ b/blockchain/types/tx_internal_data_value_transfer.go @@ -30,7 +30,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// TxInternalDataValueTransfer represents a transaction transferring KLAY. +// TxInternalDataValueTransfer represents a transaction transferring KAIA. // No more attributes required than attributes in TxInternalDataCommon. type TxInternalDataValueTransfer struct { AccountNonce uint64 diff --git a/blockchain/types/tx_internal_data_value_transfer_memo.go b/blockchain/types/tx_internal_data_value_transfer_memo.go index 9a491e3b34..b296880344 100644 --- a/blockchain/types/tx_internal_data_value_transfer_memo.go +++ b/blockchain/types/tx_internal_data_value_transfer_memo.go @@ -32,7 +32,7 @@ import ( "github.com/klaytn/klaytn/rlp" ) -// TxInternalDataValueTransferMemo represents a transaction with payload data transferring KLAY. +// TxInternalDataValueTransferMemo represents a transaction with payload data transferring KAIA. type TxInternalDataValueTransferMemo struct { AccountNonce uint64 Price *big.Int diff --git a/blockchain/vm/contracts.go b/blockchain/vm/contracts.go index ff44ca5d2c..a1e2905a5f 100644 --- a/blockchain/vm/contracts.go +++ b/blockchain/vm/contracts.go @@ -54,19 +54,19 @@ var ( // PrecompiledContract is the basic interface for native Go contracts. The implementation // requires a deterministic gas count based on the input size of the Run method of the // contract. -// If you want more information about Klaytn's precompiled contracts, -// please refer https://docs.klaytn.com/smart-contract/precompiled-contracts +// If you want more information about Kaia's precompiled contracts, +// please refer https://docs.Kaia.com/smart-contract/precompiled-contracts type PrecompiledContract interface { // GetRequiredGasAndComputationCost returns the gas and computation cost // required to execute the precompiled contract. GetRequiredGasAndComputationCost(input []byte) (uint64, uint64) // Run runs the precompiled contract - // contract, evm is only exists in klaytn, those are not used in go-ethereum + // contract, evm is only exists in Kaia, those are not used in go-ethereum Run(input []byte, contract *Contract, evm *EVM) ([]byte, error) } -// PrecompiledContractsByzantium contains the default set of pre-compiled Klaytn +// PrecompiledContractsByzantium contains the default set of pre-compiled Kaia // contracts based on Ethereum Byzantium. var PrecompiledContractsByzantium = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{1}): &ecrecover{}, @@ -84,7 +84,7 @@ var PrecompiledContractsByzantium = map[common.Address]PrecompiledContract{ // DO NOT USE 0x3FD, 0x3FE, 0x3FF ADDRESSES BEFORE ISTANBUL CHANGE ACTIVATED. -// PrecompiledContractsIstanbul contains the default set of pre-compiled Klaytn +// PrecompiledContractsIstanbul contains the default set of pre-compiled Kaia // contracts based on Ethereum Istanbul. var PrecompiledContractsIstanbul = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{1}): &ecrecover{}, @@ -101,7 +101,7 @@ var PrecompiledContractsIstanbul = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{3, 255}): &validateSender{}, } -// PrecompiledContractsKore contains the default set of pre-compiled Klaytn +// PrecompiledContractsKore contains the default set of pre-compiled Kaia // contracts based on Ethereum Berlin. var PrecompiledContractsKore = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{1}): &ecrecover{}, @@ -118,7 +118,7 @@ var PrecompiledContractsKore = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{3, 255}): &validateSender{}, } -// PrecompiledContractsCancun contains the default set of pre-compiled Klaytn +// PrecompiledContractsCancun contains the default set of pre-compiled Kaia // contracts based on Ethereum Cancun. var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{1}): &ecrecover{}, diff --git a/blockchain/vm/doc.go b/blockchain/vm/doc.go index 1dd8ad7033..3a57fd3911 100644 --- a/blockchain/vm/doc.go +++ b/blockchain/vm/doc.go @@ -24,7 +24,7 @@ Package vm implements the Ethereum Virtual Machine. The vm package implements one EVM, a byte code VM. The Byte Code VM loops over a set of bytes and executes them according to the set of rules defined in the Ethereum yellow paper. -As well as the original functionality of the EVM, this package implemented additional pre-compiled contracts to support the native features of Klaytn. -For more information about pre-compiled contracts, see KlaytnDocs (https://docs.klaytn.com/smart-contract/precompiled-contracts). +As well as the original functionality of the EVM, this package implemented additional pre-compiled contracts to support the native features of Kaia. +For more information about pre-compiled contracts, see KlaytnDocs (https://docs.Kaia.com/smart-contract/precompiled-contracts). */ package vm diff --git a/blockchain/vm/eips.go b/blockchain/vm/eips.go index 222c0f90ba..ba08cb0d8a 100644 --- a/blockchain/vm/eips.go +++ b/blockchain/vm/eips.go @@ -311,7 +311,7 @@ func enable6780(jt *JumpTable) { // opBlobHash implements the BLOBHASH opcode // Since blob data is generated in dank sharding, opBlobHash will perform only the default action of setting the top of the stack as zero -// as long as the blob txType is not fully supported in Klaytn. +// as long as the blob txType is not fully supported in Kaia. func opBlobHash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { index := scope.Stack.peek() index.Clear() @@ -321,7 +321,7 @@ func opBlobHash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([ // opBlobBaseFee implements BLOBBASEFEE opcode // Since blob data is generated in dank sharding, opBlobBaseFee will use only the zeroBaseFee -// as long as the blob txType is not fully supported in Klaytn. +// as long as the blob txType is not fully supported in Kaia. func opBlobBaseFee(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { blobBaseFee := uint256.NewInt(params.ZeroBaseFee) scope.Stack.push(blobBaseFee) diff --git a/blockchain/vm/evm.go b/blockchain/vm/evm.go index 908b7df985..a42b476ba1 100644 --- a/blockchain/vm/evm.go +++ b/blockchain/vm/evm.go @@ -94,9 +94,9 @@ func run(evm *EVM, contract *Contract, input []byte) ([]byte, error) { // it shouldn't be modified. type BlockContext struct { // CanTransfer returns whether the account contains - // sufficient KLAY to transfer the value + // sufficient KAIA to transfer the value CanTransfer CanTransferFunc - // Transfer transfers KLAY from one account to the other + // Transfer transfers KAIA from one account to the other Transfer TransferFunc // GetHash returns the hash corresponding to n GetHash GetHashFunc @@ -516,11 +516,11 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Ensure there's no existing contract already at the designated address contractHash := evm.StateDB.GetCodeHash(address) - // The early Klaytn design tried to support the account creation with a user selected address, + // The early Kaia design tried to support the account creation with a user selected address, // so the account overwriting was restricted. // Because the feature was postponed for a long time and the restriction can be abused to prevent SCA creation, - // Klaytn enables SCA overwriting over EOA like Ethereum after Shanghai compatible hardfork. - // NOTE: The following code should be re-considered when Klaytn enables TxTypeAccountCreation + // Kaia enables SCA overwriting over EOA like Ethereum after Shanghai compatible hardfork. + // NOTE: The following code should be re-considered when Kaia enables TxTypeAccountCreation if evm.chainRules.IsShanghai { if evm.StateDB.GetNonce(address) != 0 || (contractHash != (common.Hash{}) && contractHash != emptyCodeHash) { return nil, common.Address{}, 0, ErrContractAddressCollision diff --git a/blockchain/vm/gas_table.go b/blockchain/vm/gas_table.go index ad3764fea6..8e97cde186 100644 --- a/blockchain/vm/gas_table.go +++ b/blockchain/vm/gas_table.go @@ -295,7 +295,7 @@ func gasCreate2Eip3860(evm *EVM, contract *Contract, stack *Stack, mem *Memory, } // Geth Code contains gasExpFrontier and gasExpEip158 both -// Since eip158 is default in klaytn, both functions are integrated into gasExp functions. +// Since eip158 is default in Kaia, both functions are integrated into gasExp functions. func gasExp(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) { expByteLen := uint64((stack.data[stack.len()-2].BitLen() + 7) / 8) diff --git a/blockchain/vm/instructions_test.go b/blockchain/vm/instructions_test.go index f4b329956b..4fd04b57c8 100644 --- a/blockchain/vm/instructions_test.go +++ b/blockchain/vm/instructions_test.go @@ -297,7 +297,7 @@ func TestBlobHash(t *testing.T) { name string idx uint64 expect common.Hash - // hashes []common.Hash // klaytn doesn't support blobHashes + // hashes []common.Hash // Kaia doesn't support blobHashes } zero := common.Hash{0} for _, tt := range []testcase{ diff --git a/blockchain/vm/interpreter.go b/blockchain/vm/interpreter.go index f0a728a73f..dbfb68118f 100644 --- a/blockchain/vm/interpreter.go +++ b/blockchain/vm/interpreter.go @@ -76,7 +76,7 @@ type keccakState interface { Read([]byte) (int, error) } -// EVMInterpreter is used to run Klaytn based contracts and will utilise the +// EVMInterpreter is used to run Kaia based contracts and will utilise the // passed environment to query external sources for state information. // The EVMInterpreter will run the byte code VM based on the passed // configuration. diff --git a/blockchain/vm/memory.go b/blockchain/vm/memory.go index bacce7f37f..abf2f9c272 100644 --- a/blockchain/vm/memory.go +++ b/blockchain/vm/memory.go @@ -26,7 +26,7 @@ import ( "github.com/holiman/uint256" ) -// Memory implements a simple memory model for the Klaytn virtual machine. +// Memory implements a simple memory model for the Kaia virtual machine. type Memory struct { store []byte lastGasCost uint64 diff --git a/build/ci.go b/build/ci.go index 4859d453e6..0ec758046a 100644 --- a/build/ci.go +++ b/build/ci.go @@ -587,7 +587,7 @@ func isUnstableBuild(env build.Environment) bool { type debMetadata struct { Env build.Environment - // klaytn version being built. Note that this + // Kaia version being built. Note that this // is not the debian package version. The package version // is constructed by VersionString. Version string @@ -733,7 +733,7 @@ func doWindowsInstaller(cmdline []string) { } // Render NSIS scripts: Installer NSIS contains two installer sections, - // first section contains the klaytn binary, second section holds the dev tools. + // first section contains the Kaia binary, second section holds the dev tools. templateData := map[string]interface{}{ "License": "COPYING", "Klay": klayTool, diff --git a/build/update-license.go b/build/update-license.go index 45661754d6..883685f92a 100644 --- a/build/update-license.go +++ b/build/update-license.go @@ -109,7 +109,7 @@ var ( // this text appears at the start of AUTHORS authorsFileHeader = "# This is the official list of go-ethereum authors for copyright purposes.\n\n" - // ethereumDir is original path referenced by klaytn + // ethereumDir is original path referenced by Kaia ethereumDir = map[string]string{ "metrics/meter.go": "metrics/meter.go", "metrics/log.go": "metrics/log.go", @@ -863,7 +863,7 @@ func externalLicenceFile(path string) bool { return false } -// getFiles returns all klaytn files +// getFiles returns all Kaia files func getFiles() []string { cmd := exec.Command("git", "ls-tree", "-r", "--name-only", "HEAD") var files []string diff --git a/client/bridge_client.go b/client/bridge_client.go index 5f40f3e96d..ddb6f51b1c 100644 --- a/client/bridge_client.go +++ b/client/bridge_client.go @@ -286,7 +286,7 @@ func (ec *Client) BridgeSetERC20Fee(ctx context.Context, bridgeAddr, tokenAddr c return result, err } -// BridgeSetKLAYFee can set the KLAY transfer fee. +// BridgeSetKLAYFee can set the KAIA transfer fee. func (ec *Client) BridgeSetKLAYFee(ctx context.Context, bridgeAddr common.Address, fee *big.Int) (common.Hash, error) { var result common.Hash err := ec.c.CallContext(ctx, &result, "subbridge_setKLAYFee", bridgeAddr, fee) @@ -300,7 +300,7 @@ func (ec *Client) BridgeGetERC20Fee(ctx context.Context, bridgeAddr, tokenAddr c return (*big.Int)(&result), err } -// BridgeGetKLAYFee returns the KLAY transfer fee. +// BridgeGetKLAYFee returns the KAIA transfer fee. func (ec *Client) BridgeGetKLAYFee(ctx context.Context, bridgeAddr common.Address) (*big.Int, error) { var result hexutil.Big err := ec.c.CallContext(ctx, &result, "subbridge_getKLAYFee", bridgeAddr) diff --git a/client/doc.go b/client/doc.go index e1d7a5740b..109bd6f74b 100644 --- a/client/doc.go +++ b/client/doc.go @@ -18,5 +18,5 @@ // This file is derived from ethclient/ethclient.go (2018/06/04). // Modified and improved for the klaytn development. -// Package client provides a client for the Klaytn RPC API. +// Package client provides a client for the Kaia RPC API. package client diff --git a/client/klay_client.go b/client/klay_client.go index e217d0f048..b52bff6cf8 100644 --- a/client/klay_client.go +++ b/client/klay_client.go @@ -38,7 +38,7 @@ import ( // TODO-Kaia Needs to separate APIs along with each namespaces. -// Client defines typed wrappers for the Klaytn RPC API. +// Client defines typed wrappers for the Kaia RPC API. type Client struct { c *rpc.Client chainID *big.Int @@ -533,7 +533,7 @@ func (ec *Client) SendUnsignedTransaction(ctx context.Context, from common.Addre return hash, nil } -// ImportRawKey can create key store from private key string on Klaytn node. +// ImportRawKey can create key store from private key string on Kaia node. func (ec *Client) ImportRawKey(ctx context.Context, key string, password string) (common.Address, error) { var result hexutil.Bytes err := ec.c.CallContext(ctx, &result, "personal_importRawKey", key, password) @@ -541,7 +541,7 @@ func (ec *Client) ImportRawKey(ctx context.Context, key string, password string) return address, err } -// UnlockAccount can unlock the account on Klaytn node. +// UnlockAccount can unlock the account on Kaia node. func (ec *Client) UnlockAccount(ctx context.Context, address common.Address, password string, time uint) (bool, error) { var result bool err := ec.c.CallContext(ctx, &result, "personal_unlockAccount", address, password, time) @@ -613,14 +613,14 @@ func (ec *Client) ChainID(ctx context.Context) (*big.Int, error) { return ec.chainID, err } -// AddPeer can add a static peer on Klaytn node. +// AddPeer can add a static peer on Kaia node. func (ec *Client) AddPeer(ctx context.Context, url string) (bool, error) { var result bool err := ec.c.CallContext(ctx, &result, "admin_addPeer", url) return result, err } -// RemovePeer can remove a static peer on Klaytn node. +// RemovePeer can remove a static peer on Kaia node. func (ec *Client) RemovePeer(ctx context.Context, url string) (bool, error) { var result bool err := ec.c.CallContext(ctx, &result, "admin_removePeer", url) diff --git a/client/klay_client_test.go b/client/klay_client_test.go index eca27e30c5..f9dae8413a 100644 --- a/client/klay_client_test.go +++ b/client/klay_client_test.go @@ -22,9 +22,9 @@ package client import "github.com/klaytn/klaytn" -// Verify that Client implements the Klaytn interfaces. +// Verify that Client implements the Kaia interfaces. var ( - // _ = klaytn.Subscription(&Client{}) + // _ = Kaia.Subscription(&Client{}) _ = klaytn.ChainReader(&Client{}) _ = klaytn.TransactionReader(&Client{}) _ = klaytn.ChainStateReader(&Client{}) @@ -36,5 +36,5 @@ var ( _ = klaytn.PendingStateReader(&Client{}) _ = klaytn.PendingContractCaller(&Client{}) _ = klaytn.GasEstimator(&Client{}) - // _ = klaytn.PendingStateEventer(&Client{}) + // _ = Kaia.PendingStateEventer(&Client{}) ) diff --git a/cmd/homi/docker/service/doc.go b/cmd/homi/docker/service/doc.go index a29a63a55d..c2e32e4b52 100644 --- a/cmd/homi/docker/service/doc.go +++ b/cmd/homi/docker/service/doc.go @@ -25,7 +25,7 @@ service package provides various templates to build a docker-compose.yml # Source Files Each file contains following contents - - constellation.go : Deprecated. This is not being used in Klaytn + - constellation.go : Deprecated. This is not being used in Kaia - eth_stats.go : Defines `KlayStats` and provides a yaml template for a KlayStats service - grafana.go : Defines `GrafanaService` and provides a yaml template for a Grafana service - prometheus.go : Defines `PrometheusService` and provides a yaml template for a Prometheus service diff --git a/cmd/kbn/doc.go b/cmd/kbn/doc.go index 6c7e5f54ee..6a677568f2 100644 --- a/cmd/kbn/doc.go +++ b/cmd/kbn/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -kbn runs a bootstrap node for the Klaytn Node Discovery Protocol. +kbn runs a bootstrap node for the Kaia Node Discovery Protocol. A bootstrap node is a kind of registry service which has every nodes' information and delivers it to a querying node to help the node to join the network. diff --git a/cmd/ken/doc.go b/cmd/ken/doc.go index 8c224b0ab6..7d5e48c537 100644 --- a/cmd/ken/doc.go +++ b/cmd/ken/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -ken is the command-line client for Klaytn Endpoint Node. +ken is the command-line client for Kaia Endpoint Node. ken has the node type of "en" internally. Please try `ken -h` to see commands and options list. diff --git a/cmd/kgen/doc.go b/cmd/kgen/doc.go index c54a123cef..95c06ca541 100644 --- a/cmd/kgen/doc.go +++ b/cmd/kgen/doc.go @@ -23,7 +23,7 @@ By providing some options in the command line, a user can assign IP and port for All available options are as follows. - --file Generate a nodekey and a Klaytn node information as files + --file Generate a nodekey and a Kaia node information as files --ip value Specify an IP address (default: "0.0.0.0") --port value Specify a tcp port number (default: 32323) --help, -h Show help diff --git a/cmd/kpn/doc.go b/cmd/kpn/doc.go index eebf5782c0..a1ac8447ff 100644 --- a/cmd/kpn/doc.go +++ b/cmd/kpn/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -kpn is the command-line client for Klaytn Proxy Node. +kpn is the command-line client for Kaia Proxy Node. kpn has the node type of "pn" internally. Please try `kpn -h` to see commands and options list. diff --git a/cmd/kscn/doc.go b/cmd/kscn/doc.go index c9b5587e83..bda842c276 100644 --- a/cmd/kscn/doc.go +++ b/cmd/kscn/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -kscn is the command-line client for Klaytn ServiceChain Consensus Node. +kscn is the command-line client for Kaia ServiceChain Consensus Node. kscn has the node type of "cn" internally. Please try `kscn -h` to see commands and options list. diff --git a/cmd/ksen/doc.go b/cmd/ksen/doc.go index 6852e17756..12206624cc 100644 --- a/cmd/ksen/doc.go +++ b/cmd/ksen/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -ksen is the command-line client for Klaytn ServiceChain Endpoint Node. +ksen is the command-line client for Kaia ServiceChain Endpoint Node. ksen has the node type of "en" internally. Please try `ksen -h` to see commands and options list. diff --git a/cmd/kspn/doc.go b/cmd/kspn/doc.go index 665e7e0215..b38fd6c020 100644 --- a/cmd/kspn/doc.go +++ b/cmd/kspn/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -kspn is the command-line client for Klaytn ServiceChain Proxy Node. +kspn is the command-line client for Kaia ServiceChain Proxy Node. kspn has the node type of "pn" internally. Please try `kspn -h` to see commands and options list. diff --git a/cmd/utils/config.go b/cmd/utils/config.go index aa274c7315..aec93b2bdb 100644 --- a/cmd/utils/config.go +++ b/cmd/utils/config.go @@ -133,7 +133,7 @@ func MakeConfigNode(ctx *cli.Context) (*node.Node, KlayConfig) { ServiceChain: *sc.DefaultServiceChainConfig(), } - // NOTE-Kaia : klaytn loads the flags from yaml, not toml + // NOTE-Kaia : Kaia loads the flags from yaml, not toml // Load config file. // if file := ctx.String(ConfigFileFlag.Name); file != "" { // if err := LoadConfig(file, &cfg); err != nil { @@ -507,7 +507,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) { // setKlayConfig applies klay-related command line flags to the config. func (kCfg *KlayConfig) SetKlayConfig(ctx *cli.Context, stack *node.Node) { - // TODO-Kaia-Bootnode: better have to check conflicts about network flags when we add Klaytn's `mainnet` parameter + // TODO-Kaia-Bootnode: better have to check conflicts about network flags when we add Kaia's `mainnet` parameter // checkExclusive(ctx, DeveloperFlag, TestnetFlag, RinkebyFlag) cfg := &kCfg.CN raiseFDLimit() diff --git a/cmd/utils/doc.go b/cmd/utils/doc.go index c76399ba13..ca0fe0ade8 100644 --- a/cmd/utils/doc.go +++ b/cmd/utils/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package utils contains internal helper functions for klaytn commands. +Package utils contains internal helper functions for Kaia commands. utils package provides various helper functions especially for handling various commands and options. diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 41bc64413e..babdbbc944 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1309,7 +1309,7 @@ var ( ParentChainIDFlag = &cli.IntFlag{ Name: "parentchainid", Usage: "parent chain ID", - Value: 8217, // Klaytn mainnet chain ID + Value: 8217, // Kaia mainnet chain ID Aliases: []string{"servicechain.parent-chainid"}, EnvVars: []string{"KLAYTN_PARENTCHAINID"}, Category: "SERVICECHAIN", diff --git a/cmd/utils/nodecmd/chaincmd.go b/cmd/utils/nodecmd/chaincmd.go index e0ca882449..36be036387 100644 --- a/cmd/utils/nodecmd/chaincmd.go +++ b/cmd/utils/nodecmd/chaincmd.go @@ -176,7 +176,7 @@ func initGenesis(ctx *cli.Context) error { } } - for _, name := range []string{"chaindata"} { // Removed "lightchaindata" since Klaytn doesn't use it + for _, name := range []string{"chaindata"} { // Removed "lightchaindata" since Kaia doesn't use it dbc := &database.DBConfig{ Dir: name, DBType: dbtype, ParallelDBWrite: parallelDBWrite, SingleDB: singleDB, NumStateTrieShards: numStateTrieShards, diff --git a/cmd/utils/nodecmd/consolecmd.go b/cmd/utils/nodecmd/consolecmd.go index 861b30a828..bff24b8963 100644 --- a/cmd/utils/nodecmd/consolecmd.go +++ b/cmd/utils/nodecmd/consolecmd.go @@ -62,7 +62,7 @@ See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console.`, } } -// localConsole starts a new Klaytn node, attaching a JavaScript console to it at the +// localConsole starts a new Kaia node, attaching a JavaScript console to it at the // same time. func localConsole(ctx *cli.Context) error { // Create and start the node based on the CLI flags @@ -158,8 +158,8 @@ func dialRPC(endpoint string) (*rpc.Client, error) { if endpoint == "" { endpoint = node.DefaultIPCEndpoint(utils.ClientIdentifier) } else if strings.HasPrefix(endpoint, "rpc:") || strings.HasPrefix(endpoint, "ipc:") { - // TODO-Kaia-RemoveLater: The below backward compatibility is not related to Klaytn. - // Backwards compatibility with klaytn < 1.5 which required + // TODO-Kaia-RemoveLater: The below backward compatibility is not related to Kaia. + // Backwards compatibility with Kaia < 1.5 which required // these prefixes. endpoint = endpoint[4:] } diff --git a/cmd/utils/nodecmd/consolecmd_test.go b/cmd/utils/nodecmd/consolecmd_test.go index 7f090045d7..c352f6fa14 100644 --- a/cmd/utils/nodecmd/consolecmd_test.go +++ b/cmd/utils/nodecmd/consolecmd_test.go @@ -120,7 +120,7 @@ func TestWSAttachWelcome(t *testing.T) { } func testAttachWelcome(t *testing.T, klay *testklay, endpoint, apis string) { - // Attach to a running Klaytn node and terminate immediately + // Attach to a running Kaia node and terminate immediately attach := runKlay(t, "klay-test", "attach", endpoint) defer attach.ExpectExit() attach.CloseStdin() diff --git a/cmd/utils/usage.go b/cmd/utils/usage.go index 9d5f54f29f..5faea21d1a 100644 --- a/cmd/utils/usage.go +++ b/cmd/utils/usage.go @@ -18,7 +18,7 @@ // This file is derived from cmd/geth/usage.go (2018/06/04). // Modified and improved for the klaytn development. -// Contains the Klaytn node command usage template and generator. +// Contains the Kaia node command usage template and generator. package utils diff --git a/common/fdlimit/doc.go b/common/fdlimit/doc.go index 9b2f1b628b..c17ad4b2e3 100644 --- a/common/fdlimit/doc.go +++ b/common/fdlimit/doc.go @@ -17,7 +17,7 @@ /* Package fdlimit handles file descriptors based on the operating system. -In Klaytn, `levelDB` database in the `database` package is using this package to get current allowance of file descriptors for this process and to raise it as it requires. -Because the maximum allowance is different between operating systems, it can be limited by the operating system on which Klaytn runs. +In Kaia, `levelDB` database in the `database` package is using this package to get current allowance of file descriptors for this process and to raise it as it requires. +Because the maximum allowance is different between operating systems, it can be limited by the operating system on which Kaia runs. */ package fdlimit diff --git a/common/hexutil/doc.go b/common/hexutil/doc.go index 8a3a19739a..b3607b576f 100644 --- a/common/hexutil/doc.go +++ b/common/hexutil/doc.go @@ -20,7 +20,7 @@ /* Package hexutil implements hex encoding with 0x prefix. -This encoding is used by the Klaytn RPC API to transport binary data in JSON payloads. +This encoding is used by the Kaia RPC API to transport binary data in JSON payloads. # Encoding Rules diff --git a/common/path.go b/common/path.go index 38186c704a..049761747e 100644 --- a/common/path.go +++ b/common/path.go @@ -27,7 +27,7 @@ import ( "runtime" ) -// MakeName creates a node name that follows the Klaytn convention +// MakeName creates a node name that follows the Kaia convention // for such names. It adds the operation system name and Go runtime version // the name. func MakeName(name, version string) string { diff --git a/common/types_test.go b/common/types_test.go index 52405920db..5e92127c0b 100644 --- a/common/types_test.go +++ b/common/types_test.go @@ -231,7 +231,7 @@ func BenchmarkAddressHex(b *testing.B) { } } -// TODO-Kaia-FailedTest Klaytn doesn't have MixedcaseAddress type +// TODO-Kaia-FailedTest Kaia doesn't have MixedcaseAddress type /* func TestMixedcaseAccount_Address(t *testing.T) { diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index f75cefb2f0..1a7ac95c45 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -194,7 +194,7 @@ func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, er } // Clique is the proof-of-authority consensus engine proposed to support the -// Klaytn testnet following the Baobab attacks. +// Kaia testnet following the Baobab attacks. type Clique struct { config *params.CliqueConfig // Consensus engine configuration parameters db database.DBManager // Database to store and retrieve snapshot checkpoints diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 32a20ce500..c7e6de3dba 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -34,7 +34,7 @@ import ( ) // testerAccountPool is a pool to maintain currently active tester accounts, -// mapped from textual names used in the tests below to actual Klaytn private +// mapped from textual names used in the tests below to actual Kaia private // keys capable of signing transactions. type testerAccountPool struct { accounts map[string]*ecdsa.PrivateKey diff --git a/consensus/doc.go b/consensus/doc.go index a8f54cbc4b..f11820e086 100644 --- a/consensus/doc.go +++ b/consensus/doc.go @@ -21,10 +21,10 @@ /* Package consensus defines interfaces for consensus engines and ChainReader. -Klaytn currently uses istanbul BFT engine on the mainnet, but PoA based clique engine also can be used. +Kaia currently uses istanbul BFT engine on the mainnet, but PoA based clique engine also can be used. Traditional PoW engine(gxhash) is used by legacy test codes but it is deprecated and is not recommended to use. -By implementing the Engine interface, new consensus engine can be added and used in Klaytn. +By implementing the Engine interface, new consensus engine can be added and used in Kaia. ChainReader interface defines a small collection of methods needed to access the local blockchain during a block header verification. */ diff --git a/consensus/gxhash/algorithm_test.go b/consensus/gxhash/algorithm_test.go index 5c4741e0c0..bd56208a59 100644 --- a/consensus/gxhash/algorithm_test.go +++ b/consensus/gxhash/algorithm_test.go @@ -683,7 +683,7 @@ func TestHashimoto(t *testing.T) { } } -// TODO-Kaia-FailedTest This tests fails in Klaytn. Enable or delete this test later. +// TODO-Kaia-FailedTest This tests fails in Kaia. Enable or delete this test later. // Tests that caches generated on disk may be done concurrently. /* func TestConcurrentDiskCacheGeneration(t *testing.T) { diff --git a/consensus/gxhash/consensus.go b/consensus/gxhash/consensus.go index 11c81d0649..1c1a6f3f25 100644 --- a/consensus/gxhash/consensus.go +++ b/consensus/gxhash/consensus.go @@ -78,7 +78,7 @@ func (gxhash *Gxhash) GetConsensusInfo(block *types.Block) (consensus.ConsensusI } // VerifyHeader checks whether a header conforms to the consensus rules of the -// stock Klaytn gxhash engine. +// stock Kaia gxhash engine. func (gxhash *Gxhash) VerifyHeader(chain consensus.ChainReader, header *types.Header, seal bool) error { // If we're running a full engine faking, accept any input as valid if gxhash.config.PowMode == ModeFullFake { @@ -179,7 +179,7 @@ func (gxhash *Gxhash) verifyHeaderWorker(chain consensus.ChainReader, headers [] } // verifyHeader checks whether a header conforms to the consensus rules of the -// stock Klaytn gxhash engine. +// stock Kaia gxhash engine. // See YP section 4.3.4. "Block Header Validity" func (gxhash *Gxhash) verifyHeader(chain consensus.ChainReader, header, parent *types.Header, seal bool) error { // Ensure that the header's extra-data section is of a reasonable size diff --git a/consensus/gxhash/doc.go b/consensus/gxhash/doc.go index a426cf65c5..fc54d71225 100644 --- a/consensus/gxhash/doc.go +++ b/consensus/gxhash/doc.go @@ -22,6 +22,6 @@ Package gxhash implements the gxhash proof-of-work consensus engine. gxhash is a renamed version of ethash in Ethereum which implements consensus/Engine interface. -gxhash is no longer used in Klaytn except for some test codes which uses gxhash's fakemode. +gxhash is no longer used in Kaia except for some test codes which uses gxhash's fakemode. */ package gxhash diff --git a/consensus/gxhash/gxhash.go b/consensus/gxhash/gxhash.go index 69fc7e6bcf..6a2d5d558f 100644 --- a/consensus/gxhash/gxhash.go +++ b/consensus/gxhash/gxhash.go @@ -447,7 +447,7 @@ func NewTester() *Gxhash { } // NewFaker creates a gxhash consensus engine with a fake PoW scheme that accepts -// all blocks' seal as valid, though they still have to conform to the Klaytn +// all blocks' seal as valid, though they still have to conform to the Kaia // consensus rules. func NewFaker() *Gxhash { return &Gxhash{ diff --git a/consensus/istanbul/backend/api.go b/consensus/istanbul/backend/api.go index 42168f7d14..e1040fe01a 100644 --- a/consensus/istanbul/backend/api.go +++ b/consensus/istanbul/backend/api.go @@ -195,7 +195,7 @@ func (api *API) Discard(address common.Address) { delete(api.istanbul.candidates, address) } -// API extended by Klaytn developers +// API extended by Kaia developers type APIExtension struct { chain consensus.ChainReader istanbul *backend diff --git a/consensus/istanbul/core/types.go b/consensus/istanbul/core/types.go index dac65b88be..644b3f005e 100644 --- a/consensus/istanbul/core/types.go +++ b/consensus/istanbul/core/types.go @@ -94,7 +94,7 @@ type message struct { // // define the functions that needs to be provided for rlp Encoder/Decoder. -// EncodeRLP serializes m into the Klaytn RLP format. +// EncodeRLP serializes m into the Kaia RLP format. func (m *message) EncodeRLP(w io.Writer) error { return rlp.Encode(w, []interface{}{m.Hash, m.Code, m.Msg, m.Address, m.Signature, m.CommittedSeal}) } diff --git a/consensus/istanbul/doc.go b/consensus/istanbul/doc.go index d00a1b0699..2206ef1f15 100644 --- a/consensus/istanbul/doc.go +++ b/consensus/istanbul/doc.go @@ -20,7 +20,7 @@ Istanbul engine was inspired by Clique POA, Hyperledger's SBFT, Tendermint, Hydr Istanbul engine is using 3-phase consensus and it can tolerate F faulty nodes where N = 3F + 1 -In Klaytn, it is being used as the main consensus engine after modification for supports of Committee, Reward and Governance. +In Kaia, it is being used as the main consensus engine after modification for supports of Committee, Reward and Governance. Package istanbul has three sub-packages, core, backend, and validator. Please refer to each package's doc.go for more information. # Source Files diff --git a/consensus/istanbul/types.go b/consensus/istanbul/types.go index a1a544f5db..0f44d5becf 100644 --- a/consensus/istanbul/types.go +++ b/consensus/istanbul/types.go @@ -66,7 +66,7 @@ type View struct { Sequence *big.Int } -// EncodeRLP serializes a View into the Klaytn RLP format. +// EncodeRLP serializes a View into the Kaia RLP format. func (v *View) EncodeRLP(w io.Writer) error { return rlp.Encode(w, []interface{}{v.Round, v.Sequence}) } diff --git a/consensus/istanbul/validator/doc.go b/consensus/istanbul/validator/doc.go index 9923e0e543..332afbea7a 100644 --- a/consensus/istanbul/validator/doc.go +++ b/consensus/istanbul/validator/doc.go @@ -34,9 +34,9 @@ Validate: A validator node can validate blocks from proposers. A block is valid ValidatorSet calculates the block proposer of an upcoming block. A validator selected as a block proposer will have a chance to make a block. -# Implementation in Klaytn +# Implementation in Kaia -Klaytn implements `Validator` and `ValidatorSet` interface for Kaia consensus. +Kaia implements `Validator` and `ValidatorSet` interface for Kaia consensus. Klaytn reflects the ratio of staking amounts to the probability of selecting a proposer. This is called weightedRandom policy. Detailed information can be found in https://docs.klaytn.com/klaytn/token_economy#klaytn-governance-council-reward. diff --git a/console/bridge.go b/console/bridge.go index 3a107b3473..99b28ecc63 100644 --- a/console/bridge.go +++ b/console/bridge.go @@ -38,7 +38,7 @@ import ( // bridge is a collection of JavaScript utility methods to bride the .js runtime // environment and the Go RPC connection backing the remote method calls. type bridge struct { - client *rpc.Client // RPC client to execute Klaytn requests through + client *rpc.Client // RPC client to execute Kaia requests through prompter UserPrompter // Input prompter to allow interactive user feedback printer io.Writer // Output writer to serialize any display strings to } diff --git a/console/console.go b/console/console.go index b573401916..30ad33e54b 100644 --- a/console/console.go +++ b/console/console.go @@ -59,7 +59,7 @@ const DefaultPrompt = "> " type Config struct { DataDir string // Data directory to store the console history at DocRoot string // Filesystem path from where to load JavaScript files from - Client *rpc.Client // RPC client to execute Klaytn requests through + Client *rpc.Client // RPC client to execute Kaia requests through Prompt string // Input prompt prefix string (defaults to DefaultPrompt) Prompter UserPrompter // Input prompter to allow interactive user feedback (defaults to TerminalPrompter) Printer io.Writer // Output writer to serialize any display strings to (defaults to os.Stdout) @@ -70,7 +70,7 @@ type Config struct { // JavaScript console attached to a running node via an external or in-process RPC // client. type Console struct { - client *rpc.Client // RPC client to execute Klaytn requests through + client *rpc.Client // RPC client to execute Kaia requests through jsre *jsre.JSRE // JavaScript runtime environment running the interpreter prompt string // Input prompt prefix string prompter UserPrompter // Input prompter to allow interactive user feedback @@ -317,7 +317,7 @@ func (c *Console) AutoCompleteInput(line string, pos int) (string, []string, str // Welcome show summary of current node instance and some metadata about the // console's available modules. func (c *Console) Welcome() { - // Print some generic Klaytn metadata + // Print some generic Kaia metadata fmt.Fprintf(c.printer, "Welcome to the Klaytn JavaScript console!\n\n") c.jsre.Run(` console.log("instance: " + web3.version.node); diff --git a/console/console_test.go b/console/console_test.go index f50d6fc19f..d12ee572d7 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -93,7 +93,7 @@ func newTester(t *testing.T, confOverride func(*cn.Config)) *tester { t.Fatalf("failed to create temporary keystore: %v", err) } - // Create a networkless protocol stack and start a Klaytn service within + // Create a networkless protocol stack and start a Kaia service within stack, err := node.New(&node.Config{DataDir: workspace, UseLightweightKDF: true, Name: testInstance}) if err != nil { t.Fatalf("failed to create node: %v", err) diff --git a/console/jsre/doc.go b/console/jsre/doc.go index 7850735433..6f13e39792 100644 --- a/console/jsre/doc.go +++ b/console/jsre/doc.go @@ -30,7 +30,7 @@ JSRE is a generic JS runtime environment embedding the otto Javascript interpret - bind native go objects Because of JSRE, an user can utilize JavaScript in the console as needed. -JSRE also provides two JavaScript libraries, bignumber.js and web3.js, for users to easily access Klaytn. +JSRE also provides two JavaScript libraries, bignumber.js and web3.js, for users to easily access Kaia. # Source Files diff --git a/console/web3ext/doc.go b/console/web3ext/doc.go index 89844c180b..0436006f0c 100644 --- a/console/web3ext/doc.go +++ b/console/web3ext/doc.go @@ -19,13 +19,13 @@ // Modified and improved for the klaytn development. /* -Package web3ext contains the Klaytn specific web3.js extensions. +Package web3ext contains the Kaia specific web3.js extensions. web3ext defines `Modules` which defines APIs for each category. This `Modules` is used by console to provide APIs to users. # API Categories -APIs are categorized as follows. If you want to know more detail, please refer to https://docs.klaytn.com/bapp/json-rpc +APIs are categorized as follows. If you want to know more detail, please refer to https://docs.Kaia.com/bapp/json-rpc - admin - debug - klay diff --git a/crypto/bls/bls.go b/crypto/bls/bls.go index 379f84d1b1..4519a03eae 100644 --- a/crypto/bls/bls.go +++ b/crypto/bls/bls.go @@ -39,7 +39,7 @@ type ( // Some functions are named after the equivalent functions in prysm Ethereum CL. // (https://github.com/prysmaticlabs/prysm/blob/v4.0.2/crypto/bls/bls.go) // Such naming should provide compatiblity with prysm code snippets, -// in case prysm code snippets are integrated to klaytn. +// in case prysm code snippets are integrated to Kaia. // // ikm -> SK: GenerateKey // () -> SK: RandKey diff --git a/crypto/bls/blst/aliases.go b/crypto/bls/blst/aliases.go index d660e67d25..81b92f9a20 100644 --- a/crypto/bls/blst/aliases.go +++ b/crypto/bls/blst/aliases.go @@ -20,7 +20,7 @@ import blst "github.com/supranational/blst/bindings/go" // Aliases to underlying blst go binding symbols // -// Klaytn uses the "minimal-pubkey-size" variant as defined in +// Kaia uses the "minimal-pubkey-size" variant as defined in // draft-irtf-cfrg-bls-signature-05#2.1. // Public keys are points in G1 and signatures are points in G2. type ( diff --git a/crypto/bn256/doc.go b/crypto/bn256/doc.go index d4d22ee042..dbb4613ec7 100644 --- a/crypto/bn256/doc.go +++ b/crypto/bn256/doc.go @@ -12,7 +12,7 @@ This package specifically implements the Optimal Ate pairing over a 256-bit Barr This package previously claimed to operate at a 128-bit security level. However, recent improvements in attacks mean that it is no longer true. See https://moderncrypto.org/mail-archive/curves/2016/000740.html. -# Initial package from Google is deprecated due to its weakened security and Klaytn is using the more complete implementation from Cloudflare +# Initial package from Google is deprecated due to its weakened security and Kaia is using the more complete implementation from Cloudflare # Source Files diff --git a/crypto/doc.go b/crypto/doc.go index a5a6917e96..6928f6c41d 100644 --- a/crypto/doc.go +++ b/crypto/doc.go @@ -15,7 +15,7 @@ // along with the klaytn library. If not, see . /* -Package crypto contains several cryptography modules used in Klaytn. +Package crypto contains several cryptography modules used in Kaia. crypto package provides various cryptographic functions such as key generation, ECDSA conversion, signature verification and so on. diff --git a/crypto/ecies/doc.go b/crypto/ecies/doc.go index 0e3ea7899c..3585fd659b 100644 --- a/crypto/ecies/doc.go +++ b/crypto/ecies/doc.go @@ -17,7 +17,7 @@ /* Package ecies implements the Elliptic Curve Integrated Encryption Scheme. -Package ecies provides functions to Encrypt / Decrypt messages using ECIES which are used in RLPx transport protocol in Klaytn. +Package ecies provides functions to Encrypt / Decrypt messages using ECIES which are used in RLPx transport protocol in Kaia. # Source Files diff --git a/crypto/secp256k1/doc.go b/crypto/secp256k1/doc.go index c22a0314cc..f8b0c48af0 100644 --- a/crypto/secp256k1/doc.go +++ b/crypto/secp256k1/doc.go @@ -31,6 +31,6 @@ Each source file has the following contents - secp256.go : Provides wrapper functions to utilize the secp256k1 library written in C - curve.go : Implements Koblitz elliptic curves - panic_cb.go : Provides callbacks for converting libsecp256k1 internal faults into recoverable Go panics - - schnorr.go : Implements Schnorr signature algorithm. It is planned to be used in Klaytn + - schnorr.go : Implements Schnorr signature algorithm. It is planned to be used in Kaia */ package secp256k1 diff --git a/datasync/chaindatafetcher/kas/contract_caller.go b/datasync/chaindatafetcher/kas/contract_caller.go index e68ec60147..0e1fad12f7 100644 --- a/datasync/chaindatafetcher/kas/contract_caller.go +++ b/datasync/chaindatafetcher/kas/contract_caller.go @@ -38,15 +38,15 @@ import ( const callTimeout = 300 * time.Millisecond var ( - // KIP 13: Interface Query Standard - https://kips.klaytn.com/KIPs/kip-13 + // KIP 13: Interface Query Standard - https://kips.Kaia.com/KIPs/kip-13 IKIP13Id = [4]byte{0x01, 0xff, 0xc9, 0xa7} InvalidId = [4]byte{0xff, 0xff, 0xff, 0xff} - // KIP 7: Fungible Token Standard - https://kips.klaytn.com/KIPs/kip-7 + // KIP 7: Fungible Token Standard - https://kips.Kaia.com/KIPs/kip-7 IKIP7Id = [4]byte{0x65, 0x78, 0x73, 0x71} IKIP7MetadataId = [4]byte{0xa2, 0x19, 0xa0, 0x25} - // KIP 17: Non-fungible Token Standard - https://kips.klaytn.com/KIPs/kip-17 + // KIP 17: Non-fungible Token Standard - https://kips.Kaia.com/KIPs/kip-17 IKIP17Id = [4]byte{0x80, 0xac, 0x58, 0xcd} IKIP17MetadataId = [4]byte{0x5b, 0x5e, 0x13, 0x9f} diff --git a/datasync/chaindatafetcher/kas/repository_token_transfer.go b/datasync/chaindatafetcher/kas/repository_token_transfer.go index 709f20eb4f..203b9f2417 100644 --- a/datasync/chaindatafetcher/kas/repository_token_transfer.go +++ b/datasync/chaindatafetcher/kas/repository_token_transfer.go @@ -45,7 +45,7 @@ func wordToAddress(word common.Hash) common.Address { return common.BytesToAddress(word[common.HashLength-common.AddressLength:]) } -// transformLogsToTokenTransfers converts the given event into Klaytn Compatible Token transfers. +// transformLogsToTokenTransfers converts the given event into Kaia Compatible Token transfers. func transformLogsToTokenTransfers(event blockchain.ChainEvent) ([]*KCTTransfer, map[common.Address]struct{}, error) { timestamp := event.Block.Time().Int64() var kctTransfers []*KCTTransfer @@ -67,7 +67,7 @@ func transformLogsToTokenTransfers(event blockchain.ChainEvent) ([]*KCTTransfer, return kctTransfers, mergedUpdatedEOAs, nil } -// transformLogToTokenTransfer converts the given log to Klaytn Compatible Token transfer. +// transformLogToTokenTransfer converts the given log to Kaia Compatible Token transfer. func transformLogToTokenTransfer(log *types.Log) (*KCTTransfer, map[common.Address]struct{}, error) { // in case of token transfer, // case 1: diff --git a/datasync/chaindatafetcher/kas/repository_traces.go b/datasync/chaindatafetcher/kas/repository_traces.go index 708f5126c5..0b744fd0c9 100644 --- a/datasync/chaindatafetcher/kas/repository_traces.go +++ b/datasync/chaindatafetcher/kas/repository_traces.go @@ -129,7 +129,7 @@ func transformToTraceResults(event blockchain.ChainEvent) ([]*Tx, []*RevertedTx, entryTx := getEntryTx(event.Block, txIdx, tx) offset := int64(0) - // transforms the result into internal transaction which is associated with KLAY transfer recursively. + // transforms the result into internal transaction which is associated with KAIA transfer recursively. if receipt.Status == types.ReceiptStatusSuccessful { internalTx, err := transformToInternalTx(trace, &offset, entryTx, true) if err != nil { diff --git a/datasync/fetcher/fetcher.go b/datasync/fetcher/fetcher.go index d7f9d0e477..f2ca4b4166 100644 --- a/datasync/fetcher/fetcher.go +++ b/datasync/fetcher/fetcher.go @@ -37,7 +37,7 @@ const ( gatherSlack = 100 * time.Millisecond // Interval used to collate almost-expired announces with fetches fetchTimeout = 5 * time.Second // Maximum allotted time to return an explicitly requested block insertTasksWaitTime = 100 * time.Millisecond // Waiting time when the insertTasks channel is full - // TODO-Kaia Klaytn is 20 times faster than ethereum, so check block height is 20 times + // TODO-Kaia Kaia is 20 times faster than ethereum, so check block height is 20 times maxQueueDist = 32 * 20 // Maximum allowed distance from the chain head to queue hashLimit = 256 * 20 // Maximum number of unique blocks a peer may have announced blockLimit = 64 * 20 // Maximum number of unique blocks a peer may have delivered diff --git a/governance/api_test.go b/governance/api_test.go index 2a6caa80aa..89b4bbb0a4 100644 --- a/governance/api_test.go +++ b/governance/api_test.go @@ -250,13 +250,13 @@ func TestGetRewardsAccumulated(t *testing.T) { assert.NotNil(t, ret) // pre-calculated estimated rewards per a block - blockMinted, _ := new(big.Int).SetString("9600000000000000000", 10) // 9.6 KLAY - blockProposer, _ := new(big.Int).SetString("960000000000000000", 10) // 0.96 KLAY = 9.6 KLAY * 0.5 * 0.2 - blockStaking, _ := new(big.Int).SetString("3840000000000000000", 10) // 3.84 KLAY = 9.6 KLAY * 0.5 * 0.8 + blockMinted, _ := new(big.Int).SetString("9600000000000000000", 10) // 9.6 KAIA + blockProposer, _ := new(big.Int).SetString("960000000000000000", 10) // 0.96 KAIA = 9.6 KAIA * 0.5 * 0.2 + blockStaking, _ := new(big.Int).SetString("3840000000000000000", 10) // 3.84 KAIA = 9.6 KAIA * 0.5 * 0.8 blockTxFee, _ := new(big.Int).SetString("25000000000000", 10) // 25000 Ston = 1000 * 25 Ston blockTxBurnt := blockTxFee - blockKFF, _ := new(big.Int).SetString("1920000000000000000", 10) // 1.92 KLAY = 9.6 KLAY * 0.2 - blockKCF, _ := new(big.Int).SetString("2880000000000000000", 10) // 2.88 KLAY = 9.6 KLAY * 0.3 + blockKFF, _ := new(big.Int).SetString("1920000000000000000", 10) // 1.92 KAIA = 9.6 KAIA * 0.2 + blockKCF, _ := new(big.Int).SetString("2880000000000000000", 10) // 2.88 KAIA = 9.6 KAIA * 0.3 // check the execution result assert.Equal(t, time.Unix(blocks[startBlockNum].Time().Int64(), 0).String(), ret.FirstBlockTime) diff --git a/governance/doc.go b/governance/doc.go index 0b274c16e5..5f61f0fc51 100644 --- a/governance/doc.go +++ b/governance/doc.go @@ -15,8 +15,8 @@ // along with the klaytn library. If not, see . /* -Package governance contains functions and variables used for voting and reflecting vote results in Klaytn. -In Klaytn, various settings such as the amount of KLAY minted as a block reward can be changed by using governance vote. +Package governance contains functions and variables used for voting and reflecting vote results in Kaia. +In Kaia, various settings such as the amount of KAIA minted as a block reward can be changed by using governance vote. These votes can be casted by nodes of Governance Council and detailed introduction can be found at https://docs.klaytn.com/klaytn/design/governance # How to cast a vote diff --git a/interfaces.go b/interfaces.go index b6428cd158..5c66e4e8ec 100644 --- a/interfaces.go +++ b/interfaces.go @@ -18,7 +18,7 @@ // This file is derived from interfaces.go (2018/06/04). // Modified and improved for the klaytn development. -// Package klaytn defines interfaces for interacting with Klaytn. +// Package Kaia defines interfaces for interacting with Kaia. package klaytn import ( diff --git a/kerrors/doc.go b/kerrors/doc.go index 6fd3b527d9..4905a1e800 100644 --- a/kerrors/doc.go +++ b/kerrors/doc.go @@ -15,7 +15,7 @@ // along with the klaytn library. If not, see . /* -Package kerrors contains common error variables used in Klaytn. +Package kerrors contains common error variables used in Kaia. # Source File diff --git a/networks/grpc/doc.go b/networks/grpc/doc.go index 0f6dc6ae2c..523690932b 100644 --- a/networks/grpc/doc.go +++ b/networks/grpc/doc.go @@ -15,9 +15,9 @@ // along with the klaytn library. If not, see . /* -Package grpc implements the gRPC protocol for Klaytn. +Package grpc implements the gRPC protocol for Kaia. -This package allows you to use Klaytn's RPC API using gRPC. +This package allows you to use Kaia's RPC API using gRPC. See below for gRPC: https://grpc.io/docs/quickstart/go/ # Source files @@ -25,7 +25,7 @@ See below for gRPC: https://grpc.io/docs/quickstart/go/ Each file provides the following features - gClient.go : gRPC client implementation. - gServer.go : gRPC server implementation. - - klaytn.proto : Define a interface and messages to use in gRPC server and clients. - - klaytn.pb.go : the generated Go file from klaytn.proto by protoc-gen-go. + - Kaia.proto : Define a interface and messages to use in gRPC server and clients. + - Kaia.pb.go : the generated Go file from Kaia.proto by protoc-gen-go. */ package grpc diff --git a/networks/grpc/klaytn.pb.go b/networks/grpc/klaytn.pb.go index 6c162e6853..6287a121ae 100644 --- a/networks/grpc/klaytn.pb.go +++ b/networks/grpc/klaytn.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: klaytn.proto +// source: Kaia.proto package grpc diff --git a/networks/p2p/doc.go b/networks/p2p/doc.go index b60a2d09ae..84e3a0bc6f 100644 --- a/networks/p2p/doc.go +++ b/networks/p2p/doc.go @@ -18,5 +18,5 @@ // This file is derived from p2p/server.go (2018/06/04). // Modified and improved for the klaytn development. -// Package p2p implements the Klaytn p2p network protocols. +// Package p2p implements the Kaia p2p network protocols. package p2p diff --git a/networks/p2p/simulations/adapters/types.go b/networks/p2p/simulations/adapters/types.go index 46a1ec1581..2459563675 100644 --- a/networks/p2p/simulations/adapters/types.go +++ b/networks/p2p/simulations/adapters/types.go @@ -229,7 +229,7 @@ type ServiceContext struct { // RPCDialer is used when initialising services which need to connect to // other nodes in the network (for example a simulated Swarm node which needs -// to connect to the Klaytn node to resolve ENS names) +// to connect to the Kaia node to resolve ENS names) type RPCDialer interface { DialRPC(id discover.NodeID) (*rpc.Client, error) } diff --git a/node/api.go b/node/api.go index 6eaa2fce49..bd9bf223fe 100644 --- a/node/api.go +++ b/node/api.go @@ -475,7 +475,7 @@ func (s *PublicKlayAPI) ClientVersion() string { return s.stack.Server().Name() } -// Sha3 applies the Klaytn sha3 implementation on the input. +// Sha3 applies the Kaia sha3 implementation on the input. // It assumes the input is hex encoded. func (s *PublicKlayAPI) Sha3(input hexutil.Bytes) hexutil.Bytes { return crypto.Keccak256(input) diff --git a/node/cn/api.go b/node/cn/api.go index db151292f0..49329e677a 100644 --- a/node/cn/api.go +++ b/node/cn/api.go @@ -43,7 +43,7 @@ import ( "github.com/klaytn/klaytn/work" ) -// PublicKlayAPI provides an API to access Klaytn CN-related +// PublicKlayAPI provides an API to access Kaia CN-related // information. type PublicKlayAPI struct { cn *CN @@ -271,14 +271,14 @@ func (api *PrivateAdminAPI) GetSpamThrottlerCandidateList(ctx context.Context) ( return throttler.GetCandidates(), nil } -// PublicDebugAPI is the collection of Klaytn full node APIs exposed +// PublicDebugAPI is the collection of Kaia full node APIs exposed // over the public debugging endpoint. type PublicDebugAPI struct { cn *CN } // NewPublicDebugAPI creates a new API definition for the full node- -// related public debug methods of the Klaytn service. +// related public debug methods of the Kaia service. func NewPublicDebugAPI(cn *CN) *PublicDebugAPI { return &PublicDebugAPI{cn: cn} } diff --git a/node/cn/backend.go b/node/cn/backend.go index c51e0ec0b2..77ef307dbb 100644 --- a/node/cn/backend.go +++ b/node/cn/backend.go @@ -390,7 +390,7 @@ func New(ctx *node.ServiceContext, config *Config) (*CN, error) { gpoParams.Default = config.GasPrice cn.APIBackend.gpo = gasprice.NewOracle(cn.APIBackend, gpoParams, cn.txPool) - //@TODO Klaytn add core component + //@TODO Kaia add core component cn.addComponent(cn.blockchain) cn.addComponent(cn.txPool) cn.addComponent(cn.APIs()) @@ -495,7 +495,7 @@ func CreateDB(ctx *node.ServiceContext, config *Config, name string) database.DB return ctx.OpenDatabase(dbc) } -// CreateConsensusEngine creates the required type of consensus engine instance for a Klaytn service +// CreateConsensusEngine creates the required type of consensus engine instance for a Kaia service func CreateConsensusEngine(ctx *node.ServiceContext, config *Config, chainConfig *params.ChainConfig, db database.DBManager, gov governance.Engine, nodetype common.ConnType) consensus.Engine { // Only istanbul BFT is allowed in the main net. PoA is supported by service chain if chainConfig.Governance == nil { diff --git a/node/cn/bloombits.go b/node/cn/bloombits.go index db5930d29c..1175caa5d5 100644 --- a/node/cn/bloombits.go +++ b/node/cn/bloombits.go @@ -93,7 +93,7 @@ const ( ) // BloomIndexer implements a blockchain.ChainIndexer, building up a rotated bloom bits index -// for the Klaytn header bloom filters, permitting blazing fast filtering. +// for the Kaia header bloom filters, permitting blazing fast filtering. type BloomIndexer struct { size uint64 // section size to generate bloombits for diff --git a/node/cn/config.go b/node/cn/config.go index 3a5c1bcce5..51e542feb2 100644 --- a/node/cn/config.go +++ b/node/cn/config.go @@ -42,7 +42,7 @@ import ( var logger = log.NewModuleLogger(log.NodeCN) -// GetDefaultConfig returns default settings for use on the Klaytn main net. +// GetDefaultConfig returns default settings for use on the Kaia main net. func GetDefaultConfig() *Config { return &Config{ SyncMode: downloader.FullSync, @@ -84,7 +84,7 @@ func init() { type Config struct { // The genesis block, which is inserted if the database is empty. - // If nil, the Klaytn main net block is used. + // If nil, the Kaia main net block is used. Genesis *blockchain.Genesis `toml:",omitempty"` // Protocol options diff --git a/node/cn/doc.go b/node/cn/doc.go index c30845b03b..5d115b0778 100644 --- a/node/cn/doc.go +++ b/node/cn/doc.go @@ -25,7 +25,7 @@ Source Files - api.go : provides private debug API related to block and state - api_backend.go : implements CNAPIBackend which is a wrapper of CN to serve API requests - - backend.go : implements CN struct used for the Klaytn consensus node service + - backend.go : implements CN struct used for the Kaia consensus node service - bloombits.go : implements BloomIndexer, an indexer built with bloom bits for fast filtering - channel_manager.go : implements ChannelManager struct, which is used to manage channel for each message - config.go : defines the configuration used by CN struct diff --git a/node/cn/filters/api.go b/node/cn/filters/api.go index 3ed032aec9..38e75adaec 100644 --- a/node/cn/filters/api.go +++ b/node/cn/filters/api.go @@ -328,7 +328,7 @@ func (api *PublicFilterAPI) Logs(ctx context.Context, crit FilterCriteria) (*rpc } // FilterCriteria represents a request to create a new filter. -// Same as klaytn.FilterQuery but with UnmarshalJSON() method. +// Same as Kaia.FilterQuery but with UnmarshalJSON() method. type FilterCriteria klaytn.FilterQuery // NewFilter creates a new filter and returns the filter id. It can be diff --git a/node/cn/filters/doc.go b/node/cn/filters/doc.go index 0ae316e413..ba40d32a8f 100644 --- a/node/cn/filters/doc.go +++ b/node/cn/filters/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package filters implements a Klaytn filtering system for blocks, transactions and log events. +Package filters implements a Kaia filtering system for blocks, transactions and log events. Source Files diff --git a/node/cn/gasprice/doc.go b/node/cn/gasprice/doc.go index b059af35c8..5f01eef355 100644 --- a/node/cn/gasprice/doc.go +++ b/node/cn/gasprice/doc.go @@ -16,7 +16,7 @@ /* Package gasprice contains Oracle type which recommends gas prices based on recent blocks. -However, Klaytn uses invariant ChainConfig.UnitPrice and this value will not be changed +However, Kaia uses invariant ChainConfig.UnitPrice and this value will not be changed until ChainConfig.UnitPrice is updated with governance. Source Files diff --git a/node/cn/gasprice/feehistory.go b/node/cn/gasprice/feehistory.go index 098817c422..45d6cf64fa 100644 --- a/node/cn/gasprice/feehistory.go +++ b/node/cn/gasprice/feehistory.go @@ -164,7 +164,7 @@ func (oracle *Oracle) processBlock(bf *blockFees, percentiles []float64) { // resolveBlockRange resolves the specified block range to absolute block numbers while also // enforcing backend specific limitations. -// Pending block does not exist in Klaytn, so there is no logic to look up pending blocks. +// Pending block does not exist in Kaia, so there is no logic to look up pending blocks. // This part has a different implementation with Ethereum. // Note: an error is only returned if retrieving the head header has failed. If there are no // retrievable blocks in the specified range then zero block count is returned with no error. diff --git a/node/cn/gasprice/gasprice.go b/node/cn/gasprice/gasprice.go index eeeec699cc..a1d72de4a5 100644 --- a/node/cn/gasprice/gasprice.go +++ b/node/cn/gasprice/gasprice.go @@ -258,7 +258,7 @@ func (oracle *Oracle) suggestTipCapUsingFeeHistory(ctx context.Context) (*big.In price = results[(len(results)-1)*oracle.percentile/100] } // NOTE: This maximum suggested gas tip can lead to suggesting insufficient gas tip, - // however, the possibility of gas tip exceeding 500 ston would be very low given the block capacity of Klaytn. + // however, the possibility of gas tip exceeding 500 ston would be very low given the block capacity of Kaia. // On the other hand, referencing the user-submitted transactions as-is can lead to suggesting // very high gas tip when there are only a few transactions with unnecessarily high gas tip. if price.Cmp(oracle.maxPrice) > 0 { diff --git a/node/cn/handler.go b/node/cn/handler.go index 737d54d4c9..675c428555 100644 --- a/node/cn/handler.go +++ b/node/cn/handler.go @@ -136,7 +136,7 @@ type ProtocolManager struct { syncStop int32 } -// NewProtocolManager returns a new Klaytn sub protocol manager. The Klaytn sub protocol manages peers capable +// NewProtocolManager returns a new Kaia sub protocol manager. The Kaia sub protocol manages peers capable // with the Kaia network. func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, networkId uint64, mux *event.TypeMux, txpool work.TxPool, engine consensus.Engine, blockchain work.BlockChain, chainDB database.DBManager, cacheLimit int, @@ -464,7 +464,7 @@ func (pm *ProtocolManager) handleSnapPeer(peer *snap.Peer) error { return snap.Handle(pm.blockchain, pm.downloader, peer) } -// handle is the callback invoked to manage the life cycle of a Klaytn peer. When +// handle is the callback invoked to manage the life cycle of a Kaia peer. When // this function terminates, the peer is disconnected. func (pm *ProtocolManager) handle(p Peer) error { // If the peer has a `snap` extension, wait for it to connect so we can have @@ -579,7 +579,7 @@ func (pm *ProtocolManager) handle(p Peer) error { // go pm.handleMsg(p, addr, msg) //if err := pm.handleMsg(p); err != nil { - // p.Log().Debug("Klaytn message handling failed", "err", err) + // p.Log().Debug("Kaia message handling failed", "err", err) // return err //} } @@ -1486,7 +1486,7 @@ func (pm *ProtocolManager) useTxResend() bool { return false } -// NodeInfo represents a short summary of the Klaytn sub-protocol metadata +// NodeInfo represents a short summary of the Kaia sub-protocol metadata // known about the host peer. type NodeInfo struct { // TODO-Kaia describe predefined network ID below diff --git a/node/cn/peer.go b/node/cn/peer.go index f9c2b69183..73650bd6ee 100644 --- a/node/cn/peer.go +++ b/node/cn/peer.go @@ -72,7 +72,7 @@ const ( handshakeTimeout = 5 * time.Second ) -// PeerInfo represents a short summary of the Klaytn sub-protocol metadata known +// PeerInfo represents a short summary of the Kaia sub-protocol metadata known // about a connected peer. type PeerInfo struct { Version int `json:"version"` // Kaia protocol version negotiated @@ -218,7 +218,7 @@ type Peer interface { // GetRW returns the MsgReadWriter of the peer. GetRW() p2p.MsgReadWriter - // Handle is the callback invoked to manage the life cycle of a Klaytn Peer. When + // Handle is the callback invoked to manage the life cycle of a Kaia Peer. When // this function terminates, the Peer is disconnected. Handle(pm *ProtocolManager) error @@ -764,7 +764,7 @@ func (p *basePeer) GetRW() p2p.MsgReadWriter { return p.rw } -// Handle is the callback invoked to manage the life cycle of a Klaytn Peer. When +// Handle is the callback invoked to manage the life cycle of a Kaia Peer. When // this function terminates, the Peer is disconnected. func (p *basePeer) Handle(pm *ProtocolManager) error { return pm.handle(p) @@ -1079,7 +1079,7 @@ func (p *multiChannelPeer) ReadMsg(rw p2p.MsgReadWriter, connectionOrder int, er } } -// Handle is the callback invoked to manage the life cycle of a Klaytn Peer. When +// Handle is the callback invoked to manage the life cycle of a Kaia Peer. When // this function terminates, the Peer is disconnected. func (p *multiChannelPeer) Handle(pm *ProtocolManager) error { // If the peer has a `snap` extension, wait for it to connect so we can have diff --git a/node/cn/peer_set.go b/node/cn/peer_set.go index 99da88f34b..c0d4e8f2cf 100644 --- a/node/cn/peer_set.go +++ b/node/cn/peer_set.go @@ -76,7 +76,7 @@ type PeerSet interface { } // peerSet represents the collection of active peers currently participating in -// the Klaytn sub-protocol. +// the Kaia sub-protocol. type peerSet struct { peers map[string]Peer cnpeers map[common.Address]Peer diff --git a/node/cn/state_accessor.go b/node/cn/state_accessor.go index 694a367e97..cdb9d7a30b 100644 --- a/node/cn/state_accessor.go +++ b/node/cn/state_accessor.go @@ -195,7 +195,7 @@ func (cn *CN) stateAtTransaction(block *types.Block, txIndex int, reexec uint64) return nil, vm.BlockContext{}, vm.TxContext{}, nil, fmt.Errorf("transaction %#x failed: %v", tx.Hash(), err) } // Ensure any modifications are committed to the state - // Since klaytn is forked after EIP158/161 (a.k.a Spurious Dragon), deleting empty object is always effective + // Since Kaia is forked after EIP158/161 (a.k.a Spurious Dragon), deleting empty object is always effective statedb.Finalise(true, true) } return nil, vm.BlockContext{}, vm.TxContext{}, nil, fmt.Errorf("transaction index %d out of range for block %#x", txIndex, block.Hash()) diff --git a/node/cn/tracers/api.go b/node/cn/tracers/api.go index 557abadddc..0144385420 100644 --- a/node/cn/tracers/api.go +++ b/node/cn/tracers/api.go @@ -67,7 +67,7 @@ const ( // on top of memory. // For non-archive nodes, this limit _will_ be overblown, as disk-backed tries // will only be found every ~15K blocks or so. - // For klaytn, this value is set to a value 4 times larger compared to the ethereum setting. + // For Kaia, this value is set to a value 4 times larger compared to the ethereum setting. defaultTracechainMemLimit = common.StorageSize(4 * 500 * 1024 * 1024) // fastCallTracer is the go-version callTracer which is lighter and faster than diff --git a/node/cn/tracers/tracers.go b/node/cn/tracers/tracers.go index ea0b28929c..698ad2d2d0 100644 --- a/node/cn/tracers/tracers.go +++ b/node/cn/tracers/tracers.go @@ -40,7 +40,7 @@ func camel(str string) string { return strings.Join(pieces, "") } -// init retrieves the JavaScript transaction tracers included in Klaytn. +// init retrieves the JavaScript transaction tracers included in Kaia. func init() { for _, file := range tracers.AssetNames() { name := camel(strings.TrimSuffix(file, ".js")) diff --git a/node/config.go b/node/config.go index e380dca622..3196634517 100644 --- a/node/config.go +++ b/node/config.go @@ -54,7 +54,7 @@ const ( // all registered services. type Config struct { // Name sets the instance name of the node. It must not contain the / character and is - // used in the devp2p node identifier. The instance name of klaytn is one among "kcn", "ken", and "kpn". + // used in the devp2p node identifier. The instance name of Kaia is one among "kcn", "ken", and "kpn". // If no value is specified, the basename of the current executable is used. Name string `toml:"-"` @@ -283,7 +283,7 @@ func DefaultGRPCEndpoint() string { // NodeName returns the devp2p node identifier. func (c *Config) NodeName() string { name := c.name() - // Backwards compatibility: previous versions used title-cased "Klaytn", keep that. + // Backwards compatibility: previous versions used title-cased "Kaia", keep that. if name == "klay" || name == "klay-testnet" { name = "Klaytn" } diff --git a/node/doc.go b/node/doc.go index 638500e9c4..3c319c6ea0 100644 --- a/node/doc.go +++ b/node/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package node sets up multi-protocol Klaytn nodes. +Package node sets up multi-protocol Kaia nodes. In the model exposed by this package, a node is a collection of services which use shared resources to provide RPC APIs. Services can also offer devp2p protocols, which are wired diff --git a/node/sc/bridge_manager.go b/node/sc/bridge_manager.go index 577af56d70..4c2d1d9476 100644 --- a/node/sc/bridge_manager.go +++ b/node/sc/bridge_manager.go @@ -437,7 +437,7 @@ func (bi *BridgeInfo) GetCurrentBlockNumber() (uint64, error) { return bi.subBridge.remoteBackend.CurrentBlockNumber(context.Background()) } -// DecodeRLP decodes the Klaytn +// DecodeRLP decodes the Kaia func (b *BridgeJournal) DecodeRLP(s *rlp.Stream) error { var LegacyBridgeAddrInfo struct { LocalAddress common.Address @@ -469,7 +469,7 @@ func (b *BridgeJournal) DecodeRLP(s *rlp.Stream) error { return nil } -// EncodeRLP serializes a BridgeJournal into the Klaytn RLP BridgeJournal format. +// EncodeRLP serializes a BridgeJournal into the Kaia RLP BridgeJournal format. func (b *BridgeJournal) EncodeRLP(w io.Writer) error { return rlp.Encode(w, []interface{}{ b.BridgeAlias, @@ -1161,7 +1161,7 @@ func (bm *BridgeManager) SetERC20Fee(bridgeAddr, tokenAddr common.Address, fee * return tx.Hash(), nil } -// SetKLAYFee set the KLAY transfer fee on the bridge contract. +// SetKLAYFee set the KAIA transfer fee on the bridge contract. func (bm *BridgeManager) SetKLAYFee(bridgeAddr common.Address, fee *big.Int) (common.Hash, error) { bi, ok := bm.GetBridgeInfo(bridgeAddr) if !ok { @@ -1218,7 +1218,7 @@ func (bm *BridgeManager) GetERC20Fee(bridgeAddr, tokenAddr common.Address) (*big return bi.bridge.FeeOfERC20(nil, tokenAddr) } -// GetKLAYFee returns the KLAY transfer fee on the bridge contract. +// GetKLAYFee returns the KAIA transfer fee on the bridge contract. func (bm *BridgeManager) GetKLAYFee(bridgeAddr common.Address) (*big.Int, error) { bi, ok := bm.GetBridgeInfo(bridgeAddr) if !ok { diff --git a/node/sc/bridge_manager_test.go b/node/sc/bridge_manager_test.go index 48b51ad2be..d70879fec0 100644 --- a/node/sc/bridge_manager_test.go +++ b/node/sc/bridge_manager_test.go @@ -329,7 +329,7 @@ func TestBridgeManager(t *testing.T) { assert.Equal(t, testToken.String(), balance.String()) } - // 11. Check KLAY balance + // 11. Check KAIA balance { balance, err = sim.BalanceAt(context.Background(), bob.From, nil) assert.Equal(t, nil, err) @@ -821,7 +821,7 @@ func TestBridgeManagerWithFee(t *testing.T) { CheckReceipt(sim, tx, 1*time.Second, types.ReceiptStatusSuccessful, t) } - // 9-1. Request KLAY transfer from Alice to Bob with same feeLimit with fee + // 9-1. Request KAIA transfer from Alice to Bob with same feeLimit with fee { tx, err = pBridge.RequestKLAYTransfer(&bind.TransactOpts{From: Alice.From, Signer: Alice.Signer, Value: big.NewInt(testKLAY + KLAYFee), GasLimit: testGasLimit}, Bob.From, big.NewInt(testKLAY), nil) if err != nil { @@ -834,7 +834,7 @@ func TestBridgeManagerWithFee(t *testing.T) { CheckReceipt(sim, tx, 1*time.Second, types.ReceiptStatusSuccessful, t) } - // 9-2. Request KLAY transfer from Alice to Bob with zero feeLimit + // 9-2. Request KAIA transfer from Alice to Bob with zero feeLimit { tx, err = pBridge.RequestKLAYTransfer(&bind.TransactOpts{From: Alice.From, Signer: Alice.Signer, Value: big.NewInt(testKLAY), GasLimit: testGasLimit}, Bob.From, big.NewInt(testKLAY), nil) assert.Equal(t, nil, err) @@ -844,7 +844,7 @@ func TestBridgeManagerWithFee(t *testing.T) { CheckReceipt(sim, tx, 1*time.Second, types.ReceiptStatusErrExecutionReverted, t) } - // 9-3. Request KLAY transfer from Alice to Bob with insufficient feeLimit + // 9-3. Request KAIA transfer from Alice to Bob with insufficient feeLimit { tx, err = pBridge.RequestKLAYTransfer(&bind.TransactOpts{From: Alice.From, Signer: Alice.Signer, Value: big.NewInt(testKLAY + (KLAYFee - 1)), GasLimit: testGasLimit}, Bob.From, big.NewInt(testKLAY), nil) assert.Equal(t, nil, err) @@ -854,7 +854,7 @@ func TestBridgeManagerWithFee(t *testing.T) { CheckReceipt(sim, tx, 1*time.Second, types.ReceiptStatusErrExecutionReverted, t) } - // 9-4. Request KLAY transfer from Alice to Bob with enough feeLimit + // 9-4. Request KAIA transfer from Alice to Bob with enough feeLimit { tx, err = pBridge.RequestKLAYTransfer(&bind.TransactOpts{From: Alice.From, Signer: Alice.Signer, Value: big.NewInt(testKLAY + (KLAYFee + 1)), GasLimit: testGasLimit}, Bob.From, big.NewInt(testKLAY), nil) assert.Equal(t, nil, err) @@ -864,7 +864,7 @@ func TestBridgeManagerWithFee(t *testing.T) { CheckReceipt(sim, tx, 1*time.Second, types.ReceiptStatusSuccessful, t) } - // 9-4. Request KLAY transfer from Alice to Alice through () payable method + // 9-4. Request KAIA transfer from Alice to Alice through () payable method { nonce, _ := sim.PendingNonceAt(context.Background(), Alice.From) gasPrice, _ := sim.SuggestGasPrice(context.Background()) @@ -901,7 +901,7 @@ func TestBridgeManagerWithFee(t *testing.T) { assert.Equal(t, ERC20Fee*4, balance.Int64()) } - // 11. Check KLAY balance + // 11. Check KAIA balance { balance, _ = sim.BalanceAt(context.Background(), Alice.From, nil) t.Log("Alice KLAY balance :", balance) @@ -2577,7 +2577,7 @@ func TestBridgeAddressType(t *testing.T) { } } -// DeployBridgeTest is a test-only function which deploys a bridge contract with some amount of KLAY. +// DeployBridgeTest is a test-only function which deploys a bridge contract with some amount of KAIA. func (bm *BridgeManager) DeployBridgeTest(backend *backends.SimulatedBackend, amountOfDeposit int64, local bool) (common.Address, error) { var acc *accountInfo diff --git a/node/sc/bridge_test.go b/node/sc/bridge_test.go index ab74973d50..ca07c8b60c 100644 --- a/node/sc/bridge_test.go +++ b/node/sc/bridge_test.go @@ -66,7 +66,7 @@ func WaitMined(tx *types.Transaction, backend bind.DeployBackend, t *testing.T) return nil } -// TransferSignedTx sends the transaction to transfer KLAY from auth to `to` and waits the execution of the transaction. +// TransferSignedTx sends the transaction to transfer KAIA from auth to `to` and waits the execution of the transaction. func TransferSignedTx(auth *bind.TransactOpts, backend *backends.SimulatedBackend, to common.Address, value *big.Int, t *testing.T) (common.Hash, *big.Int, error) { ctx := context.Background() diff --git a/node/sc/bridgepeer.go b/node/sc/bridgepeer.go index 72d52841eb..ca2fbb9110 100644 --- a/node/sc/bridgepeer.go +++ b/node/sc/bridgepeer.go @@ -45,10 +45,10 @@ const ( handshakeTimeout = 5 * time.Second ) -// BridgePeerInfo represents a short summary of the Klaytn Bridge sub-protocol metadata known +// BridgePeerInfo represents a short summary of the Kaia Bridge sub-protocol metadata known // about a connected peer. type BridgePeerInfo struct { - Version int `json:"version"` // Klaytn Bridge protocol version negotiated + Version int `json:"version"` // Kaia Bridge protocol version negotiated Head string `json:"head"` // SHA3 hash of the peer's best owned block } @@ -109,7 +109,7 @@ type BridgePeer interface { // GetRW returns the MsgReadWriter of the peer. GetRW() p2p.MsgReadWriter - // Handle is the callback invoked to manage the life cycle of a Klaytn Peer. When + // Handle is the callback invoked to manage the life cycle of a Kaia Peer. When // this function terminates, the Peer is disconnected. Handle(bn *MainBridge) error @@ -381,7 +381,7 @@ func (p *baseBridgePeer) GetRW() p2p.MsgReadWriter { return p.rw } -// Handle is the callback invoked to manage the life cycle of a Klaytn Peer. When +// Handle is the callback invoked to manage the life cycle of a Kaia Peer. When // this function terminates, the Peer is disconnected. func (p *baseBridgePeer) Handle(bn *MainBridge) error { return bn.handle(p) @@ -393,7 +393,7 @@ type singleChannelPeer struct { } // bridgePeerSet represents the collection of active peers currently participating in -// the Klaytn sub-protocol. +// the Kaia sub-protocol. type bridgePeerSet struct { peers map[string]BridgePeer lock sync.RWMutex diff --git a/node/sc/config.go b/node/sc/config.go index e3522b91a8..e621d8e05c 100644 --- a/node/sc/config.go +++ b/node/sc/config.go @@ -43,7 +43,7 @@ const ( var logger = log.NewModuleLogger(log.ServiceChain) func DefaultServiceChainConfig() *SCConfig { - // DefaultConfig contains default settings for use on the Klaytn main net. + // DefaultConfig contains default settings for use on the Kaia main net. return &SCConfig{ NetworkId: 1, MaxPeer: 1, // Only a single main-bridge and sub-bridge pair is allowed. @@ -113,7 +113,7 @@ type SCConfig struct { // NodeName returns the devp2p node identifier. func (c *SCConfig) NodeName() string { name := c.name() - // Backwards compatibility: previous versions used title-cased "Klaytn", keep that. + // Backwards compatibility: previous versions used title-cased "Kaia", keep that. if name == "klay" || name == "klay-testnet" { name = "Klaytn" } diff --git a/node/sc/doc.go b/node/sc/doc.go index fd8ec297dd..579454858e 100644 --- a/node/sc/doc.go +++ b/node/sc/doc.go @@ -17,34 +17,34 @@ /* Package sc implements an auxiliary blockchain called Service Chain. -Service Chains in Klaytn are auxiliary blockchains independent from the Klaytn main chain. +Service Chains in Kaia are auxiliary blockchains independent from the Kaia main chain. They mostly act like normal Kaia blockchains but has additional features to connect them to another Kaia network. -They can be used as separate public/private blockchains or child chains of a Klaytn chain (or another Service Chain). +They can be used as separate public/private blockchains or child chains of a Kaia chain (or another Service Chain). The followings describe main features of Service chain. - Anchoring block data of Service Chain - Value Transfer (KLAY, KCT) - Various bridge contract configurations - Support high availability -Service Chain provides the inter-connectivity to another Klaytn chain through two bridges, MainBridge and SubBridge. +Service Chain provides the inter-connectivity to another Kaia chain through two bridges, MainBridge and SubBridge. Each bridge has a bridge contract on different blockchain networks and pairs up with another bridge to interact with. They are directly connected on the network layer and communicate with each other through p2p messages enabling inter-chain operations. MainBridge is configured on the node of a parent chain and SubBridge is configured on the node of a child chain. -Both of a Klaytn chain and a Service Chain can be a parent chain, but only a Service Chain can be a child chain. +Both of a Kaia chain and a Service Chain can be a parent chain, but only a Service Chain can be a child chain. The block data of a child chain can be anchored to the bridge contract of MainBridge with the chain data anchoring transaction. Unlike the block data anchoring, user data transfer is bi-directional. -For example, users can transfer KLAY of Klaytn main chain to an address of a Service Chain or vice versa. +For example, users can transfer KAIA of Kaia main chain to an address of a Service Chain or vice versa. This kind of inter-chain operation requires read/write ability on both chains but does not use MainBridge functions in the process. Instead of the MainBridge, the SubBridge in the child chain directly calls read/write operations to the parent chain node through RPC (In the basic configuration, the parent chain node is the same with the MainBridge enabled node). Of course, the accounts of both chains should be registered on the SubBridge to generate transactions. -Following is the process of the KLAY transfer from Klaytn main chain to a Service Chain. -1. A user executes the inter-chain operation by sending a transaction with KLAY to the bridge contract of Klaytn main chain. -2. The bridge contract keeps KLAY on its account and creates an event for the inter-chain request. +Following is the process of the KAIA transfer from Kaia main chain to a Service Chain. +1. A user executes the inter-chain operation by sending a transaction with KAIA to the bridge contract of Kaia main chain. +2. The bridge contract keeps KAIA on its account and creates an event for the inter-chain request. 3. The SubBridge subscribes the event log on the main chain node through RPC. 4. The SubBridge generates a transaction on the child chain node to the bridge contract of the SubBridge. -5. Finally, The bridge contract mints (or uses its KLAY) and sends KLAY to the target address. +5. Finally, The bridge contract mints (or uses its KLAY) and sends KAIA to the target address. # Source Files diff --git a/node/sc/mainbridge.go b/node/sc/mainbridge.go index 270e7b7eb2..f91110fefa 100644 --- a/node/sc/mainbridge.go +++ b/node/sc/mainbridge.go @@ -52,7 +52,7 @@ const ( rpcBufferSize = 1024 ) -// MainBridgeInfo represents a short summary of the Klaytn sub-protocol metadata +// MainBridgeInfo represents a short summary of the Kaia sub-protocol metadata // known about the host peer. type MainBridgeInfo struct { Network uint64 `json:"network"` // Kaia network ID @@ -191,7 +191,7 @@ func (mb *MainBridge) BridgePeerSet() *bridgePeerSet { return mb.peers } -// APIs returns the collection of RPC services the Klaytn sc package offers. +// APIs returns the collection of RPC services the Kaia sc package offers. // NOTE, some of these services probably need to be moved to somewhere else. func (mb *MainBridge) APIs() []rpc.API { // Append all the local APIs and return @@ -514,7 +514,7 @@ func (mb *MainBridge) syncer() { } func (mb *MainBridge) synchronise(peer BridgePeer) { - // @TODO Klaytn ServiceChain Sync + // @TODO Kaia ServiceChain Sync } // Stop implements node.Service, terminating all internal goroutines used by the diff --git a/node/sc/multi_bridge_test.go b/node/sc/multi_bridge_test.go index e9794654f5..2ac9f12488 100644 --- a/node/sc/multi_bridge_test.go +++ b/node/sc/multi_bridge_test.go @@ -526,7 +526,7 @@ func TestMultiBridgeERC721Transfer(t *testing.T) { } // TestMultiBridgeSetKLAYFee checks the following: -// - successfully setting KLAY fee +// - successfully setting KAIA fee func TestMultiBridgeSetKLAYFee(t *testing.T) { info := prepareMultiBridgeEventTest(t) defer info.sim.Close() @@ -796,7 +796,7 @@ func TestMultiOperatorKLAYTransferDup(t *testing.T) { } // TestMultiBridgeSetKLAYFeeErrNonce checks the following: -// - failed to set KLAY fee because of the wrong nonce. +// - failed to set KAIA fee because of the wrong nonce. func TestMultiBridgeSetKLAYFeeErrNonce(t *testing.T) { info := prepareMultiBridgeEventTest(t) defer info.sim.Close() diff --git a/node/sc/subbridge.go b/node/sc/subbridge.go index 5dec8bc212..735acde4dd 100644 --- a/node/sc/subbridge.go +++ b/node/sc/subbridge.go @@ -751,7 +751,7 @@ func (sb *SubBridge) syncer() { } func (sb *SubBridge) synchronise(peer BridgePeer) { - // @TODO Klaytn ServiceChain Sync + // @TODO Kaia ServiceChain Sync } // Stop implements node.Service, terminating all internal goroutines used by the diff --git a/params/bootnodes.go b/params/bootnodes.go index 979295603f..801c47033b 100644 --- a/params/bootnodes.go +++ b/params/bootnodes.go @@ -28,7 +28,7 @@ type bootnodesByTypes struct { Addrs []string } -// MainnetBootnodes are the URLs of bootnodes running on the Klaytn main network. +// MainnetBootnodes are the URLs of bootnodes running on the Kaia main network. var MainnetBootnodes = map[common.ConnType]bootnodesByTypes{ common.CONSENSUSNODE: { []string{}, diff --git a/params/config.go b/params/config.go index b9e60a6087..b29bb25698 100644 --- a/params/config.go +++ b/params/config.go @@ -124,7 +124,7 @@ var ( } // AllGxhashProtocolChanges contains every protocol change (GxIPs) introduced - // and accepted by the klaytn developers into the Kaia consensus. + // and accepted by the Kaia developers into the Kaia consensus. // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. @@ -136,7 +136,7 @@ var ( } // AllCliqueProtocolChanges contains every protocol change (GxIPs) introduced - // and accepted by the klaytn developers into the Clique consensus. + // and accepted by the Kaia developers into the Clique consensus. // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. diff --git a/params/denomination.go b/params/denomination.go index 89b33ae146..891b01538c 100644 --- a/params/denomination.go +++ b/params/denomination.go @@ -20,7 +20,7 @@ package params -// These are the multipliers for KLAY denominations. +// These are the multipliers for KAIA denominations. // Example: To get the peb value of an amount in 'ston', use // // new(big.Int).Mul(value, big.NewInt(params.Ston)) diff --git a/params/doc.go b/params/doc.go index 61d3e85080..c2b97824b4 100644 --- a/params/doc.go +++ b/params/doc.go @@ -15,7 +15,7 @@ // along with the klaytn library. If not, see . /* -Package params contains configuration parameters for Klaytn. +Package params contains configuration parameters for Kaia. # Source Files @@ -24,8 +24,8 @@ Each file contains following parameters. - bootnodes.go : Provides boot nodes information for Cypress and Baobab - computation_cost_params.go : Defines computation costs for each opcode - config.go : Defines various structs for different settings of a network. Also provides getters for those settings - - denomination.go : Defines units of KLAY - - gas_table.go : Organizes gas prices for different Klaytn phases. Currently prices for Cypress is defined + - denomination.go : Defines units of KAIA + - gas_table.go : Organizes gas prices for different Kaia phases. Currently prices for Cypress is defined - governance_params.go : Defines constants for governance and reward system. Also provides setters and getters for reward releated variables - network_params.go : Defines network parameters that need to be constant between clients. Only `BloomBitsBlocks` is defined at the moment - protocol_params.go : Defines fee schedule, total time limit and maximum computation cost diff --git a/reward/doc.go b/reward/doc.go index 971c4d3ca4..b20e2f6d13 100644 --- a/reward/doc.go +++ b/reward/doc.go @@ -15,17 +15,17 @@ // along with the klaytn library. If not, see . /* -Package reward implements the Klaytn Reward System. -The Klaytn reward system manages stakingInfo and distributes block rewards. +Package reward implements the Kaia Reward System. +The Kaia reward system manages stakingInfo and distributes block rewards. # Managing stakingInfo Klaytn uses WeightedRandom policy to choose a block proposer. -It means, the percentage of becoming a block proposer depends on how much KLAY a node has staked. +It means, the percentage of becoming a block proposer depends on how much KAIA a node has staked. Therefore, a node with stakes more than others will have more opportunities than other nodes. StakingInfo is a data including stakingAmount and addresses (node, staking, reward, KFF and KCF). -StakingAmount is a balance how much KLAY each node has staked. Only CCO can stake KLAY. +StakingAmount is a balance how much KAIA each node has staked. Only CCO can stake KLAY. Each CCO stakes KLAY by a smart contract called staking contract. StakingAmount is derived by checking balance of staking contract. StakingInfo has 5 types of addresses. All addresses are obtained by the addressBookContract which is pre-deployed in the genesis block. diff --git a/reward/reward_distributor.go b/reward/reward_distributor.go index fe6fb453fb..0675d45cd7 100644 --- a/reward/reward_distributor.go +++ b/reward/reward_distributor.go @@ -519,7 +519,7 @@ func calcShares(stakingInfo *StakingInfo, stakeReward *big.Int, minStake uint64) for _, node := range cns.GetAllNodes() { if node.StakingAmount > minStake { effectiveStake := new(big.Int).SetUint64(node.StakingAmount - minStake) - // The KLAY unit will cancel out: + // The KAIA unit will cancel out: // rewardAmount (peb) = stakeReward (peb) * effectiveStake (KLAY) / totalStakes (KLAY) rewardAmount := new(big.Int).Mul(stakeReward, effectiveStake) rewardAmount = rewardAmount.Div(rewardAmount, totalStakes) diff --git a/reward/staking_manager.go b/reward/staking_manager.go index 89467e2c7a..e65ea42b23 100644 --- a/reward/staking_manager.go +++ b/reward/staking_manager.go @@ -136,7 +136,7 @@ func GetStakingInfo(blockNum uint64) *StakingInfo { // If the given number is not on the staking block, it returns nil. // // Fixup for Gini coefficients: -// Klaytn core stores Gini: -1 in its database. +// Kaia core stores Gini: -1 in its database. // We ensure GetStakingInfoOnStakingBlock() to always return meaningful Gini. // - If cache hit -> fillMissingGini -> modifies cached in-memory object // - If db hit -> fillMissingGini -> write to cache diff --git a/storage/database/doc.go b/storage/database/doc.go index c54c796603..d3c99243cc 100644 --- a/storage/database/doc.go +++ b/storage/database/doc.go @@ -15,7 +15,7 @@ // along with the klaytn library. If not, see . /* -Package database implements various types of databases used in Klaytn. +Package database implements various types of databases used in Kaia. This package is used to read/write data from/to the persistent layer. # Overview of database package diff --git a/storage/database/dynamodb.go b/storage/database/dynamodb.go index 5ab34e6c65..ab0c3a6029 100644 --- a/storage/database/dynamodb.go +++ b/storage/database/dynamodb.go @@ -118,7 +118,7 @@ type DynamoData struct { // CustomRetryer wraps AWS SDK's built in DefaultRetryer adding additional custom features. // DefaultRetryer of AWS SDK has its own standard of retryable situation, // but it's not proper when network environment is not stable. -// CustomRetryer conservatively retry in all error cases because DB failure of Klaytn is critical. +// CustomRetryer conservatively retry in all error cases because DB failure of Kaia is critical. type CustomRetryer struct { client.DefaultRetryer } diff --git a/storage/database/leveldb_database.go b/storage/database/leveldb_database.go index 072d3fd8ea..394bd687c4 100644 --- a/storage/database/leveldb_database.go +++ b/storage/database/leveldb_database.go @@ -76,7 +76,7 @@ func GetDefaultLevelDBOption() *opt.Options { } // GetOpenFilesLimit raises out the number of allowed file handles per process -// for Klaytn and returns half of the allowance to assign to the database. +// for Kaia and returns half of the allowance to assign to the database. func GetOpenFilesLimit() int { limit, err := fdlimit.Current() if err != nil { diff --git a/storage/statedb/doc.go b/storage/statedb/doc.go index 706a548e34..23121b44d2 100644 --- a/storage/statedb/doc.go +++ b/storage/statedb/doc.go @@ -41,7 +41,7 @@ periodically flush a couple tries to disk, garbage collecting the remainder. Related functions and variables are defined in the files listed below - database.go : Implementation of Database struct - db_migration.go : Implementation of DB migration - - derive_sha.go : Implementation of DeriveShaOrig used in Klaytn + - derive_sha.go : Implementation of DeriveShaOrig used in Kaia - encoding.go : Implementation of 3 encodings: KEYBYTES, HEX and COMPACT - errors.go : Errors used in this package - hasher.go : Implementation of recursive and bottom-up hashing diff --git a/storage/statedb/print_trie_test.go b/storage/statedb/print_trie_test.go index 291ba37767..9420bfc0bf 100644 --- a/storage/statedb/print_trie_test.go +++ b/storage/statedb/print_trie_test.go @@ -143,7 +143,7 @@ func SerializeEdges(edges []VisEdge) (ret string) { func TestPrintTrie(t *testing.T) { trie := newEmptyTrie() vals := []struct{ k, v string }{ - //{"klaytn", "wookiedoo"}, + //{"Kaia", "wookiedoo"}, //{"horse", "stallion"}, //{"shaman", "horse"}, //{"doge", "coin"}, diff --git a/storage/statedb/trie_test.go b/storage/statedb/trie_test.go index 1cda8a1ec0..31ea3796c4 100644 --- a/storage/statedb/trie_test.go +++ b/storage/statedb/trie_test.go @@ -302,7 +302,7 @@ func TestReplication(t *testing.T) { {"horse", "stallion"}, // {"shaman", "horse"}, // {"doge", "coin"}, - // {"klaytn", ""}, + // {"Kaia", ""}, // {"dog", "puppy"}, // {"somethingveryoddindeedthis is", "myothernodedata"}, // {"shaman", ""}, diff --git a/tests/account_keytype_test.go b/tests/account_keytype_test.go index 5d13f8b0e2..85e651cd09 100644 --- a/tests/account_keytype_test.go +++ b/tests/account_keytype_test.go @@ -512,7 +512,7 @@ func TestDefaultTxsWithDefaultAccountKey(t *testing.T) { fmt.Println("senderAddr = ", sender.Addr.String()) } - // send KLAY to sender + // send KAIA to sender { var txs types.Transactions @@ -1655,7 +1655,7 @@ func TestAccountUpdateRoleBasedKey(t *testing.T) { } // TestAccountUpdateRoleBasedKeyNested tests account update with a nested RoleBasedKey. -// Nested RoleBasedKey is not allowed in Klaytn. +// Nested RoleBasedKey is not allowed in Kaia. // 1. Create an account with a RoleBasedKey. // 2. Update an accountKey with a nested RoleBasedKey func TestAccountUpdateRoleBasedKeyNested(t *testing.T) { diff --git a/tests/benchmarks/doc.go b/tests/benchmarks/doc.go index 2fe5ea644c..f567ac2611 100644 --- a/tests/benchmarks/doc.go +++ b/tests/benchmarks/doc.go @@ -15,6 +15,6 @@ // along with the klaytn library. If not, see . /* -Package benchmarks contains go-benchmark tests to measure performance of Klaytn. +Package benchmarks contains go-benchmark tests to measure performance of Kaia. */ package benchmarks diff --git a/tests/block_test.go b/tests/block_test.go index a8defab793..baadf5d0a3 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -40,7 +40,7 @@ func TestBlockchain(t *testing.T) { // Still failing tests // bt.skipLoad(`^bcWalletTest.*_Byzantium$`) - // TODO-Kaia Update BlockchainTests first to enable this test, since block header has been changed in Klaytn. + // TODO-Kaia Update BlockchainTests first to enable this test, since block header has been changed in Kaia. //bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) { // if err := bt.checkFailure(t, name, test.Run()); err != nil { // t.Error(err) diff --git a/tests/doc.go b/tests/doc.go index ac9909d297..0b652ac26b 100644 --- a/tests/doc.go +++ b/tests/doc.go @@ -15,6 +15,6 @@ // along with the klaytn library. If not, see . /* -Package tests implements execution of Klaytn scenario-based tests and JSON tests. +Package tests implements execution of Kaia scenario-based tests and JSON tests. */ package tests diff --git a/tests/gov_contract_test.go b/tests/gov_contract_test.go index ff3f92e30c..bfde4c334b 100644 --- a/tests/gov_contract_test.go +++ b/tests/gov_contract_test.go @@ -238,7 +238,7 @@ func deployGovParamTx_batchSetParamIn(t *testing.T, node *cn.CN, owner *TestAcco return txs } -// Klaytn node only decodes the byte-array param values (refer to params/governance_paramset.go). +// Kaia node only decodes the byte-array param values (refer to params/governance_paramset.go). // Encoding is the job of transaction senders (i.e. clients and dApps). // This is a reference implementation of such encoder. func chainConfigToBytesMap(t *testing.T, config *params.ChainConfig) map[string][]byte { diff --git a/tests/hard_fork_test.go b/tests/hard_fork_test.go index d97b862104..02383d8ff2 100644 --- a/tests/hard_fork_test.go +++ b/tests/hard_fork_test.go @@ -199,7 +199,7 @@ func genBlocks(t *testing.T) { // Preparing step { var txs types.Transactions - // Preparing step. Send KLAY to LegacyAccount. + // Preparing step. Send KAIA to LegacyAccount. { amount := new(big.Int).Mul(big.NewInt(3000), new(big.Int).SetUint64(params.KLAY)) tx := types.NewTransaction(reservoir.GetNonce(), @@ -213,7 +213,7 @@ func genBlocks(t *testing.T) { reservoir.AddNonce() } - // Preparing step. Send KLAY to KlaytnAcounts. + // Preparing step. Send KAIA to KlaytnAcounts. for i := 1; i < len(accountTypes); i++ { // create an account which account key will be replaced to one of account key types. anon, err := createAnonymousAccount(getRandomPrivateKeyString(t)) diff --git a/tests/init.go b/tests/init.go index 962281e30f..35a1e81875 100644 --- a/tests/init.go +++ b/tests/init.go @@ -28,7 +28,7 @@ import ( ) // Forks table defines supported forks and their chain config. -// TODO-Kaia-RemoveLater Remove fork configs that are not meaningful for Klaytn +// TODO-Kaia-RemoveLater Remove fork configs that are not meaningful for Kaia var Forks = map[string]*params.ChainConfig{ "Frontier": { ChainID: big.NewInt(1), diff --git a/tests/klay_blockchain_test.go b/tests/klay_blockchain_test.go index ab2477c921..e3c8bf7a05 100644 --- a/tests/klay_blockchain_test.go +++ b/tests/klay_blockchain_test.go @@ -103,7 +103,7 @@ func newBlockchain(t *testing.T, config *params.ChainConfig, genesis *blockchain t.Fatal(err) } - // Create a Klaytn node + // Create a Kaia node fullNode, node, err := newKlaytnNode(t, workspace, validator, config, genesis) assert.NoError(t, err) if err := node.StartMining(false); err != nil { @@ -141,7 +141,7 @@ func createAccount(t *testing.T, numAccounts int, validator *TestAccountType) (* return richAccount, accounts, contractAccounts } -// newKlaytnNode creates a klaytn node +// newKlaytnNode creates a Kaia node func newKlaytnNode(t *testing.T, dir string, validator *TestAccountType, config *params.ChainConfig, genesis *blockchain.Genesis) (*node.Node, *cn.CN, error) { var klaytnNode *cn.CN diff --git a/tests/klay_test.go b/tests/klay_test.go index 6a78231432..4787928d67 100644 --- a/tests/klay_test.go +++ b/tests/klay_test.go @@ -181,7 +181,7 @@ func makeTransactionsToRandom(bcdata *BCData, accountMap *AccountMap, signer typ return txs, nil } -// makeTransactionsToRandom makes `numTransactions` transactions which transfers a random amount of KLAY +// makeTransactionsToRandom makes `numTransactions` transactions which transfers a random amount of KAIA // from accounts in `AccountMap` to a randomly generated account. // It returns the generated transactions if successful, or it returns an error if failed. func makeNewTransactionsToRandom(bcdata *BCData, accountMap *AccountMap, signer types.Signer, numTransactions int, @@ -236,7 +236,7 @@ func makeNewTransactionsToRandom(bcdata *BCData, accountMap *AccountMap, signer return txs, nil } -// makeNewTransactionsToRing makes `numTransactions` transactions which transfers a fixed amount of KLAY +// makeNewTransactionsToRing makes `numTransactions` transactions which transfers a fixed amount of KAIA // from account with index i to account with index (i+1). To have same amount of balance before and after the test, // total number of transactions should be the multiple of number of addresses. // It returns the generated transactions if successful, or it returns an error if failed. @@ -643,7 +643,7 @@ func TestWronglyEncodedAccountKey(t *testing.T) { } // BenchmarkValueTransfer measures TPS without network traffics -// while creating a block. As a disclaimer, this function does not tell that Klaytn +// while creating a block. As a disclaimer, this function does not tell that Kaia // can perform this amount of TPS in real environment. func BenchmarkValueTransfer(t *testing.B) { log.EnableLogForTest(log.LvlCrit, log.LvlTrace) @@ -697,7 +697,7 @@ func BenchmarkValueTransfer(t *testing.B) { } // BenchmarkNewValueTransfer measures TPS without network traffics -// while creating a block. As a disclaimer, this function does not tell that Klaytn +// while creating a block. As a disclaimer, this function does not tell that Kaia // can perform this amount of TPS in real environment. func BenchmarkNewValueTransfer(t *testing.B) { log.EnableLogForTest(log.LvlCrit, log.LvlTrace) diff --git a/tests/klay_test_account_map_test.go b/tests/klay_test_account_map_test.go index c076ebe58f..9b8fbf003e 100644 --- a/tests/klay_test_account_map_test.go +++ b/tests/klay_test_account_map_test.go @@ -88,7 +88,7 @@ func (a *AccountMap) Initialize(bcdata *BCData) error { return err } - // NOTE-Kaia-Issue973 Developing Klaytn token economy + // NOTE-Kaia-Issue973 Developing Kaia token economy // Add predefined accounts related to reward mechanism rewardContractAddr := common.HexToAddress("0x0000000000000000000000000000000000000441") kcfContractAddr := common.HexToAddress("0x0000000000000000000000000000000000000442") diff --git a/tests/pregenerated_data_execution_test.go b/tests/pregenerated_data_execution_test.go index 660388f9c8..401029abd6 100644 --- a/tests/pregenerated_data_execution_test.go +++ b/tests/pregenerated_data_execution_test.go @@ -100,7 +100,7 @@ var ( savedTestDataDir string ) -// dataExecutionTest is to check the performance of Klaytn with pre-generated data. +// dataExecutionTest is to check the performance of Kaia with pre-generated data. // It generates warmUpTxs and executionTxs first, and then initialize blockchain and database to // remove any effects caused by generating transactions. And then it executes warmUpTxs and executionTxs. // To run the test, original data directory should be located at "$GOPATH/src/github.com/klaytn/" diff --git a/tests/testutil_blockchain_test.go b/tests/testutil_blockchain_test.go index bfbc16a442..e5375996aa 100644 --- a/tests/testutil_blockchain_test.go +++ b/tests/testutil_blockchain_test.go @@ -55,7 +55,7 @@ type blockchainTestOverrides struct { numNodes int // default: 1 numAccounts int // default: numNodes config *params.ChainConfig // default: blockchainTestChainConfig - alloc blockchain.GenesisAlloc // default: 10_000_000 KLAY for each account + alloc blockchain.GenesisAlloc // default: 10_000_000 KAIA for each account } var blockchainTestChainConfig = ¶ms.ChainConfig{ diff --git a/tests/tx_gas_calculation_test.go b/tests/tx_gas_calculation_test.go index a524058b99..827187d8a1 100644 --- a/tests/tx_gas_calculation_test.go +++ b/tests/tx_gas_calculation_test.go @@ -131,7 +131,7 @@ func TestGasCalculation(t *testing.T) { signer := types.LatestSignerForChainID(bcdata.bc.Config().ChainID) gasPrice := new(big.Int).SetUint64(bcdata.bc.Config().UnitPrice) - // Preparing step. Send KLAY to a KlaytnAcount. + // Preparing step. Send KAIA to a KlaytnAcount. { var txs types.Transactions @@ -149,7 +149,7 @@ func TestGasCalculation(t *testing.T) { reservoir.AddNonce() } - // Preparing step. Send KLAY to KlaytnAcounts. + // Preparing step. Send KAIA to KlaytnAcounts. for i := 1; i < len(accountTypes); i++ { // create an account which account key will be replaced to one of account key types. anon, err := createAnonymousAccount(getRandomPrivateKeyString(t)) diff --git a/tests/tx_validation_test.go b/tests/tx_validation_test.go index b137ce8e91..8ef6307a25 100644 --- a/tests/tx_validation_test.go +++ b/tests/tx_validation_test.go @@ -790,7 +790,7 @@ func TestLegacyTxFromNonLegacyAcc(t *testing.T) { assert.Equal(t, types.ErrSender(kerrors.ErrLegacyTransactionMustBeWithLegacyKey), err) } -// TestInvalidBalance generates invalid txs which don't have enough KLAY, and will be invalidated during txPool insert process. +// TestInvalidBalance generates invalid txs which don't have enough KAIA, and will be invalidated during txPool insert process. func TestInvalidBalance(t *testing.T) { testTxTypes := []testTxType{} for i := types.TxTypeLegacyTransaction; i < types.TxTypeEthereumLast; i++ { @@ -835,7 +835,7 @@ func TestInvalidBalance(t *testing.T) { contract, err := createAnonymousAccount("a5c9a50938a089618167c9d67dbebc0deaffc3c76ddc6b40c2777ae59438e989") assert.Equal(t, nil, err) - // test account will be lack of KLAY + // test account will be lack of KAIA testAcc, err := createDefaultAccount(accountkey.AccountKeyTypeLegacy) assert.Equal(t, nil, err) @@ -878,7 +878,7 @@ func TestInvalidBalance(t *testing.T) { reservoir.AddNonce() } - // generate a test account with a specific amount of KLAY + // generate a test account with a specific amount of KAIA { var txs types.Transactions @@ -907,7 +907,7 @@ func TestInvalidBalance(t *testing.T) { txType := testTxType.txType if !txType.IsFeeDelegatedTransaction() { - // tx with a specific amount or a gasLimit requiring more KLAY than the sender has. + // tx with a specific amount or a gasLimit requiring more KAIA than the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -930,7 +930,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, blockchain.ErrInsufficientFundsFrom, err) } - // tx with a specific amount or a gasLimit requiring the exact KLAY the sender has. + // tx with a specific amount or a gasLimit requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -950,7 +950,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, nil, err) // Since `txpool.AddRemote` does not make a block, - // the sender can send txs to txpool in multiple times (by the for loop) with limited KLAY. + // the sender can send txs to txpool in multiple times (by the for loop) with limited KAIA. err = txpool.AddRemote(tx) assert.Equal(t, nil, err) testAcc.AddNonce() @@ -958,7 +958,7 @@ func TestInvalidBalance(t *testing.T) { } if txType.IsFeeDelegatedTransaction() && !txType.IsFeeDelegatedWithRatioTransaction() { - // tx with a specific amount requiring more KLAY than the sender has. + // tx with a specific amount requiring more KAIA than the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -982,7 +982,7 @@ func TestInvalidBalance(t *testing.T) { } } - // tx with a specific gasLimit (or amount) requiring more KLAY than the feePayer has. + // tx with a specific gasLimit (or amount) requiring more KAIA than the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, testAcc, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1004,7 +1004,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, blockchain.ErrInsufficientFundsFeePayer, err) } - // tx with a specific amount requiring the exact KLAY the sender has. + // tx with a specific amount requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1024,14 +1024,14 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, nil, err) // Since `txpool.AddRemote` does not make a block, - // the sender can send txs to txpool in multiple times (by the for loop) with limited KLAY. + // the sender can send txs to txpool in multiple times (by the for loop) with limited KAIA. err = txpool.AddRemote(tx) assert.Equal(t, nil, err) testAcc.AddNonce() } } - // tx with a specific gasLimit (or amount) requiring the exact KLAY the feePayer has. + // tx with a specific gasLimit (or amount) requiring the exact KAIA the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, testAcc, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1050,7 +1050,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, nil, err) // Since `txpool.AddRemote` does not make a block, - // the sender can send txs to txpool in multiple times (by the for loop) with limited KLAY. + // the sender can send txs to txpool in multiple times (by the for loop) with limited KAIA. err = txpool.AddRemote(tx) assert.Equal(t, nil, err) reservoir.AddNonce() @@ -1058,7 +1058,7 @@ func TestInvalidBalance(t *testing.T) { } if txType.IsFeeDelegatedWithRatioTransaction() { - // tx with a specific amount and a gasLimit requiring more KLAY than the sender has. + // tx with a specific amount and a gasLimit requiring more KAIA than the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1090,7 +1090,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, blockchain.ErrInsufficientFundsFrom, err) } - // tx with a specific amount and a gasLimit requiring more KLAY than the feePayer has. + // tx with a specific amount and a gasLimit requiring more KAIA than the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, testAcc, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1115,7 +1115,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, blockchain.ErrInsufficientFundsFeePayer, err) } - // tx with a specific amount and a gasLimit requiring the exact KLAY the sender has. + // tx with a specific amount and a gasLimit requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1144,13 +1144,13 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, nil, err) // Since `txpool.AddRemote` does not make a block, - // the sender can send txs to txpool in multiple times (by the for loop) with limited KLAY. + // the sender can send txs to txpool in multiple times (by the for loop) with limited KAIA. err = txpool.AddRemote(tx) assert.Equal(t, nil, err) testAcc.AddNonce() } - // tx with a specific amount and a gasLimit requiring the exact KLAY the feePayer has. + // tx with a specific amount and a gasLimit requiring the exact KAIA the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, testAcc, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1172,7 +1172,7 @@ func TestInvalidBalance(t *testing.T) { assert.Equal(t, nil, err) // Since `txpool.AddRemote` does not make a block, - // the sender can send txs to txpool in multiple times (by the for loop) with limited KLAY. + // the sender can send txs to txpool in multiple times (by the for loop) with limited KAIA. err = txpool.AddRemote(tx) assert.Equal(t, nil, err) reservoir.AddNonce() @@ -1181,7 +1181,7 @@ func TestInvalidBalance(t *testing.T) { } } -// TestInvalidBalanceBlockTx generates invalid txs which don't have enough KLAY, and will be invalidated during block insert process. +// TestInvalidBalanceBlockTx generates invalid txs which don't have enough KAIA, and will be invalidated during block insert process. func TestInvalidBalanceBlockTx(t *testing.T) { log.EnableLogForTest(log.LvlCrit, log.LvlTrace) @@ -1232,7 +1232,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { contract, err := createAnonymousAccount("a5c9a50938a089618167c9d67dbebc0deaffc3c76ddc6b40c2777ae59438e989") assert.Equal(t, nil, err) - // test account will be lack of KLAY + // test account will be lack of KAIA testAcc, err := createDefaultAccount(accountkey.AccountKeyTypeLegacy) assert.Equal(t, nil, err) @@ -1275,7 +1275,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { reservoir.AddNonce() } - // generate a test account with a specific amount of KLAY + // generate a test account with a specific amount of KAIA { var txs types.Transactions @@ -1301,7 +1301,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { txType := testTxType.txType if !txType.IsFeeDelegatedTransaction() { - // tx with a specific amount or a gasLimit requiring more KLAY than the sender has. + // tx with a specific amount or a gasLimit requiring more KAIA than the sender has. { var expectedErr error @@ -1331,7 +1331,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { assert.Equal(t, (*types.Receipt)(nil), receipt) } - // tx with a specific amount or a gasLimit requiring the exact KLAY the sender has. + // tx with a specific amount or a gasLimit requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1362,7 +1362,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { } if txType.IsFeeDelegatedTransaction() && !txType.IsFeeDelegatedWithRatioTransaction() { - // tx with a specific amount requiring more KLAY than the sender has. + // tx with a specific amount requiring more KAIA than the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1387,7 +1387,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { } } - // tx with a specific gasLimit (or amount) requiring more KLAY than the feePayer has. + // tx with a specific gasLimit (or amount) requiring more KAIA than the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1410,7 +1410,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { assert.Equal(t, (*types.Receipt)(nil), receipt) } - // tx with a specific amount requiring the exact KLAY the sender has. + // tx with a specific amount requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1440,7 +1440,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { } } - // tx with a specific gasLimit (or amount) requiring the exact KLAY the feePayer has. + // tx with a specific gasLimit (or amount) requiring the exact KAIA the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1465,7 +1465,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { } if txType.IsFeeDelegatedWithRatioTransaction() { - // tx with a specific amount and a gasLimit requiring more KLAY than the sender has. + // tx with a specific amount and a gasLimit requiring more KAIA than the sender has. { var expectedErr error valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) @@ -1503,7 +1503,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { assert.Equal(t, (*types.Receipt)(nil), receipt) } - // tx with a specific amount and a gasLimit requiring more KLAY than the feePayer has. + // tx with a specific amount and a gasLimit requiring more KAIA than the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1529,7 +1529,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { assert.Equal(t, (*types.Receipt)(nil), receipt) } - // tx with a specific amount and a gasLimit requiring the exact KLAY the sender has. + // tx with a specific amount and a gasLimit requiring the exact KAIA the sender has. { valueMap, _ := genMapForTxTypes(testAcc, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1567,7 +1567,7 @@ func TestInvalidBalanceBlockTx(t *testing.T) { } } - // tx with a specific amount and a gasLimit requiring the exact KLAY the feePayer has. + // tx with a specific amount and a gasLimit requiring the exact KAIA the feePayer has. { valueMap, _ := genMapForTxTypes(reservoir, reservoir, txType) if toBasicType(txType) == types.TxTypeSmartContractExecution { @@ -1990,7 +1990,7 @@ func TestValidationPoolResetAfterFeePayerKeyChange(t *testing.T) { reservoir.AddNonce() } - // transfer KLAY to fee payer + // transfer KAIA to fee payer { var txs types.Transactions diff --git a/work/doc.go b/work/doc.go index 8dd5ccddd7..da55641c7f 100644 --- a/work/doc.go +++ b/work/doc.go @@ -19,7 +19,7 @@ // Modified and improved for the klaytn development. /* -Package work implements Klaytn block creation and mining. +Package work implements Kaia block creation and mining. work package is in charge of generating blocks and it contains `miner`, `worker` and `agents` which performs building blocks with transactions. `miner` contains `worker` and a consensus engine, so it controls the worker and passes the result to the consensus engine. diff --git a/work/worker.go b/work/worker.go index f6f04dd531..61676e792f 100644 --- a/work/worker.go +++ b/work/worker.go @@ -734,7 +734,7 @@ CommitTransactionLoop: // We use the eip155 signer regardless of the current hf. from, _ := types.Sender(env.signer, tx) - // NOTE-Kaia Since Klaytn is always in EIP155, the below replay protection code is not needed. + // NOTE-Kaia Since Kaia is always in EIP155, the below replay protection code is not needed. // TODO-Kaia-RemoveLater Remove the code commented below. // Check whether the tx is replay protected. If we're not in the EIP155 hf // phase, start ignoring the sender until we do. From 194e9487baac83a15092d37f9bf6773ce1d35def Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 17:59:17 +0900 Subject: [PATCH 09/16] Update leftovers manually --- blockchain/blockchain_test.go | 2 +- blockchain/state/statedb.go | 2 +- blockchain/vm/evm.go | 2 +- client/klay_client.go | 2 +- cmd/utils/nodecmd/consolecmd_test.go | 2 +- cmd/utils/nodecmd/flags_test.go | 16 ++++++++-------- cmd/utils/nodecmd/genesis_test.go | 2 +- cmd/utils/nodecmd/run_test.go | 6 +++--- consensus/istanbul/validator/weighted.go | 10 +++++----- node/cn/config.go | 2 +- node/sc/bridge_manager_test.go | 2 +- node/sc/doc.go | 4 ++-- reward/doc.go | 10 +++++----- 13 files changed, 31 insertions(+), 31 deletions(-) diff --git a/blockchain/blockchain_test.go b/blockchain/blockchain_test.go index fc0f910791..1e41480fc0 100644 --- a/blockchain/blockchain_test.go +++ b/blockchain/blockchain_test.go @@ -1588,7 +1588,7 @@ func TestEIP3651(t *testing.T) { state, _ := chain.State() - // 3: Ensure that miner received only the mining fee (consensus is gxHash, so 3 klay is the total reward) + // 3: Ensure that miner received only the mining fee (consensus is gxHash, so 3 KAIA is the total reward) actual := state.GetBalance(params.AuthorAddressForTesting) expected := gxhash.ByzantiumBlockReward if actual.Cmp(expected) != 0 { diff --git a/blockchain/state/statedb.go b/blockchain/state/statedb.go index f25fa9fd42..0f7cb8313c 100644 --- a/blockchain/state/statedb.go +++ b/blockchain/state/statedb.go @@ -1137,7 +1137,7 @@ func (s *StateDB) GetContractStorageRoot(contractAddr common.Address) (common.Ex // // Kore fork: // - Add sender to access list (2929) -// - Add feepayer to access list (only for klaytn) +// - Add feepayer to access list (only for Kaia) // - Add destination to access list (2929) // - Add precompiles to access list (2929) // diff --git a/blockchain/vm/evm.go b/blockchain/vm/evm.go index a42b476ba1..03ffbb797b 100644 --- a/blockchain/vm/evm.go +++ b/blockchain/vm/evm.go @@ -535,7 +535,7 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Create a new account on the state snapshot := evm.StateDB.Snapshot() - // TODO-Kaia-Accounts: for now, smart contract accounts cannot withdraw KLAYs via ValueTransfer + // TODO-Kaia-Accounts: for now, smart contract accounts cannot withdraw KAIA via ValueTransfer // because the account key is set to AccountKeyFail by default. // Need to make a decision of the key type. evm.StateDB.CreateSmartContractAccountWithKey(address, humanReadable, accountkey.NewAccountKeyFail(), codeFormat, evm.chainRules) diff --git a/client/klay_client.go b/client/klay_client.go index b52bff6cf8..9c3842a285 100644 --- a/client/klay_client.go +++ b/client/klay_client.go @@ -521,7 +521,7 @@ func (ec *Client) SendUnsignedTransaction(ctx context.Context, from common.Addre GasLimit: &tGas, Price: tGasPrice, Amount: hValue, - // Nonce : nonce, Nonce will be determined by Klay node. + // Nonce : nonce, Nonce will be determined by Kaia node. Data: &tData, Payload: &tInput, } diff --git a/cmd/utils/nodecmd/consolecmd_test.go b/cmd/utils/nodecmd/consolecmd_test.go index c352f6fa14..60c9240b5a 100644 --- a/cmd/utils/nodecmd/consolecmd_test.go +++ b/cmd/utils/nodecmd/consolecmd_test.go @@ -42,7 +42,7 @@ const ( // Tests that a node embedded within a console can be started up properly and // then terminated by closing the input stream. func TestConsoleWelcome(t *testing.T) { - // Start a klay console, make sure it's cleaned up and terminate the console + // Start a Kaia console, make sure it's cleaned up and terminate the console klay := runKlay(t, "klay-test", "--port", "0", "--maxconnections", "0", "--nodiscover", "--nat", "none", "console") diff --git a/cmd/utils/nodecmd/flags_test.go b/cmd/utils/nodecmd/flags_test.go index e5afea36ae..fd64747f9f 100644 --- a/cmd/utils/nodecmd/flags_test.go +++ b/cmd/utils/nodecmd/flags_test.go @@ -37,7 +37,7 @@ const ( ErrorIncorrectUsage = iota ErrorInvalidValue ErrorFatal - // TODO-Kaia-Node fix the configuration to filter wrong input flags before the klay server is launched + // TODO-Kaia-Node fix the configuration to filter wrong input flags before the Kaia server is launched NonError // This error case expects an error, but currently it does not filter the wrong value. ) @@ -53,7 +53,7 @@ var flagsWithValues = []struct { wrongValues []string errors []int }{ - // TODO-Kaia-Node the flag is not defined on any klay binaries + // TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--networktype", // flagType: FlagTypeArgument, @@ -97,7 +97,7 @@ var flagsWithValues = []struct { wrongValues: []string{}, errors: []int{}, }, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--docroot", // flagType: FlagTypeBoolean, @@ -181,7 +181,7 @@ var flagsWithValues = []struct { wrongValues: commonTwoErrors, errors: []int{ErrorInvalidValue, ErrorInvalidValue}, }, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--txpool.keeplocals", // flagType: FlagTypeBoolean, @@ -482,7 +482,7 @@ var flagsWithValues = []struct { wrongValues: []string{}, errors: []int{}, }, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--nodetype", // flagType: FlagTypeArgument, @@ -586,7 +586,7 @@ var flagsWithValues = []struct { flag: "--baobab", flagType: FlagTypeBoolean, }, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--bnaddr", // flagType: FlagTypeArgument, @@ -594,7 +594,7 @@ var flagsWithValues = []struct { // wrongValues: []string{}, // errors: []int{}, //}, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--genkey", // flagType: FlagTypeArgument, @@ -602,7 +602,7 @@ var flagsWithValues = []struct { // wrongValues: []string{}, // errors: []int{}, //}, - //TODO-Kaia-Node the flag is not defined on any klay binaries + //TODO-Kaia-Node the flag is not defined on any Kaia binaries //{ // flag: "--writeaddress", // flagType: FlagTypeBoolean, diff --git a/cmd/utils/nodecmd/genesis_test.go b/cmd/utils/nodecmd/genesis_test.go index 2e921d5b43..1dc34f9d7c 100644 --- a/cmd/utils/nodecmd/genesis_test.go +++ b/cmd/utils/nodecmd/genesis_test.go @@ -159,7 +159,7 @@ var customGenesisTests = []struct { }, } -// Tests that initializing Klay with a custom genesis block and chain definitions +// Tests that initializing Kaia with a custom genesis block and chain definitions // work properly. func TestCustomGenesis(t *testing.T) { for i, tt := range customGenesisTests { diff --git a/cmd/utils/nodecmd/run_test.go b/cmd/utils/nodecmd/run_test.go index 0b38714495..64a887137d 100644 --- a/cmd/utils/nodecmd/run_test.go +++ b/cmd/utils/nodecmd/run_test.go @@ -66,7 +66,7 @@ var ( ) func init() { - // Initialize the CLI app and start Klay + // Initialize the CLI app and start Kaia app.Action = RunKlaytnNode app.HideVersion = true // we have a command to print the version app.Copyright = "Copyright 2018-2023 The klaytn Authors" @@ -136,7 +136,7 @@ func TestMain(m *testing.M) { os.Exit(m.Run()) } -// spawns klay with the given command line args. If the args don't set --datadir, the +// spawns Kaia with the given command line args. If the args don't set --datadir, the // child g gets a temporary data directory. func runKlay(t *testing.T, name string, args ...string) *testklay { tt := &testklay{} @@ -165,7 +165,7 @@ func runKlay(t *testing.T, name string, args ...string) *testklay { }() } - // Boot "klay". This actually runs the test binary but the TestMain + // Boot "Kaia". This actually runs the test binary but the TestMain // function will prevent any tests from running. tt.Run(name, args...) diff --git a/consensus/istanbul/validator/weighted.go b/consensus/istanbul/validator/weighted.go index f3cafefba1..34226a2c0f 100644 --- a/consensus/istanbul/validator/weighted.go +++ b/consensus/istanbul/validator/weighted.go @@ -97,8 +97,8 @@ func newWeightedValidator(addr common.Address, reward common.Address, votingpowe type weightedCouncil struct { subSize uint64 - demotedValidators istanbul.Validators // validators staking KLAYs less than minimum, and not in committee/proposers - validators istanbul.Validators // validators staking KLAYs more than and equals to minimum, and in committee/proposers + demotedValidators istanbul.Validators // validators staking KAIA less than minimum, and not in committee/proposers + validators istanbul.Validators // validators staking KAIA more than and equals to minimum, and in committee/proposers policy istanbul.ProposerPolicy proposer atomic.Value // istanbul.Validator @@ -735,7 +735,7 @@ func (valSet *weightedCouncil) setValidators(validators []*weightedValidator, de // filterValidators divided the given weightedValidators into two group filtered by the minimum amount of staking. // If governance mode is single, the governing node will always be a validator. -// If no validator has enough KLAYs, all become validators. +// If no validator has enough KAIA, all become validators. func filterValidators(isSingleMode bool, govNodeAddr common.Address, weightedValidators []*weightedValidator, stakingAmounts []float64, minStaking uint64) ([]*weightedValidator, []float64, []*weightedValidator, []float64) { var ( newWeightedValidators []*weightedValidator @@ -758,10 +758,10 @@ func filterValidators(isSingleMode bool, govNodeAddr common.Address, weightedVal } } - // when no validator has more than minimum staking amount of KLAYs, all members are in validators + // when no validator has more than minimum staking amount of KAIA, all members are in validators if len(newWeightedValidators) <= 0 { // 1. if governance mode is not single, - // 2. if governance mode is single and governing node does not have minimum staking amount of KLAYs as well + // 2. if governance mode is single and governing node does not have minimum staking amount of KAIA as well if !isSingleMode || uint64(govNodeStaking) < minStaking { newWeightedValidators, newValidatorsStaking = newWeightedDemoted, newDemotedStaking newWeightedDemoted, newDemotedStaking = []*weightedValidator{}, []float64{} diff --git a/node/cn/config.go b/node/cn/config.go index 51e542feb2..385ecbb59a 100644 --- a/node/cn/config.go +++ b/node/cn/config.go @@ -184,7 +184,7 @@ type Config struct { RPCEVMTimeout time.Duration // RPCTxFeeCap is the global transaction fee(price * gaslimit) cap for - // send-transction variants. The unit is klay. + // send-transction variants. The unit is KAIA. // This is used by eth namespace RPC APIs RPCTxFeeCap float64 diff --git a/node/sc/bridge_manager_test.go b/node/sc/bridge_manager_test.go index d70879fec0..ebfa3fdde6 100644 --- a/node/sc/bridge_manager_test.go +++ b/node/sc/bridge_manager_test.go @@ -516,7 +516,7 @@ func TestBridgeManagerERC721_notSupportURI(t *testing.T) { bridgeManager.Stop() } -// TestBridgeManagerWithFee tests the KLAY/ERC20 transfer with fee. +// TestBridgeManagerWithFee tests the KAIA/ERC20 transfer with fee. func TestBridgeManagerWithFee(t *testing.T) { tempDir, err := os.MkdirTemp(os.TempDir(), "sc") assert.NoError(t, err) diff --git a/node/sc/doc.go b/node/sc/doc.go index 579454858e..0e430c5a1b 100644 --- a/node/sc/doc.go +++ b/node/sc/doc.go @@ -22,7 +22,7 @@ They mostly act like normal Kaia blockchains but has additional features to conn They can be used as separate public/private blockchains or child chains of a Kaia chain (or another Service Chain). The followings describe main features of Service chain. - Anchoring block data of Service Chain - - Value Transfer (KLAY, KCT) + - Value Transfer (KAIA, KCT) - Various bridge contract configurations - Support high availability @@ -44,7 +44,7 @@ Following is the process of the KAIA transfer from Kaia main chain to a Service 2. The bridge contract keeps KAIA on its account and creates an event for the inter-chain request. 3. The SubBridge subscribes the event log on the main chain node through RPC. 4. The SubBridge generates a transaction on the child chain node to the bridge contract of the SubBridge. -5. Finally, The bridge contract mints (or uses its KLAY) and sends KAIA to the target address. +5. Finally, The bridge contract mints (or uses its KAIA) and sends KAIA to the target address. # Source Files diff --git a/reward/doc.go b/reward/doc.go index b20e2f6d13..03fad69b24 100644 --- a/reward/doc.go +++ b/reward/doc.go @@ -20,13 +20,13 @@ The Kaia reward system manages stakingInfo and distributes block rewards. # Managing stakingInfo -Klaytn uses WeightedRandom policy to choose a block proposer. +Kaia uses WeightedRandom policy to choose a block proposer. It means, the percentage of becoming a block proposer depends on how much KAIA a node has staked. Therefore, a node with stakes more than others will have more opportunities than other nodes. StakingInfo is a data including stakingAmount and addresses (node, staking, reward, KFF and KCF). -StakingAmount is a balance how much KAIA each node has staked. Only CCO can stake KLAY. -Each CCO stakes KLAY by a smart contract called staking contract. +StakingAmount is a balance how much KAIA each node has staked. Only CCO can stake KAIA. +Each CCO stakes KAIA by a smart contract called staking contract. StakingAmount is derived by checking balance of staking contract. StakingInfo has 5 types of addresses. All addresses are obtained by the addressBookContract which is pre-deployed in the genesis block. stakingAddress are addresses of staking contracts of CCO. reward, KFF and KCF addresses are the addresses which get a block reward when a block has been created. @@ -57,8 +57,8 @@ and returns correct stakingInfo to use. # Distributing Reward -Klaytn distributes the reward of a block to proposer, KFF and KCF. -The detail information of KFF and KCF is available on Klaytn docs. +Kaia distributes the reward of a block to proposer, KFF and KCF. +The detail information of KFF and KCF is available on Kaia docs. Token Economy - https://docs.klaytn.foundation/content/klaytn/design/token-economy From 36fd88738405e22dbd98a8219338c3b56c6d6ca6 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:05:59 +0900 Subject: [PATCH 10/16] Fix misconverted docs --- blockchain/vm/contracts.go | 2 +- blockchain/vm/doc.go | 2 +- console/web3ext/doc.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blockchain/vm/contracts.go b/blockchain/vm/contracts.go index a1e2905a5f..89199e7f70 100644 --- a/blockchain/vm/contracts.go +++ b/blockchain/vm/contracts.go @@ -55,7 +55,7 @@ var ( // requires a deterministic gas count based on the input size of the Run method of the // contract. // If you want more information about Kaia's precompiled contracts, -// please refer https://docs.Kaia.com/smart-contract/precompiled-contracts +// please refer https://docs.klaytn.com/smart-contract/precompiled-contracts type PrecompiledContract interface { // GetRequiredGasAndComputationCost returns the gas and computation cost // required to execute the precompiled contract. diff --git a/blockchain/vm/doc.go b/blockchain/vm/doc.go index 3a57fd3911..8f33085250 100644 --- a/blockchain/vm/doc.go +++ b/blockchain/vm/doc.go @@ -25,6 +25,6 @@ The vm package implements one EVM, a byte code VM. The Byte Code VM loops over a set of bytes and executes them according to the set of rules defined in the Ethereum yellow paper. As well as the original functionality of the EVM, this package implemented additional pre-compiled contracts to support the native features of Kaia. -For more information about pre-compiled contracts, see KlaytnDocs (https://docs.Kaia.com/smart-contract/precompiled-contracts). +For more information about pre-compiled contracts, see KlaytnDocs (https://docs.klaytn.com/smart-contract/precompiled-contracts). */ package vm diff --git a/console/web3ext/doc.go b/console/web3ext/doc.go index 0436006f0c..4dc7e9ebe7 100644 --- a/console/web3ext/doc.go +++ b/console/web3ext/doc.go @@ -25,7 +25,7 @@ web3ext defines `Modules` which defines APIs for each category. This `Modules` i # API Categories -APIs are categorized as follows. If you want to know more detail, please refer to https://docs.Kaia.com/bapp/json-rpc +APIs are categorized as follows. If you want to know more detail, please refer to https://docs.klaytn.com/bapp/json-rpc - admin - debug - klay From 3b2cc0d6c96249767980fb7992b9faf21c637018 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:09:00 +0900 Subject: [PATCH 11/16] Restore TODO-Klaytn-Issue --- accounts/keystore/account_cache_test.go | 2 +- blockchain/blockchain.go | 12 ++++++------ blockchain/headerchain.go | 2 +- blockchain/types/receipt.go | 4 ++-- blockchain/vm/evm.go | 22 +++++++++++----------- blockchain/vm/interpreter.go | 10 +++++----- consensus/istanbul/validator.go | 2 +- consensus/istanbul/validator/weighted.go | 6 +++--- datasync/downloader/downloader_test.go | 2 +- networks/p2p/simulations/http_test.go | 2 +- node/cn/protocol.go | 2 +- work/worker.go | 6 +++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go index 568d4b3edf..59e633eec7 100644 --- a/accounts/keystore/account_cache_test.go +++ b/accounts/keystore/account_cache_test.go @@ -321,7 +321,7 @@ func waitForAccounts(wantAccounts []accounts.Account, ks *KeyStore) error { return fmt.Errorf("\ngot %v\nwant %v", list, wantAccounts) } -// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI +// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI /* // TestUpdatedKeyfileContents tests that updating the contents of a keystore file // is noticed by the watcher, and the account cache is updated accordingly diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index 2fcaca349b..642cd7f848 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -100,7 +100,7 @@ var ( const ( maxFutureBlocks = 256 maxTimeFutureBlocks = 30 - // TODO-Kaia-Issue1911 This flag needs to be adjusted to the appropriate value. + // TODO-Klaytn-Issue1911 This flag needs to be adjusted to the appropriate value. // Currently, this value is taken to cache all 10 million accounts // and should be optimized considering memory size and performance. maxAccountForCache = 10000000 @@ -123,7 +123,7 @@ const ( // CacheConfig contains the configuration values for the 1) stateDB caching and // 2) trie caching/pruning resident in a blockchain. type CacheConfig struct { - // TODO-Kaia-Issue1666 Need to check the benefit of trie caching. + // TODO-Klaytn-Issue1666 Need to check the benefit of trie caching. ArchiveMode bool // If true, state trie is not pruned and always written to database CacheSize int // Size of in-memory cache of a trie (MiB) to flush matured singleton trie nodes to disk BlockInterval uint // Block interval to flush the trie. Each interval state trie will be flushed into disk @@ -1149,7 +1149,7 @@ func (bc *BlockChain) procFutureBlocks() { // WriteStatus status of write type WriteStatus byte -// TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. +// TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // // Later we may be able to remove SideStatTy. const ( @@ -1511,7 +1511,7 @@ func isCommitTrieRequired(bc *BlockChain, blockNum uint64) bool { return true } - // TODO-Kaia-Issue1602 Introduce a simple and more concise way to determine commit trie requirements from governance + // TODO-Klaytn-Issue1602 Introduce a simple and more concise way to determine commit trie requirements from governance if blockNum%uint64(bc.cacheConfig.BlockInterval) == 0 { return true } @@ -1645,7 +1645,7 @@ func (bc *BlockChain) writeBlockWithStateSerial(block *types.Block, receipts []* bc.writeReceipts(block.Hash(), block.NumberU64(), receipts) - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain @@ -1735,7 +1735,7 @@ func (bc *BlockChain) writeBlockWithStateParallel(block *types.Block, receipts [ default: } - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain diff --git a/blockchain/headerchain.go b/blockchain/headerchain.go index 53ce649126..98717112a9 100644 --- a/blockchain/headerchain.go +++ b/blockchain/headerchain.go @@ -133,7 +133,7 @@ func (hc *HeaderChain) WriteHeader(header *types.Header) (status WriteStatus, er hc.WriteTd(hash, number, externTd) hc.chainDB.WriteHeader(header) - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // If the total blockscore is higher than our known, add it to the canonical chain diff --git a/blockchain/types/receipt.go b/blockchain/types/receipt.go index dd39cea9a0..56954c9a20 100644 --- a/blockchain/types/receipt.go +++ b/blockchain/types/receipt.go @@ -80,13 +80,13 @@ const ( ReceiptStatusErrNotSupported = uint(0x1d) ReceiptStatusErrInvalidCodeFormat = uint(0x1e) ReceiptStatusLast = uint(0x1f) // Last value which is not an actual ReceiptStatus -// ReceiptStatusErrInvalidJumpDestination // TODO-Kaia-Issue615 +// ReceiptStatusErrInvalidJumpDestination // TODO-Klaytn-Issue615 // ReceiptStatusErrInvalidOpcode // Default case, because no static message available // ReceiptStatusErrStackUnderflow // Default case, because no static message available // ReceiptStatusErrStackOverflow // Default case, because no static message available // ReceiptStatusErrInsufficientBalance // No receipt available for this error // ReceiptStatusErrTotalTimeLimitReached // No receipt available for this error -// ReceiptStatusErrGasUintOverflow // TODO-Kaia-Issue615 +// ReceiptStatusErrGasUintOverflow // TODO-Klaytn-Issue615 ) diff --git a/blockchain/vm/evm.go b/blockchain/vm/evm.go index 03ffbb797b..16c71c729e 100644 --- a/blockchain/vm/evm.go +++ b/blockchain/vm/evm.go @@ -72,7 +72,7 @@ func run(evm *EVM, contract *Contract, input []byte) ([]byte, error) { // startTime = time.Now() //} /////////////////////////////////////////////////////// - ret, computationCost, err := RunPrecompiledContract(p, input, contract, evm) // TODO-Kaia-Issue615 + ret, computationCost, err := RunPrecompiledContract(p, input, contract, evm) // TODO-Klaytn-Issue615 /////////////////////////////////////////////////////// // OpcodeComputationCostLimit: The below code is commented and will be usd for debugging purposes. //if opDebug { @@ -226,11 +226,11 @@ func (evm *EVM) Call(caller types.ContractRef, addr common.Address, input []byte // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Kaia-Issue615 + return nil, gas, ErrDepth // TODO-Klaytn-Issue615 } // Fail if we're trying to transfer more than the available balance if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 + return nil, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 } var ( @@ -333,13 +333,13 @@ func (evm *EVM) CallCode(caller types.ContractRef, addr common.Address, input [] // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Kaia-Issue615 + return nil, gas, ErrDepth // TODO-Klaytn-Issue615 } // Note although it's noop to transfer X ether to caller itself. But // if caller doesn't have enough balance, it would be an error to allow // over-charging itself. So the check here is necessary. if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 + return nil, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 } if !isProgramAccount(evm, caller.Address(), addr, evm.StateDB) { @@ -386,7 +386,7 @@ func (evm *EVM) DelegateCall(caller types.ContractRef, addr common.Address, inpu } // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Kaia-Issue615 + return nil, gas, ErrDepth // TODO-Klaytn-Issue615 } if !isProgramAccount(evm, caller.Address(), addr, evm.StateDB) { @@ -435,7 +435,7 @@ func (evm *EVM) StaticCall(caller types.ContractRef, addr common.Address, input } // Fail if we're trying to execute above the call depth limit if evm.depth > int(params.CallCreateDepth) { - return nil, gas, ErrDepth // TODO-Kaia-Issue615 + return nil, gas, ErrDepth // TODO-Klaytn-Issue615 } // Make sure the readonly is only set if we aren't in readonly yet // this makes also sure that the readonly flag isn't removed for @@ -498,10 +498,10 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u // Depth check execution. Fail if we're trying to execute above the // limit. if evm.depth > int(params.CallCreateDepth) { - return nil, common.Address{}, gas, ErrDepth // TODO-Kaia-Issue615 + return nil, common.Address{}, gas, ErrDepth // TODO-Klaytn-Issue615 } if !evm.Context.CanTransfer(evm.StateDB, caller.Address(), value) { - return nil, common.Address{}, gas, ErrInsufficientBalance // TODO-Kaia-Issue615 + return nil, common.Address{}, gas, ErrInsufficientBalance // TODO-Klaytn-Issue615 } // Increasing nonce since a failed tx with one of following error will be loaded on a block. @@ -581,7 +581,7 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u err = ErrFailedOnSetCode } } else { - err = ErrCodeStoreOutOfGas // TODO-Kaia-Issue615 + err = ErrCodeStoreOutOfGas // TODO-Klaytn-Issue615 } } @@ -595,7 +595,7 @@ func (evm *EVM) create(caller types.ContractRef, codeAndHash *codeAndHash, gas u } // Assign err if contract code size exceeds the max while the err is still empty. if maxCodeSizeExceeded && err == nil { - err = ErrMaxCodeSizeExceeded // TODO-Kaia-Issue615 + err = ErrMaxCodeSizeExceeded // TODO-Klaytn-Issue615 } // Reject code starting with 0xEF if EIP-3541 is enabled. diff --git a/blockchain/vm/interpreter.go b/blockchain/vm/interpreter.go index dbfb68118f..6e5769d475 100644 --- a/blockchain/vm/interpreter.go +++ b/blockchain/vm/interpreter.go @@ -229,7 +229,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err op = contract.GetOp(pc) operation := in.cfg.JumpTable[op] if operation == nil { - return nil, fmt.Errorf("invalid opcode 0x%x", int(op)) // TODO-Kaia-Issue615 + return nil, fmt.Errorf("invalid opcode 0x%x", int(op)) // TODO-Klaytn-Issue615 } // Validate stack if sLen := stack.len(); sLen < operation.minStack { @@ -259,12 +259,12 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err if operation.memorySize != nil { memSize, overflow := operation.memorySize(stack) if overflow { - return nil, errGasUintOverflow // TODO-Kaia-Issue615 + return nil, errGasUintOverflow // TODO-Klaytn-Issue615 } // memory is expanded in words of 32 bytes. Gas // is also calculated in words. if memorySize, overflow = math.SafeMul(toWordSize(memSize), 32); overflow { - return nil, errGasUintOverflow // TODO-Kaia-Issue615 + return nil, errGasUintOverflow // TODO-Klaytn-Issue615 } if allocatedMemorySize < memorySize { extraSize = memorySize - allocatedMemorySize @@ -278,7 +278,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err dynamicCost, err = operation.dynamicGas(in.evm, contract, stack, mem, memorySize) cost += dynamicCost // total cost, for debug tracing if err != nil || !contract.UseGas(dynamicCost) { - return nil, kerrors.ErrOutOfGas // TODO-Kaia-Issue615 + return nil, kerrors.ErrOutOfGas // TODO-Klaytn-Issue615 } } if extraSize > 0 { @@ -305,7 +305,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte) (ret []byte, err abort := atomic.LoadInt32(&in.evm.abort) if (abort & CancelByTotalTimeLimit) != 0 { - return nil, ErrTotalTimeLimitReached // TODO-Kaia-Issue615 + return nil, ErrTotalTimeLimitReached // TODO-Klaytn-Issue615 } if err == errStopToken { err = nil // clear stop token error diff --git a/consensus/istanbul/validator.go b/consensus/istanbul/validator.go index 285836891f..9be0895458 100644 --- a/consensus/istanbul/validator.go +++ b/consensus/istanbul/validator.go @@ -114,7 +114,7 @@ type ValidatorSet interface { SetBlockNum(blockNum uint64) SetMixHash(mixHash []byte) - Proposers() []Validator // TODO-Kaia-Issue1166 For debugging + Proposers() []Validator // TODO-Klaytn-Issue1166 For debugging TotalVotingPower() uint64 diff --git a/consensus/istanbul/validator/weighted.go b/consensus/istanbul/validator/weighted.go index 34226a2c0f..df3bbd75b1 100644 --- a/consensus/istanbul/validator/weighted.go +++ b/consensus/istanbul/validator/weighted.go @@ -45,7 +45,7 @@ type weightedValidator struct { address common.Address rewardAddress atomic.Value - votingPower uint64 // TODO-Kaia-Issue1336 This should be updated for governance implementation + votingPower uint64 // TODO-Klaytn-Issue1336 This should be updated for governance implementation weight uint64 } @@ -132,7 +132,7 @@ func RecoverWeightedCouncilProposer(valSet istanbul.ValidatorSet, proposerAddrs } proposers = append(proposers, val) - // TODO-Kaia-Issue1166 Disable Trace log later + // TODO-Klaytn-Issue1166 Disable Trace log later logger.Trace("RecoverWeightedCouncilProposer() proposers", "i", i, "address", val.Address().String()) } weightedCouncil.proposers = proposers @@ -552,7 +552,7 @@ func (valSet *weightedCouncil) AddValidator(address common.Address) bool { } // TODO-Kaia-Governance the new validator is added on validators only and demoted after `Refresh` method. It is better to update here if it is demoted ones. - // TODO-Kaia-Issue1336 Update for governance implementation. How to determine initial value for rewardAddress and votingPower ? + // TODO-Klaytn-Issue1336 Update for governance implementation. How to determine initial value for rewardAddress and votingPower ? valSet.validators = append(valSet.validators, newWeightedValidator(address, common.Address{}, 1000, 0)) // sort validator diff --git a/datasync/downloader/downloader_test.go b/datasync/downloader/downloader_test.go index ba8782607b..cb9e5f6732 100644 --- a/datasync/downloader/downloader_test.go +++ b/datasync/downloader/downloader_test.go @@ -1796,7 +1796,7 @@ func testFakedSyncProgress(t *testing.T, protocol int, mode SyncMode) { } } -// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI +// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI /* // This test reproduces an issue where unexpected deliveries would // block indefinitely if they arrived at the right time. diff --git a/networks/p2p/simulations/http_test.go b/networks/p2p/simulations/http_test.go index 25fa66d4e2..9e2573562f 100644 --- a/networks/p2p/simulations/http_test.go +++ b/networks/p2p/simulations/http_test.go @@ -528,7 +528,7 @@ func (t *expectEvents) expect(events ...*Event) { } } -// TODO-Kaia-Issue833 Disabled because this test fails intermittently in CI +// TODO-Klaytn-Issue833 Disabled because this test fails intermittently in CI /* // TestHTTPNodeRPC tests calling RPC methods on nodes via the HTTP API func TestHTTPNodeRPC(t *testing.T) { diff --git a/node/cn/protocol.go b/node/cn/protocol.go index b9251c0ec0..d550844e84 100644 --- a/node/cn/protocol.go +++ b/node/cn/protocol.go @@ -56,7 +56,7 @@ var ProtocolLengths = []uint64{21, 19, 17, 8} const ProtocolMaxMsgSize = 12 * 1024 * 1024 // Maximum cap on the size of a protocol message // Kaia protocol message codes -// TODO-Kaia-Issue751 Protocol message should be refactored. Present code is not used. +// TODO-Klaytn-Issue751 Protocol message should be refactored. Present code is not used. const ( // Protocol messages belonging to klay/62 StatusMsg = 0x00 diff --git a/work/worker.go b/work/worker.go index 61676e792f..450e91a359 100644 --- a/work/worker.go +++ b/work/worker.go @@ -325,7 +325,7 @@ func (self *worker) update() { } self.commitNewWork() - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // Handle ChainSideEvent case <-self.chainSideCh: @@ -415,7 +415,7 @@ func (self *worker) wait(TxResendUseLegacy bool) { } blockWriteTime := time.Since(start) - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. // check if canon block and write transactions @@ -454,7 +454,7 @@ func (self *worker) wait(TxResendUseLegacy bool) { "hash", block.Hash(), "txs", len(block.Transactions()), "elapsed", blockWriteTime) self.chain.PostChainEvents(events, logs) - // TODO-Kaia-Issue264 If we are using istanbul BFT, then we always have a canonical chain. + // TODO-Klaytn-Issue264 If we are using istanbul BFT, then we always have a canonical chain. // Later we may be able to refine below code. if mustCommitNewWork { self.commitNewWork() From e4aa9b85335d3a378cd6dcfbf6e57154186c3a59 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:16:33 +0900 Subject: [PATCH 12/16] Revert Klaytn version --- cmd/utils/nodecmd/consolecmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/nodecmd/consolecmd.go b/cmd/utils/nodecmd/consolecmd.go index bff24b8963..18a8111ff9 100644 --- a/cmd/utils/nodecmd/consolecmd.go +++ b/cmd/utils/nodecmd/consolecmd.go @@ -159,7 +159,7 @@ func dialRPC(endpoint string) (*rpc.Client, error) { endpoint = node.DefaultIPCEndpoint(utils.ClientIdentifier) } else if strings.HasPrefix(endpoint, "rpc:") || strings.HasPrefix(endpoint, "ipc:") { // TODO-Kaia-RemoveLater: The below backward compatibility is not related to Kaia. - // Backwards compatibility with Kaia < 1.5 which required + // Backwards compatibility with Klaytn < 1.5 which required // these prefixes. endpoint = endpoint[4:] } From 1152767c6de929d759de0ba9d0b50a236344a6c1 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:22:22 +0900 Subject: [PATCH 13/16] Restore kips.klaytn --- datasync/chaindatafetcher/kas/contract_caller.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datasync/chaindatafetcher/kas/contract_caller.go b/datasync/chaindatafetcher/kas/contract_caller.go index 0e1fad12f7..e68ec60147 100644 --- a/datasync/chaindatafetcher/kas/contract_caller.go +++ b/datasync/chaindatafetcher/kas/contract_caller.go @@ -38,15 +38,15 @@ import ( const callTimeout = 300 * time.Millisecond var ( - // KIP 13: Interface Query Standard - https://kips.Kaia.com/KIPs/kip-13 + // KIP 13: Interface Query Standard - https://kips.klaytn.com/KIPs/kip-13 IKIP13Id = [4]byte{0x01, 0xff, 0xc9, 0xa7} InvalidId = [4]byte{0xff, 0xff, 0xff, 0xff} - // KIP 7: Fungible Token Standard - https://kips.Kaia.com/KIPs/kip-7 + // KIP 7: Fungible Token Standard - https://kips.klaytn.com/KIPs/kip-7 IKIP7Id = [4]byte{0x65, 0x78, 0x73, 0x71} IKIP7MetadataId = [4]byte{0xa2, 0x19, 0xa0, 0x25} - // KIP 17: Non-fungible Token Standard - https://kips.Kaia.com/KIPs/kip-17 + // KIP 17: Non-fungible Token Standard - https://kips.klaytn.com/KIPs/kip-17 IKIP17Id = [4]byte{0x80, 0xac, 0x58, 0xcd} IKIP17MetadataId = [4]byte{0x5b, 0x5e, 0x13, 0x9f} From d67bb7e92e603473863fcf5c803aeaa025b13d2c Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:24:56 +0900 Subject: [PATCH 14/16] Restore klaytn.proto and klaytn.pb.go --- networks/grpc/doc.go | 4 ++-- networks/grpc/klaytn.pb.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/networks/grpc/doc.go b/networks/grpc/doc.go index 523690932b..044cf10659 100644 --- a/networks/grpc/doc.go +++ b/networks/grpc/doc.go @@ -25,7 +25,7 @@ See below for gRPC: https://grpc.io/docs/quickstart/go/ Each file provides the following features - gClient.go : gRPC client implementation. - gServer.go : gRPC server implementation. - - Kaia.proto : Define a interface and messages to use in gRPC server and clients. - - Kaia.pb.go : the generated Go file from Kaia.proto by protoc-gen-go. + - klaytn.proto : Define a interface and messages to use in gRPC server and clients. + - klaytn.pb.go : the generated Go file from Kaia.proto by protoc-gen-go. */ package grpc diff --git a/networks/grpc/klaytn.pb.go b/networks/grpc/klaytn.pb.go index 6287a121ae..6c162e6853 100644 --- a/networks/grpc/klaytn.pb.go +++ b/networks/grpc/klaytn.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: Kaia.proto +// source: klaytn.proto package grpc From c528bba48b704bd0a7b3f929987f9d3b1bd6ae22 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:39:06 +0900 Subject: [PATCH 15/16] Restore page separator --- tests/klay_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/klay_test.go b/tests/klay_test.go index 4787928d67..70efd18639 100644 --- a/tests/klay_test.go +++ b/tests/klay_test.go @@ -47,9 +47,9 @@ func init() { "Specify the number of transactions per block") } -// ============================================================================== +// ////////////////////////////////////////////////////////////////////////////// // TestValueTransfer -// ============================================================================== +// ////////////////////////////////////////////////////////////////////////////// type testOption struct { numTransactions int numMaxAccounts int From 7249be9f466b280eefbc9a0f5287c85466ee0691 Mon Sep 17 00:00:00 2001 From: Chihyun Song Date: Wed, 8 May 2024 18:41:51 +0900 Subject: [PATCH 16/16] Restore klaytn.proto --- networks/grpc/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networks/grpc/doc.go b/networks/grpc/doc.go index 044cf10659..66f30e21c8 100644 --- a/networks/grpc/doc.go +++ b/networks/grpc/doc.go @@ -26,6 +26,6 @@ Each file provides the following features - gClient.go : gRPC client implementation. - gServer.go : gRPC server implementation. - klaytn.proto : Define a interface and messages to use in gRPC server and clients. - - klaytn.pb.go : the generated Go file from Kaia.proto by protoc-gen-go. + - klaytn.pb.go : the generated Go file from klaytn.proto by protoc-gen-go. */ package grpc