diff --git a/data/addresses.testnet.json b/data/addresses.testnet.json index 67ac2690..f38f6866 100644 --- a/data/addresses.testnet.json +++ b/data/addresses.testnet.json @@ -132,6 +132,13 @@ "chain_name": "zeta_testnet", "type": "zetaToken" }, + { + "address": "0x48C4475B7A9A6E9c384dDF3eb30c56761a2bc37e", + "category": "messaging", + "chain_id": 7001, + "chain_name": "zeta_testnet", + "type": "zetaTokenConsumerUniV3" + }, { "address": "0x05BA149A7bd6dC1F937fA9046A9e05C05f3b18b0", "asset": "", diff --git a/package.json b/package.json index 8f3d95cd..6d71d4f0 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "license": "MIT", "main": "./dist/lib/index.js", "name": "@zetachain/protocol-contracts", + "packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" diff --git a/pkg/hardhat/console.sol/console.go b/pkg/hardhat/console.sol/console.go deleted file mode 100644 index 9329d210..00000000 --- a/pkg/hardhat/console.sol/console.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated - DO NOT EDIT. -// This file is a generated binding and any manual changes will be lost. - -package console - -import ( - "errors" - "math/big" - "strings" - - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" -) - -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = errors.New - _ = big.NewInt - _ = strings.NewReader - _ = ethereum.NotFound - _ = bind.Bind - _ = common.Big1 - _ = types.BloomLookup - _ = event.NewSubscription - _ = abi.ConvertType -) - -// ConsoleMetaData contains all meta data concerning the Console contract. -var ConsoleMetaData = &bind.MetaData{ - ABI: "[]", - Bin: "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b984f068e9b45c3f00be7595f7bc61c482d2370eb5a8fa63bd27501c6f9a6d9264736f6c63430008070033", -} - -// ConsoleABI is the input ABI used to generate the binding from. -// Deprecated: Use ConsoleMetaData.ABI instead. -var ConsoleABI = ConsoleMetaData.ABI - -// ConsoleBin is the compiled bytecode used for deploying new contracts. -// Deprecated: Use ConsoleMetaData.Bin instead. -var ConsoleBin = ConsoleMetaData.Bin - -// DeployConsole deploys a new Ethereum contract, binding an instance of Console to it. -func DeployConsole(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Console, error) { - parsed, err := ConsoleMetaData.GetAbi() - if err != nil { - return common.Address{}, nil, nil, err - } - if parsed == nil { - return common.Address{}, nil, nil, errors.New("GetABI returned nil") - } - - address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(ConsoleBin), backend) - if err != nil { - return common.Address{}, nil, nil, err - } - return address, tx, &Console{ConsoleCaller: ConsoleCaller{contract: contract}, ConsoleTransactor: ConsoleTransactor{contract: contract}, ConsoleFilterer: ConsoleFilterer{contract: contract}}, nil -} - -// Console is an auto generated Go binding around an Ethereum contract. -type Console struct { - ConsoleCaller // Read-only binding to the contract - ConsoleTransactor // Write-only binding to the contract - ConsoleFilterer // Log filterer for contract events -} - -// ConsoleCaller is an auto generated read-only Go binding around an Ethereum contract. -type ConsoleCaller struct { - contract *bind.BoundContract // Generic contract wrapper for the low level calls -} - -// ConsoleTransactor is an auto generated write-only Go binding around an Ethereum contract. -type ConsoleTransactor struct { - contract *bind.BoundContract // Generic contract wrapper for the low level calls -} - -// ConsoleFilterer is an auto generated log filtering Go binding around an Ethereum contract events. -type ConsoleFilterer struct { - contract *bind.BoundContract // Generic contract wrapper for the low level calls -} - -// ConsoleSession is an auto generated Go binding around an Ethereum contract, -// with pre-set call and transact options. -type ConsoleSession struct { - Contract *Console // Generic contract binding to set the session for - CallOpts bind.CallOpts // Call options to use throughout this session - TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session -} - -// ConsoleCallerSession is an auto generated read-only Go binding around an Ethereum contract, -// with pre-set call options. -type ConsoleCallerSession struct { - Contract *ConsoleCaller // Generic contract caller binding to set the session for - CallOpts bind.CallOpts // Call options to use throughout this session -} - -// ConsoleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, -// with pre-set transact options. -type ConsoleTransactorSession struct { - Contract *ConsoleTransactor // Generic contract transactor binding to set the session for - TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session -} - -// ConsoleRaw is an auto generated low-level Go binding around an Ethereum contract. -type ConsoleRaw struct { - Contract *Console // Generic contract binding to access the raw methods on -} - -// ConsoleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. -type ConsoleCallerRaw struct { - Contract *ConsoleCaller // Generic read-only contract binding to access the raw methods on -} - -// ConsoleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. -type ConsoleTransactorRaw struct { - Contract *ConsoleTransactor // Generic write-only contract binding to access the raw methods on -} - -// NewConsole creates a new instance of Console, bound to a specific deployed contract. -func NewConsole(address common.Address, backend bind.ContractBackend) (*Console, error) { - contract, err := bindConsole(address, backend, backend, backend) - if err != nil { - return nil, err - } - return &Console{ConsoleCaller: ConsoleCaller{contract: contract}, ConsoleTransactor: ConsoleTransactor{contract: contract}, ConsoleFilterer: ConsoleFilterer{contract: contract}}, nil -} - -// NewConsoleCaller creates a new read-only instance of Console, bound to a specific deployed contract. -func NewConsoleCaller(address common.Address, caller bind.ContractCaller) (*ConsoleCaller, error) { - contract, err := bindConsole(address, caller, nil, nil) - if err != nil { - return nil, err - } - return &ConsoleCaller{contract: contract}, nil -} - -// NewConsoleTransactor creates a new write-only instance of Console, bound to a specific deployed contract. -func NewConsoleTransactor(address common.Address, transactor bind.ContractTransactor) (*ConsoleTransactor, error) { - contract, err := bindConsole(address, nil, transactor, nil) - if err != nil { - return nil, err - } - return &ConsoleTransactor{contract: contract}, nil -} - -// NewConsoleFilterer creates a new log filterer instance of Console, bound to a specific deployed contract. -func NewConsoleFilterer(address common.Address, filterer bind.ContractFilterer) (*ConsoleFilterer, error) { - contract, err := bindConsole(address, nil, nil, filterer) - if err != nil { - return nil, err - } - return &ConsoleFilterer{contract: contract}, nil -} - -// bindConsole binds a generic wrapper to an already deployed contract. -func bindConsole(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { - parsed, err := ConsoleMetaData.GetAbi() - if err != nil { - return nil, err - } - return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil -} - -// Call invokes the (constant) contract method with params as input values and -// sets the output to result. The result type might be a single field for simple -// returns, a slice of interfaces for anonymous returns and a struct for named -// returns. -func (_Console *ConsoleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error { - return _Console.Contract.ConsoleCaller.contract.Call(opts, result, method, params...) -} - -// Transfer initiates a plain transaction to move funds to the contract, calling -// its default method if one is available. -func (_Console *ConsoleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { - return _Console.Contract.ConsoleTransactor.contract.Transfer(opts) -} - -// Transact invokes the (paid) contract method with params as input values. -func (_Console *ConsoleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { - return _Console.Contract.ConsoleTransactor.contract.Transact(opts, method, params...) -} - -// Call invokes the (constant) contract method with params as input values and -// sets the output to result. The result type might be a single field for simple -// returns, a slice of interfaces for anonymous returns and a struct for named -// returns. -func (_Console *ConsoleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error { - return _Console.Contract.contract.Call(opts, result, method, params...) -} - -// Transfer initiates a plain transaction to move funds to the contract, calling -// its default method if one is available. -func (_Console *ConsoleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { - return _Console.Contract.contract.Transfer(opts) -} - -// Transact invokes the (paid) contract method with params as input values. -func (_Console *ConsoleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { - return _Console.Contract.contract.Transact(opts, method, params...) -} diff --git a/tasks/addresses.testnet.json b/tasks/addresses.testnet.json index a161fc67..9eec198e 100644 --- a/tasks/addresses.testnet.json +++ b/tasks/addresses.testnet.json @@ -20,6 +20,13 @@ "chain_name": "sepolia_testnet", "type": "zetaTokenConsumerUniV3" }, + { + "address": "0x48C4475B7A9A6E9c384dDF3eb30c56761a2bc37e", + "category": "messaging", + "chain_id": 7001, + "chain_name": "zeta_testnet", + "type": "zetaTokenConsumerUniV3" + }, { "address": "0x8954AfA98594b838bda56FE4C12a09D7739D179b", "category": "messaging",