abi

package
v0.0.0-...-22cf739 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DelegatorPoolABI = "" /* 14046-byte string literal not displayed */

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

View Source
const ERC20ABI = "" /* 2603-byte string literal not displayed */

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

Variables

View Source
var SdlPoolABI = SdlPoolMetaData.ABI

SdlPoolABI is the input ABI used to generate the binding from. Deprecated: Use SdlPoolMetaData.ABI instead.

View Source
var SdlPoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ApprovalToCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalToCurrentOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HalfDurationNotElapsed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLockId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLockingDuration\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderNotAuthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TotalDurationNotElapsed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromIncorrectOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToNonERC721Implementer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnlockAlreadyInitiated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnlockNotInitiated\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardsPool\",\"type\":\"address\"}],\"name\":\"AddToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boostAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lockingDuration\",\"type\":\"uint64\"}],\"name\":\"CreateLock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"name\":\"InitiateUnlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardsPool\",\"type\":\"address\"}],\"name\":\"RemoveToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boostAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lockingDuration\",\"type\":\"uint64\"}],\"name\":\"UpdateLock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"WithdrawRewards\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"__RewardsPoolController_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardsPool\",\"type\":\"address\"}],\"name\":\"addToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"boostController\",\"outputs\":[{\"internalType\":\"contractIBoostController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegatorPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"distributeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"}],\"name\":\"distributeTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"effectiveBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_lockingDuration\",\"type\":\"uint64\"}],\"name\":\"extendLockDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"getLockIdsByOwner\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_lockIds\",\"type\":\"uint256[]\"}],\"name\":\"getLocks\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"boostAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"startTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"duration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"internalType\":\"structSDLPool.Lock[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_sdlToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_boostController\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_delegatorPool\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"initiateUnlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"isTokenSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastLockId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_lockingDuration\",\"type\":\"uint64\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"onTokenTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"removeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sdlToken\",\"outputs\":[{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_boostController\",\"type\":\"address\"}],\"name\":\"setBoostController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"staked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"supportedTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenBalances\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenPools\",\"outputs\":[{\"internalType\":\"contractIRewardsPool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalEffectiveBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"}],\"name\":\"withdrawRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"withdrawableRewards\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SdlPoolMetaData contains all meta data concerning the SdlPool contract.

View Source
var VestingABI = VestingMetaData.ABI

VestingABI is the input ABI used to generate the binding from. Deprecated: Use VestingMetaData.ABI instead.

View Source
var VestingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_startTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_durationSeconds\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"VestingAlreadyTerminated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VestingNotTerminated\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ERC20Released\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EtherReleased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"VestingTerminated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"beneficiary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"duration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"release\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"release\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"releaseRemaining\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"released\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"released\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"start\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"}],\"name\":\"terminateVesting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"}],\"name\":\"vestedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"}],\"name\":\"vestedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vestingTerminated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

VestingMetaData contains all meta data concerning the Vesting contract.

Functions

This section is empty.

Types

type DelegatorPool

type DelegatorPool struct {
	DelegatorPoolCaller     // Read-only binding to the contract
	DelegatorPoolTransactor // Write-only binding to the contract
	DelegatorPoolFilterer   // Log filterer for contract events
}

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

func NewDelegatorPool

func NewDelegatorPool(address common.Address, backend bind.ContractBackend) (*DelegatorPool, error)

NewDelegatorPool creates a new instance of DelegatorPool, bound to a specific deployed contract.

type DelegatorPoolAddToken

type DelegatorPoolAddToken struct {
	Token       common.Address
	RewardsPool common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

DelegatorPoolAddToken represents a AddToken event raised by the DelegatorPool contract.

type DelegatorPoolAddTokenIterator

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

DelegatorPoolAddTokenIterator is returned from FilterAddToken and is used to iterate over the raw logs and unpacked data for AddToken events raised by the DelegatorPool contract.

func (*DelegatorPoolAddTokenIterator) Close

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

func (*DelegatorPoolAddTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolAddTokenIterator) 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 DelegatorPoolAllowanceStaked

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

DelegatorPoolAllowanceStaked represents a AllowanceStaked event raised by the DelegatorPool contract.

type DelegatorPoolAllowanceStakedIterator

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

DelegatorPoolAllowanceStakedIterator is returned from FilterAllowanceStaked and is used to iterate over the raw logs and unpacked data for AllowanceStaked events raised by the DelegatorPool contract.

func (*DelegatorPoolAllowanceStakedIterator) Close

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

func (*DelegatorPoolAllowanceStakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolAllowanceStakedIterator) 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 DelegatorPoolAllowanceWithdrawn

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

DelegatorPoolAllowanceWithdrawn represents a AllowanceWithdrawn event raised by the DelegatorPool contract.

type DelegatorPoolAllowanceWithdrawnIterator

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

DelegatorPoolAllowanceWithdrawnIterator is returned from FilterAllowanceWithdrawn and is used to iterate over the raw logs and unpacked data for AllowanceWithdrawn events raised by the DelegatorPool contract.

func (*DelegatorPoolAllowanceWithdrawnIterator) Close

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

func (*DelegatorPoolAllowanceWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolAllowanceWithdrawnIterator) 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 DelegatorPoolApproval

type DelegatorPoolApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

DelegatorPoolApproval represents a Approval event raised by the DelegatorPool contract.

type DelegatorPoolApprovalIterator

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

DelegatorPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the DelegatorPool contract.

func (*DelegatorPoolApprovalIterator) Close

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

func (*DelegatorPoolApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolApprovalIterator) 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 DelegatorPoolCaller

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

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

func NewDelegatorPoolCaller

func NewDelegatorPoolCaller(address common.Address, caller bind.ContractCaller) (*DelegatorPoolCaller, error)

NewDelegatorPoolCaller creates a new read-only instance of DelegatorPool, bound to a specific deployed contract.

func (*DelegatorPoolCaller) Allowance

func (_DelegatorPool *DelegatorPoolCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*DelegatorPoolCaller) AllowanceToken

func (_DelegatorPool *DelegatorPoolCaller) AllowanceToken(opts *bind.CallOpts) (common.Address, error)

AllowanceToken is a free data retrieval call binding the contract method 0xd5d67d51.

Solidity: function allowanceToken() view returns(address)

func (*DelegatorPoolCaller) BalanceOf

func (_DelegatorPool *DelegatorPoolCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*DelegatorPoolCaller) CurrentRate

func (_DelegatorPool *DelegatorPoolCaller) CurrentRate(opts *bind.CallOpts, _token common.Address, _index uint16) (*big.Int, error)

CurrentRate is a free data retrieval call binding the contract method 0x04e4c864.

Solidity: function currentRate(address _token, uint16 _index) view returns(uint256)

func (*DelegatorPoolCaller) CurrentRateAt

func (_DelegatorPool *DelegatorPoolCaller) CurrentRateAt(opts *bind.CallOpts, _percentageBorrowed *big.Int) (*big.Int, error)

CurrentRateAt is a free data retrieval call binding the contract method 0x6b5f8321.

Solidity: function currentRateAt(uint256 _percentageBorrowed) view returns(uint256)

func (*DelegatorPoolCaller) Decimals

func (_DelegatorPool *DelegatorPoolCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DelegatorPoolCaller) FeeCurve

func (_DelegatorPool *DelegatorPoolCaller) FeeCurve(opts *bind.CallOpts) (common.Address, error)

FeeCurve is a free data retrieval call binding the contract method 0x856695ea.

Solidity: function feeCurve() view returns(address)

func (*DelegatorPoolCaller) GetVestingSchedule

func (_DelegatorPool *DelegatorPoolCaller) GetVestingSchedule(opts *bind.CallOpts, _account common.Address) (DelegatorPoolVestingSchedule, error)

GetVestingSchedule is a free data retrieval call binding the contract method 0x9f829063.

Solidity: function getVestingSchedule(address _account) view returns((uint256,uint64,uint64))

func (*DelegatorPoolCaller) IsTokenSupported

func (_DelegatorPool *DelegatorPoolCaller) IsTokenSupported(opts *bind.CallOpts, _token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*DelegatorPoolCaller) Name

func (_DelegatorPool *DelegatorPoolCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*DelegatorPoolCaller) Owner

func (_DelegatorPool *DelegatorPoolCaller) 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 (*DelegatorPoolCaller) PoolRouter

func (_DelegatorPool *DelegatorPoolCaller) PoolRouter(opts *bind.CallOpts) (common.Address, error)

PoolRouter is a free data retrieval call binding the contract method 0x5452b9ba.

Solidity: function poolRouter() view returns(address)

func (*DelegatorPoolCaller) RedirectApprovals

func (_DelegatorPool *DelegatorPoolCaller) RedirectApprovals(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RedirectApprovals is a free data retrieval call binding the contract method 0x611fae02.

Solidity: function redirectApprovals(address ) view returns(address)

func (*DelegatorPoolCaller) RedirectedStakes

func (_DelegatorPool *DelegatorPoolCaller) RedirectedStakes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RedirectedStakes is a free data retrieval call binding the contract method 0x628a0f55.

Solidity: function redirectedStakes(address ) view returns(uint256)

func (*DelegatorPoolCaller) RewardRedirects

func (_DelegatorPool *DelegatorPoolCaller) RewardRedirects(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RewardRedirects is a free data retrieval call binding the contract method 0x5b45fac4.

Solidity: function rewardRedirects(address ) view returns(address)

func (*DelegatorPoolCaller) RewardsAddress

func (_DelegatorPool *DelegatorPoolCaller) RewardsAddress(opts *bind.CallOpts, _account common.Address) (common.Address, error)

RewardsAddress is a free data retrieval call binding the contract method 0x952db31f.

Solidity: function rewardsAddress(address _account) view returns(address)

func (*DelegatorPoolCaller) Staked

func (_DelegatorPool *DelegatorPoolCaller) Staked(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*DelegatorPoolCaller) SupportedTokens

func (_DelegatorPool *DelegatorPoolCaller) SupportedTokens(opts *bind.CallOpts) ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*DelegatorPoolCaller) Symbol

func (_DelegatorPool *DelegatorPoolCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*DelegatorPoolCaller) TokenBalances

func (_DelegatorPool *DelegatorPoolCaller) TokenBalances(opts *bind.CallOpts) ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*DelegatorPoolCaller) TokenPools

func (_DelegatorPool *DelegatorPoolCaller) TokenPools(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*DelegatorPoolCaller) TotalStaked

func (_DelegatorPool *DelegatorPoolCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*DelegatorPoolCaller) TotalSupply

func (_DelegatorPool *DelegatorPoolCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*DelegatorPoolCaller) WithdrawableRewards

func (_DelegatorPool *DelegatorPoolCaller) WithdrawableRewards(opts *bind.CallOpts, _account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type DelegatorPoolCallerRaw

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

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

func (*DelegatorPoolCallerRaw) Call

func (_DelegatorPool *DelegatorPoolCallerRaw) 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 DelegatorPoolCallerSession

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

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

func (*DelegatorPoolCallerSession) Allowance

func (_DelegatorPool *DelegatorPoolCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*DelegatorPoolCallerSession) AllowanceToken

func (_DelegatorPool *DelegatorPoolCallerSession) AllowanceToken() (common.Address, error)

AllowanceToken is a free data retrieval call binding the contract method 0xd5d67d51.

Solidity: function allowanceToken() view returns(address)

func (*DelegatorPoolCallerSession) BalanceOf

func (_DelegatorPool *DelegatorPoolCallerSession) BalanceOf(_account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*DelegatorPoolCallerSession) CurrentRate

func (_DelegatorPool *DelegatorPoolCallerSession) CurrentRate(_token common.Address, _index uint16) (*big.Int, error)

CurrentRate is a free data retrieval call binding the contract method 0x04e4c864.

Solidity: function currentRate(address _token, uint16 _index) view returns(uint256)

func (*DelegatorPoolCallerSession) CurrentRateAt

func (_DelegatorPool *DelegatorPoolCallerSession) CurrentRateAt(_percentageBorrowed *big.Int) (*big.Int, error)

CurrentRateAt is a free data retrieval call binding the contract method 0x6b5f8321.

Solidity: function currentRateAt(uint256 _percentageBorrowed) view returns(uint256)

func (*DelegatorPoolCallerSession) Decimals

func (_DelegatorPool *DelegatorPoolCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DelegatorPoolCallerSession) FeeCurve

func (_DelegatorPool *DelegatorPoolCallerSession) FeeCurve() (common.Address, error)

FeeCurve is a free data retrieval call binding the contract method 0x856695ea.

Solidity: function feeCurve() view returns(address)

func (*DelegatorPoolCallerSession) GetVestingSchedule

func (_DelegatorPool *DelegatorPoolCallerSession) GetVestingSchedule(_account common.Address) (DelegatorPoolVestingSchedule, error)

GetVestingSchedule is a free data retrieval call binding the contract method 0x9f829063.

Solidity: function getVestingSchedule(address _account) view returns((uint256,uint64,uint64))

func (*DelegatorPoolCallerSession) IsTokenSupported

func (_DelegatorPool *DelegatorPoolCallerSession) IsTokenSupported(_token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*DelegatorPoolCallerSession) Name

func (_DelegatorPool *DelegatorPoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*DelegatorPoolCallerSession) Owner

func (_DelegatorPool *DelegatorPoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DelegatorPoolCallerSession) PoolRouter

func (_DelegatorPool *DelegatorPoolCallerSession) PoolRouter() (common.Address, error)

PoolRouter is a free data retrieval call binding the contract method 0x5452b9ba.

Solidity: function poolRouter() view returns(address)

func (*DelegatorPoolCallerSession) RedirectApprovals

func (_DelegatorPool *DelegatorPoolCallerSession) RedirectApprovals(arg0 common.Address) (common.Address, error)

RedirectApprovals is a free data retrieval call binding the contract method 0x611fae02.

Solidity: function redirectApprovals(address ) view returns(address)

func (*DelegatorPoolCallerSession) RedirectedStakes

func (_DelegatorPool *DelegatorPoolCallerSession) RedirectedStakes(arg0 common.Address) (*big.Int, error)

RedirectedStakes is a free data retrieval call binding the contract method 0x628a0f55.

Solidity: function redirectedStakes(address ) view returns(uint256)

func (*DelegatorPoolCallerSession) RewardRedirects

func (_DelegatorPool *DelegatorPoolCallerSession) RewardRedirects(arg0 common.Address) (common.Address, error)

RewardRedirects is a free data retrieval call binding the contract method 0x5b45fac4.

Solidity: function rewardRedirects(address ) view returns(address)

func (*DelegatorPoolCallerSession) RewardsAddress

func (_DelegatorPool *DelegatorPoolCallerSession) RewardsAddress(_account common.Address) (common.Address, error)

RewardsAddress is a free data retrieval call binding the contract method 0x952db31f.

Solidity: function rewardsAddress(address _account) view returns(address)

func (*DelegatorPoolCallerSession) Staked

func (_DelegatorPool *DelegatorPoolCallerSession) Staked(_account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*DelegatorPoolCallerSession) SupportedTokens

func (_DelegatorPool *DelegatorPoolCallerSession) SupportedTokens() ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*DelegatorPoolCallerSession) Symbol

func (_DelegatorPool *DelegatorPoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*DelegatorPoolCallerSession) TokenBalances

func (_DelegatorPool *DelegatorPoolCallerSession) TokenBalances() ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*DelegatorPoolCallerSession) TokenPools

