network_settings

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 NetworkSettingsABI = NetworkSettingsMetaData.ABI

NetworkSettingsABI is the input ABI used to generate the binding from. Deprecated: Use NetworkSettingsMetaData.ABI instead.

View Source
var NetworkSettingsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stafiStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"getNodeConsensusThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeRefundRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodeTrustedRefundRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPlatformFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProcessWithdrawalsEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSubmitBalancesEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSuperNodePubkeyLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawalCredentials\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setNodeConsensusThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setNodeFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setNodeRefundRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setNodeTrustedRefundRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setPlatformFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setProcessWithdrawalsEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setSubmitBalancesEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setSuperNodePubkeyLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_value\",\"type\":\"bytes\"}],\"name\":\"setWithdrawalCredentials\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

NetworkSettingsMetaData contains all meta data concerning the NetworkSettings contract.

Functions

This section is empty.

Types

type NetworkSettings

type NetworkSettings struct {
	NetworkSettingsCaller     // Read-only binding to the contract
	NetworkSettingsTransactor // Write-only binding to the contract
	NetworkSettingsFilterer   // Log filterer for contract events
}

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

func NewNetworkSettings

func NewNetworkSettings(address common.Address, backend bind.ContractBackend) (*NetworkSettings, error)

NewNetworkSettings creates a new instance of NetworkSettings, bound to a specific deployed contract.

type NetworkSettingsCaller

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

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

func NewNetworkSettingsCaller

func NewNetworkSettingsCaller(address common.Address, caller bind.ContractCaller) (*NetworkSettingsCaller, error)

NewNetworkSettingsCaller creates a new read-only instance of NetworkSettings, bound to a specific deployed contract.

func (*NetworkSettingsCaller) GetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsCaller) GetNodeConsensusThreshold(opts *bind.CallOpts) (*big.Int, error)

GetNodeConsensusThreshold is a free data retrieval call binding the contract method 0x1f66e8ed.

Solidity: function getNodeConsensusThreshold() view returns(uint256)

func (*NetworkSettingsCaller) GetNodeFee

func (_NetworkSettings *NetworkSettingsCaller) GetNodeFee(opts *bind.CallOpts) (*big.Int, error)

GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.

Solidity: function getNodeFee() view returns(uint256)

func (*NetworkSettingsCaller) GetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsCaller) GetNodeRefundRatio(opts *bind.CallOpts) (*big.Int, error)

GetNodeRefundRatio is a free data retrieval call binding the contract method 0xeb364204.

Solidity: function getNodeRefundRatio() view returns(uint256)

func (*NetworkSettingsCaller) GetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsCaller) GetNodeTrustedRefundRatio(opts *bind.CallOpts) (*big.Int, error)

GetNodeTrustedRefundRatio is a free data retrieval call binding the contract method 0xf4cf0830.

Solidity: function getNodeTrustedRefundRatio() view returns(uint256)

func (*NetworkSettingsCaller) GetPlatformFee

func (_NetworkSettings *NetworkSettingsCaller) GetPlatformFee(opts *bind.CallOpts) (*big.Int, error)

GetPlatformFee is a free data retrieval call binding the contract method 0x6ea8bc10.

Solidity: function getPlatformFee() view returns(uint256)

func (*NetworkSettingsCaller) GetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsCaller) GetProcessWithdrawalsEnabled(opts *bind.CallOpts) (bool, error)

GetProcessWithdrawalsEnabled is a free data retrieval call binding the contract method 0x28ea8d06.

Solidity: function getProcessWithdrawalsEnabled() view returns(bool)

func (*NetworkSettingsCaller) GetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsCaller) GetSubmitBalancesEnabled(opts *bind.CallOpts) (bool, error)

GetSubmitBalancesEnabled is a free data retrieval call binding the contract method 0xfcdb60db.

Solidity: function getSubmitBalancesEnabled() view returns(bool)

func (*NetworkSettingsCaller) GetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsCaller) GetSuperNodePubkeyLimit(opts *bind.CallOpts) (*big.Int, error)

