distributionmanager

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DistributionManagerABI = DistributionManagerMetaData.ABI

DistributionManagerABI is the input ABI used to generate the binding from. Deprecated: Use DistributionManagerMetaData.ABI instead.

View Source
var DistributionManagerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"parameterRegistry_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"nodeRegistry_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"payerReportManager_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"payerRegistry_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"feeToken_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"areFeesClaimed\",\"inputs\":[{\"name\":\"nodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"originatorNodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"hasClaimed_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"areProtocolFeesClaimed\",\"inputs\":[{\"name\":\"originatorNodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"areClaimed_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claim\",\"inputs\":[{\"name\":\"nodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"originatorNodeIds_\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"payerReportIndices_\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"claimed_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"claimProtocolFees\",\"inputs\":[{\"name\":\"originatorNodeIds_\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"payerReportIndices_\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"claimed_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"contractName\",\"inputs\":[],\"outputs\":[{\"name\":\"contractName_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"feeToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getOwedFees\",\"inputs\":[{\"name\":\"nodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"owedFees_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"implementation_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"migrate\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"migratorParameterKey\",\"inputs\":[],\"outputs\":[{\"name\":\"key_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"nodeRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owedProtocolFees\",\"inputs\":[],\"outputs\":[{\"name\":\"owedProtocolFees_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"parameterRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"paused_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pausedParameterKey\",\"inputs\":[],\"outputs\":[{\"name\":\"key_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"payerRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"payerReportManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"protocolFeesRecipient\",\"inputs\":[],\"outputs\":[{\"name\":\"protocolFeesRecipient_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"protocolFeesRecipientParameterKey\",\"inputs\":[],\"outputs\":[{\"name\":\"key_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"totalOwedFees\",\"inputs\":[],\"outputs\":[{\"name\":\"totalOwedFees_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updatePauseStatus\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateProtocolFeesRecipient\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"version_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"nodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"recipient_\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"withdrawn_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawIntoUnderlying\",\"inputs\":[{\"name\":\"nodeId_\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"recipient_\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"withdrawn_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawProtocolFees\",\"inputs\":[],\"outputs\":[{\"name\":\"withdrawn_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawProtocolFeesIntoUnderlying\",\"inputs\":[],\"outputs\":[{\"name\":\"withdrawn_\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Claim\",\"inputs\":[{\"name\":\"nodeId\",\"type\":\"uint32\",\"indexed\":true,\"internalType\":\"uint32\"},{\"name\":\"originatorNodeId\",\"type\":\"uint32\",\"indexed\":true,\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"amount\",\"type\":\"uint96\",\"indexed\":false,\"internalType\":\"uint96\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Migrated\",\"inputs\":[{\"name\":\"migrator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PauseStatusUpdated\",\"inputs\":[{\"name\":\"paused\",\"type\":\"bool\",\"indexed\":true,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProtocolFeesClaim\",\"inputs\":[{\"name\":\"originatorNodeId\",\"type\":\"uint32\",\"indexed\":true,\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"amount\",\"type\":\"uint96\",\"indexed\":false,\"internalType\":\"uint96\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProtocolFeesRecipientUpdated\",\"inputs\":[{\"name\":\"protocolFeesRecipient\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProtocolFeesWithdrawal\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint96\",\"indexed\":false,\"internalType\":\"uint96\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrawal\",\"inputs\":[{\"name\":\"nodeId\",\"type\":\"uint32\",\"indexed\":true,\"internalType\":\"uint32\"},{\"name\":\"amount\",\"type\":\"uint96\",\"indexed\":false,\"internalType\":\"uint96\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AlreadyClaimed\",\"inputs\":[{\"name\":\"originatorNodeId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ArrayLengthMismatch\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyCode\",\"inputs\":[{\"name\":\"migrator_\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MigrationFailed\",\"inputs\":[{\"name\":\"migrator_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertData_\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"type\":\"error\",\"name\":\"NoChange\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoFeesOwed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInPayerReport\",\"inputs\":[{\"name\":\"originatorNodeId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotNodeOwner\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ParameterOutOfTypeBounds\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"Paused\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PayerReportNotSettled\",\"inputs\":[{\"name\":\"originatorNodeId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"payerReportIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ZeroAvailableBalance\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroFeeToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroMigrator\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroNodeRegistry\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroParameterRegistry\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroPayerRegistry\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroPayerReportManager\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroProtocolFeeRecipient\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroRecipient\",\"inputs\":[]}]",
}

DistributionManagerMetaData contains all meta data concerning the DistributionManager contract.

Functions

This section is empty.

Types

type DistributionManager

type DistributionManager struct {
	DistributionManagerCaller     // Read-only binding to the contract
	DistributionManagerTransactor // Write-only binding to the contract
	DistributionManagerFilterer   // Log filterer for contract events
}

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

func NewDistributionManager

func NewDistributionManager(address common.Address, backend bind.ContractBackend) (*DistributionManager, error)

NewDistributionManager creates a new instance of DistributionManager, bound to a specific deployed contract.

type DistributionManagerCaller

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

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

func NewDistributionManagerCaller

func NewDistributionManagerCaller(address common.Address, caller bind.ContractCaller) (*DistributionManagerCaller, error)

NewDistributionManagerCaller creates a new read-only instance of DistributionManager, bound to a specific deployed contract.

func (*DistributionManagerCaller) AreFeesClaimed

