Documentation ¶
Index ¶
- Variables
- type NetworkBalances
- type NetworkBalancesAdminChanged
- type NetworkBalancesAdminChangedIterator
- type NetworkBalancesBalancesUpdated
- type NetworkBalancesBalancesUpdatedIterator
- type NetworkBalancesBeaconUpgraded
- type NetworkBalancesBeaconUpgradedIterator
- type NetworkBalancesCaller
- func (_NetworkBalances *NetworkBalancesCaller) BalancesSnapshot(opts *bind.CallOpts) (struct{ ... }, error)
- func (_NetworkBalances *NetworkBalancesCaller) GetEthValue(opts *bind.CallOpts, _lsdTokenAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCaller) GetExchangeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCaller) GetLsdTokenValue(opts *bind.CallOpts, _ethAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCaller) NetworkProposalAddress(opts *bind.CallOpts) (common.Address, error)
- func (_NetworkBalances *NetworkBalancesCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_NetworkBalances *NetworkBalancesCaller) RateChangeLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCaller) SubmitBalancesEnabled(opts *bind.CallOpts) (bool, error)
- func (_NetworkBalances *NetworkBalancesCaller) UpdateBalancesEpochs(opts *bind.CallOpts) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCaller) Version(opts *bind.CallOpts) (uint8, error)
- type NetworkBalancesCallerRaw
- type NetworkBalancesCallerSession
- func (_NetworkBalances *NetworkBalancesCallerSession) BalancesSnapshot() (struct{ ... }, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) GetEthValue(_lsdTokenAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) GetExchangeRate() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) GetLsdTokenValue(_ethAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) NetworkProposalAddress() (common.Address, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) ProxiableUUID() ([32]byte, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) RateChangeLimit() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) SubmitBalancesEnabled() (bool, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) UpdateBalancesEpochs() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesCallerSession) Version() (uint8, error)
- type NetworkBalancesFilterer
- func (_NetworkBalances *NetworkBalancesFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NetworkBalancesAdminChangedIterator, error)
- func (_NetworkBalances *NetworkBalancesFilterer) FilterBalancesUpdated(opts *bind.FilterOpts) (*NetworkBalancesBalancesUpdatedIterator, error)
- func (_NetworkBalances *NetworkBalancesFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NetworkBalancesBeaconUpgradedIterator, error)
- func (_NetworkBalances *NetworkBalancesFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkBalancesInitializedIterator, error)
- func (_NetworkBalances *NetworkBalancesFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NetworkBalancesUpgradedIterator, error)
- func (_NetworkBalances *NetworkBalancesFilterer) ParseAdminChanged(log types.Log) (*NetworkBalancesAdminChanged, error)
- func (_NetworkBalances *NetworkBalancesFilterer) ParseBalancesUpdated(log types.Log) (*NetworkBalancesBalancesUpdated, error)
- func (_NetworkBalances *NetworkBalancesFilterer) ParseBeaconUpgraded(log types.Log) (*NetworkBalancesBeaconUpgraded, error)
- func (_NetworkBalances *NetworkBalancesFilterer) ParseInitialized(log types.Log) (*NetworkBalancesInitialized, error)
- func (_NetworkBalances *NetworkBalancesFilterer) ParseUpgraded(log types.Log) (*NetworkBalancesUpgraded, error)
- func (_NetworkBalances *NetworkBalancesFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkBalancesAdminChanged) (event.Subscription, error)
- func (_NetworkBalances *NetworkBalancesFilterer) WatchBalancesUpdated(opts *bind.WatchOpts, sink chan<- *NetworkBalancesBalancesUpdated) (event.Subscription, error)
- func (_NetworkBalances *NetworkBalancesFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkBalancesBeaconUpgraded, ...) (event.Subscription, error)
- func (_NetworkBalances *NetworkBalancesFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkBalancesInitialized) (event.Subscription, error)
- func (_NetworkBalances *NetworkBalancesFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkBalancesUpgraded, ...) (event.Subscription, error)
- type NetworkBalancesInitialized
- type NetworkBalancesInitializedIterator
- type NetworkBalancesRaw
- func (_NetworkBalances *NetworkBalancesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NetworkBalances *NetworkBalancesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NetworkBalancesSession
- func (_NetworkBalances *NetworkBalancesSession) BalancesSnapshot() (struct{ ... }, error)
- func (_NetworkBalances *NetworkBalancesSession) GetEthValue(_lsdTokenAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesSession) GetExchangeRate() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesSession) GetLsdTokenValue(_ethAmount *big.Int) (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesSession) Init(_networkProposalAddress common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) NetworkProposalAddress() (common.Address, error)
- func (_NetworkBalances *NetworkBalancesSession) ProxiableUUID() ([32]byte, error)
- func (_NetworkBalances *NetworkBalancesSession) RateChangeLimit() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesSession) Reinit() (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) SetRateChangeLimit(_value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) SetUpdateBalancesEpochs(_value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) SubmitBalances(_block *big.Int, _totalEth *big.Int, _totalLsdToken *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) SubmitBalancesEnabled() (bool, error)
- func (_NetworkBalances *NetworkBalancesSession) UpdateBalancesEpochs() (*big.Int, error)
- func (_NetworkBalances *NetworkBalancesSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesSession) Version() (uint8, error)
- type NetworkBalancesTransactor
- func (_NetworkBalances *NetworkBalancesTransactor) Init(opts *bind.TransactOpts, _networkProposalAddress common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) SetRateChangeLimit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) SetUpdateBalancesEpochs(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) SubmitBalances(opts *bind.TransactOpts, _block *big.Int, _totalEth *big.Int, ...) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NetworkBalancesTransactorRaw
- type NetworkBalancesTransactorSession
- func (_NetworkBalances *NetworkBalancesTransactorSession) Init(_networkProposalAddress common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) Reinit() (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) SetRateChangeLimit(_value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) SetUpdateBalancesEpochs(_value *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) SubmitBalances(_block *big.Int, _totalEth *big.Int, _totalLsdToken *big.Int) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkBalances *NetworkBalancesTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NetworkBalancesUpgraded
- type NetworkBalancesUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var NetworkBalancesABI = NetworkBalancesMetaData.ABI
NetworkBalancesABI is the input ABI used to generate the binding from. Deprecated: Use NetworkBalancesMetaData.ABI instead.
var NetworkBalancesMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedEpoch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedHeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyNotifiedCycle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableDepositZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableRewardZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableWithdrawIndexOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommissionRateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CycleNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountGTMaxAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountLTMinAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEntrustedVoters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenCanOnlyUseOnce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyRemoved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeNotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAuthorizedLsdToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPubkeyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTrustNode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalExecFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNumberOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyStatusUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitBalancesDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"}],\"name\":\"TooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersDuplicate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawIndexEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"block\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalEth\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lsdTokenSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"BalancesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"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\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"balancesSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_block\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalLsdToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lsdTokenAmount\",\"type\":\"uint256\"}],\"name\":\"getEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getExchangeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"getLsdTokenValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_networkProposalAddress\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkProposalAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rateChangeLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reinit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setRateChangeLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUpdateBalancesEpochs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_block\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalLsdToken\",\"type\":\"uint256\"}],\"name\":\"submitBalances\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitBalancesEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateBalancesEpochs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
NetworkBalancesMetaData contains all meta data concerning the NetworkBalances contract.
Functions ¶
This section is empty.
Types ¶
type NetworkBalances ¶
type NetworkBalances struct { NetworkBalancesCaller // Read-only binding to the contract NetworkBalancesTransactor // Write-only binding to the contract NetworkBalancesFilterer // Log filterer for contract events }
NetworkBalances is an auto generated Go binding around an Ethereum contract.
func NewNetworkBalances ¶
func NewNetworkBalances(address common.Address, backend bind.ContractBackend) (*NetworkBalances, error)
NewNetworkBalances creates a new instance of NetworkBalances, bound to a specific deployed contract.
type NetworkBalancesAdminChanged ¶
type NetworkBalancesAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkBalancesAdminChanged represents a AdminChanged event raised by the NetworkBalances contract.
type NetworkBalancesAdminChangedIterator ¶
type NetworkBalancesAdminChangedIterator struct { Event *NetworkBalancesAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkBalancesAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the NetworkBalances contract.
func (*NetworkBalancesAdminChangedIterator) Close ¶
func (it *NetworkBalancesAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkBalancesAdminChangedIterator) Error ¶
func (it *NetworkBalancesAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkBalancesAdminChangedIterator) Next ¶
func (it *NetworkBalancesAdminChangedIterator) Next() bool
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 NetworkBalancesBalancesUpdated ¶
type NetworkBalancesBalancesUpdated struct { Block *big.Int TotalEth *big.Int LsdTokenSupply *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
NetworkBalancesBalancesUpdated represents a BalancesUpdated event raised by the NetworkBalances contract.
type NetworkBalancesBalancesUpdatedIterator ¶
type NetworkBalancesBalancesUpdatedIterator struct { Event *NetworkBalancesBalancesUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkBalancesBalancesUpdatedIterator is returned from FilterBalancesUpdated and is used to iterate over the raw logs and unpacked data for BalancesUpdated events raised by the NetworkBalances contract.
func (*NetworkBalancesBalancesUpdatedIterator) Close ¶
func (it *NetworkBalancesBalancesUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkBalancesBalancesUpdatedIterator) Error ¶
func (it *NetworkBalancesBalancesUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkBalancesBalancesUpdatedIterator) Next ¶
func (it *NetworkBalancesBalancesUpdatedIterator) Next() bool
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 NetworkBalancesBeaconUpgraded ¶
type NetworkBalancesBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkBalancesBeaconUpgraded represents a BeaconUpgraded event raised by the NetworkBalances contract.
type NetworkBalancesBeaconUpgradedIterator ¶
type NetworkBalancesBeaconUpgradedIterator struct { Event *NetworkBalancesBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkBalancesBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the NetworkBalances contract.
func (*NetworkBalancesBeaconUpgradedIterator) Close ¶
func (it *NetworkBalancesBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkBalancesBeaconUpgradedIterator) Error ¶
func (it *NetworkBalancesBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkBalancesBeaconUpgradedIterator) Next ¶
func (it *NetworkBalancesBeaconUpgradedIterator) Next() bool
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 NetworkBalancesCaller ¶
type NetworkBalancesCaller struct {
// contains filtered or unexported fields
}
NetworkBalancesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNetworkBalancesCaller ¶
func NewNetworkBalancesCaller(address common.Address, caller bind.ContractCaller) (*NetworkBalancesCaller, error)
NewNetworkBalancesCaller creates a new read-only instance of NetworkBalances, bound to a specific deployed contract.
func (*NetworkBalancesCaller) BalancesSnapshot ¶
func (_NetworkBalances *NetworkBalancesCaller) BalancesSnapshot(opts *bind.CallOpts) (struct { Block *big.Int TotalEth *big.Int TotalLsdToken *big.Int }, error)
BalancesSnapshot is a free data retrieval call binding the contract method 0xcc386bf5.
Solidity: function balancesSnapshot() view returns(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken)
func (*NetworkBalancesCaller) GetEthValue ¶
func (_NetworkBalances *NetworkBalancesCaller) GetEthValue(opts *bind.CallOpts, _lsdTokenAmount *big.Int) (*big.Int, error)
GetEthValue is a free data retrieval call binding the contract method 0x8b32fa23.
Solidity: function getEthValue(uint256 _lsdTokenAmount) view returns(uint256)
func (*NetworkBalancesCaller) GetExchangeRate ¶
func (_NetworkBalances *NetworkBalancesCaller) GetExchangeRate(opts *bind.CallOpts) (*big.Int, error)
GetExchangeRate is a free data retrieval call binding the contract method 0xe6aa216c.
Solidity: function getExchangeRate() view returns(uint256)
func (*NetworkBalancesCaller) GetLsdTokenValue ¶
func (_NetworkBalances *NetworkBalancesCaller) GetLsdTokenValue(opts *bind.CallOpts, _ethAmount *big.Int) (*big.Int, error)
GetLsdTokenValue is a free data retrieval call binding the contract method 0xf66ace79.
Solidity: function getLsdTokenValue(uint256 _ethAmount) view returns(uint256)
func (*NetworkBalancesCaller) NetworkProposalAddress ¶
func (_NetworkBalances *NetworkBalancesCaller) NetworkProposalAddress(opts *bind.CallOpts) (common.Address, error)
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*NetworkBalancesCaller) ProxiableUUID ¶
func (_NetworkBalances *NetworkBalancesCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkBalancesCaller) RateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesCaller) RateChangeLimit(opts *bind.CallOpts) (*big.Int, error)
RateChangeLimit is a free data retrieval call binding the contract method 0xc0152b71.
Solidity: function rateChangeLimit() view returns(uint256)
func (*NetworkBalancesCaller) SubmitBalancesEnabled ¶
func (_NetworkBalances *NetworkBalancesCaller) SubmitBalancesEnabled(opts *bind.CallOpts) (bool, error)
SubmitBalancesEnabled is a free data retrieval call binding the contract method 0x5414817f.
Solidity: function submitBalancesEnabled() view returns(bool)
func (*NetworkBalancesCaller) UpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesCaller) UpdateBalancesEpochs(opts *bind.CallOpts) (*big.Int, error)
UpdateBalancesEpochs is a free data retrieval call binding the contract method 0x8fad5ce5.
Solidity: function updateBalancesEpochs() view returns(uint256)
type NetworkBalancesCallerRaw ¶
type NetworkBalancesCallerRaw struct {
Contract *NetworkBalancesCaller // Generic read-only contract binding to access the raw methods on
}
NetworkBalancesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NetworkBalancesCallerRaw) Call ¶
func (_NetworkBalances *NetworkBalancesCallerRaw) 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 NetworkBalancesCallerSession ¶
type NetworkBalancesCallerSession struct { Contract *NetworkBalancesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NetworkBalancesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NetworkBalancesCallerSession) BalancesSnapshot ¶
func (_NetworkBalances *NetworkBalancesCallerSession) BalancesSnapshot() (struct { Block *big.Int TotalEth *big.Int TotalLsdToken *big.Int }, error)
BalancesSnapshot is a free data retrieval call binding the contract method 0xcc386bf5.
Solidity: function balancesSnapshot() view returns(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken)
func (*NetworkBalancesCallerSession) GetEthValue ¶
func (_NetworkBalances *NetworkBalancesCallerSession) GetEthValue(_lsdTokenAmount *big.Int) (*big.Int, error)
GetEthValue is a free data retrieval call binding the contract method 0x8b32fa23.
Solidity: function getEthValue(uint256 _lsdTokenAmount) view returns(uint256)
func (*NetworkBalancesCallerSession) GetExchangeRate ¶
func (_NetworkBalances *NetworkBalancesCallerSession) GetExchangeRate() (*big.Int, error)
GetExchangeRate is a free data retrieval call binding the contract method 0xe6aa216c.
Solidity: function getExchangeRate() view returns(uint256)
func (*NetworkBalancesCallerSession) GetLsdTokenValue ¶
func (_NetworkBalances *NetworkBalancesCallerSession) GetLsdTokenValue(_ethAmount *big.Int) (*big.Int, error)
GetLsdTokenValue is a free data retrieval call binding the contract method 0xf66ace79.
Solidity: function getLsdTokenValue(uint256 _ethAmount) view returns(uint256)
func (*NetworkBalancesCallerSession) NetworkProposalAddress ¶
func (_NetworkBalances *NetworkBalancesCallerSession) NetworkProposalAddress() (common.Address, error)
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*NetworkBalancesCallerSession) ProxiableUUID ¶
func (_NetworkBalances *NetworkBalancesCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkBalancesCallerSession) RateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesCallerSession) RateChangeLimit() (*big.Int, error)
RateChangeLimit is a free data retrieval call binding the contract method 0xc0152b71.
Solidity: function rateChangeLimit() view returns(uint256)
func (*NetworkBalancesCallerSession) SubmitBalancesEnabled ¶
func (_NetworkBalances *NetworkBalancesCallerSession) SubmitBalancesEnabled() (bool, error)
SubmitBalancesEnabled is a free data retrieval call binding the contract method 0x5414817f.
Solidity: function submitBalancesEnabled() view returns(bool)
func (*NetworkBalancesCallerSession) UpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesCallerSession) UpdateBalancesEpochs() (*big.Int, error)
UpdateBalancesEpochs is a free data retrieval call binding the contract method 0x8fad5ce5.
Solidity: function updateBalancesEpochs() view returns(uint256)
func (*NetworkBalancesCallerSession) Version ¶
func (_NetworkBalances *NetworkBalancesCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type NetworkBalancesFilterer ¶
type NetworkBalancesFilterer struct {
// contains filtered or unexported fields
}
NetworkBalancesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNetworkBalancesFilterer ¶
func NewNetworkBalancesFilterer(address common.Address, filterer bind.ContractFilterer) (*NetworkBalancesFilterer, error)
NewNetworkBalancesFilterer creates a new log filterer instance of NetworkBalances, bound to a specific deployed contract.
func (*NetworkBalancesFilterer) FilterAdminChanged ¶
func (_NetworkBalances *NetworkBalancesFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NetworkBalancesAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkBalancesFilterer) FilterBalancesUpdated ¶
func (_NetworkBalances *NetworkBalancesFilterer) FilterBalancesUpdated(opts *bind.FilterOpts) (*NetworkBalancesBalancesUpdatedIterator, error)
FilterBalancesUpdated is a free log retrieval operation binding the contract event 0x6d217af0d189a7286db93d91c87a48b3b03a6366652338f42f05064790ae0497.
Solidity: event BalancesUpdated(uint256 block, uint256 totalEth, uint256 lsdTokenSupply, uint256 time)
func (*NetworkBalancesFilterer) FilterBeaconUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NetworkBalancesBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkBalancesFilterer) FilterInitialized ¶
func (_NetworkBalances *NetworkBalancesFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkBalancesInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkBalancesFilterer) FilterUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NetworkBalancesUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NetworkBalancesFilterer) ParseAdminChanged ¶
func (_NetworkBalances *NetworkBalancesFilterer) ParseAdminChanged(log types.Log) (*NetworkBalancesAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkBalancesFilterer) ParseBalancesUpdated ¶
func (_NetworkBalances *NetworkBalancesFilterer) ParseBalancesUpdated(log types.Log) (*NetworkBalancesBalancesUpdated, error)
ParseBalancesUpdated is a log parse operation binding the contract event 0x6d217af0d189a7286db93d91c87a48b3b03a6366652338f42f05064790ae0497.
Solidity: event BalancesUpdated(uint256 block, uint256 totalEth, uint256 lsdTokenSupply, uint256 time)
func (*NetworkBalancesFilterer) ParseBeaconUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) ParseBeaconUpgraded(log types.Log) (*NetworkBalancesBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkBalancesFilterer) ParseInitialized ¶
func (_NetworkBalances *NetworkBalancesFilterer) ParseInitialized(log types.Log) (*NetworkBalancesInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkBalancesFilterer) ParseUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) ParseUpgraded(log types.Log) (*NetworkBalancesUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NetworkBalancesFilterer) WatchAdminChanged ¶
func (_NetworkBalances *NetworkBalancesFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkBalancesAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkBalancesFilterer) WatchBalancesUpdated ¶
func (_NetworkBalances *NetworkBalancesFilterer) WatchBalancesUpdated(opts *bind.WatchOpts, sink chan<- *NetworkBalancesBalancesUpdated) (event.Subscription, error)
WatchBalancesUpdated is a free log subscription operation binding the contract event 0x6d217af0d189a7286db93d91c87a48b3b03a6366652338f42f05064790ae0497.
Solidity: event BalancesUpdated(uint256 block, uint256 totalEth, uint256 lsdTokenSupply, uint256 time)
func (*NetworkBalancesFilterer) WatchBeaconUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkBalancesBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkBalancesFilterer) WatchInitialized ¶
func (_NetworkBalances *NetworkBalancesFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkBalancesInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkBalancesFilterer) WatchUpgraded ¶
func (_NetworkBalances *NetworkBalancesFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkBalancesUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type NetworkBalancesInitialized ¶
type NetworkBalancesInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
NetworkBalancesInitialized represents a Initialized event raised by the NetworkBalances contract.
type NetworkBalancesInitializedIterator ¶
type NetworkBalancesInitializedIterator struct { Event *NetworkBalancesInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkBalancesInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the NetworkBalances contract.
func (*NetworkBalancesInitializedIterator) Close ¶
func (it *NetworkBalancesInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkBalancesInitializedIterator) Error ¶
func (it *NetworkBalancesInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkBalancesInitializedIterator) Next ¶
func (it *NetworkBalancesInitializedIterator) Next() bool
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 NetworkBalancesRaw ¶
type NetworkBalancesRaw struct {
Contract *NetworkBalances // Generic contract binding to access the raw methods on
}
NetworkBalancesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NetworkBalancesRaw) Call ¶
func (_NetworkBalances *NetworkBalancesRaw) 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 (*NetworkBalancesRaw) Transact ¶
func (_NetworkBalances *NetworkBalancesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkBalancesRaw) Transfer ¶
func (_NetworkBalances *NetworkBalancesRaw) 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 NetworkBalancesSession ¶
type NetworkBalancesSession struct { Contract *NetworkBalances // 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 }
NetworkBalancesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NetworkBalancesSession) BalancesSnapshot ¶
func (_NetworkBalances *NetworkBalancesSession) BalancesSnapshot() (struct { Block *big.Int TotalEth *big.Int TotalLsdToken *big.Int }, error)
BalancesSnapshot is a free data retrieval call binding the contract method 0xcc386bf5.
Solidity: function balancesSnapshot() view returns(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken)
func (*NetworkBalancesSession) GetEthValue ¶
func (_NetworkBalances *NetworkBalancesSession) GetEthValue(_lsdTokenAmount *big.Int) (*big.Int, error)
GetEthValue is a free data retrieval call binding the contract method 0x8b32fa23.
Solidity: function getEthValue(uint256 _lsdTokenAmount) view returns(uint256)
func (*NetworkBalancesSession) GetExchangeRate ¶
func (_NetworkBalances *NetworkBalancesSession) GetExchangeRate() (*big.Int, error)
GetExchangeRate is a free data retrieval call binding the contract method 0xe6aa216c.
Solidity: function getExchangeRate() view returns(uint256)
func (*NetworkBalancesSession) GetLsdTokenValue ¶
func (_NetworkBalances *NetworkBalancesSession) GetLsdTokenValue(_ethAmount *big.Int) (*big.Int, error)
GetLsdTokenValue is a free data retrieval call binding the contract method 0xf66ace79.
Solidity: function getLsdTokenValue(uint256 _ethAmount) view returns(uint256)
func (*NetworkBalancesSession) Init ¶
func (_NetworkBalances *NetworkBalancesSession) Init(_networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _networkProposalAddress) returns()
func (*NetworkBalancesSession) NetworkProposalAddress ¶
func (_NetworkBalances *NetworkBalancesSession) NetworkProposalAddress() (common.Address, error)
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*NetworkBalancesSession) ProxiableUUID ¶
func (_NetworkBalances *NetworkBalancesSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkBalancesSession) RateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesSession) RateChangeLimit() (*big.Int, error)
RateChangeLimit is a free data retrieval call binding the contract method 0xc0152b71.
Solidity: function rateChangeLimit() view returns(uint256)
func (*NetworkBalancesSession) Reinit ¶
func (_NetworkBalances *NetworkBalancesSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkBalancesSession) SetRateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesSession) SetRateChangeLimit(_value *big.Int) (*types.Transaction, error)
SetRateChangeLimit is a paid mutator transaction binding the contract method 0x19826e71.
Solidity: function setRateChangeLimit(uint256 _value) returns()
func (*NetworkBalancesSession) SetUpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesSession) SetUpdateBalancesEpochs(_value *big.Int) (*types.Transaction, error)
SetUpdateBalancesEpochs is a paid mutator transaction binding the contract method 0xd5480be0.
Solidity: function setUpdateBalancesEpochs(uint256 _value) returns()
func (*NetworkBalancesSession) SubmitBalances ¶
func (_NetworkBalances *NetworkBalancesSession) SubmitBalances(_block *big.Int, _totalEth *big.Int, _totalLsdToken *big.Int) (*types.Transaction, error)
SubmitBalances is a paid mutator transaction binding the contract method 0x4c5212a5.
Solidity: function submitBalances(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken) returns()
func (*NetworkBalancesSession) SubmitBalancesEnabled ¶
func (_NetworkBalances *NetworkBalancesSession) SubmitBalancesEnabled() (bool, error)
SubmitBalancesEnabled is a free data retrieval call binding the contract method 0x5414817f.
Solidity: function submitBalancesEnabled() view returns(bool)
func (*NetworkBalancesSession) UpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesSession) UpdateBalancesEpochs() (*big.Int, error)
UpdateBalancesEpochs is a free data retrieval call binding the contract method 0x8fad5ce5.
Solidity: function updateBalancesEpochs() view returns(uint256)
func (*NetworkBalancesSession) UpgradeTo ¶
func (_NetworkBalances *NetworkBalancesSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkBalancesSession) UpgradeToAndCall ¶
func (_NetworkBalances *NetworkBalancesSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*NetworkBalancesSession) Version ¶
func (_NetworkBalances *NetworkBalancesSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type NetworkBalancesTransactor ¶
type NetworkBalancesTransactor struct {
// contains filtered or unexported fields
}
NetworkBalancesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNetworkBalancesTransactor ¶
func NewNetworkBalancesTransactor(address common.Address, transactor bind.ContractTransactor) (*NetworkBalancesTransactor, error)
NewNetworkBalancesTransactor creates a new write-only instance of NetworkBalances, bound to a specific deployed contract.
func (*NetworkBalancesTransactor) Init ¶
func (_NetworkBalances *NetworkBalancesTransactor) Init(opts *bind.TransactOpts, _networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _networkProposalAddress) returns()
func (*NetworkBalancesTransactor) Reinit ¶
func (_NetworkBalances *NetworkBalancesTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkBalancesTransactor) SetRateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesTransactor) SetRateChangeLimit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
SetRateChangeLimit is a paid mutator transaction binding the contract method 0x19826e71.
Solidity: function setRateChangeLimit(uint256 _value) returns()
func (*NetworkBalancesTransactor) SetUpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesTransactor) SetUpdateBalancesEpochs(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
SetUpdateBalancesEpochs is a paid mutator transaction binding the contract method 0xd5480be0.
Solidity: function setUpdateBalancesEpochs(uint256 _value) returns()
func (*NetworkBalancesTransactor) SubmitBalances ¶
func (_NetworkBalances *NetworkBalancesTransactor) SubmitBalances(opts *bind.TransactOpts, _block *big.Int, _totalEth *big.Int, _totalLsdToken *big.Int) (*types.Transaction, error)
SubmitBalances is a paid mutator transaction binding the contract method 0x4c5212a5.
Solidity: function submitBalances(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken) returns()
func (*NetworkBalancesTransactor) UpgradeTo ¶
func (_NetworkBalances *NetworkBalancesTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkBalancesTransactor) UpgradeToAndCall ¶
func (_NetworkBalances *NetworkBalancesTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NetworkBalancesTransactorRaw ¶
type NetworkBalancesTransactorRaw struct {
Contract *NetworkBalancesTransactor // Generic write-only contract binding to access the raw methods on
}
NetworkBalancesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NetworkBalancesTransactorRaw) Transact ¶
func (_NetworkBalances *NetworkBalancesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkBalancesTransactorRaw) Transfer ¶
func (_NetworkBalances *NetworkBalancesTransactorRaw) 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 NetworkBalancesTransactorSession ¶
type NetworkBalancesTransactorSession struct { Contract *NetworkBalancesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NetworkBalancesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NetworkBalancesTransactorSession) Init ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) Init(_networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _networkProposalAddress) returns()
func (*NetworkBalancesTransactorSession) Reinit ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkBalancesTransactorSession) SetRateChangeLimit ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) SetRateChangeLimit(_value *big.Int) (*types.Transaction, error)
SetRateChangeLimit is a paid mutator transaction binding the contract method 0x19826e71.
Solidity: function setRateChangeLimit(uint256 _value) returns()
func (*NetworkBalancesTransactorSession) SetUpdateBalancesEpochs ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) SetUpdateBalancesEpochs(_value *big.Int) (*types.Transaction, error)
SetUpdateBalancesEpochs is a paid mutator transaction binding the contract method 0xd5480be0.
Solidity: function setUpdateBalancesEpochs(uint256 _value) returns()
func (*NetworkBalancesTransactorSession) SubmitBalances ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) SubmitBalances(_block *big.Int, _totalEth *big.Int, _totalLsdToken *big.Int) (*types.Transaction, error)
SubmitBalances is a paid mutator transaction binding the contract method 0x4c5212a5.
Solidity: function submitBalances(uint256 _block, uint256 _totalEth, uint256 _totalLsdToken) returns()
func (*NetworkBalancesTransactorSession) UpgradeTo ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkBalancesTransactorSession) UpgradeToAndCall ¶
func (_NetworkBalances *NetworkBalancesTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NetworkBalancesUpgraded ¶
type NetworkBalancesUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkBalancesUpgraded represents a Upgraded event raised by the NetworkBalances contract.
type NetworkBalancesUpgradedIterator ¶
type NetworkBalancesUpgradedIterator struct { Event *NetworkBalancesUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkBalancesUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the NetworkBalances contract.
func (*NetworkBalancesUpgradedIterator) Close ¶
func (it *NetworkBalancesUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkBalancesUpgradedIterator) Error ¶
func (it *NetworkBalancesUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkBalancesUpgradedIterator) Next ¶
func (it *NetworkBalancesUpgradedIterator) Next() bool
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.