contracts

package
v1.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CakePoolABI = CakePoolMetaData.ABI

CakePoolABI is the input ABI used to generate the binding from. Deprecated: Use CakePoolMetaData.ABI instead.

View Source
var CakePoolBin = CakePoolMetaData.Bin

CakePoolBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CakePoolMetaData.Bin instead.

View Source
var CakePoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"contractIMasterChefV2\",\"name\":\"_masterchefV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lastDepositedTime\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"free\",\"type\":\"bool\"}],\"name\":\"FreeFeeUser\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Init\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockedDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"boostContract\",\"type\":\"address\"}],\"name\":\"NewBoostContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"boostWeight\",\"type\":\"uint256\"}],\"name\":\"NewBoostWeight\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"durationFactor\",\"type\":\"uint256\"}],\"name\":\"NewDurationFactor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"durationFactorOverdue\",\"type\":\"uint256\"}],\"name\":\"NewDurationFactorOverdue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxLockDuration\",\"type\":\"uint256\"}],\"name\":\"NewMaxLockDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"NewOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"overdueFee\",\"type\":\"uint256\"}],\"name\":\"NewOverdueFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"performanceFee\",\"type\":\"uint256\"}],\"name\":\"NewPerformanceFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"performanceFeeContract\",\"type\":\"uint256\"}],\"name\":\"NewPerformanceFeeContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"}],\"name\":\"NewTreasury\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unlockFreeDuration\",\"type\":\"uint256\"}],\"name\":\"NewUnlockFreeDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"VCake\",\"type\":\"address\"}],\"name\":\"NewVCakeContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawFee\",\"type\":\"uint256\"}],\"name\":\"NewWithdrawFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawFeeContract\",\"type\":\"uint256\"}],\"name\":\"NewWithdrawFeeContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawFeePeriod\",\"type\":\"uint256\"}],\"name\":\"NewWithdrawFeePeriod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BOOST_WEIGHT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BOOST_WEIGHT_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DURATION_FACTOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DURATION_FACTOR_OVERDUE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_LOCK_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_LOCK_DURATION_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_OVERDUE_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_PERFORMANCE_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_WITHDRAW_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_WITHDRAW_FEE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_DEPOSIT_AMOUNT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_LOCK_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_WITHDRAW_AMOUNT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION_FACTOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION_FACTOR_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNLOCK_FREE_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VCake\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"available\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"boostContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cakePoolPID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"calculateOverdueFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"calculatePerformanceFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculateTotalPendingCakeRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"calculateWithdrawFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockDuration\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"freeOverdueFeeUsers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"freePerformanceFeeUsers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"freeWithdrawFeeUsers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPricePerFullShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"inCaseTokensGetStuck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"dummyToken\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"masterchefV2\",\"outputs\":[{\"internalType\":\"contractIMasterChefV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"overdueFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"performanceFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"performanceFeeContract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"setAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_boostContract\",\"type\":\"address\"}],\"name\":\"setBoostContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boostWeight\",\"type\":\"uint256\"}],\"name\":\"setBoostWeight\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_durationFactor\",\"type\":\"uint256\"}],\"name\":\"setDurationFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_durationFactorOverdue\",\"type\":\"uint256\"}],\"name\":\"setDurationFactorOverdue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_free\",\"type\":\"bool\"}],\"name\":\"setFreePerformanceFeeUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxLockDuration\",\"type\":\"uint256\"}],\"name\":\"setMaxLockDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_overdueFee\",\"type\":\"uint256\"}],\"name\":\"setOverdueFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_free\",\"type\":\"bool\"}],\"name\":\"setOverdueFeeUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_performanceFee\",\"type\":\"uint256\"}],\"name\":\"setPerformanceFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_performanceFeeContract\",\"type\":\"uint256\"}],\"name\":\"setPerformanceFeeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"}],\"name\":\"setTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockFreeDuration\",\"type\":\"uint256\"}],\"name\":\"setUnlockFreeDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_VCake\",\"type\":\"address\"}],\"name\":\"setVCakeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawFee\",\"type\":\"uint256\"}],\"name\":\"setWithdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawFeeContract\",\"type\":\"uint256\"}],\"name\":\"setWithdrawFeeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawFeePeriod\",\"type\":\"uint256\"}],\"name\":\"setWithdrawFeePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_free\",\"type\":\"bool\"}],\"name\":\"setWithdrawFeeUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBoostDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalLockedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"unlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastDepositedTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cakeAtLastUserAction\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastUserActionTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockStartTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"userBoostedShare\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"locked\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lockedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawByAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeeContract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60c060405262093a80600e556301e13380600f556301e1338060105562ed4e0060115564e8d4a5100060125560c860135560c8601455600a601555600a60165564e8d4a510006017556203f4806018553480156200005c57600080fd5b5060405162005369380380620053698339810160408190526200007f9162000157565b620000936200008d62000103565b62000107565b6000805460ff60a01b191690556001600160601b0319606096871b81166080529490951b90931660a052600880546001600160a01b039384166001600160a01b0319918216179091556009805492841692821692909217909155600a8054929093169116179055600b55620001f7565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060008060c0878903121562000170578182fd5b86516200017d81620001de565b60208801519096506200019081620001de565b6040880151909550620001a381620001de565b6060880151909450620001b681620001de565b6080880151909350620001c981620001de565b8092505060a087015190509295509295509295565b6001600160a01b0381168114620001f457600080fd5b50565b60805160601c60a05160601c6150e46200028560003960008181610ccb01528181610d880152818161176e015281816125d901528181613b960152613c7001526000818161151701528181611af50152818161276801528181612d760152818161312c0152818161317e015281816134820152818161355d01528181613ec301526140fb01526150e46000f3fe608060405234801561001057600080fd5b50600436106105145760003560e01c806387788782116102a1578063cb528b521161016b578063e464c623116100e3578063f2fde38b11610097578063f851a4401161007c578063f851a440146108fb578063fc0c546a14610903578063fd253b641461090b57610514565b8063f2fde38b146108d5578063f786b958146108e857610514565b8063e73008bc116100c8578063e73008bc146108b2578063e941fa78146108ba578063f0f44260146108c257610514565b8063e464c623146108a2578063e4b37ef5146108aa57610514565b8063def68a9c1161013a578063df10b4e61161011f578063df10b4e61461087f578063dfcedeee14610887578063e2bbb1581461088f57610514565b8063def68a9c14610859578063def7869d1461086c57610514565b8063cb528b5214610836578063ccd34cd51461076e578063d4b0de2f1461083e578063d826ed061461084657610514565b8063acaf88cd11610219578063bc75f4b8116101cd578063beba0fa0116101b2578063beba0fa0146107fd578063c54d349c14610810578063c6ed51be1461082357610514565b8063bc75f4b8146107ed578063bdca9165146107f557610514565b8063b6857844116101fe578063b6857844146105a2578063b6ac642a146107c7578063bb9f408d146107da57610514565b8063acaf88cd146107ac578063b3ab15fb146107b457610514565b8063948a03f211610270578063a3639b3911610255578063a3639b3914610789578063a5834e061461079c578063aaada5da146107a457610514565b8063948a03f21461076e57806395dc14e11461077657610514565b8063877887821461073857806387d4bda9146107405780638da5cb5b1461075357806393c99e6a1461075b57610514565b806348a0d754116103e25780636d4710b91161035a578063731ff24a1161030e57806378b4330f116102f357806378b4330f146105d05780638456cb5914610728578063853828b61461073057610514565b8063731ff24a1461071857806377c7b8fc1461072057610514565b806370897b231161033f57806370897b23146106f5578063715018a614610708578063722713f71461071057610514565b80636d4710b9146106da578063704b6c02146106e257610514565b8063570ca735116103b15780635c975abb116103965780635c975abb146106b757806361d027b3146106bf578063668679ba146106c757610514565b8063570ca735146106a757806358ebceb6146106af57610514565b806348a0d754146106715780634e4de1e9146106795780634f1bfc9e1461068c5780635521e9bf1461069457610514565b80632cfc5f01116104905780633a98ef39116104445780633f4ba83a116104295780633f4ba83a146106365780633fec4e321461063e578063423b93ed1461065e57610514565b80633a98ef39146106265780633eb788741461062e57610514565b80632e1a7d4d116104755780632e1a7d4d146105ed5780632f6c493c14610600578063359819211461061357610514565b80632cfc5f01146105d05780632d19b982146105d857610514565b80631959a002116104e75780631ea30fef116104cc5780631ea30fef146105a25780631efac1b8146105aa57806329a5cfd6146105bd57610514565b80631959a0021461056757806319ab453c1461058f57610514565b806301e813261461051957806305a9f274146105375780630c59696b1461053f57806314ff303914610554575b600080fd5b610521610913565b60405161052e9190614ee7565b60405180910390f35b61052161091b565b61055261054d3660046144b9565b610921565b005b6105526105623660046144b9565b6109fa565b61057a61057536600461441e565b610abc565b60405161052e99989796959493929190614f3d565b61055261059d36600461441e565b610b0e565b610521610e1d565b6105526105b83660046144b9565b610e27565b6105216105cb366004614472565b610eea565b610521611039565b6105e0611040565b60405161052e9190614526565b6105526105fb3660046144b9565b61105c565b61055261060e36600461441e565b6110e3565b6105526106213660046144b9565b611217565b6105216112d7565b6105216112dd565b6105526112e3565b61065161064c36600461441e565b6113a5565b60405161052e9190614607565b61055261066c36600461443a565b6113ba565b6105216114d7565b61055261068736600461443a565b6115a1565b6105216116be565b6105526106a23660046144b9565b6116c4565b6105e061174d565b610521611769565b61065161181f565b6105e0611840565b6106516106d536600461441e565b61185c565b610521611871565b6105526106f036600461441e565b611877565b6105526107033660046144b9565b6119ad565b610552611a6f565b610521611aee565b610521611ba6565b610521611bb6565b610552611c0d565b610552611cd0565b610521611ce9565b61065161074e36600461441e565b611cef565b6105e0611d04565b6105526107693660046144b9565b611d20565b610521611de6565b61052161078436600461441e565b611def565b6105526107973660046144b9565b611f60565b610521612020565b610521612026565b61052161202c565b6105526107c236600461441e565b612032565b6105526107d53660046144b9565b612168565b6105526107e83660046144b9565b61222a565b6105216122ec565b6105216122f2565b61055261080b36600461443a565b6122f8565b61055261081e3660046144b9565b612415565b61052161083136600461441e565b6124d5565b6105e06125d7565b6105216125fb565b61055261085436600461441e565b612601565b61055261086736600461441e565b612715565b61055261087a36600461441e565b6128b8565b6105216129cc565b6105e06129d2565b61055261089d3660046144e9565b6129ee565b610521612a7d565b610521612a83565b610521612a89565b610521612a8f565b6105526108d036600461441e565b612a95565b6105526108e336600461441e565b612bcb565b6105526108f63660046144b9565b612c94565b6105e0612d58565b6105e0612d74565b610521612d98565b6305265c0081565b600d5481565b60085473ffffffffffffffffffffffffffffffffffffffff16331461097b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b60405180910390fd5b64e8d4a510008111156109ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614aee565b60178190556040517ff4bd1c5978320077e792afbb3911e8cab1325ce28a6b3e67f9067a1d80692961906109ef908390614ee7565b60405180910390a150565b60085473ffffffffffffffffffffffffffffffffffffffff163314610a4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b6101f4811115610a87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614df6565b60168190556040517fcab352e118188b8a2f20a2e8c4ce1241ce2c1740aac4f17c5b0831e65824d8ef906109ef908390614ee7565b6003602081905260009182526040909120805460018201546002830154938301546004840154600585015460068601546007870154600890970154959794969495939492939192909160ff9091169089565b610b16612da2565b73ffffffffffffffffffffffffffffffffffffffff16610b34611d04565b73ffffffffffffffffffffffffffffffffffffffff1614610b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190610bd6903390600401614526565b60206040518083038186803b158015610bee57600080fd5b505afa158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2691906144d1565b905080610c5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614830565b610c8173ffffffffffffffffffffffffffffffffffffffff8316333084612da6565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83169063095ea7b390610cf5907f0000000000000000000000000000000000000000000000000000000000000000908590600401614578565b602060405180830381600087803b158015610d0f57600080fd5b505af1158015610d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d47919061449d565b50600b546040517fe2bbb15800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163e2bbb15891610dbe91908590600401614f14565b600060405180830381600087803b158015610dd857600080fd5b505af1158015610dec573d6000803e3d6000fd5b50506040517f57a86f7d14ccde89e22870afe839e3011216827daa9b24e18629f0a1e9d6cc14925060009150a15050565b6509184e72a00081565b60085473ffffffffffffffffffffffffffffffffffffffff163314610e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b62093a80811115610eb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614d3c565b60188190556040517fb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc906109ef908390614ee7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054831115610f1d57805492505b3360009081526005602052604090205460ff16158015610f4d57506018548160010154610f4a9190614f7e565b42105b1561102d576000610f5c611769565b610f64611aee565b610f6e9190614f7e565b8254909150600090610f8564e8d4a5100087614fcf565b610f8f9190614f96565b90506000610f9c87612e4f565b60068501546007548654610fb09087614fcf565b610fba9190614f96565b610fc4919061500c565b610fce919061500c565b9050600064e8d4a51000610fe28484614fcf565b610fec9190614f96565b601554909150610ffb33612e6d565b1561100557506016545b60006127106110148385614fcf565b61101e9190614f96565b97506110339650505050505050565b60009150505b92915050565b62093a8081565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b61106461181f565b1561109b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b600081116110d5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906146d1565b6110e0816000612e73565b50565b803373ffffffffffffffffffffffffffffffffffffffff8216148061111f5750600a5473ffffffffffffffffffffffffffffffffffffffff1633145b611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c71565b61115d61181f565b15611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260409020600781015460ff1680156111d05750428160050154105b611206576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614eb0565b61121260008085613246565b505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b600081116112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a91565b60118190556040517f18b6d179114082d7eda9837e15a39eb30032d5f3df00487a67541398f48fabfe906109ef908390614ee7565b60075481565b60145481565b60085473ffffffffffffffffffffffffffffffffffffffff163314611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b61133c61181f565b611372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729061469a565b61137a6138bc565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60046020526000908152604090205460ff1681565b60085473ffffffffffffffffffffffffffffffffffffffff16331461140b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b73ffffffffffffffffffffffffffffffffffffffff8216611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b73ffffffffffffffffffffffffffffffffffffffff821660008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d4491a35050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a082319061154c903090600401614526565b60206040518083038186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c91906144d1565b905090565b60085473ffffffffffffffffffffffffffffffffffffffff1633146115f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b73ffffffffffffffffffffffffffffffffffffffff821661163f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b73ffffffffffffffffffffffffffffffffffffffff821660008181526006602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d4491a35050565b600f5481565b6116cc61181f565b15611703576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b6509184e72a0008111611742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614ca8565b6110e0600082612e73565b600a5473ffffffffffffffffffffffffffffffffffffffff1681565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631175a1dd600b54306040518363ffffffff1660e01b81526004016117c9929190614ef0565b60206040518083038186803b1580156117e157600080fd5b505afa1580156117f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181991906144d1565b91505090565b60005474010000000000000000000000000000000000000000900460ff1690565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b60066020526000908152604090205460ff1681565b600b5481565b61187f612da2565b73ffffffffffffffffffffffffffffffffffffffff1661189d611d04565b73ffffffffffffffffffffffffffffffffffffffff16146118ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b73ffffffffffffffffffffffffffffffffffffffff8116611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040517f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c926109ef921690614526565b60085473ffffffffffffffffffffffffffffffffffffffff1633146119fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b6107d0811115611a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906149c6565b60138190556040517fefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4906109ef908390614ee7565b611a77612da2565b73ffffffffffffffffffffffffffffffffffffffff16611a95611d04565b73ffffffffffffffffffffffffffffffffffffffff1614611ae2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b611aec6000613962565b565b6000600c547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b4c9190614526565b60206040518083038186803b158015611b6457600080fd5b505afa158015611b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9c91906144d1565b61159c9190614f7e565b6b204fce5e3e2502611000000081565b6000600754600014611c0057600754611bcd611769565b611bd5611aee565b611bdf9190614f7e565b611bf190670de0b6b3a7640000614fcf565b611bfb9190614f96565b61159c565b50670de0b6b3a764000090565b60085473ffffffffffffffffffffffffffffffffffffffff163314611c5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b611c6661181f565b15611c9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b611ca56139d7565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b33600090815260036020526040902054611aec9061105c565b60135481565b60056020526000908152604090205460ff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60085473ffffffffffffffffffffffffffffffffffffffff163314611d71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b652d79883d2000811115611db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906147d3565b60128190556040517f7666dfff8c3377938e522b4eed3aff079973a976f95969db60a406d49f40da4e906109ef908390614ee7565b64e8d4a5100081565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260408120805415801590611e285750600781015460ff165b8015611e5a575073ffffffffffffffffffffffffffffffffffffffff831660009081526006602052604090205460ff16155b8015611e76575042600e548260050154611e749190614f7e565b105b15611f55576000611e85611769565b611e8d611aee565b611e979190614f7e565b60068301546007548454929350600092611eb19085614fcf565b611ebb9190614f96565b611ec5919061500c565b90506000836008015482611ed9919061500c565b90506000600e54856005015442611ef0919061500c565b611efa919061500c565b9050601154811115611f0b57506011545b600060115460175483611f1e9190614fcf565b611f289190614f96565b9050600064e8d4a51000611f3c8386614fcf565b611f469190614f96565b9750611f5b9650505050505050565b60009150505b919050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b60008111611feb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614765565b60108190556040517f9478eb023aac0a7d58a4e935377056bf27cf5b72a2300725f831817a8f62fbde906109ef908390614ee7565b60175481565b600e5481565b60115481565b61203a612da2565b73ffffffffffffffffffffffffffffffffffffffff16612058611d04565b73ffffffffffffffffffffffffffffffffffffffff16146120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b73ffffffffffffffffffffffffffffffffffffffff81166120f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040517fda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a926109ef921690614526565b60085473ffffffffffffffffffffffffffffffffffffffff1633146121b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b6101f48111156121f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614df6565b60158190556040517fd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d906109ef908390614ee7565b60085473ffffffffffffffffffffffffffffffffffffffff16331461227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b6107d08111156122b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906149c6565b60148190556040517fc5d25457b67b87678c987375af13f6e50beb3ad7bfd009da26766ae986eaa20d906109ef908390614ee7565b60125481565b6107d081565b60085473ffffffffffffffffffffffffffffffffffffffff163314612349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b73ffffffffffffffffffffffffffffffffffffffff8216612396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b73ffffffffffffffffffffffffffffffffffffffff821660008181526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d4491a35050565b60085473ffffffffffffffffffffffffffffffffffffffff163314612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b600081116124a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614e53565b600e8190556040517ff84bf2b901cfc02956d4e69556d7448cef4ea13587e7714dba7c6d697091e7ad906109ef908390614ee7565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812080541580159061250f5750600781015460ff16155b8015612541575073ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff16155b15611f55576000612550611769565b612558611aee565b6125629190614f7e565b905060006007548284600001546125799190614fcf565b6125839190614f96565b90506000836002015482612597919061500c565b6013549091506125a687612e6d565b156125b057506014545b60006127106125bf8385614fcf565b6125c99190614f96565b9650611f5b95505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6101f481565b60085473ffffffffffffffffffffffffffffffffffffffff163314612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b73ffffffffffffffffffffffffffffffffffffffff811661269f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040517f5352e27b0414343d9438a1c6e9d04c65c7cb4d91f44920afee588f91717893f1926109ef921690614526565b60085473ffffffffffffffffffffffffffffffffffffffff163314612766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614867565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190612841903090600401614526565b60206040518083038186803b15801561285957600080fd5b505afa15801561286d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289191906144d1565b90506128b473ffffffffffffffffffffffffffffffffffffffff83163383613a7e565b5050565b60085473ffffffffffffffffffffffffffffffffffffffff163314612909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b73ffffffffffffffffffffffffffffffffffffffff8116612956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040517f8f49a182922022d9119a1a6aeeca151b4a5665e86bd61c1ff32e152d459558b2926109ef921690614526565b60185481565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6129f661181f565b15612a2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b6000821180612a3c5750600081115b612a72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614663565b6128b4828233613246565b60105481565b60165481565b600c5481565b60155481565b612a9d612da2565b73ffffffffffffffffffffffffffffffffffffffff16612abb611d04565b73ffffffffffffffffffffffffffffffffffffffff1614612b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b73ffffffffffffffffffffffffffffffffffffffff8116612b55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a5a565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040517fafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086926109ef921690614526565b612bd3612da2565b73ffffffffffffffffffffffffffffffffffffffff16612bf1611d04565b73ffffffffffffffffffffffffffffffffffffffff1614612c3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c05565b73ffffffffffffffffffffffffffffffffffffffff8116612c8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614708565b6110e081613962565b60085473ffffffffffffffffffffffffffffffffffffffff163314612ce5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614c3a565b6305265c00811115612d23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614ba8565b600f8190556040517fcab2f3455b51b6ca5377e84fccd0f890b6f6ca36c02e18b6d36cb34f469fe4fe906109ef908390614ee7565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b652d79883d200081565b3390565b612e49846323b872dd60e01b858585604051602401612dc793929190614547565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613a9d565b50505050565b6000612e5a82611def565b612e63836124d5565b6110339190614f7e565b3b151590565b3360009081526003602052604090208054831115612ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906148c4565b42816005015410612efa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729061479c565b60025473ffffffffffffffffffffffffffffffffffffffff1615612fa1576002546040517f51cff8d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906351cff8d990612f6e903390600401614526565b600060405180830381600087803b158015612f8857600080fd5b505af1158015612f9c573d6000803e3d6000fd5b505050505b80548390600090612fbe6b204fce5e3e2502611000000084614fcf565b612fc89190614f96565b9050612fd2613b53565b612fdb33613d2a565b84158015612fe95750600084115b1561302a576000612ff8611aee565b905080600754866130099190614fcf565b6130139190614f96565b845490935083111561302457835492505b50613051565b82546b204fce5e3e25026110000000906130449083614fcf565b61304e9190614f96565b91505b60006007548361305f611aee565b6130699190614fcf565b6130739190614f96565b905082846000016000828254613089919061500c565b9250508190555082600760008282546130a2919061500c565b90915550503360009081526005602052604090205460ff161580156130d7575060185484600101546130d49190614f7e565b42105b15613164576015546130e833612e6d565b156130f257506016545b60006127106131018385614fcf565b61310b9190614f96565b6009549091506131559073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613a7e565b61315f818461500c565b925050505b6131a573ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163383613a7e565b8354156131d7576007546131b7611aee565b85546131c39190614fcf565b6131cd9190614f96565b60028501556131df565b600060028501555b4260038501556131ee3361419b565b3373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688285604051613236929190614f14565b60405180910390a2505050505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260409020805415806132795750600084115b156132bd576509184e72a00084116132bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614b4b565b60058101548390421161331b5784156132fa574260048301556008820154600d80546000906132ed90849061500c565b9091555050600060088301555b8160040154826005015461330e919061500c565b6133189082614f7e565b90505b83158061332b575062093a808110155b613361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614932565b600f5481111561339d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906148fb565b60025473ffffffffffffffffffffffffffffffffffffffff1615613448576002546040517f0efe6a8b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690630efe6a8b906134159086908990899060040161459e565b600060405180830381600087803b15801561342f57600080fd5b505af1158015613443573d6000803e3d6000fd5b505050505b613450613b53565b6007546134ad5760006134616114d7565b6009549091506134ab9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613a7e565b505b6134b683613d2a565b831561352d5742826005015410156134e55742600483018190556134db908590614f7e565b60058301556134ff565b838260050160008282546134f99190614f7e565b90915550505b6007820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b60008060008061353b611aee565b905088156135895761358573ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001688308c612da6565b8892505b85541580159061359d5750600786015460ff165b156136165760075486546135b19083614fcf565b6135bb9190614f96565b91506135c78284614f7e565b92508560000154600760008282546135df919061500c565b90915550506000865560048601544214156136165760088601829055600d8054839190600090613610908490614f7e565b90915550505b6007541561364657613628828261500c565b6007546136359085614fcf565b61363f9190614f96565b935061364a565b8293505b8560040154866005015411156137cd57600060105460125488600401548960050154613676919061500c565b6136809190614fcf565b61368a9190614f96565b9050600064e8d4a5100061369e8784614fcf565b6136a89190614f96565b90506136b48187614f7e565b9550858860000160008282546136ca9190614f7e565b909155506000905064e8d4a510006136e28785614fcf565b6136ec9190614f96565b9050808960060160008282546137029190614f7e565b9250508190555080600c600082825461371b9190614f7e565b925050819055508b8960080160008282546137369190614f7e565b925050819055508b600d600082825461374f9190614f7e565b925050819055508973ffffffffffffffffffffffffffffffffffffffff167f2b943276e5d747f6f7dd46d3b880d8874cb8d6b9b88ca1903990a2738e7dc7a18a600801548b600001548c600401548d600501546137ac919061500c565b426040516137bd9493929190614f22565b60405180910390a25050506137e7565b838660000160008282546137e19190614f7e565b90915550505b60008911806137f65750600088115b15613802574260018701555b83600760008282546138149190614f7e565b90915550506006860154600754613829611aee565b88546138359190614fcf565b61383f9190614f96565b613849919061500c565b600287015542600387015561385d8761419b565b8673ffffffffffffffffffffffffffffffffffffffff167f7162984403f6c73c8639375d45a9187dfd04602231bd8e587c415718b5f7e5f98a868b426040516138a99493929190614f22565b60405180910390a2505050505050505050565b6138c461181f565b6138fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729061469a565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61394b612da2565b6040516139589190614526565b60405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6139df61181f565b15613a16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614a23565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861394b612da2565b6112128363a9059cbb60e01b8484604051602401612dc7929190614578565b6000613aff826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166142959092919063ffffffff16565b8051909150156112125780806020019051810190613b1d919061449d565b611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614d99565b600b546040517f1175a1dd00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001691631175a1dd91613bcb913090600401614ef0565b60206040518083038186803b158015613be357600080fd5b505afa158015613bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c1b91906144d1565b905080156110e0576000613c2d6114d7565b600b546040517f441a3e7000000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163441a3e7091613ca691600090600401614f14565b600060405180830381600087803b158015613cc057600080fd5b505af1158015613cd4573d6000803e3d6000fd5b505050506000613ce26114d7565b9050337fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba613d10848461500c565b604051613d1d9190614ee7565b60405180910390a2505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604090208054156128b457600781015460ff161561402257600081600601546007548360000154613d7a611aee565b613d849190614fcf565b613d8e9190614f96565b613d98919061500c565b90508160060154600c6000828254613db0919061500c565b909155505060006006830181905582546007805491929091613dd390849061500c565b909155505073ffffffffffffffffffffffffffffffffffffffff831660009081526006602052604090205460ff16158015613e1e575042600e548360050154613e1c9190614f7e565b105b15613efd576000826008015482613e35919061500c565b90506000600e54846005015442613e4c919061500c565b613e56919061500c565b9050601154811115613e6757506011545b600060115460175483613e7a9190614fcf565b613e849190614f96565b9050600064e8d4a51000613e988386614fcf565b613ea29190614f96565b600954909150613eec9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613a7e565b613ef6818661500c565b9450505050505b6000613f07611aee565b90506000600754600014613f3d57613f1f838361500c565b600754613f2c9085614fcf565b613f369190614f96565b9050613f40565b50815b80845560078054829190600090613f58908490614f7e565b9091555050600584015442111561401a576007840180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600060048501819055600585018190556008850154600d805491929091613fbb90849061500c565b90915550506000600885015560405173ffffffffffffffffffffffffffffffffffffffff8616907ff7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004906140119086904290614f14565b60405180910390a25b5050506128b4565b73ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff166128b457600060075461405c611aee565b83546140689190614fcf565b6140729190614f96565b905081600001546007600082825461408a919061500c565b9091555050600080835560028301546140a3908361500c565b6013549091506140b285612e6d565b156140bc57506014545b60006127106140cb8385614fcf565b6140d59190614f96565b90508015614131576009546141249073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613a7e565b61412e818561500c565b93505b600061413b611aee565b9050600060075460001461417157614153868361500c565b6007546141609088614fcf565b61416a9190614f96565b9050614174565b50845b8087556007805482919060009061418c908490614f7e565b90915550505050505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16156110e05773ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260408120600481015460058201549192916141f5919061500c565b6001546008840154600d546010546040517fe874fdaf00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff9093169363e874fdaf9361425e93899390928892906004016145cc565b600060405180830381600087803b15801561427857600080fd5b505af115801561428c573d6000803e3d6000fd5b50505050505050565b60606142a484846000856142ae565b90505b9392505050565b6060824710156142ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614969565b6142f3856143af565b614329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290614d05565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614352919061450a565b60006040518083038185875af1925050503d806000811461438f576040519150601f19603f3d011682016040523d82523d6000602084013e614394565b606091505b50915091506143a48282866143cb565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b606083156143da5750816142a7565b8251156143ea5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729190614612565b60006020828403121561442f578081fd5b81356142a78161507e565b6000806040838503121561444c578081fd5b82356144578161507e565b91506020830135614467816150a0565b809150509250929050565b60008060408385031215614484578182fd5b823561448f8161507e565b946020939093013593505050565b6000602082840312156144ae578081fd5b81516142a7816150a0565b6000602082840312156144ca578081fd5b5035919050565b6000602082840312156144e2578081fd5b5051919050565b600080604083850312156144fb578182fd5b50508035926020909101359150565b6000825161451c818460208701615023565b9190910192915050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9390931683526020830191909152604082015260600190565b73ffffffffffffffffffffffffffffffffffffffff959095168552602085019390935260408401919091526060830152608082015260a00190565b901515815260200190565b6000602082528251806020840152614631816040850160208701615023565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208082526012908201527f4e6f7468696e6720746f206465706f7369740000000000000000000000000000604082015260600190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b60208082526013908201527f4e6f7468696e6720746f20776974686472617700000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f4455524154494f4e5f464143544f522063616e6e6f74206265207a65726f0000604082015260600190565b6020808252600d908201527f5374696c6c20696e206c6f636b00000000000000000000000000000000000000604082015260600190565b60208082526033908201527f424f4f53545f5745494748542063616e6e6f74206265206d6f7265207468616e60408201527f20424f4f53545f5745494748545f4c494d495400000000000000000000000000606082015260800190565b60208082526015908201527f42616c616e6365206d7573742065786365656420300000000000000000000000604082015260600190565b60208082526025908201527f546f6b656e2063616e6e6f742062652073616d65206173206465706f7369742060408201527f746f6b656e000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604082015260600190565b6020808252601c908201527f4d6178696d756d206c6f636b20706572696f6420657863656564656400000000604082015260600190565b6020808252601f908201527f4d696e696d756d206c6f636b20706572696f64206973206f6e65207765656b00604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526036908201527f706572666f726d616e63654665652063616e6e6f74206265206d6f726520746860408201527f616e204d41585f504552464f524d414e43455f46454500000000000000000000606082015260800190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60208082526016908201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604082015260600190565b60208082526026908201527f4455524154494f4e5f464143544f525f4f5645524455452063616e6e6f74206260408201527f65207a65726f0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f6f7665726475654665652063616e6e6f74206265206d6f7265207468616e204d60408201527f41585f4f5645524455455f464545000000000000000000000000000000000000606082015260800190565b60208082526036908201527f4465706f73697420616d6f756e74206d7573742062652067726561746572207460408201527f68616e204d494e5f4445504f5349545f414d4f554e5400000000000000000000606082015260800190565b6020808252603d908201527f4d41585f4c4f434b5f4455524154494f4e2063616e6e6f74206265206d6f726560408201527f207468616e204d41585f4c4f434b5f4455524154494f4e5f4c494d4954000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201527f61646d696e3a207775743f000000000000000000000000000000000000000000604082015260600190565b6020808252601a908201527f4e6f74206f70657261746f72206f722063616b65206f776e6572000000000000604082015260600190565b60208082526038908201527f576974686472617720616d6f756e74206d75737420626520677265617465722060408201527f7468616e204d494e5f57495448445241575f414d4f554e540000000000000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252603d908201527f7769746864726177466565506572696f642063616e6e6f74206265206d6f726560408201527f207468616e204d41585f57495448445241575f4645455f504552494f44000000606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f77697468647261774665652063616e6e6f74206265206d6f7265207468616e2060408201527f4d41585f57495448445241575f46454500000000000000000000000000000000606082015260800190565b60208082526023908201527f554e4c4f434b5f465245455f4455524154494f4e2063616e6e6f74206265207a60408201527f65726f0000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f43616e6e6f7420756e6c6f636b20796574000000000000000000000000000000604082015260600190565b90815260200190565b91825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b988952602089019790975260408801959095526060870193909352608086019190915260a085015260c0840152151560e08301526101008201526101200190565b60008219821115614f9157614f9161504f565b500190565b600082614fca577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150075761500761504f565b500290565b60008282101561501e5761501e61504f565b500390565b60005b8381101561503e578181015183820152602001615026565b83811115612e495750506000910152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146110e057600080fd5b80151581146110e057600080fdfea2646970667358221220161b312fa06b5510bce35751461f7d7626cd70db69df524969ca0f6c75d7dc4364736f6c634300080100330000000000000000000000000e09fabb73bd3ade0a17ecc321fd13a19e81ce82000000000000000000000000a5f8c5dbd5f286960b9d90548680ae5ebff076520000000000000000000000007a2c5c265bdc9724dace715c5ff60eea40e07f47000000000000000000000000ecc90d54b10add1ab746abe7e83abe178b72aa9e000000000000000000000000ecc90d54b10add1ab746abe7e83abe178b72aa9e0000000000000000000000000000000000000000000000000000000000000000",
}