GetSuperNodePubkeyLimit is a free data retrieval call binding the contract method 0xb195384f.

Solidity: function getSuperNodePubkeyLimit() view returns(uint256)

func (*NetworkSettingsCaller) GetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsCaller) GetWithdrawalCredentials(opts *bind.CallOpts) ([]byte, error)

GetWithdrawalCredentials is a free data retrieval call binding the contract method 0x56396715.

Solidity: function getWithdrawalCredentials() view returns(bytes)

func (*NetworkSettingsCaller) Version

func (_NetworkSettings *NetworkSettingsCaller) 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 NetworkSettingsCallerRaw

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

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

func (*NetworkSettingsCallerRaw) Call

func (_NetworkSettings *NetworkSettingsCallerRaw) 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 NetworkSettingsCallerSession

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

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

func (*NetworkSettingsCallerSession) GetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsCallerSession) GetNodeConsensusThreshold() (*big.Int, error)

GetNodeConsensusThreshold is a free data retrieval call binding the contract method 0x1f66e8ed.

Solidity: function getNodeConsensusThreshold() view returns(uint256)

func (*NetworkSettingsCallerSession) GetNodeFee

func (_NetworkSettings *NetworkSettingsCallerSession) GetNodeFee() (*big.Int, error)

GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.

Solidity: function getNodeFee() view returns(uint256)

func (*NetworkSettingsCallerSession) GetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsCallerSession) GetNodeRefundRatio() (*big.Int, error)

GetNodeRefundRatio is a free data retrieval call binding the contract method 0xeb364204.

Solidity: function getNodeRefundRatio() view returns(uint256)

func (*NetworkSettingsCallerSession) GetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsCallerSession) GetNodeTrustedRefundRatio() (*big.Int, error)

GetNodeTrustedRefundRatio is a free data retrieval call binding the contract method 0xf4cf0830.

Solidity: function getNodeTrustedRefundRatio() view returns(uint256)

func (*NetworkSettingsCallerSession) GetPlatformFee

func (_NetworkSettings *NetworkSettingsCallerSession) GetPlatformFee() (*big.Int, error)

GetPlatformFee is a free data retrieval call binding the contract method 0x6ea8bc10.

Solidity: function getPlatformFee() view returns(uint256)

func (*NetworkSettingsCallerSession) GetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsCallerSession) GetProcessWithdrawalsEnabled() (bool, error)

GetProcessWithdrawalsEnabled is a free data retrieval call binding the contract method 0x28ea8d06.

Solidity: function getProcessWithdrawalsEnabled() view returns(bool)

func (*NetworkSettingsCallerSession) GetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsCallerSession) GetSubmitBalancesEnabled() (bool, error)

GetSubmitBalancesEnabled is a free data retrieval call binding the contract method 0xfcdb60db.

Solidity: function getSubmitBalancesEnabled() view returns(bool)

func (*NetworkSettingsCallerSession) GetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsCallerSession) GetSuperNodePubkeyLimit() (*big.Int, error)

GetSuperNodePubkeyLimit is a free data retrieval call binding the contract method 0xb195384f.

Solidity: function getSuperNodePubkeyLimit() view returns(uint256)

func (*NetworkSettingsCallerSession) GetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsCallerSession) GetWithdrawalCredentials() ([]byte, error)

GetWithdrawalCredentials is a free data retrieval call binding the contract method 0x56396715.

Solidity: function getWithdrawalCredentials() view returns(bytes)

func (*NetworkSettingsCallerSession) Version

