protocolfeevault

package
v0.0.0-...-3beb7e2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ProtocolFeeVaultABI = "" /* 5473-byte string literal not displayed */

ProtocolFeeVaultABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolFeeVault

type ProtocolFeeVault struct {
	ProtocolFeeVaultCaller     // Read-only binding to the contract
	ProtocolFeeVaultTransactor // Write-only binding to the contract
	ProtocolFeeVaultFilterer   // Log filterer for contract events
}

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

func NewProtocolFeeVault

func NewProtocolFeeVault(address common.Address, backend bind.ContractBackend) (*ProtocolFeeVault, error)

NewProtocolFeeVault creates a new instance of ProtocolFeeVault, bound to a specific deployed contract.

type ProtocolFeeVaultCaller

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

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

func NewProtocolFeeVaultCaller

func NewProtocolFeeVaultCaller(address common.Address, caller bind.ContractCaller) (*ProtocolFeeVaultCaller, error)

NewProtocolFeeVaultCaller creates a new read-only instance of ProtocolFeeVault, bound to a specific deployed contract.

func (*ProtocolFeeVaultCaller) DAOPERDENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) DAOPERDENTAGE(opts *bind.CallOpts) (*big.Int, error)

DAOPERDENTAGE is a free data retrieval call binding the contract method 0x68b79c32.

Solidity: function DAO_PERDENTAGE() view returns(uint256)

func (*ProtocolFeeVaultCaller) DaoAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) DaoAddress(opts *bind.CallOpts) (common.Address, error)

DaoAddress is a free data retrieval call binding the contract method 0x2131c68c.

Solidity: function daoAddress() view returns(address)

func (*ProtocolFeeVaultCaller) GetProtocolFeeStats

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) GetProtocolFeeStats(opts *bind.CallOpts) (struct {
	AccumulatedFees    *big.Int
	AccumulatedBurn    *big.Int
	AccumulatedDAOFund *big.Int
	AccumulatedReward  *big.Int
	RemainingFees      *big.Int
	RemainingBurn      *big.Int
	RemainingDAOFund   *big.Int
	RemainingReward    *big.Int
}, error)

GetProtocolFeeStats is a free data retrieval call binding the contract method 0x365a906c.

Solidity: function getProtocolFeeStats() view returns(uint256 accumulatedFees, uint256 accumulatedBurn, uint256 accumulatedDAOFund, uint256 accumulatedReward, uint256 remainingFees, uint256 remainingBurn, uint256 remainingDAOFund, uint256 remainingReward)

func (*ProtocolFeeVaultCaller) LrcAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) LrcAddress(opts *bind.CallOpts) (common.Address, error)

LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.

Solidity: function lrcAddress() view returns(address)

func (*ProtocolFeeVaultCaller) Owner

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ProtocolFeeVaultCaller) PendingOwner

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*ProtocolFeeVaultCaller) REWARDPERCENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) REWARDPERCENTAGE(opts *bind.CallOpts) (*big.Int, error)

REWARDPERCENTAGE is a free data retrieval call binding the contract method 0xfc72b1ed.

Solidity: function REWARD_PERCENTAGE() view returns(uint256)

func (*ProtocolFeeVaultCaller) TokenSellerAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) TokenSellerAddress(opts *bind.CallOpts) (common.Address, error)

TokenSellerAddress is a free data retrieval call binding the contract method 0xe3fe4764.

Solidity: function tokenSellerAddress() view returns(address)

func (*ProtocolFeeVaultCaller) UserStakingPoolAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCaller) UserStakingPoolAddress(opts *bind.CallOpts) (common.Address, error)

UserStakingPoolAddress is a free data retrieval call binding the contract method 0xa0cea6c0.

Solidity: function userStakingPoolAddress() view returns(address)

type ProtocolFeeVaultCallerRaw

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

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

func (*ProtocolFeeVaultCallerRaw) Call

func (_ProtocolFeeVault *ProtocolFeeVaultCallerRaw) 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 ProtocolFeeVaultCallerSession

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

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

func (*ProtocolFeeVaultCallerSession) DAOPERDENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) DAOPERDENTAGE() (*big.Int, error)