CakePoolMetaData contains all meta data concerning the CakePool contract.

View Source
var MasterChefABI = MasterChefMetaData.ABI

MasterChefABI is the input ABI used to generate the binding from. Deprecated: Use MasterChefMetaData.ABI instead.

View Source
var MasterChefBin = MasterChefMetaData.Bin

MasterChefBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MasterChefMetaData.Bin instead.

View Source
var MasterChefMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractCakeToken\",\"name\":\"_cake\",\"type\":\"address\"},{\"internalType\":\"contractSyrupBar\",\"name\":\"_syrup\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_devaddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_cakePerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BONUS_MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cake\",\"outputs\":[{\"internalType\":\"contractCakeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cakePerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"devaddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrator\",\"outputs\":[{\"internalType\":\"contractIMigratorChef\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accCakePerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"syrup\",\"outputs\":[{\"internalType\":\"contractSyrupBar\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"multiplierNumber\",\"type\":\"uint256\"}],\"name\":\"updateMultiplier\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIBEP20\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_withUpdate\",\"type\":\"bool\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_withUpdate\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMigratorChef\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_to\",\"type\":\"uint256\"}],\"name\":\"getMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingCake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"enterStaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"leaveStaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_devaddr\",\"type\":\"address\"}],\"name\":\"dev\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052600160055560006009553480156200001b57600080fd5b50604051620038a2380380620038a2833981810160405260a08110156200004157600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200008c620002dd60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048190555080600a81905550600760405180608001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020016103e88152602001600a5481526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015550506103e86009819055505050505050620002e5565b600033905090565b6135ad80620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635ffe6146116101045780638d88a90e116100a2578063d49e77cd11610071578063d49e77cd14610710578063dce1748414610744578063e2bbb15814610778578063f2fde38b146107b0576101cf565b80638d88a90e146105e35780638da5cb5b146106275780638dbb1e3a1461065b57806393f1a40b146106a7576101cf565b8063715018a6116100de578063715018a6146105535780637cd07e471461055d57806386a952c4146105915780638aa28550146105c5576101cf565b80635ffe6146146104d7578063630b5ba11461050557806364482f791461050f576101cf565b806323cf311811610171578063454b06081161014b578063454b06081461042f57806348cd4cb11461045d57806351eb05a61461047b5780635312ea8e146104a9576101cf565b806323cf31181461038557806341441d3b146103c9578063441a3e70146103f7576101cf565b80631175a1dd116101ad5780631175a1dd1461023e5780631526fe27146102a057806317caf6f11461030d5780631eaaa0451461032b576101cf565b80630755e0b6146101d4578063081e3eda146101f25780631058d28114610210575b600080fd5b6101dc6107f4565b6040518082815260200191505060405180910390f35b6101fa6107fa565b6040518082815260200191505060405180910390f35b61023c6004803603602081101561022657600080fd5b8101908080359060200190929190505050610807565b005b61028a6004803603604081101561025457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b12565b6040518082815260200191505060405180910390f35b6102cc600480360360208110156102b657600080fd5b8101908080359060200190929190505050610d58565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610315610db5565b6040518082815260200191505060405180910390f35b6103836004803603606081101561034157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610dbb565b005b6103c76004803603602081101561039b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f9c565b005b6103f5600480360360208110156103df57600080fd5b81019080803590602001909291905050506110a8565b005b61042d6004803603604081101561040d57600080fd5b810190808035906020019092919080359060200190929190505050611349565b005b61045b6004803603602081101561044557600080fd5b810190808035906020019092919050505061161e565b005b610465611a48565b6040518082815260200191505060405180910390f35b6104a76004803603602081101561049157600080fd5b8101908080359060200190929190505050611a4e565b005b6104d5600480360360208110156104bf57600080fd5b8101908080359060200190929190505050611dbc565b005b610503600480360360208110156104ed57600080fd5b8101908080359060200190929190505050611eee565b005b61050d611fc0565b005b6105516004803603606081101561052557600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611fed565b005b61055b61214d565b005b6105656122d3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105996122f9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105cd61231f565b6040518082815260200191505060405180910390f35b610625600480360360208110156105f957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612325565b005b61062f61242c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106916004803603604081101561067157600080fd5b810190808035906020019092919080359060200190929190505050612455565b6040518082815260200191505060405180910390f35b6106f3600480360360408110156106bd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612486565b604051808381526020018281526020019250505060405180910390f35b6107186124b7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61074c6124dd565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107ae6004803603604081101561078e57600080fd5b810190808035906020019092919080359060200190929190505050612503565b005b6107f2600480360360208110156107c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061276e565b005b60045481565b6000600780549050905090565b6000600760008154811061081757fe5b9060005260206000209060040201905060006008600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905082816000015410156108f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6108ff6000611a4e565b6000610949826001015461093b64e8d4a5100061092d8760030154876000015461284290919063ffffffff16565b6128c890919063ffffffff16565b61291290919063ffffffff16565b9050600081111561095f5761095e338261295c565b5b60008411156109d75761097f84836000015461291290919063ffffffff16565b82600001819055506109d633858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a0b9092919063ffffffff16565b5b610a0964e8d4a510006109fb8560030154856000015461284290919063ffffffff16565b6128c890919063ffffffff16565b8260010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610aa457600080fd5b505af1158015610ab8573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a350505050565b60008060078481548110610b2257fe5b9060005260206000209060040201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c1c57600080fd5b505afa158015610c30573d6000803e3d6000fd5b505050506040513d6020811015610c4657600080fd5b81019080805190602001909291905050509050836002015443118015610c6d575060008114155b15610d08576000610c82856002015443612455565b90506000610cc5600954610cb78860010154610ca96004548761284290919063ffffffff16565b61284290919063ffffffff16565b6128c890919063ffffffff16565b9050610d03610cf484610ce664e8d4a510008561284290919063ffffffff16565b6128c890919063ffffffff16565b85612aad90919063ffffffff16565b935050505b610d4c8360010154610d3e64e8d4a51000610d3086886000015461284290919063ffffffff16565b6128c890919063ffffffff16565b61291290919063ffffffff16565b94505050505092915050565b60078181548110610d6557fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60095481565b610dc3612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610e9257610e91611fc0565b5b6000600a544311610ea557600a54610ea7565b435b9050610ebe84600954612aad90919063ffffffff16565b600981905550600760405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301555050610f96612b3d565b50505050565b610fa4612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611064576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060076000815481106110b857fe5b9060005260206000209060040201905060006008600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506111266000611a4e565b60008160000154111561119557600061117d826001015461116f64e8d4a510006111618760030154876000015461284290919063ffffffff16565b6128c890919063ffffffff16565b61291290919063ffffffff16565b9050600081111561119357611192338261295c565b5b505b600083111561120f576111ef3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c29909392919063ffffffff16565b611206838260000154612aad90919063ffffffff16565b81600001819055505b61124164e8d4a510006112338460030154846000015461284290919063ffffffff16565b6128c890919063ffffffff16565b8160010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156112dc57600080fd5b505af11580156112f0573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505050565b60008214156113c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f77697468647261772043414b4520627920756e7374616b696e6700000000000081525060200191505060405180910390fd5b6000600783815481106113cf57fe5b9060005260206000209060040201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905082816000015410156114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6114b684611a4e565b600061150082600101546114f264e8d4a510006114e48760030154876000015461284290919063ffffffff16565b6128c890919063ffffffff16565b61291290919063ffffffff16565b9050600081111561151657611515338261295c565b5b600084111561158e5761153684836000015461291290919063ffffffff16565b826000018190555061158d33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a0b9092919063ffffffff16565b5b6115c064e8d4a510006115b28560030154856000015461284290919063ffffffff16565b6128c890919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b6000600782815481106116f257fe5b9060005260206000209060040201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561179457600080fd5b505afa1580156117a8573d6000803e3d6000fd5b505050506040513d60208110156117be57600080fd5b8101908080519060200190929190505050905061181e600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff16612cea9092919063ffffffff16565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce5494bb846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156118ab57600080fd5b505af11580156118bf573d6000803e3d6000fd5b505050506040513d60208110156118d557600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561194f57600080fd5b505afa158015611963573d6000803e3d6000fd5b505050506040513d602081101561197957600080fd5b810190808051906020019092919050505082146119fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6d6967726174653a20626164000000000000000000000000000000000000000081525060200191505060405180910390fd5b808460000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b600a5481565b600060078281548110611a5d57fe5b9060005260206000209060040201905080600201544311611a7e5750611db9565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b0b57600080fd5b505afa158015611b1f573d6000803e3d6000fd5b505050506040513d6020811015611b3557600080fd5b810190808051906020019092919050505090506000811415611b61574382600201819055505050611db9565b6000611b71836002015443612455565b90506000611bb4600954611ba68660010154611b986004548761284290919063ffffffff16565b61284290919063ffffffff16565b6128c890919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611c2b600a856128c890919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611c7e57600080fd5b505af1158015611c92573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611d4b57600080fd5b505af1158015611d5f573d6000803e3d6000fd5b50505050611da3611d9084611d8264e8d4a510008561284290919063ffffffff16565b6128c890919063ffffffff16565b8560030154612aad90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600060078281548110611dcb57fe5b9060005260206000209060040201905060006008600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611e823382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a0b9092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b611ef6612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fb6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060058190555050565b6000600780549050905060005b81811015611fe957611fde81611a4e565b806001019050611fcd565b5050565b611ff5612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156120c4576120c3611fc0565b5b6000600784815481106120d357fe5b906000526020600020906004020160010154905082600785815481106120f557fe5b906000526020600020906004020160010181905550828114612147576121388361212a8360095461291290919063ffffffff16565b612aad90919063ffffffff16565b600981905550612146612b3d565b5b50505050565b612155612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612215576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6465763a207775743f000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061247e600554612470858561291290919063ffffffff16565b61284290919063ffffffff16565b905092915050565b6008602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082141561257a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f6465706f7369742043414b45206279207374616b696e6700000000000000000081525060200191505060405180910390fd5b60006007838154811061258957fe5b9060005260206000209060040201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506125f684611a4e565b60008160000154111561266557600061264d826001015461263f64e8d4a510006126318760030154876000015461284290919063ffffffff16565b6128c890919063ffffffff16565b61291290919063ffffffff16565b9050600081111561266357612662338261295c565b5b505b60008311156126df576126bf3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c29909392919063ffffffff16565b6126d6838260000154612aad90919063ffffffff16565b81600001819055505b61271164e8d4a510006127038460030154846000015461284290919063ffffffff16565b6128c890919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b612776612b35565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612836576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61283f81612eaf565b50565b60008083141561285557600090506128c2565b600082840290508284828161286657fe5b04146128bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806135216021913960400191505060405180910390fd5b809150505b92915050565b600061290a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612ff2565b905092915050565b600061295483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506130b8565b905092915050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2e6ddcc83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156129ef57600080fd5b505af1158015612a03573d6000803e3d6000fd5b505050505050565b612aa88363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613178565b505050565b600080828401905083811015612b2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b60006007805490509050600080600190505b82811015612b9557612b8860078281548110612b6757fe5b90600052602060002090600402016001015483612aad90919063ffffffff16565b9150806001019050612b4f565b5060008114612c2557612bb26003826128c890919063ffffffff16565b9050612bfa81612bec6007600081548110612bc957fe5b90600052602060002090600402016001015460095461291290919063ffffffff16565b612aad90919063ffffffff16565b600981905550806007600081548110612c0f57fe5b9060005260206000209060040201600101819055505b5050565b612ce4846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613178565b50505050565b6000811480612db8575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612d7b57600080fd5b505afa158015612d8f573d6000803e3d6000fd5b505050506040513d6020811015612da557600080fd5b8101908080519060200190929190505050145b612e0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806135426036913960400191505060405180910390fd5b612eaa8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613178565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134fb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808311829061309e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613063578082015181840152602081019050613048565b50505050905090810190601f1680156130905780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816130aa57fe5b049050809150509392505050565b6000838311158290613165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561312a57808201518184015260208101905061310f565b50505050905090810190601f1680156131575780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606131da826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166132679092919063ffffffff16565b9050600081511115613262578080602001905160208110156131fb57600080fd5b8101908080519060200190929190505050613261576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806134d1602a913960400191505060405180910390fd5b5b505050565b6060613276848460008561327f565b90509392505050565b606061328a85613485565b6132fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061334c5780518252602082019150602081019050602083039250613329565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146133ae576040519150601f19603f3d011682016040523d82523d6000602084013e6133b3565b606091505b509150915081156133c857809250505061347d565b6000815111156133db5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613442578082015181840152602081019050613427565b50505050905090810190601f16801561346f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91508082141580156134c757506000801b8214155b9250505091905056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666542455032303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212205ba14cbd1a8974463085d873f8bbef6ec9cdfc1de9ead20f33088ce2b23b9a1264736f6c634300060c0033",
}

MasterChefMetaData contains all meta data concerning the MasterChef contract.

View Source
var MyContractABI = MyContractMetaData.ABI

MyContractABI is the input ABI used to generate the binding from. Deprecated: Use MyContractMetaData.ABI instead.

View Source
var MyContractBin = MyContractMetaData.Bin

MyContractBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MyContractMetaData.Bin instead.

View Source
var MyContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decrease\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getYourCounter\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610412806100616000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806333c4b3ef14610051578063c12327b81461006f578063d732d9551461009f578063e8927fbc146100a9575b600080fd5b6100596100b3565b6040516100669190610212565b60405180910390f35b610089600480360381019061008491906101d6565b6100f9565b6040516100969190610212565b60405180910390f35b6100a7610111565b005b6100b1610169565b005b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006020528060005260406000206000915090505481565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461016091906102c1565b92505081905550565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546101b8919061022d565b92505081905550565b6000813590506101d0816103c5565b92915050565b6000602082840312156101ec576101eb6103c0565b5b60006101fa848285016101c1565b91505092915050565b61020c81610367565b82525050565b60006020820190506102276000830184610203565b92915050565b600061023882610367565b915061024383610367565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0383136000831215161561027e5761027d610391565b5b817f80000000000000000000000000000000000000000000000000000000000000000383126000831216156102b6576102b5610391565b5b828201905092915050565b60006102cc82610367565b91506102d783610367565b9250827f80000000000000000000000000000000000000000000000000000000000000000182126000841215161561031257610311610391565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01821360008412161561034a57610349610391565b5b828203905092915050565b600061036082610371565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b6103ce81610355565b81146103d957600080fd5b5056fea2646970667358221220de1f7fa3110ea59960df61dc0437ebddc24790014862795ab5fac32b6931cbd964736f6c63430008070033",
}

MyContractMetaData contains all meta data concerning the MyContract contract.

View Source
var SmartChefInitializableABI = SmartChefInitializableMetaData.ABI

SmartChefInitializableABI is the input ABI used to generate the binding from. Deprecated: Use SmartChefInitializableMetaData.ABI instead.

View Source
var SmartChefInitializableBin = SmartChefInitializableMetaData.Bin

SmartChefInitializableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SmartChefInitializableMetaData.Bin instead.