func (_DelegatorPool *DelegatorPoolCallerSession) TokenPools(arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*DelegatorPoolCallerSession) TotalStaked

func (_DelegatorPool *DelegatorPoolCallerSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*DelegatorPoolCallerSession) TotalSupply

func (_DelegatorPool *DelegatorPoolCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*DelegatorPoolCallerSession) WithdrawableRewards

func (_DelegatorPool *DelegatorPoolCallerSession) WithdrawableRewards(_account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type DelegatorPoolFilterer

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

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

func NewDelegatorPoolFilterer

func NewDelegatorPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*DelegatorPoolFilterer, error)

NewDelegatorPoolFilterer creates a new log filterer instance of DelegatorPool, bound to a specific deployed contract.

func (*DelegatorPoolFilterer) FilterAddToken

func (_DelegatorPool *DelegatorPoolFilterer) FilterAddToken(opts *bind.FilterOpts, token []common.Address) (*DelegatorPoolAddTokenIterator, error)

FilterAddToken is a free log retrieval operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) FilterAllowanceStaked

func (_DelegatorPool *DelegatorPoolFilterer) FilterAllowanceStaked(opts *bind.FilterOpts, user []common.Address) (*DelegatorPoolAllowanceStakedIterator, error)

FilterAllowanceStaked is a free log retrieval operation binding the contract event 0x60df8ac38837b0ae1b717d64eba4a631341a9365ed654aa2cb3ed7657d65acee.

Solidity: event AllowanceStaked(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) FilterAllowanceWithdrawn

func (_DelegatorPool *DelegatorPoolFilterer) FilterAllowanceWithdrawn(opts *bind.FilterOpts, user []common.Address) (*DelegatorPoolAllowanceWithdrawnIterator, error)

FilterAllowanceWithdrawn is a free log retrieval operation binding the contract event 0xcb4e4a5b4e544d9c587ec3ac0eead830ce8a4cccfe48b8dc331d447c481be897.

Solidity: event AllowanceWithdrawn(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) FilterApproval

func (_DelegatorPool *DelegatorPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DelegatorPoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*DelegatorPoolFilterer) FilterOwnershipTransferred

func (_DelegatorPool *DelegatorPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DelegatorPoolOwnershipTransferredIterator, error)

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

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

func (*DelegatorPoolFilterer) FilterRedirectApproval

func (_DelegatorPool *DelegatorPoolFilterer) FilterRedirectApproval(opts *bind.FilterOpts, approver []common.Address, to []common.Address) (*DelegatorPoolRedirectApprovalIterator, error)

FilterRedirectApproval is a free log retrieval operation binding the contract event 0xbc2ae327210da6d1f0946518a140d99a46f3a238ea185f565875ebfe507eb996.

Solidity: event RedirectApproval(address indexed approver, address indexed to)

func (*DelegatorPoolFilterer) FilterRedirectApprovalRevoked

func (_DelegatorPool *DelegatorPoolFilterer) FilterRedirectApprovalRevoked(opts *bind.FilterOpts, approver []common.Address, from []common.Address) (*DelegatorPoolRedirectApprovalRevokedIterator, error)

FilterRedirectApprovalRevoked is a free log retrieval operation binding the contract event 0x9dca899729a60a64e03e19b833c4ef7e1795b7d9ed899092fd59d5df5a8229e4.

Solidity: event RedirectApprovalRevoked(address indexed approver, address indexed from)

func (*DelegatorPoolFilterer) FilterRemoveToken

func (_DelegatorPool *DelegatorPoolFilterer) FilterRemoveToken(opts *bind.FilterOpts, token []common.Address) (*DelegatorPoolRemoveTokenIterator, error)

FilterRemoveToken is a free log retrieval operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) FilterRewardsRedirected

func (_DelegatorPool *DelegatorPoolFilterer) FilterRewardsRedirected(opts *bind.FilterOpts, from []common.Address, to []common.Address, by []common.Address) (*DelegatorPoolRewardsRedirectedIterator, error)

FilterRewardsRedirected is a free log retrieval operation binding the contract event 0x6a8c4b3eeb6ce85acfca51b03ce7b05fdefe1ff2b7c0a45e7002b08e0cea1eb6.

Solidity: event RewardsRedirected(address indexed from, address indexed to, address indexed by)

func (*DelegatorPoolFilterer) FilterTransfer

func (_DelegatorPool *DelegatorPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DelegatorPoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*DelegatorPoolFilterer) FilterWithdrawRewards

func (_DelegatorPool *DelegatorPoolFilterer) FilterWithdrawRewards(opts *bind.FilterOpts, account []common.Address) (*DelegatorPoolWithdrawRewardsIterator, error)

FilterWithdrawRewards is a free log retrieval operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

func (*DelegatorPoolFilterer) ParseAddToken

func (_DelegatorPool *DelegatorPoolFilterer) ParseAddToken(log types.Log) (*DelegatorPoolAddToken, error)

ParseAddToken is a log parse operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) ParseAllowanceStaked

func (_DelegatorPool *DelegatorPoolFilterer) ParseAllowanceStaked(log types.Log) (*DelegatorPoolAllowanceStaked, error)

ParseAllowanceStaked is a log parse operation binding the contract event 0x60df8ac38837b0ae1b717d64eba4a631341a9365ed654aa2cb3ed7657d65acee.

Solidity: event AllowanceStaked(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) ParseAllowanceWithdrawn

func (_DelegatorPool *DelegatorPoolFilterer) ParseAllowanceWithdrawn(log types.Log) (*DelegatorPoolAllowanceWithdrawn, error)

ParseAllowanceWithdrawn is a log parse operation binding the contract event 0xcb4e4a5b4e544d9c587ec3ac0eead830ce8a4cccfe48b8dc331d447c481be897.

Solidity: event AllowanceWithdrawn(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) ParseApproval

func (_DelegatorPool *DelegatorPoolFilterer) ParseApproval(log types.Log) (*DelegatorPoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*DelegatorPoolFilterer) ParseOwnershipTransferred

func (_DelegatorPool *DelegatorPoolFilterer) ParseOwnershipTransferred(log types.Log) (*DelegatorPoolOwnershipTransferred, error)

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

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

func (*DelegatorPoolFilterer) ParseRedirectApproval

func (_DelegatorPool *DelegatorPoolFilterer) ParseRedirectApproval(log types.Log) (*DelegatorPoolRedirectApproval, error)

ParseRedirectApproval is a log parse operation binding the contract event 0xbc2ae327210da6d1f0946518a140d99a46f3a238ea185f565875ebfe507eb996.

Solidity: event RedirectApproval(address indexed approver, address indexed to)

func (*DelegatorPoolFilterer) ParseRedirectApprovalRevoked

func (_DelegatorPool *DelegatorPoolFilterer) ParseRedirectApprovalRevoked(log types.Log) (*DelegatorPoolRedirectApprovalRevoked, error)

ParseRedirectApprovalRevoked is a log parse operation binding the contract event 0x9dca899729a60a64e03e19b833c4ef7e1795b7d9ed899092fd59d5df5a8229e4.

Solidity: event RedirectApprovalRevoked(address indexed approver, address indexed from)

func (*DelegatorPoolFilterer) ParseRemoveToken

func (_DelegatorPool *DelegatorPoolFilterer) ParseRemoveToken(log types.Log) (*DelegatorPoolRemoveToken, error)

ParseRemoveToken is a log parse operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) ParseRewardsRedirected

func (_DelegatorPool *DelegatorPoolFilterer) ParseRewardsRedirected(log types.Log) (*DelegatorPoolRewardsRedirected, error)

ParseRewardsRedirected is a log parse operation binding the contract event 0x6a8c4b3eeb6ce85acfca51b03ce7b05fdefe1ff2b7c0a45e7002b08e0cea1eb6.

Solidity: event RewardsRedirected(address indexed from, address indexed to, address indexed by)

func (*DelegatorPoolFilterer) ParseTransfer

func (_DelegatorPool *DelegatorPoolFilterer) ParseTransfer(log types.Log) (*DelegatorPoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*DelegatorPoolFilterer) ParseWithdrawRewards

func (_DelegatorPool *DelegatorPoolFilterer) ParseWithdrawRewards(log types.Log) (*DelegatorPoolWithdrawRewards, error)

ParseWithdrawRewards is a log parse operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

func (*DelegatorPoolFilterer) WatchAddToken

func (_DelegatorPool *DelegatorPoolFilterer) WatchAddToken(opts *bind.WatchOpts, sink chan<- *DelegatorPoolAddToken, token []common.Address) (event.Subscription, error)

WatchAddToken is a free log subscription operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) WatchAllowanceStaked

func (_DelegatorPool *DelegatorPoolFilterer) WatchAllowanceStaked(opts *bind.WatchOpts, sink chan<- *DelegatorPoolAllowanceStaked, user []common.Address) (event.Subscription, error)

WatchAllowanceStaked is a free log subscription operation binding the contract event 0x60df8ac38837b0ae1b717d64eba4a631341a9365ed654aa2cb3ed7657d65acee.

Solidity: event AllowanceStaked(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) WatchAllowanceWithdrawn

func (_DelegatorPool *DelegatorPoolFilterer) WatchAllowanceWithdrawn(opts *bind.WatchOpts, sink chan<- *DelegatorPoolAllowanceWithdrawn, user []common.Address) (event.Subscription, error)

WatchAllowanceWithdrawn is a free log subscription operation binding the contract event 0xcb4e4a5b4e544d9c587ec3ac0eead830ce8a4cccfe48b8dc331d447c481be897.

Solidity: event AllowanceWithdrawn(address indexed user, uint256 amount)

func (*DelegatorPoolFilterer) WatchApproval

func (_DelegatorPool *DelegatorPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DelegatorPoolApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*DelegatorPoolFilterer) WatchOwnershipTransferred

func (_DelegatorPool *DelegatorPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DelegatorPoolOwnershipTransferred, 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 (*DelegatorPoolFilterer) WatchRedirectApproval

func (_DelegatorPool *DelegatorPoolFilterer) WatchRedirectApproval(opts *bind.WatchOpts, sink chan<- *DelegatorPoolRedirectApproval, approver []common.Address, to []common.Address) (event.Subscription, error)

WatchRedirectApproval is a free log subscription operation binding the contract event 0xbc2ae327210da6d1f0946518a140d99a46f3a238ea185f565875ebfe507eb996.

Solidity: event RedirectApproval(address indexed approver, address indexed to)

func (*DelegatorPoolFilterer) WatchRedirectApprovalRevoked

func (_DelegatorPool *DelegatorPoolFilterer) WatchRedirectApprovalRevoked(opts *bind.WatchOpts, sink chan<- *DelegatorPoolRedirectApprovalRevoked, approver []common.Address, from []common.Address) (event.Subscription, error)

WatchRedirectApprovalRevoked is a free log subscription operation binding the contract event 0x9dca899729a60a64e03e19b833c4ef7e1795b7d9ed899092fd59d5df5a8229e4.

Solidity: event RedirectApprovalRevoked(address indexed approver, address indexed from)

func (*DelegatorPoolFilterer) WatchRemoveToken

func (_DelegatorPool *DelegatorPoolFilterer) WatchRemoveToken(opts *bind.WatchOpts, sink chan<- *DelegatorPoolRemoveToken, token []common.Address) (event.Subscription, error)

WatchRemoveToken is a free log subscription operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*DelegatorPoolFilterer) WatchRewardsRedirected

func (_DelegatorPool *DelegatorPoolFilterer) WatchRewardsRedirected(opts *bind.WatchOpts, sink chan<- *DelegatorPoolRewardsRedirected, from []common.Address, to []common.Address, by []common.Address) (event.Subscription, error)

WatchRewardsRedirected is a free log subscription operation binding the contract event 0x6a8c4b3eeb6ce85acfca51b03ce7b05fdefe1ff2b7c0a45e7002b08e0cea1eb6.

Solidity: event RewardsRedirected(address indexed from, address indexed to, address indexed by)

func (*DelegatorPoolFilterer) WatchTransfer

func (_DelegatorPool *DelegatorPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DelegatorPoolTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*DelegatorPoolFilterer) WatchWithdrawRewards

func (_DelegatorPool *DelegatorPoolFilterer) WatchWithdrawRewards(opts *bind.WatchOpts, sink chan<- *DelegatorPoolWithdrawRewards, account []common.Address) (event.Subscription, error)

WatchWithdrawRewards is a free log subscription operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

type DelegatorPoolOwnershipTransferred

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

DelegatorPoolOwnershipTransferred represents a OwnershipTransferred event raised by the DelegatorPool contract.

type DelegatorPoolOwnershipTransferredIterator

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

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

func (*DelegatorPoolOwnershipTransferredIterator) Close

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

func (*DelegatorPoolOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolOwnershipTransferredIterator) 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 DelegatorPoolRaw

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

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

func (*DelegatorPoolRaw) Call

func (_DelegatorPool *DelegatorPoolRaw) 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 (*DelegatorPoolRaw) Transact

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

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

func (*DelegatorPoolRaw) Transfer

func (_DelegatorPool *DelegatorPoolRaw) 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 DelegatorPoolRedirectApproval