func (_NetworkSettings *NetworkSettingsCallerSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

type NetworkSettingsFilterer

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

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

func NewNetworkSettingsFilterer

func NewNetworkSettingsFilterer(address common.Address, filterer bind.ContractFilterer) (*NetworkSettingsFilterer, error)

NewNetworkSettingsFilterer creates a new log filterer instance of NetworkSettings, bound to a specific deployed contract.

type NetworkSettingsRaw

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

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

func (*NetworkSettingsRaw) Call

func (_NetworkSettings *NetworkSettingsRaw) 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 (*NetworkSettingsRaw) Transact

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

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

func (*NetworkSettingsRaw) Transfer

func (_NetworkSettings *NetworkSettingsRaw) 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 NetworkSettingsSession

type NetworkSettingsSession struct {
	Contract     *NetworkSettings  // 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
}

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

func (*NetworkSettingsSession) GetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsSession) GetNodeConsensusThreshold() (*big.Int, error)

GetNodeConsensusThreshold is a free data retrieval call binding the contract method 0x1f66e8ed.

Solidity: function getNodeConsensusThreshold() view returns(uint256)

func (*NetworkSettingsSession) GetNodeFee

func (_NetworkSettings *NetworkSettingsSession) GetNodeFee() (*big.Int, error)

GetNodeFee is a free data retrieval call binding the contract method 0xe7150134.

Solidity: function getNodeFee() view returns(uint256)

func (*NetworkSettingsSession) GetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsSession) GetNodeRefundRatio() (*big.Int, error)

GetNodeRefundRatio is a free data retrieval call binding the contract method 0xeb364204.

Solidity: function getNodeRefundRatio() view returns(uint256)

func (*NetworkSettingsSession) GetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsSession) GetNodeTrustedRefundRatio() (*big.Int, error)

GetNodeTrustedRefundRatio is a free data retrieval call binding the contract method 0xf4cf0830.

Solidity: function getNodeTrustedRefundRatio() view returns(uint256)

func (*NetworkSettingsSession) GetPlatformFee

func (_NetworkSettings *NetworkSettingsSession) GetPlatformFee() (*big.Int, error)

GetPlatformFee is a free data retrieval call binding the contract method 0x6ea8bc10.

Solidity: function getPlatformFee() view returns(uint256)

func (*NetworkSettingsSession) GetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsSession) GetProcessWithdrawalsEnabled() (bool, error)

GetProcessWithdrawalsEnabled is a free data retrieval call binding the contract method 0x28ea8d06.

Solidity: function getProcessWithdrawalsEnabled() view returns(bool)

func (*NetworkSettingsSession) GetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsSession) GetSubmitBalancesEnabled() (bool, error)

GetSubmitBalancesEnabled is a free data retrieval call binding the contract method 0xfcdb60db.

Solidity: function getSubmitBalancesEnabled() view returns(bool)

func (*NetworkSettingsSession) GetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsSession) GetSuperNodePubkeyLimit() (*big.Int, error)

GetSuperNodePubkeyLimit is a free data retrieval call binding the contract method 0xb195384f.

Solidity: function getSuperNodePubkeyLimit() view returns(uint256)

func (*NetworkSettingsSession) GetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsSession) GetWithdrawalCredentials() ([]byte, error)

GetWithdrawalCredentials is a free data retrieval call binding the contract method 0x56396715.

Solidity: function getWithdrawalCredentials() view returns(bytes)

func (*NetworkSettingsSession) SetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsSession) SetNodeConsensusThreshold(_value *big.Int) (*types.Transaction, error)

SetNodeConsensusThreshold is a paid mutator transaction binding the contract method 0x977886ea.

Solidity: function setNodeConsensusThreshold(uint256 _value) returns()

func (*NetworkSettingsSession) SetNodeFee

func (_NetworkSettings *NetworkSettingsSession) SetNodeFee(_value *big.Int) (*types.Transaction, error)

SetNodeFee is a paid mutator transaction binding the contract method 0x89093310.

Solidity: function setNodeFee(uint256 _value) returns()

func (*NetworkSettingsSession) SetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsSession) SetNodeRefundRatio(_value *big.Int) (*types.Transaction, error)

SetNodeRefundRatio is a paid mutator transaction binding the contract method 0xb67b446a.

Solidity: function setNodeRefundRatio(uint256 _value) returns()

func (*NetworkSettingsSession) SetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsSession) SetNodeTrustedRefundRatio(_value *big.Int) (*types.Transaction, error)

