gatewayfactory

package
v0.0.0-...-bdefaf9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GatewayFactoryABI = GatewayFactoryMetaData.ABI

GatewayFactoryABI is the input ABI used to generate the binding from. Deprecated: Use GatewayFactoryMetaData.ABI instead.

View Source
var GatewayFactoryBin = GatewayFactoryMetaData.Bin

GatewayFactoryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GatewayFactoryMetaData.Bin instead.

View Source
var GatewayFactoryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"gatewayAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"gatewayOwnerAddr\",\"type\":\"address\"}],\"name\":\"GatewayDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gatewayOwner\",\"type\":\"address\"}],\"name\":\"deployGateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gatewayBeacon\",\"outputs\":[{\"internalType\":\"contractProxyBeacon\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGatewayImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInjector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"injector_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gatewayImpl\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registryAddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contractsRegistryAddr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"setDependencies\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"injector_\",\"type\":\"address\"}],\"name\":\"setInjector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGatewayImpl\",\"type\":\"address\"}],\"name\":\"setNewImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506117a0806100206000396000f3fe60806040523480156200001157600080fd5b5060043610620000c35760003560e01c80638da5cb5b116200007a5780638da5cb5b146200014e57806395f9afe41462000160578063a65b58731462000177578063adb3ce92146200018b578063c4d66de814620001a2578063f2fde38b14620001b957600080fd5b80633e3b5b1914620000c857806341a8328b14620000f657806351da2eaa1462000100578063691304511462000114578063715018a6146200012d5780638cb941cc1462000137575b600080fd5b6000805160206200174b833981519152545b6040516001600160a01b03909116815260200160405180910390f35b620000da620001d0565b606654620000da906001600160a01b031681565b6200012b620001253660046200097d565b62000246565b005b6200012b620002f5565b6200012b6200014836600462000a4d565b6200030d565b6033546001600160a01b0316620000da565b620000da6200017136600462000a4d565b62000332565b606554620000da906001600160a01b031681565b6200012b6200019c36600462000a4d565b620004b4565b6200012b620001b336600462000a4d565b620004c9565b6200012b620001ca36600462000a4d565b6200063a565b60655460408051635c60da1b60e01b815290516000926001600160a01b031691635c60da1b9160048083019260209291908290030181865afa1580156200021b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000241919062000a74565b905090565b62000250620006b6565b6000829050806001600160a01b03166336ca3d736040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000294573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ba919062000a74565b606680546001600160a01b0319166001600160a01b039290921691909117905550336000805160206200174b833981519152555050565b5050565b620002ff6200073f565b6200030b60006200079b565b565b62000317620006b6565b6200032f816000805160206200174b83398151915255565b50565b6066546000906001600160a01b03163314620003a85760405162461bcd60e51b815260206004820152602a60248201527f47617465776179466163746f72793a206f7065726174696f6e206973206e6f74604482015269081c195c9b5a5d1d195960b21b60648201526084015b60405180910390fd5b6065546040516000916001600160a01b031690620003c69062000935565b6001600160a01b039091168152604060208201819052600090820152606001604051809103906000f08015801562000402573d6000803e3d6000fd5b5060405163485cc95560e01b81523360048201526001600160a01b0385811660248301529192509082169063485cc95590604401600060405180830381600087803b1580156200045157600080fd5b505af115801562000466573d6000803e3d6000fd5b5050604080516001600160a01b038086168252871660208201527f4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c2935001905060405180910390a192915050565b620004be6200073f565b6200032f81620007ed565b600054610100900460ff1615808015620004ea5750600054600160ff909116105b80620005065750303b15801562000506575060005460ff166001145b6200056b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016200039f565b6000805460ff1916600117905580156200058f576000805461ff0019166101001790555b62000599620008d2565b604051620005a79062000943565b604051809103906000f080158015620005c4573d6000803e3d6000fd5b50606580546001600160a01b0319166001600160a01b0392909216919091179055620005f082620007ed565b8015620002f1576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b620006446200073f565b6001600160a01b038116620006ab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200039f565b6200032f816200079b565b6000620006d06000805160206200174b8339815191525490565b90506001600160a01b0381161580620006f157506001600160a01b03811633145b6200032f5760405162461bcd60e51b815260206004820152601a60248201527f446570656e64616e743a206e6f7420616e20696e6a6563746f7200000000000060448201526064016200039f565b6033546001600160a01b031633146200030b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200039f565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60655460408051635c60da1b60e01b815290516001600160a01b03808516931691635c60da1b9160048083019260209291908290030181865afa15801562000839573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200085f919062000a74565b6001600160a01b0316146200032f57606554604051631b2ce7f360e11b81526001600160a01b03838116600483015290911690633659cfe690602401600060405180830381600087803b158015620008b657600080fd5b505af1158015620008cb573d6000803e3d6000fd5b5050505050565b600054610100900460ff16620008fc5760405162461bcd60e51b81526004016200039f9062000a94565b6200030b600054610100900460ff166200092a5760405162461bcd60e51b81526004016200039f9062000a94565b6200030b336200079b565b6109618062000ae083390190565b61030a806200144183390190565b6001600160a01b03811681146200032f57600080fd5b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200099157600080fd5b82356200099e8162000951565b9150602083013567ffffffffffffffff80821115620009bc57600080fd5b818501915085601f830112620009d157600080fd5b813581811115620009e657620009e662000967565b604051601f8201601f19908116603f0116810190838211818310171562000a115762000a1162000967565b8160405282815288602084870101111562000a2b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121562000a6057600080fd5b813562000a6d8162000951565b9392505050565b60006020828403121562000a8757600080fd5b815162000a6d8162000951565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fe60806040526040516109613803806109618339810160408190526100229161045f565b818161003082826000610039565b50505050610589565b61004283610104565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806100835750805b156100ff576100fd836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ed919061051f565b836102a760201b61008b1760201c565b505b505050565b610117816102d360201b6100b71760201c565b6101765760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101ea816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101db919061051f565b6102d360201b6100b71760201c565b61024f5760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b606482015260840161016d565b806102867fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6102e260201b6100c61760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606102cc838360405180606001604052806027815260200161093a602791396102e5565b9392505050565b6001600160a01b03163b151590565b90565b6060600080856001600160a01b031685604051610302919061053a565b600060405180830381855af49150503d806000811461033d576040519150601f19603f3d011682016040523d82523d6000602084013e610342565b606091505b5090925090506103548683838761035e565b9695505050505050565b606083156103cd5782516000036103c6576001600160a01b0385163b6103c65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161016d565b50816103d7565b6103d783836103df565b949350505050565b8151156103ef5781518083602001fd5b8060405162461bcd60e51b815260040161016d9190610556565b80516001600160a01b038116811461042057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561045657818101518382015260200161043e565b50506000910152565b6000806040838503121561047257600080fd5b61047b83610409565b60208401519092506001600160401b038082111561049857600080fd5b818501915085601f8301126104ac57600080fd5b8151818111156104be576104be610425565b604051601f8201601f19908116603f011681019083821181831017156104e6576104e6610425565b816040528281528860208487010111156104ff57600080fd5b61051083602083016020880161043b565b80955050505050509250929050565b60006020828403121561053157600080fd5b6102cc82610409565b6000825161054c81846020870161043b565b9190910192915050565b602081526000825180602084015261057581604085016020870161043b565b601f01601f19169190910160400192915050565b6103a2806105986000396000f3fe6080604052600436106100225760003560e01c80635c60da1b1461003957610031565b366100315761002f61006a565b005b61002f61006a565b34801561004557600080fd5b5061004e61007c565b6040516001600160a01b03909116815260200160405180910390f35b61007a6100756100c9565b61015d565b565b60006100866100c9565b905090565b60606100b0838360405180606001604052806027815260200161034660279139610181565b9392505050565b6001600160a01b03163b151590565b90565b60006100fc7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061008691906102a9565b3660008037600080366000845af43d6000803e80801561017c573d6000f35b3d6000fd5b6060600080856001600160a01b03168560405161019e91906102f6565b600060405180830381855af49150503d80600081146101d9576040519150601f19603f3d011682016040523d82523d6000602084013e6101de565b606091505b50915091506101ef868383876101f9565b9695505050505050565b6060831561026d578251600003610266576001600160a01b0385163b6102665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610277565b610277838361027f565b949350505050565b81511561028f5781518083602001fd5b8060405162461bcd60e51b815260040161025d9190610312565b6000602082840312156102bb57600080fd5b81516001600160a01b03811681146100b057600080fd5b60005b838110156102ed5781810151838201526020016102d5565b50506000910152565b600082516103088184602087016102d2565b9190910192915050565b60208152600082518060208401526103318160408501602087016102d2565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205de758e8f864b470b45b03032818b972b7f357e4aaf1ff7820bb63597615b25264736f6c63430008120033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656460a060405234801561001057600080fd5b5033806100895760405162461bcd60e51b815260206004820152603360248201527f5065726d616e656e744f776e61626c653a207a65726f2061646472657373206360448201527f616e206e6f7420626520746865206f776e657200000000000000000000000000606482015260840160405180910390fd5b6001600160a01b03166080526080516102546100b6600039600081816086015261016401526102546000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80633659cfe6146100465780635c60da1b1461005b5780638da5cb5b14610084575b600080fd5b6100596100543660046101ee565b6100aa565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b7f0000000000000000000000000000000000000000000000000000000000000000610068565b6100b2610162565b6001600160a01b0381163b61010e5760405162461bcd60e51b815260206004820152601b60248201527f50726f7879426561636f6e3a206e6f74206120636f6e7472616374000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b9060200160405180910390a150565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146101ec5760405162461bcd60e51b815260206004820152602960248201527f5065726d616e656e744f776e61626c653a2063616c6c6572206973206e6f74206044820152683a34329037bbb732b960b91b6064820152608401610105565b565b60006020828403121561020057600080fd5b81356001600160a01b038116811461021757600080fd5b939250505056fea26469706673582212205d328b93277557870c7f512d884c395a97f687578ba6430252e4c51676c546fa64736f6c634300081200333d1f25f1ac447e55e7fec744471c4dab1c6a2b6ffb897825f9ea3d2e8c9be583a26469706673582212203f93b1122608338c53b0561a30ff4e9fca4e7fa8bcb4277bb1a1aa0042ffda3164736f6c63430008120033",
}