View Source
var SmartChefInitializableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenRecovered\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"AdminTokenRecovery\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"poolLimitPerUser\",\"type\":\"uint256\"}],\"name\":\"NewPoolLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardPerBlock\",\"type\":\"uint256\"}],\"name\":\"NewRewardPerBlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"}],\"name\":\"NewStartAndEndBlocks\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"RewardsStop\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"PRECISION_FACTOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SMART_CHEF_FACTORY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accTokenPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bonusEndBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hasUserLimit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRewardBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLimitPerUser\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakedToken\",\"outputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIBEP20\",\"name\":\"_stakedToken\",\"type\":\"address\"},{\"internalType\":\"contractIBEP20\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_rewardPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bonusEndBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_poolLimitPerUser\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"emergencyRewardWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"}],\"name\":\"recoverWrongTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_hasUserLimit\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_poolLimitPerUser\",\"type\":\"uint256\"}],\"name\":\"updatePoolLimitPerUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardPerBlock\",\"type\":\"uint256\"}],\"name\":\"updateRewardPerBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bonusEndBlock\",\"type\":\"uint256\"}],\"name\":\"updateStartAndEndBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50600061002161010c60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610114565b600033905090565b612c9880620001246000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80638da5cb5b116100f9578063bd61719111610097578063db2e21bc11610071578063db2e21bc146105f3578063f2fde38b146105fd578063f40f0f5214610641578063f7c618c114610699576101a9565b8063bd6171911461056d578063cc7a262e146105a1578063ccd34cd5146105d5576101a9565b80639513997f116100d35780639513997f146104af578063a0b40905146104e7578063a9f8d18114610521578063b6b55f251461053f576101a9565b80638da5cb5b1461043d5780638f6629151461047157806392e8990e1461048f576101a9565b80633f138d4b11610166578063715018a611610140578063715018a61461035f57806380dc06721461036957806383a5041c146103735780638ae39cac1461041f576101a9565b80633f138d4b146102d557806348cd4cb11461032357806366fe9f8a14610341576101a9565b806301f8a976146101ae5780631959a002146101dc5780631aed65531461023b5780632e1a7d4d146102595780633279beab14610287578063392e53cd146102b5575b600080fd5b6101da600480360360208110156101c457600080fd5b81019080803590602001909291905050506106cd565b005b61021e600480360360208110156101f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610834565b604051808381526020018281526020019250505060405180910390f35b610243610858565b6040518082815260200191505060405180910390f35b6102856004803603602081101561026f57600080fd5b810190808035906020019092919050505061085e565b005b6102b36004803603602081101561029d57600080fd5b8101908080359060200190929190505050610b47565b005b6102bd610c46565b60405180821515815260200191505060405180910390f35b610321600480360360408110156102eb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c59565b005b61032b610f14565b6040518082815260200191505060405180910390f35b610349610f1a565b6040518082815260200191505060405180910390f35b610367610f20565b005b61037161108d565b005b61041d600480360360e081101561038957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611145565b005b6104276114c2565b6040518082815260200191505060405180910390f35b6104456114c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104796114f1565b6040518082815260200191505060405180910390f35b6104976114f7565b60405180821515815260200191505060405180910390f35b6104e5600480360360408110156104c557600080fd5b81019080803590602001909291908035906020019092919050505061150a565b005b61051f600480360360408110156104fd57600080fd5b810190808035151590602001909291908035906020019092919050505061173a565b005b610529611954565b6040518082815260200191505060405180910390f35b61056b6004803603602081101561055557600080fd5b810190808035906020019092919050505061195a565b005b610575611c7d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a9611ca3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105dd611cc9565b6040518082815260200191505060405180910390f35b6105fb611ccf565b005b61063f6004803603602081101561061357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e64565b005b6106836004803603602081101561065757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612056565b6040518082815260200191505060405180910390f35b6106a161227b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d56122a1565b73ffffffffffffffffffffffffffffffffffffffff166106f36114c8565b73ffffffffffffffffffffffffffffffffffffffff161461077c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60055443106107f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f506f6f6c2068617320737461727465640000000000000000000000000000000081525060200191505060405180910390fd5b806008819055507f0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df816040518082815260200191505060405180910390a150565b600c6020528060005260406000206000915090508060000154908060010154905082565b60045481565b600260015414156108d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050818160000154101561099c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f416d6f756e7420746f20776974686472617720746f6f2068696768000000000081525060200191505060405180910390fd5b6109a46122a9565b60006109e982600101546109db6009546109cd600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b90506000831115610a6157610a0b83836000015461251b90919063ffffffff16565b8260000181905550610a603384600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b6000811115610ab857610ab73382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b610ae5600954610ad7600354856000015461240c90919063ffffffff16565b61249290919063ffffffff16565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364846040518082815260200191505060405180910390a250506001808190555050565b610b4f6122a1565b73ffffffffffffffffffffffffffffffffffffffff16610b6d6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610bf6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c433382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b50565b600260159054906101000a900460ff1681565b610c616122a1565b73ffffffffffffffffffffffffffffffffffffffff16610c7f6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207374616b656420746f6b656e0000000000000000000081525060200191505060405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e90576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f742062652072657761726420746f6b656e0000000000000000000081525060200191505060405180910390fd5b610ebb33828473ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b7f74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab781298282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b60055481565b60075481565b610f286122a1565b73ffffffffffffffffffffffffffffffffffffffff16610f466114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610fcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6110956122a1565b73ffffffffffffffffffffffffffffffffffffffff166110b36114c8565b73ffffffffffffffffffffffffffffffffffffffff161461113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b43600481905550565b600260159054906101000a900460ff16156111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416c726561647920696e697469616c697a65640000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420666163746f727900000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600260156101000a81548160ff02191690831515021790555086600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460088190555083600581905550826004819055506000821115611369576001600260146101000a81548160ff021916908315150217905550816007819055505b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d357600080fd5b505afa1580156113e7573d6000803e3d6000fd5b505050506040513d60208110156113fd57600080fd5b810190808051906020019092919050505060ff169050601e8110611489576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4d75737420626520696e666572696f7220746f2033300000000000000000000081525060200191505060405180910390fd5b61149d81601e61251b90919063ffffffff16565b600a0a6009819055506005546006819055506114b882611e64565b5050505050505050565b60085481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60035481565b600260149054906101000a900460ff1681565b6115126122a1565b73ffffffffffffffffffffffffffffffffffffffff166115306114c8565b73ffffffffffffffffffffffffffffffffffffffff16146115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544310611630576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f506f6f6c2068617320737461727465640000000000000000000000000000000081525060200191505060405180910390fd5b808210611688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612bbe602e913960400191505060405180910390fd5b8143106116e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612c126030913960400191505060405180910390fd5b81600581905550806004819055506005546006819055507f7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce068282604051808381526020018281526020019250505060405180910390a15050565b6117426122a1565b73ffffffffffffffffffffffffffffffffffffffff166117606114c8565b73ffffffffffffffffffffffffffffffffffffffff16146117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600260149054906101000a900460ff1661186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4d7573742062652073657400000000000000000000000000000000000000000081525060200191505060405180910390fd5b81156118f45760075481116118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4e6577206c696d6974206d75737420626520686967686572000000000000000081525060200191505060405180910390fd5b80600781905550611917565b81600260146101000a81548160ff02191690831515021790555060006007819055505b7f241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c6007546040518082815260200191505060405180910390a15050565b60065481565b600260015414156119d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260149054906101000a900460ff1615611ac257600754611a4d82600001548461264090919063ffffffff16565b1115611ac1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5573657220616d6f756e742061626f7665206c696d697400000000000000000081525060200191505060405180910390fd5b5b611aca6122a9565b600081600001541115611b77576000611b1c8260010154611b0e600954611b00600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b90506000811115611b7557611b743382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b505b6000821115611bef57611b9782826000015461264090919063ffffffff16565b8160000181905550611bee333084600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126c8909392919063ffffffff16565b5b611c1c600954611c0e600354846000015461240c90919063ffffffff16565b61249290919063ffffffff16565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a2506001808190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60026001541415611d48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506000811115611e0757611e063382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd969583600001546040518082815260200191505060405180910390a2505060018081905550565b611e6c6122a1565b73ffffffffffffffffffffffffffffffffffffffff16611e8a6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b986026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561212557600080fd5b505afa158015612139573d6000803e3d6000fd5b505050506040513d602081101561214f57600080fd5b8101908080519060200190929190505050905060065443118015612174575060008114155b1561222e57600061218760065443612789565b905060006121a06008548361240c90919063ffffffff16565b905060006121df6121ce856121c06009548661240c90919063ffffffff16565b61249290919063ffffffff16565b60035461264090919063ffffffff16565b90506122228560010154612214600954612206858a6000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b95505050505050612276565b6122718260010154612263600954612255600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b925050505b919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60065443116122b75761240a565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561234257600080fd5b505afa158015612356573d6000803e3d6000fd5b505050506040513d602081101561236c57600080fd5b81019080805190602001909291905050509050600081141561239557436006819055505061240a565b60006123a360065443612789565b905060006123bc6008548361240c90919063ffffffff16565b90506123f96123e8846123da6009548561240c90919063ffffffff16565b61249290919063ffffffff16565b60035461264090919063ffffffff16565b600381905550436006819055505050505b565b60008083141561241f576000905061248c565b600082840290508284828161243057fe5b0414612487576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612c426021913960400191505060405180910390fd5b809150505b92915050565b6000808211612509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161251257fe5b04905092915050565b600082821115612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b61263b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127de565b505050565b6000808284019050838110156126be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b612783846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127de565b50505050565b600060045482116127ae576127a7838361251b90919063ffffffff16565b90506127d8565b60045483106127c057600090506127d8565b6127d58360045461251b90919063ffffffff16565b90505b92915050565b6060612840826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166128cd9092919063ffffffff16565b90506000815111156128c85780806020019051602081101561286157600080fd5b81019080805190602001909291905050506128c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b6e602a913960400191505060405180910390fd5b5b505050565b60606128dc84846000856128e5565b90509392505050565b606082471015612940576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612bec6026913960400191505060405180910390fd5b61294985612a8e565b6129bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612a0b57805182526020820191506020810190506020830392506129e8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a6d576040519150601f19603f3d011682016040523d82523d6000602084013e612a72565b606091505b5091509150612a82828286612aa1565b92505050949350505050565b600080823b905060008111915050919050565b60608315612ab157829050612b66565b600083511115612ac45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b2b578082015181840152602081019050612b10565b50505050905090810190601f168015612b585780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734e6577207374617274426c6f636b206d757374206265206c6f776572207468616e206e657720656e64426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6577207374617274426c6f636b206d75737420626520686967686572207468616e2063757272656e7420626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122074fc55607a0bc2f237d4f11275c833dba709f0fa8c5aadceaa49caf7c28cd1cc64736f6c634300060c0033",
}

SmartChefInitializableMetaData contains all meta data concerning the SmartChefInitializable contract.

Functions

This section is empty.

Types

type CakePool added in v1.8.0

type CakePool struct {
	CakePoolCaller     // Read-only binding to the contract
	CakePoolTransactor // Write-only binding to the contract
	CakePoolFilterer   // Log filterer for contract events
}

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

func DeployCakePool added in v1.8.0

func DeployCakePool(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address, _masterchefV2 common.Address, _admin common.Address, _treasury common.Address, _operator common.Address, _pid *big.Int) (common.Address, *types.Transaction, *CakePool, error)

DeployCakePool deploys a new Ethereum contract, binding an instance of CakePool to it.

func NewCakePool added in v1.8.0

func NewCakePool(address common.Address, backend bind.ContractBackend) (*CakePool, error)

NewCakePool creates a new instance of CakePool, bound to a specific deployed contract.

type CakePoolCaller added in v1.8.0

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

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

func NewCakePoolCaller added in v1.8.0

func NewCakePoolCaller(address common.Address, caller bind.ContractCaller) (*CakePoolCaller, error)

NewCakePoolCaller creates a new read-only instance of CakePool, bound to a specific deployed contract.

func (*CakePoolCaller) Admin added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) Available added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) BOOSTWEIGHT added in v1.8.0

func (_CakePool *CakePoolCaller) BOOSTWEIGHT(opts *bind.CallOpts) (*big.Int, error)

BOOSTWEIGHT is a free data retrieval call binding the contract method 0xbc75f4b8.

Solidity: function BOOST_WEIGHT() view returns(uint256)

func (*CakePoolCaller) BOOSTWEIGHTLIMIT added in v1.8.0

func (_CakePool *CakePoolCaller) BOOSTWEIGHTLIMIT(opts *bind.CallOpts) (*big.Int, error)

BOOSTWEIGHTLIMIT is a free data retrieval call binding the contract method 0xfd253b64.

Solidity: function BOOST_WEIGHT_LIMIT() view returns(uint256)

func (*CakePoolCaller) BalanceOf added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) BoostContract added in v1.8.0

func (_CakePool *CakePoolCaller) BoostContract(opts *bind.CallOpts) (common.Address, error)

BoostContract is a free data retrieval call binding the contract method 0xdfcedeee.

Solidity: function boostContract() view returns(address)

func (*CakePoolCaller) CakePoolPID added in v1.8.0

func (_CakePool *CakePoolCaller) CakePoolPID(opts *bind.CallOpts) (*big.Int, error)

CakePoolPID is a free data retrieval call binding the contract method 0x6d4710b9.

Solidity: function cakePoolPID() view returns(uint256)

func (*CakePoolCaller) CalculateOverdueFee added in v1.8.0

func (_CakePool *CakePoolCaller) CalculateOverdueFee(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

CalculateOverdueFee is a free data retrieval call binding the contract method 0x95dc14e1.

Solidity: function calculateOverdueFee(address _user) view returns(uint256)

func (*CakePoolCaller) CalculatePerformanceFee added in v1.8.0

func (_CakePool *CakePoolCaller) CalculatePerformanceFee(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

CalculatePerformanceFee is a free data retrieval call binding the contract method 0xc6ed51be.

Solidity: function calculatePerformanceFee(address _user) view returns(uint256)

func (*CakePoolCaller) CalculateTotalPendingCakeRewards added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) CalculateWithdrawFee added in v1.8.0

func (_CakePool *CakePoolCaller) CalculateWithdrawFee(opts *bind.CallOpts, _user common.Address, _shares *big.Int) (*big.Int, error)

CalculateWithdrawFee is a free data retrieval call binding the contract method 0x29a5cfd6.

Solidity: function calculateWithdrawFee(address _user, uint256 _shares) view returns(uint256)

func (*CakePoolCaller) DURATIONFACTOR added in v1.8.0

func (_CakePool *CakePoolCaller) DURATIONFACTOR(opts *bind.CallOpts) (*big.Int, error)

DURATIONFACTOR is a free data retrieval call binding the contract method 0xe464c623.

Solidity: function DURATION_FACTOR() view returns(uint256)

func (*CakePoolCaller) DURATIONFACTOROVERDUE added in v1.8.0

func (_CakePool *CakePoolCaller) DURATIONFACTOROVERDUE(opts *bind.CallOpts) (*big.Int, error)

DURATIONFACTOROVERDUE is a free data retrieval call binding the contract method 0xacaf88cd.

Solidity: function DURATION_FACTOR_OVERDUE() view returns(uint256)

func (*CakePoolCaller) FreeOverdueFeeUsers added in v1.8.0

func (_CakePool *CakePoolCaller) FreeOverdueFeeUsers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

FreeOverdueFeeUsers is a free data retrieval call binding the contract method 0x668679ba.

Solidity: function freeOverdueFeeUsers(address ) view returns(bool)

func (*CakePoolCaller) FreePerformanceFeeUsers added in v1.8.0

func (_CakePool *CakePoolCaller) FreePerformanceFeeUsers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

FreePerformanceFeeUsers is a free data retrieval call binding the contract method 0x3fec4e32.

Solidity: function freePerformanceFeeUsers(address ) view returns(bool)

func (*CakePoolCaller) FreeWithdrawFeeUsers added in v1.8.0

func (_CakePool *CakePoolCaller) FreeWithdrawFeeUsers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

FreeWithdrawFeeUsers is a free data retrieval call binding the contract method 0x87d4bda9.

Solidity: function freeWithdrawFeeUsers(address ) view returns(bool)

func (*CakePoolCaller) GetPricePerFullShare added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) MAXLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolCaller) MAXLOCKDURATION(opts *bind.CallOpts) (*big.Int, error)

MAXLOCKDURATION is a free data retrieval call binding the contract method 0x4f1bfc9e.

Solidity: function MAX_LOCK_DURATION() view returns(uint256)

func (*CakePoolCaller) MAXLOCKDURATIONLIMIT added in v1.8.0

func (_CakePool *CakePoolCaller) MAXLOCKDURATIONLIMIT(opts *bind.CallOpts) (*big.Int, error)

MAXLOCKDURATIONLIMIT is a free data retrieval call binding the contract method 0x01e81326.

Solidity: function MAX_LOCK_DURATION_LIMIT() view returns(uint256)

func (*CakePoolCaller) MAXOVERDUEFEE added in v1.8.0

func (_CakePool *CakePoolCaller) MAXOVERDUEFEE(opts *bind.CallOpts) (*big.Int, error)

MAXOVERDUEFEE is a free data retrieval call binding the contract method 0x948a03f2.

Solidity: function MAX_OVERDUE_FEE() view returns(uint256)

func (*CakePoolCaller) MAXPERFORMANCEFEE added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) MAXWITHDRAWFEE added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) MAXWITHDRAWFEEPERIOD added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) MINDEPOSITAMOUNT added in v1.8.0

func (_CakePool *CakePoolCaller) MINDEPOSITAMOUNT(opts *bind.CallOpts) (*big.Int, error)

MINDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x1ea30fef.

Solidity: function MIN_DEPOSIT_AMOUNT() view returns(uint256)

func (*CakePoolCaller) MINLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolCaller) MINLOCKDURATION(opts *bind.CallOpts) (*big.Int, error)

MINLOCKDURATION is a free data retrieval call binding the contract method 0x78b4330f.

Solidity: function MIN_LOCK_DURATION() view returns(uint256)

func (*CakePoolCaller) MINWITHDRAWAMOUNT added in v1.8.0

func (_CakePool *CakePoolCaller) MINWITHDRAWAMOUNT(opts *bind.CallOpts) (*big.Int, error)

MINWITHDRAWAMOUNT is a free data retrieval call binding the contract method 0xb6857844.

Solidity: function MIN_WITHDRAW_AMOUNT() view returns(uint256)

func (*CakePoolCaller) MasterchefV2 added in v1.8.0

func (_CakePool *CakePoolCaller) MasterchefV2(opts *bind.CallOpts) (common.Address, error)

MasterchefV2 is a free data retrieval call binding the contract method 0xcb528b52.

Solidity: function masterchefV2() view returns(address)

func (*CakePoolCaller) Operator added in v1.8.0

func (_CakePool *CakePoolCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CakePoolCaller) OverdueFee added in v1.8.0

func (_CakePool *CakePoolCaller) OverdueFee(opts *bind.CallOpts) (*big.Int, error)

OverdueFee is a free data retrieval call binding the contract method 0xa5834e06.

Solidity: function overdueFee() view returns(uint256)

func (*CakePoolCaller) Owner added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) PRECISIONFACTOR added in v1.8.0

func (_CakePool *CakePoolCaller) PRECISIONFACTOR(opts *bind.CallOpts) (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*CakePoolCaller) PRECISIONFACTORSHARE added in v1.8.0

func (_CakePool *CakePoolCaller) PRECISIONFACTORSHARE(opts *bind.CallOpts) (*big.Int, error)

PRECISIONFACTORSHARE is a free data retrieval call binding the contract method 0x731ff24a.

Solidity: function PRECISION_FACTOR_SHARE() view returns(uint256)

func (*CakePoolCaller) Paused added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) PerformanceFee added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) PerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolCaller) PerformanceFeeContract(opts *bind.CallOpts) (*big.Int, error)

PerformanceFeeContract is a free data retrieval call binding the contract method 0x3eb78874.

Solidity: function performanceFeeContract() view returns(uint256)

func (*CakePoolCaller) Token added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) TotalBoostDebt added in v1.8.0

func (_CakePool *CakePoolCaller) TotalBoostDebt(opts *bind.CallOpts) (*big.Int, error)

TotalBoostDebt is a free data retrieval call binding the contract method 0xe73008bc.

Solidity: function totalBoostDebt() view returns(uint256)

func (*CakePoolCaller) TotalLockedAmount added in v1.8.0

func (_CakePool *CakePoolCaller) TotalLockedAmount(opts *bind.CallOpts) (*big.Int, error)

TotalLockedAmount is a free data retrieval call binding the contract method 0x05a9f274.

Solidity: function totalLockedAmount() view returns(uint256)

func (*CakePoolCaller) TotalShares added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) Treasury added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) UNLOCKFREEDURATION added in v1.8.0

func (_CakePool *CakePoolCaller) UNLOCKFREEDURATION(opts *bind.CallOpts) (*big.Int, error)

UNLOCKFREEDURATION is a free data retrieval call binding the contract method 0xaaada5da.

Solidity: function UNLOCK_FREE_DURATION() view returns(uint256)

func (*CakePoolCaller) UserInfo added in v1.8.0

func (_CakePool *CakePoolCaller) UserInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
	LockStartTime        *big.Int
	LockEndTime          *big.Int
	UserBoostedShare     *big.Int
	Locked               bool
	LockedAmount         *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, uint256 lockStartTime, uint256 lockEndTime, uint256 userBoostedShare, bool locked, uint256 lockedAmount)

func (*CakePoolCaller) VCake added in v1.8.0

func (_CakePool *CakePoolCaller) VCake(opts *bind.CallOpts) (common.Address, error)

VCake is a free data retrieval call binding the contract method 0x2d19b982.

Solidity: function VCake() view returns(address)

func (*CakePoolCaller) WithdrawFee added in v1.8.0

func (_CakePool *CakePoolCaller) 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 (*CakePoolCaller) WithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolCaller) WithdrawFeeContract(opts *bind.CallOpts) (*big.Int, error)

WithdrawFeeContract is a free data retrieval call binding the contract method 0xe4b37ef5.

Solidity: function withdrawFeeContract() view returns(uint256)

func (*CakePoolCaller) WithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolCaller) 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 CakePoolCallerRaw added in v1.8.0

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

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

func (*CakePoolCallerRaw) Call added in v1.8.0

func (_CakePool *CakePoolCallerRaw) 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 CakePoolCallerSession added in v1.8.0

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

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

func (*CakePoolCallerSession) Admin added in v1.8.0

func (_CakePool *CakePoolCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CakePoolCallerSession) Available added in v1.8.0

func (_CakePool *CakePoolCallerSession) Available() (*big.Int, error)

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

Solidity: function available() view returns(uint256)

func (*CakePoolCallerSession) BOOSTWEIGHT added in v1.8.0

func (_CakePool *CakePoolCallerSession) BOOSTWEIGHT() (*big.Int, error)

BOOSTWEIGHT is a free data retrieval call binding the contract method 0xbc75f4b8.

Solidity: function BOOST_WEIGHT() view returns(uint256)

func (*CakePoolCallerSession) BOOSTWEIGHTLIMIT added in v1.8.0

func (_CakePool *CakePoolCallerSession) BOOSTWEIGHTLIMIT() (*big.Int, error)

BOOSTWEIGHTLIMIT is a free data retrieval call binding the contract method 0xfd253b64.

Solidity: function BOOST_WEIGHT_LIMIT() view returns(uint256)

func (*CakePoolCallerSession) BalanceOf added in v1.8.0

func (_CakePool *CakePoolCallerSession) BalanceOf() (*big.Int, error)

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

Solidity: function balanceOf() view returns(uint256)

func (*CakePoolCallerSession) BoostContract added in v1.8.0

func (_CakePool *CakePoolCallerSession) BoostContract() (common.Address, error)

BoostContract is a free data retrieval call binding the contract method 0xdfcedeee.

Solidity: function boostContract() view returns(address)

func (*CakePoolCallerSession) CakePoolPID added in v1.8.0

func (_CakePool *CakePoolCallerSession) CakePoolPID() (*big.Int, error)

CakePoolPID is a free data retrieval call binding the contract method 0x6d4710b9.

Solidity: function cakePoolPID() view returns(uint256)

func (*CakePoolCallerSession) CalculateOverdueFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) CalculateOverdueFee(_user common.Address) (*big.Int, error)

CalculateOverdueFee is a free data retrieval call binding the contract method 0x95dc14e1.

Solidity: function calculateOverdueFee(address _user) view returns(uint256)

func (*CakePoolCallerSession) CalculatePerformanceFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) CalculatePerformanceFee(_user common.Address) (*big.Int, error)

CalculatePerformanceFee is a free data retrieval call binding the contract method 0xc6ed51be.

Solidity: function calculatePerformanceFee(address _user) view returns(uint256)

func (*CakePoolCallerSession) CalculateTotalPendingCakeRewards added in v1.8.0

func (_CakePool *CakePoolCallerSession) CalculateTotalPendingCakeRewards() (*big.Int, error)

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

Solidity: function calculateTotalPendingCakeRewards() view returns(uint256)

func (*CakePoolCallerSession) CalculateWithdrawFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) CalculateWithdrawFee(_user common.Address, _shares *big.Int) (*big.Int, error)

CalculateWithdrawFee is a free data retrieval call binding the contract method 0x29a5cfd6.

Solidity: function calculateWithdrawFee(address _user, uint256 _shares) view returns(uint256)

func (*CakePoolCallerSession) DURATIONFACTOR added in v1.8.0

func (_CakePool *CakePoolCallerSession) DURATIONFACTOR() (*big.Int, error)

DURATIONFACTOR is a free data retrieval call binding the contract method 0xe464c623.

Solidity: function DURATION_FACTOR() view returns(uint256)

func (*CakePoolCallerSession) DURATIONFACTOROVERDUE added in v1.8.0

func (_CakePool *CakePoolCallerSession) DURATIONFACTOROVERDUE() (*big.Int, error)

DURATIONFACTOROVERDUE is a free data retrieval call binding the contract method 0xacaf88cd.

Solidity: function DURATION_FACTOR_OVERDUE() view returns(uint256)

func (*CakePoolCallerSession) FreeOverdueFeeUsers added in v1.8.0

func (_CakePool *CakePoolCallerSession) FreeOverdueFeeUsers(arg0 common.Address) (bool, error)

FreeOverdueFeeUsers is a free data retrieval call binding the contract method 0x668679ba.

Solidity: function freeOverdueFeeUsers(address ) view returns(bool)

func (*CakePoolCallerSession) FreePerformanceFeeUsers added in v1.8.0

func (_CakePool *CakePoolCallerSession) FreePerformanceFeeUsers(arg0 common.Address) (bool, error)

FreePerformanceFeeUsers is a free data retrieval call binding the contract method 0x3fec4e32.

Solidity: function freePerformanceFeeUsers(address ) view returns(bool)

func (*CakePoolCallerSession) FreeWithdrawFeeUsers added in v1.8.0

func (_CakePool *CakePoolCallerSession) FreeWithdrawFeeUsers(arg0 common.Address) (bool, error)

FreeWithdrawFeeUsers is a free data retrieval call binding the contract method 0x87d4bda9.

Solidity: function freeWithdrawFeeUsers(address ) view returns(bool)

func (*CakePoolCallerSession) GetPricePerFullShare added in v1.8.0

func (_CakePool *CakePoolCallerSession) GetPricePerFullShare() (*big.Int, error)

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

Solidity: function getPricePerFullShare() view returns(uint256)

func (*CakePoolCallerSession) MAXLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolCallerSession) MAXLOCKDURATION() (*big.Int, error)

MAXLOCKDURATION is a free data retrieval call binding the contract method 0x4f1bfc9e.

Solidity: function MAX_LOCK_DURATION() view returns(uint256)

func (*CakePoolCallerSession) MAXLOCKDURATIONLIMIT added in v1.8.0

func (_CakePool *CakePoolCallerSession) MAXLOCKDURATIONLIMIT() (*big.Int, error)

MAXLOCKDURATIONLIMIT is a free data retrieval call binding the contract method 0x01e81326.

Solidity: function MAX_LOCK_DURATION_LIMIT() view returns(uint256)