DAOPERDENTAGE is a free data retrieval call binding the contract method 0x68b79c32.

Solidity: function DAO_PERDENTAGE() view returns(uint256)

func (*ProtocolFeeVaultCallerSession) DaoAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) DaoAddress() (common.Address, error)

DaoAddress is a free data retrieval call binding the contract method 0x2131c68c.

Solidity: function daoAddress() view returns(address)

func (*ProtocolFeeVaultCallerSession) GetProtocolFeeStats

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) GetProtocolFeeStats() (struct {
	AccumulatedFees    *big.Int
	AccumulatedBurn    *big.Int
	AccumulatedDAOFund *big.Int
	AccumulatedReward  *big.Int
	RemainingFees      *big.Int
	RemainingBurn      *big.Int
	RemainingDAOFund   *big.Int
	RemainingReward    *big.Int
}, error)

GetProtocolFeeStats is a free data retrieval call binding the contract method 0x365a906c.

Solidity: function getProtocolFeeStats() view returns(uint256 accumulatedFees, uint256 accumulatedBurn, uint256 accumulatedDAOFund, uint256 accumulatedReward, uint256 remainingFees, uint256 remainingBurn, uint256 remainingDAOFund, uint256 remainingReward)

func (*ProtocolFeeVaultCallerSession) LrcAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) LrcAddress() (common.Address, error)

LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.

Solidity: function lrcAddress() view returns(address)

func (*ProtocolFeeVaultCallerSession) Owner

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ProtocolFeeVaultCallerSession) PendingOwner

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*ProtocolFeeVaultCallerSession) REWARDPERCENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) REWARDPERCENTAGE() (*big.Int, error)

REWARDPERCENTAGE is a free data retrieval call binding the contract method 0xfc72b1ed.

Solidity: function REWARD_PERCENTAGE() view returns(uint256)

func (*ProtocolFeeVaultCallerSession) TokenSellerAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) TokenSellerAddress() (common.Address, error)

TokenSellerAddress is a free data retrieval call binding the contract method 0xe3fe4764.

Solidity: function tokenSellerAddress() view returns(address)

func (*ProtocolFeeVaultCallerSession) UserStakingPoolAddress

func (_ProtocolFeeVault *ProtocolFeeVaultCallerSession) UserStakingPoolAddress() (common.Address, error)

UserStakingPoolAddress is a free data retrieval call binding the contract method 0xa0cea6c0.

Solidity: function userStakingPoolAddress() view returns(address)

type ProtocolFeeVaultDAOFunded

type ProtocolFeeVaultDAOFunded struct {
	AmountDAO  *big.Int
	AmountBurn *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ProtocolFeeVaultDAOFunded represents a DAOFunded event raised by the ProtocolFeeVault contract.

type ProtocolFeeVaultDAOFundedIterator

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

ProtocolFeeVaultDAOFundedIterator is returned from FilterDAOFunded and is used to iterate over the raw logs and unpacked data for DAOFunded events raised by the ProtocolFeeVault contract.

func (*ProtocolFeeVaultDAOFundedIterator) Close

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

func (*ProtocolFeeVaultDAOFundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProtocolFeeVaultDAOFundedIterator) 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 ProtocolFeeVaultFilterer

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

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

func NewProtocolFeeVaultFilterer

func NewProtocolFeeVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*ProtocolFeeVaultFilterer, error)

NewProtocolFeeVaultFilterer creates a new log filterer instance of ProtocolFeeVault, bound to a specific deployed contract.

func (*ProtocolFeeVaultFilterer) FilterDAOFunded

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) FilterDAOFunded(opts *bind.FilterOpts) (*ProtocolFeeVaultDAOFundedIterator, error)

FilterDAOFunded is a free log retrieval operation binding the contract event 0xf5deee3dde315bb684736ad09d95603ad754fe04704f5a2f0719216a09dac68d.

Solidity: event DAOFunded(uint256 amountDAO, uint256 amountBurn)

func (*ProtocolFeeVaultFilterer) FilterLRCClaimed

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) FilterLRCClaimed(opts *bind.FilterOpts) (*ProtocolFeeVaultLRCClaimedIterator, error)