SetNodeTrustedRefundRatio is a paid mutator transaction binding the contract method 0x89799aa1.

Solidity: function setNodeTrustedRefundRatio(uint256 _value) returns()

func (*NetworkSettingsSession) SetPlatformFee

func (_NetworkSettings *NetworkSettingsSession) SetPlatformFee(_value *big.Int) (*types.Transaction, error)

SetPlatformFee is a paid mutator transaction binding the contract method 0x12e8e2c3.

Solidity: function setPlatformFee(uint256 _value) returns()

func (*NetworkSettingsSession) SetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsSession) SetProcessWithdrawalsEnabled(_value bool) (*types.Transaction, error)

SetProcessWithdrawalsEnabled is a paid mutator transaction binding the contract method 0xc6fbae5e.

Solidity: function setProcessWithdrawalsEnabled(bool _value) returns()

func (*NetworkSettingsSession) SetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsSession) SetSubmitBalancesEnabled(_value bool) (*types.Transaction, error)

SetSubmitBalancesEnabled is a paid mutator transaction binding the contract method 0xa37a9e61.

Solidity: function setSubmitBalancesEnabled(bool _value) returns()

func (*NetworkSettingsSession) SetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsSession) SetSuperNodePubkeyLimit(_value *big.Int) (*types.Transaction, error)

SetSuperNodePubkeyLimit is a paid mutator transaction binding the contract method 0xa8520bec.

Solidity: function setSuperNodePubkeyLimit(uint256 _value) returns()

func (*NetworkSettingsSession) SetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsSession) SetWithdrawalCredentials(_value []byte) (*types.Transaction, error)

SetWithdrawalCredentials is a paid mutator transaction binding the contract method 0xc4cf71c9.

Solidity: function setWithdrawalCredentials(bytes _value) returns()

func (*NetworkSettingsSession) Version