func (_DistributionManager *DistributionManagerCaller) AreFeesClaimed(opts *bind.CallOpts, nodeId_ uint32, originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreFeesClaimed is a free data retrieval call binding the contract method 0x1617d097.

Solidity: function areFeesClaimed(uint32 nodeId_, uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool hasClaimed_)

func (*DistributionManagerCaller) AreProtocolFeesClaimed

func (_DistributionManager *DistributionManagerCaller) AreProtocolFeesClaimed(opts *bind.CallOpts, originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreProtocolFeesClaimed is a free data retrieval call binding the contract method 0xdc17fb75.

Solidity: function areProtocolFeesClaimed(uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool areClaimed_)

func (*DistributionManagerCaller) ContractName added in v1.0.0

func (_DistributionManager *DistributionManagerCaller) ContractName(opts *bind.CallOpts) (string, error)

ContractName is a free data retrieval call binding the contract method 0x75d0c0dc.

Solidity: function contractName() pure returns(string contractName_)

func (*DistributionManagerCaller) FeeToken

func (_DistributionManager *DistributionManagerCaller) FeeToken(opts *bind.CallOpts) (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*DistributionManagerCaller) GetOwedFees

func (_DistributionManager *DistributionManagerCaller) GetOwedFees(opts *bind.CallOpts, nodeId_ uint32) (*big.Int, error)

GetOwedFees is a free data retrieval call binding the contract method 0x5b8e9219.

Solidity: function getOwedFees(uint32 nodeId_) view returns(uint96 owedFees_)

func (*DistributionManagerCaller) Implementation

func (_DistributionManager *DistributionManagerCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address implementation_)

func (*DistributionManagerCaller) MigratorParameterKey

func (_DistributionManager *DistributionManagerCaller) MigratorParameterKey(opts *bind.CallOpts) (string, error)

MigratorParameterKey is a free data retrieval call binding the contract method 0x8aab82ba.

Solidity: function migratorParameterKey() pure returns(string key_)

func (*DistributionManagerCaller) NodeRegistry

func (_DistributionManager *DistributionManagerCaller) NodeRegistry(opts *bind.CallOpts) (common.Address, error)

NodeRegistry is a free data retrieval call binding the contract method 0xd9b5c4a5.

Solidity: function nodeRegistry() view returns(address)

func (*DistributionManagerCaller) OwedProtocolFees

func (_DistributionManager *DistributionManagerCaller) OwedProtocolFees(opts *bind.CallOpts) (*big.Int, error)

OwedProtocolFees is a free data retrieval call binding the contract method 0xbda4f788.

Solidity: function owedProtocolFees() view returns(uint96 owedProtocolFees_)

func (*DistributionManagerCaller) ParameterRegistry

func (_DistributionManager *DistributionManagerCaller) ParameterRegistry(opts *bind.CallOpts) (common.Address, error)

ParameterRegistry is a free data retrieval call binding the contract method 0x0723499e.

Solidity: function parameterRegistry() view returns(address)

func (*DistributionManagerCaller) Paused

func (_DistributionManager *DistributionManagerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*DistributionManagerCaller) PausedParameterKey

func (_DistributionManager *DistributionManagerCaller) PausedParameterKey(opts *bind.CallOpts) (string, error)

PausedParameterKey is a free data retrieval call binding the contract method 0xcc5999af.

Solidity: function pausedParameterKey() pure returns(string key_)

func (*DistributionManagerCaller) PayerRegistry

func (_DistributionManager *DistributionManagerCaller) PayerRegistry(opts *bind.CallOpts) (common.Address, error)

PayerRegistry is a free data retrieval call binding the contract method 0x1dc5f4b8.

Solidity: function payerRegistry() view returns(address)

func (*DistributionManagerCaller) PayerReportManager

func (_DistributionManager *DistributionManagerCaller) PayerReportManager(opts *bind.CallOpts) (common.Address, error)

PayerReportManager is a free data retrieval call binding the contract method 0x5a9b918c.

Solidity: function payerReportManager() view returns(address)

func (*DistributionManagerCaller) ProtocolFeesRecipient

func (_DistributionManager *DistributionManagerCaller) ProtocolFeesRecipient(opts *bind.CallOpts) (common.Address, error)

ProtocolFeesRecipient is a free data retrieval call binding the contract method 0x68930637.

Solidity: function protocolFeesRecipient() view returns(address protocolFeesRecipient_)

func (*DistributionManagerCaller) ProtocolFeesRecipientParameterKey

func (_DistributionManager *DistributionManagerCaller) ProtocolFeesRecipientParameterKey(opts *bind.CallOpts) (string, error)

ProtocolFeesRecipientParameterKey is a free data retrieval call binding the contract method 0xd106d5c1.

Solidity: function protocolFeesRecipientParameterKey() pure returns(string key_)

func (*DistributionManagerCaller) TotalOwedFees

func (_DistributionManager *DistributionManagerCaller) TotalOwedFees(opts *bind.CallOpts) (*big.Int, error)

TotalOwedFees is a free data retrieval call binding the contract method 0x80dadbce.

Solidity: function totalOwedFees() view returns(uint96 totalOwedFees_)

func (*DistributionManagerCaller) Version added in v1.0.0

func (_DistributionManager *DistributionManagerCaller) Version(opts *bind.CallOpts) (string, error)

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

Solidity: function version() pure returns(string version_)

type DistributionManagerCallerRaw

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

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

func (*DistributionManagerCallerRaw) Call

func (_DistributionManager *DistributionManagerCallerRaw) 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 DistributionManagerCallerSession

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

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

func (*DistributionManagerCallerSession) AreFeesClaimed

func (_DistributionManager *DistributionManagerCallerSession) AreFeesClaimed(nodeId_ uint32, originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreFeesClaimed is a free data retrieval call binding the contract method 0x1617d097.

Solidity: function areFeesClaimed(uint32 nodeId_, uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool hasClaimed_)

func (*DistributionManagerCallerSession) AreProtocolFeesClaimed

func (_DistributionManager *DistributionManagerCallerSession) AreProtocolFeesClaimed(originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreProtocolFeesClaimed is a free data retrieval call binding the contract method 0xdc17fb75.

Solidity: function areProtocolFeesClaimed(uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool areClaimed_)

func (*DistributionManagerCallerSession) ContractName added in v1.0.0

func (_DistributionManager *DistributionManagerCallerSession) ContractName() (string, error)

ContractName is a free data retrieval call binding the contract method 0x75d0c0dc.

Solidity: function contractName() pure returns(string contractName_)

func (*DistributionManagerCallerSession) FeeToken

func (_DistributionManager *DistributionManagerCallerSession) FeeToken() (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*DistributionManagerCallerSession) GetOwedFees

func (_DistributionManager *DistributionManagerCallerSession) GetOwedFees(nodeId_ uint32) (*big.Int, error)

GetOwedFees is a free data retrieval call binding the contract method 0x5b8e9219.

Solidity: function getOwedFees(uint32 nodeId_) view returns(uint96 owedFees_)

func (*DistributionManagerCallerSession) Implementation

func (_DistributionManager *DistributionManagerCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address implementation_)

func (*DistributionManagerCallerSession) MigratorParameterKey

func (_DistributionManager *DistributionManagerCallerSession) MigratorParameterKey() (string, error)

MigratorParameterKey is a free data retrieval call binding the contract method 0x8aab82ba.

Solidity: function migratorParameterKey() pure returns(string key_)

func (*DistributionManagerCallerSession) NodeRegistry

func (_DistributionManager *DistributionManagerCallerSession) NodeRegistry() (common.Address, error)

NodeRegistry is a free data retrieval call binding the contract method 0xd9b5c4a5.

Solidity: function nodeRegistry() view returns(address)

func (*DistributionManagerCallerSession) OwedProtocolFees

func (_DistributionManager *DistributionManagerCallerSession) OwedProtocolFees() (*big.Int, error)

OwedProtocolFees is a free data retrieval call binding the contract method 0xbda4f788.

Solidity: function owedProtocolFees() view returns(uint96 owedProtocolFees_)

func (*DistributionManagerCallerSession) ParameterRegistry

func (_DistributionManager *DistributionManagerCallerSession) ParameterRegistry() (common.Address, error)

ParameterRegistry is a free data retrieval call binding the contract method 0x0723499e.

Solidity: function parameterRegistry() view returns(address)

func (*DistributionManagerCallerSession) Paused

func (_DistributionManager *DistributionManagerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*DistributionManagerCallerSession) PausedParameterKey

func (_DistributionManager *DistributionManagerCallerSession) PausedParameterKey() (string, error)

PausedParameterKey is a free data retrieval call binding the contract method 0xcc5999af.

Solidity: function pausedParameterKey() pure returns(string key_)

func (*DistributionManagerCallerSession) PayerRegistry

func (_DistributionManager *DistributionManagerCallerSession) PayerRegistry() (common.Address, error)

PayerRegistry is a free data retrieval call binding the contract method 0x1dc5f4b8.

Solidity: function payerRegistry() view returns(address)

func (*DistributionManagerCallerSession) PayerReportManager

func (_DistributionManager *DistributionManagerCallerSession) PayerReportManager() (common.Address, error)

PayerReportManager is a free data retrieval call binding the contract method 0x5a9b918c.

Solidity: function payerReportManager() view returns(address)

func (*DistributionManagerCallerSession) ProtocolFeesRecipient

func (_DistributionManager *DistributionManagerCallerSession) ProtocolFeesRecipient() (common.Address, error)

ProtocolFeesRecipient is a free data retrieval call binding the contract method 0x68930637.

Solidity: function protocolFeesRecipient() view returns(address protocolFeesRecipient_)

func (*DistributionManagerCallerSession) ProtocolFeesRecipientParameterKey

func (_DistributionManager *DistributionManagerCallerSession) ProtocolFeesRecipientParameterKey() (string, error)

ProtocolFeesRecipientParameterKey is a free data retrieval call binding the contract method 0xd106d5c1.

Solidity: function protocolFeesRecipientParameterKey() pure returns(string key_)

func (*DistributionManagerCallerSession) TotalOwedFees

func (_DistributionManager *DistributionManagerCallerSession) TotalOwedFees() (*big.Int, error)

TotalOwedFees is a free data retrieval call binding the contract method 0x80dadbce.

Solidity: function totalOwedFees() view returns(uint96 totalOwedFees_)

func (*DistributionManagerCallerSession) Version added in v1.0.0

func (_DistributionManager *DistributionManagerCallerSession) Version() (string, error)

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

Solidity: function version() pure returns(string version_)

type DistributionManagerClaim

type DistributionManagerClaim struct {
	NodeId           uint32
	OriginatorNodeId uint32
	PayerReportIndex *big.Int
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

DistributionManagerClaim represents a Claim event raised by the DistributionManager contract.

type DistributionManagerClaimIterator

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

DistributionManagerClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the DistributionManager contract.

func (*DistributionManagerClaimIterator) Close

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

func (*DistributionManagerClaimIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerClaimIterator) 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 DistributionManagerFilterer

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

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

func NewDistributionManagerFilterer

func NewDistributionManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*DistributionManagerFilterer, error)

NewDistributionManagerFilterer creates a new log filterer instance of DistributionManager, bound to a specific deployed contract.

func (*DistributionManagerFilterer) FilterClaim

func (_DistributionManager *DistributionManagerFilterer) FilterClaim(opts *bind.FilterOpts, nodeId []uint32, originatorNodeId []uint32, payerReportIndex []*big.Int) (*DistributionManagerClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x1345eb089f453d59f04c34856473ba8e5890ea1fb18e6b0414af0527ff986a0d.

Solidity: event Claim(uint32 indexed nodeId, uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) FilterInitialized

func (_DistributionManager *DistributionManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*DistributionManagerInitializedIterator, error)

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

Solidity: event Initialized(uint64 version)

func (*DistributionManagerFilterer) FilterMigrated

func (_DistributionManager *DistributionManagerFilterer) FilterMigrated(opts *bind.FilterOpts, migrator []common.Address) (*DistributionManagerMigratedIterator, error)

FilterMigrated is a free log retrieval operation binding the contract event 0xa2e7361c23d7820040603b83c0cd3f494d377bac69736377d75bb56c651a5098.

Solidity: event Migrated(address indexed migrator)

func (*DistributionManagerFilterer) FilterPauseStatusUpdated

func (_DistributionManager *DistributionManagerFilterer) FilterPauseStatusUpdated(opts *bind.FilterOpts, paused []bool) (*DistributionManagerPauseStatusUpdatedIterator, error)

FilterPauseStatusUpdated is a free log retrieval operation binding the contract event 0x7c4d1fe30fdbfda9e9c4c43e759ef32e4db5128d4cb58ff3ae9583b89b6242a5.

Solidity: event PauseStatusUpdated(bool indexed paused)

func (*DistributionManagerFilterer) FilterProtocolFeesClaim

func (_DistributionManager *DistributionManagerFilterer) FilterProtocolFeesClaim(opts *bind.FilterOpts, originatorNodeId []uint32, payerReportIndex []*big.Int) (*DistributionManagerProtocolFeesClaimIterator, error)

FilterProtocolFeesClaim is a free log retrieval operation binding the contract event 0x4b13292cd0c7c3d0915e067520d2d9a9281868666614ff9ce7fe127e8d029a17.

Solidity: event ProtocolFeesClaim(uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) FilterProtocolFeesRecipientUpdated

func (_DistributionManager *DistributionManagerFilterer) FilterProtocolFeesRecipientUpdated(opts *bind.FilterOpts) (*DistributionManagerProtocolFeesRecipientUpdatedIterator, error)

FilterProtocolFeesRecipientUpdated is a free log retrieval operation binding the contract event 0x946e24a22a02b6e595bf703f75e3d98a755497d17cdc57ba967888c80106ce1f.

Solidity: event ProtocolFeesRecipientUpdated(address protocolFeesRecipient)

func (*DistributionManagerFilterer) FilterProtocolFeesWithdrawal

func (_DistributionManager *DistributionManagerFilterer) FilterProtocolFeesWithdrawal(opts *bind.FilterOpts) (*DistributionManagerProtocolFeesWithdrawalIterator, error)

FilterProtocolFeesWithdrawal is a free log retrieval operation binding the contract event 0x0fea118a9a3a3c942b3df91cd1b2b781ecebf3583b59e40a7e51b9e7b95abb05.

Solidity: event ProtocolFeesWithdrawal(uint96 amount)

func (*DistributionManagerFilterer) FilterUpgraded

func (_DistributionManager *DistributionManagerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*DistributionManagerUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*DistributionManagerFilterer) FilterWithdrawal

func (_DistributionManager *DistributionManagerFilterer) FilterWithdrawal(opts *bind.FilterOpts, nodeId []uint32) (*DistributionManagerWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x26bb85bbef39e470a6e9ff0c8c5b3e74ae1e80bc66f4be2072177949295e656f.

Solidity: event Withdrawal(uint32 indexed nodeId, uint96 amount)

func (*DistributionManagerFilterer) ParseClaim

func (_DistributionManager *DistributionManagerFilterer) ParseClaim(log types.Log) (*DistributionManagerClaim, error)

ParseClaim is a log parse operation binding the contract event 0x1345eb089f453d59f04c34856473ba8e5890ea1fb18e6b0414af0527ff986a0d.

Solidity: event Claim(uint32 indexed nodeId, uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) ParseInitialized

func (_DistributionManager *DistributionManagerFilterer) ParseInitialized(log types.Log) (*DistributionManagerInitialized, error)

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

Solidity: event Initialized(uint64 version)

func (*DistributionManagerFilterer) ParseMigrated

func (_DistributionManager *DistributionManagerFilterer) ParseMigrated(log types.Log) (*DistributionManagerMigrated, error)

ParseMigrated is a log parse operation binding the contract event 0xa2e7361c23d7820040603b83c0cd3f494d377bac69736377d75bb56c651a5098.

Solidity: event Migrated(address indexed migrator)

func (*DistributionManagerFilterer) ParsePauseStatusUpdated

func (_DistributionManager *DistributionManagerFilterer) ParsePauseStatusUpdated(log types.Log) (*DistributionManagerPauseStatusUpdated, error)

ParsePauseStatusUpdated is a log parse operation binding the contract event 0x7c4d1fe30fdbfda9e9c4c43e759ef32e4db5128d4cb58ff3ae9583b89b6242a5.

Solidity: event PauseStatusUpdated(bool indexed paused)

func (*DistributionManagerFilterer) ParseProtocolFeesClaim

func (_DistributionManager *DistributionManagerFilterer) ParseProtocolFeesClaim(log types.Log) (*DistributionManagerProtocolFeesClaim, error)

ParseProtocolFeesClaim is a log parse operation binding the contract event 0x4b13292cd0c7c3d0915e067520d2d9a9281868666614ff9ce7fe127e8d029a17.

Solidity: event ProtocolFeesClaim(uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) ParseProtocolFeesRecipientUpdated

func (_DistributionManager *DistributionManagerFilterer) ParseProtocolFeesRecipientUpdated(log types.Log) (*DistributionManagerProtocolFeesRecipientUpdated, error)

ParseProtocolFeesRecipientUpdated is a log parse operation binding the contract event 0x946e24a22a02b6e595bf703f75e3d98a755497d17cdc57ba967888c80106ce1f.

Solidity: event ProtocolFeesRecipientUpdated(address protocolFeesRecipient)

func (*DistributionManagerFilterer) ParseProtocolFeesWithdrawal

func (_DistributionManager *DistributionManagerFilterer) ParseProtocolFeesWithdrawal(log types.Log) (*DistributionManagerProtocolFeesWithdrawal, error)

ParseProtocolFeesWithdrawal is a log parse operation binding the contract event 0x0fea118a9a3a3c942b3df91cd1b2b781ecebf3583b59e40a7e51b9e7b95abb05.

Solidity: event ProtocolFeesWithdrawal(uint96 amount)

func (*DistributionManagerFilterer) ParseUpgraded

func (_DistributionManager *DistributionManagerFilterer) ParseUpgraded(log types.Log) (*DistributionManagerUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*DistributionManagerFilterer) ParseWithdrawal

func (_DistributionManager *DistributionManagerFilterer) ParseWithdrawal(log types.Log) (*DistributionManagerWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x26bb85bbef39e470a6e9ff0c8c5b3e74ae1e80bc66f4be2072177949295e656f.

Solidity: event Withdrawal(uint32 indexed nodeId, uint96 amount)

func (*DistributionManagerFilterer) WatchClaim

func (_DistributionManager *DistributionManagerFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *DistributionManagerClaim, nodeId []uint32, originatorNodeId []uint32, payerReportIndex []*big.Int) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x1345eb089f453d59f04c34856473ba8e5890ea1fb18e6b0414af0527ff986a0d.

Solidity: event Claim(uint32 indexed nodeId, uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) WatchInitialized

func (_DistributionManager *DistributionManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DistributionManagerInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint64 version)

func (*DistributionManagerFilterer) WatchMigrated

func (_DistributionManager *DistributionManagerFilterer) WatchMigrated(opts *bind.WatchOpts, sink chan<- *DistributionManagerMigrated, migrator []common.Address) (event.Subscription, error)

WatchMigrated is a free log subscription operation binding the contract event 0xa2e7361c23d7820040603b83c0cd3f494d377bac69736377d75bb56c651a5098.

Solidity: event Migrated(address indexed migrator)

func (*DistributionManagerFilterer) WatchPauseStatusUpdated

func (_DistributionManager *DistributionManagerFilterer) WatchPauseStatusUpdated(opts *bind.WatchOpts, sink chan<- *DistributionManagerPauseStatusUpdated, paused []bool) (event.Subscription, error)

WatchPauseStatusUpdated is a free log subscription operation binding the contract event 0x7c4d1fe30fdbfda9e9c4c43e759ef32e4db5128d4cb58ff3ae9583b89b6242a5.

Solidity: event PauseStatusUpdated(bool indexed paused)

func (*DistributionManagerFilterer) WatchProtocolFeesClaim

func (_DistributionManager *DistributionManagerFilterer) WatchProtocolFeesClaim(opts *bind.WatchOpts, sink chan<- *DistributionManagerProtocolFeesClaim, originatorNodeId []uint32, payerReportIndex []*big.Int) (event.Subscription, error)

WatchProtocolFeesClaim is a free log subscription operation binding the contract event 0x4b13292cd0c7c3d0915e067520d2d9a9281868666614ff9ce7fe127e8d029a17.

Solidity: event ProtocolFeesClaim(uint32 indexed originatorNodeId, uint256 indexed payerReportIndex, uint96 amount)

func (*DistributionManagerFilterer) WatchProtocolFeesRecipientUpdated

func (_DistributionManager *DistributionManagerFilterer) WatchProtocolFeesRecipientUpdated(opts *bind.WatchOpts, sink chan<- *DistributionManagerProtocolFeesRecipientUpdated) (event.Subscription, error)

WatchProtocolFeesRecipientUpdated is a free log subscription operation binding the contract event 0x946e24a22a02b6e595bf703f75e3d98a755497d17cdc57ba967888c80106ce1f.

Solidity: event ProtocolFeesRecipientUpdated(address protocolFeesRecipient)

func (*DistributionManagerFilterer) WatchProtocolFeesWithdrawal

func (_DistributionManager *DistributionManagerFilterer) WatchProtocolFeesWithdrawal(opts *bind.WatchOpts, sink chan<- *DistributionManagerProtocolFeesWithdrawal) (event.Subscription, error)

WatchProtocolFeesWithdrawal is a free log subscription operation binding the contract event 0x0fea118a9a3a3c942b3df91cd1b2b781ecebf3583b59e40a7e51b9e7b95abb05.

Solidity: event ProtocolFeesWithdrawal(uint96 amount)

func (*DistributionManagerFilterer) WatchUpgraded

func (_DistributionManager *DistributionManagerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *DistributionManagerUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*DistributionManagerFilterer) WatchWithdrawal

func (_DistributionManager *DistributionManagerFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *DistributionManagerWithdrawal, nodeId []uint32) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x26bb85bbef39e470a6e9ff0c8c5b3e74ae1e80bc66f4be2072177949295e656f.

Solidity: event Withdrawal(uint32 indexed nodeId, uint96 amount)

type DistributionManagerInitialized

type DistributionManagerInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

DistributionManagerInitialized represents a Initialized event raised by the DistributionManager contract.

type DistributionManagerInitializedIterator

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

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

func (*DistributionManagerInitializedIterator) Close

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

func (*DistributionManagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerInitializedIterator) 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 DistributionManagerMigrated

type DistributionManagerMigrated struct {
	Migrator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

DistributionManagerMigrated represents a Migrated event raised by the DistributionManager contract.

type DistributionManagerMigratedIterator

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

DistributionManagerMigratedIterator is returned from FilterMigrated and is used to iterate over the raw logs and unpacked data for Migrated events raised by the DistributionManager contract.

func (*DistributionManagerMigratedIterator) Close

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

func (*DistributionManagerMigratedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerMigratedIterator) 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 DistributionManagerPauseStatusUpdated

type DistributionManagerPauseStatusUpdated struct {
	Paused bool
	Raw    types.Log // Blockchain specific contextual infos
}

DistributionManagerPauseStatusUpdated represents a PauseStatusUpdated event raised by the DistributionManager contract.

type DistributionManagerPauseStatusUpdatedIterator

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

DistributionManagerPauseStatusUpdatedIterator is returned from FilterPauseStatusUpdated and is used to iterate over the raw logs and unpacked data for PauseStatusUpdated events raised by the DistributionManager contract.

func (*DistributionManagerPauseStatusUpdatedIterator) Close

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

func (*DistributionManagerPauseStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerPauseStatusUpdatedIterator) 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 DistributionManagerProtocolFeesClaim

type DistributionManagerProtocolFeesClaim struct {
	OriginatorNodeId uint32
	PayerReportIndex *big.Int
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

DistributionManagerProtocolFeesClaim represents a ProtocolFeesClaim event raised by the DistributionManager contract.

type DistributionManagerProtocolFeesClaimIterator

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

DistributionManagerProtocolFeesClaimIterator is returned from FilterProtocolFeesClaim and is used to iterate over the raw logs and unpacked data for ProtocolFeesClaim events raised by the DistributionManager contract.

func (*DistributionManagerProtocolFeesClaimIterator) Close

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

func (*DistributionManagerProtocolFeesClaimIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerProtocolFeesClaimIterator) 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 DistributionManagerProtocolFeesRecipientUpdated

type DistributionManagerProtocolFeesRecipientUpdated struct {
	ProtocolFeesRecipient common.Address
	Raw                   types.Log // Blockchain specific contextual infos
}

DistributionManagerProtocolFeesRecipientUpdated represents a ProtocolFeesRecipientUpdated event raised by the DistributionManager contract.

type DistributionManagerProtocolFeesRecipientUpdatedIterator

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

DistributionManagerProtocolFeesRecipientUpdatedIterator is returned from FilterProtocolFeesRecipientUpdated and is used to iterate over the raw logs and unpacked data for ProtocolFeesRecipientUpdated events raised by the DistributionManager contract.

func (*DistributionManagerProtocolFeesRecipientUpdatedIterator) Close

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

func (*DistributionManagerProtocolFeesRecipientUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerProtocolFeesRecipientUpdatedIterator) 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 DistributionManagerProtocolFeesWithdrawal

type DistributionManagerProtocolFeesWithdrawal struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

DistributionManagerProtocolFeesWithdrawal represents a ProtocolFeesWithdrawal event raised by the DistributionManager contract.

type DistributionManagerProtocolFeesWithdrawalIterator

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

DistributionManagerProtocolFeesWithdrawalIterator is returned from FilterProtocolFeesWithdrawal and is used to iterate over the raw logs and unpacked data for ProtocolFeesWithdrawal events raised by the DistributionManager contract.

func (*DistributionManagerProtocolFeesWithdrawalIterator) Close

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

func (*DistributionManagerProtocolFeesWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerProtocolFeesWithdrawalIterator) 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 DistributionManagerRaw

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

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

func (*DistributionManagerRaw) Call

func (_DistributionManager *DistributionManagerRaw) 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 (*DistributionManagerRaw) Transact

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

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

func (*DistributionManagerRaw) Transfer

func (_DistributionManager *DistributionManagerRaw) 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 DistributionManagerSession

type DistributionManagerSession struct {
	Contract     *DistributionManager // 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
}

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

func (*DistributionManagerSession) AreFeesClaimed

func (_DistributionManager *DistributionManagerSession) AreFeesClaimed(nodeId_ uint32, originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreFeesClaimed is a free data retrieval call binding the contract method 0x1617d097.

Solidity: function areFeesClaimed(uint32 nodeId_, uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool hasClaimed_)

func (*DistributionManagerSession) AreProtocolFeesClaimed

func (_DistributionManager *DistributionManagerSession) AreProtocolFeesClaimed(originatorNodeId_ uint32, payerReportIndex_ *big.Int) (bool, error)

AreProtocolFeesClaimed is a free data retrieval call binding the contract method 0xdc17fb75.

Solidity: function areProtocolFeesClaimed(uint32 originatorNodeId_, uint256 payerReportIndex_) view returns(bool areClaimed_)

func (*DistributionManagerSession) Claim

func (_DistributionManager *DistributionManagerSession) Claim(nodeId_ uint32, originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0da80b8a.

Solidity: function claim(uint32 nodeId_, uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerSession) ClaimProtocolFees

func (_DistributionManager *DistributionManagerSession) ClaimProtocolFees(originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

ClaimProtocolFees is a paid mutator transaction binding the contract method 0x6d399ad4.

Solidity: function claimProtocolFees(uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerSession) ContractName added in v1.0.0

func (_DistributionManager *DistributionManagerSession) ContractName() (string, error)

ContractName is a free data retrieval call binding the contract method 0x75d0c0dc.

Solidity: function contractName() pure returns(string contractName_)

func (*DistributionManagerSession) FeeToken

func (_DistributionManager *DistributionManagerSession) FeeToken() (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*DistributionManagerSession) GetOwedFees

func (_DistributionManager *DistributionManagerSession) GetOwedFees(nodeId_ uint32) (*big.Int, error)

GetOwedFees is a free data retrieval call binding the contract method 0x5b8e9219.

Solidity: function getOwedFees(uint32 nodeId_) view returns(uint96 owedFees_)

func (*DistributionManagerSession) Implementation

func (_DistributionManager *DistributionManagerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address implementation_)

func (*DistributionManagerSession) Initialize

func (_DistributionManager *DistributionManagerSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*DistributionManagerSession) Migrate

func (_DistributionManager *DistributionManagerSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*DistributionManagerSession) MigratorParameterKey

func (_DistributionManager *DistributionManagerSession) MigratorParameterKey() (string, error)

MigratorParameterKey is a free data retrieval call binding the contract method 0x8aab82ba.

Solidity: function migratorParameterKey() pure returns(string key_)

func (*DistributionManagerSession) NodeRegistry

func (_DistributionManager *DistributionManagerSession) NodeRegistry() (common.Address, error)

NodeRegistry is a free data retrieval call binding the contract method 0xd9b5c4a5.

Solidity: function nodeRegistry() view returns(address)

func (*DistributionManagerSession) OwedProtocolFees

func (_DistributionManager *DistributionManagerSession) OwedProtocolFees() (*big.Int, error)

OwedProtocolFees is a free data retrieval call binding the contract method 0xbda4f788.

Solidity: function owedProtocolFees() view returns(uint96 owedProtocolFees_)

func (*DistributionManagerSession) ParameterRegistry

func (_DistributionManager *DistributionManagerSession) ParameterRegistry() (common.Address, error)

ParameterRegistry is a free data retrieval call binding the contract method 0x0723499e.

Solidity: function parameterRegistry() view returns(address)

func (*DistributionManagerSession) Paused

func (_DistributionManager *DistributionManagerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool paused_)

func (*DistributionManagerSession) PausedParameterKey

func (_DistributionManager *DistributionManagerSession) PausedParameterKey() (string, error)

PausedParameterKey is a free data retrieval call binding the contract method 0xcc5999af.

Solidity: function pausedParameterKey() pure returns(string key_)

func (*DistributionManagerSession) PayerRegistry

func (_DistributionManager *DistributionManagerSession) PayerRegistry() (common.Address, error)

PayerRegistry is a free data retrieval call binding the contract method 0x1dc5f4b8.

Solidity: function payerRegistry() view returns(address)

func (*DistributionManagerSession) PayerReportManager

func (_DistributionManager *DistributionManagerSession) PayerReportManager() (common.Address, error)

PayerReportManager is a free data retrieval call binding the contract method 0x5a9b918c.

Solidity: function payerReportManager() view returns(address)

func (*DistributionManagerSession) ProtocolFeesRecipient

func (_DistributionManager *DistributionManagerSession) ProtocolFeesRecipient() (common.Address, error)

ProtocolFeesRecipient is a free data retrieval call binding the contract method 0x68930637.

Solidity: function protocolFeesRecipient() view returns(address protocolFeesRecipient_)

func (*DistributionManagerSession) ProtocolFeesRecipientParameterKey

func (_DistributionManager *DistributionManagerSession) ProtocolFeesRecipientParameterKey() (string, error)

ProtocolFeesRecipientParameterKey is a free data retrieval call binding the contract method 0xd106d5c1.

Solidity: function protocolFeesRecipientParameterKey() pure returns(string key_)

func (*DistributionManagerSession) TotalOwedFees

func (_DistributionManager *DistributionManagerSession) TotalOwedFees() (*big.Int, error)

TotalOwedFees is a free data retrieval call binding the contract method 0x80dadbce.

Solidity: function totalOwedFees() view returns(uint96 totalOwedFees_)

func (*DistributionManagerSession) UpdatePauseStatus

func (_DistributionManager *DistributionManagerSession) UpdatePauseStatus() (*types.Transaction, error)

UpdatePauseStatus is a paid mutator transaction binding the contract method 0x59d4df41.

Solidity: function updatePauseStatus() returns()

func (*DistributionManagerSession) UpdateProtocolFeesRecipient

func (_DistributionManager *DistributionManagerSession) UpdateProtocolFeesRecipient() (*types.Transaction, error)

UpdateProtocolFeesRecipient is a paid mutator transaction binding the contract method 0x73e1f6d4.

Solidity: function updateProtocolFeesRecipient() returns()

func (*DistributionManagerSession) Version added in v1.0.0

func (_DistributionManager *DistributionManagerSession) Version() (string, error)

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

Solidity: function version() pure returns(string version_)

func (*DistributionManagerSession) Withdraw

func (_DistributionManager *DistributionManagerSession) Withdraw(nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x8316e5ae.

Solidity: function withdraw(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerSession) WithdrawIntoUnderlying

func (_DistributionManager *DistributionManagerSession) WithdrawIntoUnderlying(nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

WithdrawIntoUnderlying is a paid mutator transaction binding the contract method 0x21c5bf0e.

Solidity: function withdrawIntoUnderlying(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerSession) WithdrawProtocolFees

func (_DistributionManager *DistributionManagerSession) WithdrawProtocolFees() (*types.Transaction, error)

WithdrawProtocolFees is a paid mutator transaction binding the contract method 0x8795cccb.

Solidity: function withdrawProtocolFees() returns(uint96 withdrawn_)

func (*DistributionManagerSession) WithdrawProtocolFeesIntoUnderlying

func (_DistributionManager *DistributionManagerSession) WithdrawProtocolFeesIntoUnderlying() (*types.Transaction, error)

WithdrawProtocolFeesIntoUnderlying is a paid mutator transaction binding the contract method 0x7d776753.

Solidity: function withdrawProtocolFeesIntoUnderlying() returns(uint96 withdrawn_)

type DistributionManagerTransactor

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

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

func NewDistributionManagerTransactor

func NewDistributionManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*DistributionManagerTransactor, error)

NewDistributionManagerTransactor creates a new write-only instance of DistributionManager, bound to a specific deployed contract.

func (*DistributionManagerTransactor) Claim

func (_DistributionManager *DistributionManagerTransactor) Claim(opts *bind.TransactOpts, nodeId_ uint32, originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0da80b8a.

Solidity: function claim(uint32 nodeId_, uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerTransactor) ClaimProtocolFees

func (_DistributionManager *DistributionManagerTransactor) ClaimProtocolFees(opts *bind.TransactOpts, originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

ClaimProtocolFees is a paid mutator transaction binding the contract method 0x6d399ad4.

Solidity: function claimProtocolFees(uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerTransactor) Initialize

func (_DistributionManager *DistributionManagerTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*DistributionManagerTransactor) Migrate

func (_DistributionManager *DistributionManagerTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*DistributionManagerTransactor) UpdatePauseStatus

func (_DistributionManager *DistributionManagerTransactor) UpdatePauseStatus(opts *bind.TransactOpts) (*types.Transaction, error)

UpdatePauseStatus is a paid mutator transaction binding the contract method 0x59d4df41.

Solidity: function updatePauseStatus() returns()

func (*DistributionManagerTransactor) UpdateProtocolFeesRecipient

func (_DistributionManager *DistributionManagerTransactor) UpdateProtocolFeesRecipient(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateProtocolFeesRecipient is a paid mutator transaction binding the contract method 0x73e1f6d4.

Solidity: function updateProtocolFeesRecipient() returns()

func (*DistributionManagerTransactor) Withdraw

func (_DistributionManager *DistributionManagerTransactor) Withdraw(opts *bind.TransactOpts, nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x8316e5ae.

Solidity: function withdraw(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerTransactor) WithdrawIntoUnderlying

func (_DistributionManager *DistributionManagerTransactor) WithdrawIntoUnderlying(opts *bind.TransactOpts, nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

WithdrawIntoUnderlying is a paid mutator transaction binding the contract method 0x21c5bf0e.

Solidity: function withdrawIntoUnderlying(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerTransactor) WithdrawProtocolFees

func (_DistributionManager *DistributionManagerTransactor) WithdrawProtocolFees(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawProtocolFees is a paid mutator transaction binding the contract method 0x8795cccb.

Solidity: function withdrawProtocolFees() returns(uint96 withdrawn_)

func (*DistributionManagerTransactor) WithdrawProtocolFeesIntoUnderlying

func (_DistributionManager *DistributionManagerTransactor) WithdrawProtocolFeesIntoUnderlying(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawProtocolFeesIntoUnderlying is a paid mutator transaction binding the contract method 0x7d776753.

Solidity: function withdrawProtocolFeesIntoUnderlying() returns(uint96 withdrawn_)

type DistributionManagerTransactorRaw

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

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

func (*DistributionManagerTransactorRaw) Transact

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

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

func (*DistributionManagerTransactorRaw) Transfer

func (_DistributionManager *DistributionManagerTransactorRaw) 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 DistributionManagerTransactorSession

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

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

func (*DistributionManagerTransactorSession) Claim

func (_DistributionManager *DistributionManagerTransactorSession) Claim(nodeId_ uint32, originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x0da80b8a.

Solidity: function claim(uint32 nodeId_, uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerTransactorSession) ClaimProtocolFees

func (_DistributionManager *DistributionManagerTransactorSession) ClaimProtocolFees(originatorNodeIds_ []uint32, payerReportIndices_ []*big.Int) (*types.Transaction, error)

ClaimProtocolFees is a paid mutator transaction binding the contract method 0x6d399ad4.

Solidity: function claimProtocolFees(uint32[] originatorNodeIds_, uint256[] payerReportIndices_) returns(uint96 claimed_)

func (*DistributionManagerTransactorSession) Initialize

func (_DistributionManager *DistributionManagerTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*DistributionManagerTransactorSession) Migrate

func (_DistributionManager *DistributionManagerTransactorSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*DistributionManagerTransactorSession) UpdatePauseStatus

func (_DistributionManager *DistributionManagerTransactorSession) UpdatePauseStatus() (*types.Transaction, error)

UpdatePauseStatus is a paid mutator transaction binding the contract method 0x59d4df41.

Solidity: function updatePauseStatus() returns()

func (*DistributionManagerTransactorSession) UpdateProtocolFeesRecipient

func (_DistributionManager *DistributionManagerTransactorSession) UpdateProtocolFeesRecipient() (*types.Transaction, error)

UpdateProtocolFeesRecipient is a paid mutator transaction binding the contract method 0x73e1f6d4.

Solidity: function updateProtocolFeesRecipient() returns()

func (*DistributionManagerTransactorSession) Withdraw

func (_DistributionManager *DistributionManagerTransactorSession) Withdraw(nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x8316e5ae.

Solidity: function withdraw(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerTransactorSession) WithdrawIntoUnderlying

func (_DistributionManager *DistributionManagerTransactorSession) WithdrawIntoUnderlying(nodeId_ uint32, recipient_ common.Address) (*types.Transaction, error)

WithdrawIntoUnderlying is a paid mutator transaction binding the contract method 0x21c5bf0e.

Solidity: function withdrawIntoUnderlying(uint32 nodeId_, address recipient_) returns(uint96 withdrawn_)

func (*DistributionManagerTransactorSession) WithdrawProtocolFees

func (_DistributionManager *DistributionManagerTransactorSession) WithdrawProtocolFees() (*types.Transaction, error)

WithdrawProtocolFees is a paid mutator transaction binding the contract method 0x8795cccb.

Solidity: function withdrawProtocolFees() returns(uint96 withdrawn_)

func (*DistributionManagerTransactorSession) WithdrawProtocolFeesIntoUnderlying

func (_DistributionManager *DistributionManagerTransactorSession) WithdrawProtocolFeesIntoUnderlying() (*types.Transaction, error)

WithdrawProtocolFeesIntoUnderlying is a paid mutator transaction binding the contract method 0x7d776753.

Solidity: function withdrawProtocolFeesIntoUnderlying() returns(uint96 withdrawn_)

type DistributionManagerUpgraded

type DistributionManagerUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

DistributionManagerUpgraded represents a Upgraded event raised by the DistributionManager contract.

type DistributionManagerUpgradedIterator

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

DistributionManagerUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the DistributionManager contract.

func (*DistributionManagerUpgradedIterator) Close

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

func (*DistributionManagerUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerUpgradedIterator) 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 DistributionManagerWithdrawal

type DistributionManagerWithdrawal struct {
	NodeId uint32
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

DistributionManagerWithdrawal represents a Withdrawal event raised by the DistributionManager contract.

type DistributionManagerWithdrawalIterator

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

DistributionManagerWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the DistributionManager contract.

func (*DistributionManagerWithdrawalIterator) Close

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

func (*DistributionManagerWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DistributionManagerWithdrawalIterator) 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.

Jump to

Keyboard shortcuts

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