user_deposit

package
v0.0.0-...-fa633b5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserDepositABI = UserDepositMetaData.ABI

UserDepositABI is the input ABI used to generate the binding from. Deprecated: Use UserDepositMetaData.ABI instead.

View Source
var UserDepositMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stafiStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingPool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"DepositAssigned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"DepositReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"DepositRecycled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"ExcessWithdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"assignDeposits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAssignDepositsEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getExcessBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaximumDepositAssignments\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinimumDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"receiveEtherWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recycleDissolvedDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recycleDistributorDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recycleWithdrawnDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setAssignDepositsEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setDepositEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setMaximumDepositAssignments\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawExcessBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawExcessBalanceForLightNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawExcessBalanceForSuperNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

UserDepositMetaData contains all meta data concerning the UserDeposit contract.

Functions

This section is empty.

Types

type UserDeposit

type UserDeposit struct {
	UserDepositCaller     // Read-only binding to the contract
	UserDepositTransactor // Write-only binding to the contract
	UserDepositFilterer   // Log filterer for contract events
}

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

func NewUserDeposit

func NewUserDeposit(address common.Address, backend bind.ContractBackend) (*UserDeposit, error)

NewUserDeposit creates a new instance of UserDeposit, bound to a specific deployed contract.

type UserDepositCaller

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

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

func NewUserDepositCaller

func NewUserDepositCaller(address common.Address, caller bind.ContractCaller) (*UserDepositCaller, error)

NewUserDepositCaller creates a new read-only instance of UserDeposit, bound to a specific deployed contract.

func (*UserDepositCaller) GetAssignDepositsEnabled

func (_UserDeposit *UserDepositCaller) GetAssignDepositsEnabled(opts *bind.CallOpts) (bool, error)

GetAssignDepositsEnabled is a free data retrieval call binding the contract method 0x47fa434a.

Solidity: function getAssignDepositsEnabled() view returns(bool)

func (*UserDepositCaller) GetBalance

func (_UserDeposit *UserDepositCaller) GetBalance(opts *bind.CallOpts) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*UserDepositCaller) GetDepositEnabled

func (_UserDeposit *UserDepositCaller) GetDepositEnabled(opts *bind.CallOpts) (bool, error)

GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.

Solidity: function getDepositEnabled() view returns(bool)

func (*UserDepositCaller) GetExcessBalance

func (_UserDeposit *UserDepositCaller) GetExcessBalance(opts *bind.CallOpts) (*big.Int, error)

GetExcessBalance is a free data retrieval call binding the contract method 0x888b042f.

Solidity: function getExcessBalance() view returns(uint256)

func (*UserDepositCaller) GetMaximumDepositAssignments

func (_UserDeposit *UserDepositCaller) GetMaximumDepositAssignments(opts *bind.CallOpts) (*big.Int, error)

GetMaximumDepositAssignments is a free data retrieval call binding the contract method 0x3b474a65.

Solidity: function getMaximumDepositAssignments() view returns(uint256)

func (*UserDepositCaller) GetMinimumDeposit

func (_UserDeposit *UserDepositCaller) GetMinimumDeposit(opts *bind.CallOpts) (*big.Int, error)

GetMinimumDeposit is a free data retrieval call binding the contract method 0x035cf142.

Solidity: function getMinimumDeposit() view returns(uint256)

func (*UserDepositCaller) Version

func (_UserDeposit *UserDepositCaller) Version(opts *bind.CallOpts) (uint8, error)

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

Solidity: function version() view returns(uint8)

type UserDepositCallerRaw

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

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

func (*UserDepositCallerRaw) Call

func (_UserDeposit *UserDepositCallerRaw) 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 UserDepositCallerSession

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

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

func (*UserDepositCallerSession) GetAssignDepositsEnabled

func (_UserDeposit *UserDepositCallerSession) GetAssignDepositsEnabled() (bool, error)

GetAssignDepositsEnabled is a free data retrieval call binding the contract method 0x47fa434a.