type DelegatorPoolRedirectApproval struct {
	Approver common.Address
	To       common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

DelegatorPoolRedirectApproval represents a RedirectApproval event raised by the DelegatorPool contract.

type DelegatorPoolRedirectApprovalIterator

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

DelegatorPoolRedirectApprovalIterator is returned from FilterRedirectApproval and is used to iterate over the raw logs and unpacked data for RedirectApproval events raised by the DelegatorPool contract.

func (*DelegatorPoolRedirectApprovalIterator) Close

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

func (*DelegatorPoolRedirectApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolRedirectApprovalIterator) 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 DelegatorPoolRedirectApprovalRevoked

type DelegatorPoolRedirectApprovalRevoked struct {
	Approver common.Address
	From     common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

DelegatorPoolRedirectApprovalRevoked represents a RedirectApprovalRevoked event raised by the DelegatorPool contract.

type DelegatorPoolRedirectApprovalRevokedIterator

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

DelegatorPoolRedirectApprovalRevokedIterator is returned from FilterRedirectApprovalRevoked and is used to iterate over the raw logs and unpacked data for RedirectApprovalRevoked events raised by the DelegatorPool contract.

func (*DelegatorPoolRedirectApprovalRevokedIterator) Close

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

func (*DelegatorPoolRedirectApprovalRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolRedirectApprovalRevokedIterator) 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 DelegatorPoolRemoveToken

type DelegatorPoolRemoveToken struct {
	Token       common.Address
	RewardsPool common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

DelegatorPoolRemoveToken represents a RemoveToken event raised by the DelegatorPool contract.

type DelegatorPoolRemoveTokenIterator

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

DelegatorPoolRemoveTokenIterator is returned from FilterRemoveToken and is used to iterate over the raw logs and unpacked data for RemoveToken events raised by the DelegatorPool contract.

func (*DelegatorPoolRemoveTokenIterator) Close

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

func (*DelegatorPoolRemoveTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolRemoveTokenIterator) 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 DelegatorPoolRewardsRedirected

type DelegatorPoolRewardsRedirected struct {
	From common.Address
	To   common.Address
	By   common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

DelegatorPoolRewardsRedirected represents a RewardsRedirected event raised by the DelegatorPool contract.

type DelegatorPoolRewardsRedirectedIterator

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

DelegatorPoolRewardsRedirectedIterator is returned from FilterRewardsRedirected and is used to iterate over the raw logs and unpacked data for RewardsRedirected events raised by the DelegatorPool contract.

func (*DelegatorPoolRewardsRedirectedIterator) Close

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

func (*DelegatorPoolRewardsRedirectedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolRewardsRedirectedIterator) 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 DelegatorPoolSession

type DelegatorPoolSession struct {
	Contract     *DelegatorPool    // 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
}

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

func (*DelegatorPoolSession) AddToken

func (_DelegatorPool *DelegatorPoolSession) AddToken(_token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*DelegatorPoolSession) Allowance

func (_DelegatorPool *DelegatorPoolSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*DelegatorPoolSession) AllowanceToken

func (_DelegatorPool *DelegatorPoolSession) AllowanceToken() (common.Address, error)

AllowanceToken is a free data retrieval call binding the contract method 0xd5d67d51.

Solidity: function allowanceToken() view returns(address)

func (*DelegatorPoolSession) Approve

func (_DelegatorPool *DelegatorPoolSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*DelegatorPoolSession) ApproveRedirect

func (_DelegatorPool *DelegatorPoolSession) ApproveRedirect(_to common.Address) (*types.Transaction, error)

ApproveRedirect is a paid mutator transaction binding the contract method 0x5b0c9391.

Solidity: function approveRedirect(address _to) returns()

func (*DelegatorPoolSession) BalanceOf

func (_DelegatorPool *DelegatorPoolSession) BalanceOf(_account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*DelegatorPoolSession) CurrentRate

func (_DelegatorPool *DelegatorPoolSession) CurrentRate(_token common.Address, _index uint16) (*big.Int, error)

CurrentRate is a free data retrieval call binding the contract method 0x04e4c864.

Solidity: function currentRate(address _token, uint16 _index) view returns(uint256)

func (*DelegatorPoolSession) CurrentRateAt

func (_DelegatorPool *DelegatorPoolSession) CurrentRateAt(_percentageBorrowed *big.Int) (*big.Int, error)

CurrentRateAt is a free data retrieval call binding the contract method 0x6b5f8321.

Solidity: function currentRateAt(uint256 _percentageBorrowed) view returns(uint256)

func (*DelegatorPoolSession) Decimals

func (_DelegatorPool *DelegatorPoolSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*DelegatorPoolSession) DecreaseAllowance

func (_DelegatorPool *DelegatorPoolSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*DelegatorPoolSession) DistributeToken

func (_DelegatorPool *DelegatorPoolSession) DistributeToken(_token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*DelegatorPoolSession) DistributeTokens

func (_DelegatorPool *DelegatorPoolSession) DistributeTokens(_tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*DelegatorPoolSession) FeeCurve

func (_DelegatorPool *DelegatorPoolSession) FeeCurve() (common.Address, error)

FeeCurve is a free data retrieval call binding the contract method 0x856695ea.

Solidity: function feeCurve() view returns(address)

func (*DelegatorPoolSession) GetVestingSchedule

func (_DelegatorPool *DelegatorPoolSession) GetVestingSchedule(_account common.Address) (DelegatorPoolVestingSchedule, error)

GetVestingSchedule is a free data retrieval call binding the contract method 0x9f829063.

Solidity: function getVestingSchedule(address _account) view returns((uint256,uint64,uint64))

func (*DelegatorPoolSession) IncreaseAllowance

func (_DelegatorPool *DelegatorPoolSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*DelegatorPoolSession) IsTokenSupported

func (_DelegatorPool *DelegatorPoolSession) IsTokenSupported(_token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*DelegatorPoolSession) Name

func (_DelegatorPool *DelegatorPoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*DelegatorPoolSession) OnTokenTransfer

func (_DelegatorPool *DelegatorPoolSession) OnTokenTransfer(_sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*DelegatorPoolSession) Owner

func (_DelegatorPool *DelegatorPoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DelegatorPoolSession) PoolRouter

func (_DelegatorPool *DelegatorPoolSession) PoolRouter() (common.Address, error)

PoolRouter is a free data retrieval call binding the contract method 0x5452b9ba.

Solidity: function poolRouter() view returns(address)

func (*DelegatorPoolSession) RedirectApprovals

func (_DelegatorPool *DelegatorPoolSession) RedirectApprovals(arg0 common.Address) (common.Address, error)

RedirectApprovals is a free data retrieval call binding the contract method 0x611fae02.

Solidity: function redirectApprovals(address ) view returns(address)

func (*DelegatorPoolSession) RedirectRewards

func (_DelegatorPool *DelegatorPoolSession) RedirectRewards(_to common.Address) (*types.Transaction, error)

RedirectRewards is a paid mutator transaction binding the contract method 0xc53b585e.

Solidity: function redirectRewards(address _to) returns()

func (*DelegatorPoolSession) RedirectRewardsFrom

func (_DelegatorPool *DelegatorPoolSession) RedirectRewardsFrom(_from common.Address, _to common.Address) (*types.Transaction, error)

RedirectRewardsFrom is a paid mutator transaction binding the contract method 0xef735f07.

Solidity: function redirectRewardsFrom(address _from, address _to) returns()

func (*DelegatorPoolSession) RedirectedStakes

func (_DelegatorPool *DelegatorPoolSession) RedirectedStakes(arg0 common.Address) (*big.Int, error)

RedirectedStakes is a free data retrieval call binding the contract method 0x628a0f55.

Solidity: function redirectedStakes(address ) view returns(uint256)

func (*DelegatorPoolSession) RemoveToken

func (_DelegatorPool *DelegatorPoolSession) RemoveToken(_token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*DelegatorPoolSession) RenounceOwnership

func (_DelegatorPool *DelegatorPoolSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*DelegatorPoolSession) RevokeRedirectApproval

func (_DelegatorPool *DelegatorPoolSession) RevokeRedirectApproval() (*types.Transaction, error)

RevokeRedirectApproval is a paid mutator transaction binding the contract method 0xd387fd6c.

Solidity: function revokeRedirectApproval() returns()

func (*DelegatorPoolSession) RewardRedirects

func (_DelegatorPool *DelegatorPoolSession) RewardRedirects(arg0 common.Address) (common.Address, error)

RewardRedirects is a free data retrieval call binding the contract method 0x5b45fac4.

Solidity: function rewardRedirects(address ) view returns(address)

func (*DelegatorPoolSession) RewardsAddress

func (_DelegatorPool *DelegatorPoolSession) RewardsAddress(_account common.Address) (common.Address, error)

RewardsAddress is a free data retrieval call binding the contract method 0x952db31f.

Solidity: function rewardsAddress(address _account) view returns(address)

func (*DelegatorPoolSession) SetFeeCurve

func (_DelegatorPool *DelegatorPoolSession) SetFeeCurve(_feeCurve common.Address) (*types.Transaction, error)

SetFeeCurve is a paid mutator transaction binding the contract method 0xc5164881.

Solidity: function setFeeCurve(address _feeCurve) returns()

func (*DelegatorPoolSession) SetPoolRouter

func (_DelegatorPool *DelegatorPoolSession) SetPoolRouter(_poolRouter common.Address) (*types.Transaction, error)

SetPoolRouter is a paid mutator transaction binding the contract method 0x0c8d9cc7.

Solidity: function setPoolRouter(address _poolRouter) returns()

func (*DelegatorPoolSession) Staked

func (_DelegatorPool *DelegatorPoolSession) Staked(_account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*DelegatorPoolSession) SupportedTokens

func (_DelegatorPool *DelegatorPoolSession) SupportedTokens() ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*DelegatorPoolSession) Symbol

func (_DelegatorPool *DelegatorPoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*DelegatorPoolSession) TokenBalances

func (_DelegatorPool *DelegatorPoolSession) TokenBalances() ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*DelegatorPoolSession) TokenPools

func (_DelegatorPool *DelegatorPoolSession) TokenPools(arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*DelegatorPoolSession) TotalStaked

func (_DelegatorPool *DelegatorPoolSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*DelegatorPoolSession) TotalSupply

func (_DelegatorPool *DelegatorPoolSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*DelegatorPoolSession) Transfer

func (_DelegatorPool *DelegatorPoolSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*DelegatorPoolSession) TransferAndCall

func (_DelegatorPool *DelegatorPoolSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool)

func (*DelegatorPoolSession) TransferFrom

func (_DelegatorPool *DelegatorPoolSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*DelegatorPoolSession) TransferOwnership

func (_DelegatorPool *DelegatorPoolSession) 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 (*DelegatorPoolSession) WithdrawAllowance

func (_DelegatorPool *DelegatorPoolSession) WithdrawAllowance(_amount *big.Int) (*types.Transaction, error)

WithdrawAllowance is a paid mutator transaction binding the contract method 0xba650f79.

Solidity: function withdrawAllowance(uint256 _amount) returns()

func (*DelegatorPoolSession) WithdrawRewards

func (_DelegatorPool *DelegatorPoolSession) WithdrawRewards(_tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

func (*DelegatorPoolSession) WithdrawableRewards

func (_DelegatorPool *DelegatorPoolSession) WithdrawableRewards(_account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type DelegatorPoolTransactor

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

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

func NewDelegatorPoolTransactor

func NewDelegatorPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*DelegatorPoolTransactor, error)

NewDelegatorPoolTransactor creates a new write-only instance of DelegatorPool, bound to a specific deployed contract.

func (*DelegatorPoolTransactor) AddToken

func (_DelegatorPool *DelegatorPoolTransactor) AddToken(opts *bind.TransactOpts, _token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*DelegatorPoolTransactor) Approve

func (_DelegatorPool *DelegatorPoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*DelegatorPoolTransactor) ApproveRedirect

func (_DelegatorPool *DelegatorPoolTransactor) ApproveRedirect(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

ApproveRedirect is a paid mutator transaction binding the contract method 0x5b0c9391.

Solidity: function approveRedirect(address _to) returns()

func (*DelegatorPoolTransactor) DecreaseAllowance

func (_DelegatorPool *DelegatorPoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*DelegatorPoolTransactor) DistributeToken

func (_DelegatorPool *DelegatorPoolTransactor) DistributeToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*DelegatorPoolTransactor) DistributeTokens

func (_DelegatorPool *DelegatorPoolTransactor) DistributeTokens(opts *bind.TransactOpts, _tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*DelegatorPoolTransactor) IncreaseAllowance

func (_DelegatorPool *DelegatorPoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*DelegatorPoolTransactor) OnTokenTransfer

func (_DelegatorPool *DelegatorPoolTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*DelegatorPoolTransactor) RedirectRewards

func (_DelegatorPool *DelegatorPoolTransactor) RedirectRewards(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

RedirectRewards is a paid mutator transaction binding the contract method 0xc53b585e.

Solidity: function redirectRewards(address _to) returns()

func (*DelegatorPoolTransactor) RedirectRewardsFrom

func (_DelegatorPool *DelegatorPoolTransactor) RedirectRewardsFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address) (*types.Transaction, error)

RedirectRewardsFrom is a paid mutator transaction binding the contract method 0xef735f07.

Solidity: function redirectRewardsFrom(address _from, address _to) returns()

func (*DelegatorPoolTransactor) RemoveToken

func (_DelegatorPool *DelegatorPoolTransactor) RemoveToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*DelegatorPoolTransactor) RenounceOwnership

func (_DelegatorPool *DelegatorPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*DelegatorPoolTransactor) RevokeRedirectApproval

func (_DelegatorPool *DelegatorPoolTransactor) RevokeRedirectApproval(opts *bind.TransactOpts) (*types.Transaction, error)

RevokeRedirectApproval is a paid mutator transaction binding the contract method 0xd387fd6c.

Solidity: function revokeRedirectApproval() returns()

func (*DelegatorPoolTransactor) SetFeeCurve

func (_DelegatorPool *DelegatorPoolTransactor) SetFeeCurve(opts *bind.TransactOpts, _feeCurve common.Address) (*types.Transaction, error)

SetFeeCurve is a paid mutator transaction binding the contract method 0xc5164881.

Solidity: function setFeeCurve(address _feeCurve) returns()

func (*DelegatorPoolTransactor) SetPoolRouter

func (_DelegatorPool *DelegatorPoolTransactor) SetPoolRouter(opts *bind.TransactOpts, _poolRouter common.Address) (*types.Transaction, error)

SetPoolRouter is a paid mutator transaction binding the contract method 0x0c8d9cc7.

Solidity: function setPoolRouter(address _poolRouter) returns()

func (*DelegatorPoolTransactor) Transfer

func (_DelegatorPool *DelegatorPoolTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*DelegatorPoolTransactor) TransferAndCall

func (_DelegatorPool *DelegatorPoolTransactor) TransferAndCall(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool)

func (*DelegatorPoolTransactor) TransferFrom

func (_DelegatorPool *DelegatorPoolTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*DelegatorPoolTransactor) TransferOwnership

func (_DelegatorPool *DelegatorPoolTransactor) 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 (*DelegatorPoolTransactor) WithdrawAllowance

func (_DelegatorPool *DelegatorPoolTransactor) WithdrawAllowance(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawAllowance is a paid mutator transaction binding the contract method 0xba650f79.

Solidity: function withdrawAllowance(uint256 _amount) returns()

func (*DelegatorPoolTransactor) WithdrawRewards

func (_DelegatorPool *DelegatorPoolTransactor) WithdrawRewards(opts *bind.TransactOpts, _tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

type DelegatorPoolTransactorRaw

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

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

func (*DelegatorPoolTransactorRaw) Transact

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

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

func (*DelegatorPoolTransactorRaw) Transfer

func (_DelegatorPool *DelegatorPoolTransactorRaw) 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 DelegatorPoolTransactorSession

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

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

func (*DelegatorPoolTransactorSession) AddToken

func (_DelegatorPool *DelegatorPoolTransactorSession) AddToken(_token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*DelegatorPoolTransactorSession) Approve

func (_DelegatorPool *DelegatorPoolTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*DelegatorPoolTransactorSession) ApproveRedirect

func (_DelegatorPool *DelegatorPoolTransactorSession) ApproveRedirect(_to common.Address) (*types.Transaction, error)

ApproveRedirect is a paid mutator transaction binding the contract method 0x5b0c9391.

Solidity: function approveRedirect(address _to) returns()

func (*DelegatorPoolTransactorSession) DecreaseAllowance

func (_DelegatorPool *DelegatorPoolTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*DelegatorPoolTransactorSession) DistributeToken

func (_DelegatorPool *DelegatorPoolTransactorSession) DistributeToken(_token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*DelegatorPoolTransactorSession) DistributeTokens

func (_DelegatorPool *DelegatorPoolTransactorSession) DistributeTokens(_tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*DelegatorPoolTransactorSession) IncreaseAllowance

func (_DelegatorPool *DelegatorPoolTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*DelegatorPoolTransactorSession) OnTokenTransfer

func (_DelegatorPool *DelegatorPoolTransactorSession) OnTokenTransfer(_sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*DelegatorPoolTransactorSession) RedirectRewards

func (_DelegatorPool *DelegatorPoolTransactorSession) RedirectRewards(_to common.Address) (*types.Transaction, error)

RedirectRewards is a paid mutator transaction binding the contract method 0xc53b585e.

Solidity: function redirectRewards(address _to) returns()

func (*DelegatorPoolTransactorSession) RedirectRewardsFrom

func (_DelegatorPool *DelegatorPoolTransactorSession) RedirectRewardsFrom(_from common.Address, _to common.Address) (*types.Transaction, error)

RedirectRewardsFrom is a paid mutator transaction binding the contract method 0xef735f07.

Solidity: function redirectRewardsFrom(address _from, address _to) returns()

func (*DelegatorPoolTransactorSession) RemoveToken

func (_DelegatorPool *DelegatorPoolTransactorSession) RemoveToken(_token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*DelegatorPoolTransactorSession) RenounceOwnership

func (_DelegatorPool *DelegatorPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*DelegatorPoolTransactorSession) RevokeRedirectApproval

func (_DelegatorPool *DelegatorPoolTransactorSession) RevokeRedirectApproval() (*types.Transaction, error)

RevokeRedirectApproval is a paid mutator transaction binding the contract method 0xd387fd6c.

Solidity: function revokeRedirectApproval() returns()

func (*DelegatorPoolTransactorSession) SetFeeCurve

func (_DelegatorPool *DelegatorPoolTransactorSession) SetFeeCurve(_feeCurve common.Address) (*types.Transaction, error)

SetFeeCurve is a paid mutator transaction binding the contract method 0xc5164881.

Solidity: function setFeeCurve(address _feeCurve) returns()

func (*DelegatorPoolTransactorSession) SetPoolRouter

func (_DelegatorPool *DelegatorPoolTransactorSession) SetPoolRouter(_poolRouter common.Address) (*types.Transaction, error)

SetPoolRouter is a paid mutator transaction binding the contract method 0x0c8d9cc7.

Solidity: function setPoolRouter(address _poolRouter) returns()

func (*DelegatorPoolTransactorSession) Transfer

func (_DelegatorPool *DelegatorPoolTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*DelegatorPoolTransactorSession) TransferAndCall

func (_DelegatorPool *DelegatorPoolTransactorSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)

TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.

Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool)

func (*DelegatorPoolTransactorSession) TransferFrom

func (_DelegatorPool *DelegatorPoolTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*DelegatorPoolTransactorSession) TransferOwnership

func (_DelegatorPool *DelegatorPoolTransactorSession) 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 (*DelegatorPoolTransactorSession) WithdrawAllowance

func (_DelegatorPool *DelegatorPoolTransactorSession) WithdrawAllowance(_amount *big.Int) (*types.Transaction, error)

WithdrawAllowance is a paid mutator transaction binding the contract method 0xba650f79.

Solidity: function withdrawAllowance(uint256 _amount) returns()

func (*DelegatorPoolTransactorSession) WithdrawRewards

func (_DelegatorPool *DelegatorPoolTransactorSession) WithdrawRewards(_tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

type DelegatorPoolTransfer

type DelegatorPoolTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

DelegatorPoolTransfer represents a Transfer event raised by the DelegatorPool contract.

type DelegatorPoolTransferIterator

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

DelegatorPoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the DelegatorPool contract.

func (*DelegatorPoolTransferIterator) Close

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

func (*DelegatorPoolTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolTransferIterator) 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 DelegatorPoolVestingSchedule

type DelegatorPoolVestingSchedule struct {
	TotalAmount     *big.Int
	StartTimestamp  uint64
	DurationSeconds uint64
}

DelegatorPoolVestingSchedule is an auto generated low-level Go binding around an user-defined struct.

type DelegatorPoolWithdrawRewards

type DelegatorPoolWithdrawRewards struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DelegatorPoolWithdrawRewards represents a WithdrawRewards event raised by the DelegatorPool contract.

type DelegatorPoolWithdrawRewardsIterator

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

DelegatorPoolWithdrawRewardsIterator is returned from FilterWithdrawRewards and is used to iterate over the raw logs and unpacked data for WithdrawRewards events raised by the DelegatorPool contract.

func (*DelegatorPoolWithdrawRewardsIterator) Close

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

func (*DelegatorPoolWithdrawRewardsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegatorPoolWithdrawRewardsIterator) 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 ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

type ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Session) Fallback

func (_ERC20 *ERC20Session) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20Transactor) Fallback

func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TransactorSession) Fallback

func (_ERC20 *ERC20TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20Transfer

type ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SDLPoolLock

type SDLPoolLock struct {
	Amount      *big.Int
	BoostAmount *big.Int
	StartTime   uint64
	Duration    uint64
	Expiry      uint64
}

SDLPoolLock is an auto generated low-level Go binding around an user-defined struct.

type SdlPool

type SdlPool struct {
	SdlPoolCaller     // Read-only binding to the contract
	SdlPoolTransactor // Write-only binding to the contract
	SdlPoolFilterer   // Log filterer for contract events
}

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

func NewSdlPool

func NewSdlPool(address common.Address, backend bind.ContractBackend) (*SdlPool, error)

NewSdlPool creates a new instance of SdlPool, bound to a specific deployed contract.

type SdlPoolAddToken

type SdlPoolAddToken struct {
	Token       common.Address
	RewardsPool common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

SdlPoolAddToken represents a AddToken event raised by the SdlPool contract.

type SdlPoolAddTokenIterator

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

SdlPoolAddTokenIterator is returned from FilterAddToken and is used to iterate over the raw logs and unpacked data for AddToken events raised by the SdlPool contract.

func (*SdlPoolAddTokenIterator) Close

func (it *SdlPoolAddTokenIterator) Close() error

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

func (*SdlPoolAddTokenIterator) Error

func (it *SdlPoolAddTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolAddTokenIterator) Next

func (it *SdlPoolAddTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolAdminChanged

type SdlPoolAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SdlPoolAdminChanged represents a AdminChanged event raised by the SdlPool contract.

type SdlPoolAdminChangedIterator

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

SdlPoolAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the SdlPool contract.

func (*SdlPoolAdminChangedIterator) Close

func (it *SdlPoolAdminChangedIterator) Close() error

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

func (*SdlPoolAdminChangedIterator) Error

func (it *SdlPoolAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolAdminChangedIterator) Next

func (it *SdlPoolAdminChangedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolApproval

type SdlPoolApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SdlPoolApproval represents a Approval event raised by the SdlPool contract.

type SdlPoolApprovalForAll

type SdlPoolApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

SdlPoolApprovalForAll represents a ApprovalForAll event raised by the SdlPool contract.

type SdlPoolApprovalForAllIterator

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

SdlPoolApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the SdlPool contract.

func (*SdlPoolApprovalForAllIterator) Close

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

func (*SdlPoolApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolApprovalForAllIterator) 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 SdlPoolApprovalIterator

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

SdlPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SdlPool contract.

func (*SdlPoolApprovalIterator) Close

func (it *SdlPoolApprovalIterator) Close() error

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

func (*SdlPoolApprovalIterator) Error

func (it *SdlPoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolApprovalIterator) Next

func (it *SdlPoolApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolBeaconUpgraded

type SdlPoolBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

SdlPoolBeaconUpgraded represents a BeaconUpgraded event raised by the SdlPool contract.

type SdlPoolBeaconUpgradedIterator

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

SdlPoolBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the SdlPool contract.

func (*SdlPoolBeaconUpgradedIterator) Close

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

func (*SdlPoolBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolBeaconUpgradedIterator) 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 SdlPoolCaller

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

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

func NewSdlPoolCaller

func NewSdlPoolCaller(address common.Address, caller bind.ContractCaller) (*SdlPoolCaller, error)

NewSdlPoolCaller creates a new read-only instance of SdlPool, bound to a specific deployed contract.

func (*SdlPoolCaller) BalanceOf

func (_SdlPool *SdlPoolCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*SdlPoolCaller) BoostController

func (_SdlPool *SdlPoolCaller) BoostController(opts *bind.CallOpts) (common.Address, error)

BoostController is a free data retrieval call binding the contract method 0x7c898895.

Solidity: function boostController() view returns(address)

func (*SdlPoolCaller) DelegatorPool

func (_SdlPool *SdlPoolCaller) DelegatorPool(opts *bind.CallOpts) (common.Address, error)

DelegatorPool is a free data retrieval call binding the contract method 0x5deb761f.

Solidity: function delegatorPool() view returns(address)

func (*SdlPoolCaller) EffectiveBalanceOf

func (_SdlPool *SdlPoolCaller) EffectiveBalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

EffectiveBalanceOf is a free data retrieval call binding the contract method 0xc7a64723.

Solidity: function effectiveBalanceOf(address _account) view returns(uint256)

func (*SdlPoolCaller) GetApproved

func (_SdlPool *SdlPoolCaller) GetApproved(opts *bind.CallOpts, _lockId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 _lockId) view returns(address)

func (*SdlPoolCaller) GetLockIdsByOwner

func (_SdlPool *SdlPoolCaller) GetLockIdsByOwner(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)

GetLockIdsByOwner is a free data retrieval call binding the contract method 0xdd0228f5.

Solidity: function getLockIdsByOwner(address _owner) view returns(uint256[])

func (*SdlPoolCaller) GetLocks

func (_SdlPool *SdlPoolCaller) GetLocks(opts *bind.CallOpts, _lockIds []*big.Int) ([]SDLPoolLock, error)

GetLocks is a free data retrieval call binding the contract method 0x4a374d4d.

Solidity: function getLocks(uint256[] _lockIds) view returns((uint256,uint256,uint64,uint64,uint64)[])

func (*SdlPoolCaller) IsApprovedForAll

func (_SdlPool *SdlPoolCaller) IsApprovedForAll(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool)

func (*SdlPoolCaller) IsTokenSupported

func (_SdlPool *SdlPoolCaller) IsTokenSupported(opts *bind.CallOpts, _token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*SdlPoolCaller) LastLockId

func (_SdlPool *SdlPoolCaller) LastLockId(opts *bind.CallOpts) (*big.Int, error)

LastLockId is a free data retrieval call binding the contract method 0xd0cb39c6.

Solidity: function lastLockId() view returns(uint256)

func (*SdlPoolCaller) Name

func (_SdlPool *SdlPoolCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SdlPoolCaller) Owner

func (_SdlPool *SdlPoolCaller) 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 (*SdlPoolCaller) OwnerOf

func (_SdlPool *SdlPoolCaller) OwnerOf(opts *bind.CallOpts, _lockId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 _lockId) view returns(address)

func (*SdlPoolCaller) ProxiableUUID

func (_SdlPool *SdlPoolCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*SdlPoolCaller) SdlToken

func (_SdlPool *SdlPoolCaller) SdlToken(opts *bind.CallOpts) (common.Address, error)

SdlToken is a free data retrieval call binding the contract method 0x9b4140cc.

Solidity: function sdlToken() view returns(address)

func (*SdlPoolCaller) Staked

func (_SdlPool *SdlPoolCaller) Staked(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*SdlPoolCaller) SupportedTokens

func (_SdlPool *SdlPoolCaller) SupportedTokens(opts *bind.CallOpts) ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*SdlPoolCaller) SupportsInterface

func (_SdlPool *SdlPoolCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)

func (*SdlPoolCaller) Symbol

func (_SdlPool *SdlPoolCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SdlPoolCaller) TokenBalances

func (_SdlPool *SdlPoolCaller) TokenBalances(opts *bind.CallOpts) ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*SdlPoolCaller) TokenPools

func (_SdlPool *SdlPoolCaller) TokenPools(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*SdlPoolCaller) TokenURI

func (_SdlPool *SdlPoolCaller) TokenURI(opts *bind.CallOpts, arg0 *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 ) view returns(string)

func (*SdlPoolCaller) TotalEffectiveBalance

func (_SdlPool *SdlPoolCaller) TotalEffectiveBalance(opts *bind.CallOpts) (*big.Int, error)

TotalEffectiveBalance is a free data retrieval call binding the contract method 0x89676073.

Solidity: function totalEffectiveBalance() view returns(uint256)

func (*SdlPoolCaller) TotalStaked

func (_SdlPool *SdlPoolCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*SdlPoolCaller) WithdrawableRewards

func (_SdlPool *SdlPoolCaller) WithdrawableRewards(opts *bind.CallOpts, _account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type SdlPoolCallerRaw

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

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

func (*SdlPoolCallerRaw) Call

func (_SdlPool *SdlPoolCallerRaw) 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 SdlPoolCallerSession

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

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

func (*SdlPoolCallerSession) BalanceOf

func (_SdlPool *SdlPoolCallerSession) BalanceOf(_account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*SdlPoolCallerSession) BoostController

func (_SdlPool *SdlPoolCallerSession) BoostController() (common.Address, error)

BoostController is a free data retrieval call binding the contract method 0x7c898895.

Solidity: function boostController() view returns(address)

func (*SdlPoolCallerSession) DelegatorPool

func (_SdlPool *SdlPoolCallerSession) DelegatorPool() (common.Address, error)

DelegatorPool is a free data retrieval call binding the contract method 0x5deb761f.

Solidity: function delegatorPool() view returns(address)

func (*SdlPoolCallerSession) EffectiveBalanceOf

func (_SdlPool *SdlPoolCallerSession) EffectiveBalanceOf(_account common.Address) (*big.Int, error)

EffectiveBalanceOf is a free data retrieval call binding the contract method 0xc7a64723.

Solidity: function effectiveBalanceOf(address _account) view returns(uint256)

func (*SdlPoolCallerSession) GetApproved

func (_SdlPool *SdlPoolCallerSession) GetApproved(_lockId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 _lockId) view returns(address)

func (*SdlPoolCallerSession) GetLockIdsByOwner

func (_SdlPool *SdlPoolCallerSession) GetLockIdsByOwner(_owner common.Address) ([]*big.Int, error)

GetLockIdsByOwner is a free data retrieval call binding the contract method 0xdd0228f5.

Solidity: function getLockIdsByOwner(address _owner) view returns(uint256[])

func (*SdlPoolCallerSession) GetLocks

func (_SdlPool *SdlPoolCallerSession) GetLocks(_lockIds []*big.Int) ([]SDLPoolLock, error)

GetLocks is a free data retrieval call binding the contract method 0x4a374d4d.

Solidity: function getLocks(uint256[] _lockIds) view returns((uint256,uint256,uint64,uint64,uint64)[])

func (*SdlPoolCallerSession) IsApprovedForAll

func (_SdlPool *SdlPoolCallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool)

func (*SdlPoolCallerSession) IsTokenSupported

func (_SdlPool *SdlPoolCallerSession) IsTokenSupported(_token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*SdlPoolCallerSession) LastLockId

func (_SdlPool *SdlPoolCallerSession) LastLockId() (*big.Int, error)

LastLockId is a free data retrieval call binding the contract method 0xd0cb39c6.

Solidity: function lastLockId() view returns(uint256)

func (*SdlPoolCallerSession) Name

func (_SdlPool *SdlPoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SdlPoolCallerSession) Owner

func (_SdlPool *SdlPoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SdlPoolCallerSession) OwnerOf

func (_SdlPool *SdlPoolCallerSession) OwnerOf(_lockId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 _lockId) view returns(address)

func (*SdlPoolCallerSession) ProxiableUUID

func (_SdlPool *SdlPoolCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*SdlPoolCallerSession) SdlToken

func (_SdlPool *SdlPoolCallerSession) SdlToken() (common.Address, error)

SdlToken is a free data retrieval call binding the contract method 0x9b4140cc.

Solidity: function sdlToken() view returns(address)

func (*SdlPoolCallerSession) Staked

func (_SdlPool *SdlPoolCallerSession) Staked(_account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*SdlPoolCallerSession) SupportedTokens

func (_SdlPool *SdlPoolCallerSession) SupportedTokens() ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*SdlPoolCallerSession) SupportsInterface

func (_SdlPool *SdlPoolCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)

func (*SdlPoolCallerSession) Symbol

func (_SdlPool *SdlPoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SdlPoolCallerSession) TokenBalances

func (_SdlPool *SdlPoolCallerSession) TokenBalances() ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*SdlPoolCallerSession) TokenPools

func (_SdlPool *SdlPoolCallerSession) TokenPools(arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*SdlPoolCallerSession) TokenURI

func (_SdlPool *SdlPoolCallerSession) TokenURI(arg0 *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 ) view returns(string)

func (*SdlPoolCallerSession) TotalEffectiveBalance

func (_SdlPool *SdlPoolCallerSession) TotalEffectiveBalance() (*big.Int, error)

TotalEffectiveBalance is a free data retrieval call binding the contract method 0x89676073.

Solidity: function totalEffectiveBalance() view returns(uint256)

func (*SdlPoolCallerSession) TotalStaked

func (_SdlPool *SdlPoolCallerSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*SdlPoolCallerSession) WithdrawableRewards

func (_SdlPool *SdlPoolCallerSession) WithdrawableRewards(_account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type SdlPoolCreateLock

type SdlPoolCreateLock struct {
	Owner           common.Address
	LockId          *big.Int
	Amount          *big.Int
	BoostAmount     *big.Int
	LockingDuration uint64
	Raw             types.Log // Blockchain specific contextual infos
}

SdlPoolCreateLock represents a CreateLock event raised by the SdlPool contract.

type SdlPoolCreateLockIterator

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

SdlPoolCreateLockIterator is returned from FilterCreateLock and is used to iterate over the raw logs and unpacked data for CreateLock events raised by the SdlPool contract.

func (*SdlPoolCreateLockIterator) Close

func (it *SdlPoolCreateLockIterator) Close() error

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

func (*SdlPoolCreateLockIterator) Error

func (it *SdlPoolCreateLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolCreateLockIterator) Next

func (it *SdlPoolCreateLockIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolFilterer

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

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

func NewSdlPoolFilterer

func NewSdlPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*SdlPoolFilterer, error)

NewSdlPoolFilterer creates a new log filterer instance of SdlPool, bound to a specific deployed contract.

func (*SdlPoolFilterer) FilterAddToken

func (_SdlPool *SdlPoolFilterer) FilterAddToken(opts *bind.FilterOpts, token []common.Address) (*SdlPoolAddTokenIterator, error)

FilterAddToken is a free log retrieval operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) FilterAdminChanged

func (_SdlPool *SdlPoolFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*SdlPoolAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SdlPoolFilterer) FilterApproval

func (_SdlPool *SdlPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*SdlPoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*SdlPoolFilterer) FilterApprovalForAll

func (_SdlPool *SdlPoolFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*SdlPoolApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*SdlPoolFilterer) FilterBeaconUpgraded

func (_SdlPool *SdlPoolFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*SdlPoolBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SdlPoolFilterer) FilterCreateLock

func (_SdlPool *SdlPoolFilterer) FilterCreateLock(opts *bind.FilterOpts, owner []common.Address, lockId []*big.Int) (*SdlPoolCreateLockIterator, error)

FilterCreateLock is a free log retrieval operation binding the contract event 0x0bd0744e02d09668fbdaf7745e9ae454f27484fcf18308ebc65d8508f21d5912.

Solidity: event CreateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) FilterInitialized

func (_SdlPool *SdlPoolFilterer) FilterInitialized(opts *bind.FilterOpts) (*SdlPoolInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*SdlPoolFilterer) FilterInitiateUnlock

func (_SdlPool *SdlPoolFilterer) FilterInitiateUnlock(opts *bind.FilterOpts, owner []common.Address, lockId []*big.Int) (*SdlPoolInitiateUnlockIterator, error)

FilterInitiateUnlock is a free log retrieval operation binding the contract event 0x07728a9afd9c9ac8253019aedb66f63530f4fdeb57357c7eb64c601b528e6457.

Solidity: event InitiateUnlock(address indexed owner, uint256 indexed lockId, uint64 expiry)

func (*SdlPoolFilterer) FilterOwnershipTransferred

func (_SdlPool *SdlPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SdlPoolOwnershipTransferredIterator, error)

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

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

func (*SdlPoolFilterer) FilterRemoveToken

func (_SdlPool *SdlPoolFilterer) FilterRemoveToken(opts *bind.FilterOpts, token []common.Address) (*SdlPoolRemoveTokenIterator, error)

FilterRemoveToken is a free log retrieval operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) FilterTransfer

func (_SdlPool *SdlPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*SdlPoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*SdlPoolFilterer) FilterUpdateLock

func (_SdlPool *SdlPoolFilterer) FilterUpdateLock(opts *bind.FilterOpts, owner []common.Address, lockId []*big.Int) (*SdlPoolUpdateLockIterator, error)

FilterUpdateLock is a free log retrieval operation binding the contract event 0x8dbb057b85ca29d98e176658d7a7843f454205d9d623e5f2e7c93919334b0995.

Solidity: event UpdateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) FilterUpgraded