FilterLRCClaimed is a free log retrieval operation binding the contract event 0xaf9f8e373f3b94eb4c733ac25dd927271dc24febef9ae82f0868502653fdb65c.

Solidity: event LRCClaimed(uint256 amount)

func (*ProtocolFeeVaultFilterer) FilterOwnershipTransferred

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProtocolFeeVaultOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ProtocolFeeVaultFilterer) FilterSettingsUpdated

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) FilterSettingsUpdated(opts *bind.FilterOpts) (*ProtocolFeeVaultSettingsUpdatedIterator, error)

FilterSettingsUpdated is a free log retrieval operation binding the contract event 0x4b804a0bfbdc2639203b93035be561d86f65f52b7e14984f95ec9d298cafccac.

Solidity: event SettingsUpdated(uint256 time)

func (*ProtocolFeeVaultFilterer) FilterTokenSold

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) FilterTokenSold(opts *bind.FilterOpts) (*ProtocolFeeVaultTokenSoldIterator, error)

FilterTokenSold is a free log retrieval operation binding the contract event 0xfe2ff4cf36ff7d2c2b06eb960897ee0d76d9c3e58da12feb7b93e86b226dd344.

Solidity: event TokenSold(address token, uint256 amount)

func (*ProtocolFeeVaultFilterer) ParseDAOFunded

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) ParseDAOFunded(log types.Log) (*ProtocolFeeVaultDAOFunded, error)

ParseDAOFunded is a log parse operation binding the contract event 0xf5deee3dde315bb684736ad09d95603ad754fe04704f5a2f0719216a09dac68d.

Solidity: event DAOFunded(uint256 amountDAO, uint256 amountBurn)

func (*ProtocolFeeVaultFilterer) ParseLRCClaimed

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) ParseLRCClaimed(log types.Log) (*ProtocolFeeVaultLRCClaimed, error)

ParseLRCClaimed is a log parse operation binding the contract event 0xaf9f8e373f3b94eb4c733ac25dd927271dc24febef9ae82f0868502653fdb65c.

Solidity: event LRCClaimed(uint256 amount)

func (*ProtocolFeeVaultFilterer) ParseOwnershipTransferred

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) ParseOwnershipTransferred(log types.Log) (*ProtocolFeeVaultOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ProtocolFeeVaultFilterer) ParseSettingsUpdated

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) ParseSettingsUpdated(log types.Log) (*ProtocolFeeVaultSettingsUpdated, error)

ParseSettingsUpdated is a log parse operation binding the contract event 0x4b804a0bfbdc2639203b93035be561d86f65f52b7e14984f95ec9d298cafccac.

Solidity: event SettingsUpdated(uint256 time)

func (*ProtocolFeeVaultFilterer) ParseTokenSold

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) ParseTokenSold(log types.Log) (*ProtocolFeeVaultTokenSold, error)

ParseTokenSold is a log parse operation binding the contract event 0xfe2ff4cf36ff7d2c2b06eb960897ee0d76d9c3e58da12feb7b93e86b226dd344.

Solidity: event TokenSold(address token, uint256 amount)

func (*ProtocolFeeVaultFilterer) WatchDAOFunded

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) WatchDAOFunded(opts *bind.WatchOpts, sink chan<- *ProtocolFeeVaultDAOFunded) (event.Subscription, error)

WatchDAOFunded is a free log subscription operation binding the contract event 0xf5deee3dde315bb684736ad09d95603ad754fe04704f5a2f0719216a09dac68d.

Solidity: event DAOFunded(uint256 amountDAO, uint256 amountBurn)

func (*ProtocolFeeVaultFilterer) WatchLRCClaimed

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) WatchLRCClaimed(opts *bind.WatchOpts, sink chan<- *ProtocolFeeVaultLRCClaimed) (event.Subscription, error)

WatchLRCClaimed is a free log subscription operation binding the contract event 0xaf9f8e373f3b94eb4c733ac25dd927271dc24febef9ae82f0868502653fdb65c.

Solidity: event LRCClaimed(uint256 amount)