Solidity: function getAssignDepositsEnabled() view returns(bool)

func (*UserDepositCallerSession) GetBalance

func (_UserDeposit *UserDepositCallerSession) GetBalance() (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*UserDepositCallerSession) GetDepositEnabled

func (_UserDeposit *UserDepositCallerSession) GetDepositEnabled() (bool, error)

GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.

Solidity: function getDepositEnabled() view returns(bool)

func (*UserDepositCallerSession) GetExcessBalance

func (_UserDeposit *UserDepositCallerSession) GetExcessBalance() (*big.Int, error)

GetExcessBalance is a free data retrieval call binding the contract method 0x888b042f.

Solidity: function getExcessBalance() view returns(uint256)

func (*UserDepositCallerSession) GetMaximumDepositAssignments

func (_UserDeposit *UserDepositCallerSession) GetMaximumDepositAssignments() (*big.Int, error)

GetMaximumDepositAssignments is a free data retrieval call binding the contract method 0x3b474a65.

Solidity: function getMaximumDepositAssignments() view returns(uint256)

func (*UserDepositCallerSession) GetMinimumDeposit

func (_UserDeposit *UserDepositCallerSession) GetMinimumDeposit() (*big.Int, error)

GetMinimumDeposit is a free data retrieval call binding the contract method 0x035cf142.

Solidity: function getMinimumDeposit() view returns(uint256)

func (*UserDepositCallerSession) Version

