super_node_fee_pool

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SuperNodeFeePoolABI = SuperNodeFeePoolMetaData.ABI

SuperNodeFeePoolABI is the input ABI used to generate the binding from. Deprecated: Use SuperNodeFeePoolMetaData.ABI instead.

View Source
var SuperNodeFeePoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stafiStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"by\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherWithdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

SuperNodeFeePoolMetaData contains all meta data concerning the SuperNodeFeePool contract.

Functions

This section is empty.

Types

type SuperNodeFeePool

type SuperNodeFeePool struct {
	SuperNodeFeePoolCaller     // Read-only binding to the contract
	SuperNodeFeePoolTransactor // Write-only binding to the contract
	SuperNodeFeePoolFilterer   // Log filterer for contract events
}

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

func NewSuperNodeFeePool

func NewSuperNodeFeePool(address common.Address, backend bind.ContractBackend) (*SuperNodeFeePool, error)

NewSuperNodeFeePool creates a new instance of SuperNodeFeePool, bound to a specific deployed contract.

type SuperNodeFeePoolCaller

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

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

func NewSuperNodeFeePoolCaller

func NewSuperNodeFeePoolCaller(address common.Address, caller bind.ContractCaller) (*SuperNodeFeePoolCaller, error)

NewSuperNodeFeePoolCaller creates a new read-only instance of SuperNodeFeePool, bound to a specific deployed contract.

func (*SuperNodeFeePoolCaller) Version

func (_SuperNodeFeePool *SuperNodeFeePoolCaller) Version(opts *bind.CallOpts) (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type SuperNodeFeePoolCallerRaw

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

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

func (*SuperNodeFeePoolCallerRaw) Call

func (_SuperNodeFeePool *SuperNodeFeePoolCallerRaw) 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 SuperNodeFeePoolCallerSession

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

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

func (*SuperNodeFeePoolCallerSession) Version

func (_SuperNodeFeePool *SuperNodeFeePoolCallerSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type SuperNodeFeePoolEtherWithdrawn

type SuperNodeFeePoolEtherWithdrawn struct {
	By     common.Hash
	To     common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SuperNodeFeePoolEtherWithdrawn represents a EtherWithdrawn event raised by the SuperNodeFeePool contract.

type SuperNodeFeePoolEtherWithdrawnIterator

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

SuperNodeFeePoolEtherWithdrawnIterator is returned from FilterEtherWithdrawn and is used to iterate over the raw logs and unpacked data for EtherWithdrawn events raised by the SuperNodeFeePool contract.

func (*SuperNodeFeePoolEtherWithdrawnIterator) Close

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

func (*SuperNodeFeePoolEtherWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SuperNodeFeePoolEtherWithdrawnIterator) 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 SuperNodeFeePoolFilterer

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

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

func NewSuperNodeFeePoolFilterer

func NewSuperNodeFeePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*SuperNodeFeePoolFilterer, error)

NewSuperNodeFeePoolFilterer creates a new log filterer instance of SuperNodeFeePool, bound to a specific deployed contract.

func (*SuperNodeFeePoolFilterer) FilterEtherWithdrawn

func (_SuperNodeFeePool *SuperNodeFeePoolFilterer) FilterEtherWithdrawn(opts *bind.FilterOpts, by []string, to []common.Address) (*SuperNodeFeePoolEtherWithdrawnIterator, error)

FilterEtherWithdrawn is a free log retrieval operation binding the contract event 0xff381a086696de98df05e634263390296dd1d097ef34a1be9a91daead07fb01d.

Solidity: event EtherWithdrawn(string indexed by, address indexed to, uint256 amount, uint256 time)

func (*SuperNodeFeePoolFilterer) ParseEtherWithdrawn

func (_SuperNodeFeePool *SuperNodeFeePoolFilterer) ParseEtherWithdrawn(log types.Log) (*SuperNodeFeePoolEtherWithdrawn, error)

ParseEtherWithdrawn is a log parse operation binding the contract event 0xff381a086696de98df05e634263390296dd1d097ef34a1be9a91daead07fb01d.

Solidity: event EtherWithdrawn(string indexed by, address indexed to, uint256 amount, uint256 time)

func (*SuperNodeFeePoolFilterer) WatchEtherWithdrawn

func (_SuperNodeFeePool *SuperNodeFeePoolFilterer) WatchEtherWithdrawn(opts *bind.WatchOpts, sink chan<- *SuperNodeFeePoolEtherWithdrawn, by []string, to []common.Address) (event.Subscription, error)

WatchEtherWithdrawn is a free log subscription operation binding the contract event 0xff381a086696de98df05e634263390296dd1d097ef34a1be9a91daead07fb01d.

Solidity: event EtherWithdrawn(string indexed by, address indexed to, uint256 amount, uint256 time)

type SuperNodeFeePoolRaw

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

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

func (*SuperNodeFeePoolRaw) Call

func (_SuperNodeFeePool *SuperNodeFeePoolRaw) 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 (*SuperNodeFeePoolRaw) Transact

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

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

func (*SuperNodeFeePoolRaw) Transfer

func (_SuperNodeFeePool *SuperNodeFeePoolRaw) 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 SuperNodeFeePoolSession

type SuperNodeFeePoolSession struct {
	Contract     *SuperNodeFeePool // 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
}

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

func (*SuperNodeFeePoolSession) Receive

func (_SuperNodeFeePool *SuperNodeFeePoolSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*SuperNodeFeePoolSession) Version

func (_SuperNodeFeePool *SuperNodeFeePoolSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

func (*SuperNodeFeePoolSession) WithdrawEther

func (_SuperNodeFeePool *SuperNodeFeePoolSession) WithdrawEther(_to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _to, uint256 _amount) returns()

type SuperNodeFeePoolTransactor

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

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

func NewSuperNodeFeePoolTransactor

func NewSuperNodeFeePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*SuperNodeFeePoolTransactor, error)

NewSuperNodeFeePoolTransactor creates a new write-only instance of SuperNodeFeePool, bound to a specific deployed contract.

func (*SuperNodeFeePoolTransactor) Receive

func (_SuperNodeFeePool *SuperNodeFeePoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*SuperNodeFeePoolTransactor) WithdrawEther

func (_SuperNodeFeePool *SuperNodeFeePoolTransactor) WithdrawEther(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _to, uint256 _amount) returns()

type SuperNodeFeePoolTransactorRaw

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

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

func (*SuperNodeFeePoolTransactorRaw) Transact

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

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

func (*SuperNodeFeePoolTransactorRaw) Transfer

func (_SuperNodeFeePool *SuperNodeFeePoolTransactorRaw) 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 SuperNodeFeePoolTransactorSession

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

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

func (*SuperNodeFeePoolTransactorSession) Receive

func (_SuperNodeFeePool *SuperNodeFeePoolTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*SuperNodeFeePoolTransactorSession) WithdrawEther

func (_SuperNodeFeePool *SuperNodeFeePoolTransactorSession) WithdrawEther(_to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _to, uint256 _amount) returns()

Jump to

Keyboard shortcuts

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