cakevault

package
v0.0.0-...-d2c779c Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CakevaultABI = "" /* 9301-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Cakevault

type Cakevault struct {
	CakevaultCaller     // Read-only binding to the contract
	CakevaultTransactor // Write-only binding to the contract
	CakevaultFilterer   // Log filterer for contract events
}

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

func NewCakevault

func NewCakevault(address common.Address, backend bind.ContractBackend) (*Cakevault, error)

NewCakevault creates a new instance of Cakevault, bound to a specific deployed contract.

type CakevaultCaller

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

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

func NewCakevaultCaller

func NewCakevaultCaller(address common.Address, caller bind.ContractCaller) (*CakevaultCaller, error)

NewCakevaultCaller creates a new read-only instance of Cakevault, bound to a specific deployed contract.

func (*CakevaultCaller) Admin

func (_Cakevault *CakevaultCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CakevaultCaller) Available

func (_Cakevault *CakevaultCaller) Available(opts *bind.CallOpts) (*big.Int, error)

Available is a free data retrieval call binding the contract method 0x48a0d754.

Solidity: function available() view returns(uint256)

func (*CakevaultCaller) BalanceOf

func (_Cakevault *CakevaultCaller) BalanceOf(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function balanceOf() view returns(uint256)

func (*CakevaultCaller) CalculateHarvestCakeRewards

func (_Cakevault *CakevaultCaller) CalculateHarvestCakeRewards(opts *bind.CallOpts) (*big.Int, error)

CalculateHarvestCakeRewards is a free data retrieval call binding the contract method 0x9d72596b.

Solidity: function calculateHarvestCakeRewards() view returns(uint256)

func (*CakevaultCaller) CalculateTotalPendingCakeRewards

func (_Cakevault *CakevaultCaller) CalculateTotalPendingCakeRewards(opts *bind.CallOpts) (*big.Int, error)

CalculateTotalPendingCakeRewards is a free data retrieval call binding the contract method 0x58ebceb6.

Solidity: function calculateTotalPendingCakeRewards() view returns(uint256)

func (*CakevaultCaller) CallFee

func (_Cakevault *CakevaultCaller) CallFee(opts *bind.CallOpts) (*big.Int, error)

CallFee is a free data retrieval call binding the contract method 0x90321e1a.

Solidity: function callFee() view returns(uint256)

func (*CakevaultCaller) GetPricePerFullShare

func (_Cakevault *CakevaultCaller) GetPricePerFullShare(opts *bind.CallOpts) (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*CakevaultCaller) LastHarvestedTime

func (_Cakevault *CakevaultCaller) LastHarvestedTime(opts *bind.CallOpts) (*big.Int, error)

LastHarvestedTime is a free data retrieval call binding the contract method 0xb60f0531.

Solidity: function lastHarvestedTime() view returns(uint256)

func (*CakevaultCaller) MAXCALLFEE

func (_Cakevault *CakevaultCaller) MAXCALLFEE(opts *bind.CallOpts) (*big.Int, error)

MAXCALLFEE is a free data retrieval call binding the contract method 0x2ad5a53f.

Solidity: function MAX_CALL_FEE() view returns(uint256)

func (*CakevaultCaller) MAXPERFORMANCEFEE

func (_Cakevault *CakevaultCaller) MAXPERFORMANCEFEE(opts *bind.CallOpts) (*big.Int, error)

MAXPERFORMANCEFEE is a free data retrieval call binding the contract method 0xbdca9165.

Solidity: function MAX_PERFORMANCE_FEE() view returns(uint256)

func (*CakevaultCaller) MAXWITHDRAWFEE

func (_Cakevault *CakevaultCaller) MAXWITHDRAWFEE(opts *bind.CallOpts) (*big.Int, error)

MAXWITHDRAWFEE is a free data retrieval call binding the contract method 0xd4b0de2f.

Solidity: function MAX_WITHDRAW_FEE() view returns(uint256)

func (*CakevaultCaller) MAXWITHDRAWFEEPERIOD

func (_Cakevault *CakevaultCaller) MAXWITHDRAWFEEPERIOD(opts *bind.CallOpts) (*big.Int, error)

MAXWITHDRAWFEEPERIOD is a free data retrieval call binding the contract method 0x2cfc5f01.

Solidity: function MAX_WITHDRAW_FEE_PERIOD() view returns(uint256)

func (*CakevaultCaller) Masterchef

func (_Cakevault *CakevaultCaller) Masterchef(opts *bind.CallOpts) (common.Address, error)

Masterchef is a free data retrieval call binding the contract method 0xfb1db278.

Solidity: function masterchef() view returns(address)

func (*CakevaultCaller) Owner

func (_Cakevault *CakevaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakevaultCaller) Paused

func (_Cakevault *CakevaultCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CakevaultCaller) PerformanceFee

func (_Cakevault *CakevaultCaller) PerformanceFee(opts *bind.CallOpts) (*big.Int, error)

PerformanceFee is a free data retrieval call binding the contract method 0x87788782.

Solidity: function performanceFee() view returns(uint256)

func (*CakevaultCaller) ReceiptToken

func (_Cakevault *CakevaultCaller) ReceiptToken(opts *bind.CallOpts) (common.Address, error)

ReceiptToken is a free data retrieval call binding the contract method 0xec78e832.

Solidity: function receiptToken() view returns(address)

func (*CakevaultCaller) Token

func (_Cakevault *CakevaultCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CakevaultCaller) TotalShares

func (_Cakevault *CakevaultCaller) TotalShares(opts *bind.CallOpts) (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*CakevaultCaller) Treasury

func (_Cakevault *CakevaultCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*CakevaultCaller) UserInfo

func (_Cakevault *CakevaultCaller) UserInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 shares, uint256 lastDepositedTime, uint256 cakeAtLastUserAction, uint256 lastUserActionTime)

func (*CakevaultCaller) WithdrawFee

func (_Cakevault *CakevaultCaller) WithdrawFee(opts *bind.CallOpts) (*big.Int, error)

WithdrawFee is a free data retrieval call binding the contract method 0xe941fa78.

Solidity: function withdrawFee() view returns(uint256)

func (*CakevaultCaller) WithdrawFeePeriod

func (_Cakevault *CakevaultCaller) WithdrawFeePeriod(opts *bind.CallOpts) (*big.Int, error)

WithdrawFeePeriod is a free data retrieval call binding the contract method 0xdf10b4e6.

Solidity: function withdrawFeePeriod() view returns(uint256)

type CakevaultCallerRaw

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

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

func (*CakevaultCallerRaw) Call

func (_Cakevault *CakevaultCallerRaw) 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 CakevaultCallerSession

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

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

func (*CakevaultCallerSession) Admin

func (_Cakevault *CakevaultCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CakevaultCallerSession) Available

func (_Cakevault *CakevaultCallerSession) Available() (*big.Int, error)

Available is a free data retrieval call binding the contract method 0x48a0d754.

Solidity: function available() view returns(uint256)

func (*CakevaultCallerSession) BalanceOf

func (_Cakevault *CakevaultCallerSession) BalanceOf() (*big.Int, error)

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

Solidity: function balanceOf() view returns(uint256)

func (*CakevaultCallerSession) CalculateHarvestCakeRewards

func (_Cakevault *CakevaultCallerSession) CalculateHarvestCakeRewards() (*big.Int, error)

CalculateHarvestCakeRewards is a free data retrieval call binding the contract method 0x9d72596b.

Solidity: function calculateHarvestCakeRewards() view returns(uint256)

func (*CakevaultCallerSession) CalculateTotalPendingCakeRewards

func (_Cakevault *CakevaultCallerSession) CalculateTotalPendingCakeRewards() (*big.Int, error)

CalculateTotalPendingCakeRewards is a free data retrieval call binding the contract method 0x58ebceb6.

Solidity: function calculateTotalPendingCakeRewards() view returns(uint256)

func (*CakevaultCallerSession) CallFee

func (_Cakevault *CakevaultCallerSession) CallFee() (*big.Int, error)

CallFee is a free data retrieval call binding the contract method 0x90321e1a.

Solidity: function callFee() view returns(uint256)

func (*CakevaultCallerSession) GetPricePerFullShare

func (_Cakevault *CakevaultCallerSession) GetPricePerFullShare() (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*CakevaultCallerSession) LastHarvestedTime

func (_Cakevault *CakevaultCallerSession) LastHarvestedTime() (*big.Int, error)

LastHarvestedTime is a free data retrieval call binding the contract method 0xb60f0531.

Solidity: function lastHarvestedTime() view returns(uint256)

func (*CakevaultCallerSession) MAXCALLFEE

func (_Cakevault *CakevaultCallerSession) MAXCALLFEE() (*big.Int, error)

MAXCALLFEE is a free data retrieval call binding the contract method 0x2ad5a53f.

Solidity: function MAX_CALL_FEE() view returns(uint256)

func (*CakevaultCallerSession) MAXPERFORMANCEFEE

func (_Cakevault *CakevaultCallerSession) MAXPERFORMANCEFEE() (*big.Int, error)

MAXPERFORMANCEFEE is a free data retrieval call binding the contract method 0xbdca9165.

Solidity: function MAX_PERFORMANCE_FEE() view returns(uint256)

func (*CakevaultCallerSession) MAXWITHDRAWFEE

func (_Cakevault *CakevaultCallerSession) MAXWITHDRAWFEE() (*big.Int, error)

MAXWITHDRAWFEE is a free data retrieval call binding the contract method 0xd4b0de2f.

Solidity: function MAX_WITHDRAW_FEE() view returns(uint256)

func (*CakevaultCallerSession) MAXWITHDRAWFEEPERIOD

func (_Cakevault *CakevaultCallerSession) MAXWITHDRAWFEEPERIOD() (*big.Int, error)

MAXWITHDRAWFEEPERIOD is a free data retrieval call binding the contract method 0x2cfc5f01.

Solidity: function MAX_WITHDRAW_FEE_PERIOD() view returns(uint256)

func (*CakevaultCallerSession) Masterchef

func (_Cakevault *CakevaultCallerSession) Masterchef() (common.Address, error)

Masterchef is a free data retrieval call binding the contract method 0xfb1db278.

Solidity: function masterchef() view returns(address)

func (*CakevaultCallerSession) Owner

func (_Cakevault *CakevaultCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakevaultCallerSession) Paused

func (_Cakevault *CakevaultCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CakevaultCallerSession) PerformanceFee

func (_Cakevault *CakevaultCallerSession) PerformanceFee() (*big.Int, error)

PerformanceFee is a free data retrieval call binding the contract method 0x87788782.

Solidity: function performanceFee() view returns(uint256)

func (*CakevaultCallerSession) ReceiptToken

func (_Cakevault *CakevaultCallerSession) ReceiptToken() (common.Address, error)

ReceiptToken is a free data retrieval call binding the contract method 0xec78e832.

Solidity: function receiptToken() view returns(address)

func (*CakevaultCallerSession) Token

func (_Cakevault *CakevaultCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CakevaultCallerSession) TotalShares

func (_Cakevault *CakevaultCallerSession) TotalShares() (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*CakevaultCallerSession) Treasury

func (_Cakevault *CakevaultCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*CakevaultCallerSession) UserInfo

func (_Cakevault *CakevaultCallerSession) UserInfo(arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 shares, uint256 lastDepositedTime, uint256 cakeAtLastUserAction, uint256 lastUserActionTime)

func (*CakevaultCallerSession) WithdrawFee

func (_Cakevault *CakevaultCallerSession) WithdrawFee() (*big.Int, error)

WithdrawFee is a free data retrieval call binding the contract method 0xe941fa78.

Solidity: function withdrawFee() view returns(uint256)

func (*CakevaultCallerSession) WithdrawFeePeriod

func (_Cakevault *CakevaultCallerSession) WithdrawFeePeriod() (*big.Int, error)

WithdrawFeePeriod is a free data retrieval call binding the contract method 0xdf10b4e6.

Solidity: function withdrawFeePeriod() view returns(uint256)

type CakevaultDeposit

type CakevaultDeposit struct {
	Sender            common.Address
	Amount            *big.Int
	Shares            *big.Int
	LastDepositedTime *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

CakevaultDeposit represents a Deposit event raised by the Cakevault contract.

type CakevaultDepositIterator

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

CakevaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Cakevault contract.

func (*CakevaultDepositIterator) Close

func (it *CakevaultDepositIterator) Close() error

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

func (*CakevaultDepositIterator) Error

func (it *CakevaultDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultDepositIterator) Next

func (it *CakevaultDepositIterator) 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 CakevaultFilterer

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

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

func NewCakevaultFilterer

func NewCakevaultFilterer(address common.Address, filterer bind.ContractFilterer) (*CakevaultFilterer, error)

NewCakevaultFilterer creates a new log filterer instance of Cakevault, bound to a specific deployed contract.

func (*CakevaultFilterer) FilterDeposit

func (_Cakevault *CakevaultFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address) (*CakevaultDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime)

func (*CakevaultFilterer) FilterHarvest

func (_Cakevault *CakevaultFilterer) FilterHarvest(opts *bind.FilterOpts, sender []common.Address) (*CakevaultHarvestIterator, error)

FilterHarvest is a free log retrieval operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee)

func (*CakevaultFilterer) FilterOwnershipTransferred

func (_Cakevault *CakevaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CakevaultOwnershipTransferredIterator, error)

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

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

func (*CakevaultFilterer) FilterPause

func (_Cakevault *CakevaultFilterer) FilterPause(opts *bind.FilterOpts) (*CakevaultPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*CakevaultFilterer) FilterPaused

func (_Cakevault *CakevaultFilterer) FilterPaused(opts *bind.FilterOpts) (*CakevaultPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CakevaultFilterer) FilterUnpause

func (_Cakevault *CakevaultFilterer) FilterUnpause(opts *bind.FilterOpts) (*CakevaultUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*CakevaultFilterer) FilterUnpaused

func (_Cakevault *CakevaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CakevaultUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CakevaultFilterer) FilterWithdraw

func (_Cakevault *CakevaultFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*CakevaultWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed sender, uint256 amount, uint256 shares)

func (*CakevaultFilterer) ParseDeposit

func (_Cakevault *CakevaultFilterer) ParseDeposit(log types.Log) (*CakevaultDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime)

func (*CakevaultFilterer) ParseHarvest

func (_Cakevault *CakevaultFilterer) ParseHarvest(log types.Log) (*CakevaultHarvest, error)

ParseHarvest is a log parse operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee)

func (*CakevaultFilterer) ParseOwnershipTransferred

func (_Cakevault *CakevaultFilterer) ParseOwnershipTransferred(log types.Log) (*CakevaultOwnershipTransferred, error)

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

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

func (*CakevaultFilterer) ParsePause

func (_Cakevault *CakevaultFilterer) ParsePause(log types.Log) (*CakevaultPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*CakevaultFilterer) ParsePaused

func (_Cakevault *CakevaultFilterer) ParsePaused(log types.Log) (*CakevaultPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CakevaultFilterer) ParseUnpause

func (_Cakevault *CakevaultFilterer) ParseUnpause(log types.Log) (*CakevaultUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*CakevaultFilterer) ParseUnpaused

func (_Cakevault *CakevaultFilterer) ParseUnpaused(log types.Log) (*CakevaultUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CakevaultFilterer) ParseWithdraw

func (_Cakevault *CakevaultFilterer) ParseWithdraw(log types.Log) (*CakevaultWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed sender, uint256 amount, uint256 shares)

func (*CakevaultFilterer) WatchDeposit

func (_Cakevault *CakevaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CakevaultDeposit, sender []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e.

Solidity: event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime)

func (*CakevaultFilterer) WatchHarvest

func (_Cakevault *CakevaultFilterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *CakevaultHarvest, sender []common.Address) (event.Subscription, error)

WatchHarvest is a free log subscription operation binding the contract event 0x71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954.

Solidity: event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee)

func (*CakevaultFilterer) WatchOwnershipTransferred

func (_Cakevault *CakevaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CakevaultOwnershipTransferred, 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 (*CakevaultFilterer) WatchPause

func (_Cakevault *CakevaultFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *CakevaultPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*CakevaultFilterer) WatchPaused

func (_Cakevault *CakevaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CakevaultPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CakevaultFilterer) WatchUnpause

func (_Cakevault *CakevaultFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *CakevaultUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*CakevaultFilterer) WatchUnpaused

func (_Cakevault *CakevaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CakevaultUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CakevaultFilterer) WatchWithdraw

func (_Cakevault *CakevaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CakevaultWithdraw, sender []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed sender, uint256 amount, uint256 shares)

type CakevaultHarvest

type CakevaultHarvest struct {
	Sender         common.Address
	PerformanceFee *big.Int
	CallFee        *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CakevaultHarvest represents a Harvest event raised by the Cakevault contract.

type CakevaultHarvestIterator

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

CakevaultHarvestIterator is returned from FilterHarvest and is used to iterate over the raw logs and unpacked data for Harvest events raised by the Cakevault contract.

func (*CakevaultHarvestIterator) Close

func (it *CakevaultHarvestIterator) Close() error

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

func (*CakevaultHarvestIterator) Error

func (it *CakevaultHarvestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultHarvestIterator) Next

func (it *CakevaultHarvestIterator) 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 CakevaultOwnershipTransferred

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

CakevaultOwnershipTransferred represents a OwnershipTransferred event raised by the Cakevault contract.

type CakevaultOwnershipTransferredIterator

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

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

func (*CakevaultOwnershipTransferredIterator) Close

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

func (*CakevaultOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultOwnershipTransferredIterator) Next

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

type CakevaultPause

type CakevaultPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

CakevaultPause represents a Pause event raised by the Cakevault contract.

type CakevaultPauseIterator

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

CakevaultPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Cakevault contract.

func (*CakevaultPauseIterator) Close

func (it *CakevaultPauseIterator) Close() error

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

func (*CakevaultPauseIterator) Error

func (it *CakevaultPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultPauseIterator) Next

func (it *CakevaultPauseIterator) 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 CakevaultPaused

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

CakevaultPaused represents a Paused event raised by the Cakevault contract.

type CakevaultPausedIterator

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

CakevaultPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Cakevault contract.

func (*CakevaultPausedIterator) Close

func (it *CakevaultPausedIterator) Close() error

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

func (*CakevaultPausedIterator) Error

func (it *CakevaultPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultPausedIterator) Next

func (it *CakevaultPausedIterator) 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 CakevaultRaw

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

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

func (*CakevaultRaw) Call

func (_Cakevault *CakevaultRaw) 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 (*CakevaultRaw) Transact

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

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

func (*CakevaultRaw) Transfer

func (_Cakevault *CakevaultRaw) 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 CakevaultSession

type CakevaultSession struct {
	Contract     *Cakevault        // 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
}

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

func (*CakevaultSession) Admin

func (_Cakevault *CakevaultSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CakevaultSession) Available

func (_Cakevault *CakevaultSession) Available() (*big.Int, error)

Available is a free data retrieval call binding the contract method 0x48a0d754.

Solidity: function available() view returns(uint256)

func (*CakevaultSession) BalanceOf

func (_Cakevault *CakevaultSession) BalanceOf() (*big.Int, error)

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

Solidity: function balanceOf() view returns(uint256)

func (*CakevaultSession) CalculateHarvestCakeRewards

func (_Cakevault *CakevaultSession) CalculateHarvestCakeRewards() (*big.Int, error)

CalculateHarvestCakeRewards is a free data retrieval call binding the contract method 0x9d72596b.

Solidity: function calculateHarvestCakeRewards() view returns(uint256)

func (*CakevaultSession) CalculateTotalPendingCakeRewards

func (_Cakevault *CakevaultSession) CalculateTotalPendingCakeRewards() (*big.Int, error)

CalculateTotalPendingCakeRewards is a free data retrieval call binding the contract method 0x58ebceb6.

Solidity: function calculateTotalPendingCakeRewards() view returns(uint256)

func (*CakevaultSession) CallFee

func (_Cakevault *CakevaultSession) CallFee() (*big.Int, error)

CallFee is a free data retrieval call binding the contract method 0x90321e1a.

Solidity: function callFee() view returns(uint256)

func (*CakevaultSession) Deposit

func (_Cakevault *CakevaultSession) Deposit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*CakevaultSession) EmergencyWithdraw

func (_Cakevault *CakevaultSession) EmergencyWithdraw() (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*CakevaultSession) GetPricePerFullShare

func (_Cakevault *CakevaultSession) GetPricePerFullShare() (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*CakevaultSession) Harvest

func (_Cakevault *CakevaultSession) Harvest() (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x4641257d.

Solidity: function harvest() returns()

func (*CakevaultSession) InCaseTokensGetStuck

func (_Cakevault *CakevaultSession) InCaseTokensGetStuck(_token common.Address) (*types.Transaction, error)

InCaseTokensGetStuck is a paid mutator transaction binding the contract method 0xdef68a9c.

Solidity: function inCaseTokensGetStuck(address _token) returns()

func (*CakevaultSession) LastHarvestedTime

func (_Cakevault *CakevaultSession) LastHarvestedTime() (*big.Int, error)

LastHarvestedTime is a free data retrieval call binding the contract method 0xb60f0531.

Solidity: function lastHarvestedTime() view returns(uint256)

func (*CakevaultSession) MAXCALLFEE

func (_Cakevault *CakevaultSession) MAXCALLFEE() (*big.Int, error)

MAXCALLFEE is a free data retrieval call binding the contract method 0x2ad5a53f.

Solidity: function MAX_CALL_FEE() view returns(uint256)

func (*CakevaultSession) MAXPERFORMANCEFEE

func (_Cakevault *CakevaultSession) MAXPERFORMANCEFEE() (*big.Int, error)

MAXPERFORMANCEFEE is a free data retrieval call binding the contract method 0xbdca9165.

Solidity: function MAX_PERFORMANCE_FEE() view returns(uint256)

func (*CakevaultSession) MAXWITHDRAWFEE

func (_Cakevault *CakevaultSession) MAXWITHDRAWFEE() (*big.Int, error)

MAXWITHDRAWFEE is a free data retrieval call binding the contract method 0xd4b0de2f.

Solidity: function MAX_WITHDRAW_FEE() view returns(uint256)

func (*CakevaultSession) MAXWITHDRAWFEEPERIOD

func (_Cakevault *CakevaultSession) MAXWITHDRAWFEEPERIOD() (*big.Int, error)

MAXWITHDRAWFEEPERIOD is a free data retrieval call binding the contract method 0x2cfc5f01.

Solidity: function MAX_WITHDRAW_FEE_PERIOD() view returns(uint256)

func (*CakevaultSession) Masterchef

func (_Cakevault *CakevaultSession) Masterchef() (common.Address, error)

Masterchef is a free data retrieval call binding the contract method 0xfb1db278.

Solidity: function masterchef() view returns(address)

func (*CakevaultSession) Owner

func (_Cakevault *CakevaultSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakevaultSession) Pause

func (_Cakevault *CakevaultSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CakevaultSession) Paused

func (_Cakevault *CakevaultSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CakevaultSession) PerformanceFee

func (_Cakevault *CakevaultSession) PerformanceFee() (*big.Int, error)

PerformanceFee is a free data retrieval call binding the contract method 0x87788782.

Solidity: function performanceFee() view returns(uint256)

func (*CakevaultSession) ReceiptToken

func (_Cakevault *CakevaultSession) ReceiptToken() (common.Address, error)

ReceiptToken is a free data retrieval call binding the contract method 0xec78e832.

Solidity: function receiptToken() view returns(address)

func (*CakevaultSession) RenounceOwnership

func (_Cakevault *CakevaultSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakevaultSession) SetAdmin

func (_Cakevault *CakevaultSession) SetAdmin(_admin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _admin) returns()

func (*CakevaultSession) SetCallFee

func (_Cakevault *CakevaultSession) SetCallFee(_callFee *big.Int) (*types.Transaction, error)

SetCallFee is a paid mutator transaction binding the contract method 0x26465826.

Solidity: function setCallFee(uint256 _callFee) returns()

func (*CakevaultSession) SetPerformanceFee

func (_Cakevault *CakevaultSession) SetPerformanceFee(_performanceFee *big.Int) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0x70897b23.

Solidity: function setPerformanceFee(uint256 _performanceFee) returns()

func (*CakevaultSession) SetTreasury

func (_Cakevault *CakevaultSession) SetTreasury(_treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*CakevaultSession) SetWithdrawFee

func (_Cakevault *CakevaultSession) SetWithdrawFee(_withdrawFee *big.Int) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(uint256 _withdrawFee) returns()

func (*CakevaultSession) SetWithdrawFeePeriod

func (_Cakevault *CakevaultSession) SetWithdrawFeePeriod(_withdrawFeePeriod *big.Int) (*types.Transaction, error)

SetWithdrawFeePeriod is a paid mutator transaction binding the contract method 0x1efac1b8.

Solidity: function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) returns()

func (*CakevaultSession) Token

func (_Cakevault *CakevaultSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CakevaultSession) TotalShares

func (_Cakevault *CakevaultSession) TotalShares() (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*CakevaultSession) TransferOwnership

func (_Cakevault *CakevaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*CakevaultSession) Treasury

func (_Cakevault *CakevaultSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*CakevaultSession) Unpause

func (_Cakevault *CakevaultSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CakevaultSession) UserInfo

func (_Cakevault *CakevaultSession) UserInfo(arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x1959a002.

Solidity: function userInfo(address ) view returns(uint256 shares, uint256 lastDepositedTime, uint256 cakeAtLastUserAction, uint256 lastUserActionTime)

func (*CakevaultSession) Withdraw

func (_Cakevault *CakevaultSession) Withdraw(_shares *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _shares) returns()

func (*CakevaultSession) WithdrawAll

func (_Cakevault *CakevaultSession) WithdrawAll() (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

func (*CakevaultSession) WithdrawFee

func (_Cakevault *CakevaultSession) WithdrawFee() (*big.Int, error)

WithdrawFee is a free data retrieval call binding the contract method 0xe941fa78.

Solidity: function withdrawFee() view returns(uint256)

func (*CakevaultSession) WithdrawFeePeriod

func (_Cakevault *CakevaultSession) WithdrawFeePeriod() (*big.Int, error)

WithdrawFeePeriod is a free data retrieval call binding the contract method 0xdf10b4e6.

Solidity: function withdrawFeePeriod() view returns(uint256)

type CakevaultTransactor

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

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

func NewCakevaultTransactor

func NewCakevaultTransactor(address common.Address, transactor bind.ContractTransactor) (*CakevaultTransactor, error)

NewCakevaultTransactor creates a new write-only instance of Cakevault, bound to a specific deployed contract.

func (*CakevaultTransactor) Deposit

func (_Cakevault *CakevaultTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*CakevaultTransactor) EmergencyWithdraw

func (_Cakevault *CakevaultTransactor) EmergencyWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*CakevaultTransactor) Harvest

func (_Cakevault *CakevaultTransactor) Harvest(opts *bind.TransactOpts) (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x4641257d.

Solidity: function harvest() returns()

func (*CakevaultTransactor) InCaseTokensGetStuck

func (_Cakevault *CakevaultTransactor) InCaseTokensGetStuck(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

InCaseTokensGetStuck is a paid mutator transaction binding the contract method 0xdef68a9c.

Solidity: function inCaseTokensGetStuck(address _token) returns()

func (*CakevaultTransactor) Pause

func (_Cakevault *CakevaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CakevaultTransactor) RenounceOwnership

func (_Cakevault *CakevaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakevaultTransactor) SetAdmin

func (_Cakevault *CakevaultTransactor) SetAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _admin) returns()

func (*CakevaultTransactor) SetCallFee

func (_Cakevault *CakevaultTransactor) SetCallFee(opts *bind.TransactOpts, _callFee *big.Int) (*types.Transaction, error)

SetCallFee is a paid mutator transaction binding the contract method 0x26465826.

Solidity: function setCallFee(uint256 _callFee) returns()

func (*CakevaultTransactor) SetPerformanceFee

func (_Cakevault *CakevaultTransactor) SetPerformanceFee(opts *bind.TransactOpts, _performanceFee *big.Int) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0x70897b23.

Solidity: function setPerformanceFee(uint256 _performanceFee) returns()

func (*CakevaultTransactor) SetTreasury

func (_Cakevault *CakevaultTransactor) SetTreasury(opts *bind.TransactOpts, _treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*CakevaultTransactor) SetWithdrawFee

func (_Cakevault *CakevaultTransactor) SetWithdrawFee(opts *bind.TransactOpts, _withdrawFee *big.Int) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(uint256 _withdrawFee) returns()

func (*CakevaultTransactor) SetWithdrawFeePeriod

func (_Cakevault *CakevaultTransactor) SetWithdrawFeePeriod(opts *bind.TransactOpts, _withdrawFeePeriod *big.Int) (*types.Transaction, error)

SetWithdrawFeePeriod is a paid mutator transaction binding the contract method 0x1efac1b8.

Solidity: function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) returns()

func (*CakevaultTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*CakevaultTransactor) Unpause

func (_Cakevault *CakevaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CakevaultTransactor) Withdraw

func (_Cakevault *CakevaultTransactor) Withdraw(opts *bind.TransactOpts, _shares *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _shares) returns()

func (*CakevaultTransactor) WithdrawAll

func (_Cakevault *CakevaultTransactor) WithdrawAll(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

type CakevaultTransactorRaw

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

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

func (*CakevaultTransactorRaw) Transact

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

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

func (*CakevaultTransactorRaw) Transfer

func (_Cakevault *CakevaultTransactorRaw) 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 CakevaultTransactorSession

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

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

func (*CakevaultTransactorSession) Deposit

func (_Cakevault *CakevaultTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*CakevaultTransactorSession) EmergencyWithdraw

func (_Cakevault *CakevaultTransactorSession) EmergencyWithdraw() (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0xdb2e21bc.

Solidity: function emergencyWithdraw() returns()

func (*CakevaultTransactorSession) Harvest

func (_Cakevault *CakevaultTransactorSession) Harvest() (*types.Transaction, error)

Harvest is a paid mutator transaction binding the contract method 0x4641257d.

Solidity: function harvest() returns()

func (*CakevaultTransactorSession) InCaseTokensGetStuck

func (_Cakevault *CakevaultTransactorSession) InCaseTokensGetStuck(_token common.Address) (*types.Transaction, error)

InCaseTokensGetStuck is a paid mutator transaction binding the contract method 0xdef68a9c.

Solidity: function inCaseTokensGetStuck(address _token) returns()

func (*CakevaultTransactorSession) Pause

func (_Cakevault *CakevaultTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CakevaultTransactorSession) RenounceOwnership

func (_Cakevault *CakevaultTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakevaultTransactorSession) SetAdmin

func (_Cakevault *CakevaultTransactorSession) SetAdmin(_admin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _admin) returns()

func (*CakevaultTransactorSession) SetCallFee

func (_Cakevault *CakevaultTransactorSession) SetCallFee(_callFee *big.Int) (*types.Transaction, error)

SetCallFee is a paid mutator transaction binding the contract method 0x26465826.

Solidity: function setCallFee(uint256 _callFee) returns()

func (*CakevaultTransactorSession) SetPerformanceFee

func (_Cakevault *CakevaultTransactorSession) SetPerformanceFee(_performanceFee *big.Int) (*types.Transaction, error)

SetPerformanceFee is a paid mutator transaction binding the contract method 0x70897b23.

Solidity: function setPerformanceFee(uint256 _performanceFee) returns()

func (*CakevaultTransactorSession) SetTreasury

func (_Cakevault *CakevaultTransactorSession) SetTreasury(_treasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _treasury) returns()

func (*CakevaultTransactorSession) SetWithdrawFee

func (_Cakevault *CakevaultTransactorSession) SetWithdrawFee(_withdrawFee *big.Int) (*types.Transaction, error)

SetWithdrawFee is a paid mutator transaction binding the contract method 0xb6ac642a.

Solidity: function setWithdrawFee(uint256 _withdrawFee) returns()

func (*CakevaultTransactorSession) SetWithdrawFeePeriod

func (_Cakevault *CakevaultTransactorSession) SetWithdrawFeePeriod(_withdrawFeePeriod *big.Int) (*types.Transaction, error)

SetWithdrawFeePeriod is a paid mutator transaction binding the contract method 0x1efac1b8.

Solidity: function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) returns()

func (*CakevaultTransactorSession) TransferOwnership

func (_Cakevault *CakevaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*CakevaultTransactorSession) Unpause

func (_Cakevault *CakevaultTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CakevaultTransactorSession) Withdraw

func (_Cakevault *CakevaultTransactorSession) Withdraw(_shares *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _shares) returns()

func (*CakevaultTransactorSession) WithdrawAll

func (_Cakevault *CakevaultTransactorSession) WithdrawAll() (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

type CakevaultUnpause

type CakevaultUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

CakevaultUnpause represents a Unpause event raised by the Cakevault contract.

type CakevaultUnpauseIterator

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

CakevaultUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Cakevault contract.

func (*CakevaultUnpauseIterator) Close

func (it *CakevaultUnpauseIterator) Close() error

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

func (*CakevaultUnpauseIterator) Error

func (it *CakevaultUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultUnpauseIterator) Next

func (it *CakevaultUnpauseIterator) 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 CakevaultUnpaused

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

CakevaultUnpaused represents a Unpaused event raised by the Cakevault contract.

type CakevaultUnpausedIterator

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

CakevaultUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Cakevault contract.

func (*CakevaultUnpausedIterator) Close

func (it *CakevaultUnpausedIterator) Close() error

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

func (*CakevaultUnpausedIterator) Error

func (it *CakevaultUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultUnpausedIterator) Next

func (it *CakevaultUnpausedIterator) 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 CakevaultWithdraw

type CakevaultWithdraw struct {
	Sender common.Address
	Amount *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CakevaultWithdraw represents a Withdraw event raised by the Cakevault contract.

type CakevaultWithdrawIterator

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

CakevaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Cakevault contract.

func (*CakevaultWithdrawIterator) Close

func (it *CakevaultWithdrawIterator) Close() error

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

func (*CakevaultWithdrawIterator) Error

func (it *CakevaultWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakevaultWithdrawIterator) Next

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

Jump to

Keyboard shortcuts

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