func (*CakePoolCallerSession) MAXOVERDUEFEE added in v1.8.0

func (_CakePool *CakePoolCallerSession) MAXOVERDUEFEE() (*big.Int, error)

MAXOVERDUEFEE is a free data retrieval call binding the contract method 0x948a03f2.

Solidity: function MAX_OVERDUE_FEE() view returns(uint256)

func (*CakePoolCallerSession) MAXPERFORMANCEFEE added in v1.8.0

func (_CakePool *CakePoolCallerSession) 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 (*CakePoolCallerSession) MAXWITHDRAWFEE added in v1.8.0

func (_CakePool *CakePoolCallerSession) 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 (*CakePoolCallerSession) MAXWITHDRAWFEEPERIOD added in v1.8.0

func (_CakePool *CakePoolCallerSession) 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 (*CakePoolCallerSession) MINDEPOSITAMOUNT added in v1.8.0

func (_CakePool *CakePoolCallerSession) MINDEPOSITAMOUNT() (*big.Int, error)

MINDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x1ea30fef.

Solidity: function MIN_DEPOSIT_AMOUNT() view returns(uint256)

func (*CakePoolCallerSession) MINLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolCallerSession) MINLOCKDURATION() (*big.Int, error)

MINLOCKDURATION is a free data retrieval call binding the contract method 0x78b4330f.

Solidity: function MIN_LOCK_DURATION() view returns(uint256)

func (*CakePoolCallerSession) MINWITHDRAWAMOUNT added in v1.8.0

func (_CakePool *CakePoolCallerSession) MINWITHDRAWAMOUNT() (*big.Int, error)

MINWITHDRAWAMOUNT is a free data retrieval call binding the contract method 0xb6857844.

Solidity: function MIN_WITHDRAW_AMOUNT() view returns(uint256)

func (*CakePoolCallerSession) MasterchefV2 added in v1.8.0

func (_CakePool *CakePoolCallerSession) MasterchefV2() (common.Address, error)

MasterchefV2 is a free data retrieval call binding the contract method 0xcb528b52.

Solidity: function masterchefV2() view returns(address)

func (*CakePoolCallerSession) Operator added in v1.8.0

func (_CakePool *CakePoolCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CakePoolCallerSession) OverdueFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) OverdueFee() (*big.Int, error)

OverdueFee is a free data retrieval call binding the contract method 0xa5834e06.

Solidity: function overdueFee() view returns(uint256)

func (*CakePoolCallerSession) Owner added in v1.8.0

func (_CakePool *CakePoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakePoolCallerSession) PRECISIONFACTOR added in v1.8.0

func (_CakePool *CakePoolCallerSession) PRECISIONFACTOR() (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*CakePoolCallerSession) PRECISIONFACTORSHARE added in v1.8.0

func (_CakePool *CakePoolCallerSession) PRECISIONFACTORSHARE() (*big.Int, error)

PRECISIONFACTORSHARE is a free data retrieval call binding the contract method 0x731ff24a.

Solidity: function PRECISION_FACTOR_SHARE() view returns(uint256)

func (*CakePoolCallerSession) Paused added in v1.8.0

func (_CakePool *CakePoolCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CakePoolCallerSession) PerformanceFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) PerformanceFee() (*big.Int, error)

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

Solidity: function performanceFee() view returns(uint256)

func (*CakePoolCallerSession) PerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolCallerSession) PerformanceFeeContract() (*big.Int, error)

PerformanceFeeContract is a free data retrieval call binding the contract method 0x3eb78874.

Solidity: function performanceFeeContract() view returns(uint256)

func (*CakePoolCallerSession) Token added in v1.8.0

func (_CakePool *CakePoolCallerSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CakePoolCallerSession) TotalBoostDebt added in v1.8.0

func (_CakePool *CakePoolCallerSession) TotalBoostDebt() (*big.Int, error)

TotalBoostDebt is a free data retrieval call binding the contract method 0xe73008bc.

Solidity: function totalBoostDebt() view returns(uint256)

func (*CakePoolCallerSession) TotalLockedAmount added in v1.8.0

func (_CakePool *CakePoolCallerSession) TotalLockedAmount() (*big.Int, error)

TotalLockedAmount is a free data retrieval call binding the contract method 0x05a9f274.

Solidity: function totalLockedAmount() view returns(uint256)

func (*CakePoolCallerSession) TotalShares added in v1.8.0

func (_CakePool *CakePoolCallerSession) TotalShares() (*big.Int, error)

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

Solidity: function totalShares() view returns(uint256)

func (*CakePoolCallerSession) Treasury added in v1.8.0

func (_CakePool *CakePoolCallerSession) Treasury() (common.Address, error)

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

Solidity: function treasury() view returns(address)

func (*CakePoolCallerSession) UNLOCKFREEDURATION added in v1.8.0

func (_CakePool *CakePoolCallerSession) UNLOCKFREEDURATION() (*big.Int, error)

UNLOCKFREEDURATION is a free data retrieval call binding the contract method 0xaaada5da.

Solidity: function UNLOCK_FREE_DURATION() view returns(uint256)

func (*CakePoolCallerSession) UserInfo added in v1.8.0

func (_CakePool *CakePoolCallerSession) UserInfo(arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
	LockStartTime        *big.Int
	LockEndTime          *big.Int
	UserBoostedShare     *big.Int
	Locked               bool
	LockedAmount         *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, uint256 lockStartTime, uint256 lockEndTime, uint256 userBoostedShare, bool locked, uint256 lockedAmount)

func (*CakePoolCallerSession) VCake added in v1.8.0

func (_CakePool *CakePoolCallerSession) VCake() (common.Address, error)

VCake is a free data retrieval call binding the contract method 0x2d19b982.

Solidity: function VCake() view returns(address)

func (*CakePoolCallerSession) WithdrawFee added in v1.8.0

func (_CakePool *CakePoolCallerSession) WithdrawFee() (*big.Int, error)

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

Solidity: function withdrawFee() view returns(uint256)

func (*CakePoolCallerSession) WithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolCallerSession) WithdrawFeeContract() (*big.Int, error)

WithdrawFeeContract is a free data retrieval call binding the contract method 0xe4b37ef5.

Solidity: function withdrawFeeContract() view returns(uint256)

func (*CakePoolCallerSession) WithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolCallerSession) WithdrawFeePeriod() (*big.Int, error)

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

Solidity: function withdrawFeePeriod() view returns(uint256)

type CakePoolDeposit added in v1.8.0

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

CakePoolDeposit represents a Deposit event raised by the CakePool contract.

type CakePoolDepositIterator added in v1.8.0

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

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

func (*CakePoolDepositIterator) Close added in v1.8.0

func (it *CakePoolDepositIterator) Close() error

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

func (*CakePoolDepositIterator) Error added in v1.8.0

func (it *CakePoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolDepositIterator) Next added in v1.8.0

func (it *CakePoolDepositIterator) 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 CakePoolFilterer added in v1.8.0

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

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

func NewCakePoolFilterer added in v1.8.0

func NewCakePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*CakePoolFilterer, error)

NewCakePoolFilterer creates a new log filterer instance of CakePool, bound to a specific deployed contract.

func (*CakePoolFilterer) FilterDeposit added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address) (*CakePoolDepositIterator, error)

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

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

func (*CakePoolFilterer) FilterFreeFeeUser added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterFreeFeeUser(opts *bind.FilterOpts, user []common.Address, free []bool) (*CakePoolFreeFeeUserIterator, error)

FilterFreeFeeUser is a free log retrieval operation binding the contract event 0x3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d44.

Solidity: event FreeFeeUser(address indexed user, bool indexed free)

func (*CakePoolFilterer) FilterHarvest added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterHarvest(opts *bind.FilterOpts, sender []common.Address) (*CakePoolHarvestIterator, error)

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

Solidity: event Harvest(address indexed sender, uint256 amount)

func (*CakePoolFilterer) FilterInit added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterInit(opts *bind.FilterOpts) (*CakePoolInitIterator, error)

FilterInit is a free log retrieval operation binding the contract event 0x57a86f7d14ccde89e22870afe839e3011216827daa9b24e18629f0a1e9d6cc14.

Solidity: event Init()

func (*CakePoolFilterer) FilterLock added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterLock(opts *bind.FilterOpts, sender []common.Address) (*CakePoolLockIterator, error)

FilterLock is a free log retrieval operation binding the contract event 0x2b943276e5d747f6f7dd46d3b880d8874cb8d6b9b88ca1903990a2738e7dc7a1.

Solidity: event Lock(address indexed sender, uint256 lockedAmount, uint256 shares, uint256 lockedDuration, uint256 blockTimestamp)

func (*CakePoolFilterer) FilterNewAdmin added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewAdmin(opts *bind.FilterOpts) (*CakePoolNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address admin)

func (*CakePoolFilterer) FilterNewBoostContract added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewBoostContract(opts *bind.FilterOpts) (*CakePoolNewBoostContractIterator, error)

FilterNewBoostContract is a free log retrieval operation binding the contract event 0x8f49a182922022d9119a1a6aeeca151b4a5665e86bd61c1ff32e152d459558b2.

Solidity: event NewBoostContract(address boostContract)

func (*CakePoolFilterer) FilterNewBoostWeight added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewBoostWeight(opts *bind.FilterOpts) (*CakePoolNewBoostWeightIterator, error)

FilterNewBoostWeight is a free log retrieval operation binding the contract event 0x7666dfff8c3377938e522b4eed3aff079973a976f95969db60a406d49f40da4e.

Solidity: event NewBoostWeight(uint256 boostWeight)

func (*CakePoolFilterer) FilterNewDurationFactor added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewDurationFactor(opts *bind.FilterOpts) (*CakePoolNewDurationFactorIterator, error)

FilterNewDurationFactor is a free log retrieval operation binding the contract event 0x9478eb023aac0a7d58a4e935377056bf27cf5b72a2300725f831817a8f62fbde.

Solidity: event NewDurationFactor(uint256 durationFactor)

func (*CakePoolFilterer) FilterNewDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewDurationFactorOverdue(opts *bind.FilterOpts) (*CakePoolNewDurationFactorOverdueIterator, error)

FilterNewDurationFactorOverdue is a free log retrieval operation binding the contract event 0x18b6d179114082d7eda9837e15a39eb30032d5f3df00487a67541398f48fabfe.

Solidity: event NewDurationFactorOverdue(uint256 durationFactorOverdue)

func (*CakePoolFilterer) FilterNewMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewMaxLockDuration(opts *bind.FilterOpts) (*CakePoolNewMaxLockDurationIterator, error)

FilterNewMaxLockDuration is a free log retrieval operation binding the contract event 0xcab2f3455b51b6ca5377e84fccd0f890b6f6ca36c02e18b6d36cb34f469fe4fe.

Solidity: event NewMaxLockDuration(uint256 maxLockDuration)

func (*CakePoolFilterer) FilterNewOperator added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewOperator(opts *bind.FilterOpts) (*CakePoolNewOperatorIterator, error)

FilterNewOperator is a free log retrieval operation binding the contract event 0xda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a.

Solidity: event NewOperator(address operator)

func (*CakePoolFilterer) FilterNewOverdueFee added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewOverdueFee(opts *bind.FilterOpts) (*CakePoolNewOverdueFeeIterator, error)

FilterNewOverdueFee is a free log retrieval operation binding the contract event 0xf4bd1c5978320077e792afbb3911e8cab1325ce28a6b3e67f9067a1d80692961.

Solidity: event NewOverdueFee(uint256 overdueFee)

func (*CakePoolFilterer) FilterNewPerformanceFee added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewPerformanceFee(opts *bind.FilterOpts) (*CakePoolNewPerformanceFeeIterator, error)

FilterNewPerformanceFee is a free log retrieval operation binding the contract event 0xefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4.

Solidity: event NewPerformanceFee(uint256 performanceFee)

func (*CakePoolFilterer) FilterNewPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewPerformanceFeeContract(opts *bind.FilterOpts) (*CakePoolNewPerformanceFeeContractIterator, error)

FilterNewPerformanceFeeContract is a free log retrieval operation binding the contract event 0xc5d25457b67b87678c987375af13f6e50beb3ad7bfd009da26766ae986eaa20d.

Solidity: event NewPerformanceFeeContract(uint256 performanceFeeContract)

func (*CakePoolFilterer) FilterNewTreasury added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewTreasury(opts *bind.FilterOpts) (*CakePoolNewTreasuryIterator, error)

FilterNewTreasury is a free log retrieval operation binding the contract event 0xafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086.

Solidity: event NewTreasury(address treasury)

func (*CakePoolFilterer) FilterNewUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewUnlockFreeDuration(opts *bind.FilterOpts) (*CakePoolNewUnlockFreeDurationIterator, error)

FilterNewUnlockFreeDuration is a free log retrieval operation binding the contract event 0xf84bf2b901cfc02956d4e69556d7448cef4ea13587e7714dba7c6d697091e7ad.

Solidity: event NewUnlockFreeDuration(uint256 unlockFreeDuration)

func (*CakePoolFilterer) FilterNewVCakeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewVCakeContract(opts *bind.FilterOpts) (*CakePoolNewVCakeContractIterator, error)

FilterNewVCakeContract is a free log retrieval operation binding the contract event 0x5352e27b0414343d9438a1c6e9d04c65c7cb4d91f44920afee588f91717893f1.

Solidity: event NewVCakeContract(address VCake)

func (*CakePoolFilterer) FilterNewWithdrawFee added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewWithdrawFee(opts *bind.FilterOpts) (*CakePoolNewWithdrawFeeIterator, error)

FilterNewWithdrawFee is a free log retrieval operation binding the contract event 0xd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d.

Solidity: event NewWithdrawFee(uint256 withdrawFee)

func (*CakePoolFilterer) FilterNewWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewWithdrawFeeContract(opts *bind.FilterOpts) (*CakePoolNewWithdrawFeeContractIterator, error)

FilterNewWithdrawFeeContract is a free log retrieval operation binding the contract event 0xcab352e118188b8a2f20a2e8c4ce1241ce2c1740aac4f17c5b0831e65824d8ef.

Solidity: event NewWithdrawFeeContract(uint256 withdrawFeeContract)

func (*CakePoolFilterer) FilterNewWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterNewWithdrawFeePeriod(opts *bind.FilterOpts) (*CakePoolNewWithdrawFeePeriodIterator, error)

FilterNewWithdrawFeePeriod is a free log retrieval operation binding the contract event 0xb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc.

Solidity: event NewWithdrawFeePeriod(uint256 withdrawFeePeriod)

func (*CakePoolFilterer) FilterOwnershipTransferred added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CakePoolOwnershipTransferredIterator, error)

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

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

func (*CakePoolFilterer) FilterPause added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterPause(opts *bind.FilterOpts) (*CakePoolPauseIterator, error)

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

Solidity: event Pause()

func (*CakePoolFilterer) FilterPaused added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterPaused(opts *bind.FilterOpts) (*CakePoolPausedIterator, error)

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

Solidity: event Paused(address account)

func (*CakePoolFilterer) FilterUnlock added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterUnlock(opts *bind.FilterOpts, sender []common.Address) (*CakePoolUnlockIterator, error)

FilterUnlock is a free log retrieval operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 amount, uint256 blockTimestamp)

func (*CakePoolFilterer) FilterUnpause added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterUnpause(opts *bind.FilterOpts) (*CakePoolUnpauseIterator, error)

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

Solidity: event Unpause()

func (*CakePoolFilterer) FilterUnpaused added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CakePoolUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*CakePoolFilterer) FilterWithdraw added in v1.8.0

func (_CakePool *CakePoolFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*CakePoolWithdrawIterator, error)

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

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

func (*CakePoolFilterer) ParseDeposit added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseDeposit(log types.Log) (*CakePoolDeposit, error)

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

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

func (*CakePoolFilterer) ParseFreeFeeUser added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseFreeFeeUser(log types.Log) (*CakePoolFreeFeeUser, error)

ParseFreeFeeUser is a log parse operation binding the contract event 0x3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d44.

Solidity: event FreeFeeUser(address indexed user, bool indexed free)

func (*CakePoolFilterer) ParseHarvest added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseHarvest(log types.Log) (*CakePoolHarvest, error)

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

Solidity: event Harvest(address indexed sender, uint256 amount)

func (*CakePoolFilterer) ParseInit added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseInit(log types.Log) (*CakePoolInit, error)

ParseInit is a log parse operation binding the contract event 0x57a86f7d14ccde89e22870afe839e3011216827daa9b24e18629f0a1e9d6cc14.

Solidity: event Init()

func (*CakePoolFilterer) ParseLock added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseLock(log types.Log) (*CakePoolLock, error)

ParseLock is a log parse operation binding the contract event 0x2b943276e5d747f6f7dd46d3b880d8874cb8d6b9b88ca1903990a2738e7dc7a1.

Solidity: event Lock(address indexed sender, uint256 lockedAmount, uint256 shares, uint256 lockedDuration, uint256 blockTimestamp)

func (*CakePoolFilterer) ParseNewAdmin added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewAdmin(log types.Log) (*CakePoolNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address admin)

func (*CakePoolFilterer) ParseNewBoostContract added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewBoostContract(log types.Log) (*CakePoolNewBoostContract, error)

ParseNewBoostContract is a log parse operation binding the contract event 0x8f49a182922022d9119a1a6aeeca151b4a5665e86bd61c1ff32e152d459558b2.

Solidity: event NewBoostContract(address boostContract)

func (*CakePoolFilterer) ParseNewBoostWeight added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewBoostWeight(log types.Log) (*CakePoolNewBoostWeight, error)

ParseNewBoostWeight is a log parse operation binding the contract event 0x7666dfff8c3377938e522b4eed3aff079973a976f95969db60a406d49f40da4e.

Solidity: event NewBoostWeight(uint256 boostWeight)

func (*CakePoolFilterer) ParseNewDurationFactor added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewDurationFactor(log types.Log) (*CakePoolNewDurationFactor, error)

ParseNewDurationFactor is a log parse operation binding the contract event 0x9478eb023aac0a7d58a4e935377056bf27cf5b72a2300725f831817a8f62fbde.

Solidity: event NewDurationFactor(uint256 durationFactor)

func (*CakePoolFilterer) ParseNewDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewDurationFactorOverdue(log types.Log) (*CakePoolNewDurationFactorOverdue, error)

ParseNewDurationFactorOverdue is a log parse operation binding the contract event 0x18b6d179114082d7eda9837e15a39eb30032d5f3df00487a67541398f48fabfe.

Solidity: event NewDurationFactorOverdue(uint256 durationFactorOverdue)

func (*CakePoolFilterer) ParseNewMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewMaxLockDuration(log types.Log) (*CakePoolNewMaxLockDuration, error)

ParseNewMaxLockDuration is a log parse operation binding the contract event 0xcab2f3455b51b6ca5377e84fccd0f890b6f6ca36c02e18b6d36cb34f469fe4fe.

Solidity: event NewMaxLockDuration(uint256 maxLockDuration)

func (*CakePoolFilterer) ParseNewOperator added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewOperator(log types.Log) (*CakePoolNewOperator, error)

ParseNewOperator is a log parse operation binding the contract event 0xda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a.

Solidity: event NewOperator(address operator)

func (*CakePoolFilterer) ParseNewOverdueFee added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewOverdueFee(log types.Log) (*CakePoolNewOverdueFee, error)

ParseNewOverdueFee is a log parse operation binding the contract event 0xf4bd1c5978320077e792afbb3911e8cab1325ce28a6b3e67f9067a1d80692961.

Solidity: event NewOverdueFee(uint256 overdueFee)

func (*CakePoolFilterer) ParseNewPerformanceFee added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewPerformanceFee(log types.Log) (*CakePoolNewPerformanceFee, error)

ParseNewPerformanceFee is a log parse operation binding the contract event 0xefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4.

Solidity: event NewPerformanceFee(uint256 performanceFee)

func (*CakePoolFilterer) ParseNewPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewPerformanceFeeContract(log types.Log) (*CakePoolNewPerformanceFeeContract, error)

ParseNewPerformanceFeeContract is a log parse operation binding the contract event 0xc5d25457b67b87678c987375af13f6e50beb3ad7bfd009da26766ae986eaa20d.

Solidity: event NewPerformanceFeeContract(uint256 performanceFeeContract)

func (*CakePoolFilterer) ParseNewTreasury added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewTreasury(log types.Log) (*CakePoolNewTreasury, error)

ParseNewTreasury is a log parse operation binding the contract event 0xafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086.

Solidity: event NewTreasury(address treasury)

func (*CakePoolFilterer) ParseNewUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewUnlockFreeDuration(log types.Log) (*CakePoolNewUnlockFreeDuration, error)

ParseNewUnlockFreeDuration is a log parse operation binding the contract event 0xf84bf2b901cfc02956d4e69556d7448cef4ea13587e7714dba7c6d697091e7ad.

Solidity: event NewUnlockFreeDuration(uint256 unlockFreeDuration)

func (*CakePoolFilterer) ParseNewVCakeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewVCakeContract(log types.Log) (*CakePoolNewVCakeContract, error)

ParseNewVCakeContract is a log parse operation binding the contract event 0x5352e27b0414343d9438a1c6e9d04c65c7cb4d91f44920afee588f91717893f1.

Solidity: event NewVCakeContract(address VCake)

func (*CakePoolFilterer) ParseNewWithdrawFee added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewWithdrawFee(log types.Log) (*CakePoolNewWithdrawFee, error)

ParseNewWithdrawFee is a log parse operation binding the contract event 0xd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d.

Solidity: event NewWithdrawFee(uint256 withdrawFee)

func (*CakePoolFilterer) ParseNewWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewWithdrawFeeContract(log types.Log) (*CakePoolNewWithdrawFeeContract, error)

ParseNewWithdrawFeeContract is a log parse operation binding the contract event 0xcab352e118188b8a2f20a2e8c4ce1241ce2c1740aac4f17c5b0831e65824d8ef.

Solidity: event NewWithdrawFeeContract(uint256 withdrawFeeContract)

func (*CakePoolFilterer) ParseNewWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseNewWithdrawFeePeriod(log types.Log) (*CakePoolNewWithdrawFeePeriod, error)

ParseNewWithdrawFeePeriod is a log parse operation binding the contract event 0xb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc.

Solidity: event NewWithdrawFeePeriod(uint256 withdrawFeePeriod)

func (*CakePoolFilterer) ParseOwnershipTransferred added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseOwnershipTransferred(log types.Log) (*CakePoolOwnershipTransferred, error)

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

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

func (*CakePoolFilterer) ParsePause added in v1.8.0

func (_CakePool *CakePoolFilterer) ParsePause(log types.Log) (*CakePoolPause, error)

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

Solidity: event Pause()

func (*CakePoolFilterer) ParsePaused added in v1.8.0

func (_CakePool *CakePoolFilterer) ParsePaused(log types.Log) (*CakePoolPaused, error)

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

Solidity: event Paused(address account)

func (*CakePoolFilterer) ParseUnlock added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseUnlock(log types.Log) (*CakePoolUnlock, error)

ParseUnlock is a log parse operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 amount, uint256 blockTimestamp)

func (*CakePoolFilterer) ParseUnpause added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseUnpause(log types.Log) (*CakePoolUnpause, error)

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

Solidity: event Unpause()

func (*CakePoolFilterer) ParseUnpaused added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseUnpaused(log types.Log) (*CakePoolUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*CakePoolFilterer) ParseWithdraw added in v1.8.0

func (_CakePool *CakePoolFilterer) ParseWithdraw(log types.Log) (*CakePoolWithdraw, error)

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

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

func (*CakePoolFilterer) WatchDeposit added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CakePoolDeposit, sender []common.Address) (event.Subscription, error)

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

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

func (*CakePoolFilterer) WatchFreeFeeUser added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchFreeFeeUser(opts *bind.WatchOpts, sink chan<- *CakePoolFreeFeeUser, user []common.Address, free []bool) (event.Subscription, error)

WatchFreeFeeUser is a free log subscription operation binding the contract event 0x3d7902bc9a6665bd7caf4240b834bb805d3cd68256889e9f8d2e40a10be41d44.

Solidity: event FreeFeeUser(address indexed user, bool indexed free)

func (*CakePoolFilterer) WatchHarvest added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *CakePoolHarvest, sender []common.Address) (event.Subscription, error)

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

Solidity: event Harvest(address indexed sender, uint256 amount)

func (*CakePoolFilterer) WatchInit added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchInit(opts *bind.WatchOpts, sink chan<- *CakePoolInit) (event.Subscription, error)

WatchInit is a free log subscription operation binding the contract event 0x57a86f7d14ccde89e22870afe839e3011216827daa9b24e18629f0a1e9d6cc14.

Solidity: event Init()

func (*CakePoolFilterer) WatchLock added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchLock(opts *bind.WatchOpts, sink chan<- *CakePoolLock, sender []common.Address) (event.Subscription, error)

WatchLock is a free log subscription operation binding the contract event 0x2b943276e5d747f6f7dd46d3b880d8874cb8d6b9b88ca1903990a2738e7dc7a1.

Solidity: event Lock(address indexed sender, uint256 lockedAmount, uint256 shares, uint256 lockedDuration, uint256 blockTimestamp)

func (*CakePoolFilterer) WatchNewAdmin added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CakePoolNewAdmin) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address admin)

func (*CakePoolFilterer) WatchNewBoostContract added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewBoostContract(opts *bind.WatchOpts, sink chan<- *CakePoolNewBoostContract) (event.Subscription, error)

WatchNewBoostContract is a free log subscription operation binding the contract event 0x8f49a182922022d9119a1a6aeeca151b4a5665e86bd61c1ff32e152d459558b2.