func (_SdlPool *SdlPoolFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*SdlPoolUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SdlPoolFilterer) FilterWithdraw

func (_SdlPool *SdlPoolFilterer) FilterWithdraw(opts *bind.FilterOpts, owner []common.Address, lockId []*big.Int) (*SdlPoolWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed owner, uint256 indexed lockId, uint256 amount)

func (*SdlPoolFilterer) FilterWithdrawRewards

func (_SdlPool *SdlPoolFilterer) FilterWithdrawRewards(opts *bind.FilterOpts, account []common.Address) (*SdlPoolWithdrawRewardsIterator, error)

FilterWithdrawRewards is a free log retrieval operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

func (*SdlPoolFilterer) ParseAddToken

func (_SdlPool *SdlPoolFilterer) ParseAddToken(log types.Log) (*SdlPoolAddToken, error)

ParseAddToken is a log parse operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) ParseAdminChanged

func (_SdlPool *SdlPoolFilterer) ParseAdminChanged(log types.Log) (*SdlPoolAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SdlPoolFilterer) ParseApproval

func (_SdlPool *SdlPoolFilterer) ParseApproval(log types.Log) (*SdlPoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*SdlPoolFilterer) ParseApprovalForAll

func (_SdlPool *SdlPoolFilterer) ParseApprovalForAll(log types.Log) (*SdlPoolApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*SdlPoolFilterer) ParseBeaconUpgraded