func (*ProtocolFeeVaultFilterer) WatchOwnershipTransferred

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProtocolFeeVaultOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ProtocolFeeVaultFilterer) WatchSettingsUpdated

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) WatchSettingsUpdated(opts *bind.WatchOpts, sink chan<- *ProtocolFeeVaultSettingsUpdated) (event.Subscription, error)

WatchSettingsUpdated is a free log subscription operation binding the contract event 0x4b804a0bfbdc2639203b93035be561d86f65f52b7e14984f95ec9d298cafccac.

Solidity: event SettingsUpdated(uint256 time)

func (*ProtocolFeeVaultFilterer) WatchTokenSold

func (_ProtocolFeeVault *ProtocolFeeVaultFilterer) WatchTokenSold(opts *bind.WatchOpts, sink chan<- *ProtocolFeeVaultTokenSold) (event.Subscription, error)

WatchTokenSold is a free log subscription operation binding the contract event 0xfe2ff4cf36ff7d2c2b06eb960897ee0d76d9c3e58da12feb7b93e86b226dd344.

Solidity: event TokenSold(address token, uint256 amount)

type ProtocolFeeVaultLRCClaimed

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

ProtocolFeeVaultLRCClaimed represents a LRCClaimed event raised by the ProtocolFeeVault contract.

type ProtocolFeeVaultLRCClaimedIterator

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

ProtocolFeeVaultLRCClaimedIterator is returned from FilterLRCClaimed and is used to iterate over the raw logs and unpacked data for LRCClaimed events raised by the ProtocolFeeVault contract.

func (*ProtocolFeeVaultLRCClaimedIterator) Close

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

func (*ProtocolFeeVaultLRCClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProtocolFeeVaultLRCClaimedIterator) 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 ProtocolFeeVaultOwnershipTransferred

type ProtocolFeeVaultOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ProtocolFeeVaultOwnershipTransferred represents a OwnershipTransferred event raised by the ProtocolFeeVault contract.

type ProtocolFeeVaultOwnershipTransferredIterator

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

ProtocolFeeVaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ProtocolFeeVault contract.

func (*ProtocolFeeVaultOwnershipTransferredIterator) Close

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

func (*ProtocolFeeVaultOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProtocolFeeVaultOwnershipTransferredIterator) 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 ProtocolFeeVaultRaw

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

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

func (*ProtocolFeeVaultRaw) Call

func (_ProtocolFeeVault *ProtocolFeeVaultRaw) 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 (*ProtocolFeeVaultRaw) Transact

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

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

func (*ProtocolFeeVaultRaw) Transfer

func (_ProtocolFeeVault *ProtocolFeeVaultRaw) 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 ProtocolFeeVaultSession

type ProtocolFeeVaultSession struct {
	Contract     *ProtocolFeeVault // 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
}

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

func (*ProtocolFeeVaultSession) ClaimOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ProtocolFeeVaultSession) ClaimStakingReward

func (_ProtocolFeeVault *ProtocolFeeVaultSession) ClaimStakingReward(amount *big.Int) (*types.Transaction, error)

ClaimStakingReward is a paid mutator transaction binding the contract method 0x239cd4a4.

Solidity: function claimStakingReward(uint256 amount) returns()

func (*ProtocolFeeVaultSession) DAOPERDENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultSession) DAOPERDENTAGE() (*big.Int, error)

DAOPERDENTAGE is a free data retrieval call binding the contract method 0x68b79c32.

Solidity: function DAO_PERDENTAGE() view returns(uint256)

func (*ProtocolFeeVaultSession) DaoAddress

func (_ProtocolFeeVault *ProtocolFeeVaultSession) DaoAddress() (common.Address, error)

DaoAddress is a free data retrieval call binding the contract method 0x2131c68c.

Solidity: function daoAddress() view returns(address)

func (*ProtocolFeeVaultSession) Fallback

func (_ProtocolFeeVault *ProtocolFeeVaultSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ProtocolFeeVaultSession) FundDAO

func (_ProtocolFeeVault *ProtocolFeeVaultSession) FundDAO() (*types.Transaction, error)

FundDAO is a paid mutator transaction binding the contract method 0x61163379.

Solidity: function fundDAO() returns()