Solidity: event NewBoostContract(address boostContract)

func (*CakePoolFilterer) WatchNewBoostWeight added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewBoostWeight(opts *bind.WatchOpts, sink chan<- *CakePoolNewBoostWeight) (event.Subscription, error)

WatchNewBoostWeight is a free log subscription operation binding the contract event 0x7666dfff8c3377938e522b4eed3aff079973a976f95969db60a406d49f40da4e.

Solidity: event NewBoostWeight(uint256 boostWeight)

func (*CakePoolFilterer) WatchNewDurationFactor added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewDurationFactor(opts *bind.WatchOpts, sink chan<- *CakePoolNewDurationFactor) (event.Subscription, error)

WatchNewDurationFactor is a free log subscription operation binding the contract event 0x9478eb023aac0a7d58a4e935377056bf27cf5b72a2300725f831817a8f62fbde.

Solidity: event NewDurationFactor(uint256 durationFactor)

func (*CakePoolFilterer) WatchNewDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewDurationFactorOverdue(opts *bind.WatchOpts, sink chan<- *CakePoolNewDurationFactorOverdue) (event.Subscription, error)

WatchNewDurationFactorOverdue is a free log subscription operation binding the contract event 0x18b6d179114082d7eda9837e15a39eb30032d5f3df00487a67541398f48fabfe.

Solidity: event NewDurationFactorOverdue(uint256 durationFactorOverdue)

func (*CakePoolFilterer) WatchNewMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewMaxLockDuration(opts *bind.WatchOpts, sink chan<- *CakePoolNewMaxLockDuration) (event.Subscription, error)

WatchNewMaxLockDuration is a free log subscription operation binding the contract event 0xcab2f3455b51b6ca5377e84fccd0f890b6f6ca36c02e18b6d36cb34f469fe4fe.

Solidity: event NewMaxLockDuration(uint256 maxLockDuration)

func (*CakePoolFilterer) WatchNewOperator added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewOperator(opts *bind.WatchOpts, sink chan<- *CakePoolNewOperator) (event.Subscription, error)

WatchNewOperator is a free log subscription operation binding the contract event 0xda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a.

Solidity: event NewOperator(address operator)

func (*CakePoolFilterer) WatchNewOverdueFee added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewOverdueFee(opts *bind.WatchOpts, sink chan<- *CakePoolNewOverdueFee) (event.Subscription, error)

WatchNewOverdueFee is a free log subscription operation binding the contract event 0xf4bd1c5978320077e792afbb3911e8cab1325ce28a6b3e67f9067a1d80692961.

Solidity: event NewOverdueFee(uint256 overdueFee)

func (*CakePoolFilterer) WatchNewPerformanceFee added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewPerformanceFee(opts *bind.WatchOpts, sink chan<- *CakePoolNewPerformanceFee) (event.Subscription, error)

WatchNewPerformanceFee is a free log subscription operation binding the contract event 0xefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4.

Solidity: event NewPerformanceFee(uint256 performanceFee)

func (*CakePoolFilterer) WatchNewPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewPerformanceFeeContract(opts *bind.WatchOpts, sink chan<- *CakePoolNewPerformanceFeeContract) (event.Subscription, error)

WatchNewPerformanceFeeContract is a free log subscription operation binding the contract event 0xc5d25457b67b87678c987375af13f6e50beb3ad7bfd009da26766ae986eaa20d.

Solidity: event NewPerformanceFeeContract(uint256 performanceFeeContract)

func (*CakePoolFilterer) WatchNewTreasury added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewTreasury(opts *bind.WatchOpts, sink chan<- *CakePoolNewTreasury) (event.Subscription, error)

WatchNewTreasury is a free log subscription operation binding the contract event 0xafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086.

Solidity: event NewTreasury(address treasury)

func (*CakePoolFilterer) WatchNewUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewUnlockFreeDuration(opts *bind.WatchOpts, sink chan<- *CakePoolNewUnlockFreeDuration) (event.Subscription, error)

WatchNewUnlockFreeDuration is a free log subscription operation binding the contract event 0xf84bf2b901cfc02956d4e69556d7448cef4ea13587e7714dba7c6d697091e7ad.

Solidity: event NewUnlockFreeDuration(uint256 unlockFreeDuration)

func (*CakePoolFilterer) WatchNewVCakeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewVCakeContract(opts *bind.WatchOpts, sink chan<- *CakePoolNewVCakeContract) (event.Subscription, error)

WatchNewVCakeContract is a free log subscription operation binding the contract event 0x5352e27b0414343d9438a1c6e9d04c65c7cb4d91f44920afee588f91717893f1.

Solidity: event NewVCakeContract(address VCake)

func (*CakePoolFilterer) WatchNewWithdrawFee added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewWithdrawFee(opts *bind.WatchOpts, sink chan<- *CakePoolNewWithdrawFee) (event.Subscription, error)

WatchNewWithdrawFee is a free log subscription operation binding the contract event 0xd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d.

Solidity: event NewWithdrawFee(uint256 withdrawFee)

func (*CakePoolFilterer) WatchNewWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewWithdrawFeeContract(opts *bind.WatchOpts, sink chan<- *CakePoolNewWithdrawFeeContract) (event.Subscription, error)

WatchNewWithdrawFeeContract is a free log subscription operation binding the contract event 0xcab352e118188b8a2f20a2e8c4ce1241ce2c1740aac4f17c5b0831e65824d8ef.

Solidity: event NewWithdrawFeeContract(uint256 withdrawFeeContract)

func (*CakePoolFilterer) WatchNewWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchNewWithdrawFeePeriod(opts *bind.WatchOpts, sink chan<- *CakePoolNewWithdrawFeePeriod) (event.Subscription, error)

WatchNewWithdrawFeePeriod is a free log subscription operation binding the contract event 0xb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc.

Solidity: event NewWithdrawFeePeriod(uint256 withdrawFeePeriod)

func (*CakePoolFilterer) WatchOwnershipTransferred added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CakePoolOwnershipTransferred, 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 (*CakePoolFilterer) WatchPause added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *CakePoolPause) (event.Subscription, error)

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

Solidity: event Pause()

func (*CakePoolFilterer) WatchPaused added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CakePoolPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*CakePoolFilterer) WatchUnlock added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchUnlock(opts *bind.WatchOpts, sink chan<- *CakePoolUnlock, sender []common.Address) (event.Subscription, error)

WatchUnlock is a free log subscription operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 amount, uint256 blockTimestamp)

func (*CakePoolFilterer) WatchUnpause added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *CakePoolUnpause) (event.Subscription, error)

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

Solidity: event Unpause()

func (*CakePoolFilterer) WatchUnpaused added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CakePoolUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*CakePoolFilterer) WatchWithdraw added in v1.8.0

func (_CakePool *CakePoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CakePoolWithdraw, 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 CakePoolFreeFeeUser added in v1.8.0

type CakePoolFreeFeeUser struct {
	User common.Address
	Free bool
	Raw  types.Log // Blockchain specific contextual infos
}

CakePoolFreeFeeUser represents a FreeFeeUser event raised by the CakePool contract.

type CakePoolFreeFeeUserIterator added in v1.8.0

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

CakePoolFreeFeeUserIterator is returned from FilterFreeFeeUser and is used to iterate over the raw logs and unpacked data for FreeFeeUser events raised by the CakePool contract.

func (*CakePoolFreeFeeUserIterator) Close added in v1.8.0

func (it *CakePoolFreeFeeUserIterator) Close() error

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

func (*CakePoolFreeFeeUserIterator) Error added in v1.8.0

func (it *CakePoolFreeFeeUserIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolFreeFeeUserIterator) Next added in v1.8.0

func (it *CakePoolFreeFeeUserIterator) 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 CakePoolHarvest added in v1.8.0

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

CakePoolHarvest represents a Harvest event raised by the CakePool contract.

type CakePoolHarvestIterator added in v1.8.0

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

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

func (*CakePoolHarvestIterator) Close added in v1.8.0

func (it *CakePoolHarvestIterator) Close() error

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

func (*CakePoolHarvestIterator) Error added in v1.8.0

func (it *CakePoolHarvestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolHarvestIterator) Next added in v1.8.0

func (it *CakePoolHarvestIterator) 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 CakePoolInit added in v1.8.0

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

CakePoolInit represents a Init event raised by the CakePool contract.

type CakePoolInitIterator added in v1.8.0

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

CakePoolInitIterator is returned from FilterInit and is used to iterate over the raw logs and unpacked data for Init events raised by the CakePool contract.

func (*CakePoolInitIterator) Close added in v1.8.0

func (it *CakePoolInitIterator) Close() error

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

func (*CakePoolInitIterator) Error added in v1.8.0

func (it *CakePoolInitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolInitIterator) Next added in v1.8.0

func (it *CakePoolInitIterator) 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 CakePoolLock added in v1.8.0

type CakePoolLock struct {
	Sender         common.Address
	LockedAmount   *big.Int
	Shares         *big.Int
	LockedDuration *big.Int
	BlockTimestamp *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

CakePoolLock represents a Lock event raised by the CakePool contract.

type CakePoolLockIterator added in v1.8.0

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

CakePoolLockIterator is returned from FilterLock and is used to iterate over the raw logs and unpacked data for Lock events raised by the CakePool contract.

func (*CakePoolLockIterator) Close added in v1.8.0

func (it *CakePoolLockIterator) Close() error

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

func (*CakePoolLockIterator) Error added in v1.8.0

func (it *CakePoolLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolLockIterator) Next added in v1.8.0

func (it *CakePoolLockIterator) 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 CakePoolNewAdmin added in v1.8.0

type CakePoolNewAdmin struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CakePoolNewAdmin represents a NewAdmin event raised by the CakePool contract.

type CakePoolNewAdminIterator added in v1.8.0

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

CakePoolNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the CakePool contract.

func (*CakePoolNewAdminIterator) Close added in v1.8.0

func (it *CakePoolNewAdminIterator) Close() error

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

func (*CakePoolNewAdminIterator) Error added in v1.8.0

func (it *CakePoolNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewAdminIterator) Next added in v1.8.0

func (it *CakePoolNewAdminIterator) 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 CakePoolNewBoostContract added in v1.8.0

type CakePoolNewBoostContract struct {
	BoostContract common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

CakePoolNewBoostContract represents a NewBoostContract event raised by the CakePool contract.

type CakePoolNewBoostContractIterator added in v1.8.0

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

CakePoolNewBoostContractIterator is returned from FilterNewBoostContract and is used to iterate over the raw logs and unpacked data for NewBoostContract events raised by the CakePool contract.

func (*CakePoolNewBoostContractIterator) Close added in v1.8.0

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

func (*CakePoolNewBoostContractIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewBoostContractIterator) Next added in v1.8.0

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 CakePoolNewBoostWeight added in v1.8.0

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

CakePoolNewBoostWeight represents a NewBoostWeight event raised by the CakePool contract.

type CakePoolNewBoostWeightIterator added in v1.8.0

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

CakePoolNewBoostWeightIterator is returned from FilterNewBoostWeight and is used to iterate over the raw logs and unpacked data for NewBoostWeight events raised by the CakePool contract.

func (*CakePoolNewBoostWeightIterator) Close added in v1.8.0

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

func (*CakePoolNewBoostWeightIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewBoostWeightIterator) Next added in v1.8.0

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 CakePoolNewDurationFactor added in v1.8.0

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

CakePoolNewDurationFactor represents a NewDurationFactor event raised by the CakePool contract.

type CakePoolNewDurationFactorIterator added in v1.8.0

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

CakePoolNewDurationFactorIterator is returned from FilterNewDurationFactor and is used to iterate over the raw logs and unpacked data for NewDurationFactor events raised by the CakePool contract.

func (*CakePoolNewDurationFactorIterator) Close added in v1.8.0

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

func (*CakePoolNewDurationFactorIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewDurationFactorIterator) Next added in v1.8.0

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 CakePoolNewDurationFactorOverdue added in v1.8.0

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

CakePoolNewDurationFactorOverdue represents a NewDurationFactorOverdue event raised by the CakePool contract.

type CakePoolNewDurationFactorOverdueIterator added in v1.8.0

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

CakePoolNewDurationFactorOverdueIterator is returned from FilterNewDurationFactorOverdue and is used to iterate over the raw logs and unpacked data for NewDurationFactorOverdue events raised by the CakePool contract.

func (*CakePoolNewDurationFactorOverdueIterator) Close added in v1.8.0

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

func (*CakePoolNewDurationFactorOverdueIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewDurationFactorOverdueIterator) Next added in v1.8.0

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 CakePoolNewMaxLockDuration added in v1.8.0

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

CakePoolNewMaxLockDuration represents a NewMaxLockDuration event raised by the CakePool contract.

type CakePoolNewMaxLockDurationIterator added in v1.8.0

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

CakePoolNewMaxLockDurationIterator is returned from FilterNewMaxLockDuration and is used to iterate over the raw logs and unpacked data for NewMaxLockDuration events raised by the CakePool contract.

func (*CakePoolNewMaxLockDurationIterator) Close added in v1.8.0

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

func (*CakePoolNewMaxLockDurationIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewMaxLockDurationIterator) Next added in v1.8.0

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 CakePoolNewOperator added in v1.8.0

type CakePoolNewOperator struct {
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CakePoolNewOperator represents a NewOperator event raised by the CakePool contract.

type CakePoolNewOperatorIterator added in v1.8.0

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

CakePoolNewOperatorIterator is returned from FilterNewOperator and is used to iterate over the raw logs and unpacked data for NewOperator events raised by the CakePool contract.

func (*CakePoolNewOperatorIterator) Close added in v1.8.0

func (it *CakePoolNewOperatorIterator) Close() error

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

func (*CakePoolNewOperatorIterator) Error added in v1.8.0

func (it *CakePoolNewOperatorIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewOperatorIterator) Next added in v1.8.0

func (it *CakePoolNewOperatorIterator) 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 CakePoolNewOverdueFee added in v1.8.0

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

CakePoolNewOverdueFee represents a NewOverdueFee event raised by the CakePool contract.

type CakePoolNewOverdueFeeIterator added in v1.8.0

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

CakePoolNewOverdueFeeIterator is returned from FilterNewOverdueFee and is used to iterate over the raw logs and unpacked data for NewOverdueFee events raised by the CakePool contract.

func (*CakePoolNewOverdueFeeIterator) Close added in v1.8.0

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

func (*CakePoolNewOverdueFeeIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewOverdueFeeIterator) Next added in v1.8.0

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 CakePoolNewPerformanceFee added in v1.8.0

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

CakePoolNewPerformanceFee represents a NewPerformanceFee event raised by the CakePool contract.

type CakePoolNewPerformanceFeeContract added in v1.8.0

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

CakePoolNewPerformanceFeeContract represents a NewPerformanceFeeContract event raised by the CakePool contract.

type CakePoolNewPerformanceFeeContractIterator added in v1.8.0

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

CakePoolNewPerformanceFeeContractIterator is returned from FilterNewPerformanceFeeContract and is used to iterate over the raw logs and unpacked data for NewPerformanceFeeContract events raised by the CakePool contract.

func (*CakePoolNewPerformanceFeeContractIterator) Close added in v1.8.0

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

func (*CakePoolNewPerformanceFeeContractIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewPerformanceFeeContractIterator) Next added in v1.8.0

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 CakePoolNewPerformanceFeeIterator added in v1.8.0

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

CakePoolNewPerformanceFeeIterator is returned from FilterNewPerformanceFee and is used to iterate over the raw logs and unpacked data for NewPerformanceFee events raised by the CakePool contract.

func (*CakePoolNewPerformanceFeeIterator) Close added in v1.8.0

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

func (*CakePoolNewPerformanceFeeIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewPerformanceFeeIterator) Next added in v1.8.0

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 CakePoolNewTreasury added in v1.8.0

type CakePoolNewTreasury struct {
	Treasury common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CakePoolNewTreasury represents a NewTreasury event raised by the CakePool contract.

type CakePoolNewTreasuryIterator added in v1.8.0

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

CakePoolNewTreasuryIterator is returned from FilterNewTreasury and is used to iterate over the raw logs and unpacked data for NewTreasury events raised by the CakePool contract.

func (*CakePoolNewTreasuryIterator) Close added in v1.8.0

func (it *CakePoolNewTreasuryIterator) Close() error

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

func (*CakePoolNewTreasuryIterator) Error added in v1.8.0

func (it *CakePoolNewTreasuryIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewTreasuryIterator) Next added in v1.8.0

func (it *CakePoolNewTreasuryIterator) 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 CakePoolNewUnlockFreeDuration added in v1.8.0

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

CakePoolNewUnlockFreeDuration represents a NewUnlockFreeDuration event raised by the CakePool contract.

type CakePoolNewUnlockFreeDurationIterator added in v1.8.0

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

CakePoolNewUnlockFreeDurationIterator is returned from FilterNewUnlockFreeDuration and is used to iterate over the raw logs and unpacked data for NewUnlockFreeDuration events raised by the CakePool contract.

func (*CakePoolNewUnlockFreeDurationIterator) Close added in v1.8.0

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

func (*CakePoolNewUnlockFreeDurationIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewUnlockFreeDurationIterator) Next added in v1.8.0

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 CakePoolNewVCakeContract added in v1.8.0

type CakePoolNewVCakeContract struct {
	VCake common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CakePoolNewVCakeContract represents a NewVCakeContract event raised by the CakePool contract.

type CakePoolNewVCakeContractIterator added in v1.8.0

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

CakePoolNewVCakeContractIterator is returned from FilterNewVCakeContract and is used to iterate over the raw logs and unpacked data for NewVCakeContract events raised by the CakePool contract.

func (*CakePoolNewVCakeContractIterator) Close added in v1.8.0

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

func (*CakePoolNewVCakeContractIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewVCakeContractIterator) Next added in v1.8.0

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 CakePoolNewWithdrawFee added in v1.8.0

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

CakePoolNewWithdrawFee represents a NewWithdrawFee event raised by the CakePool contract.

type CakePoolNewWithdrawFeeContract added in v1.8.0

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

CakePoolNewWithdrawFeeContract represents a NewWithdrawFeeContract event raised by the CakePool contract.

type CakePoolNewWithdrawFeeContractIterator added in v1.8.0

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

CakePoolNewWithdrawFeeContractIterator is returned from FilterNewWithdrawFeeContract and is used to iterate over the raw logs and unpacked data for NewWithdrawFeeContract events raised by the CakePool contract.

func (*CakePoolNewWithdrawFeeContractIterator) Close added in v1.8.0

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

func (*CakePoolNewWithdrawFeeContractIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewWithdrawFeeContractIterator) Next added in v1.8.0

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 CakePoolNewWithdrawFeeIterator added in v1.8.0

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

CakePoolNewWithdrawFeeIterator is returned from FilterNewWithdrawFee and is used to iterate over the raw logs and unpacked data for NewWithdrawFee events raised by the CakePool contract.

func (*CakePoolNewWithdrawFeeIterator) Close added in v1.8.0

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

func (*CakePoolNewWithdrawFeeIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewWithdrawFeeIterator) Next added in v1.8.0

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 CakePoolNewWithdrawFeePeriod added in v1.8.0

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

CakePoolNewWithdrawFeePeriod represents a NewWithdrawFeePeriod event raised by the CakePool contract.

type CakePoolNewWithdrawFeePeriodIterator added in v1.8.0

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

CakePoolNewWithdrawFeePeriodIterator is returned from FilterNewWithdrawFeePeriod and is used to iterate over the raw logs and unpacked data for NewWithdrawFeePeriod events raised by the CakePool contract.

func (*CakePoolNewWithdrawFeePeriodIterator) Close added in v1.8.0

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

func (*CakePoolNewWithdrawFeePeriodIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolNewWithdrawFeePeriodIterator) Next added in v1.8.0

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 CakePoolOwnershipTransferred added in v1.8.0

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

CakePoolOwnershipTransferred represents a OwnershipTransferred event raised by the CakePool contract.

type CakePoolOwnershipTransferredIterator added in v1.8.0

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

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

func (*CakePoolOwnershipTransferredIterator) Close added in v1.8.0

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

func (*CakePoolOwnershipTransferredIterator) Error added in v1.8.0

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolOwnershipTransferredIterator) Next added in v1.8.0

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 CakePoolPause added in v1.8.0

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

CakePoolPause represents a Pause event raised by the CakePool contract.

type CakePoolPauseIterator added in v1.8.0

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

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

func (*CakePoolPauseIterator) Close added in v1.8.0

func (it *CakePoolPauseIterator) Close() error

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

func (*CakePoolPauseIterator) Error added in v1.8.0

func (it *CakePoolPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolPauseIterator) Next added in v1.8.0

func (it *CakePoolPauseIterator) 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 CakePoolPaused added in v1.8.0

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

CakePoolPaused represents a Paused event raised by the CakePool contract.

type CakePoolPausedIterator added in v1.8.0

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

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

func (*CakePoolPausedIterator) Close added in v1.8.0

func (it *CakePoolPausedIterator) Close() error

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

func (*CakePoolPausedIterator) Error added in v1.8.0

func (it *CakePoolPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolPausedIterator) Next added in v1.8.0

func (it *CakePoolPausedIterator) 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 CakePoolRaw added in v1.8.0

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

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

func (*CakePoolRaw) Call added in v1.8.0

func (_CakePool *CakePoolRaw) 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 (*CakePoolRaw) Transact added in v1.8.0

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

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

func (*CakePoolRaw) Transfer added in v1.8.0

func (_CakePool *CakePoolRaw) 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 CakePoolSession added in v1.8.0

type CakePoolSession struct {
	Contract     *CakePool         // 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
}

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

func (*CakePoolSession) Admin added in v1.8.0

func (_CakePool *CakePoolSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CakePoolSession) Available added in v1.8.0

func (_CakePool *CakePoolSession) Available() (*big.Int, error)

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

Solidity: function available() view returns(uint256)

func (*CakePoolSession) BOOSTWEIGHT added in v1.8.0

func (_CakePool *CakePoolSession) BOOSTWEIGHT() (*big.Int, error)

BOOSTWEIGHT is a free data retrieval call binding the contract method 0xbc75f4b8.

Solidity: function BOOST_WEIGHT() view returns(uint256)

func (*CakePoolSession) BOOSTWEIGHTLIMIT added in v1.8.0

func (_CakePool *CakePoolSession) BOOSTWEIGHTLIMIT() (*big.Int, error)

BOOSTWEIGHTLIMIT is a free data retrieval call binding the contract method 0xfd253b64.

Solidity: function BOOST_WEIGHT_LIMIT() view returns(uint256)

func (*CakePoolSession) BalanceOf added in v1.8.0

func (_CakePool *CakePoolSession) BalanceOf() (*big.Int, error)

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

Solidity: function balanceOf() view returns(uint256)

func (*CakePoolSession) BoostContract added in v1.8.0

func (_CakePool *CakePoolSession) BoostContract() (common.Address, error)

BoostContract is a free data retrieval call binding the contract method 0xdfcedeee.

Solidity: function boostContract() view returns(address)

func (*CakePoolSession) CakePoolPID added in v1.8.0

func (_CakePool *CakePoolSession) CakePoolPID() (*big.Int, error)

CakePoolPID is a free data retrieval call binding the contract method 0x6d4710b9.

Solidity: function cakePoolPID() view returns(uint256)

func (*CakePoolSession) CalculateOverdueFee added in v1.8.0

func (_CakePool *CakePoolSession) CalculateOverdueFee(_user common.Address) (*big.Int, error)

CalculateOverdueFee is a free data retrieval call binding the contract method 0x95dc14e1.

Solidity: function calculateOverdueFee(address _user) view returns(uint256)

func (*CakePoolSession) CalculatePerformanceFee added in v1.8.0

func (_CakePool *CakePoolSession) CalculatePerformanceFee(_user common.Address) (*big.Int, error)

CalculatePerformanceFee is a free data retrieval call binding the contract method 0xc6ed51be.

Solidity: function calculatePerformanceFee(address _user) view returns(uint256)

func (*CakePoolSession) CalculateTotalPendingCakeRewards added in v1.8.0

func (_CakePool *CakePoolSession) CalculateTotalPendingCakeRewards() (*big.Int, error)

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

Solidity: function calculateTotalPendingCakeRewards() view returns(uint256)

func (*CakePoolSession) CalculateWithdrawFee added in v1.8.0

func (_CakePool *CakePoolSession) CalculateWithdrawFee(_user common.Address, _shares *big.Int) (*big.Int, error)

CalculateWithdrawFee is a free data retrieval call binding the contract method 0x29a5cfd6.

Solidity: function calculateWithdrawFee(address _user, uint256 _shares) view returns(uint256)

func (*CakePoolSession) DURATIONFACTOR added in v1.8.0

func (_CakePool *CakePoolSession) DURATIONFACTOR() (*big.Int, error)

DURATIONFACTOR is a free data retrieval call binding the contract method 0xe464c623.

Solidity: function DURATION_FACTOR() view returns(uint256)

func (*CakePoolSession) DURATIONFACTOROVERDUE added in v1.8.0

func (_CakePool *CakePoolSession) DURATIONFACTOROVERDUE() (*big.Int, error)

DURATIONFACTOROVERDUE is a free data retrieval call binding the contract method 0xacaf88cd.

Solidity: function DURATION_FACTOR_OVERDUE() view returns(uint256)

func (*CakePoolSession) Deposit added in v1.8.0

func (_CakePool *CakePoolSession) Deposit(_amount *big.Int, _lockDuration *big.Int) (*types.Transaction, error)

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

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

func (*CakePoolSession) FreeOverdueFeeUsers added in v1.8.0

func (_CakePool *CakePoolSession) FreeOverdueFeeUsers(arg0 common.Address) (bool, error)

FreeOverdueFeeUsers is a free data retrieval call binding the contract method 0x668679ba.

Solidity: function freeOverdueFeeUsers(address ) view returns(bool)

func (*CakePoolSession) FreePerformanceFeeUsers added in v1.8.0

func (_CakePool *CakePoolSession) FreePerformanceFeeUsers(arg0 common.Address) (bool, error)

FreePerformanceFeeUsers is a free data retrieval call binding the contract method 0x3fec4e32.

Solidity: function freePerformanceFeeUsers(address ) view returns(bool)

func (*CakePoolSession) FreeWithdrawFeeUsers added in v1.8.0

func (_CakePool *CakePoolSession) FreeWithdrawFeeUsers(arg0 common.Address) (bool, error)

FreeWithdrawFeeUsers is a free data retrieval call binding the contract method 0x87d4bda9.

Solidity: function freeWithdrawFeeUsers(address ) view returns(bool)

func (*CakePoolSession) GetPricePerFullShare added in v1.8.0

func (_CakePool *CakePoolSession) GetPricePerFullShare() (*big.Int, error)

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

Solidity: function getPricePerFullShare() view returns(uint256)

func (*CakePoolSession) InCaseTokensGetStuck added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) Init added in v1.8.0

func (_CakePool *CakePoolSession) Init(dummyToken common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x19ab453c.

Solidity: function init(address dummyToken) returns()

func (*CakePoolSession) MAXLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolSession) MAXLOCKDURATION() (*big.Int, error)

MAXLOCKDURATION is a free data retrieval call binding the contract method 0x4f1bfc9e.

Solidity: function MAX_LOCK_DURATION() view returns(uint256)

func (*CakePoolSession) MAXLOCKDURATIONLIMIT added in v1.8.0

func (_CakePool *CakePoolSession) MAXLOCKDURATIONLIMIT() (*big.Int, error)

MAXLOCKDURATIONLIMIT is a free data retrieval call binding the contract method 0x01e81326.

Solidity: function MAX_LOCK_DURATION_LIMIT() view returns(uint256)

func (*CakePoolSession) MAXOVERDUEFEE added in v1.8.0

func (_CakePool *CakePoolSession) MAXOVERDUEFEE() (*big.Int, error)

MAXOVERDUEFEE is a free data retrieval call binding the contract method 0x948a03f2.

Solidity: function MAX_OVERDUE_FEE() view returns(uint256)

func (*CakePoolSession) MAXPERFORMANCEFEE added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) MAXWITHDRAWFEE added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) MAXWITHDRAWFEEPERIOD added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) MINDEPOSITAMOUNT added in v1.8.0

func (_CakePool *CakePoolSession) MINDEPOSITAMOUNT() (*big.Int, error)

MINDEPOSITAMOUNT is a free data retrieval call binding the contract method 0x1ea30fef.

Solidity: function MIN_DEPOSIT_AMOUNT() view returns(uint256)

func (*CakePoolSession) MINLOCKDURATION added in v1.8.0

func (_CakePool *CakePoolSession) MINLOCKDURATION() (*big.Int, error)

MINLOCKDURATION is a free data retrieval call binding the contract method 0x78b4330f.

Solidity: function MIN_LOCK_DURATION() view returns(uint256)

func (*CakePoolSession) MINWITHDRAWAMOUNT added in v1.8.0

func (_CakePool *CakePoolSession) MINWITHDRAWAMOUNT() (*big.Int, error)

MINWITHDRAWAMOUNT is a free data retrieval call binding the contract method 0xb6857844.

Solidity: function MIN_WITHDRAW_AMOUNT() view returns(uint256)

func (*CakePoolSession) MasterchefV2 added in v1.8.0

func (_CakePool *CakePoolSession) MasterchefV2() (common.Address, error)

MasterchefV2 is a free data retrieval call binding the contract method 0xcb528b52.

Solidity: function masterchefV2() view returns(address)

func (*CakePoolSession) Operator added in v1.8.0

func (_CakePool *CakePoolSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CakePoolSession) OverdueFee added in v1.8.0

func (_CakePool *CakePoolSession) OverdueFee() (*big.Int, error)

OverdueFee is a free data retrieval call binding the contract method 0xa5834e06.

Solidity: function overdueFee() view returns(uint256)

func (*CakePoolSession) Owner added in v1.8.0

func (_CakePool *CakePoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakePoolSession) PRECISIONFACTOR added in v1.8.0

func (_CakePool *CakePoolSession) PRECISIONFACTOR() (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*CakePoolSession) PRECISIONFACTORSHARE added in v1.8.0

func (_CakePool *CakePoolSession) PRECISIONFACTORSHARE() (*big.Int, error)

PRECISIONFACTORSHARE is a free data retrieval call binding the contract method 0x731ff24a.

Solidity: function PRECISION_FACTOR_SHARE() view returns(uint256)

func (*CakePoolSession) Pause added in v1.8.0

func (_CakePool *CakePoolSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CakePoolSession) Paused added in v1.8.0

func (_CakePool *CakePoolSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CakePoolSession) PerformanceFee added in v1.8.0

func (_CakePool *CakePoolSession) PerformanceFee() (*big.Int, error)

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

Solidity: function performanceFee() view returns(uint256)

func (*CakePoolSession) PerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolSession) PerformanceFeeContract() (*big.Int, error)

