signerstorage

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 SignerStorageABI = SignerStorageMetaData.ABI

SignerStorageABI is the input ABI used to generate the binding from. Deprecated: Use SignerStorageMetaData.ABI instead.

View Source
var SignerStorageBin = SignerStorageMetaData.Bin

SignerStorageBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SignerStorageMetaData.Bin instead.

View Source
var SignerStorageMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"SignerUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getSignerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newSigner\",\"type\":\"address\"}],\"name\":\"setAddress\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signerGetter\",\"outputs\":[{\"internalType\":\"contractISignerAddress\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610478806100206000396000f3fe60806040526004361061003f5760003560e01c80631a296e02146100445780635c211f881461007a578063c4d66de8146100a0578063e30081a0146100c2575b600080fd5b34801561005057600080fd5b506001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b34801561008657600080fd5b5060005461005e906201000090046001600160a01b031681565b3480156100ac57600080fd5b506100c06100bb366004610401565b6100d5565b005b6100c06100d0366004610401565b610218565b600054610100900460ff16158080156100f55750600054600160ff909116105b8061010f5750303b15801561010f575060005460ff166001145b6101775760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561019a576000805461ff0019166101001790555b6000805462010000600160b01b031916620100003002179055600180546001600160a01b0319166001600160a01b0384161790558015610214576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60005460408051630d14b70160e11b8152905133926201000090046001600160a01b031691631a296e029160048083019260209291908290030181865afa158015610267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028b9190610425565b6001600160a01b0316146102e15760405162461bcd60e51b815260206004820152601a60248201527f5369676e65724f776e61626c653a206f6e6c79207369676e6572000000000000604482015260640161016e565b600180546001600160a01b0319166001600160a01b038316908117909155604051349160009161520890849084818181858888f193505050503d8060008114610346576040519150601f19603f3d011682016040523d82523d6000602084013e61034b565b606091505b50509050806103a85760405162461bcd60e51b8152602060048201526024808201527f5369676e657253746f726167653a207472616e736665722076616c75652066616044820152631a5b195960e21b606482015260840161016e565b6040516001600160a01b03841681527f5553331329228fbd4123164423717a4a7539f6dfa1c3279a923b98fd681a6c739060200160405180910390a1505050565b6001600160a01b03811681146103fe57600080fd5b50565b60006020828403121561041357600080fd5b813561041e816103e9565b9392505050565b60006020828403121561043757600080fd5b815161041e816103e956fea264697066735822122020c8399c1f4d780dc65dc8c34760c4c1e334f997a82f2128b6a9724cfc25bf2264736f6c63430008120033",
}

SignerStorageMetaData contains all meta data concerning the SignerStorage contract.

Functions

This section is empty.

Types

type SignerStorage

type SignerStorage struct {
	SignerStorageCaller     // Read-only binding to the contract
	SignerStorageTransactor // Write-only binding to the contract
	SignerStorageFilterer   // Log filterer for contract events
}

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

func DeploySignerStorage

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

DeploySignerStorage deploys a new Ethereum contract, binding an instance of SignerStorage to it.

func NewSignerStorage

func NewSignerStorage(address common.Address, backend bind.ContractBackend) (*SignerStorage, error)

NewSignerStorage creates a new instance of SignerStorage, bound to a specific deployed contract.

type SignerStorageCaller

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

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

func NewSignerStorageCaller

func NewSignerStorageCaller(address common.Address, caller bind.ContractCaller) (*SignerStorageCaller, error)

NewSignerStorageCaller creates a new read-only instance of SignerStorage, bound to a specific deployed contract.

func (*SignerStorageCaller) GetSignerAddress

func (_SignerStorage *SignerStorageCaller) GetSignerAddress(opts *bind.CallOpts) (common.Address, error)

GetSignerAddress is a free data retrieval call binding the contract method 0x1a296e02.

Solidity: function getSignerAddress() view returns(address)

func (*SignerStorageCaller) SignerGetter

func (_SignerStorage *SignerStorageCaller) SignerGetter(opts *bind.CallOpts) (common.Address, error)

SignerGetter is a free data retrieval call binding the contract method 0x5c211f88.

Solidity: function signerGetter() view returns(address)

type SignerStorageCallerRaw

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

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

func (*SignerStorageCallerRaw) Call

func (_SignerStorage *SignerStorageCallerRaw) 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 SignerStorageCallerSession

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

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

func (*SignerStorageCallerSession) GetSignerAddress

func (_SignerStorage *SignerStorageCallerSession) GetSignerAddress() (common.Address, error)

GetSignerAddress is a free data retrieval call binding the contract method 0x1a296e02.

Solidity: function getSignerAddress() view returns(address)

func (*SignerStorageCallerSession) SignerGetter

func (_SignerStorage *SignerStorageCallerSession) SignerGetter() (common.Address, error)

SignerGetter is a free data retrieval call binding the contract method 0x5c211f88.

Solidity: function signerGetter() view returns(address)

type SignerStorageFilterer

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

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

func NewSignerStorageFilterer

func NewSignerStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*SignerStorageFilterer, error)

NewSignerStorageFilterer creates a new log filterer instance of SignerStorage, bound to a specific deployed contract.

func (*SignerStorageFilterer) FilterInitialized

func (_SignerStorage *SignerStorageFilterer) FilterInitialized(opts *bind.FilterOpts) (*SignerStorageInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*SignerStorageFilterer) FilterSignerUpdated