func (*ProtocolFeeVaultSession) GetProtocolFeeStats

func (_ProtocolFeeVault *ProtocolFeeVaultSession) GetProtocolFeeStats() (struct {
	AccumulatedFees    *big.Int
	AccumulatedBurn    *big.Int
	AccumulatedDAOFund *big.Int
	AccumulatedReward  *big.Int
	RemainingFees      *big.Int
	RemainingBurn      *big.Int
	RemainingDAOFund   *big.Int
	RemainingReward    *big.Int
}, error)

GetProtocolFeeStats is a free data retrieval call binding the contract method 0x365a906c.

Solidity: function getProtocolFeeStats() view returns(uint256 accumulatedFees, uint256 accumulatedBurn, uint256 accumulatedDAOFund, uint256 accumulatedReward, uint256 remainingFees, uint256 remainingBurn, uint256 remainingDAOFund, uint256 remainingReward)

func (*ProtocolFeeVaultSession) LrcAddress

func (_ProtocolFeeVault *ProtocolFeeVaultSession) LrcAddress() (common.Address, error)

LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.

Solidity: function lrcAddress() view returns(address)

func (*ProtocolFeeVaultSession) Owner

func (_ProtocolFeeVault *ProtocolFeeVaultSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ProtocolFeeVaultSession) PendingOwner

func (_ProtocolFeeVault *ProtocolFeeVaultSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*ProtocolFeeVaultSession) REWARDPERCENTAGE

func (_ProtocolFeeVault *ProtocolFeeVaultSession) REWARDPERCENTAGE() (*big.Int, error)

REWARDPERCENTAGE is a free data retrieval call binding the contract method 0xfc72b1ed.

Solidity: function REWARD_PERCENTAGE() view returns(uint256)

func (*ProtocolFeeVaultSession) RenounceOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ProtocolFeeVaultSession) SellTokenForLRC

func (_ProtocolFeeVault *ProtocolFeeVaultSession) SellTokenForLRC(token common.Address, amount *big.Int) (*types.Transaction, error)

SellTokenForLRC is a paid mutator transaction binding the contract method 0x2a7bf6bf.

Solidity: function sellTokenForLRC(address token, uint256 amount) returns()

func (*ProtocolFeeVaultSession) TokenSellerAddress

func (_ProtocolFeeVault *ProtocolFeeVaultSession) TokenSellerAddress() (common.Address, error)

TokenSellerAddress is a free data retrieval call binding the contract method 0xe3fe4764.

Solidity: function tokenSellerAddress() view returns(address)

func (*ProtocolFeeVaultSession) TransferOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ProtocolFeeVaultSession) UpdateSettings

func (_ProtocolFeeVault *ProtocolFeeVaultSession) UpdateSettings(_userStakingPoolAddress common.Address, _tokenSellerAddress common.Address, _daoAddress common.Address) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x57aabe91.

Solidity: function updateSettings(address _userStakingPoolAddress, address _tokenSellerAddress, address _daoAddress) returns()

func (*ProtocolFeeVaultSession) UserStakingPoolAddress

func (_ProtocolFeeVault *ProtocolFeeVaultSession) UserStakingPoolAddress() (common.Address, error)

UserStakingPoolAddress is a free data retrieval call binding the contract method 0xa0cea6c0.

Solidity: function userStakingPoolAddress() view returns(address)

type ProtocolFeeVaultSettingsUpdated

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

ProtocolFeeVaultSettingsUpdated represents a SettingsUpdated event raised by the ProtocolFeeVault contract.

type ProtocolFeeVaultSettingsUpdatedIterator

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

ProtocolFeeVaultSettingsUpdatedIterator is returned from FilterSettingsUpdated and is used to iterate over the raw logs and unpacked data for SettingsUpdated events raised by the ProtocolFeeVault contract.

func (*ProtocolFeeVaultSettingsUpdatedIterator) Close

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

func (*ProtocolFeeVaultSettingsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProtocolFeeVaultSettingsUpdatedIterator) 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 ProtocolFeeVaultTokenSold

type ProtocolFeeVaultTokenSold struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ProtocolFeeVaultTokenSold represents a TokenSold event raised by the ProtocolFeeVault contract.