PerformanceFeeContract is a free data retrieval call binding the contract method 0x3eb78874.

Solidity: function performanceFeeContract() view returns(uint256)

func (*CakePoolSession) RenounceOwnership added in v1.8.0

func (_CakePool *CakePoolSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakePoolSession) SetAdmin added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) SetBoostContract added in v1.8.0

func (_CakePool *CakePoolSession) SetBoostContract(_boostContract common.Address) (*types.Transaction, error)

SetBoostContract is a paid mutator transaction binding the contract method 0xdef7869d.

Solidity: function setBoostContract(address _boostContract) returns()

func (*CakePoolSession) SetBoostWeight added in v1.8.0

func (_CakePool *CakePoolSession) SetBoostWeight(_boostWeight *big.Int) (*types.Transaction, error)

SetBoostWeight is a paid mutator transaction binding the contract method 0x93c99e6a.

Solidity: function setBoostWeight(uint256 _boostWeight) returns()

func (*CakePoolSession) SetDurationFactor added in v1.8.0

func (_CakePool *CakePoolSession) SetDurationFactor(_durationFactor *big.Int) (*types.Transaction, error)

SetDurationFactor is a paid mutator transaction binding the contract method 0xa3639b39.

Solidity: function setDurationFactor(uint256 _durationFactor) returns()

func (*CakePoolSession) SetDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolSession) SetDurationFactorOverdue(_durationFactorOverdue *big.Int) (*types.Transaction, error)

SetDurationFactorOverdue is a paid mutator transaction binding the contract method 0x35981921.

Solidity: function setDurationFactorOverdue(uint256 _durationFactorOverdue) returns()

func (*CakePoolSession) SetFreePerformanceFeeUser added in v1.8.0

func (_CakePool *CakePoolSession) SetFreePerformanceFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetFreePerformanceFeeUser is a paid mutator transaction binding the contract method 0x423b93ed.

Solidity: function setFreePerformanceFeeUser(address _user, bool _free) returns()

func (*CakePoolSession) SetMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolSession) SetMaxLockDuration(_maxLockDuration *big.Int) (*types.Transaction, error)

SetMaxLockDuration is a paid mutator transaction binding the contract method 0xf786b958.

Solidity: function setMaxLockDuration(uint256 _maxLockDuration) returns()

func (*CakePoolSession) SetOperator added in v1.8.0

func (_CakePool *CakePoolSession) SetOperator(_operator common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operator) returns()

func (*CakePoolSession) SetOverdueFee added in v1.8.0

func (_CakePool *CakePoolSession) SetOverdueFee(_overdueFee *big.Int) (*types.Transaction, error)

SetOverdueFee is a paid mutator transaction binding the contract method 0x0c59696b.

Solidity: function setOverdueFee(uint256 _overdueFee) returns()

func (*CakePoolSession) SetOverdueFeeUser added in v1.8.0

func (_CakePool *CakePoolSession) SetOverdueFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetOverdueFeeUser is a paid mutator transaction binding the contract method 0x4e4de1e9.

Solidity: function setOverdueFeeUser(address _user, bool _free) returns()

func (*CakePoolSession) SetPerformanceFee added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) SetPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolSession) SetPerformanceFeeContract(_performanceFeeContract *big.Int) (*types.Transaction, error)

SetPerformanceFeeContract is a paid mutator transaction binding the contract method 0xbb9f408d.

Solidity: function setPerformanceFeeContract(uint256 _performanceFeeContract) returns()

func (*CakePoolSession) SetTreasury added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) SetUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolSession) SetUnlockFreeDuration(_unlockFreeDuration *big.Int) (*types.Transaction, error)

SetUnlockFreeDuration is a paid mutator transaction binding the contract method 0xc54d349c.

Solidity: function setUnlockFreeDuration(uint256 _unlockFreeDuration) returns()

func (*CakePoolSession) SetVCakeContract added in v1.8.0

func (_CakePool *CakePoolSession) SetVCakeContract(_VCake common.Address) (*types.Transaction, error)

SetVCakeContract is a paid mutator transaction binding the contract method 0xd826ed06.

Solidity: function setVCakeContract(address _VCake) returns()

func (*CakePoolSession) SetWithdrawFee added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) SetWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolSession) SetWithdrawFeeContract(_withdrawFeeContract *big.Int) (*types.Transaction, error)

SetWithdrawFeeContract is a paid mutator transaction binding the contract method 0x14ff3039.

Solidity: function setWithdrawFeeContract(uint256 _withdrawFeeContract) returns()

func (*CakePoolSession) SetWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) SetWithdrawFeeUser added in v1.8.0

func (_CakePool *CakePoolSession) SetWithdrawFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetWithdrawFeeUser is a paid mutator transaction binding the contract method 0xbeba0fa0.

Solidity: function setWithdrawFeeUser(address _user, bool _free) returns()

func (*CakePoolSession) Token added in v1.8.0

func (_CakePool *CakePoolSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CakePoolSession) TotalBoostDebt added in v1.8.0

func (_CakePool *CakePoolSession) TotalBoostDebt() (*big.Int, error)

TotalBoostDebt is a free data retrieval call binding the contract method 0xe73008bc.

Solidity: function totalBoostDebt() view returns(uint256)

func (*CakePoolSession) TotalLockedAmount added in v1.8.0

func (_CakePool *CakePoolSession) TotalLockedAmount() (*big.Int, error)

TotalLockedAmount is a free data retrieval call binding the contract method 0x05a9f274.

Solidity: function totalLockedAmount() view returns(uint256)

func (*CakePoolSession) TotalShares added in v1.8.0

func (_CakePool *CakePoolSession) TotalShares() (*big.Int, error)

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

Solidity: function totalShares() view returns(uint256)

func (*CakePoolSession) TransferOwnership added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) Treasury added in v1.8.0

func (_CakePool *CakePoolSession) Treasury() (common.Address, error)

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

Solidity: function treasury() view returns(address)

func (*CakePoolSession) UNLOCKFREEDURATION added in v1.8.0

func (_CakePool *CakePoolSession) UNLOCKFREEDURATION() (*big.Int, error)

UNLOCKFREEDURATION is a free data retrieval call binding the contract method 0xaaada5da.

Solidity: function UNLOCK_FREE_DURATION() view returns(uint256)

func (*CakePoolSession) Unlock added in v1.8.0

func (_CakePool *CakePoolSession) Unlock(_user common.Address) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f6c493c.

Solidity: function unlock(address _user) returns()

func (*CakePoolSession) Unpause added in v1.8.0

func (_CakePool *CakePoolSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*CakePoolSession) UserInfo added in v1.8.0

func (_CakePool *CakePoolSession) UserInfo(arg0 common.Address) (struct {
	Shares               *big.Int
	LastDepositedTime    *big.Int
	CakeAtLastUserAction *big.Int
	LastUserActionTime   *big.Int
	LockStartTime        *big.Int
	LockEndTime          *big.Int
	UserBoostedShare     *big.Int
	Locked               bool
	LockedAmount         *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, uint256 lockStartTime, uint256 lockEndTime, uint256 userBoostedShare, bool locked, uint256 lockedAmount)

func (*CakePoolSession) VCake added in v1.8.0

func (_CakePool *CakePoolSession) VCake() (common.Address, error)

VCake is a free data retrieval call binding the contract method 0x2d19b982.

Solidity: function VCake() view returns(address)

func (*CakePoolSession) Withdraw added in v1.8.0

func (_CakePool *CakePoolSession) 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 (*CakePoolSession) WithdrawAll added in v1.8.0

func (_CakePool *CakePoolSession) WithdrawAll() (*types.Transaction, error)

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

Solidity: function withdrawAll() returns()

func (*CakePoolSession) WithdrawByAmount added in v1.8.0

func (_CakePool *CakePoolSession) WithdrawByAmount(_amount *big.Int) (*types.Transaction, error)

WithdrawByAmount is a paid mutator transaction binding the contract method 0x5521e9bf.

Solidity: function withdrawByAmount(uint256 _amount) returns()

func (*CakePoolSession) WithdrawFee added in v1.8.0

func (_CakePool *CakePoolSession) WithdrawFee() (*big.Int, error)

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

Solidity: function withdrawFee() view returns(uint256)

func (*CakePoolSession) WithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolSession) WithdrawFeeContract() (*big.Int, error)

WithdrawFeeContract is a free data retrieval call binding the contract method 0xe4b37ef5.

Solidity: function withdrawFeeContract() view returns(uint256)

func (*CakePoolSession) WithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolSession) WithdrawFeePeriod() (*big.Int, error)

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

Solidity: function withdrawFeePeriod() view returns(uint256)

type CakePoolTransactor added in v1.8.0

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

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

func NewCakePoolTransactor added in v1.8.0

func NewCakePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*CakePoolTransactor, error)

NewCakePoolTransactor creates a new write-only instance of CakePool, bound to a specific deployed contract.

func (*CakePoolTransactor) Deposit added in v1.8.0

func (_CakePool *CakePoolTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int, _lockDuration *big.Int) (*types.Transaction, error)

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

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

func (*CakePoolTransactor) InCaseTokensGetStuck added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) Init added in v1.8.0

func (_CakePool *CakePoolTransactor) Init(opts *bind.TransactOpts, dummyToken common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x19ab453c.

Solidity: function init(address dummyToken) returns()

func (*CakePoolTransactor) Pause added in v1.8.0

func (_CakePool *CakePoolTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CakePoolTransactor) RenounceOwnership added in v1.8.0

func (_CakePool *CakePoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakePoolTransactor) SetAdmin added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) SetBoostContract added in v1.8.0

func (_CakePool *CakePoolTransactor) SetBoostContract(opts *bind.TransactOpts, _boostContract common.Address) (*types.Transaction, error)

SetBoostContract is a paid mutator transaction binding the contract method 0xdef7869d.

Solidity: function setBoostContract(address _boostContract) returns()

func (*CakePoolTransactor) SetBoostWeight added in v1.8.0

func (_CakePool *CakePoolTransactor) SetBoostWeight(opts *bind.TransactOpts, _boostWeight *big.Int) (*types.Transaction, error)

SetBoostWeight is a paid mutator transaction binding the contract method 0x93c99e6a.

Solidity: function setBoostWeight(uint256 _boostWeight) returns()

func (*CakePoolTransactor) SetDurationFactor added in v1.8.0

func (_CakePool *CakePoolTransactor) SetDurationFactor(opts *bind.TransactOpts, _durationFactor *big.Int) (*types.Transaction, error)

SetDurationFactor is a paid mutator transaction binding the contract method 0xa3639b39.

Solidity: function setDurationFactor(uint256 _durationFactor) returns()

func (*CakePoolTransactor) SetDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolTransactor) SetDurationFactorOverdue(opts *bind.TransactOpts, _durationFactorOverdue *big.Int) (*types.Transaction, error)

SetDurationFactorOverdue is a paid mutator transaction binding the contract method 0x35981921.

Solidity: function setDurationFactorOverdue(uint256 _durationFactorOverdue) returns()

func (*CakePoolTransactor) SetFreePerformanceFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactor) SetFreePerformanceFeeUser(opts *bind.TransactOpts, _user common.Address, _free bool) (*types.Transaction, error)

SetFreePerformanceFeeUser is a paid mutator transaction binding the contract method 0x423b93ed.

Solidity: function setFreePerformanceFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactor) SetMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolTransactor) SetMaxLockDuration(opts *bind.TransactOpts, _maxLockDuration *big.Int) (*types.Transaction, error)

SetMaxLockDuration is a paid mutator transaction binding the contract method 0xf786b958.

Solidity: function setMaxLockDuration(uint256 _maxLockDuration) returns()

func (*CakePoolTransactor) SetOperator added in v1.8.0

func (_CakePool *CakePoolTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operator) returns()

func (*CakePoolTransactor) SetOverdueFee added in v1.8.0

func (_CakePool *CakePoolTransactor) SetOverdueFee(opts *bind.TransactOpts, _overdueFee *big.Int) (*types.Transaction, error)

SetOverdueFee is a paid mutator transaction binding the contract method 0x0c59696b.

Solidity: function setOverdueFee(uint256 _overdueFee) returns()

func (*CakePoolTransactor) SetOverdueFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactor) SetOverdueFeeUser(opts *bind.TransactOpts, _user common.Address, _free bool) (*types.Transaction, error)

SetOverdueFeeUser is a paid mutator transaction binding the contract method 0x4e4de1e9.

Solidity: function setOverdueFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactor) SetPerformanceFee added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) SetPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolTransactor) SetPerformanceFeeContract(opts *bind.TransactOpts, _performanceFeeContract *big.Int) (*types.Transaction, error)

SetPerformanceFeeContract is a paid mutator transaction binding the contract method 0xbb9f408d.

Solidity: function setPerformanceFeeContract(uint256 _performanceFeeContract) returns()

func (*CakePoolTransactor) SetTreasury added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) SetUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolTransactor) SetUnlockFreeDuration(opts *bind.TransactOpts, _unlockFreeDuration *big.Int) (*types.Transaction, error)

SetUnlockFreeDuration is a paid mutator transaction binding the contract method 0xc54d349c.

Solidity: function setUnlockFreeDuration(uint256 _unlockFreeDuration) returns()

func (*CakePoolTransactor) SetVCakeContract added in v1.8.0

func (_CakePool *CakePoolTransactor) SetVCakeContract(opts *bind.TransactOpts, _VCake common.Address) (*types.Transaction, error)

SetVCakeContract is a paid mutator transaction binding the contract method 0xd826ed06.

Solidity: function setVCakeContract(address _VCake) returns()

func (*CakePoolTransactor) SetWithdrawFee added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) SetWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolTransactor) SetWithdrawFeeContract(opts *bind.TransactOpts, _withdrawFeeContract *big.Int) (*types.Transaction, error)

SetWithdrawFeeContract is a paid mutator transaction binding the contract method 0x14ff3039.

Solidity: function setWithdrawFeeContract(uint256 _withdrawFeeContract) returns()

func (*CakePoolTransactor) SetWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) SetWithdrawFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactor) SetWithdrawFeeUser(opts *bind.TransactOpts, _user common.Address, _free bool) (*types.Transaction, error)

SetWithdrawFeeUser is a paid mutator transaction binding the contract method 0xbeba0fa0.

Solidity: function setWithdrawFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactor) TransferOwnership added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) Unlock added in v1.8.0

func (_CakePool *CakePoolTransactor) Unlock(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f6c493c.

Solidity: function unlock(address _user) returns()

func (*CakePoolTransactor) Unpause added in v1.8.0

func (_CakePool *CakePoolTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*CakePoolTransactor) Withdraw added in v1.8.0

func (_CakePool *CakePoolTransactor) 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 (*CakePoolTransactor) WithdrawAll added in v1.8.0

func (_CakePool *CakePoolTransactor) WithdrawAll(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function withdrawAll() returns()

func (*CakePoolTransactor) WithdrawByAmount added in v1.8.0

func (_CakePool *CakePoolTransactor) WithdrawByAmount(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawByAmount is a paid mutator transaction binding the contract method 0x5521e9bf.

Solidity: function withdrawByAmount(uint256 _amount) returns()

type CakePoolTransactorRaw added in v1.8.0

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

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

func (*CakePoolTransactorRaw) Transact added in v1.8.0

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

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

func (*CakePoolTransactorRaw) Transfer added in v1.8.0

func (_CakePool *CakePoolTransactorRaw) 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 CakePoolTransactorSession added in v1.8.0

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

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

func (*CakePoolTransactorSession) Deposit added in v1.8.0

func (_CakePool *CakePoolTransactorSession) Deposit(_amount *big.Int, _lockDuration *big.Int) (*types.Transaction, error)

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

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

func (*CakePoolTransactorSession) InCaseTokensGetStuck added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) Init added in v1.8.0

func (_CakePool *CakePoolTransactorSession) Init(dummyToken common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x19ab453c.

Solidity: function init(address dummyToken) returns()

func (*CakePoolTransactorSession) Pause added in v1.8.0

func (_CakePool *CakePoolTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CakePoolTransactorSession) RenounceOwnership added in v1.8.0

func (_CakePool *CakePoolTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CakePoolTransactorSession) SetAdmin added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) SetBoostContract added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetBoostContract(_boostContract common.Address) (*types.Transaction, error)

SetBoostContract is a paid mutator transaction binding the contract method 0xdef7869d.

Solidity: function setBoostContract(address _boostContract) returns()

func (*CakePoolTransactorSession) SetBoostWeight added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetBoostWeight(_boostWeight *big.Int) (*types.Transaction, error)

SetBoostWeight is a paid mutator transaction binding the contract method 0x93c99e6a.

Solidity: function setBoostWeight(uint256 _boostWeight) returns()

func (*CakePoolTransactorSession) SetDurationFactor added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetDurationFactor(_durationFactor *big.Int) (*types.Transaction, error)

SetDurationFactor is a paid mutator transaction binding the contract method 0xa3639b39.

Solidity: function setDurationFactor(uint256 _durationFactor) returns()

func (*CakePoolTransactorSession) SetDurationFactorOverdue added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetDurationFactorOverdue(_durationFactorOverdue *big.Int) (*types.Transaction, error)

SetDurationFactorOverdue is a paid mutator transaction binding the contract method 0x35981921.

Solidity: function setDurationFactorOverdue(uint256 _durationFactorOverdue) returns()

func (*CakePoolTransactorSession) SetFreePerformanceFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetFreePerformanceFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetFreePerformanceFeeUser is a paid mutator transaction binding the contract method 0x423b93ed.

Solidity: function setFreePerformanceFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactorSession) SetMaxLockDuration added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetMaxLockDuration(_maxLockDuration *big.Int) (*types.Transaction, error)

SetMaxLockDuration is a paid mutator transaction binding the contract method 0xf786b958.

Solidity: function setMaxLockDuration(uint256 _maxLockDuration) returns()

func (*CakePoolTransactorSession) SetOperator added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetOperator(_operator common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operator) returns()

func (*CakePoolTransactorSession) SetOverdueFee added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetOverdueFee(_overdueFee *big.Int) (*types.Transaction, error)

SetOverdueFee is a paid mutator transaction binding the contract method 0x0c59696b.

Solidity: function setOverdueFee(uint256 _overdueFee) returns()

func (*CakePoolTransactorSession) SetOverdueFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetOverdueFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetOverdueFeeUser is a paid mutator transaction binding the contract method 0x4e4de1e9.

Solidity: function setOverdueFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactorSession) SetPerformanceFee added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) SetPerformanceFeeContract added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetPerformanceFeeContract(_performanceFeeContract *big.Int) (*types.Transaction, error)

SetPerformanceFeeContract is a paid mutator transaction binding the contract method 0xbb9f408d.

Solidity: function setPerformanceFeeContract(uint256 _performanceFeeContract) returns()

func (*CakePoolTransactorSession) SetTreasury added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) SetUnlockFreeDuration added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetUnlockFreeDuration(_unlockFreeDuration *big.Int) (*types.Transaction, error)

SetUnlockFreeDuration is a paid mutator transaction binding the contract method 0xc54d349c.

Solidity: function setUnlockFreeDuration(uint256 _unlockFreeDuration) returns()

func (*CakePoolTransactorSession) SetVCakeContract added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetVCakeContract(_VCake common.Address) (*types.Transaction, error)

SetVCakeContract is a paid mutator transaction binding the contract method 0xd826ed06.

Solidity: function setVCakeContract(address _VCake) returns()

func (*CakePoolTransactorSession) SetWithdrawFee added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) SetWithdrawFeeContract added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetWithdrawFeeContract(_withdrawFeeContract *big.Int) (*types.Transaction, error)

SetWithdrawFeeContract is a paid mutator transaction binding the contract method 0x14ff3039.

Solidity: function setWithdrawFeeContract(uint256 _withdrawFeeContract) returns()

func (*CakePoolTransactorSession) SetWithdrawFeePeriod added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) SetWithdrawFeeUser added in v1.8.0

func (_CakePool *CakePoolTransactorSession) SetWithdrawFeeUser(_user common.Address, _free bool) (*types.Transaction, error)

SetWithdrawFeeUser is a paid mutator transaction binding the contract method 0xbeba0fa0.

Solidity: function setWithdrawFeeUser(address _user, bool _free) returns()

func (*CakePoolTransactorSession) TransferOwnership added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) Unlock added in v1.8.0

func (_CakePool *CakePoolTransactorSession) Unlock(_user common.Address) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f6c493c.

Solidity: function unlock(address _user) returns()

func (*CakePoolTransactorSession) Unpause added in v1.8.0