func (_UserDeposit *UserDepositCallerSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

type UserDepositDepositAssigned

type UserDepositDepositAssigned struct {
	StakingPool common.Address
	Amount      *big.Int
	Time        *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

UserDepositDepositAssigned represents a DepositAssigned event raised by the UserDeposit contract.

type UserDepositDepositAssignedIterator

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

UserDepositDepositAssignedIterator is returned from FilterDepositAssigned and is used to iterate over the raw logs and unpacked data for DepositAssigned events raised by the UserDeposit contract.

func (*UserDepositDepositAssignedIterator) Close

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

func (*UserDepositDepositAssignedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UserDepositDepositAssignedIterator) 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 UserDepositDepositReceived

type UserDepositDepositReceived struct {
	From   common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UserDepositDepositReceived represents a DepositReceived event raised by the UserDeposit contract.

type UserDepositDepositReceivedIterator

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

UserDepositDepositReceivedIterator is returned from FilterDepositReceived and is used to iterate over the raw logs and unpacked data for DepositReceived events raised by the UserDeposit contract.

func (*UserDepositDepositReceivedIterator) Close

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

func (*UserDepositDepositReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UserDepositDepositReceivedIterator) 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 UserDepositDepositRecycled

type UserDepositDepositRecycled struct {
	From   common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UserDepositDepositRecycled represents a DepositRecycled event raised by the UserDeposit contract.

type UserDepositDepositRecycledIterator

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

UserDepositDepositRecycledIterator is returned from FilterDepositRecycled and is used to iterate over the raw logs and unpacked data for DepositRecycled events raised by the UserDeposit contract.

func (*UserDepositDepositRecycledIterator) Close

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

func (*UserDepositDepositRecycledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UserDepositDepositRecycledIterator) 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 UserDepositExcessWithdrawn

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

UserDepositExcessWithdrawn represents a ExcessWithdrawn event raised by the UserDeposit contract.

type UserDepositExcessWithdrawnIterator

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

UserDepositExcessWithdrawnIterator is returned from FilterExcessWithdrawn and is used to iterate over the raw logs and unpacked data for ExcessWithdrawn events raised by the UserDeposit contract.

func (*UserDepositExcessWithdrawnIterator) Close

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

func (*UserDepositExcessWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UserDepositExcessWithdrawnIterator) 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 UserDepositFilterer

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

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

func NewUserDepositFilterer

func NewUserDepositFilterer(address common.Address, filterer bind.ContractFilterer) (*UserDepositFilterer, error)

NewUserDepositFilterer creates a new log filterer instance of UserDeposit, bound to a specific deployed contract.

func (*UserDepositFilterer) FilterDepositAssigned

func (_UserDeposit *UserDepositFilterer) FilterDepositAssigned(opts *bind.FilterOpts, stakingPool []common.Address) (*UserDepositDepositAssignedIterator, error)

FilterDepositAssigned is a free log retrieval operation binding the contract event 0xa1811054b7d96716259cff0d366c2f6405951e0efe00c8db3e237cbf77fe7be9.

Solidity: event DepositAssigned(address indexed stakingPool, uint256 amount, uint256 time)

func (*UserDepositFilterer) FilterDepositReceived

func (_UserDeposit *UserDepositFilterer) FilterDepositReceived(opts *bind.FilterOpts, from []common.Address) (*UserDepositDepositReceivedIterator, error)

FilterDepositReceived is a free log retrieval operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.

Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) FilterDepositRecycled

func (_UserDeposit *UserDepositFilterer) FilterDepositRecycled(opts *bind.FilterOpts, from []common.Address) (*UserDepositDepositRecycledIterator, error)

FilterDepositRecycled is a free log retrieval operation binding the contract event 0x3a6614e80d02b57255cbb1f8305fbeca53d7e05a4b779d406279196608512925.

Solidity: event DepositRecycled(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) FilterExcessWithdrawn

func (_UserDeposit *UserDepositFilterer) FilterExcessWithdrawn(opts *bind.FilterOpts, to []common.Address) (*UserDepositExcessWithdrawnIterator, error)

FilterExcessWithdrawn is a free log retrieval operation binding the contract event 0x992f462cfb62e164bd03bf07baf2cffce83fbd9370cae10635842b2020012120.

Solidity: event ExcessWithdrawn(address indexed to, uint256 amount, uint256 time)

func (*UserDepositFilterer) ParseDepositAssigned

func (_UserDeposit *UserDepositFilterer) ParseDepositAssigned(log types.Log) (*UserDepositDepositAssigned, error)

ParseDepositAssigned is a log parse operation binding the contract event 0xa1811054b7d96716259cff0d366c2f6405951e0efe00c8db3e237cbf77fe7be9.

Solidity: event DepositAssigned(address indexed stakingPool, uint256 amount, uint256 time)

func (*UserDepositFilterer) ParseDepositReceived

func (_UserDeposit *UserDepositFilterer) ParseDepositReceived(log types.Log) (*UserDepositDepositReceived, error)

ParseDepositReceived is a log parse operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.

Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) ParseDepositRecycled

func (_UserDeposit *UserDepositFilterer) ParseDepositRecycled(log types.Log) (*UserDepositDepositRecycled, error)

ParseDepositRecycled is a log parse operation binding the contract event 0x3a6614e80d02b57255cbb1f8305fbeca53d7e05a4b779d406279196608512925.

Solidity: event DepositRecycled(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) ParseExcessWithdrawn

func (_UserDeposit *UserDepositFilterer) ParseExcessWithdrawn(log types.Log) (*UserDepositExcessWithdrawn, error)

ParseExcessWithdrawn is a log parse operation binding the contract event 0x992f462cfb62e164bd03bf07baf2cffce83fbd9370cae10635842b2020012120.

Solidity: event ExcessWithdrawn(address indexed to, uint256 amount, uint256 time)

func (*UserDepositFilterer) WatchDepositAssigned

func (_UserDeposit *UserDepositFilterer) WatchDepositAssigned(opts *bind.WatchOpts, sink chan<- *UserDepositDepositAssigned, stakingPool []common.Address) (event.Subscription, error)

WatchDepositAssigned is a free log subscription operation binding the contract event 0xa1811054b7d96716259cff0d366c2f6405951e0efe00c8db3e237cbf77fe7be9.

Solidity: event DepositAssigned(address indexed stakingPool, uint256 amount, uint256 time)

func (*UserDepositFilterer) WatchDepositReceived

func (_UserDeposit *UserDepositFilterer) WatchDepositReceived(opts *bind.WatchOpts, sink chan<- *UserDepositDepositReceived, from []common.Address) (event.Subscription, error)

WatchDepositReceived is a free log subscription operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.

Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) WatchDepositRecycled

func (_UserDeposit *UserDepositFilterer) WatchDepositRecycled(opts *bind.WatchOpts, sink chan<- *UserDepositDepositRecycled, from []common.Address) (event.Subscription, error)

WatchDepositRecycled is a free log subscription operation binding the contract event 0x3a6614e80d02b57255cbb1f8305fbeca53d7e05a4b779d406279196608512925.

Solidity: event DepositRecycled(address indexed from, uint256 amount, uint256 time)

func (*UserDepositFilterer) WatchExcessWithdrawn

func (_UserDeposit *UserDepositFilterer) WatchExcessWithdrawn(opts *bind.WatchOpts, sink chan<- *UserDepositExcessWithdrawn, to []common.Address) (event.Subscription, error)

WatchExcessWithdrawn is a free log subscription operation binding the contract event 0x992f462cfb62e164bd03bf07baf2cffce83fbd9370cae10635842b2020012120.

Solidity: event ExcessWithdrawn(address indexed to, uint256 amount, uint256 time)

type UserDepositRaw

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

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

func (*UserDepositRaw) Call

func (_UserDeposit *UserDepositRaw) 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 (*UserDepositRaw) Transact

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

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

func (*UserDepositRaw) Transfer

func (_UserDeposit *UserDepositRaw) 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 UserDepositSession

type UserDepositSession struct {
	Contract     *UserDeposit      // 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
}

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

func (*UserDepositSession) AssignDeposits

func (_UserDeposit *UserDepositSession) AssignDeposits() (*types.Transaction, error)

AssignDeposits is a paid mutator transaction binding the contract method 0x27c8f193.

Solidity: function assignDeposits() returns()

func (*UserDepositSession) Deposit

func (_UserDeposit *UserDepositSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*UserDepositSession) GetAssignDepositsEnabled

func (_UserDeposit *UserDepositSession) GetAssignDepositsEnabled() (bool, error)

GetAssignDepositsEnabled is a free data retrieval call binding the contract method 0x47fa434a.

Solidity: function getAssignDepositsEnabled() view returns(bool)

func (*UserDepositSession) GetBalance

func (_UserDeposit *UserDepositSession) GetBalance() (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*UserDepositSession) GetDepositEnabled

func (_UserDeposit *UserDepositSession) GetDepositEnabled() (bool, error)

GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.

Solidity: function getDepositEnabled() view returns(bool)

func (*UserDepositSession) GetExcessBalance

func (_UserDeposit *UserDepositSession) GetExcessBalance() (*big.Int, error)

GetExcessBalance is a free data retrieval call binding the contract method 0x888b042f.

Solidity: function getExcessBalance() view returns(uint256)

func (*UserDepositSession) GetMaximumDepositAssignments

func (_UserDeposit *UserDepositSession) GetMaximumDepositAssignments() (*big.Int, error)

GetMaximumDepositAssignments is a free data retrieval call binding the contract method 0x3b474a65.

Solidity: function getMaximumDepositAssignments() view returns(uint256)

func (*UserDepositSession) GetMinimumDeposit

func (_UserDeposit *UserDepositSession) GetMinimumDeposit() (*big.Int, error)

GetMinimumDeposit is a free data retrieval call binding the contract method 0x035cf142.

Solidity: function getMinimumDeposit() view returns(uint256)

func (*UserDepositSession) ReceiveEtherWithdrawal

func (_UserDeposit *UserDepositSession) ReceiveEtherWithdrawal() (*types.Transaction, error)

ReceiveEtherWithdrawal is a paid mutator transaction binding the contract method 0x0a019eaf.

Solidity: function receiveEtherWithdrawal() payable returns()

func (*UserDepositSession) RecycleDissolvedDeposit

func (_UserDeposit *UserDepositSession) RecycleDissolvedDeposit() (*types.Transaction, error)

RecycleDissolvedDeposit is a paid mutator transaction binding the contract method 0x72f5158d.

Solidity: function recycleDissolvedDeposit() payable returns()

func (*UserDepositSession) RecycleDistributorDeposit

func (_UserDeposit *UserDepositSession) RecycleDistributorDeposit() (*types.Transaction, error)

RecycleDistributorDeposit is a paid mutator transaction binding the contract method 0x7c697e74.

Solidity: function recycleDistributorDeposit() payable returns()

func (*UserDepositSession) RecycleWithdrawnDeposit

func (_UserDeposit *UserDepositSession) RecycleWithdrawnDeposit() (*types.Transaction, error)

RecycleWithdrawnDeposit is a paid mutator transaction binding the contract method 0xe44ad24c.

Solidity: function recycleWithdrawnDeposit() payable returns()

func (*UserDepositSession) SetAssignDepositsEnabled

func (_UserDeposit *UserDepositSession) SetAssignDepositsEnabled(_value bool) (*types.Transaction, error)

SetAssignDepositsEnabled is a paid mutator transaction binding the contract method 0x5cb17a90.

Solidity: function setAssignDepositsEnabled(bool _value) returns()

func (*UserDepositSession) SetDepositEnabled

func (_UserDeposit *UserDepositSession) SetDepositEnabled(_value bool) (*types.Transaction, error)

SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.

Solidity: function setDepositEnabled(bool _value) returns()

func (*UserDepositSession) SetMaximumDepositAssignments

func (_UserDeposit *UserDepositSession) SetMaximumDepositAssignments(_value *big.Int) (*types.Transaction, error)

SetMaximumDepositAssignments is a paid mutator transaction binding the contract method 0x3fa9c18d.

Solidity: function setMaximumDepositAssignments(uint256 _value) returns()

func (*UserDepositSession) SetMinimumDeposit

func (_UserDeposit *UserDepositSession) SetMinimumDeposit(_value *big.Int) (*types.Transaction, error)

SetMinimumDeposit is a paid mutator transaction binding the contract method 0xe78ec42e.

Solidity: function setMinimumDeposit(uint256 _value) returns()

func (*UserDepositSession) Version

func (_UserDeposit *UserDepositSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*UserDepositSession) WithdrawExcessBalance

func (_UserDeposit *UserDepositSession) WithdrawExcessBalance(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x63a5db9e.

Solidity: function withdrawExcessBalance(uint256 _amount) returns()

func (*UserDepositSession) WithdrawExcessBalanceForLightNode

func (_UserDeposit *UserDepositSession) WithdrawExcessBalanceForLightNode(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForLightNode is a paid mutator transaction binding the contract method 0xcc88c3c8.

Solidity: function withdrawExcessBalanceForLightNode(uint256 _amount) returns()

func (*UserDepositSession) WithdrawExcessBalanceForSuperNode

func (_UserDeposit *UserDepositSession) WithdrawExcessBalanceForSuperNode(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForSuperNode is a paid mutator transaction binding the contract method 0x8554913b.

Solidity: function withdrawExcessBalanceForSuperNode(uint256 _amount) returns()

type UserDepositTransactor

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

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

func NewUserDepositTransactor

func NewUserDepositTransactor(address common.Address, transactor bind.ContractTransactor) (*UserDepositTransactor, error)

NewUserDepositTransactor creates a new write-only instance of UserDeposit, bound to a specific deployed contract.

func (*UserDepositTransactor) AssignDeposits

func (_UserDeposit *UserDepositTransactor) AssignDeposits(opts *bind.TransactOpts) (*types.Transaction, error)

AssignDeposits is a paid mutator transaction binding the contract method 0x27c8f193.

Solidity: function assignDeposits() returns()

func (*UserDepositTransactor) Deposit

func (_UserDeposit *UserDepositTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*UserDepositTransactor) ReceiveEtherWithdrawal

func (_UserDeposit *UserDepositTransactor) ReceiveEtherWithdrawal(opts *bind.TransactOpts) (*types.Transaction, error)

ReceiveEtherWithdrawal is a paid mutator transaction binding the contract method 0x0a019eaf.

Solidity: function receiveEtherWithdrawal() payable returns()

func (*UserDepositTransactor) RecycleDissolvedDeposit

func (_UserDeposit *UserDepositTransactor) RecycleDissolvedDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

RecycleDissolvedDeposit is a paid mutator transaction binding the contract method 0x72f5158d.

Solidity: function recycleDissolvedDeposit() payable returns()

func (*UserDepositTransactor) RecycleDistributorDeposit

func (_UserDeposit *UserDepositTransactor) RecycleDistributorDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

RecycleDistributorDeposit is a paid mutator transaction binding the contract method 0x7c697e74.

Solidity: function recycleDistributorDeposit() payable returns()

func (*UserDepositTransactor) RecycleWithdrawnDeposit

func (_UserDeposit *UserDepositTransactor) RecycleWithdrawnDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

RecycleWithdrawnDeposit is a paid mutator transaction binding the contract method 0xe44ad24c.

Solidity: function recycleWithdrawnDeposit() payable returns()

func (*UserDepositTransactor) SetAssignDepositsEnabled

func (_UserDeposit *UserDepositTransactor) SetAssignDepositsEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetAssignDepositsEnabled is a paid mutator transaction binding the contract method 0x5cb17a90.

Solidity: function setAssignDepositsEnabled(bool _value) returns()

func (*UserDepositTransactor) SetDepositEnabled

func (_UserDeposit *UserDepositTransactor) SetDepositEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.

Solidity: function setDepositEnabled(bool _value) returns()

func (*UserDepositTransactor) SetMaximumDepositAssignments

func (_UserDeposit *UserDepositTransactor) SetMaximumDepositAssignments(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetMaximumDepositAssignments is a paid mutator transaction binding the contract method 0x3fa9c18d.

Solidity: function setMaximumDepositAssignments(uint256 _value) returns()

func (*UserDepositTransactor) SetMinimumDeposit

func (_UserDeposit *UserDepositTransactor) SetMinimumDeposit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetMinimumDeposit is a paid mutator transaction binding the contract method 0xe78ec42e.

Solidity: function setMinimumDeposit(uint256 _value) returns()

func (*UserDepositTransactor) WithdrawExcessBalance

func (_UserDeposit *UserDepositTransactor) WithdrawExcessBalance(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x63a5db9e.

Solidity: function withdrawExcessBalance(uint256 _amount) returns()

func (*UserDepositTransactor) WithdrawExcessBalanceForLightNode

func (_UserDeposit *UserDepositTransactor) WithdrawExcessBalanceForLightNode(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForLightNode is a paid mutator transaction binding the contract method 0xcc88c3c8.

Solidity: function withdrawExcessBalanceForLightNode(uint256 _amount) returns()

func (*UserDepositTransactor) WithdrawExcessBalanceForSuperNode

func (_UserDeposit *UserDepositTransactor) WithdrawExcessBalanceForSuperNode(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForSuperNode is a paid mutator transaction binding the contract method 0x8554913b.

Solidity: function withdrawExcessBalanceForSuperNode(uint256 _amount) returns()

type UserDepositTransactorRaw

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

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

func (*UserDepositTransactorRaw) Transact

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

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

func (*UserDepositTransactorRaw) Transfer

func (_UserDeposit *UserDepositTransactorRaw) 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 UserDepositTransactorSession

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

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

func (*UserDepositTransactorSession) AssignDeposits

func (_UserDeposit *UserDepositTransactorSession) AssignDeposits() (*types.Transaction, error)

AssignDeposits is a paid mutator transaction binding the contract method 0x27c8f193.

Solidity: function assignDeposits() returns()

func (*UserDepositTransactorSession) Deposit

func (_UserDeposit *UserDepositTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*UserDepositTransactorSession) ReceiveEtherWithdrawal

func (_UserDeposit *UserDepositTransactorSession) ReceiveEtherWithdrawal() (*types.Transaction, error)

ReceiveEtherWithdrawal is a paid mutator transaction binding the contract method 0x0a019eaf.

Solidity: function receiveEtherWithdrawal() payable returns()

func (*UserDepositTransactorSession) RecycleDissolvedDeposit

func (_UserDeposit *UserDepositTransactorSession) RecycleDissolvedDeposit() (*types.Transaction, error)

RecycleDissolvedDeposit is a paid mutator transaction binding the contract method 0x72f5158d.

Solidity: function recycleDissolvedDeposit() payable returns()

func (*UserDepositTransactorSession) RecycleDistributorDeposit

func (_UserDeposit *UserDepositTransactorSession) RecycleDistributorDeposit() (*types.Transaction, error)

RecycleDistributorDeposit is a paid mutator transaction binding the contract method 0x7c697e74.

Solidity: function recycleDistributorDeposit() payable returns()

func (*UserDepositTransactorSession) RecycleWithdrawnDeposit

func (_UserDeposit *UserDepositTransactorSession) RecycleWithdrawnDeposit() (*types.Transaction, error)

RecycleWithdrawnDeposit is a paid mutator transaction binding the contract method 0xe44ad24c.

Solidity: function recycleWithdrawnDeposit() payable returns()

func (*UserDepositTransactorSession) SetAssignDepositsEnabled

func (_UserDeposit *UserDepositTransactorSession) SetAssignDepositsEnabled(_value bool) (*types.Transaction, error)

SetAssignDepositsEnabled is a paid mutator transaction binding the contract method 0x5cb17a90.

Solidity: function setAssignDepositsEnabled(bool _value) returns()

func (*UserDepositTransactorSession) SetDepositEnabled

func (_UserDeposit *UserDepositTransactorSession) SetDepositEnabled(_value bool) (*types.Transaction, error)

SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.

Solidity: function setDepositEnabled(bool _value) returns()

func (*UserDepositTransactorSession) SetMaximumDepositAssignments

func (_UserDeposit *UserDepositTransactorSession) SetMaximumDepositAssignments(_value *big.Int) (*types.Transaction, error)

SetMaximumDepositAssignments is a paid mutator transaction binding the contract method 0x3fa9c18d.

Solidity: function setMaximumDepositAssignments(uint256 _value) returns()

func (*UserDepositTransactorSession) SetMinimumDeposit

func (_UserDeposit *UserDepositTransactorSession) SetMinimumDeposit(_value *big.Int) (*types.Transaction, error)

SetMinimumDeposit is a paid mutator transaction binding the contract method 0xe78ec42e.

Solidity: function setMinimumDeposit(uint256 _value) returns()

func (*UserDepositTransactorSession) WithdrawExcessBalance

func (_UserDeposit *UserDepositTransactorSession) WithdrawExcessBalance(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x63a5db9e.

Solidity: function withdrawExcessBalance(uint256 _amount) returns()

func (*UserDepositTransactorSession) WithdrawExcessBalanceForLightNode

func (_UserDeposit *UserDepositTransactorSession) WithdrawExcessBalanceForLightNode(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForLightNode is a paid mutator transaction binding the contract method 0xcc88c3c8.

Solidity: function withdrawExcessBalanceForLightNode(uint256 _amount) returns()

func (*UserDepositTransactorSession) WithdrawExcessBalanceForSuperNode

func (_UserDeposit *UserDepositTransactorSession) WithdrawExcessBalanceForSuperNode(_amount *big.Int) (*types.Transaction, error)

WithdrawExcessBalanceForSuperNode is a paid mutator transaction binding the contract method 0x8554913b.

Solidity: function withdrawExcessBalanceForSuperNode(uint256 _amount) returns()

Jump to

Keyboard shortcuts

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