GatewayFactoryMetaData contains all meta data concerning the GatewayFactory contract.

Functions

This section is empty.

Types

type GatewayFactory

type GatewayFactory struct {
	GatewayFactoryCaller     // Read-only binding to the contract
	GatewayFactoryTransactor // Write-only binding to the contract
	GatewayFactoryFilterer   // Log filterer for contract events
}

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

func DeployGatewayFactory

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

DeployGatewayFactory deploys a new Ethereum contract, binding an instance of GatewayFactory to it.

func NewGatewayFactory

func NewGatewayFactory(address common.Address, backend bind.ContractBackend) (*GatewayFactory, error)

NewGatewayFactory creates a new instance of GatewayFactory, bound to a specific deployed contract.

type GatewayFactoryCaller

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

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

func NewGatewayFactoryCaller

func NewGatewayFactoryCaller(address common.Address, caller bind.ContractCaller) (*GatewayFactoryCaller, error)

NewGatewayFactoryCaller creates a new read-only instance of GatewayFactory, bound to a specific deployed contract.

func (*GatewayFactoryCaller) GatewayBeacon

func (_GatewayFactory *GatewayFactoryCaller) GatewayBeacon(opts *bind.CallOpts) (common.Address, error)

GatewayBeacon is a free data retrieval call binding the contract method 0xa65b5873.