func (_CakePool *CakePoolTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*CakePoolTransactorSession) Withdraw added in v1.8.0

func (_CakePool *CakePoolTransactorSession) 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 (*CakePoolTransactorSession) WithdrawAll added in v1.8.0

func (_CakePool *CakePoolTransactorSession) WithdrawAll() (*types.Transaction, error)

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

Solidity: function withdrawAll() returns()

func (*CakePoolTransactorSession) WithdrawByAmount added in v1.8.0

func (_CakePool *CakePoolTransactorSession) WithdrawByAmount(_amount *big.Int) (*types.Transaction, error)

WithdrawByAmount is a paid mutator transaction binding the contract method 0x5521e9bf.

Solidity: function withdrawByAmount(uint256 _amount) returns()

type CakePoolUnlock added in v1.8.0

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

CakePoolUnlock represents a Unlock event raised by the CakePool contract.

type CakePoolUnlockIterator added in v1.8.0

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

CakePoolUnlockIterator is returned from FilterUnlock and is used to iterate over the raw logs and unpacked data for Unlock events raised by the CakePool contract.

func (*CakePoolUnlockIterator) Close added in v1.8.0

func (it *CakePoolUnlockIterator) Close() error

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

func (*CakePoolUnlockIterator) Error added in v1.8.0

func (it *CakePoolUnlockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolUnlockIterator) Next added in v1.8.0

func (it *CakePoolUnlockIterator) 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 CakePoolUnpause added in v1.8.0

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

CakePoolUnpause represents a Unpause event raised by the CakePool contract.

type CakePoolUnpauseIterator added in v1.8.0

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

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

func (*CakePoolUnpauseIterator) Close added in v1.8.0

func (it *CakePoolUnpauseIterator) Close() error

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

func (*CakePoolUnpauseIterator) Error added in v1.8.0

func (it *CakePoolUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolUnpauseIterator) Next added in v1.8.0

func (it *CakePoolUnpauseIterator) 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 CakePoolUnpaused added in v1.8.0

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

CakePoolUnpaused represents a Unpaused event raised by the CakePool contract.

type CakePoolUnpausedIterator added in v1.8.0

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

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

func (*CakePoolUnpausedIterator) Close added in v1.8.0

func (it *CakePoolUnpausedIterator) Close() error

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

func (*CakePoolUnpausedIterator) Error added in v1.8.0

func (it *CakePoolUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolUnpausedIterator) Next added in v1.8.0

func (it *CakePoolUnpausedIterator) 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 CakePoolWithdraw added in v1.8.0

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

CakePoolWithdraw represents a Withdraw event raised by the CakePool contract.

type CakePoolWithdrawIterator added in v1.8.0

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

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

func (*CakePoolWithdrawIterator) Close added in v1.8.0

func (it *CakePoolWithdrawIterator) Close() error

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

func (*CakePoolWithdrawIterator) Error added in v1.8.0

func (it *CakePoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakePoolWithdrawIterator) Next added in v1.8.0

func (it *CakePoolWithdrawIterator) 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 MasterChef

type MasterChef struct {
	MasterChefCaller     // Read-only binding to the contract
	MasterChefTransactor // Write-only binding to the contract
	MasterChefFilterer   // Log filterer for contract events
}

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

func DeployMasterChef

func DeployMasterChef(auth *bind.TransactOpts, backend bind.ContractBackend, _cake common.Address, _syrup common.Address, _devaddr common.Address, _cakePerBlock *big.Int, _startBlock *big.Int) (common.Address, *types.Transaction, *MasterChef, error)

DeployMasterChef deploys a new Ethereum contract, binding an instance of MasterChef to it.

func NewMasterChef

func NewMasterChef(address common.Address, backend bind.ContractBackend) (*MasterChef, error)

NewMasterChef creates a new instance of MasterChef, bound to a specific deployed contract.

type MasterChefCaller

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

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

func NewMasterChefCaller

func NewMasterChefCaller(address common.Address, caller bind.ContractCaller) (*MasterChefCaller, error)

NewMasterChefCaller creates a new read-only instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefCaller) BONUSMULTIPLIER

func (_MasterChef *MasterChefCaller) BONUSMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefCaller) Cake

func (_MasterChef *MasterChefCaller) Cake(opts *bind.CallOpts) (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefCaller) CakePerBlock

func (_MasterChef *MasterChefCaller) CakePerBlock(opts *bind.CallOpts) (*big.Int, error)

CakePerBlock is a free data retrieval call binding the contract method 0x0755e0b6.

Solidity: function cakePerBlock() view returns(uint256)

func (*MasterChefCaller) Devaddr

func (_MasterChef *MasterChefCaller) 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 (*MasterChefCaller) GetMultiplier

func (_MasterChef *MasterChefCaller) GetMultiplier(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefCaller) Migrator

func (_MasterChef *MasterChefCaller) Migrator(opts *bind.CallOpts) (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefCaller) Owner

func (_MasterChef *MasterChefCaller) 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 (*MasterChefCaller) PendingCake

func (_MasterChef *MasterChefCaller) PendingCake(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

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

func (*MasterChefCaller) PoolInfo

func (_MasterChef *MasterChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefCaller) PoolLength

func (_MasterChef *MasterChefCaller) 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 (*MasterChefCaller) StartBlock

func (_MasterChef *MasterChefCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefCaller) Syrup

func (_MasterChef *MasterChefCaller) Syrup(opts *bind.CallOpts) (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefCaller) TotalAllocPoint

func (_MasterChef *MasterChefCaller) 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 (*MasterChefCaller) UserInfo

func (_MasterChef *MasterChefCaller) 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 MasterChefCallerRaw

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

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

func (*MasterChefCallerRaw) Call

func (_MasterChef *MasterChefCallerRaw) 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 MasterChefCallerSession

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

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

func (*MasterChefCallerSession) BONUSMULTIPLIER

func (_MasterChef *MasterChefCallerSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefCallerSession) Cake

func (_MasterChef *MasterChefCallerSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefCallerSession) CakePerBlock

func (_MasterChef *MasterChefCallerSession) CakePerBlock() (*big.Int, error)

CakePerBlock is a free data retrieval call binding the contract method 0x0755e0b6.

Solidity: function cakePerBlock() view returns(uint256)

func (*MasterChefCallerSession) Devaddr

func (_MasterChef *MasterChefCallerSession) Devaddr() (common.Address, error)

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

Solidity: function devaddr() view returns(address)

func (*MasterChefCallerSession) GetMultiplier

func (_MasterChef *MasterChefCallerSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefCallerSession) Migrator

func (_MasterChef *MasterChefCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefCallerSession) Owner

func (_MasterChef *MasterChefCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MasterChefCallerSession) PendingCake

func (_MasterChef *MasterChefCallerSession) PendingCake(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

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

func (*MasterChefCallerSession) PoolInfo

func (_MasterChef *MasterChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefCallerSession) PoolLength

func (_MasterChef *MasterChefCallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*MasterChefCallerSession) StartBlock

func (_MasterChef *MasterChefCallerSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefCallerSession) Syrup

func (_MasterChef *MasterChefCallerSession) Syrup() (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefCallerSession) TotalAllocPoint

func (_MasterChef *MasterChefCallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*MasterChefCallerSession) UserInfo

func (_MasterChef *MasterChefCallerSession) 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 MasterChefDeposit

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

MasterChefDeposit represents a Deposit event raised by the MasterChef contract.

type MasterChefDepositIterator

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

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

func (*MasterChefDepositIterator) Close

func (it *MasterChefDepositIterator) Close() error

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

func (*MasterChefDepositIterator) Error

func (it *MasterChefDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefDepositIterator) Next

func (it *MasterChefDepositIterator) 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 MasterChefEmergencyWithdraw

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

MasterChefEmergencyWithdraw represents a EmergencyWithdraw event raised by the MasterChef contract.

type MasterChefEmergencyWithdrawIterator

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

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

func (*MasterChefEmergencyWithdrawIterator) Close

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

func (*MasterChefEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefEmergencyWithdrawIterator) 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 MasterChefFilterer

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

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

func NewMasterChefFilterer

func NewMasterChefFilterer(address common.Address, filterer bind.ContractFilterer) (*MasterChefFilterer, error)

NewMasterChefFilterer creates a new log filterer instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefFilterer) FilterDeposit

func (_MasterChef *MasterChefFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefDepositIterator, 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 (*MasterChefFilterer) FilterEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefEmergencyWithdrawIterator, 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 (*MasterChefFilterer) FilterOwnershipTransferred

func (_MasterChef *MasterChefFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MasterChefOwnershipTransferredIterator, error)

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

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

func (*MasterChefFilterer) FilterWithdraw

func (_MasterChef *MasterChefFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefWithdrawIterator, 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 (*MasterChefFilterer) ParseDeposit

func (_MasterChef *MasterChefFilterer) ParseDeposit(log types.Log) (*MasterChefDeposit, error)

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

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

func (*MasterChefFilterer) ParseEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) ParseEmergencyWithdraw(log types.Log) (*MasterChefEmergencyWithdraw, error)

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

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

func (*MasterChefFilterer) ParseOwnershipTransferred

func (_MasterChef *MasterChefFilterer) ParseOwnershipTransferred(log types.Log) (*MasterChefOwnershipTransferred, error)

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

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

func (*MasterChefFilterer) ParseWithdraw

func (_MasterChef *MasterChefFilterer) ParseWithdraw(log types.Log) (*MasterChefWithdraw, error)

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

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

func (*MasterChefFilterer) WatchDeposit

func (_MasterChef *MasterChefFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MasterChefDeposit, 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 (*MasterChefFilterer) WatchEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *MasterChefEmergencyWithdraw, 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 (*MasterChefFilterer) WatchOwnershipTransferred

func (_MasterChef *MasterChefFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MasterChefOwnershipTransferred, 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 (*MasterChefFilterer) WatchWithdraw

func (_MasterChef *MasterChefFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *MasterChefWithdraw, 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 MasterChefOwnershipTransferred

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

MasterChefOwnershipTransferred represents a OwnershipTransferred event raised by the MasterChef contract.

type MasterChefOwnershipTransferredIterator

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

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

func (*MasterChefOwnershipTransferredIterator) Close

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

func (*MasterChefOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefOwnershipTransferredIterator) 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 MasterChefRaw

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

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

func (*MasterChefRaw) Call

func (_MasterChef *MasterChefRaw) 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 (*MasterChefRaw) Transact

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

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

func (*MasterChefRaw) Transfer

func (_MasterChef *MasterChefRaw) 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 MasterChefSession

type MasterChefSession struct {
	Contract     *MasterChef       // 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
}

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

func (*MasterChefSession) Add

func (_MasterChef *MasterChefSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

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

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

func (*MasterChefSession) BONUSMULTIPLIER

func (_MasterChef *MasterChefSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefSession) Cake

func (_MasterChef *MasterChefSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefSession) CakePerBlock

func (_MasterChef *MasterChefSession) CakePerBlock() (*big.Int, error)

CakePerBlock is a free data retrieval call binding the contract method 0x0755e0b6.

Solidity: function cakePerBlock() view returns(uint256)

func (*MasterChefSession) Deposit

func (_MasterChef *MasterChefSession) 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 (*MasterChefSession) Dev

func (_MasterChef *MasterChefSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefSession) Devaddr

func (_MasterChef *MasterChefSession) Devaddr() (common.Address, error)

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

Solidity: function devaddr() view returns(address)

func (*MasterChefSession) EmergencyWithdraw

func (_MasterChef *MasterChefSession) 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 (*MasterChefSession) EnterStaking

func (_MasterChef *MasterChefSession) EnterStaking(_amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefSession) GetMultiplier

func (_MasterChef *MasterChefSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefSession) LeaveStaking

func (_MasterChef *MasterChefSession) LeaveStaking(_amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefSession) MassUpdatePools

func (_MasterChef *MasterChefSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*MasterChefSession) Migrate

func (_MasterChef *MasterChefSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefSession) Migrator

func (_MasterChef *MasterChefSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefSession) Owner

func (_MasterChef *MasterChefSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MasterChefSession) PendingCake

func (_MasterChef *MasterChefSession) PendingCake(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

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

func (*MasterChefSession) PoolInfo

func (_MasterChef *MasterChefSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefSession) PoolLength

func (_MasterChef *MasterChefSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*MasterChefSession) RenounceOwnership

func (_MasterChef *MasterChefSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefSession) Set

func (_MasterChef *MasterChefSession) 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 (*MasterChefSession) SetMigrator

func (_MasterChef *MasterChefSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefSession) StartBlock

func (_MasterChef *MasterChefSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefSession) Syrup

func (_MasterChef *MasterChefSession) Syrup() (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefSession) TotalAllocPoint

func (_MasterChef *MasterChefSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*MasterChefSession) TransferOwnership

func (_MasterChef *MasterChefSession) 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 (*MasterChefSession) UpdateMultiplier

func (_MasterChef *MasterChefSession) UpdateMultiplier(multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefSession) UpdatePool

func (_MasterChef *MasterChefSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefSession) UserInfo

func (_MasterChef *MasterChefSession) 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 (*MasterChefSession) Withdraw

func (_MasterChef *MasterChefSession) 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()

type MasterChefTransactor

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

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

func NewMasterChefTransactor

func NewMasterChefTransactor(address common.Address, transactor bind.ContractTransactor) (*MasterChefTransactor, error)

NewMasterChefTransactor creates a new write-only instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefTransactor) Add

func (_MasterChef *MasterChefTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

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

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

func (*MasterChefTransactor) Deposit

func (_MasterChef *MasterChefTransactor) 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 (*MasterChefTransactor) Dev

func (_MasterChef *MasterChefTransactor) Dev(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefTransactor) EmergencyWithdraw

func (_MasterChef *MasterChefTransactor) 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 (*MasterChefTransactor) EnterStaking

func (_MasterChef *MasterChefTransactor) EnterStaking(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefTransactor) LeaveStaking

func (_MasterChef *MasterChefTransactor) LeaveStaking(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefTransactor) MassUpdatePools

func (_MasterChef *MasterChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*MasterChefTransactor) Migrate

func (_MasterChef *MasterChefTransactor) Migrate(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefTransactor) RenounceOwnership

func (_MasterChef *MasterChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefTransactor) Set

func (_MasterChef *MasterChefTransactor) 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 (*MasterChefTransactor) SetMigrator

func (_MasterChef *MasterChefTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefTransactor) TransferOwnership

func (_MasterChef *MasterChefTransactor) 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 (*MasterChefTransactor) UpdateMultiplier

func (_MasterChef *MasterChefTransactor) UpdateMultiplier(opts *bind.TransactOpts, multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefTransactor) UpdatePool

func (_MasterChef *MasterChefTransactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefTransactor) Withdraw

func (_MasterChef *MasterChefTransactor) 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()

type MasterChefTransactorRaw

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

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

func (*MasterChefTransactorRaw) Transact

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

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

func (*MasterChefTransactorRaw) Transfer

func (_MasterChef *MasterChefTransactorRaw) 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 MasterChefTransactorSession

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

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

func (*MasterChefTransactorSession) Add

func (_MasterChef *MasterChefTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

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

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

func (*MasterChefTransactorSession) Deposit

func (_MasterChef *MasterChefTransactorSession) 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 (*MasterChefTransactorSession) Dev

func (_MasterChef *MasterChefTransactorSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefTransactorSession) EmergencyWithdraw

func (_MasterChef *MasterChefTransactorSession) 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 (*MasterChefTransactorSession) EnterStaking

func (_MasterChef *MasterChefTransactorSession) EnterStaking(_amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefTransactorSession) LeaveStaking

func (_MasterChef *MasterChefTransactorSession) LeaveStaking(_amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefTransactorSession) MassUpdatePools

func (_MasterChef *MasterChefTransactorSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*MasterChefTransactorSession) Migrate

func (_MasterChef *MasterChefTransactorSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefTransactorSession) RenounceOwnership

func (_MasterChef *MasterChefTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefTransactorSession) Set

func (_MasterChef *MasterChefTransactorSession) 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 (*MasterChefTransactorSession) SetMigrator

func (_MasterChef *MasterChefTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefTransactorSession) TransferOwnership

func (_MasterChef *MasterChefTransactorSession) 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 (*MasterChefTransactorSession) UpdateMultiplier

func (_MasterChef *MasterChefTransactorSession) UpdateMultiplier(multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefTransactorSession) UpdatePool

func (_MasterChef *MasterChefTransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefTransactorSession) Withdraw

func (_MasterChef *MasterChefTransactorSession) 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()

type MasterChefWithdraw

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

MasterChefWithdraw represents a Withdraw event raised by the MasterChef contract.

type MasterChefWithdrawIterator

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

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

func (*MasterChefWithdrawIterator) Close

func (it *MasterChefWithdrawIterator) Close() error

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

func (*MasterChefWithdrawIterator) Error

func (it *MasterChefWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefWithdrawIterator) Next

func (it *MasterChefWithdrawIterator) 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 MyContract

type MyContract struct {
	MyContractCaller     // Read-only binding to the contract
	MyContractTransactor // Write-only binding to the contract
	MyContractFilterer   // Log filterer for contract events
}

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

func DeployMyContract

func DeployMyContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MyContract, error)

DeployMyContract deploys a new Ethereum contract, binding an instance of MyContract to it.

func NewMyContract

func NewMyContract(address common.Address, backend bind.ContractBackend) (*MyContract, error)

NewMyContract creates a new instance of MyContract, bound to a specific deployed contract.

type MyContractCaller

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

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

func NewMyContractCaller

func NewMyContractCaller(address common.Address, caller bind.ContractCaller) (*MyContractCaller, error)

NewMyContractCaller creates a new read-only instance of MyContract, bound to a specific deployed contract.

func (*MyContractCaller) Counter

func (_MyContract *MyContractCaller) Counter(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0xc12327b8.

Solidity: function counter(address ) view returns(int256)

func (*MyContractCaller) GetYourCounter

func (_MyContract *MyContractCaller) GetYourCounter(opts *bind.CallOpts) (*big.Int, error)

GetYourCounter is a free data retrieval call binding the contract method 0x33c4b3ef.

Solidity: function getYourCounter() view returns(int256)

type MyContractCallerRaw

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

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

func (*MyContractCallerRaw) Call

func (_MyContract *MyContractCallerRaw) 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 MyContractCallerSession

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

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

func (*MyContractCallerSession) Counter

func (_MyContract *MyContractCallerSession) Counter(arg0 common.Address) (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0xc12327b8.

Solidity: function counter(address ) view returns(int256)

func (*MyContractCallerSession) GetYourCounter

func (_MyContract *MyContractCallerSession) GetYourCounter() (*big.Int, error)

GetYourCounter is a free data retrieval call binding the contract method 0x33c4b3ef.

Solidity: function getYourCounter() view returns(int256)

type MyContractFilterer

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

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

func NewMyContractFilterer

func NewMyContractFilterer(address common.Address, filterer bind.ContractFilterer) (*MyContractFilterer, error)

NewMyContractFilterer creates a new log filterer instance of MyContract, bound to a specific deployed contract.

type MyContractRaw

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

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

func (*MyContractRaw) Call

func (_MyContract *MyContractRaw) 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 (*MyContractRaw) Transact

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

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

func (*MyContractRaw) Transfer

func (_MyContract *MyContractRaw) 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 MyContractSession

type MyContractSession struct {
	Contract     *MyContract       // 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
}

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

func (*MyContractSession) Counter

func (_MyContract *MyContractSession) Counter(arg0 common.Address) (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0xc12327b8.

Solidity: function counter(address ) view returns(int256)

func (*MyContractSession) Decrease

func (_MyContract *MyContractSession) Decrease() (*types.Transaction, error)

Decrease is a paid mutator transaction binding the contract method 0xd732d955.

Solidity: function decrease() returns()

func (*MyContractSession) GetYourCounter

func (_MyContract *MyContractSession) GetYourCounter() (*big.Int, error)

GetYourCounter is a free data retrieval call binding the contract method 0x33c4b3ef.

Solidity: function getYourCounter() view returns(int256)

func (*MyContractSession) Increase

func (_MyContract *MyContractSession) Increase() (*types.Transaction, error)

Increase is a paid mutator transaction binding the contract method 0xe8927fbc.

Solidity: function increase() returns()

type MyContractTransactor

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

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

func NewMyContractTransactor

func NewMyContractTransactor(address common.Address, transactor bind.ContractTransactor) (*MyContractTransactor, error)

NewMyContractTransactor creates a new write-only instance of MyContract, bound to a specific deployed contract.

func (*MyContractTransactor) Decrease

func (_MyContract *MyContractTransactor) Decrease(opts *bind.TransactOpts) (*types.Transaction, error)

Decrease is a paid mutator transaction binding the contract method 0xd732d955.

Solidity: function decrease() returns()

func (*MyContractTransactor) Increase

func (_MyContract *MyContractTransactor) Increase(opts *bind.TransactOpts) (*types.Transaction, error)

Increase is a paid mutator transaction binding the contract method 0xe8927fbc.

Solidity: function increase() returns()

type MyContractTransactorRaw

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

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

func (*MyContractTransactorRaw) Transact

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

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

func (*MyContractTransactorRaw) Transfer

func (_MyContract *MyContractTransactorRaw) 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 MyContractTransactorSession

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

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

func (*MyContractTransactorSession) Decrease

func (_MyContract *MyContractTransactorSession) Decrease() (*types.Transaction, error)

Decrease is a paid mutator transaction binding the contract method 0xd732d955.

Solidity: function decrease() returns()

func (*MyContractTransactorSession) Increase

func (_MyContract *MyContractTransactorSession) Increase() (*types.Transaction, error)

Increase is a paid mutator transaction binding the contract method 0xe8927fbc.

Solidity: function increase() returns()

type SmartChefInitializable added in v1.4.0

type SmartChefInitializable struct {
	SmartChefInitializableCaller     // Read-only binding to the contract
	SmartChefInitializableTransactor // Write-only binding to the contract
	SmartChefInitializableFilterer   // Log filterer for contract events
}

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

func DeploySmartChefInitializable added in v1.4.0

func DeploySmartChefInitializable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SmartChefInitializable, error)

DeploySmartChefInitializable deploys a new Ethereum contract, binding an instance of SmartChefInitializable to it.

func NewSmartChefInitializable added in v1.4.0

func NewSmartChefInitializable(address common.Address, backend bind.ContractBackend) (*SmartChefInitializable, error)

NewSmartChefInitializable creates a new instance of SmartChefInitializable, bound to a specific deployed contract.

type SmartChefInitializableAdminTokenRecovery added in v1.4.0

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

SmartChefInitializableAdminTokenRecovery represents a AdminTokenRecovery event raised by the SmartChefInitializable contract.

type SmartChefInitializableAdminTokenRecoveryIterator added in v1.4.0

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

SmartChefInitializableAdminTokenRecoveryIterator is returned from FilterAdminTokenRecovery and is used to iterate over the raw logs and unpacked data for AdminTokenRecovery events raised by the SmartChefInitializable contract.

func (*SmartChefInitializableAdminTokenRecoveryIterator) Close added in v1.4.0

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

func (*SmartChefInitializableAdminTokenRecoveryIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableAdminTokenRecoveryIterator) Next added in v1.4.0

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 SmartChefInitializableCaller added in v1.4.0

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

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

func NewSmartChefInitializableCaller added in v1.4.0

func NewSmartChefInitializableCaller(address common.Address, caller bind.ContractCaller) (*SmartChefInitializableCaller, error)

NewSmartChefInitializableCaller creates a new read-only instance of SmartChefInitializable, bound to a specific deployed contract.

func (*SmartChefInitializableCaller) AccTokenPerShare added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) AccTokenPerShare(opts *bind.CallOpts) (*big.Int, error)

AccTokenPerShare is a free data retrieval call binding the contract method 0x8f662915.

Solidity: function accTokenPerShare() view returns(uint256)

func (*SmartChefInitializableCaller) BonusEndBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) BonusEndBlock(opts *bind.CallOpts) (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SmartChefInitializableCaller) HasUserLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) HasUserLimit(opts *bind.CallOpts) (bool, error)

HasUserLimit is a free data retrieval call binding the contract method 0x92e8990e.

Solidity: function hasUserLimit() view returns(bool)

func (*SmartChefInitializableCaller) IsInitialized added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) IsInitialized(opts *bind.CallOpts) (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() view returns(bool)

func (*SmartChefInitializableCaller) LastRewardBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) LastRewardBlock(opts *bind.CallOpts) (*big.Int, error)

LastRewardBlock is a free data retrieval call binding the contract method 0xa9f8d181.

Solidity: function lastRewardBlock() view returns(uint256)

func (*SmartChefInitializableCaller) Owner added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) 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 (*SmartChefInitializableCaller) PRECISIONFACTOR added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) PRECISIONFACTOR(opts *bind.CallOpts) (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*SmartChefInitializableCaller) PendingReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) PendingReward(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SmartChefInitializableCaller) PoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) PoolLimitPerUser(opts *bind.CallOpts) (*big.Int, error)

PoolLimitPerUser is a free data retrieval call binding the contract method 0x66fe9f8a.

Solidity: function poolLimitPerUser() view returns(uint256)

func (*SmartChefInitializableCaller) RewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) RewardPerBlock(opts *bind.CallOpts) (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SmartChefInitializableCaller) RewardToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SmartChefInitializableCaller) SMARTCHEFFACTORY added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) SMARTCHEFFACTORY(opts *bind.CallOpts) (common.Address, error)

SMARTCHEFFACTORY is a free data retrieval call binding the contract method 0xbd617191.

Solidity: function SMART_CHEF_FACTORY() view returns(address)

