cvaultpoolcontract

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

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

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

Documentation

Index

Constants

View Source
const CvaultpoolcontractABI = "" /* 10971-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Cvaultpoolcontract

type Cvaultpoolcontract struct {
	CvaultpoolcontractCaller     // Read-only binding to the contract
	CvaultpoolcontractTransactor // Write-only binding to the contract
	CvaultpoolcontractFilterer   // Log filterer for contract events
}

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

func NewCvaultpoolcontract

func NewCvaultpoolcontract(address common.Address, backend bind.ContractBackend) (*Cvaultpoolcontract, error)

NewCvaultpoolcontract creates a new instance of Cvaultpoolcontract, bound to a specific deployed contract.

type CvaultpoolcontractApproval

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

CvaultpoolcontractApproval represents a Approval event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractApprovalIterator

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

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

func (*CvaultpoolcontractApprovalIterator) Close

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

func (*CvaultpoolcontractApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CvaultpoolcontractApprovalIterator) 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 CvaultpoolcontractCaller

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

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

func NewCvaultpoolcontractCaller

func NewCvaultpoolcontractCaller(address common.Address, caller bind.ContractCaller) (*CvaultpoolcontractCaller, error)

NewCvaultpoolcontractCaller creates a new read-only instance of Cvaultpoolcontract, bound to a specific deployed contract.

func (*CvaultpoolcontractCaller) AverageFeesPerBlockEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) AverageFeesPerBlockEpoch(opts *bind.CallOpts) (*big.Int, error)

AverageFeesPerBlockEpoch is a free data retrieval call binding the contract method 0x03dec009.

Solidity: function averageFeesPerBlockEpoch() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractCaller) AverageFeesPerBlockSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) AverageFeesPerBlockSinceStart(opts *bind.CallOpts) (*big.Int, error)

AverageFeesPerBlockSinceStart is a free data retrieval call binding the contract method 0x9dbc2d90.

Solidity: function averageFeesPerBlockSinceStart() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractCaller) ContractStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) ContractStartBlock(opts *bind.CallOpts) (*big.Int, error)

ContractStartBlock is a free data retrieval call binding the contract method 0x49c5468d.

Solidity: function contractStartBlock() view returns(uint256)

func (*CvaultpoolcontractCaller) Core

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) Core(opts *bind.CallOpts) (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*CvaultpoolcontractCaller) CumulativeRewardsSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) CumulativeRewardsSinceStart(opts *bind.CallOpts) (*big.Int, error)

CumulativeRewardsSinceStart is a free data retrieval call binding the contract method 0xc8ffb873.

Solidity: function cumulativeRewardsSinceStart() view returns(uint256)

func (*CvaultpoolcontractCaller) Devaddr

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) Devaddr(opts *bind.CallOpts) (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*CvaultpoolcontractCaller) Epoch

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) Epoch(opts *bind.CallOpts) (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CvaultpoolcontractCaller) EpochCalculationStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) EpochCalculationStartBlock(opts *bind.CallOpts) (*big.Int, error)

EpochCalculationStartBlock is a free data retrieval call binding the contract method 0x5d577c18.

Solidity: function epochCalculationStartBlock() view returns(uint256)

func (*CvaultpoolcontractCaller) EpochRewards

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) EpochRewards(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

EpochRewards is a free data retrieval call binding the contract method 0x4dc47d34.

Solidity: function epochRewards(uint256 ) view returns(uint256)

func (*CvaultpoolcontractCaller) Owner

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) 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 (*CvaultpoolcontractCaller) PendingCore

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) PendingCore(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingCore is a free data retrieval call binding the contract method 0xa4f00c82.

Solidity: function pendingCore(uint256 _pid, address _user) view returns(uint256)

func (*CvaultpoolcontractCaller) PendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) PendingRewards(opts *bind.CallOpts) (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*CvaultpoolcontractCaller) PoolInfo

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Token           common.Address
	AllocPoint      *big.Int
	AccCorePerShare *big.Int
	Withdrawable    bool
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address token, uint256 allocPoint, uint256 accCorePerShare, bool withdrawable)

func (*CvaultpoolcontractCaller) PoolLength

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*CvaultpoolcontractCaller) RewardsInThisEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) RewardsInThisEpoch(opts *bind.CallOpts) (*big.Int, error)

RewardsInThisEpoch is a free data retrieval call binding the contract method 0x608c8d3a.

Solidity: function rewardsInThisEpoch() view returns(uint256)

func (*CvaultpoolcontractCaller) SuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) SuperAdmin(opts *bind.CallOpts) (common.Address, error)

SuperAdmin is a free data retrieval call binding the contract method 0x29575f6a.

Solidity: function superAdmin() view returns(address)

func (*CvaultpoolcontractCaller) TotalAllocPoint

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*CvaultpoolcontractCaller) UserInfo

func (_Cvaultpoolcontract *CvaultpoolcontractCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

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

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type CvaultpoolcontractCallerRaw

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

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

func (*CvaultpoolcontractCallerRaw) Call

func (_Cvaultpoolcontract *CvaultpoolcontractCallerRaw) 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 CvaultpoolcontractCallerSession

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

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

func (*CvaultpoolcontractCallerSession) AverageFeesPerBlockEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) AverageFeesPerBlockEpoch() (*big.Int, error)

AverageFeesPerBlockEpoch is a free data retrieval call binding the contract method 0x03dec009.

Solidity: function averageFeesPerBlockEpoch() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractCallerSession) AverageFeesPerBlockSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) AverageFeesPerBlockSinceStart() (*big.Int, error)

AverageFeesPerBlockSinceStart is a free data retrieval call binding the contract method 0x9dbc2d90.

Solidity: function averageFeesPerBlockSinceStart() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractCallerSession) ContractStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) ContractStartBlock() (*big.Int, error)

ContractStartBlock is a free data retrieval call binding the contract method 0x49c5468d.

Solidity: function contractStartBlock() view returns(uint256)

func (*CvaultpoolcontractCallerSession) Core

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) Core() (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*CvaultpoolcontractCallerSession) CumulativeRewardsSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) CumulativeRewardsSinceStart() (*big.Int, error)

CumulativeRewardsSinceStart is a free data retrieval call binding the contract method 0xc8ffb873.

Solidity: function cumulativeRewardsSinceStart() view returns(uint256)

func (*CvaultpoolcontractCallerSession) Devaddr

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*CvaultpoolcontractCallerSession) Epoch

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CvaultpoolcontractCallerSession) EpochCalculationStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) EpochCalculationStartBlock() (*big.Int, error)

EpochCalculationStartBlock is a free data retrieval call binding the contract method 0x5d577c18.

Solidity: function epochCalculationStartBlock() view returns(uint256)

func (*CvaultpoolcontractCallerSession) EpochRewards

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) EpochRewards(arg0 *big.Int) (*big.Int, error)

EpochRewards is a free data retrieval call binding the contract method 0x4dc47d34.

Solidity: function epochRewards(uint256 ) view returns(uint256)

func (*CvaultpoolcontractCallerSession) Owner

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CvaultpoolcontractCallerSession) PendingCore

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) PendingCore(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCore is a free data retrieval call binding the contract method 0xa4f00c82.

Solidity: function pendingCore(uint256 _pid, address _user) view returns(uint256)

func (*CvaultpoolcontractCallerSession) PendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) PendingRewards() (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*CvaultpoolcontractCallerSession) PoolInfo

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) PoolInfo(arg0 *big.Int) (struct {
	Token           common.Address
	AllocPoint      *big.Int
	AccCorePerShare *big.Int
	Withdrawable    bool
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address token, uint256 allocPoint, uint256 accCorePerShare, bool withdrawable)

func (*CvaultpoolcontractCallerSession) PoolLength

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*CvaultpoolcontractCallerSession) RewardsInThisEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) RewardsInThisEpoch() (*big.Int, error)

RewardsInThisEpoch is a free data retrieval call binding the contract method 0x608c8d3a.

Solidity: function rewardsInThisEpoch() view returns(uint256)

func (*CvaultpoolcontractCallerSession) SuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) SuperAdmin() (common.Address, error)

SuperAdmin is a free data retrieval call binding the contract method 0x29575f6a.

Solidity: function superAdmin() view returns(address)

func (*CvaultpoolcontractCallerSession) TotalAllocPoint

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*CvaultpoolcontractCallerSession) UserInfo

func (_Cvaultpoolcontract *CvaultpoolcontractCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

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

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type CvaultpoolcontractDeposit

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

CvaultpoolcontractDeposit represents a Deposit event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractDepositIterator

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

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

func (*CvaultpoolcontractDepositIterator) Close

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

func (*CvaultpoolcontractDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CvaultpoolcontractDepositIterator) 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 CvaultpoolcontractEmergencyWithdraw

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

CvaultpoolcontractEmergencyWithdraw represents a EmergencyWithdraw event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractEmergencyWithdrawIterator

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

CvaultpoolcontractEmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the Cvaultpoolcontract contract.

func (*CvaultpoolcontractEmergencyWithdrawIterator) Close

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

func (*CvaultpoolcontractEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CvaultpoolcontractEmergencyWithdrawIterator) 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 CvaultpoolcontractFilterer

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

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

func NewCvaultpoolcontractFilterer

func NewCvaultpoolcontractFilterer(address common.Address, filterer bind.ContractFilterer) (*CvaultpoolcontractFilterer, error)

NewCvaultpoolcontractFilterer creates a new log filterer instance of Cvaultpoolcontract, bound to a specific deployed contract.

func (*CvaultpoolcontractFilterer) FilterApproval

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CvaultpoolcontractApprovalIterator, error)

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

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

func (*CvaultpoolcontractFilterer) FilterDeposit

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*CvaultpoolcontractDepositIterator, error)

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

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) FilterEmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*CvaultpoolcontractEmergencyWithdrawIterator, error)

FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) FilterOwnershipTransferred

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CvaultpoolcontractOwnershipTransferredIterator, error)

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

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

func (*CvaultpoolcontractFilterer) FilterSuperAdminTransfered

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterSuperAdminTransfered(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CvaultpoolcontractSuperAdminTransferedIterator, error)

FilterSuperAdminTransfered is a free log retrieval operation binding the contract event 0xf564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b64.

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

func (*CvaultpoolcontractFilterer) FilterWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*CvaultpoolcontractWithdrawIterator, error)

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

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) ParseApproval

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseApproval(log types.Log) (*CvaultpoolcontractApproval, error)

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

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

func (*CvaultpoolcontractFilterer) ParseDeposit

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseDeposit(log types.Log) (*CvaultpoolcontractDeposit, error)

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

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) ParseEmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseEmergencyWithdraw(log types.Log) (*CvaultpoolcontractEmergencyWithdraw, error)

ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) ParseOwnershipTransferred

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseOwnershipTransferred(log types.Log) (*CvaultpoolcontractOwnershipTransferred, error)

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

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

func (*CvaultpoolcontractFilterer) ParseSuperAdminTransfered

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseSuperAdminTransfered(log types.Log) (*CvaultpoolcontractSuperAdminTransfered, error)

ParseSuperAdminTransfered is a log parse operation binding the contract event 0xf564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b64.

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

func (*CvaultpoolcontractFilterer) ParseWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) ParseWithdraw(log types.Log) (*CvaultpoolcontractWithdraw, error)

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

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) WatchApproval

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*CvaultpoolcontractFilterer) WatchDeposit

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractDeposit, user []common.Address, pid []*big.Int) (event.Subscription, error)

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

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) WatchEmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractEmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*CvaultpoolcontractFilterer) WatchOwnershipTransferred

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractOwnershipTransferred, 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 (*CvaultpoolcontractFilterer) WatchSuperAdminTransfered

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchSuperAdminTransfered(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractSuperAdminTransfered, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchSuperAdminTransfered is a free log subscription operation binding the contract event 0xf564c40f4f45e62a2c1e6c22e8bfb46501f0f71fa1c72e5358903fa1115a4b64.

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

func (*CvaultpoolcontractFilterer) WatchWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CvaultpoolcontractWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

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

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

type CvaultpoolcontractOwnershipTransferred

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

CvaultpoolcontractOwnershipTransferred represents a OwnershipTransferred event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractOwnershipTransferredIterator

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

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

func (*CvaultpoolcontractOwnershipTransferredIterator) Close

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

func (*CvaultpoolcontractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CvaultpoolcontractOwnershipTransferredIterator) 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 CvaultpoolcontractRaw

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

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

func (*CvaultpoolcontractRaw) Call

func (_Cvaultpoolcontract *CvaultpoolcontractRaw) 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 (*CvaultpoolcontractRaw) Transact

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

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

func (*CvaultpoolcontractRaw) Transfer

func (_Cvaultpoolcontract *CvaultpoolcontractRaw) 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 CvaultpoolcontractSession

type CvaultpoolcontractSession struct {
	Contract     *Cvaultpoolcontract // 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
}

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

func (*CvaultpoolcontractSession) Add

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Add(_allocPoint *big.Int, _token common.Address, _withUpdate bool, _withdrawable bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xc507aeaa.

Solidity: function add(uint256 _allocPoint, address _token, bool _withUpdate, bool _withdrawable) returns()

func (*CvaultpoolcontractSession) AddPendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractSession) AddPendingRewards(_ *big.Int) (*types.Transaction, error)

AddPendingRewards is a paid mutator transaction binding the contract method 0x423d6fa0.

Solidity: function addPendingRewards(uint256 _) returns()

func (*CvaultpoolcontractSession) AverageFeesPerBlockEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractSession) AverageFeesPerBlockEpoch() (*big.Int, error)

AverageFeesPerBlockEpoch is a free data retrieval call binding the contract method 0x03dec009.

Solidity: function averageFeesPerBlockEpoch() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractSession) AverageFeesPerBlockSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractSession) AverageFeesPerBlockSinceStart() (*big.Int, error)

AverageFeesPerBlockSinceStart is a free data retrieval call binding the contract method 0x9dbc2d90.

Solidity: function averageFeesPerBlockSinceStart() view returns(uint256 averagePerBlock)

func (*CvaultpoolcontractSession) BurnSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractSession) BurnSuperAdmin() (*types.Transaction, error)

BurnSuperAdmin is a paid mutator transaction binding the contract method 0x934eaa50.

Solidity: function burnSuperAdmin() returns()

func (*CvaultpoolcontractSession) ContractStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractSession) ContractStartBlock() (*big.Int, error)

ContractStartBlock is a free data retrieval call binding the contract method 0x49c5468d.

Solidity: function contractStartBlock() view returns(uint256)

func (*CvaultpoolcontractSession) Core

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Core() (common.Address, error)

Core is a free data retrieval call binding the contract method 0xf2f4eb26.

Solidity: function core() view returns(address)

func (*CvaultpoolcontractSession) CumulativeRewardsSinceStart

func (_Cvaultpoolcontract *CvaultpoolcontractSession) CumulativeRewardsSinceStart() (*big.Int, error)

CumulativeRewardsSinceStart is a free data retrieval call binding the contract method 0xc8ffb873.

Solidity: function cumulativeRewardsSinceStart() view returns(uint256)

func (*CvaultpoolcontractSession) Deposit

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractSession) DepositFor

func (_Cvaultpoolcontract *CvaultpoolcontractSession) DepositFor(depositFor common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x4cf5fbf5.

Solidity: function depositFor(address depositFor, uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractSession) Devaddr

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*CvaultpoolcontractSession) EmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*CvaultpoolcontractSession) Epoch

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CvaultpoolcontractSession) EpochCalculationStartBlock

func (_Cvaultpoolcontract *CvaultpoolcontractSession) EpochCalculationStartBlock() (*big.Int, error)

EpochCalculationStartBlock is a free data retrieval call binding the contract method 0x5d577c18.

Solidity: function epochCalculationStartBlock() view returns(uint256)

func (*CvaultpoolcontractSession) EpochRewards

func (_Cvaultpoolcontract *CvaultpoolcontractSession) EpochRewards(arg0 *big.Int) (*big.Int, error)

EpochRewards is a free data retrieval call binding the contract method 0x4dc47d34.

Solidity: function epochRewards(uint256 ) view returns(uint256)

func (*CvaultpoolcontractSession) Initialize

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Initialize(_core common.Address, _devaddr common.Address, superAdmin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _core, address _devaddr, address superAdmin) returns()

func (*CvaultpoolcontractSession) IsContract

func (_Cvaultpoolcontract *CvaultpoolcontractSession) IsContract(addr common.Address) (*types.Transaction, error)

IsContract is a paid mutator transaction binding the contract method 0x16279055.

Solidity: function isContract(address addr) returns(bool)

func (*CvaultpoolcontractSession) MassUpdatePools

func (_Cvaultpoolcontract *CvaultpoolcontractSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*CvaultpoolcontractSession) NewSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractSession) NewSuperAdmin(newOwner common.Address) (*types.Transaction, error)

NewSuperAdmin is a paid mutator transaction binding the contract method 0xa676860a.

Solidity: function newSuperAdmin(address newOwner) returns()

func (*CvaultpoolcontractSession) Owner

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CvaultpoolcontractSession) PendingCore

func (_Cvaultpoolcontract *CvaultpoolcontractSession) PendingCore(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCore is a free data retrieval call binding the contract method 0xa4f00c82.

Solidity: function pendingCore(uint256 _pid, address _user) view returns(uint256)

func (*CvaultpoolcontractSession) PendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractSession) PendingRewards() (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0xeded3fda.

Solidity: function pendingRewards() view returns(uint256)

func (*CvaultpoolcontractSession) PoolInfo

func (_Cvaultpoolcontract *CvaultpoolcontractSession) PoolInfo(arg0 *big.Int) (struct {
	Token           common.Address
	AllocPoint      *big.Int
	AccCorePerShare *big.Int
	Withdrawable    bool
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address token, uint256 allocPoint, uint256 accCorePerShare, bool withdrawable)

func (*CvaultpoolcontractSession) PoolLength

func (_Cvaultpoolcontract *CvaultpoolcontractSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*CvaultpoolcontractSession) RenounceOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CvaultpoolcontractSession) RewardsInThisEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractSession) RewardsInThisEpoch() (*big.Int, error)

RewardsInThisEpoch is a free data retrieval call binding the contract method 0x608c8d3a.

Solidity: function rewardsInThisEpoch() view returns(uint256)

func (*CvaultpoolcontractSession) Set

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*CvaultpoolcontractSession) SetAllowanceForPoolToken

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SetAllowanceForPoolToken(spender common.Address, _pid *big.Int, value *big.Int) (*types.Transaction, error)

SetAllowanceForPoolToken is a paid mutator transaction binding the contract method 0xdbe0901f.

Solidity: function setAllowanceForPoolToken(address spender, uint256 _pid, uint256 value) returns()

func (*CvaultpoolcontractSession) SetDevFee

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SetDevFee(_DEV_FEE uint16) (*types.Transaction, error)

SetDevFee is a paid mutator transaction binding the contract method 0xe18cb4fe.

Solidity: function setDevFee(uint16 _DEV_FEE) returns()

func (*CvaultpoolcontractSession) SetDevFeeReciever

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SetDevFeeReciever(_devaddr common.Address) (*types.Transaction, error)

SetDevFeeReciever is a paid mutator transaction binding the contract method 0x2d6754e5.

Solidity: function setDevFeeReciever(address _devaddr) returns()

func (*CvaultpoolcontractSession) SetPoolWithdrawable

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SetPoolWithdrawable(_pid *big.Int, _withdrawable bool) (*types.Transaction, error)

SetPoolWithdrawable is a paid mutator transaction binding the contract method 0x5207cc0d.

Solidity: function setPoolWithdrawable(uint256 _pid, bool _withdrawable) returns()

func (*CvaultpoolcontractSession) SetStrategyContractOrDistributionContractAllowance

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SetStrategyContractOrDistributionContractAllowance(tokenAddress common.Address, _amount *big.Int, contractAddress common.Address) (*types.Transaction, error)

SetStrategyContractOrDistributionContractAllowance is a paid mutator transaction binding the contract method 0xc4014588.

Solidity: function setStrategyContractOrDistributionContractAllowance(address tokenAddress, uint256 _amount, address contractAddress) returns()

func (*CvaultpoolcontractSession) StartNewEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractSession) StartNewEpoch() (*types.Transaction, error)

StartNewEpoch is a paid mutator transaction binding the contract method 0x3aab0a62.

Solidity: function startNewEpoch() returns()

func (*CvaultpoolcontractSession) SuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractSession) SuperAdmin() (common.Address, error)

SuperAdmin is a free data retrieval call binding the contract method 0x29575f6a.

Solidity: function superAdmin() view returns(address)

func (*CvaultpoolcontractSession) TotalAllocPoint

func (_Cvaultpoolcontract *CvaultpoolcontractSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*CvaultpoolcontractSession) TransferOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractSession) 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 (*CvaultpoolcontractSession) UserInfo

func (_Cvaultpoolcontract *CvaultpoolcontractSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

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

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

func (*CvaultpoolcontractSession) Withdraw

func (_Cvaultpoolcontract *CvaultpoolcontractSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractSession) WithdrawFrom

func (_Cvaultpoolcontract *CvaultpoolcontractSession) WithdrawFrom(owner common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x3a0967cd.

Solidity: function withdrawFrom(address owner, uint256 _pid, uint256 _amount) returns()

type CvaultpoolcontractSuperAdminTransfered

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

CvaultpoolcontractSuperAdminTransfered represents a SuperAdminTransfered event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractSuperAdminTransferedIterator

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

CvaultpoolcontractSuperAdminTransferedIterator is returned from FilterSuperAdminTransfered and is used to iterate over the raw logs and unpacked data for SuperAdminTransfered events raised by the Cvaultpoolcontract contract.

func (*CvaultpoolcontractSuperAdminTransferedIterator) Close

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

func (*CvaultpoolcontractSuperAdminTransferedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CvaultpoolcontractSuperAdminTransferedIterator) 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 CvaultpoolcontractTransactor

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

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

func NewCvaultpoolcontractTransactor

func NewCvaultpoolcontractTransactor(address common.Address, transactor bind.ContractTransactor) (*CvaultpoolcontractTransactor, error)

NewCvaultpoolcontractTransactor creates a new write-only instance of Cvaultpoolcontract, bound to a specific deployed contract.

func (*CvaultpoolcontractTransactor) Add

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _token common.Address, _withUpdate bool, _withdrawable bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xc507aeaa.

Solidity: function add(uint256 _allocPoint, address _token, bool _withUpdate, bool _withdrawable) returns()

func (*CvaultpoolcontractTransactor) AddPendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) AddPendingRewards(opts *bind.TransactOpts, _ *big.Int) (*types.Transaction, error)

AddPendingRewards is a paid mutator transaction binding the contract method 0x423d6fa0.

Solidity: function addPendingRewards(uint256 _) returns()

func (*CvaultpoolcontractTransactor) BurnSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) BurnSuperAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

BurnSuperAdmin is a paid mutator transaction binding the contract method 0x934eaa50.

Solidity: function burnSuperAdmin() returns()

func (*CvaultpoolcontractTransactor) Deposit

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactor) DepositFor

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) DepositFor(opts *bind.TransactOpts, depositFor common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x4cf5fbf5.

Solidity: function depositFor(address depositFor, uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactor) EmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*CvaultpoolcontractTransactor) Initialize

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) Initialize(opts *bind.TransactOpts, _core common.Address, _devaddr common.Address, superAdmin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _core, address _devaddr, address superAdmin) returns()

func (*CvaultpoolcontractTransactor) IsContract

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) IsContract(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

IsContract is a paid mutator transaction binding the contract method 0x16279055.

Solidity: function isContract(address addr) returns(bool)

func (*CvaultpoolcontractTransactor) MassUpdatePools

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*CvaultpoolcontractTransactor) NewSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) NewSuperAdmin(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

NewSuperAdmin is a paid mutator transaction binding the contract method 0xa676860a.

Solidity: function newSuperAdmin(address newOwner) returns()

func (*CvaultpoolcontractTransactor) RenounceOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CvaultpoolcontractTransactor) Set

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*CvaultpoolcontractTransactor) SetAllowanceForPoolToken

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) SetAllowanceForPoolToken(opts *bind.TransactOpts, spender common.Address, _pid *big.Int, value *big.Int) (*types.Transaction, error)

SetAllowanceForPoolToken is a paid mutator transaction binding the contract method 0xdbe0901f.

Solidity: function setAllowanceForPoolToken(address spender, uint256 _pid, uint256 value) returns()

func (*CvaultpoolcontractTransactor) SetDevFee

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) SetDevFee(opts *bind.TransactOpts, _DEV_FEE uint16) (*types.Transaction, error)

SetDevFee is a paid mutator transaction binding the contract method 0xe18cb4fe.

Solidity: function setDevFee(uint16 _DEV_FEE) returns()

func (*CvaultpoolcontractTransactor) SetDevFeeReciever

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) SetDevFeeReciever(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)

SetDevFeeReciever is a paid mutator transaction binding the contract method 0x2d6754e5.

Solidity: function setDevFeeReciever(address _devaddr) returns()

func (*CvaultpoolcontractTransactor) SetPoolWithdrawable

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) SetPoolWithdrawable(opts *bind.TransactOpts, _pid *big.Int, _withdrawable bool) (*types.Transaction, error)

SetPoolWithdrawable is a paid mutator transaction binding the contract method 0x5207cc0d.

Solidity: function setPoolWithdrawable(uint256 _pid, bool _withdrawable) returns()

func (*CvaultpoolcontractTransactor) SetStrategyContractOrDistributionContractAllowance

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) SetStrategyContractOrDistributionContractAllowance(opts *bind.TransactOpts, tokenAddress common.Address, _amount *big.Int, contractAddress common.Address) (*types.Transaction, error)

SetStrategyContractOrDistributionContractAllowance is a paid mutator transaction binding the contract method 0xc4014588.

Solidity: function setStrategyContractOrDistributionContractAllowance(address tokenAddress, uint256 _amount, address contractAddress) returns()

func (*CvaultpoolcontractTransactor) StartNewEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) StartNewEpoch(opts *bind.TransactOpts) (*types.Transaction, error)

StartNewEpoch is a paid mutator transaction binding the contract method 0x3aab0a62.

Solidity: function startNewEpoch() returns()

func (*CvaultpoolcontractTransactor) TransferOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) 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 (*CvaultpoolcontractTransactor) Withdraw

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactor) WithdrawFrom

func (_Cvaultpoolcontract *CvaultpoolcontractTransactor) WithdrawFrom(opts *bind.TransactOpts, owner common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x3a0967cd.

Solidity: function withdrawFrom(address owner, uint256 _pid, uint256 _amount) returns()

type CvaultpoolcontractTransactorRaw

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

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

func (*CvaultpoolcontractTransactorRaw) Transact

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

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

func (*CvaultpoolcontractTransactorRaw) Transfer

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorRaw) 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 CvaultpoolcontractTransactorSession

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

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

func (*CvaultpoolcontractTransactorSession) Add

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) Add(_allocPoint *big.Int, _token common.Address, _withUpdate bool, _withdrawable bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xc507aeaa.

Solidity: function add(uint256 _allocPoint, address _token, bool _withUpdate, bool _withdrawable) returns()

func (*CvaultpoolcontractTransactorSession) AddPendingRewards

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) AddPendingRewards(_ *big.Int) (*types.Transaction, error)

AddPendingRewards is a paid mutator transaction binding the contract method 0x423d6fa0.

Solidity: function addPendingRewards(uint256 _) returns()

func (*CvaultpoolcontractTransactorSession) BurnSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) BurnSuperAdmin() (*types.Transaction, error)

BurnSuperAdmin is a paid mutator transaction binding the contract method 0x934eaa50.

Solidity: function burnSuperAdmin() returns()

func (*CvaultpoolcontractTransactorSession) Deposit

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactorSession) DepositFor

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) DepositFor(depositFor common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x4cf5fbf5.

Solidity: function depositFor(address depositFor, uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactorSession) EmergencyWithdraw

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*CvaultpoolcontractTransactorSession) Initialize

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) Initialize(_core common.Address, _devaddr common.Address, superAdmin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _core, address _devaddr, address superAdmin) returns()

func (*CvaultpoolcontractTransactorSession) IsContract

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) IsContract(addr common.Address) (*types.Transaction, error)

IsContract is a paid mutator transaction binding the contract method 0x16279055.

Solidity: function isContract(address addr) returns(bool)

func (*CvaultpoolcontractTransactorSession) MassUpdatePools

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*CvaultpoolcontractTransactorSession) NewSuperAdmin

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) NewSuperAdmin(newOwner common.Address) (*types.Transaction, error)

NewSuperAdmin is a paid mutator transaction binding the contract method 0xa676860a.

Solidity: function newSuperAdmin(address newOwner) returns()

func (*CvaultpoolcontractTransactorSession) RenounceOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CvaultpoolcontractTransactorSession) Set

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*CvaultpoolcontractTransactorSession) SetAllowanceForPoolToken

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) SetAllowanceForPoolToken(spender common.Address, _pid *big.Int, value *big.Int) (*types.Transaction, error)

SetAllowanceForPoolToken is a paid mutator transaction binding the contract method 0xdbe0901f.

Solidity: function setAllowanceForPoolToken(address spender, uint256 _pid, uint256 value) returns()

func (*CvaultpoolcontractTransactorSession) SetDevFee

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) SetDevFee(_DEV_FEE uint16) (*types.Transaction, error)

SetDevFee is a paid mutator transaction binding the contract method 0xe18cb4fe.

Solidity: function setDevFee(uint16 _DEV_FEE) returns()

func (*CvaultpoolcontractTransactorSession) SetDevFeeReciever

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) SetDevFeeReciever(_devaddr common.Address) (*types.Transaction, error)

SetDevFeeReciever is a paid mutator transaction binding the contract method 0x2d6754e5.

Solidity: function setDevFeeReciever(address _devaddr) returns()

func (*CvaultpoolcontractTransactorSession) SetPoolWithdrawable

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) SetPoolWithdrawable(_pid *big.Int, _withdrawable bool) (*types.Transaction, error)

SetPoolWithdrawable is a paid mutator transaction binding the contract method 0x5207cc0d.

Solidity: function setPoolWithdrawable(uint256 _pid, bool _withdrawable) returns()

func (*CvaultpoolcontractTransactorSession) SetStrategyContractOrDistributionContractAllowance

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) SetStrategyContractOrDistributionContractAllowance(tokenAddress common.Address, _amount *big.Int, contractAddress common.Address) (*types.Transaction, error)

SetStrategyContractOrDistributionContractAllowance is a paid mutator transaction binding the contract method 0xc4014588.

Solidity: function setStrategyContractOrDistributionContractAllowance(address tokenAddress, uint256 _amount, address contractAddress) returns()

func (*CvaultpoolcontractTransactorSession) StartNewEpoch

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) StartNewEpoch() (*types.Transaction, error)

StartNewEpoch is a paid mutator transaction binding the contract method 0x3aab0a62.

Solidity: function startNewEpoch() returns()

func (*CvaultpoolcontractTransactorSession) TransferOwnership

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) 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 (*CvaultpoolcontractTransactorSession) Withdraw

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

func (*CvaultpoolcontractTransactorSession) WithdrawFrom

func (_Cvaultpoolcontract *CvaultpoolcontractTransactorSession) WithdrawFrom(owner common.Address, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x3a0967cd.

Solidity: function withdrawFrom(address owner, uint256 _pid, uint256 _amount) returns()

type CvaultpoolcontractWithdraw

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

CvaultpoolcontractWithdraw represents a Withdraw event raised by the Cvaultpoolcontract contract.

type CvaultpoolcontractWithdrawIterator

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

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

func (*CvaultpoolcontractWithdrawIterator) Close

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

func (*CvaultpoolcontractWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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