Solidity: function gatewayBeacon() view returns(address)

func (*GatewayFactoryCaller) GetGatewayImplementation

func (_GatewayFactory *GatewayFactoryCaller) GetGatewayImplementation(opts *bind.CallOpts) (common.Address, error)

GetGatewayImplementation is a free data retrieval call binding the contract method 0x41a8328b.

Solidity: function getGatewayImplementation() view returns(address)

func (*GatewayFactoryCaller) GetInjector

func (_GatewayFactory *GatewayFactoryCaller) GetInjector(opts *bind.CallOpts) (common.Address, error)

GetInjector is a free data retrieval call binding the contract method 0x3e3b5b19.

Solidity: function getInjector() view returns(address injector_)

func (*GatewayFactoryCaller) Owner

func (_GatewayFactory *GatewayFactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GatewayFactoryCaller) RegistryAddr

func (_GatewayFactory *GatewayFactoryCaller) RegistryAddr(opts *bind.CallOpts) (common.Address, error)

RegistryAddr is a free data retrieval call binding the contract method 0x51da2eaa.

Solidity: function registryAddr() view returns(address)

type GatewayFactoryCallerRaw

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

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

func (*GatewayFactoryCallerRaw) Call

func (_GatewayFactory *GatewayFactoryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type GatewayFactoryCallerSession

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

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

func (*GatewayFactoryCallerSession) GatewayBeacon

func (_GatewayFactory *GatewayFactoryCallerSession) GatewayBeacon() (common.Address, error)

GatewayBeacon is a free data retrieval call binding the contract method 0xa65b5873.

Solidity: function gatewayBeacon() view returns(address)

func (*GatewayFactoryCallerSession) GetGatewayImplementation

func (_GatewayFactory *GatewayFactoryCallerSession) GetGatewayImplementation() (common.Address, error)

GetGatewayImplementation is a free data retrieval call binding the contract method 0x41a8328b.

Solidity: function getGatewayImplementation() view returns(address)

func (*GatewayFactoryCallerSession) GetInjector

func (_GatewayFactory *GatewayFactoryCallerSession) GetInjector() (common.Address, error)

GetInjector is a free data retrieval call binding the contract method 0x3e3b5b19.

Solidity: function getInjector() view returns(address injector_)

func (*GatewayFactoryCallerSession) Owner

func (_GatewayFactory *GatewayFactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GatewayFactoryCallerSession) RegistryAddr

func (_GatewayFactory *GatewayFactoryCallerSession) RegistryAddr() (common.Address, error)

RegistryAddr is a free data retrieval call binding the contract method 0x51da2eaa.

Solidity: function registryAddr() view returns(address)

type GatewayFactoryFilterer

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

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

func NewGatewayFactoryFilterer

func NewGatewayFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*GatewayFactoryFilterer, error)