func (_NetworkSettings *NetworkSettingsSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

type NetworkSettingsTransactor

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

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

func NewNetworkSettingsTransactor

func NewNetworkSettingsTransactor(address common.Address, transactor bind.ContractTransactor) (*NetworkSettingsTransactor, error)

NewNetworkSettingsTransactor creates a new write-only instance of NetworkSettings, bound to a specific deployed contract.

func (*NetworkSettingsTransactor) SetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsTransactor) SetNodeConsensusThreshold(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetNodeConsensusThreshold is a paid mutator transaction binding the contract method 0x977886ea.

Solidity: function setNodeConsensusThreshold(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetNodeFee

func (_NetworkSettings *NetworkSettingsTransactor) SetNodeFee(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetNodeFee is a paid mutator transaction binding the contract method 0x89093310.

Solidity: function setNodeFee(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsTransactor) SetNodeRefundRatio(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetNodeRefundRatio is a paid mutator transaction binding the contract method 0xb67b446a.

Solidity: function setNodeRefundRatio(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsTransactor) SetNodeTrustedRefundRatio(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetNodeTrustedRefundRatio is a paid mutator transaction binding the contract method 0x89799aa1.

Solidity: function setNodeTrustedRefundRatio(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetPlatformFee

func (_NetworkSettings *NetworkSettingsTransactor) SetPlatformFee(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetPlatformFee is a paid mutator transaction binding the contract method 0x12e8e2c3.

Solidity: function setPlatformFee(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsTransactor) SetProcessWithdrawalsEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetProcessWithdrawalsEnabled is a paid mutator transaction binding the contract method 0xc6fbae5e.

Solidity: function setProcessWithdrawalsEnabled(bool _value) returns()

func (*NetworkSettingsTransactor) SetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsTransactor) SetSubmitBalancesEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetSubmitBalancesEnabled is a paid mutator transaction binding the contract method 0xa37a9e61.

Solidity: function setSubmitBalancesEnabled(bool _value) returns()

func (*NetworkSettingsTransactor) SetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsTransactor) SetSuperNodePubkeyLimit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetSuperNodePubkeyLimit is a paid mutator transaction binding the contract method 0xa8520bec.

Solidity: function setSuperNodePubkeyLimit(uint256 _value) returns()

func (*NetworkSettingsTransactor) SetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsTransactor) SetWithdrawalCredentials(opts *bind.TransactOpts, _value []byte) (*types.Transaction, error)

SetWithdrawalCredentials is a paid mutator transaction binding the contract method 0xc4cf71c9.

Solidity: function setWithdrawalCredentials(bytes _value) returns()

type NetworkSettingsTransactorRaw

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

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

func (*NetworkSettingsTransactorRaw) Transact

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

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

func (*NetworkSettingsTransactorRaw) Transfer

func (_NetworkSettings *NetworkSettingsTransactorRaw) 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 NetworkSettingsTransactorSession

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

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

func (*NetworkSettingsTransactorSession) SetNodeConsensusThreshold

func (_NetworkSettings *NetworkSettingsTransactorSession) SetNodeConsensusThreshold(_value *big.Int) (*types.Transaction, error)

SetNodeConsensusThreshold is a paid mutator transaction binding the contract method 0x977886ea.

Solidity: function setNodeConsensusThreshold(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetNodeFee

func (_NetworkSettings *NetworkSettingsTransactorSession) SetNodeFee(_value *big.Int) (*types.Transaction, error)

SetNodeFee is a paid mutator transaction binding the contract method 0x89093310.

Solidity: function setNodeFee(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetNodeRefundRatio

func (_NetworkSettings *NetworkSettingsTransactorSession) SetNodeRefundRatio(_value *big.Int) (*types.Transaction, error)

SetNodeRefundRatio is a paid mutator transaction binding the contract method 0xb67b446a.

Solidity: function setNodeRefundRatio(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetNodeTrustedRefundRatio

func (_NetworkSettings *NetworkSettingsTransactorSession) SetNodeTrustedRefundRatio(_value *big.Int) (*types.Transaction, error)

SetNodeTrustedRefundRatio is a paid mutator transaction binding the contract method 0x89799aa1.

Solidity: function setNodeTrustedRefundRatio(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetPlatformFee

func (_NetworkSettings *NetworkSettingsTransactorSession) SetPlatformFee(_value *big.Int) (*types.Transaction, error)

SetPlatformFee is a paid mutator transaction binding the contract method 0x12e8e2c3.

Solidity: function setPlatformFee(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetProcessWithdrawalsEnabled

func (_NetworkSettings *NetworkSettingsTransactorSession) SetProcessWithdrawalsEnabled(_value bool) (*types.Transaction, error)

SetProcessWithdrawalsEnabled is a paid mutator transaction binding the contract method 0xc6fbae5e.

Solidity: function setProcessWithdrawalsEnabled(bool _value) returns()

func (*NetworkSettingsTransactorSession) SetSubmitBalancesEnabled

func (_NetworkSettings *NetworkSettingsTransactorSession) SetSubmitBalancesEnabled(_value bool) (*types.Transaction, error)

SetSubmitBalancesEnabled is a paid mutator transaction binding the contract method 0xa37a9e61.

Solidity: function setSubmitBalancesEnabled(bool _value) returns()

func (*NetworkSettingsTransactorSession) SetSuperNodePubkeyLimit

func (_NetworkSettings *NetworkSettingsTransactorSession) SetSuperNodePubkeyLimit(_value *big.Int) (*types.Transaction, error)

SetSuperNodePubkeyLimit is a paid mutator transaction binding the contract method 0xa8520bec.

Solidity: function setSuperNodePubkeyLimit(uint256 _value) returns()

func (*NetworkSettingsTransactorSession) SetWithdrawalCredentials

func (_NetworkSettings *NetworkSettingsTransactorSession) SetWithdrawalCredentials(_value []byte) (*types.Transaction, error)

SetWithdrawalCredentials is a paid mutator transaction binding the contract method 0xc4cf71c9.

Solidity: function setWithdrawalCredentials(bytes _value) returns()

Jump to

Keyboard shortcuts

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