Documentation ¶
Index ¶
- Variables
- type Token
- type TokenApproval
- type TokenApprovalIterator
- type TokenBurnShares
- type TokenBurnSharesIterator
- type TokenCaller
- func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) GetSharesByTokenAmount(opts *bind.CallOpts, tokenAmount *big.Int) (*big.Int, error)
- func (_Token *TokenCaller) GetTokenAmountByShares(opts *bind.CallOpts, sharesAmount *big.Int) (*big.Int, error)
- func (_Token *TokenCaller) LastRebaseTime(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) MinRebaseInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) PlpAddressPool(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) SharesOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) TotalShares(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Decimals() (uint8, error)
- func (_Token *TokenCallerSession) GetSharesByTokenAmount(tokenAmount *big.Int) (*big.Int, error)
- func (_Token *TokenCallerSession) GetTokenAmountByShares(sharesAmount *big.Int) (*big.Int, error)
- func (_Token *TokenCallerSession) LastRebaseTime() (*big.Int, error)
- func (_Token *TokenCallerSession) MinRebaseInterval() (*big.Int, error)
- func (_Token *TokenCallerSession) Name() (string, error)
- func (_Token *TokenCallerSession) Owner() (common.Address, error)
- func (_Token *TokenCallerSession) PendingOwner() (common.Address, error)
- func (_Token *TokenCallerSession) PlpAddressPool() (common.Address, error)
- func (_Token *TokenCallerSession) SharesOf(account common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Symbol() (string, error)
- func (_Token *TokenCallerSession) TotalShares() (*big.Int, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- type TokenFilterer
- func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)
- func (_Token *TokenFilterer) FilterBurnShares(opts *bind.FilterOpts, account []common.Address) (*TokenBurnSharesIterator, error)
- func (_Token *TokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TokenInitializedIterator, error)
- func (_Token *TokenFilterer) FilterMintShares(opts *bind.FilterOpts, account []common.Address) (*TokenMintSharesIterator, error)
- func (_Token *TokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenOwnershipTransferStartedIterator, error)
- func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenOwnershipTransferredIterator, error)
- func (_Token *TokenFilterer) FilterRebase(opts *bind.FilterOpts, rebaseTime []*big.Int) (*TokenRebaseIterator, error)
- func (_Token *TokenFilterer) FilterSetMinRebaseInterval(opts *bind.FilterOpts) (*TokenSetMinRebaseIntervalIterator, error)
- func (_Token *TokenFilterer) FilterSetPlpAddressPool(opts *bind.FilterOpts) (*TokenSetPlpAddressPoolIterator, error)
- func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
- func (_Token *TokenFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferSharesIterator, error)
- func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
- func (_Token *TokenFilterer) ParseBurnShares(log types.Log) (*TokenBurnShares, error)
- func (_Token *TokenFilterer) ParseInitialized(log types.Log) (*TokenInitialized, error)
- func (_Token *TokenFilterer) ParseMintShares(log types.Log) (*TokenMintShares, error)
- func (_Token *TokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*TokenOwnershipTransferStarted, error)
- func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
- func (_Token *TokenFilterer) ParseRebase(log types.Log) (*TokenRebase, error)
- func (_Token *TokenFilterer) ParseSetMinRebaseInterval(log types.Log) (*TokenSetMinRebaseInterval, error)
- func (_Token *TokenFilterer) ParseSetPlpAddressPool(log types.Log) (*TokenSetPlpAddressPool, error)
- func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
- func (_Token *TokenFilterer) ParseTransferShares(log types.Log) (*TokenTransferShares, error)
- func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchBurnShares(opts *bind.WatchOpts, sink chan<- *TokenBurnShares, account []common.Address) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TokenInitialized) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchMintShares(opts *bind.WatchOpts, sink chan<- *TokenMintShares, account []common.Address) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchRebase(opts *bind.WatchOpts, sink chan<- *TokenRebase, rebaseTime []*big.Int) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchSetMinRebaseInterval(opts *bind.WatchOpts, sink chan<- *TokenSetMinRebaseInterval) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchSetPlpAddressPool(opts *bind.WatchOpts, sink chan<- *TokenSetPlpAddressPool) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *TokenTransferShares, from []common.Address, ...) (event.Subscription, error)
- type TokenInitialized
- type TokenInitializedIterator
- type TokenMintShares
- type TokenMintSharesIterator
- type TokenOwnershipTransferStarted
- type TokenOwnershipTransferStartedIterator
- type TokenOwnershipTransferred
- type TokenOwnershipTransferredIterator
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenRebase
- type TokenRebaseIterator
- type TokenSession
- func (_Token *TokenSession) AcceptOwnership() (*types.Transaction, error)
- func (_Token *TokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Decimals() (uint8, error)
- func (_Token *TokenSession) GetSharesByTokenAmount(tokenAmount *big.Int) (*big.Int, error)
- func (_Token *TokenSession) GetTokenAmountByShares(sharesAmount *big.Int) (*big.Int, error)
- func (_Token *TokenSession) Initialize(name_ string, symbol_ string, decimals_ uint8, owner_ common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) LastRebaseTime() (*big.Int, error)
- func (_Token *TokenSession) MinRebaseInterval() (*big.Int, error)
- func (_Token *TokenSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Name() (string, error)
- func (_Token *TokenSession) Owner() (common.Address, error)
- func (_Token *TokenSession) PendingOwner() (common.Address, error)
- func (_Token *TokenSession) PlpAddressPool() (common.Address, error)
- func (_Token *TokenSession) Rebase() (*types.Transaction, error)
- func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenSession) SetMinRebaseInterval(minRebaseInterval_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) SetPlpAddressPool(plpAddressPool_ common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) SharesOf(account common.Address) (*big.Int, error)
- func (_Token *TokenSession) Symbol() (string, error)
- func (_Token *TokenSession) TotalShares() (*big.Int, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) Transfer(recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferFrom(sender_ common.Address, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type TokenSetMinRebaseInterval
- type TokenSetMinRebaseIntervalIterator
- type TokenSetPlpAddressPool
- type TokenSetPlpAddressPoolIterator
- type TokenTransactor
- func (_Token *TokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Rebase(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) SetMinRebaseInterval(opts *bind.TransactOpts, minRebaseInterval_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) SetPlpAddressPool(opts *bind.TransactOpts, plpAddressPool_ common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, sender_ common.Address, recipient_ common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, owner_ common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Rebase() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SetMinRebaseInterval(minRebaseInterval_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) SetPlpAddressPool(plpAddressPool_ common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Transfer(recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(sender_ common.Address, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
- type TokenTransferShares
- type TokenTransferSharesIterator
Constants ¶
This section is empty.
Variables ¶
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenBin = TokenMetaData.Bin
TokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenMetaData.Bin instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharesAmount\",\"type\":\"uint256\"}],\"name\":\"BurnShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharesAmount\",\"type\":\"uint256\"}],\"name\":\"MintShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"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\":\"uint256\",\"name\":\"rebaseTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharesAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldBaseReserve\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBaseReserve\",\"type\":\"uint256\"}],\"name\":\"Rebase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minRebaseInterval\",\"type\":\"uint256\"}],\"name\":\"SetMinRebaseInterval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"plpAddressPool\",\"type\":\"address\"}],\"name\":\"SetPlpAddressPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharesAmount\",\"type\":\"uint256\"}],\"name\":\"TransferShares\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"getSharesByTokenAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"sharesAmount\",\"type\":\"uint256\"}],\"name\":\"getTokenAmountByShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRebaseTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minRebaseInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"plpAddressPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rebase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minRebaseInterval_\",\"type\":\"uint256\"}],\"name\":\"setMinRebaseInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"plpAddressPool_\",\"type\":\"address\"}],\"name\":\"setPlpAddressPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"sharesOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561000f575f80fd5b5061001e61002360201b60201c565b610183565b5f61003261012160201b60201c565b9050805f0160089054906101000a900460ff161561007c576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff8016815f015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff161461011e5767ffffffffffffffff815f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d267ffffffffffffffff604051610115919061016a565b60405180910390a15b50565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b5f67ffffffffffffffff82169050919050565b61016481610148565b82525050565b5f60208201905061017d5f83018461015b565b92915050565b6128af806101905f395ff3fe608060405234801561000f575f80fd5b50600436106101a7575f3560e01c80638da5cb5b116100f7578063de7ea79d11610095578063e78bf0ba1161006f578063e78bf0ba14610471578063f2fde38b146104a1578063f5eb42dc146104bd578063f8c16bbc146104ed576101a7565b8063de7ea79d14610419578063e30c397814610435578063e33a2c5114610453576101a7565b8063a9059cbb116100d1578063a9059cbb14610393578063af14052c146103c3578063cced5796146103cd578063dd62ed3e146103e9576101a7565b80638da5cb5b1461033b57806395d89b41146103595780639dc29fac14610377576101a7565b8063329fd4c21161016457806370a082311161013e57806370a08231146102db578063715018a61461030b578063744384f21461031557806379ba509714610331576101a7565b8063329fd4c2146102835780633a98ef39146102a157806340c10f19146102bf576101a7565b806306fdde03146101ab578063095ea7b3146101c957806318160ddd146101f95780631924063e1461021757806323b872dd14610235578063313ce56714610265575b5f80fd5b6101b361051d565b6040516101c09190611bea565b60405180910390f35b6101e360048036038101906101de9190611ca8565b6105bb565b6040516101f09190611d00565b60405180910390f35b6102016105dd565b60405161020e9190611d28565b60405180910390f35b61021f6105e6565b60405161022c9190611d28565b60405180910390f35b61024f600480360381019061024a9190611d41565b6105ec565b60405161025c9190611d00565b60405180910390f35b61026d61060e565b60405161027a9190611dac565b60405180910390f35b61028b610622565b6040516102989190611dd4565b60405180910390f35b6102a9610647565b6040516102b69190611d28565b60405180910390f35b6102d960048036038101906102d49190611ca8565b61064d565b005b6102f560048036038101906102f09190611ded565b610774565b6040516103029190611d28565b60405180910390f35b6103136107c2565b005b61032f600480360381019061032a9190611e18565b6107d5565b005b61033961081e565b005b6103436108ac565b6040516103509190611dd4565b60405180910390f35b6103616108e1565b60405161036e9190611bea565b60405180910390f35b610391600480360381019061038c9190611ca8565b61097f565b005b6103ad60048036038101906103a89190611ca8565b610aa6565b6040516103ba9190611d00565b60405180910390f35b6103cb610abc565b005b6103e760048036038101906103e29190611ded565b610bfa565b005b61040360048036038101906103fe9190611e43565b610cea565b6040516104109190611d28565b60405180910390f35b610433600480360381019061042e9190611fd7565b610d7a565b005b61043d610f21565b60405161044a9190611dd4565b60405180910390f35b61045b610f56565b6040516104689190611d28565b60405180910390f35b61048b60048036038101906104869190611e18565b610f5c565b6040516104989190611d28565b60405180910390f35b6104bb60048036038101906104b69190611ded565b610f91565b005b6104d760048036038101906104d29190611ded565b61104a565b6040516104e49190611d28565b60405180910390f35b61050760048036038101906105029190611e18565b611090565b6040516105149190611d28565b60405180910390f35b60605f6105286110c5565b9050806003018054610539906120a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610565906120a0565b80156105b05780601f10610587576101008083540402835291602001916105b0565b820191905f5260205f20905b81548152906001019060200180831161059357829003601f168201915b505050505091505090565b5f806105c56110ec565b90506105d28185856110f3565b600191505092915050565b5f600354905090565b60055481565b5f6105f8843384611105565b610603848484611197565b600190509392505050565b5f805f9054906101000a900460ff16905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d39061211a565b60405180910390fd5b5f6106e682611090565b90506106f283826113f5565b8160035f8282546107039190612165565b925050819055508273ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107679190611d28565b60405180910390a3505050565b5f6107bb60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610f5c565b9050919050565b6107ca611520565b6107d35f6115a7565b565b6107dd611520565b806004819055507f8eaa77a90fc69fdf64439feae9f343c4781bd92da067cf5875770b4db2c28319816040516108139190611d28565b60405180910390a150565b5f6108276110ec565b90508073ffffffffffffffffffffffffffffffffffffffff16610848610f21565b73ffffffffffffffffffffffffffffffffffffffff16146108a057806040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108979190611dd4565b60405180910390fd5b6108a9816115a7565b50565b5f806108b66115e4565b9050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b60605f6108ec6110c5565b90508060040180546108fd906120a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610929906120a0565b80156109745780601f1061094b57610100808354040283529160200191610974565b820191905f5260205f20905b81548152906001019060200180831161095757829003601f168201915b505050505091505090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a059061211a565b60405180910390fd5b5f610a1882611090565b9050610a24838261160b565b8160035f828254610a359190612198565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a999190611d28565b60405180910390a3505050565b5f610ab2338484611197565b6001905092915050565b610ac4611520565b60045460055442610ad59190612198565b1015610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90612215565b60405180910390fd5b5f600354905060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166397b3fcaa6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610baa9190612247565b60038190555042600581905550427f73fc076a6dc311c86aa8be0baa48f246eeb171cb2728ea07541508e63767d9de60015483600354604051610bef93929190612272565b60405180910390a250565b610c02611520565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6790612317565b60405180910390fd5b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb05aa80f4d46de3be3c7dfb3ff4755c02487412d66a301e4b032b2b4db9cefea81604051610cdf9190611dd4565b60405180910390a150565b5f80610cf46110c5565b9050806001015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205491505092915050565b5f610d83611736565b90505f815f0160089054906101000a900460ff161590505f825f015f9054906101000a900467ffffffffffffffff1690505f808267ffffffffffffffff16148015610dcb5750825b90505f60018367ffffffffffffffff16148015610dfe57505f3073ffffffffffffffffffffffffffffffffffffffff163b145b905081158015610e0c575080155b15610e43576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001855f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508315610e90576001855f0160086101000a81548160ff0219169083151502179055505b610e9a898961175d565b610ea386611773565b865f806101000a81548160ff021916908360ff1602179055508315610f16575f855f0160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d26001604051610f0d919061238a565b60405180910390a15b505050505050505050565b5f80610f2b611787565b9050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b60045481565b5f8060015403610f6e57819050610f8c565b60015460035483610f7f91906123a3565b610f899190612411565b90505b919050565b610f99611520565b5f610fa2611787565b905081815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff166110046108ac565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b5f60025f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f80600354036110a2578190506110c0565b600354600154836110b391906123a3565b6110bd9190612411565b90505b919050565b5f7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00905090565b5f33905090565b61110083838360016117ae565b505050565b5f6111108484610cea565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111915781811015611182578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161117993929190612441565b60405180910390fd5b61119084848484035f6117ae565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc906124c0565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a90612528565b60405180910390fd5b5f61127d82611090565b90508060025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546112cb9190612198565b925050819055508060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461131e9190612165565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113829190611d28565b60405180910390a38273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb836040516113e79190611d28565b60405180910390a350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90612590565b60405180910390fd5b8060015f8282546114749190612165565b925050819055508060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546114c79190612165565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167fe0db2c42b942601357f9499d6f0520c824b2ce7513135a456b661d1d3e45de5e826040516115149190611d28565b60405180910390a25050565b6115286110ec565b73ffffffffffffffffffffffffffffffffffffffff166115466108ac565b73ffffffffffffffffffffffffffffffffffffffff16146115a5576115696110ec565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161159c9190611dd4565b60405180910390fd5b565b5f6115b0611787565b9050805f015f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556115e08261198b565b5050565b5f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611679576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611670906125f8565b60405180910390fd5b8060015f82825461168a9190612198565b925050819055508060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546116dd9190612198565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f5c482005cb92f4606eb4f7244f8978adb96c9dfff9ab5c5be326273f0610fe458260405161172a9190611d28565b60405180910390a25050565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b611765611a5c565b61176f8282611a9c565b5050565b61177b611a5c565b61178481611ad8565b50565b5f7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00905090565b5f6117b76110c5565b90505f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611829575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016118209190611dd4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611899575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016118909190611dd4565b60405180910390fd5b82816001015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508115611984578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161197b9190611d28565b60405180910390a35b5050505050565b5f6119946115e4565b90505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b611a64611b5c565b611a9a576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b611aa4611a5c565b5f611aad6110c5565b905082816003019081611ac091906127aa565b5081816004019081611ad291906127aa565b50505050565b611ae0611a5c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b50575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611b479190611dd4565b60405180910390fd5b611b59816115a7565b50565b5f611b65611736565b5f0160089054906101000a900460ff16905090565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611bbc82611b7a565b611bc68185611b84565b9350611bd6818560208601611b94565b611bdf81611ba2565b840191505092915050565b5f6020820190508181035f830152611c028184611bb2565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611c4482611c1b565b9050919050565b611c5481611c3a565b8114611c5e575f80fd5b50565b5f81359050611c6f81611c4b565b92915050565b5f819050919050565b611c8781611c75565b8114611c91575f80fd5b50565b5f81359050611ca281611c7e565b92915050565b5f8060408385031215611cbe57611cbd611c13565b5b5f611ccb85828601611c61565b9250506020611cdc85828601611c94565b9150509250929050565b5f8115159050919050565b611cfa81611ce6565b82525050565b5f602082019050611d135f830184611cf1565b92915050565b611d2281611c75565b82525050565b5f602082019050611d3b5f830184611d19565b92915050565b5f805f60608486031215611d5857611d57611c13565b5b5f611d6586828701611c61565b9350506020611d7686828701611c61565b9250506040611d8786828701611c94565b9150509250925092565b5f60ff82169050919050565b611da681611d91565b82525050565b5f602082019050611dbf5f830184611d9d565b92915050565b611dce81611c3a565b82525050565b5f602082019050611de75f830184611dc5565b92915050565b5f60208284031215611e0257611e01611c13565b5b5f611e0f84828501611c61565b91505092915050565b5f60208284031215611e2d57611e2c611c13565b5b5f611e3a84828501611c94565b91505092915050565b5f8060408385031215611e5957611e58611c13565b5b5f611e6685828601611c61565b9250506020611e7785828601611c61565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ebf82611ba2565b810181811067ffffffffffffffff82111715611ede57611edd611e89565b5b80604052505050565b5f611ef0611c0a565b9050611efc8282611eb6565b919050565b5f67ffffffffffffffff821115611f1b57611f1a611e89565b5b611f2482611ba2565b9050602081019050919050565b828183375f83830152505050565b5f611f51611f4c84611f01565b611ee7565b905082815260208101848484011115611f6d57611f6c611e85565b5b611f78848285611f31565b509392505050565b5f82601f830112611f9457611f93611e81565b5b8135611fa4848260208601611f3f565b91505092915050565b611fb681611d91565b8114611fc0575f80fd5b50565b5f81359050611fd181611fad565b92915050565b5f805f8060808587031215611fef57611fee611c13565b5b5f85013567ffffffffffffffff81111561200c5761200b611c17565b5b61201887828801611f80565b945050602085013567ffffffffffffffff81111561203957612038611c17565b5b61204587828801611f80565b935050604061205687828801611fc3565b925050606061206787828801611c61565b91505092959194509250565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806120b757607f821691505b6020821081036120ca576120c9612073565b5b50919050565b7f63616c6c6572206973206e6f7420706c70206164647265737320706f6f6c00005f82015250565b5f612104601e83611b84565b915061210f826120d0565b602082019050919050565b5f6020820190508181035f830152612131816120f8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61216f82611c75565b915061217a83611c75565b925082820190508082111561219257612191612138565b5b92915050565b5f6121a282611c75565b91506121ad83611c75565b92508282039050818111156121c5576121c4612138565b5b92915050565b7f6d696e2072656261736520696e74657276616c206e6f742072656163686564005f82015250565b5f6121ff601f83611b84565b915061220a826121cb565b602082019050919050565b5f6020820190508181035f83015261222c816121f3565b9050919050565b5f8151905061224181611c7e565b92915050565b5f6020828403121561225c5761225b611c13565b5b5f61226984828501612233565b91505092915050565b5f6060820190506122855f830186611d19565b6122926020830185611d19565b61229f6040830184611d19565b949350505050565b7f706c70206164647265737320706f6f6c2063616e6e6f7420626520746865207a5f8201527f65726f0000000000000000000000000000000000000000000000000000000000602082015250565b5f612301602383611b84565b915061230c826122a7565b604082019050919050565b5f6020820190508181035f83015261232e816122f5565b9050919050565b5f819050919050565b5f67ffffffffffffffff82169050919050565b5f819050919050565b5f61237461236f61236a84612335565b612351565b61233e565b9050919050565b6123848161235a565b82525050565b5f60208201905061239d5f83018461237b565b92915050565b5f6123ad82611c75565b91506123b883611c75565b92508282026123c681611c75565b915082820484148315176123dd576123dc612138565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61241b82611c75565b915061242683611c75565b925082612436576124356123e4565b5b828204905092915050565b5f6060820190506124545f830186611dc5565b6124616020830185611d19565b61246e6040830184611d19565b949350505050565b7f5452414e534645525f46524f4d5f5a45524f5f414444520000000000000000005f82015250565b5f6124aa601783611b84565b91506124b582612476565b602082019050919050565b5f6020820190508181035f8301526124d78161249e565b9050919050565b7f5452414e534645525f544f5f5a45524f5f4144445200000000000000000000005f82015250565b5f612512601583611b84565b915061251d826124de565b602082019050919050565b5f6020820190508181035f83015261253f81612506565b9050919050565b7f4d494e545f544f5f5a45524f5f414444520000000000000000000000000000005f82015250565b5f61257a601183611b84565b915061258582612546565b602082019050919050565b5f6020820190508181035f8301526125a78161256e565b9050919050565b7f4255524e5f46524f4d5f5a45524f5f41444452000000000000000000000000005f82015250565b5f6125e2601383611b84565b91506125ed826125ae565b602082019050919050565b5f6020820190508181035f83015261260f816125d6565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026126727fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612637565b61267c8683612637565b95508019841693508086168417925050509392505050565b5f6126ae6126a96126a484611c75565b612351565b611c75565b9050919050565b5f819050919050565b6126c783612694565b6126db6126d3826126b5565b848454612643565b825550505050565b5f90565b6126ef6126e3565b6126fa8184846126be565b505050565b5b8181101561271d576127125f826126e7565b600181019050612700565b5050565b601f8211156127625761273381612616565b61273c84612628565b8101602085101561274b578190505b61275f61275785612628565b8301826126ff565b50505b505050565b5f82821c905092915050565b5f6127825f1984600802612767565b1980831691505092915050565b5f61279a8383612773565b9150826002028217905092915050565b6127b382611b7a565b67ffffffffffffffff8111156127cc576127cb611e89565b5b6127d682546120a0565b6127e1828285612721565b5f60209050601f831160018114612812575f8415612800578287015190505b61280a858261278f565b865550612871565b601f19841661282086612616565b5f5b8281101561284757848901518255600182019150602085019450602081019050612822565b868310156128645784890151612860601f891682612773565b8355505b6001600288020188555050505b50505050505056fea2646970667358221220e10a655756962916f24a854857919861e10fea2d8eeee61a913ac6e7c6b788e964736f6c634300081a0033",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
func DeployToken ¶
func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Token, error)
DeployToken deploys a new Ethereum contract, binding an instance of Token to it.
type TokenApproval ¶
type TokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenApproval represents a Approval event raised by the Token contract.
type TokenApprovalIterator ¶
type TokenApprovalIterator struct { Event *TokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
func (*TokenApprovalIterator) Close ¶
func (it *TokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalIterator) Error ¶
func (it *TokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalIterator) Next ¶
func (it *TokenApprovalIterator) 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 TokenBurnShares ¶
type TokenBurnShares struct {}
TokenBurnShares represents a BurnShares event raised by the Token contract.
type TokenBurnSharesIterator ¶
type TokenBurnSharesIterator struct { // contains filtered or unexported fields }
TokenBurnSharesIterator is returned from FilterBurnShares and is used to iterate over the raw logs and unpacked data for BurnShares events raised by the Token contract.
func (*TokenBurnSharesIterator) Close ¶
func (it *TokenBurnSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenBurnSharesIterator) Error ¶
func (it *TokenBurnSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenBurnSharesIterator) Next ¶
func (it *TokenBurnSharesIterator) 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 TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Allowance ¶
func (_Token *TokenCaller) 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 (*TokenCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenCaller) Decimals ¶
func (_Token *TokenCaller) 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 (*TokenCaller) GetSharesByTokenAmount ¶
func (_Token *TokenCaller) GetSharesByTokenAmount(opts *bind.CallOpts, tokenAmount *big.Int) (*big.Int, error)
GetSharesByTokenAmount is a free data retrieval call binding the contract method 0xf8c16bbc.
Solidity: function getSharesByTokenAmount(uint256 tokenAmount) view returns(uint256)
func (*TokenCaller) GetTokenAmountByShares ¶
func (_Token *TokenCaller) GetTokenAmountByShares(opts *bind.CallOpts, sharesAmount *big.Int) (*big.Int, error)
GetTokenAmountByShares is a free data retrieval call binding the contract method 0xe78bf0ba.
Solidity: function getTokenAmountByShares(uint256 sharesAmount) view returns(uint256)
func (*TokenCaller) LastRebaseTime ¶
LastRebaseTime is a free data retrieval call binding the contract method 0x1924063e.
Solidity: function lastRebaseTime() view returns(uint256)
func (*TokenCaller) MinRebaseInterval ¶
MinRebaseInterval is a free data retrieval call binding the contract method 0xe33a2c51.
Solidity: function minRebaseInterval() view returns(uint256)
func (*TokenCaller) Name ¶
func (_Token *TokenCaller) 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 (*TokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*TokenCaller) PlpAddressPool ¶
PlpAddressPool is a free data retrieval call binding the contract method 0x329fd4c2.
Solidity: function plpAddressPool() view returns(address)
func (*TokenCaller) SharesOf ¶
SharesOf is a free data retrieval call binding the contract method 0xf5eb42dc.
Solidity: function sharesOf(address account) view returns(uint256)
func (*TokenCaller) Symbol ¶
func (_Token *TokenCaller) 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 (*TokenCaller) TotalShares ¶
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Allowance ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenCallerSession) Decimals ¶
func (_Token *TokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenCallerSession) GetSharesByTokenAmount ¶
GetSharesByTokenAmount is a free data retrieval call binding the contract method 0xf8c16bbc.
Solidity: function getSharesByTokenAmount(uint256 tokenAmount) view returns(uint256)
func (*TokenCallerSession) GetTokenAmountByShares ¶
GetTokenAmountByShares is a free data retrieval call binding the contract method 0xe78bf0ba.
Solidity: function getTokenAmountByShares(uint256 sharesAmount) view returns(uint256)
func (*TokenCallerSession) LastRebaseTime ¶
func (_Token *TokenCallerSession) LastRebaseTime() (*big.Int, error)
LastRebaseTime is a free data retrieval call binding the contract method 0x1924063e.
Solidity: function lastRebaseTime() view returns(uint256)
func (*TokenCallerSession) MinRebaseInterval ¶
func (_Token *TokenCallerSession) MinRebaseInterval() (*big.Int, error)
MinRebaseInterval is a free data retrieval call binding the contract method 0xe33a2c51.
Solidity: function minRebaseInterval() view returns(uint256)
func (*TokenCallerSession) Name ¶
func (_Token *TokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenCallerSession) Owner ¶
func (_Token *TokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCallerSession) PendingOwner ¶
func (_Token *TokenCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*TokenCallerSession) PlpAddressPool ¶
func (_Token *TokenCallerSession) PlpAddressPool() (common.Address, error)
PlpAddressPool is a free data retrieval call binding the contract method 0x329fd4c2.
Solidity: function plpAddressPool() view returns(address)
func (*TokenCallerSession) SharesOf ¶
SharesOf is a free data retrieval call binding the contract method 0xf5eb42dc.
Solidity: function sharesOf(address account) view returns(uint256)
func (*TokenCallerSession) Symbol ¶
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenCallerSession) TotalShares ¶
func (_Token *TokenCallerSession) TotalShares() (*big.Int, error)
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*TokenCallerSession) TotalSupply ¶
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterApproval ¶
func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterBurnShares ¶
func (_Token *TokenFilterer) FilterBurnShares(opts *bind.FilterOpts, account []common.Address) (*TokenBurnSharesIterator, error)
FilterBurnShares is a free log retrieval operation binding the contract event 0x5c482005cb92f4606eb4f7244f8978adb96c9dfff9ab5c5be326273f0610fe45.
Solidity: event BurnShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) FilterInitialized ¶
func (_Token *TokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TokenInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) FilterMintShares ¶
func (_Token *TokenFilterer) FilterMintShares(opts *bind.FilterOpts, account []common.Address) (*TokenMintSharesIterator, error)
FilterMintShares is a free log retrieval operation binding the contract event 0xe0db2c42b942601357f9499d6f0520c824b2ce7513135a456b661d1d3e45de5e.
Solidity: event MintShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) FilterOwnershipTransferStarted ¶
func (_Token *TokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) FilterOwnershipTransferred ¶
func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) FilterRebase ¶
func (_Token *TokenFilterer) FilterRebase(opts *bind.FilterOpts, rebaseTime []*big.Int) (*TokenRebaseIterator, error)
FilterRebase is a free log retrieval operation binding the contract event 0x73fc076a6dc311c86aa8be0baa48f246eeb171cb2728ea07541508e63767d9de.
Solidity: event Rebase(uint256 indexed rebaseTime, uint256 sharesAmount, uint256 oldBaseReserve, uint256 newBaseReserve)
func (*TokenFilterer) FilterSetMinRebaseInterval ¶
func (_Token *TokenFilterer) FilterSetMinRebaseInterval(opts *bind.FilterOpts) (*TokenSetMinRebaseIntervalIterator, error)
FilterSetMinRebaseInterval is a free log retrieval operation binding the contract event 0x8eaa77a90fc69fdf64439feae9f343c4781bd92da067cf5875770b4db2c28319.
Solidity: event SetMinRebaseInterval(uint256 minRebaseInterval)
func (*TokenFilterer) FilterSetPlpAddressPool ¶
func (_Token *TokenFilterer) FilterSetPlpAddressPool(opts *bind.FilterOpts) (*TokenSetPlpAddressPoolIterator, error)
FilterSetPlpAddressPool is a free log retrieval operation binding the contract event 0xb05aa80f4d46de3be3c7dfb3ff4755c02487412d66a301e4b032b2b4db9cefea.
Solidity: event SetPlpAddressPool(address plpAddressPool)
func (*TokenFilterer) FilterTransfer ¶
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, 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 (*TokenFilterer) FilterTransferShares ¶
func (_Token *TokenFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferSharesIterator, error)
FilterTransferShares is a free log retrieval operation binding the contract event 0x9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb.
Solidity: event TransferShares(address indexed from, address indexed to, uint256 sharesAmount)
func (*TokenFilterer) ParseApproval ¶
func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*TokenFilterer) ParseBurnShares ¶
func (_Token *TokenFilterer) ParseBurnShares(log types.Log) (*TokenBurnShares, error)
ParseBurnShares is a log parse operation binding the contract event 0x5c482005cb92f4606eb4f7244f8978adb96c9dfff9ab5c5be326273f0610fe45.
Solidity: event BurnShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) ParseInitialized ¶
func (_Token *TokenFilterer) ParseInitialized(log types.Log) (*TokenInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) ParseMintShares ¶
func (_Token *TokenFilterer) ParseMintShares(log types.Log) (*TokenMintShares, error)
ParseMintShares is a log parse operation binding the contract event 0xe0db2c42b942601357f9499d6f0520c824b2ce7513135a456b661d1d3e45de5e.
Solidity: event MintShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) ParseOwnershipTransferStarted ¶
func (_Token *TokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*TokenOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) ParseOwnershipTransferred ¶
func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) ParseRebase ¶
func (_Token *TokenFilterer) ParseRebase(log types.Log) (*TokenRebase, error)
ParseRebase is a log parse operation binding the contract event 0x73fc076a6dc311c86aa8be0baa48f246eeb171cb2728ea07541508e63767d9de.
Solidity: event Rebase(uint256 indexed rebaseTime, uint256 sharesAmount, uint256 oldBaseReserve, uint256 newBaseReserve)
func (*TokenFilterer) ParseSetMinRebaseInterval ¶
func (_Token *TokenFilterer) ParseSetMinRebaseInterval(log types.Log) (*TokenSetMinRebaseInterval, error)
ParseSetMinRebaseInterval is a log parse operation binding the contract event 0x8eaa77a90fc69fdf64439feae9f343c4781bd92da067cf5875770b4db2c28319.
Solidity: event SetMinRebaseInterval(uint256 minRebaseInterval)
func (*TokenFilterer) ParseSetPlpAddressPool ¶
func (_Token *TokenFilterer) ParseSetPlpAddressPool(log types.Log) (*TokenSetPlpAddressPool, error)
ParseSetPlpAddressPool is a log parse operation binding the contract event 0xb05aa80f4d46de3be3c7dfb3ff4755c02487412d66a301e4b032b2b4db9cefea.
Solidity: event SetPlpAddressPool(address plpAddressPool)
func (*TokenFilterer) ParseTransfer ¶
func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*TokenFilterer) ParseTransferShares ¶
func (_Token *TokenFilterer) ParseTransferShares(log types.Log) (*TokenTransferShares, error)
ParseTransferShares is a log parse operation binding the contract event 0x9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb.
Solidity: event TransferShares(address indexed from, address indexed to, uint256 sharesAmount)
func (*TokenFilterer) WatchApproval ¶
func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchBurnShares ¶
func (_Token *TokenFilterer) WatchBurnShares(opts *bind.WatchOpts, sink chan<- *TokenBurnShares, account []common.Address) (event.Subscription, error)
WatchBurnShares is a free log subscription operation binding the contract event 0x5c482005cb92f4606eb4f7244f8978adb96c9dfff9ab5c5be326273f0610fe45.
Solidity: event BurnShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) WatchInitialized ¶
func (_Token *TokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TokenInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) WatchMintShares ¶
func (_Token *TokenFilterer) WatchMintShares(opts *bind.WatchOpts, sink chan<- *TokenMintShares, account []common.Address) (event.Subscription, error)
WatchMintShares is a free log subscription operation binding the contract event 0xe0db2c42b942601357f9499d6f0520c824b2ce7513135a456b661d1d3e45de5e.
Solidity: event MintShares(address indexed account, uint256 sharesAmount)
func (*TokenFilterer) WatchOwnershipTransferStarted ¶
func (_Token *TokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) WatchOwnershipTransferred ¶
func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, 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 (*TokenFilterer) WatchRebase ¶
func (_Token *TokenFilterer) WatchRebase(opts *bind.WatchOpts, sink chan<- *TokenRebase, rebaseTime []*big.Int) (event.Subscription, error)
WatchRebase is a free log subscription operation binding the contract event 0x73fc076a6dc311c86aa8be0baa48f246eeb171cb2728ea07541508e63767d9de.
Solidity: event Rebase(uint256 indexed rebaseTime, uint256 sharesAmount, uint256 oldBaseReserve, uint256 newBaseReserve)
func (*TokenFilterer) WatchSetMinRebaseInterval ¶
func (_Token *TokenFilterer) WatchSetMinRebaseInterval(opts *bind.WatchOpts, sink chan<- *TokenSetMinRebaseInterval) (event.Subscription, error)
WatchSetMinRebaseInterval is a free log subscription operation binding the contract event 0x8eaa77a90fc69fdf64439feae9f343c4781bd92da067cf5875770b4db2c28319.
Solidity: event SetMinRebaseInterval(uint256 minRebaseInterval)
func (*TokenFilterer) WatchSetPlpAddressPool ¶
func (_Token *TokenFilterer) WatchSetPlpAddressPool(opts *bind.WatchOpts, sink chan<- *TokenSetPlpAddressPool) (event.Subscription, error)
WatchSetPlpAddressPool is a free log subscription operation binding the contract event 0xb05aa80f4d46de3be3c7dfb3ff4755c02487412d66a301e4b032b2b4db9cefea.
Solidity: event SetPlpAddressPool(address plpAddressPool)
func (*TokenFilterer) WatchTransfer ¶
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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 (*TokenFilterer) WatchTransferShares ¶
func (_Token *TokenFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *TokenTransferShares, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransferShares is a free log subscription operation binding the contract event 0x9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb.
Solidity: event TransferShares(address indexed from, address indexed to, uint256 sharesAmount)
type TokenInitialized ¶
type TokenInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
TokenInitialized represents a Initialized event raised by the Token contract.
type TokenInitializedIterator ¶
type TokenInitializedIterator struct { Event *TokenInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Token contract.
func (*TokenInitializedIterator) Close ¶
func (it *TokenInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenInitializedIterator) Error ¶
func (it *TokenInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenInitializedIterator) Next ¶
func (it *TokenInitializedIterator) 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 TokenMintShares ¶
type TokenMintShares struct {}
TokenMintShares represents a MintShares event raised by the Token contract.
type TokenMintSharesIterator ¶
type TokenMintSharesIterator struct { // contains filtered or unexported fields }
TokenMintSharesIterator is returned from FilterMintShares and is used to iterate over the raw logs and unpacked data for MintShares events raised by the Token contract.
func (*TokenMintSharesIterator) Close ¶
func (it *TokenMintSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenMintSharesIterator) Error ¶
func (it *TokenMintSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenMintSharesIterator) Next ¶
func (it *TokenMintSharesIterator) 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 TokenOwnershipTransferStarted ¶
type TokenOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the Token contract.
type TokenOwnershipTransferStartedIterator ¶
type TokenOwnershipTransferStartedIterator struct { Event *TokenOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the Token contract.
func (*TokenOwnershipTransferStartedIterator) Close ¶
func (it *TokenOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnershipTransferStartedIterator) Error ¶
func (it *TokenOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnershipTransferStartedIterator) Next ¶
func (it *TokenOwnershipTransferStartedIterator) 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 TokenOwnershipTransferred ¶
type TokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnershipTransferred represents a OwnershipTransferred event raised by the Token contract.
type TokenOwnershipTransferredIterator ¶
type TokenOwnershipTransferredIterator struct { Event *TokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Token contract.
func (*TokenOwnershipTransferredIterator) Close ¶
func (it *TokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnershipTransferredIterator) Error ¶
func (it *TokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnershipTransferredIterator) Next ¶
func (it *TokenOwnershipTransferredIterator) 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 TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenRebase ¶
type TokenRebase struct { RebaseTime *big.Int OldBaseReserve *big.Int NewBaseReserve *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenRebase represents a Rebase event raised by the Token contract.
type TokenRebaseIterator ¶
type TokenRebaseIterator struct { Event *TokenRebase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenRebaseIterator is returned from FilterRebase and is used to iterate over the raw logs and unpacked data for Rebase events raised by the Token contract.
func (*TokenRebaseIterator) Close ¶
func (it *TokenRebaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenRebaseIterator) Error ¶
func (it *TokenRebaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenRebaseIterator) Next ¶
func (it *TokenRebaseIterator) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) AcceptOwnership ¶
func (_Token *TokenSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*TokenSession) Allowance ¶
func (_Token *TokenSession) 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 (*TokenSession) Approve ¶
func (_Token *TokenSession) 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 (*TokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenSession) Burn ¶
func (_Token *TokenSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns()
func (*TokenSession) Decimals ¶
func (_Token *TokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenSession) GetSharesByTokenAmount ¶
GetSharesByTokenAmount is a free data retrieval call binding the contract method 0xf8c16bbc.
Solidity: function getSharesByTokenAmount(uint256 tokenAmount) view returns(uint256)
func (*TokenSession) GetTokenAmountByShares ¶
GetTokenAmountByShares is a free data retrieval call binding the contract method 0xe78bf0ba.
Solidity: function getTokenAmountByShares(uint256 sharesAmount) view returns(uint256)
func (*TokenSession) Initialize ¶
func (_Token *TokenSession) Initialize(name_ string, symbol_ string, decimals_ uint8, owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address owner_) returns()
func (*TokenSession) LastRebaseTime ¶
func (_Token *TokenSession) LastRebaseTime() (*big.Int, error)
LastRebaseTime is a free data retrieval call binding the contract method 0x1924063e.
Solidity: function lastRebaseTime() view returns(uint256)
func (*TokenSession) MinRebaseInterval ¶
func (_Token *TokenSession) MinRebaseInterval() (*big.Int, error)
MinRebaseInterval is a free data retrieval call binding the contract method 0xe33a2c51.
Solidity: function minRebaseInterval() view returns(uint256)
func (*TokenSession) Mint ¶
func (_Token *TokenSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns()
func (*TokenSession) Name ¶
func (_Token *TokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenSession) Owner ¶
func (_Token *TokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenSession) PendingOwner ¶
func (_Token *TokenSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*TokenSession) PlpAddressPool ¶
func (_Token *TokenSession) PlpAddressPool() (common.Address, error)
PlpAddressPool is a free data retrieval call binding the contract method 0x329fd4c2.
Solidity: function plpAddressPool() view returns(address)
func (*TokenSession) Rebase ¶
func (_Token *TokenSession) Rebase() (*types.Transaction, error)
Rebase is a paid mutator transaction binding the contract method 0xaf14052c.
Solidity: function rebase() returns()
func (*TokenSession) RenounceOwnership ¶
func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenSession) SetMinRebaseInterval ¶
func (_Token *TokenSession) SetMinRebaseInterval(minRebaseInterval_ *big.Int) (*types.Transaction, error)
SetMinRebaseInterval is a paid mutator transaction binding the contract method 0x744384f2.
Solidity: function setMinRebaseInterval(uint256 minRebaseInterval_) returns()
func (*TokenSession) SetPlpAddressPool ¶
func (_Token *TokenSession) SetPlpAddressPool(plpAddressPool_ common.Address) (*types.Transaction, error)
SetPlpAddressPool is a paid mutator transaction binding the contract method 0xcced5796.
Solidity: function setPlpAddressPool(address plpAddressPool_) returns()
func (*TokenSession) SharesOf ¶
SharesOf is a free data retrieval call binding the contract method 0xf5eb42dc.
Solidity: function sharesOf(address account) view returns(uint256)
func (*TokenSession) Symbol ¶
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenSession) TotalShares ¶
func (_Token *TokenSession) TotalShares() (*big.Int, error)
TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.
Solidity: function totalShares() view returns(uint256)
func (*TokenSession) TotalSupply ¶
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenSession) Transfer ¶
func (_Token *TokenSession) Transfer(recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient_, uint256 amount_) returns(bool)
func (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) TransferFrom(sender_ common.Address, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender_, address recipient_, uint256 amount_) returns(bool)
func (*TokenSession) TransferOwnership ¶
func (_Token *TokenSession) 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 TokenSetMinRebaseInterval ¶
type TokenSetMinRebaseInterval struct { MinRebaseInterval *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenSetMinRebaseInterval represents a SetMinRebaseInterval event raised by the Token contract.
type TokenSetMinRebaseIntervalIterator ¶
type TokenSetMinRebaseIntervalIterator struct { Event *TokenSetMinRebaseInterval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenSetMinRebaseIntervalIterator is returned from FilterSetMinRebaseInterval and is used to iterate over the raw logs and unpacked data for SetMinRebaseInterval events raised by the Token contract.
func (*TokenSetMinRebaseIntervalIterator) Close ¶
func (it *TokenSetMinRebaseIntervalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenSetMinRebaseIntervalIterator) Error ¶
func (it *TokenSetMinRebaseIntervalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenSetMinRebaseIntervalIterator) Next ¶
func (it *TokenSetMinRebaseIntervalIterator) 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 TokenSetPlpAddressPool ¶
type TokenSetPlpAddressPool struct { PlpAddressPool common.Address Raw types.Log // Blockchain specific contextual infos }
TokenSetPlpAddressPool represents a SetPlpAddressPool event raised by the Token contract.
type TokenSetPlpAddressPoolIterator ¶
type TokenSetPlpAddressPoolIterator struct { Event *TokenSetPlpAddressPool // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenSetPlpAddressPoolIterator is returned from FilterSetPlpAddressPool and is used to iterate over the raw logs and unpacked data for SetPlpAddressPool events raised by the Token contract.
func (*TokenSetPlpAddressPoolIterator) Close ¶
func (it *TokenSetPlpAddressPoolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenSetPlpAddressPoolIterator) Error ¶
func (it *TokenSetPlpAddressPoolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenSetPlpAddressPoolIterator) Next ¶
func (it *TokenSetPlpAddressPoolIterator) 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 TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) AcceptOwnership ¶
func (_Token *TokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*TokenTransactor) Approve ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) Burn ¶
func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns()
func (*TokenTransactor) Initialize ¶
func (_Token *TokenTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address owner_) returns()
func (*TokenTransactor) Mint ¶
func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns()
func (*TokenTransactor) Rebase ¶
func (_Token *TokenTransactor) Rebase(opts *bind.TransactOpts) (*types.Transaction, error)
Rebase is a paid mutator transaction binding the contract method 0xaf14052c.
Solidity: function rebase() returns()
func (*TokenTransactor) RenounceOwnership ¶
func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactor) SetMinRebaseInterval ¶
func (_Token *TokenTransactor) SetMinRebaseInterval(opts *bind.TransactOpts, minRebaseInterval_ *big.Int) (*types.Transaction, error)
SetMinRebaseInterval is a paid mutator transaction binding the contract method 0x744384f2.
Solidity: function setMinRebaseInterval(uint256 minRebaseInterval_) returns()
func (*TokenTransactor) SetPlpAddressPool ¶
func (_Token *TokenTransactor) SetPlpAddressPool(opts *bind.TransactOpts, plpAddressPool_ common.Address) (*types.Transaction, error)
SetPlpAddressPool is a paid mutator transaction binding the contract method 0xcced5796.
Solidity: function setPlpAddressPool(address plpAddressPool_) returns()
func (*TokenTransactor) Transfer ¶
func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient_, uint256 amount_) returns(bool)
func (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, sender_ common.Address, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender_, address recipient_, uint256 amount_) returns(bool)
func (*TokenTransactor) TransferOwnership ¶
func (_Token *TokenTransactor) 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 TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) AcceptOwnership ¶
func (_Token *TokenTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*TokenTransactorSession) Approve ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Burn ¶
func (_Token *TokenTransactorSession) Burn(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account_, uint256 amount_) returns()
func (*TokenTransactorSession) Initialize ¶
func (_Token *TokenTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address owner_) returns()
func (*TokenTransactorSession) Mint ¶
func (_Token *TokenTransactorSession) Mint(account_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account_, uint256 amount_) returns()
func (*TokenTransactorSession) Rebase ¶
func (_Token *TokenTransactorSession) Rebase() (*types.Transaction, error)
Rebase is a paid mutator transaction binding the contract method 0xaf14052c.
Solidity: function rebase() returns()
func (*TokenTransactorSession) RenounceOwnership ¶
func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactorSession) SetMinRebaseInterval ¶
func (_Token *TokenTransactorSession) SetMinRebaseInterval(minRebaseInterval_ *big.Int) (*types.Transaction, error)
SetMinRebaseInterval is a paid mutator transaction binding the contract method 0x744384f2.
Solidity: function setMinRebaseInterval(uint256 minRebaseInterval_) returns()
func (*TokenTransactorSession) SetPlpAddressPool ¶
func (_Token *TokenTransactorSession) SetPlpAddressPool(plpAddressPool_ common.Address) (*types.Transaction, error)
SetPlpAddressPool is a paid mutator transaction binding the contract method 0xcced5796.
Solidity: function setPlpAddressPool(address plpAddressPool_) returns()
func (*TokenTransactorSession) Transfer ¶
func (_Token *TokenTransactorSession) Transfer(recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient_, uint256 amount_) returns(bool)
func (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) TransferFrom(sender_ common.Address, recipient_ common.Address, amount_ *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender_, address recipient_, uint256 amount_) returns(bool)
func (*TokenTransactorSession) TransferOwnership ¶
func (_Token *TokenTransactorSession) 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 TokenTransfer ¶
type TokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶
func (it *TokenTransferIterator) 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 TokenTransferShares ¶
type TokenTransferShares struct {}
TokenTransferShares represents a TransferShares event raised by the Token contract.
type TokenTransferSharesIterator ¶
type TokenTransferSharesIterator struct { // contains filtered or unexported fields }
TokenTransferSharesIterator is returned from FilterTransferShares and is used to iterate over the raw logs and unpacked data for TransferShares events raised by the Token contract.
func (*TokenTransferSharesIterator) Close ¶
func (it *TokenTransferSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferSharesIterator) Error ¶
func (it *TokenTransferSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferSharesIterator) Next ¶
func (it *TokenTransferSharesIterator) 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.