func (_SignerStorage *SignerStorageFilterer) FilterSignerUpdated(opts *bind.FilterOpts) (*SignerStorageSignerUpdatedIterator, error)

FilterSignerUpdated is a free log retrieval operation binding the contract event 0x5553331329228fbd4123164423717a4a7539f6dfa1c3279a923b98fd681a6c73.

Solidity: event SignerUpdated(address signer)

func (*SignerStorageFilterer) ParseInitialized

func (_SignerStorage *SignerStorageFilterer) ParseInitialized(log types.Log) (*SignerStorageInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*SignerStorageFilterer) ParseSignerUpdated

func (_SignerStorage *SignerStorageFilterer) ParseSignerUpdated(log types.Log) (*SignerStorageSignerUpdated, error)

ParseSignerUpdated is a log parse operation binding the contract event 0x5553331329228fbd4123164423717a4a7539f6dfa1c3279a923b98fd681a6c73.

Solidity: event SignerUpdated(address signer)

func (*SignerStorageFilterer) WatchInitialized

func (_SignerStorage *SignerStorageFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SignerStorageInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*SignerStorageFilterer) WatchSignerUpdated

func (_SignerStorage *SignerStorageFilterer) WatchSignerUpdated(opts *bind.WatchOpts, sink chan<- *SignerStorageSignerUpdated) (event.Subscription, error)

WatchSignerUpdated is a free log subscription operation binding the contract event 0x5553331329228fbd4123164423717a4a7539f6dfa1c3279a923b98fd681a6c73.

Solidity: event SignerUpdated(address signer)

type SignerStorageInitialized

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

SignerStorageInitialized represents a Initialized event raised by the SignerStorage contract.

type SignerStorageInitializedIterator

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

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

func (*SignerStorageInitializedIterator) Close

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

func (*SignerStorageInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SignerStorageInitializedIterator) 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 SignerStorageRaw

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

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

func (*SignerStorageRaw) Call

func (_SignerStorage *SignerStorageRaw) 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 (*SignerStorageRaw) Transact

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

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

func (*SignerStorageRaw) Transfer

func (_SignerStorage *SignerStorageRaw) 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 SignerStorageSession

type SignerStorageSession struct {
	Contract     *SignerStorage    // 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
}

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

func (*SignerStorageSession) GetSignerAddress

func (_SignerStorage *SignerStorageSession) GetSignerAddress() (common.Address, error)

GetSignerAddress is a free data retrieval call binding the contract method 0x1a296e02.

Solidity: function getSignerAddress() view returns(address)

func (*SignerStorageSession) Initialize

func (_SignerStorage *SignerStorageSession) Initialize(_signer common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _signer) returns()

func (*SignerStorageSession) SetAddress

func (_SignerStorage *SignerStorageSession) SetAddress(_newSigner common.Address) (*types.Transaction, error)

SetAddress is a paid mutator transaction binding the contract method 0xe30081a0.

Solidity: function setAddress(address _newSigner) payable returns()

func (*SignerStorageSession) SignerGetter

func (_SignerStorage *SignerStorageSession) SignerGetter() (common.Address, error)

SignerGetter is a free data retrieval call binding the contract method 0x5c211f88.

Solidity: function signerGetter() view returns(address)

type SignerStorageSignerUpdated

type SignerStorageSignerUpdated struct {
	Signer common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

SignerStorageSignerUpdated represents a SignerUpdated event raised by the SignerStorage contract.

type SignerStorageSignerUpdatedIterator

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

SignerStorageSignerUpdatedIterator is returned from FilterSignerUpdated and is used to iterate over the raw logs and unpacked data for SignerUpdated events raised by the SignerStorage contract.

func (*SignerStorageSignerUpdatedIterator) Close

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

func (*SignerStorageSignerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SignerStorageSignerUpdatedIterator) 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 SignerStorageTransactor

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

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

func NewSignerStorageTransactor

func NewSignerStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*SignerStorageTransactor, error)

NewSignerStorageTransactor creates a new write-only instance of SignerStorage, bound to a specific deployed contract.

func (*SignerStorageTransactor) Initialize

func (_SignerStorage *SignerStorageTransactor) Initialize(opts *bind.TransactOpts, _signer common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _signer) returns()

func (*SignerStorageTransactor) SetAddress

func (_SignerStorage *SignerStorageTransactor) SetAddress(opts *bind.TransactOpts, _newSigner common.Address) (*types.Transaction, error)

SetAddress is a paid mutator transaction binding the contract method 0xe30081a0.

Solidity: function setAddress(address _newSigner) payable returns()

type SignerStorageTransactorRaw

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

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

func (*SignerStorageTransactorRaw) Transact

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

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

func (*SignerStorageTransactorRaw) Transfer

func (_SignerStorage *SignerStorageTransactorRaw) 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 SignerStorageTransactorSession

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

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

func (*SignerStorageTransactorSession) Initialize

func (_SignerStorage *SignerStorageTransactorSession) Initialize(_signer common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _signer) returns()

func (*SignerStorageTransactorSession) SetAddress

func (_SignerStorage *SignerStorageTransactorSession) SetAddress(_newSigner common.Address) (*types.Transaction, error)

SetAddress is a paid mutator transaction binding the contract method 0xe30081a0.

Solidity: function setAddress(address _newSigner) payable returns()

Jump to

Keyboard shortcuts

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