NewGatewayFactoryFilterer creates a new log filterer instance of GatewayFactory, bound to a specific deployed contract.

func (*GatewayFactoryFilterer) FilterGatewayDeployed

func (_GatewayFactory *GatewayFactoryFilterer) FilterGatewayDeployed(opts *bind.FilterOpts) (*GatewayFactoryGatewayDeployedIterator, error)

FilterGatewayDeployed is a free log retrieval operation binding the contract event 0x4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c2.

Solidity: event GatewayDeployed(address gatewayAddr, address gatewayOwnerAddr)

func (*GatewayFactoryFilterer) FilterInitialized

func (_GatewayFactory *GatewayFactoryFilterer) FilterInitialized(opts *bind.FilterOpts) (*GatewayFactoryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*GatewayFactoryFilterer) FilterOwnershipTransferred

func (_GatewayFactory *GatewayFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GatewayFactoryOwnershipTransferredIterator, error)

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

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

func (*GatewayFactoryFilterer) ParseGatewayDeployed

func (_GatewayFactory *GatewayFactoryFilterer) ParseGatewayDeployed(log types.Log) (*GatewayFactoryGatewayDeployed, error)

ParseGatewayDeployed is a log parse operation binding the contract event 0x4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c2.

Solidity: event GatewayDeployed(address gatewayAddr, address gatewayOwnerAddr)

func (*GatewayFactoryFilterer) ParseInitialized

func (_GatewayFactory *GatewayFactoryFilterer) ParseInitialized(log types.Log) (*GatewayFactoryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*GatewayFactoryFilterer) ParseOwnershipTransferred

func (_GatewayFactory *GatewayFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*GatewayFactoryOwnershipTransferred, error)

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

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

func (*GatewayFactoryFilterer) WatchGatewayDeployed

func (_GatewayFactory *GatewayFactoryFilterer) WatchGatewayDeployed(opts *bind.WatchOpts, sink chan<- *GatewayFactoryGatewayDeployed) (event.Subscription, error)

WatchGatewayDeployed is a free log subscription operation binding the contract event 0x4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c2.

Solidity: event GatewayDeployed(address gatewayAddr, address gatewayOwnerAddr)

func (*GatewayFactoryFilterer) WatchInitialized

func (_GatewayFactory *GatewayFactoryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *GatewayFactoryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*GatewayFactoryFilterer) WatchOwnershipTransferred