type ProtocolFeeVaultTokenSoldIterator

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

ProtocolFeeVaultTokenSoldIterator is returned from FilterTokenSold and is used to iterate over the raw logs and unpacked data for TokenSold events raised by the ProtocolFeeVault contract.

func (*ProtocolFeeVaultTokenSoldIterator) Close

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

func (*ProtocolFeeVaultTokenSoldIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProtocolFeeVaultTokenSoldIterator) 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 ProtocolFeeVaultTransactor

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

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

func NewProtocolFeeVaultTransactor

func NewProtocolFeeVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*ProtocolFeeVaultTransactor, error)

NewProtocolFeeVaultTransactor creates a new write-only instance of ProtocolFeeVault, bound to a specific deployed contract.

func (*ProtocolFeeVaultTransactor) ClaimOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ProtocolFeeVaultTransactor) ClaimStakingReward

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) ClaimStakingReward(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

ClaimStakingReward is a paid mutator transaction binding the contract method 0x239cd4a4.

Solidity: function claimStakingReward(uint256 amount) returns()

func (*ProtocolFeeVaultTransactor) Fallback

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ProtocolFeeVaultTransactor) FundDAO

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) FundDAO(opts *bind.TransactOpts) (*types.Transaction, error)

FundDAO is a paid mutator transaction binding the contract method 0x61163379.

Solidity: function fundDAO() returns()

func (*ProtocolFeeVaultTransactor) RenounceOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ProtocolFeeVaultTransactor) SellTokenForLRC

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) SellTokenForLRC(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

SellTokenForLRC is a paid mutator transaction binding the contract method 0x2a7bf6bf.

Solidity: function sellTokenForLRC(address token, uint256 amount) returns()

func (*ProtocolFeeVaultTransactor) TransferOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ProtocolFeeVaultTransactor) UpdateSettings

func (_ProtocolFeeVault *ProtocolFeeVaultTransactor) UpdateSettings(opts *bind.TransactOpts, _userStakingPoolAddress common.Address, _tokenSellerAddress common.Address, _daoAddress common.Address) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x57aabe91.

Solidity: function updateSettings(address _userStakingPoolAddress, address _tokenSellerAddress, address _daoAddress) returns()

type ProtocolFeeVaultTransactorRaw

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

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

func (*ProtocolFeeVaultTransactorRaw) Transact

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

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

func (*ProtocolFeeVaultTransactorRaw) Transfer

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorRaw) 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 ProtocolFeeVaultTransactorSession

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

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

func (*ProtocolFeeVaultTransactorSession) ClaimOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ProtocolFeeVaultTransactorSession) ClaimStakingReward

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) ClaimStakingReward(amount *big.Int) (*types.Transaction, error)

ClaimStakingReward is a paid mutator transaction binding the contract method 0x239cd4a4.

Solidity: function claimStakingReward(uint256 amount) returns()

func (*ProtocolFeeVaultTransactorSession) Fallback

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ProtocolFeeVaultTransactorSession) FundDAO

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) FundDAO() (*types.Transaction, error)

FundDAO is a paid mutator transaction binding the contract method 0x61163379.

Solidity: function fundDAO() returns()

func (*ProtocolFeeVaultTransactorSession) RenounceOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ProtocolFeeVaultTransactorSession) SellTokenForLRC

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) SellTokenForLRC(token common.Address, amount *big.Int) (*types.Transaction, error)

SellTokenForLRC is a paid mutator transaction binding the contract method 0x2a7bf6bf.

Solidity: function sellTokenForLRC(address token, uint256 amount) returns()

func (*ProtocolFeeVaultTransactorSession) TransferOwnership

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ProtocolFeeVaultTransactorSession) UpdateSettings

func (_ProtocolFeeVault *ProtocolFeeVaultTransactorSession) UpdateSettings(_userStakingPoolAddress common.Address, _tokenSellerAddress common.Address, _daoAddress common.Address) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x57aabe91.

Solidity: function updateSettings(address _userStakingPoolAddress, address _tokenSellerAddress, address _daoAddress) returns()

Jump to

Keyboard shortcuts

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