func (*SmartChefInitializableCaller) StakedToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) StakedToken(opts *bind.CallOpts) (common.Address, error)

StakedToken is a free data retrieval call binding the contract method 0xcc7a262e.

Solidity: function stakedToken() view returns(address)

func (*SmartChefInitializableCaller) StartBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SmartChefInitializableCaller) UserInfo added in v1.4.0

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

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

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

type SmartChefInitializableCallerRaw added in v1.4.0

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

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

func (*SmartChefInitializableCallerRaw) Call added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerRaw) 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 SmartChefInitializableCallerSession added in v1.4.0

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

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

func (*SmartChefInitializableCallerSession) AccTokenPerShare added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) AccTokenPerShare() (*big.Int, error)

AccTokenPerShare is a free data retrieval call binding the contract method 0x8f662915.

Solidity: function accTokenPerShare() view returns(uint256)

func (*SmartChefInitializableCallerSession) BonusEndBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SmartChefInitializableCallerSession) HasUserLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) HasUserLimit() (bool, error)

HasUserLimit is a free data retrieval call binding the contract method 0x92e8990e.

Solidity: function hasUserLimit() view returns(bool)

func (*SmartChefInitializableCallerSession) IsInitialized added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() view returns(bool)

func (*SmartChefInitializableCallerSession) LastRewardBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) LastRewardBlock() (*big.Int, error)

LastRewardBlock is a free data retrieval call binding the contract method 0xa9f8d181.

Solidity: function lastRewardBlock() view returns(uint256)

func (*SmartChefInitializableCallerSession) Owner added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SmartChefInitializableCallerSession) PRECISIONFACTOR added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) PRECISIONFACTOR() (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*SmartChefInitializableCallerSession) PendingReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) PendingReward(_user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SmartChefInitializableCallerSession) PoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) PoolLimitPerUser() (*big.Int, error)

PoolLimitPerUser is a free data retrieval call binding the contract method 0x66fe9f8a.

Solidity: function poolLimitPerUser() view returns(uint256)

func (*SmartChefInitializableCallerSession) RewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) RewardPerBlock() (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SmartChefInitializableCallerSession) RewardToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SmartChefInitializableCallerSession) SMARTCHEFFACTORY added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) SMARTCHEFFACTORY() (common.Address, error)

SMARTCHEFFACTORY is a free data retrieval call binding the contract method 0xbd617191.

Solidity: function SMART_CHEF_FACTORY() view returns(address)

func (*SmartChefInitializableCallerSession) StakedToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) StakedToken() (common.Address, error)

StakedToken is a free data retrieval call binding the contract method 0xcc7a262e.

Solidity: function stakedToken() view returns(address)

func (*SmartChefInitializableCallerSession) StartBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SmartChefInitializableCallerSession) UserInfo added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableCallerSession) UserInfo(arg0 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

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

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

type SmartChefInitializableDeposit added in v1.4.0

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

SmartChefInitializableDeposit represents a Deposit event raised by the SmartChefInitializable contract.

type SmartChefInitializableDepositIterator added in v1.4.0

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

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

func (*SmartChefInitializableDepositIterator) Close added in v1.4.0

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

func (*SmartChefInitializableDepositIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableDepositIterator) Next added in v1.4.0

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 SmartChefInitializableEmergencyWithdraw added in v1.4.0

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

SmartChefInitializableEmergencyWithdraw represents a EmergencyWithdraw event raised by the SmartChefInitializable contract.

type SmartChefInitializableEmergencyWithdrawIterator added in v1.4.0

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

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

func (*SmartChefInitializableEmergencyWithdrawIterator) Close added in v1.4.0

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

func (*SmartChefInitializableEmergencyWithdrawIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableEmergencyWithdrawIterator) Next added in v1.4.0

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 SmartChefInitializableFilterer added in v1.4.0

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

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

func NewSmartChefInitializableFilterer added in v1.4.0

func NewSmartChefInitializableFilterer(address common.Address, filterer bind.ContractFilterer) (*SmartChefInitializableFilterer, error)

NewSmartChefInitializableFilterer creates a new log filterer instance of SmartChefInitializable, bound to a specific deployed contract.

func (*SmartChefInitializableFilterer) FilterAdminTokenRecovery added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterAdminTokenRecovery(opts *bind.FilterOpts) (*SmartChefInitializableAdminTokenRecoveryIterator, error)

FilterAdminTokenRecovery is a free log retrieval operation binding the contract event 0x74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab78129.

Solidity: event AdminTokenRecovery(address tokenRecovered, uint256 amount)

func (*SmartChefInitializableFilterer) FilterDeposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address) (*SmartChefInitializableDepositIterator, error)

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

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

func (*SmartChefInitializableFilterer) FilterEmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address) (*SmartChefInitializableEmergencyWithdrawIterator, error)

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

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

func (*SmartChefInitializableFilterer) FilterNewPoolLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterNewPoolLimit(opts *bind.FilterOpts) (*SmartChefInitializableNewPoolLimitIterator, error)

FilterNewPoolLimit is a free log retrieval operation binding the contract event 0x241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c.

Solidity: event NewPoolLimit(uint256 poolLimitPerUser)

func (*SmartChefInitializableFilterer) FilterNewRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterNewRewardPerBlock(opts *bind.FilterOpts) (*SmartChefInitializableNewRewardPerBlockIterator, error)

FilterNewRewardPerBlock is a free log retrieval operation binding the contract event 0x0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df.

Solidity: event NewRewardPerBlock(uint256 rewardPerBlock)

func (*SmartChefInitializableFilterer) FilterNewStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterNewStartAndEndBlocks(opts *bind.FilterOpts) (*SmartChefInitializableNewStartAndEndBlocksIterator, error)

FilterNewStartAndEndBlocks is a free log retrieval operation binding the contract event 0x7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce06.

Solidity: event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock)

func (*SmartChefInitializableFilterer) FilterOwnershipTransferred added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SmartChefInitializableOwnershipTransferredIterator, error)

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

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

func (*SmartChefInitializableFilterer) FilterRewardsStop added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterRewardsStop(opts *bind.FilterOpts) (*SmartChefInitializableRewardsStopIterator, error)

FilterRewardsStop is a free log retrieval operation binding the contract event 0xfed9fcb0ca3d1e761a4b929792bb24082fba92dca81252646ad306d306806566.

Solidity: event RewardsStop(uint256 blockNumber)

func (*SmartChefInitializableFilterer) FilterWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address) (*SmartChefInitializableWithdrawIterator, error)

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

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

func (*SmartChefInitializableFilterer) ParseAdminTokenRecovery added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseAdminTokenRecovery(log types.Log) (*SmartChefInitializableAdminTokenRecovery, error)

ParseAdminTokenRecovery is a log parse operation binding the contract event 0x74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab78129.

Solidity: event AdminTokenRecovery(address tokenRecovered, uint256 amount)

func (*SmartChefInitializableFilterer) ParseDeposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseDeposit(log types.Log) (*SmartChefInitializableDeposit, error)

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

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

func (*SmartChefInitializableFilterer) ParseEmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseEmergencyWithdraw(log types.Log) (*SmartChefInitializableEmergencyWithdraw, error)

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

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

func (*SmartChefInitializableFilterer) ParseNewPoolLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseNewPoolLimit(log types.Log) (*SmartChefInitializableNewPoolLimit, error)

ParseNewPoolLimit is a log parse operation binding the contract event 0x241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c.

Solidity: event NewPoolLimit(uint256 poolLimitPerUser)

func (*SmartChefInitializableFilterer) ParseNewRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseNewRewardPerBlock(log types.Log) (*SmartChefInitializableNewRewardPerBlock, error)

ParseNewRewardPerBlock is a log parse operation binding the contract event 0x0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df.

Solidity: event NewRewardPerBlock(uint256 rewardPerBlock)

func (*SmartChefInitializableFilterer) ParseNewStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseNewStartAndEndBlocks(log types.Log) (*SmartChefInitializableNewStartAndEndBlocks, error)

ParseNewStartAndEndBlocks is a log parse operation binding the contract event 0x7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce06.

Solidity: event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock)

func (*SmartChefInitializableFilterer) ParseOwnershipTransferred added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseOwnershipTransferred(log types.Log) (*SmartChefInitializableOwnershipTransferred, error)

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

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

func (*SmartChefInitializableFilterer) ParseRewardsStop added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseRewardsStop(log types.Log) (*SmartChefInitializableRewardsStop, error)

ParseRewardsStop is a log parse operation binding the contract event 0xfed9fcb0ca3d1e761a4b929792bb24082fba92dca81252646ad306d306806566.

Solidity: event RewardsStop(uint256 blockNumber)

func (*SmartChefInitializableFilterer) ParseWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) ParseWithdraw(log types.Log) (*SmartChefInitializableWithdraw, error)

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

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

func (*SmartChefInitializableFilterer) WatchAdminTokenRecovery added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchAdminTokenRecovery(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableAdminTokenRecovery) (event.Subscription, error)

WatchAdminTokenRecovery is a free log subscription operation binding the contract event 0x74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab78129.

Solidity: event AdminTokenRecovery(address tokenRecovered, uint256 amount)

func (*SmartChefInitializableFilterer) WatchDeposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableDeposit, user []common.Address) (event.Subscription, error)

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

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

func (*SmartChefInitializableFilterer) WatchEmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableEmergencyWithdraw, user []common.Address) (event.Subscription, error)

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

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

func (*SmartChefInitializableFilterer) WatchNewPoolLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchNewPoolLimit(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableNewPoolLimit) (event.Subscription, error)

WatchNewPoolLimit is a free log subscription operation binding the contract event 0x241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c.

Solidity: event NewPoolLimit(uint256 poolLimitPerUser)

func (*SmartChefInitializableFilterer) WatchNewRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchNewRewardPerBlock(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableNewRewardPerBlock) (event.Subscription, error)

WatchNewRewardPerBlock is a free log subscription operation binding the contract event 0x0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df.

Solidity: event NewRewardPerBlock(uint256 rewardPerBlock)

func (*SmartChefInitializableFilterer) WatchNewStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchNewStartAndEndBlocks(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableNewStartAndEndBlocks) (event.Subscription, error)

WatchNewStartAndEndBlocks is a free log subscription operation binding the contract event 0x7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce06.

Solidity: event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock)

func (*SmartChefInitializableFilterer) WatchOwnershipTransferred added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableOwnershipTransferred, 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 (*SmartChefInitializableFilterer) WatchRewardsStop added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchRewardsStop(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableRewardsStop) (event.Subscription, error)

WatchRewardsStop is a free log subscription operation binding the contract event 0xfed9fcb0ca3d1e761a4b929792bb24082fba92dca81252646ad306d306806566.

Solidity: event RewardsStop(uint256 blockNumber)

func (*SmartChefInitializableFilterer) WatchWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SmartChefInitializableWithdraw, user []common.Address) (event.Subscription, error)

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

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

type SmartChefInitializableNewPoolLimit added in v1.4.0

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

SmartChefInitializableNewPoolLimit represents a NewPoolLimit event raised by the SmartChefInitializable contract.

type SmartChefInitializableNewPoolLimitIterator added in v1.4.0

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

SmartChefInitializableNewPoolLimitIterator is returned from FilterNewPoolLimit and is used to iterate over the raw logs and unpacked data for NewPoolLimit events raised by the SmartChefInitializable contract.

func (*SmartChefInitializableNewPoolLimitIterator) Close added in v1.4.0

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

func (*SmartChefInitializableNewPoolLimitIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableNewPoolLimitIterator) Next added in v1.4.0

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 SmartChefInitializableNewRewardPerBlock added in v1.4.0

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

SmartChefInitializableNewRewardPerBlock represents a NewRewardPerBlock event raised by the SmartChefInitializable contract.

type SmartChefInitializableNewRewardPerBlockIterator added in v1.4.0

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

SmartChefInitializableNewRewardPerBlockIterator is returned from FilterNewRewardPerBlock and is used to iterate over the raw logs and unpacked data for NewRewardPerBlock events raised by the SmartChefInitializable contract.

func (*SmartChefInitializableNewRewardPerBlockIterator) Close added in v1.4.0

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

func (*SmartChefInitializableNewRewardPerBlockIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableNewRewardPerBlockIterator) Next added in v1.4.0

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 SmartChefInitializableNewStartAndEndBlocks added in v1.4.0

type SmartChefInitializableNewStartAndEndBlocks struct {
	StartBlock *big.Int
	EndBlock   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

SmartChefInitializableNewStartAndEndBlocks represents a NewStartAndEndBlocks event raised by the SmartChefInitializable contract.

type SmartChefInitializableNewStartAndEndBlocksIterator added in v1.4.0

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

SmartChefInitializableNewStartAndEndBlocksIterator is returned from FilterNewStartAndEndBlocks and is used to iterate over the raw logs and unpacked data for NewStartAndEndBlocks events raised by the SmartChefInitializable contract.

func (*SmartChefInitializableNewStartAndEndBlocksIterator) Close added in v1.4.0

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

func (*SmartChefInitializableNewStartAndEndBlocksIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableNewStartAndEndBlocksIterator) Next added in v1.4.0

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 SmartChefInitializableOwnershipTransferred added in v1.4.0

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

SmartChefInitializableOwnershipTransferred represents a OwnershipTransferred event raised by the SmartChefInitializable contract.

type SmartChefInitializableOwnershipTransferredIterator added in v1.4.0

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

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

func (*SmartChefInitializableOwnershipTransferredIterator) Close added in v1.4.0

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

func (*SmartChefInitializableOwnershipTransferredIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableOwnershipTransferredIterator) Next added in v1.4.0

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 SmartChefInitializableRaw added in v1.4.0

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

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

func (*SmartChefInitializableRaw) Call added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableRaw) 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 (*SmartChefInitializableRaw) Transact added in v1.4.0

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

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

func (*SmartChefInitializableRaw) Transfer added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableRaw) 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 SmartChefInitializableRewardsStop added in v1.4.0

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

SmartChefInitializableRewardsStop represents a RewardsStop event raised by the SmartChefInitializable contract.

type SmartChefInitializableRewardsStopIterator added in v1.4.0

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

SmartChefInitializableRewardsStopIterator is returned from FilterRewardsStop and is used to iterate over the raw logs and unpacked data for RewardsStop events raised by the SmartChefInitializable contract.

func (*SmartChefInitializableRewardsStopIterator) Close added in v1.4.0

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

func (*SmartChefInitializableRewardsStopIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableRewardsStopIterator) Next added in v1.4.0

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 SmartChefInitializableSession added in v1.4.0

type SmartChefInitializableSession struct {
	Contract     *SmartChefInitializable // 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
}

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

func (*SmartChefInitializableSession) AccTokenPerShare added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) AccTokenPerShare() (*big.Int, error)

AccTokenPerShare is a free data retrieval call binding the contract method 0x8f662915.

Solidity: function accTokenPerShare() view returns(uint256)

func (*SmartChefInitializableSession) BonusEndBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SmartChefInitializableSession) Deposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) 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 (*SmartChefInitializableSession) EmergencyRewardWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) EmergencyRewardWithdraw(_amount *big.Int) (*types.Transaction, error)

EmergencyRewardWithdraw is a paid mutator transaction binding the contract method 0x3279beab.

Solidity: function emergencyRewardWithdraw(uint256 _amount) returns()

func (*SmartChefInitializableSession) EmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) EmergencyWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SmartChefInitializableSession) HasUserLimit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) HasUserLimit() (bool, error)

HasUserLimit is a free data retrieval call binding the contract method 0x92e8990e.

Solidity: function hasUserLimit() view returns(bool)

func (*SmartChefInitializableSession) Initialize added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) Initialize(_stakedToken common.Address, _rewardToken common.Address, _rewardPerBlock *big.Int, _startBlock *big.Int, _bonusEndBlock *big.Int, _poolLimitPerUser *big.Int, _admin common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _stakedToken, address _rewardToken, uint256 _rewardPerBlock, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _poolLimitPerUser, address _admin) returns()

func (*SmartChefInitializableSession) IsInitialized added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() view returns(bool)

func (*SmartChefInitializableSession) LastRewardBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) LastRewardBlock() (*big.Int, error)

LastRewardBlock is a free data retrieval call binding the contract method 0xa9f8d181.

Solidity: function lastRewardBlock() view returns(uint256)

func (*SmartChefInitializableSession) Owner added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SmartChefInitializableSession) PRECISIONFACTOR added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) PRECISIONFACTOR() (*big.Int, error)

PRECISIONFACTOR is a free data retrieval call binding the contract method 0xccd34cd5.

Solidity: function PRECISION_FACTOR() view returns(uint256)

func (*SmartChefInitializableSession) PendingReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) PendingReward(_user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SmartChefInitializableSession) PoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) PoolLimitPerUser() (*big.Int, error)

PoolLimitPerUser is a free data retrieval call binding the contract method 0x66fe9f8a.

Solidity: function poolLimitPerUser() view returns(uint256)

func (*SmartChefInitializableSession) RecoverWrongTokens added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) RecoverWrongTokens(_tokenAddress common.Address, _tokenAmount *big.Int) (*types.Transaction, error)

RecoverWrongTokens is a paid mutator transaction binding the contract method 0x3f138d4b.

Solidity: function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) returns()

func (*SmartChefInitializableSession) RenounceOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SmartChefInitializableSession) RewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) RewardPerBlock() (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SmartChefInitializableSession) RewardToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*SmartChefInitializableSession) SMARTCHEFFACTORY added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) SMARTCHEFFACTORY() (common.Address, error)

SMARTCHEFFACTORY is a free data retrieval call binding the contract method 0xbd617191.

Solidity: function SMART_CHEF_FACTORY() view returns(address)

func (*SmartChefInitializableSession) StakedToken added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) StakedToken() (common.Address, error)

StakedToken is a free data retrieval call binding the contract method 0xcc7a262e.

Solidity: function stakedToken() view returns(address)

func (*SmartChefInitializableSession) StartBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SmartChefInitializableSession) StopReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) StopReward() (*types.Transaction, error)

StopReward is a paid mutator transaction binding the contract method 0x80dc0672.

Solidity: function stopReward() returns()

func (*SmartChefInitializableSession) TransferOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) 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 (*SmartChefInitializableSession) UpdatePoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) UpdatePoolLimitPerUser(_hasUserLimit bool, _poolLimitPerUser *big.Int) (*types.Transaction, error)

UpdatePoolLimitPerUser is a paid mutator transaction binding the contract method 0xa0b40905.

Solidity: function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) returns()

func (*SmartChefInitializableSession) UpdateRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) UpdateRewardPerBlock(_rewardPerBlock *big.Int) (*types.Transaction, error)

UpdateRewardPerBlock is a paid mutator transaction binding the contract method 0x01f8a976.

Solidity: function updateRewardPerBlock(uint256 _rewardPerBlock) returns()

func (*SmartChefInitializableSession) UpdateStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) UpdateStartAndEndBlocks(_startBlock *big.Int, _bonusEndBlock *big.Int) (*types.Transaction, error)

UpdateStartAndEndBlocks is a paid mutator transaction binding the contract method 0x9513997f.

Solidity: function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) returns()

func (*SmartChefInitializableSession) UserInfo added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) UserInfo(arg0 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

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

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

func (*SmartChefInitializableSession) Withdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SmartChefInitializableTransactor added in v1.4.0

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

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

func NewSmartChefInitializableTransactor added in v1.4.0

func NewSmartChefInitializableTransactor(address common.Address, transactor bind.ContractTransactor) (*SmartChefInitializableTransactor, error)

NewSmartChefInitializableTransactor creates a new write-only instance of SmartChefInitializable, bound to a specific deployed contract.

func (*SmartChefInitializableTransactor) Deposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) 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 (*SmartChefInitializableTransactor) EmergencyRewardWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) EmergencyRewardWithdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

EmergencyRewardWithdraw is a paid mutator transaction binding the contract method 0x3279beab.

Solidity: function emergencyRewardWithdraw(uint256 _amount) returns()

func (*SmartChefInitializableTransactor) EmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) EmergencyWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SmartChefInitializableTransactor) Initialize added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) Initialize(opts *bind.TransactOpts, _stakedToken common.Address, _rewardToken common.Address, _rewardPerBlock *big.Int, _startBlock *big.Int, _bonusEndBlock *big.Int, _poolLimitPerUser *big.Int, _admin common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _stakedToken, address _rewardToken, uint256 _rewardPerBlock, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _poolLimitPerUser, address _admin) returns()

func (*SmartChefInitializableTransactor) RecoverWrongTokens added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) RecoverWrongTokens(opts *bind.TransactOpts, _tokenAddress common.Address, _tokenAmount *big.Int) (*types.Transaction, error)

RecoverWrongTokens is a paid mutator transaction binding the contract method 0x3f138d4b.

Solidity: function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) returns()

func (*SmartChefInitializableTransactor) RenounceOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SmartChefInitializableTransactor) StopReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) StopReward(opts *bind.TransactOpts) (*types.Transaction, error)

StopReward is a paid mutator transaction binding the contract method 0x80dc0672.

Solidity: function stopReward() returns()

func (*SmartChefInitializableTransactor) TransferOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) 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 (*SmartChefInitializableTransactor) UpdatePoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) UpdatePoolLimitPerUser(opts *bind.TransactOpts, _hasUserLimit bool, _poolLimitPerUser *big.Int) (*types.Transaction, error)

UpdatePoolLimitPerUser is a paid mutator transaction binding the contract method 0xa0b40905.

Solidity: function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) returns()

func (*SmartChefInitializableTransactor) UpdateRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) UpdateRewardPerBlock(opts *bind.TransactOpts, _rewardPerBlock *big.Int) (*types.Transaction, error)

UpdateRewardPerBlock is a paid mutator transaction binding the contract method 0x01f8a976.

Solidity: function updateRewardPerBlock(uint256 _rewardPerBlock) returns()

func (*SmartChefInitializableTransactor) UpdateStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) UpdateStartAndEndBlocks(opts *bind.TransactOpts, _startBlock *big.Int, _bonusEndBlock *big.Int) (*types.Transaction, error)

UpdateStartAndEndBlocks is a paid mutator transaction binding the contract method 0x9513997f.

Solidity: function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) returns()

func (*SmartChefInitializableTransactor) Withdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SmartChefInitializableTransactorRaw added in v1.4.0

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

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

func (*SmartChefInitializableTransactorRaw) Transact added in v1.4.0

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

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

func (*SmartChefInitializableTransactorRaw) Transfer added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorRaw) 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 SmartChefInitializableTransactorSession added in v1.4.0

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

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

func (*SmartChefInitializableTransactorSession) Deposit added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) 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 (*SmartChefInitializableTransactorSession) EmergencyRewardWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) EmergencyRewardWithdraw(_amount *big.Int) (*types.Transaction, error)

EmergencyRewardWithdraw is a paid mutator transaction binding the contract method 0x3279beab.

Solidity: function emergencyRewardWithdraw(uint256 _amount) returns()

func (*SmartChefInitializableTransactorSession) EmergencyWithdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) EmergencyWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SmartChefInitializableTransactorSession) Initialize added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) Initialize(_stakedToken common.Address, _rewardToken common.Address, _rewardPerBlock *big.Int, _startBlock *big.Int, _bonusEndBlock *big.Int, _poolLimitPerUser *big.Int, _admin common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _stakedToken, address _rewardToken, uint256 _rewardPerBlock, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _poolLimitPerUser, address _admin) returns()

func (*SmartChefInitializableTransactorSession) RecoverWrongTokens added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) RecoverWrongTokens(_tokenAddress common.Address, _tokenAmount *big.Int) (*types.Transaction, error)

RecoverWrongTokens is a paid mutator transaction binding the contract method 0x3f138d4b.

Solidity: function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) returns()

func (*SmartChefInitializableTransactorSession) RenounceOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SmartChefInitializableTransactorSession) StopReward added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) StopReward() (*types.Transaction, error)

StopReward is a paid mutator transaction binding the contract method 0x80dc0672.

Solidity: function stopReward() returns()

func (*SmartChefInitializableTransactorSession) TransferOwnership added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) 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 (*SmartChefInitializableTransactorSession) UpdatePoolLimitPerUser added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) UpdatePoolLimitPerUser(_hasUserLimit bool, _poolLimitPerUser *big.Int) (*types.Transaction, error)

UpdatePoolLimitPerUser is a paid mutator transaction binding the contract method 0xa0b40905.

Solidity: function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) returns()

func (*SmartChefInitializableTransactorSession) UpdateRewardPerBlock added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) UpdateRewardPerBlock(_rewardPerBlock *big.Int) (*types.Transaction, error)

UpdateRewardPerBlock is a paid mutator transaction binding the contract method 0x01f8a976.

Solidity: function updateRewardPerBlock(uint256 _rewardPerBlock) returns()

func (*SmartChefInitializableTransactorSession) UpdateStartAndEndBlocks added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) UpdateStartAndEndBlocks(_startBlock *big.Int, _bonusEndBlock *big.Int) (*types.Transaction, error)

UpdateStartAndEndBlocks is a paid mutator transaction binding the contract method 0x9513997f.

Solidity: function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) returns()

func (*SmartChefInitializableTransactorSession) Withdraw added in v1.4.0

func (_SmartChefInitializable *SmartChefInitializableTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SmartChefInitializableWithdraw added in v1.4.0

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

SmartChefInitializableWithdraw represents a Withdraw event raised by the SmartChefInitializable contract.

type SmartChefInitializableWithdrawIterator added in v1.4.0

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

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

func (*SmartChefInitializableWithdrawIterator) Close added in v1.4.0

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

func (*SmartChefInitializableWithdrawIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*SmartChefInitializableWithdrawIterator) Next added in v1.4.0

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