func (_SdlPool *SdlPoolFilterer) ParseBeaconUpgraded(log types.Log) (*SdlPoolBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SdlPoolFilterer) ParseCreateLock

func (_SdlPool *SdlPoolFilterer) ParseCreateLock(log types.Log) (*SdlPoolCreateLock, error)

ParseCreateLock is a log parse operation binding the contract event 0x0bd0744e02d09668fbdaf7745e9ae454f27484fcf18308ebc65d8508f21d5912.

Solidity: event CreateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) ParseInitialized

func (_SdlPool *SdlPoolFilterer) ParseInitialized(log types.Log) (*SdlPoolInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*SdlPoolFilterer) ParseInitiateUnlock

func (_SdlPool *SdlPoolFilterer) ParseInitiateUnlock(log types.Log) (*SdlPoolInitiateUnlock, error)

ParseInitiateUnlock is a log parse operation binding the contract event 0x07728a9afd9c9ac8253019aedb66f63530f4fdeb57357c7eb64c601b528e6457.

Solidity: event InitiateUnlock(address indexed owner, uint256 indexed lockId, uint64 expiry)

func (*SdlPoolFilterer) ParseOwnershipTransferred

func (_SdlPool *SdlPoolFilterer) ParseOwnershipTransferred(log types.Log) (*SdlPoolOwnershipTransferred, error)

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

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

func (*SdlPoolFilterer) ParseRemoveToken

func (_SdlPool *SdlPoolFilterer) ParseRemoveToken(log types.Log) (*SdlPoolRemoveToken, error)

ParseRemoveToken is a log parse operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) ParseTransfer

func (_SdlPool *SdlPoolFilterer) ParseTransfer(log types.Log) (*SdlPoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*SdlPoolFilterer) ParseUpdateLock

func (_SdlPool *SdlPoolFilterer) ParseUpdateLock(log types.Log) (*SdlPoolUpdateLock, error)

ParseUpdateLock is a log parse operation binding the contract event 0x8dbb057b85ca29d98e176658d7a7843f454205d9d623e5f2e7c93919334b0995.

Solidity: event UpdateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) ParseUpgraded

func (_SdlPool *SdlPoolFilterer) ParseUpgraded(log types.Log) (*SdlPoolUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SdlPoolFilterer) ParseWithdraw

func (_SdlPool *SdlPoolFilterer) ParseWithdraw(log types.Log) (*SdlPoolWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed owner, uint256 indexed lockId, uint256 amount)

func (*SdlPoolFilterer) ParseWithdrawRewards

func (_SdlPool *SdlPoolFilterer) ParseWithdrawRewards(log types.Log) (*SdlPoolWithdrawRewards, error)

ParseWithdrawRewards is a log parse operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

func (*SdlPoolFilterer) WatchAddToken

func (_SdlPool *SdlPoolFilterer) WatchAddToken(opts *bind.WatchOpts, sink chan<- *SdlPoolAddToken, token []common.Address) (event.Subscription, error)

WatchAddToken is a free log subscription operation binding the contract event 0xdbf34b45b47a653cf4940cccbec765f72d4d63de3237306905bfc0ee28832362.

Solidity: event AddToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) WatchAdminChanged

func (_SdlPool *SdlPoolFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SdlPoolAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SdlPoolFilterer) WatchApproval

func (_SdlPool *SdlPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SdlPoolApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*SdlPoolFilterer) WatchApprovalForAll

func (_SdlPool *SdlPoolFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SdlPoolApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*SdlPoolFilterer) WatchBeaconUpgraded

func (_SdlPool *SdlPoolFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *SdlPoolBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SdlPoolFilterer) WatchCreateLock

func (_SdlPool *SdlPoolFilterer) WatchCreateLock(opts *bind.WatchOpts, sink chan<- *SdlPoolCreateLock, owner []common.Address, lockId []*big.Int) (event.Subscription, error)

WatchCreateLock is a free log subscription operation binding the contract event 0x0bd0744e02d09668fbdaf7745e9ae454f27484fcf18308ebc65d8508f21d5912.

Solidity: event CreateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) WatchInitialized

func (_SdlPool *SdlPoolFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SdlPoolInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*SdlPoolFilterer) WatchInitiateUnlock