func (_GatewayFactory *GatewayFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GatewayFactoryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type GatewayFactoryGatewayDeployed

type GatewayFactoryGatewayDeployed struct {
	GatewayAddr      common.Address
	GatewayOwnerAddr common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

GatewayFactoryGatewayDeployed represents a GatewayDeployed event raised by the GatewayFactory contract.

type GatewayFactoryGatewayDeployedIterator

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

GatewayFactoryGatewayDeployedIterator is returned from FilterGatewayDeployed and is used to iterate over the raw logs and unpacked data for GatewayDeployed events raised by the GatewayFactory contract.

func (*GatewayFactoryGatewayDeployedIterator) Close

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

func (*GatewayFactoryGatewayDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayFactoryGatewayDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GatewayFactoryInitialized

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

GatewayFactoryInitialized represents a Initialized event raised by the GatewayFactory contract.

type GatewayFactoryInitializedIterator

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

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

func (*GatewayFactoryInitializedIterator) Close

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

func (*GatewayFactoryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayFactoryInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GatewayFactoryOwnershipTransferred

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

GatewayFactoryOwnershipTransferred represents a OwnershipTransferred event raised by the GatewayFactory contract.

type GatewayFactoryOwnershipTransferredIterator

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

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

func (*GatewayFactoryOwnershipTransferredIterator) Close

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

func (*GatewayFactoryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayFactoryOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GatewayFactoryRaw

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

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

func (*GatewayFactoryRaw) Call

func (_GatewayFactory *GatewayFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*GatewayFactoryRaw) Transact

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

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

func (*GatewayFactoryRaw) Transfer

func (_GatewayFactory *GatewayFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type GatewayFactorySession

type GatewayFactorySession struct {
	Contract     *GatewayFactory   // 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
}

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

func (*GatewayFactorySession) DeployGateway

func (_GatewayFactory *GatewayFactorySession) DeployGateway(_gatewayOwner common.Address) (*types.Transaction, error)

DeployGateway is a paid mutator transaction binding the contract method 0x95f9afe4.

Solidity: function deployGateway(address _gatewayOwner) returns(address)

func (*GatewayFactorySession) GatewayBeacon

func (_GatewayFactory *GatewayFactorySession) GatewayBeacon() (common.Address, error)

GatewayBeacon is a free data retrieval call binding the contract method 0xa65b5873.

Solidity: function gatewayBeacon() view returns(address)

func (*GatewayFactorySession) GetGatewayImplementation

func (_GatewayFactory *GatewayFactorySession) GetGatewayImplementation() (common.Address, error)

GetGatewayImplementation is a free data retrieval call binding the contract method 0x41a8328b.

Solidity: function getGatewayImplementation() view returns(address)

func (*GatewayFactorySession) GetInjector

func (_GatewayFactory *GatewayFactorySession) GetInjector() (common.Address, error)

GetInjector is a free data retrieval call binding the contract method 0x3e3b5b19.

Solidity: function getInjector() view returns(address injector_)

func (*GatewayFactorySession) Initialize

func (_GatewayFactory *GatewayFactorySession) Initialize(_gatewayImpl common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _gatewayImpl) returns()

func (*GatewayFactorySession) Owner

func (_GatewayFactory *GatewayFactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GatewayFactorySession) RegistryAddr

func (_GatewayFactory *GatewayFactorySession) RegistryAddr() (common.Address, error)

RegistryAddr is a free data retrieval call binding the contract method 0x51da2eaa.

Solidity: function registryAddr() view returns(address)

func (*GatewayFactorySession) RenounceOwnership

func (_GatewayFactory *GatewayFactorySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GatewayFactorySession) SetDependencies

func (_GatewayFactory *GatewayFactorySession) SetDependencies(_contractsRegistryAddr common.Address, arg1 []byte) (*types.Transaction, error)

SetDependencies is a paid mutator transaction binding the contract method 0x69130451.

Solidity: function setDependencies(address _contractsRegistryAddr, bytes ) returns()

func (*GatewayFactorySession) SetInjector

func (_GatewayFactory *GatewayFactorySession) SetInjector(injector_ common.Address) (*types.Transaction, error)

SetInjector is a paid mutator transaction binding the contract method 0x8cb941cc.

Solidity: function setInjector(address injector_) returns()

func (*GatewayFactorySession) SetNewImplementation

func (_GatewayFactory *GatewayFactorySession) SetNewImplementation(_newGatewayImpl common.Address) (*types.Transaction, error)

SetNewImplementation is a paid mutator transaction binding the contract method 0xadb3ce92.

Solidity: function setNewImplementation(address _newGatewayImpl) returns()

func (*GatewayFactorySession) TransferOwnership

func (_GatewayFactory *GatewayFactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type GatewayFactoryTransactor

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

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

func NewGatewayFactoryTransactor

func NewGatewayFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*GatewayFactoryTransactor, error)

NewGatewayFactoryTransactor creates a new write-only instance of GatewayFactory, bound to a specific deployed contract.

func (*GatewayFactoryTransactor) DeployGateway

func (_GatewayFactory *GatewayFactoryTransactor) DeployGateway(opts *bind.TransactOpts, _gatewayOwner common.Address) (*types.Transaction, error)

DeployGateway is a paid mutator transaction binding the contract method 0x95f9afe4.

Solidity: function deployGateway(address _gatewayOwner) returns(address)

func (*GatewayFactoryTransactor) Initialize

func (_GatewayFactory *GatewayFactoryTransactor) Initialize(opts *bind.TransactOpts, _gatewayImpl common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _gatewayImpl) returns()

func (*GatewayFactoryTransactor) RenounceOwnership

func (_GatewayFactory *GatewayFactoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GatewayFactoryTransactor) SetDependencies

func (_GatewayFactory *GatewayFactoryTransactor) SetDependencies(opts *bind.TransactOpts, _contractsRegistryAddr common.Address, arg1 []byte) (*types.Transaction, error)

SetDependencies is a paid mutator transaction binding the contract method 0x69130451.

Solidity: function setDependencies(address _contractsRegistryAddr, bytes ) returns()

func (*GatewayFactoryTransactor) SetInjector

func (_GatewayFactory *GatewayFactoryTransactor) SetInjector(opts *bind.TransactOpts, injector_ common.Address) (*types.Transaction, error)

SetInjector is a paid mutator transaction binding the contract method 0x8cb941cc.

Solidity: function setInjector(address injector_) returns()

func (*GatewayFactoryTransactor) SetNewImplementation

func (_GatewayFactory *GatewayFactoryTransactor) SetNewImplementation(opts *bind.TransactOpts, _newGatewayImpl common.Address) (*types.Transaction, error)

SetNewImplementation is a paid mutator transaction binding the contract method 0xadb3ce92.

Solidity: function setNewImplementation(address _newGatewayImpl) returns()

func (*GatewayFactoryTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type GatewayFactoryTransactorRaw

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

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

func (*GatewayFactoryTransactorRaw) Transact

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

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

func (*GatewayFactoryTransactorRaw) Transfer

func (_GatewayFactory *GatewayFactoryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type GatewayFactoryTransactorSession

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

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

func (*GatewayFactoryTransactorSession) DeployGateway

func (_GatewayFactory *GatewayFactoryTransactorSession) DeployGateway(_gatewayOwner common.Address) (*types.Transaction, error)

DeployGateway is a paid mutator transaction binding the contract method 0x95f9afe4.

Solidity: function deployGateway(address _gatewayOwner) returns(address)

func (*GatewayFactoryTransactorSession) Initialize

func (_GatewayFactory *GatewayFactoryTransactorSession) Initialize(_gatewayImpl common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _gatewayImpl) returns()

func (*GatewayFactoryTransactorSession) RenounceOwnership

func (_GatewayFactory *GatewayFactoryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GatewayFactoryTransactorSession) SetDependencies

func (_GatewayFactory *GatewayFactoryTransactorSession) SetDependencies(_contractsRegistryAddr common.Address, arg1 []byte) (*types.Transaction, error)

SetDependencies is a paid mutator transaction binding the contract method 0x69130451.

Solidity: function setDependencies(address _contractsRegistryAddr, bytes ) returns()

func (*GatewayFactoryTransactorSession) SetInjector

func (_GatewayFactory *GatewayFactoryTransactorSession) SetInjector(injector_ common.Address) (*types.Transaction, error)

SetInjector is a paid mutator transaction binding the contract method 0x8cb941cc.

Solidity: function setInjector(address injector_) returns()

func (*GatewayFactoryTransactorSession) SetNewImplementation

func (_GatewayFactory *GatewayFactoryTransactorSession) SetNewImplementation(_newGatewayImpl common.Address) (*types.Transaction, error)

SetNewImplementation is a paid mutator transaction binding the contract method 0xadb3ce92.

Solidity: function setNewImplementation(address _newGatewayImpl) returns()

func (*GatewayFactoryTransactorSession) TransferOwnership

func (_GatewayFactory *GatewayFactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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