func (_SdlPool *SdlPoolFilterer) WatchInitiateUnlock(opts *bind.WatchOpts, sink chan<- *SdlPoolInitiateUnlock, owner []common.Address, lockId []*big.Int) (event.Subscription, error)

WatchInitiateUnlock is a free log subscription operation binding the contract event 0x07728a9afd9c9ac8253019aedb66f63530f4fdeb57357c7eb64c601b528e6457.

Solidity: event InitiateUnlock(address indexed owner, uint256 indexed lockId, uint64 expiry)

func (*SdlPoolFilterer) WatchOwnershipTransferred

func (_SdlPool *SdlPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SdlPoolOwnershipTransferred, 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 (*SdlPoolFilterer) WatchRemoveToken

func (_SdlPool *SdlPoolFilterer) WatchRemoveToken(opts *bind.WatchOpts, sink chan<- *SdlPoolRemoveToken, token []common.Address) (event.Subscription, error)

WatchRemoveToken is a free log subscription operation binding the contract event 0x39dcd754ec63af4b82c4c569ff1b6b4e55a8038e6545844747e54f2f2d4e8e50.

Solidity: event RemoveToken(address indexed token, address rewardsPool)

func (*SdlPoolFilterer) WatchTransfer

func (_SdlPool *SdlPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SdlPoolTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*SdlPoolFilterer) WatchUpdateLock

func (_SdlPool *SdlPoolFilterer) WatchUpdateLock(opts *bind.WatchOpts, sink chan<- *SdlPoolUpdateLock, owner []common.Address, lockId []*big.Int) (event.Subscription, error)

WatchUpdateLock is a free log subscription operation binding the contract event 0x8dbb057b85ca29d98e176658d7a7843f454205d9d623e5f2e7c93919334b0995.

Solidity: event UpdateLock(address indexed owner, uint256 indexed lockId, uint256 amount, uint256 boostAmount, uint64 lockingDuration)

func (*SdlPoolFilterer) WatchUpgraded

func (_SdlPool *SdlPoolFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SdlPoolUpgraded, 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 (*SdlPoolFilterer) WatchWithdraw

func (_SdlPool *SdlPoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SdlPoolWithdraw, owner []common.Address, lockId []*big.Int) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed owner, uint256 indexed lockId, uint256 amount)

func (*SdlPoolFilterer) WatchWithdrawRewards

func (_SdlPool *SdlPoolFilterer) WatchWithdrawRewards(opts *bind.WatchOpts, sink chan<- *SdlPoolWithdrawRewards, account []common.Address) (event.Subscription, error)

WatchWithdrawRewards is a free log subscription operation binding the contract event 0xeeab3fd62be4cb59cbdc42d5b0f676a3597ff387b9a85e62330cc17c2a3603db.

Solidity: event WithdrawRewards(address indexed account)

type SdlPoolInitialized

type SdlPoolInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

SdlPoolInitialized represents a Initialized event raised by the SdlPool contract.

type SdlPoolInitializedIterator

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

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

func (*SdlPoolInitializedIterator) Close

func (it *SdlPoolInitializedIterator) Close() error

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

func (*SdlPoolInitializedIterator) Error

func (it *SdlPoolInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolInitializedIterator) Next

func (it *SdlPoolInitializedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolInitiateUnlock

type SdlPoolInitiateUnlock struct {
	Owner  common.Address
	LockId *big.Int
	Expiry uint64
	Raw    types.Log // Blockchain specific contextual infos
}

SdlPoolInitiateUnlock represents a InitiateUnlock event raised by the SdlPool contract.

type SdlPoolInitiateUnlockIterator

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

SdlPoolInitiateUnlockIterator is returned from FilterInitiateUnlock and is used to iterate over the raw logs and unpacked data for InitiateUnlock events raised by the SdlPool contract.

func (*SdlPoolInitiateUnlockIterator) Close

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

func (*SdlPoolInitiateUnlockIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolInitiateUnlockIterator) 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 SdlPoolOwnershipTransferred

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

SdlPoolOwnershipTransferred represents a OwnershipTransferred event raised by the SdlPool contract.

type SdlPoolOwnershipTransferredIterator

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

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

func (*SdlPoolOwnershipTransferredIterator) Close

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

func (*SdlPoolOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolOwnershipTransferredIterator) 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 SdlPoolRaw

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

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

func (*SdlPoolRaw) Call

func (_SdlPool *SdlPoolRaw) 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 (*SdlPoolRaw) Transact

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

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

func (*SdlPoolRaw) Transfer

func (_SdlPool *SdlPoolRaw) 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 SdlPoolRemoveToken

type SdlPoolRemoveToken struct {
	Token       common.Address
	RewardsPool common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

SdlPoolRemoveToken represents a RemoveToken event raised by the SdlPool contract.

type SdlPoolRemoveTokenIterator

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

SdlPoolRemoveTokenIterator is returned from FilterRemoveToken and is used to iterate over the raw logs and unpacked data for RemoveToken events raised by the SdlPool contract.

func (*SdlPoolRemoveTokenIterator) Close

func (it *SdlPoolRemoveTokenIterator) Close() error

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

func (*SdlPoolRemoveTokenIterator) Error

func (it *SdlPoolRemoveTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolRemoveTokenIterator) Next

func (it *SdlPoolRemoveTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolSession

type SdlPoolSession struct {
	Contract     *SdlPool          // 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
}

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

func (*SdlPoolSession) AddToken

func (_SdlPool *SdlPoolSession) AddToken(_token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*SdlPoolSession) Approve

func (_SdlPool *SdlPoolSession) Approve(_to common.Address, _lockId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _to, uint256 _lockId) returns()

func (*SdlPoolSession) BalanceOf

func (_SdlPool *SdlPoolSession) BalanceOf(_account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _account) view returns(uint256)

func (*SdlPoolSession) BoostController

func (_SdlPool *SdlPoolSession) BoostController() (common.Address, error)

BoostController is a free data retrieval call binding the contract method 0x7c898895.

Solidity: function boostController() view returns(address)

func (*SdlPoolSession) DelegatorPool

func (_SdlPool *SdlPoolSession) DelegatorPool() (common.Address, error)

DelegatorPool is a free data retrieval call binding the contract method 0x5deb761f.

Solidity: function delegatorPool() view returns(address)

func (*SdlPoolSession) DistributeToken

func (_SdlPool *SdlPoolSession) DistributeToken(_token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*SdlPoolSession) DistributeTokens

func (_SdlPool *SdlPoolSession) DistributeTokens(_tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*SdlPoolSession) EffectiveBalanceOf

func (_SdlPool *SdlPoolSession) EffectiveBalanceOf(_account common.Address) (*big.Int, error)

EffectiveBalanceOf is a free data retrieval call binding the contract method 0xc7a64723.

Solidity: function effectiveBalanceOf(address _account) view returns(uint256)

func (*SdlPoolSession) ExtendLockDuration

func (_SdlPool *SdlPoolSession) ExtendLockDuration(_lockId *big.Int, _lockingDuration uint64) (*types.Transaction, error)

ExtendLockDuration is a paid mutator transaction binding the contract method 0xe231db76.

Solidity: function extendLockDuration(uint256 _lockId, uint64 _lockingDuration) returns()

func (*SdlPoolSession) GetApproved

func (_SdlPool *SdlPoolSession) GetApproved(_lockId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 _lockId) view returns(address)

func (*SdlPoolSession) GetLockIdsByOwner

func (_SdlPool *SdlPoolSession) GetLockIdsByOwner(_owner common.Address) ([]*big.Int, error)

GetLockIdsByOwner is a free data retrieval call binding the contract method 0xdd0228f5.

Solidity: function getLockIdsByOwner(address _owner) view returns(uint256[])

func (*SdlPoolSession) GetLocks

func (_SdlPool *SdlPoolSession) GetLocks(_lockIds []*big.Int) ([]SDLPoolLock, error)

GetLocks is a free data retrieval call binding the contract method 0x4a374d4d.

Solidity: function getLocks(uint256[] _lockIds) view returns((uint256,uint256,uint64,uint64,uint64)[])

func (*SdlPoolSession) Initialize

func (_SdlPool *SdlPoolSession) Initialize(_name string, _symbol string, _sdlToken common.Address, _boostController common.Address, _delegatorPool common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _sdlToken, address _boostController, address _delegatorPool) returns()

func (*SdlPoolSession) InitiateUnlock

func (_SdlPool *SdlPoolSession) InitiateUnlock(_lockId *big.Int) (*types.Transaction, error)

InitiateUnlock is a paid mutator transaction binding the contract method 0x2dc075e1.

Solidity: function initiateUnlock(uint256 _lockId) returns()

func (*SdlPoolSession) IsApprovedForAll

func (_SdlPool *SdlPoolSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address _owner, address _operator) view returns(bool)

func (*SdlPoolSession) IsTokenSupported

func (_SdlPool *SdlPoolSession) IsTokenSupported(_token common.Address) (bool, error)

IsTokenSupported is a free data retrieval call binding the contract method 0x75151b63.

Solidity: function isTokenSupported(address _token) view returns(bool)

func (*SdlPoolSession) LastLockId

func (_SdlPool *SdlPoolSession) LastLockId() (*big.Int, error)

LastLockId is a free data retrieval call binding the contract method 0xd0cb39c6.

Solidity: function lastLockId() view returns(uint256)

func (*SdlPoolSession) Migrate

func (_SdlPool *SdlPoolSession) Migrate(_sender common.Address, _amount *big.Int, _lockingDuration uint64) (*types.Transaction, error)

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

Solidity: function migrate(address _sender, uint256 _amount, uint64 _lockingDuration) returns()

func (*SdlPoolSession) Name

func (_SdlPool *SdlPoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SdlPoolSession) OnTokenTransfer

func (_SdlPool *SdlPoolSession) OnTokenTransfer(_sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*SdlPoolSession) Owner

func (_SdlPool *SdlPoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SdlPoolSession) OwnerOf

func (_SdlPool *SdlPoolSession) OwnerOf(_lockId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 _lockId) view returns(address)

func (*SdlPoolSession) ProxiableUUID

func (_SdlPool *SdlPoolSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*SdlPoolSession) RemoveToken

func (_SdlPool *SdlPoolSession) RemoveToken(_token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*SdlPoolSession) RenounceOwnership

func (_SdlPool *SdlPoolSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SdlPoolSession) RewardsPoolControllerInit

func (_SdlPool *SdlPoolSession) RewardsPoolControllerInit() (*types.Transaction, error)

RewardsPoolControllerInit is a paid mutator transaction binding the contract method 0x7c9097de.

Solidity: function __RewardsPoolController_init() returns()

func (*SdlPoolSession) SafeTransferFrom

func (_SdlPool *SdlPoolSession) SafeTransferFrom(_from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolSession) SafeTransferFrom0

func (_SdlPool *SdlPoolSession) SafeTransferFrom0(_from common.Address, _to common.Address, _lockId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId, bytes _data) returns()

func (*SdlPoolSession) SdlToken

func (_SdlPool *SdlPoolSession) SdlToken() (common.Address, error)

SdlToken is a free data retrieval call binding the contract method 0x9b4140cc.

Solidity: function sdlToken() view returns(address)

func (*SdlPoolSession) SetApprovalForAll

func (_SdlPool *SdlPoolSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address _operator, bool _approved) returns()

func (*SdlPoolSession) SetBoostController

func (_SdlPool *SdlPoolSession) SetBoostController(_boostController common.Address) (*types.Transaction, error)

SetBoostController is a paid mutator transaction binding the contract method 0x1b23009d.

Solidity: function setBoostController(address _boostController) returns()

func (*SdlPoolSession) Staked

func (_SdlPool *SdlPoolSession) Staked(_account common.Address) (*big.Int, error)

Staked is a free data retrieval call binding the contract method 0x98807d84.

Solidity: function staked(address _account) view returns(uint256)

func (*SdlPoolSession) SupportedTokens

func (_SdlPool *SdlPoolSession) SupportedTokens() ([]common.Address, error)

SupportedTokens is a free data retrieval call binding the contract method 0xb002249d.

Solidity: function supportedTokens() view returns(address[])

func (*SdlPoolSession) SupportsInterface

func (_SdlPool *SdlPoolSession) SupportsInterface(_interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)

func (*SdlPoolSession) Symbol

func (_SdlPool *SdlPoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SdlPoolSession) TokenBalances

func (_SdlPool *SdlPoolSession) TokenBalances() ([]common.Address, []*big.Int, error)

TokenBalances is a free data retrieval call binding the contract method 0x0e3bc974.

Solidity: function tokenBalances() view returns(address[], uint256[])

func (*SdlPoolSession) TokenPools

func (_SdlPool *SdlPoolSession) TokenPools(arg0 common.Address) (common.Address, error)

TokenPools is a free data retrieval call binding the contract method 0xc3d2c3c1.

Solidity: function tokenPools(address ) view returns(address)

func (*SdlPoolSession) TokenURI

func (_SdlPool *SdlPoolSession) TokenURI(arg0 *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 ) view returns(string)

func (*SdlPoolSession) TotalEffectiveBalance

func (_SdlPool *SdlPoolSession) TotalEffectiveBalance() (*big.Int, error)

TotalEffectiveBalance is a free data retrieval call binding the contract method 0x89676073.

Solidity: function totalEffectiveBalance() view returns(uint256)

func (*SdlPoolSession) TotalStaked

func (_SdlPool *SdlPoolSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*SdlPoolSession) TransferFrom

func (_SdlPool *SdlPoolSession) TransferFrom(_from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolSession) TransferOwnership

func (_SdlPool *SdlPoolSession) 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 (*SdlPoolSession) UpgradeTo

func (_SdlPool *SdlPoolSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*SdlPoolSession) UpgradeToAndCall

func (_SdlPool *SdlPoolSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*SdlPoolSession) Withdraw

func (_SdlPool *SdlPoolSession) Withdraw(_lockId *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _lockId, uint256 _amount) returns()

func (*SdlPoolSession) WithdrawRewards

func (_SdlPool *SdlPoolSession) WithdrawRewards(_tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

func (*SdlPoolSession) WithdrawableRewards

func (_SdlPool *SdlPoolSession) WithdrawableRewards(_account common.Address) ([]*big.Int, error)

WithdrawableRewards is a free data retrieval call binding the contract method 0x0f14b4d6.

Solidity: function withdrawableRewards(address _account) view returns(uint256[])

type SdlPoolTransactor

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

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

func NewSdlPoolTransactor

func NewSdlPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*SdlPoolTransactor, error)

NewSdlPoolTransactor creates a new write-only instance of SdlPool, bound to a specific deployed contract.

func (*SdlPoolTransactor) AddToken

func (_SdlPool *SdlPoolTransactor) AddToken(opts *bind.TransactOpts, _token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*SdlPoolTransactor) Approve

func (_SdlPool *SdlPoolTransactor) Approve(opts *bind.TransactOpts, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _to, uint256 _lockId) returns()

func (*SdlPoolTransactor) DistributeToken

func (_SdlPool *SdlPoolTransactor) DistributeToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*SdlPoolTransactor) DistributeTokens

func (_SdlPool *SdlPoolTransactor) DistributeTokens(opts *bind.TransactOpts, _tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*SdlPoolTransactor) ExtendLockDuration

func (_SdlPool *SdlPoolTransactor) ExtendLockDuration(opts *bind.TransactOpts, _lockId *big.Int, _lockingDuration uint64) (*types.Transaction, error)

ExtendLockDuration is a paid mutator transaction binding the contract method 0xe231db76.

Solidity: function extendLockDuration(uint256 _lockId, uint64 _lockingDuration) returns()

func (*SdlPoolTransactor) Initialize

func (_SdlPool *SdlPoolTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _sdlToken common.Address, _boostController common.Address, _delegatorPool common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _sdlToken, address _boostController, address _delegatorPool) returns()

func (*SdlPoolTransactor) InitiateUnlock

func (_SdlPool *SdlPoolTransactor) InitiateUnlock(opts *bind.TransactOpts, _lockId *big.Int) (*types.Transaction, error)

InitiateUnlock is a paid mutator transaction binding the contract method 0x2dc075e1.

Solidity: function initiateUnlock(uint256 _lockId) returns()

func (*SdlPoolTransactor) Migrate

func (_SdlPool *SdlPoolTransactor) Migrate(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, _lockingDuration uint64) (*types.Transaction, error)

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

Solidity: function migrate(address _sender, uint256 _amount, uint64 _lockingDuration) returns()

func (*SdlPoolTransactor) OnTokenTransfer

func (_SdlPool *SdlPoolTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*SdlPoolTransactor) RemoveToken

func (_SdlPool *SdlPoolTransactor) RemoveToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*SdlPoolTransactor) RenounceOwnership

func (_SdlPool *SdlPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SdlPoolTransactor) RewardsPoolControllerInit

func (_SdlPool *SdlPoolTransactor) RewardsPoolControllerInit(opts *bind.TransactOpts) (*types.Transaction, error)

RewardsPoolControllerInit is a paid mutator transaction binding the contract method 0x7c9097de.

Solidity: function __RewardsPoolController_init() returns()

func (*SdlPoolTransactor) SafeTransferFrom

func (_SdlPool *SdlPoolTransactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolTransactor) SafeTransferFrom0

func (_SdlPool *SdlPoolTransactor) SafeTransferFrom0(opts *bind.TransactOpts, _from common.Address, _to common.Address, _lockId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId, bytes _data) returns()

func (*SdlPoolTransactor) SetApprovalForAll

func (_SdlPool *SdlPoolTransactor) SetApprovalForAll(opts *bind.TransactOpts, _operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address _operator, bool _approved) returns()

func (*SdlPoolTransactor) SetBoostController

func (_SdlPool *SdlPoolTransactor) SetBoostController(opts *bind.TransactOpts, _boostController common.Address) (*types.Transaction, error)

SetBoostController is a paid mutator transaction binding the contract method 0x1b23009d.

Solidity: function setBoostController(address _boostController) returns()

func (*SdlPoolTransactor) TransferFrom

func (_SdlPool *SdlPoolTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolTransactor) TransferOwnership

func (_SdlPool *SdlPoolTransactor) 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 (*SdlPoolTransactor) UpgradeTo

func (_SdlPool *SdlPoolTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*SdlPoolTransactor) UpgradeToAndCall

func (_SdlPool *SdlPoolTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*SdlPoolTransactor) Withdraw

func (_SdlPool *SdlPoolTransactor) Withdraw(opts *bind.TransactOpts, _lockId *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _lockId, uint256 _amount) returns()

func (*SdlPoolTransactor) WithdrawRewards

func (_SdlPool *SdlPoolTransactor) WithdrawRewards(opts *bind.TransactOpts, _tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

type SdlPoolTransactorRaw

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

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

func (*SdlPoolTransactorRaw) Transact

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

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

func (*SdlPoolTransactorRaw) Transfer

func (_SdlPool *SdlPoolTransactorRaw) 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 SdlPoolTransactorSession

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

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

func (*SdlPoolTransactorSession) AddToken

func (_SdlPool *SdlPoolTransactorSession) AddToken(_token common.Address, _rewardsPool common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0x5476bd72.

Solidity: function addToken(address _token, address _rewardsPool) returns()

func (*SdlPoolTransactorSession) Approve

func (_SdlPool *SdlPoolTransactorSession) Approve(_to common.Address, _lockId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _to, uint256 _lockId) returns()

func (*SdlPoolTransactorSession) DistributeToken

func (_SdlPool *SdlPoolTransactorSession) DistributeToken(_token common.Address) (*types.Transaction, error)

DistributeToken is a paid mutator transaction binding the contract method 0x86d74037.

Solidity: function distributeToken(address _token) returns()

func (*SdlPoolTransactorSession) DistributeTokens

func (_SdlPool *SdlPoolTransactorSession) DistributeTokens(_tokens []common.Address) (*types.Transaction, error)

DistributeTokens is a paid mutator transaction binding the contract method 0x88951352.

Solidity: function distributeTokens(address[] _tokens) returns()

func (*SdlPoolTransactorSession) ExtendLockDuration

func (_SdlPool *SdlPoolTransactorSession) ExtendLockDuration(_lockId *big.Int, _lockingDuration uint64) (*types.Transaction, error)

ExtendLockDuration is a paid mutator transaction binding the contract method 0xe231db76.

Solidity: function extendLockDuration(uint256 _lockId, uint64 _lockingDuration) returns()

func (*SdlPoolTransactorSession) Initialize

func (_SdlPool *SdlPoolTransactorSession) Initialize(_name string, _symbol string, _sdlToken common.Address, _boostController common.Address, _delegatorPool common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, address _sdlToken, address _boostController, address _delegatorPool) returns()

func (*SdlPoolTransactorSession) InitiateUnlock

func (_SdlPool *SdlPoolTransactorSession) InitiateUnlock(_lockId *big.Int) (*types.Transaction, error)

InitiateUnlock is a paid mutator transaction binding the contract method 0x2dc075e1.

Solidity: function initiateUnlock(uint256 _lockId) returns()

func (*SdlPoolTransactorSession) Migrate

func (_SdlPool *SdlPoolTransactorSession) Migrate(_sender common.Address, _amount *big.Int, _lockingDuration uint64) (*types.Transaction, error)

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

Solidity: function migrate(address _sender, uint256 _amount, uint64 _lockingDuration) returns()

func (*SdlPoolTransactorSession) OnTokenTransfer

func (_SdlPool *SdlPoolTransactorSession) OnTokenTransfer(_sender common.Address, _value *big.Int, _calldata []byte) (*types.Transaction, error)

OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.

Solidity: function onTokenTransfer(address _sender, uint256 _value, bytes _calldata) returns()

func (*SdlPoolTransactorSession) RemoveToken

func (_SdlPool *SdlPoolTransactorSession) RemoveToken(_token common.Address) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x5fa7b584.

Solidity: function removeToken(address _token) returns()

func (*SdlPoolTransactorSession) RenounceOwnership

func (_SdlPool *SdlPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SdlPoolTransactorSession) RewardsPoolControllerInit

func (_SdlPool *SdlPoolTransactorSession) RewardsPoolControllerInit() (*types.Transaction, error)

RewardsPoolControllerInit is a paid mutator transaction binding the contract method 0x7c9097de.

Solidity: function __RewardsPoolController_init() returns()

func (*SdlPoolTransactorSession) SafeTransferFrom

func (_SdlPool *SdlPoolTransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolTransactorSession) SafeTransferFrom0

func (_SdlPool *SdlPoolTransactorSession) SafeTransferFrom0(_from common.Address, _to common.Address, _lockId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address _from, address _to, uint256 _lockId, bytes _data) returns()

func (*SdlPoolTransactorSession) SetApprovalForAll

func (_SdlPool *SdlPoolTransactorSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address _operator, bool _approved) returns()

func (*SdlPoolTransactorSession) SetBoostController

func (_SdlPool *SdlPoolTransactorSession) SetBoostController(_boostController common.Address) (*types.Transaction, error)

SetBoostController is a paid mutator transaction binding the contract method 0x1b23009d.

Solidity: function setBoostController(address _boostController) returns()

func (*SdlPoolTransactorSession) TransferFrom

func (_SdlPool *SdlPoolTransactorSession) TransferFrom(_from common.Address, _to common.Address, _lockId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _lockId) returns()

func (*SdlPoolTransactorSession) TransferOwnership

func (_SdlPool *SdlPoolTransactorSession) 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 (*SdlPoolTransactorSession) UpgradeTo

func (_SdlPool *SdlPoolTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*SdlPoolTransactorSession) UpgradeToAndCall

func (_SdlPool *SdlPoolTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*SdlPoolTransactorSession) Withdraw

func (_SdlPool *SdlPoolTransactorSession) Withdraw(_lockId *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _lockId, uint256 _amount) returns()

func (*SdlPoolTransactorSession) WithdrawRewards

func (_SdlPool *SdlPoolTransactorSession) WithdrawRewards(_tokens []common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x62d76d06.

Solidity: function withdrawRewards(address[] _tokens) returns()

type SdlPoolTransfer

type SdlPoolTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SdlPoolTransfer represents a Transfer event raised by the SdlPool contract.

type SdlPoolTransferIterator

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

SdlPoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SdlPool contract.

func (*SdlPoolTransferIterator) Close

func (it *SdlPoolTransferIterator) Close() error

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

func (*SdlPoolTransferIterator) Error

func (it *SdlPoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolTransferIterator) Next

func (it *SdlPoolTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolUpdateLock

type SdlPoolUpdateLock struct {
	Owner           common.Address
	LockId          *big.Int
	Amount          *big.Int
	BoostAmount     *big.Int
	LockingDuration uint64
	Raw             types.Log // Blockchain specific contextual infos
}

SdlPoolUpdateLock represents a UpdateLock event raised by the SdlPool contract.

type SdlPoolUpdateLockIterator

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

SdlPoolUpdateLockIterator is returned from FilterUpdateLock and is used to iterate over the raw logs and unpacked data for UpdateLock events raised by the SdlPool contract.

func (*SdlPoolUpdateLockIterator) Close

func (it *SdlPoolUpdateLockIterator) Close() error

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

func (*SdlPoolUpdateLockIterator) Error

func (it *SdlPoolUpdateLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolUpdateLockIterator) Next

func (it *SdlPoolUpdateLockIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolUpgraded

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

SdlPoolUpgraded represents a Upgraded event raised by the SdlPool contract.

type SdlPoolUpgradedIterator

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

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

func (*SdlPoolUpgradedIterator) Close

func (it *SdlPoolUpgradedIterator) Close() error

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

func (*SdlPoolUpgradedIterator) Error

func (it *SdlPoolUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolUpgradedIterator) Next

func (it *SdlPoolUpgradedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolWithdraw

type SdlPoolWithdraw struct {
	Owner  common.Address
	LockId *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SdlPoolWithdraw represents a Withdraw event raised by the SdlPool contract.

type SdlPoolWithdrawIterator

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

SdlPoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the SdlPool contract.

func (*SdlPoolWithdrawIterator) Close

func (it *SdlPoolWithdrawIterator) Close() error

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

func (*SdlPoolWithdrawIterator) Error

func (it *SdlPoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolWithdrawIterator) Next

func (it *SdlPoolWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SdlPoolWithdrawRewards

type SdlPoolWithdrawRewards struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SdlPoolWithdrawRewards represents a WithdrawRewards event raised by the SdlPool contract.

type SdlPoolWithdrawRewardsIterator

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

SdlPoolWithdrawRewardsIterator is returned from FilterWithdrawRewards and is used to iterate over the raw logs and unpacked data for WithdrawRewards events raised by the SdlPool contract.

func (*SdlPoolWithdrawRewardsIterator) Close

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

func (*SdlPoolWithdrawRewardsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SdlPoolWithdrawRewardsIterator) 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 Vesting

type Vesting struct {
	VestingCaller     // Read-only binding to the contract
	VestingTransactor // Write-only binding to the contract
	VestingFilterer   // Log filterer for contract events
}

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

func NewVesting

func NewVesting(address common.Address, backend bind.ContractBackend) (*Vesting, error)

NewVesting creates a new instance of Vesting, bound to a specific deployed contract.

type VestingCaller

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

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

func NewVestingCaller

func NewVestingCaller(address common.Address, caller bind.ContractCaller) (*VestingCaller, error)

NewVestingCaller creates a new read-only instance of Vesting, bound to a specific deployed contract.

func (*VestingCaller) Beneficiary

func (_Vesting *VestingCaller) Beneficiary(opts *bind.CallOpts) (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() view returns(address)

func (*VestingCaller) Duration

func (_Vesting *VestingCaller) Duration(opts *bind.CallOpts) (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*VestingCaller) Owner

func (_Vesting *VestingCaller) 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 (*VestingCaller) Released

func (_Vesting *VestingCaller) Released(opts *bind.CallOpts) (*big.Int, error)

Released is a free data retrieval call binding the contract method 0x96132521.

Solidity: function released() view returns(uint256)

func (*VestingCaller) Released0

func (_Vesting *VestingCaller) Released0(opts *bind.CallOpts, token common.Address) (*big.Int, error)

Released0 is a free data retrieval call binding the contract method 0x9852595c.

Solidity: function released(address token) view returns(uint256)

func (*VestingCaller) Start

func (_Vesting *VestingCaller) Start(opts *bind.CallOpts) (*big.Int, error)

Start is a free data retrieval call binding the contract method 0xbe9a6555.

Solidity: function start() view returns(uint256)

func (*VestingCaller) VestedAmount

func (_Vesting *VestingCaller) VestedAmount(opts *bind.CallOpts, timestamp uint64) (*big.Int, error)

VestedAmount is a free data retrieval call binding the contract method 0x0a17b06b.

Solidity: function vestedAmount(uint64 timestamp) view returns(uint256)

func (*VestingCaller) VestedAmount0

func (_Vesting *VestingCaller) VestedAmount0(opts *bind.CallOpts, token common.Address, timestamp uint64) (*big.Int, error)

VestedAmount0 is a free data retrieval call binding the contract method 0x810ec23b.

Solidity: function vestedAmount(address token, uint64 timestamp) view returns(uint256)

func (*VestingCaller) VestingTerminated

func (_Vesting *VestingCaller) VestingTerminated(opts *bind.CallOpts) (bool, error)

VestingTerminated is a free data retrieval call binding the contract method 0x8732e3a0.

Solidity: function vestingTerminated() view returns(bool)

type VestingCallerRaw

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

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

func (*VestingCallerRaw) Call

func (_Vesting *VestingCallerRaw) 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 VestingCallerSession

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

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

func (*VestingCallerSession) Beneficiary

func (_Vesting *VestingCallerSession) Beneficiary() (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() view returns(address)

func (*VestingCallerSession) Duration

func (_Vesting *VestingCallerSession) Duration() (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*VestingCallerSession) Owner

func (_Vesting *VestingCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*VestingCallerSession) Released

func (_Vesting *VestingCallerSession) Released() (*big.Int, error)

Released is a free data retrieval call binding the contract method 0x96132521.

Solidity: function released() view returns(uint256)

func (*VestingCallerSession) Released0

func (_Vesting *VestingCallerSession) Released0(token common.Address) (*big.Int, error)

Released0 is a free data retrieval call binding the contract method 0x9852595c.

Solidity: function released(address token) view returns(uint256)

func (*VestingCallerSession) Start

func (_Vesting *VestingCallerSession) Start() (*big.Int, error)

Start is a free data retrieval call binding the contract method 0xbe9a6555.

Solidity: function start() view returns(uint256)

func (*VestingCallerSession) VestedAmount

func (_Vesting *VestingCallerSession) VestedAmount(timestamp uint64) (*big.Int, error)

VestedAmount is a free data retrieval call binding the contract method 0x0a17b06b.

Solidity: function vestedAmount(uint64 timestamp) view returns(uint256)

func (*VestingCallerSession) VestedAmount0

func (_Vesting *VestingCallerSession) VestedAmount0(token common.Address, timestamp uint64) (*big.Int, error)

VestedAmount0 is a free data retrieval call binding the contract method 0x810ec23b.

Solidity: function vestedAmount(address token, uint64 timestamp) view returns(uint256)

func (*VestingCallerSession) VestingTerminated

func (_Vesting *VestingCallerSession) VestingTerminated() (bool, error)

VestingTerminated is a free data retrieval call binding the contract method 0x8732e3a0.

Solidity: function vestingTerminated() view returns(bool)

type VestingERC20Released

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

VestingERC20Released represents a ERC20Released event raised by the Vesting contract.

type VestingERC20ReleasedIterator

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

VestingERC20ReleasedIterator is returned from FilterERC20Released and is used to iterate over the raw logs and unpacked data for ERC20Released events raised by the Vesting contract.

func (*VestingERC20ReleasedIterator) Close

func (it *VestingERC20ReleasedIterator) Close() error

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

func (*VestingERC20ReleasedIterator) Error

func (it *VestingERC20ReleasedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VestingERC20ReleasedIterator) 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 VestingEtherReleased

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

VestingEtherReleased represents a EtherReleased event raised by the Vesting contract.

type VestingEtherReleasedIterator

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

VestingEtherReleasedIterator is returned from FilterEtherReleased and is used to iterate over the raw logs and unpacked data for EtherReleased events raised by the Vesting contract.

func (*VestingEtherReleasedIterator) Close

func (it *VestingEtherReleasedIterator) Close() error

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

func (*VestingEtherReleasedIterator) Error

func (it *VestingEtherReleasedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VestingEtherReleasedIterator) 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 VestingFilterer

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

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

func NewVestingFilterer

func NewVestingFilterer(address common.Address, filterer bind.ContractFilterer) (*VestingFilterer, error)

NewVestingFilterer creates a new log filterer instance of Vesting, bound to a specific deployed contract.

func (*VestingFilterer) FilterERC20Released

func (_Vesting *VestingFilterer) FilterERC20Released(opts *bind.FilterOpts, token []common.Address) (*VestingERC20ReleasedIterator, error)

FilterERC20Released is a free log retrieval operation binding the contract event 0xc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b.

Solidity: event ERC20Released(address indexed token, uint256 amount)

func (*VestingFilterer) FilterEtherReleased

func (_Vesting *VestingFilterer) FilterEtherReleased(opts *bind.FilterOpts) (*VestingEtherReleasedIterator, error)

FilterEtherReleased is a free log retrieval operation binding the contract event 0xda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b.

Solidity: event EtherReleased(uint256 amount)

func (*VestingFilterer) FilterOwnershipTransferred

func (_Vesting *VestingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VestingOwnershipTransferredIterator, error)

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

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

func (*VestingFilterer) FilterVestingTerminated

func (_Vesting *VestingFilterer) FilterVestingTerminated(opts *bind.FilterOpts) (*VestingVestingTerminatedIterator, error)

FilterVestingTerminated is a free log retrieval operation binding the contract event 0x22ee45b273ba60d97bc6a3eb07766395877c427e0db75dae5e70615d6dd497ac.

Solidity: event VestingTerminated()

func (*VestingFilterer) ParseERC20Released

func (_Vesting *VestingFilterer) ParseERC20Released(log types.Log) (*VestingERC20Released, error)

ParseERC20Released is a log parse operation binding the contract event 0xc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b.

Solidity: event ERC20Released(address indexed token, uint256 amount)

func (*VestingFilterer) ParseEtherReleased

func (_Vesting *VestingFilterer) ParseEtherReleased(log types.Log) (*VestingEtherReleased, error)

ParseEtherReleased is a log parse operation binding the contract event 0xda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b.

Solidity: event EtherReleased(uint256 amount)

func (*VestingFilterer) ParseOwnershipTransferred

func (_Vesting *VestingFilterer) ParseOwnershipTransferred(log types.Log) (*VestingOwnershipTransferred, error)

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

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

func (*VestingFilterer) ParseVestingTerminated

func (_Vesting *VestingFilterer) ParseVestingTerminated(log types.Log) (*VestingVestingTerminated, error)

ParseVestingTerminated is a log parse operation binding the contract event 0x22ee45b273ba60d97bc6a3eb07766395877c427e0db75dae5e70615d6dd497ac.

Solidity: event VestingTerminated()

func (*VestingFilterer) WatchERC20Released

func (_Vesting *VestingFilterer) WatchERC20Released(opts *bind.WatchOpts, sink chan<- *VestingERC20Released, token []common.Address) (event.Subscription, error)

WatchERC20Released is a free log subscription operation binding the contract event 0xc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b.

Solidity: event ERC20Released(address indexed token, uint256 amount)

func (*VestingFilterer) WatchEtherReleased

func (_Vesting *VestingFilterer) WatchEtherReleased(opts *bind.WatchOpts, sink chan<- *VestingEtherReleased) (event.Subscription, error)

WatchEtherReleased is a free log subscription operation binding the contract event 0xda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b.

Solidity: event EtherReleased(uint256 amount)

func (*VestingFilterer) WatchOwnershipTransferred

func (_Vesting *VestingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VestingOwnershipTransferred, 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 (*VestingFilterer) WatchVestingTerminated

func (_Vesting *VestingFilterer) WatchVestingTerminated(opts *bind.WatchOpts, sink chan<- *VestingVestingTerminated) (event.Subscription, error)

WatchVestingTerminated is a free log subscription operation binding the contract event 0x22ee45b273ba60d97bc6a3eb07766395877c427e0db75dae5e70615d6dd497ac.

Solidity: event VestingTerminated()

type VestingOwnershipTransferred

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

VestingOwnershipTransferred represents a OwnershipTransferred event raised by the Vesting contract.

type VestingOwnershipTransferredIterator

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

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

func (*VestingOwnershipTransferredIterator) Close

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

func (*VestingOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VestingOwnershipTransferredIterator) 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 VestingRaw

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

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

func (*VestingRaw) Call

func (_Vesting *VestingRaw) 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 (*VestingRaw) Transact

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

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

func (*VestingRaw) Transfer

func (_Vesting *VestingRaw) 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 VestingSession

type VestingSession struct {
	Contract     *Vesting          // 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
}

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

func (*VestingSession) Beneficiary

func (_Vesting *VestingSession) Beneficiary() (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() view returns(address)

func (*VestingSession) Duration

func (_Vesting *VestingSession) Duration() (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*VestingSession) Owner

func (_Vesting *VestingSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*VestingSession) Receive

func (_Vesting *VestingSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*VestingSession) Release

func (_Vesting *VestingSession) Release(token common.Address) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x19165587.

Solidity: function release(address token) returns()

func (*VestingSession) Release0

func (_Vesting *VestingSession) Release0() (*types.Transaction, error)

Release0 is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

func (*VestingSession) ReleaseRemaining

func (_Vesting *VestingSession) ReleaseRemaining(_token common.Address) (*types.Transaction, error)

ReleaseRemaining is a paid mutator transaction binding the contract method 0xeb491a88.

Solidity: function releaseRemaining(address _token) returns()

func (*VestingSession) Released

func (_Vesting *VestingSession) Released() (*big.Int, error)

Released is a free data retrieval call binding the contract method 0x96132521.

Solidity: function released() view returns(uint256)

func (*VestingSession) Released0

func (_Vesting *VestingSession) Released0(token common.Address) (*big.Int, error)

Released0 is a free data retrieval call binding the contract method 0x9852595c.

Solidity: function released(address token) view returns(uint256)

func (*VestingSession) RenounceOwnership

func (_Vesting *VestingSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*VestingSession) Start

func (_Vesting *VestingSession) Start() (*big.Int, error)

Start is a free data retrieval call binding the contract method 0xbe9a6555.

Solidity: function start() view returns(uint256)

func (*VestingSession) TerminateVesting

func (_Vesting *VestingSession) TerminateVesting(_tokens []common.Address) (*types.Transaction, error)

TerminateVesting is a paid mutator transaction binding the contract method 0x40c79fa7.

Solidity: function terminateVesting(address[] _tokens) returns()

func (*VestingSession) TransferOwnership

func (_Vesting *VestingSession) 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 (*VestingSession) VestedAmount

func (_Vesting *VestingSession) VestedAmount(timestamp uint64) (*big.Int, error)

VestedAmount is a free data retrieval call binding the contract method 0x0a17b06b.

Solidity: function vestedAmount(uint64 timestamp) view returns(uint256)

func (*VestingSession) VestedAmount0

func (_Vesting *VestingSession) VestedAmount0(token common.Address, timestamp uint64) (*big.Int, error)

VestedAmount0 is a free data retrieval call binding the contract method 0x810ec23b.

Solidity: function vestedAmount(address token, uint64 timestamp) view returns(uint256)

func (*VestingSession) VestingTerminated

func (_Vesting *VestingSession) VestingTerminated() (bool, error)

VestingTerminated is a free data retrieval call binding the contract method 0x8732e3a0.

Solidity: function vestingTerminated() view returns(bool)

type VestingTransactor

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

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

func NewVestingTransactor

func NewVestingTransactor(address common.Address, transactor bind.ContractTransactor) (*VestingTransactor, error)

NewVestingTransactor creates a new write-only instance of Vesting, bound to a specific deployed contract.

func (*VestingTransactor) Receive

func (_Vesting *VestingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*VestingTransactor) Release

func (_Vesting *VestingTransactor) Release(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x19165587.

Solidity: function release(address token) returns()

func (*VestingTransactor) Release0

func (_Vesting *VestingTransactor) Release0(opts *bind.TransactOpts) (*types.Transaction, error)

Release0 is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

func (*VestingTransactor) ReleaseRemaining

func (_Vesting *VestingTransactor) ReleaseRemaining(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ReleaseRemaining is a paid mutator transaction binding the contract method 0xeb491a88.

Solidity: function releaseRemaining(address _token) returns()

func (*VestingTransactor) RenounceOwnership

func (_Vesting *VestingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*VestingTransactor) TerminateVesting

func (_Vesting *VestingTransactor) TerminateVesting(opts *bind.TransactOpts, _tokens []common.Address) (*types.Transaction, error)

TerminateVesting is a paid mutator transaction binding the contract method 0x40c79fa7.

Solidity: function terminateVesting(address[] _tokens) returns()

func (*VestingTransactor) TransferOwnership

func (_Vesting *VestingTransactor) 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()

type VestingTransactorRaw

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

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

func (*VestingTransactorRaw) Transact

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

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

func (*VestingTransactorRaw) Transfer

func (_Vesting *VestingTransactorRaw) 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 VestingTransactorSession

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

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

func (*VestingTransactorSession) Receive

func (_Vesting *VestingTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*VestingTransactorSession) Release

func (_Vesting *VestingTransactorSession) Release(token common.Address) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x19165587.

Solidity: function release(address token) returns()

func (*VestingTransactorSession) Release0

func (_Vesting *VestingTransactorSession) Release0() (*types.Transaction, error)

Release0 is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

func (*VestingTransactorSession) ReleaseRemaining

func (_Vesting *VestingTransactorSession) ReleaseRemaining(_token common.Address) (*types.Transaction, error)

ReleaseRemaining is a paid mutator transaction binding the contract method 0xeb491a88.

Solidity: function releaseRemaining(address _token) returns()

func (*VestingTransactorSession) RenounceOwnership

func (_Vesting *VestingTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*VestingTransactorSession) TerminateVesting

func (_Vesting *VestingTransactorSession) TerminateVesting(_tokens []common.Address) (*types.Transaction, error)

TerminateVesting is a paid mutator transaction binding the contract method 0x40c79fa7.

Solidity: function terminateVesting(address[] _tokens) returns()

func (*VestingTransactorSession) TransferOwnership

func (_Vesting *VestingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type VestingVestingTerminated

type VestingVestingTerminated struct {
	Raw types.Log // Blockchain specific contextual infos
}

VestingVestingTerminated represents a VestingTerminated event raised by the Vesting contract.

type VestingVestingTerminatedIterator

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

VestingVestingTerminatedIterator is returned from FilterVestingTerminated and is used to iterate over the raw logs and unpacked data for VestingTerminated events raised by the Vesting contract.

func (*VestingVestingTerminatedIterator) Close

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

func (*VestingVestingTerminatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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