sushiswap

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SushiswapL2MasterChefV2ABI = SushiswapL2MasterChefV2MetaData.ABI

SushiswapL2MasterChefV2ABI is the input ABI used to generate the binding from. Deprecated: Use SushiswapL2MasterChefV2MetaData.ABI instead.

View Source
var SushiswapL2MasterChefV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_sushi\",\"type\":\"address\"}],\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"EmergencyWithdraw\",\"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\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"}],\"name\":\"LogPoolAddition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"LogSetPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sushiPerSecond\",\"type\":\"uint256\"}],\"name\":\"LogSushiPerSecond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lastRewardTime\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accSushiPerShare\",\"type\":\"uint256\"}],\"name\":\"LogUpdatePool\",\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"SUSHI\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"calls\",\"type\":\"bytes[]\"},{\"internalType\":\"bool\",\"name\":\"revertOnFail\",\"type\":\"bool\"}],\"name\":\"batch\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"successes\",\"type\":\"bool[]\"},{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lpToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"pids\",\"type\":\"uint256[]\"}],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingSushi\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pending\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permitToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"accSushiPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"allocPoint\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pools\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewarder\",\"outputs\":[{\"internalType\":\"contractIRewarder\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"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\":\"_sushiPerSecond\",\"type\":\"uint256\"}],\"name\":\"setSushiPerSecond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sushiPerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"direct\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"renounce\",\"type\":\"bool\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"accSushiPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"allocPoint\",\"type\":\"uint64\"}],\"internalType\":\"structMiniChefV2.PoolInfo\",\"name\":\"pool\",\"type\":\"tuple\"}],\"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\":\"int256\",\"name\":\"rewardDebt\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawAndHarvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SushiswapL2MasterChefV2MetaData contains all meta data concerning the SushiswapL2MasterChefV2 contract.

View Source
var SushiswapMasterChefABI = SushiswapMasterChefMetaData.ABI

SushiswapMasterChefABI is the input ABI used to generate the binding from. Deprecated: Use SushiswapMasterChefMetaData.ABI instead.

View Source
var SushiswapMasterChefMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractSushiToken\",\"name\":\"_sushi\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_devaddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_sushiPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bonusEndBlock\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_withUpdate\",\"type\":\"bool\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bonusEndBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_devaddr\",\"type\":\"address\"}],\"name\":\"dev\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"devaddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"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\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingSushi\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accSushiPerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"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\":[],\"name\":\"startBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sushi\",\"outputs\":[{\"internalType\":\"contractSushiToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sushiPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"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\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SushiswapMasterChefMetaData contains all meta data concerning the SushiswapMasterChef contract.

View Source
var SushiswapMasterChefV2ABI = SushiswapMasterChefV2MetaData.ABI

SushiswapMasterChefV2ABI is the input ABI used to generate the binding from. Deprecated: Use SushiswapMasterChefV2MetaData.ABI instead.

View Source
var SushiswapMasterChefV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIMasterChef\",\"name\":\"_MASTER_CHEF\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_sushi\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_MASTER_PID\",\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"EmergencyWithdraw\",\"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\":\"Harvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"LogInit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"}],\"name\":\"LogPoolAddition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contractIRewarder\",\"name\":\"rewarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"LogSetPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lastRewardBlock\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"accSushiPerShare\",\"type\":\"uint256\"}],\"name\":\"LogUpdatePool\",\"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\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MASTER_CHEF\",\"outputs\":[{\"internalType\":\"contractIMasterChef\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER_PID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUSHI\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"calls\",\"type\":\"bytes[]\"},{\"internalType\":\"bool\",\"name\":\"revertOnFail\",\"type\":\"bool\"}],\"name\":\"batch\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"successes\",\"type\":\"bool[]\"},{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvestFromMasterChef\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"dummyToken\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lpToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"pids\",\"type\":\"uint256[]\"}],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingSushi\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pending\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permitToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"accSushiPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"allocPoint\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pools\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewarder\",\"outputs\":[{\"internalType\":\"contractIRewarder\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIRewarder\",\"name\":\"_rewarder\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"overwrite\",\"type\":\"bool\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMigratorChef\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sushiPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"direct\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"renounce\",\"type\":\"bool\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"accSushiPerShare\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"lastRewardBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"allocPoint\",\"type\":\"uint64\"}],\"internalType\":\"structMasterChefV2.PoolInfo\",\"name\":\"pool\",\"type\":\"tuple\"}],\"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\":\"int256\",\"name\":\"rewardDebt\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawAndHarvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SushiswapMasterChefV2MetaData contains all meta data concerning the SushiswapMasterChefV2 contract.

Functions

This section is empty.

Types

type MasterChefV2PoolInfo

type MasterChefV2PoolInfo struct {
	AccSushiPerShare *big.Int
	LastRewardBlock  uint64
	AllocPoint       uint64
}

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

type MiniChefV2PoolInfo

type MiniChefV2PoolInfo struct {
	AccSushiPerShare *big.Int
	LastRewardTime   uint64
	AllocPoint       uint64
}

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

type SushiswapL2MasterChefV2

type SushiswapL2MasterChefV2 struct {
	SushiswapL2MasterChefV2Caller     // Read-only binding to the contract
	SushiswapL2MasterChefV2Transactor // Write-only binding to the contract
	SushiswapL2MasterChefV2Filterer   // Log filterer for contract events
}

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

func NewSushiswapL2MasterChefV2

func NewSushiswapL2MasterChefV2(address common.Address, backend bind.ContractBackend) (*SushiswapL2MasterChefV2, error)

NewSushiswapL2MasterChefV2 creates a new instance of SushiswapL2MasterChefV2, bound to a specific deployed contract.

type SushiswapL2MasterChefV2Caller

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

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

func NewSushiswapL2MasterChefV2Caller

func NewSushiswapL2MasterChefV2Caller(address common.Address, caller bind.ContractCaller) (*SushiswapL2MasterChefV2Caller, error)

NewSushiswapL2MasterChefV2Caller creates a new read-only instance of SushiswapL2MasterChefV2, bound to a specific deployed contract.

func (*SushiswapL2MasterChefV2Caller) LpToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) LpToken(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapL2MasterChefV2Caller) Migrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) 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 (*SushiswapL2MasterChefV2Caller) Owner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) 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 (*SushiswapL2MasterChefV2Caller) PendingOwner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapL2MasterChefV2Caller) PendingSushi

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) PendingSushi(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapL2MasterChefV2Caller) PoolInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardTime   uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*SushiswapL2MasterChefV2Caller) PoolLength

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) 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 pools)

func (*SushiswapL2MasterChefV2Caller) Rewarder

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) Rewarder(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapL2MasterChefV2Caller) SUSHI

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) SUSHI(opts *bind.CallOpts) (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapL2MasterChefV2Caller) SushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) SushiPerSecond(opts *bind.CallOpts) (*big.Int, error)

SushiPerSecond is a free data retrieval call binding the contract method 0xa06e408b.

Solidity: function sushiPerSecond() view returns(uint256)

func (*SushiswapL2MasterChefV2Caller) TotalAllocPoint

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) 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 (*SushiswapL2MasterChefV2Caller) UserInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Caller) 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, int256 rewardDebt)

type SushiswapL2MasterChefV2CallerRaw

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

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

func (*SushiswapL2MasterChefV2CallerRaw) Call

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerRaw) 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 SushiswapL2MasterChefV2CallerSession

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

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

func (*SushiswapL2MasterChefV2CallerSession) LpToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapL2MasterChefV2CallerSession) Migrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapL2MasterChefV2CallerSession) Owner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapL2MasterChefV2CallerSession) PendingOwner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapL2MasterChefV2CallerSession) PendingSushi

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapL2MasterChefV2CallerSession) PoolInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) PoolInfo(arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardTime   uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*SushiswapL2MasterChefV2CallerSession) PoolLength

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*SushiswapL2MasterChefV2CallerSession) Rewarder

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapL2MasterChefV2CallerSession) SUSHI

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) SUSHI() (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapL2MasterChefV2CallerSession) SushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) SushiPerSecond() (*big.Int, error)

SushiPerSecond is a free data retrieval call binding the contract method 0xa06e408b.

Solidity: function sushiPerSecond() view returns(uint256)

func (*SushiswapL2MasterChefV2CallerSession) TotalAllocPoint

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapL2MasterChefV2CallerSession) UserInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2CallerSession) 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, int256 rewardDebt)

type SushiswapL2MasterChefV2Deposit

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

SushiswapL2MasterChefV2Deposit represents a Deposit event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2DepositIterator

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

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

func (*SushiswapL2MasterChefV2DepositIterator) Close

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

func (*SushiswapL2MasterChefV2DepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2DepositIterator) 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 SushiswapL2MasterChefV2EmergencyWithdraw

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

SushiswapL2MasterChefV2EmergencyWithdraw represents a EmergencyWithdraw event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2EmergencyWithdrawIterator

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

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

func (*SushiswapL2MasterChefV2EmergencyWithdrawIterator) Close

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

func (*SushiswapL2MasterChefV2EmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2EmergencyWithdrawIterator) 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 SushiswapL2MasterChefV2Filterer

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

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

func NewSushiswapL2MasterChefV2Filterer

func NewSushiswapL2MasterChefV2Filterer(address common.Address, filterer bind.ContractFilterer) (*SushiswapL2MasterChefV2Filterer, error)

NewSushiswapL2MasterChefV2Filterer creates a new log filterer instance of SushiswapL2MasterChefV2, bound to a specific deployed contract.

func (*SushiswapL2MasterChefV2Filterer) FilterDeposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapL2MasterChefV2DepositIterator, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) FilterEmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapL2MasterChefV2EmergencyWithdrawIterator, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) FilterHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterHarvest(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiswapL2MasterChefV2HarvestIterator, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) FilterLogPoolAddition

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterLogPoolAddition(opts *bind.FilterOpts, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (*SushiswapL2MasterChefV2LogPoolAdditionIterator, error)

FilterLogPoolAddition is a free log retrieval operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapL2MasterChefV2Filterer) FilterLogSetPool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterLogSetPool(opts *bind.FilterOpts, pid []*big.Int, rewarder []common.Address) (*SushiswapL2MasterChefV2LogSetPoolIterator, error)

FilterLogSetPool is a free log retrieval operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapL2MasterChefV2Filterer) FilterLogSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterLogSushiPerSecond(opts *bind.FilterOpts) (*SushiswapL2MasterChefV2LogSushiPerSecondIterator, error)

FilterLogSushiPerSecond is a free log retrieval operation binding the contract event 0xc6ce5eff3291fb2c1517b943daa5067ea76c83816bbf674307fbc7fea3b311d0.

Solidity: event LogSushiPerSecond(uint256 sushiPerSecond)

func (*SushiswapL2MasterChefV2Filterer) FilterLogUpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterLogUpdatePool(opts *bind.FilterOpts, pid []*big.Int) (*SushiswapL2MasterChefV2LogUpdatePoolIterator, error)

FilterLogUpdatePool is a free log retrieval operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardTime, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapL2MasterChefV2Filterer) FilterOwnershipTransferred

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SushiswapL2MasterChefV2OwnershipTransferredIterator, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) FilterWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapL2MasterChefV2WithdrawIterator, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) ParseDeposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseDeposit(log types.Log) (*SushiswapL2MasterChefV2Deposit, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) ParseEmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseEmergencyWithdraw(log types.Log) (*SushiswapL2MasterChefV2EmergencyWithdraw, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) ParseHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseHarvest(log types.Log) (*SushiswapL2MasterChefV2Harvest, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) ParseLogPoolAddition

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseLogPoolAddition(log types.Log) (*SushiswapL2MasterChefV2LogPoolAddition, error)

ParseLogPoolAddition is a log parse operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapL2MasterChefV2Filterer) ParseLogSetPool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseLogSetPool(log types.Log) (*SushiswapL2MasterChefV2LogSetPool, error)

ParseLogSetPool is a log parse operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapL2MasterChefV2Filterer) ParseLogSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseLogSushiPerSecond(log types.Log) (*SushiswapL2MasterChefV2LogSushiPerSecond, error)

ParseLogSushiPerSecond is a log parse operation binding the contract event 0xc6ce5eff3291fb2c1517b943daa5067ea76c83816bbf674307fbc7fea3b311d0.

Solidity: event LogSushiPerSecond(uint256 sushiPerSecond)

func (*SushiswapL2MasterChefV2Filterer) ParseLogUpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseLogUpdatePool(log types.Log) (*SushiswapL2MasterChefV2LogUpdatePool, error)

ParseLogUpdatePool is a log parse operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardTime, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapL2MasterChefV2Filterer) ParseOwnershipTransferred

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseOwnershipTransferred(log types.Log) (*SushiswapL2MasterChefV2OwnershipTransferred, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) ParseWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) ParseWithdraw(log types.Log) (*SushiswapL2MasterChefV2Withdraw, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) WatchDeposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2Deposit, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) WatchEmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2EmergencyWithdraw, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) WatchHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2Harvest, user []common.Address, pid []*big.Int) (event.Subscription, error)

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

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

func (*SushiswapL2MasterChefV2Filterer) WatchLogPoolAddition

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchLogPoolAddition(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2LogPoolAddition, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (event.Subscription, error)

WatchLogPoolAddition is a free log subscription operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapL2MasterChefV2Filterer) WatchLogSetPool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchLogSetPool(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2LogSetPool, pid []*big.Int, rewarder []common.Address) (event.Subscription, error)

WatchLogSetPool is a free log subscription operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapL2MasterChefV2Filterer) WatchLogSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchLogSushiPerSecond(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2LogSushiPerSecond) (event.Subscription, error)

WatchLogSushiPerSecond is a free log subscription operation binding the contract event 0xc6ce5eff3291fb2c1517b943daa5067ea76c83816bbf674307fbc7fea3b311d0.

Solidity: event LogSushiPerSecond(uint256 sushiPerSecond)

func (*SushiswapL2MasterChefV2Filterer) WatchLogUpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchLogUpdatePool(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2LogUpdatePool, pid []*big.Int) (event.Subscription, error)

WatchLogUpdatePool is a free log subscription operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardTime, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapL2MasterChefV2Filterer) WatchOwnershipTransferred

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2OwnershipTransferred, 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 (*SushiswapL2MasterChefV2Filterer) WatchWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapL2MasterChefV2Withdraw, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

type SushiswapL2MasterChefV2Harvest

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

SushiswapL2MasterChefV2Harvest represents a Harvest event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2HarvestIterator

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

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

func (*SushiswapL2MasterChefV2HarvestIterator) Close

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

func (*SushiswapL2MasterChefV2HarvestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2HarvestIterator) 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 SushiswapL2MasterChefV2LogPoolAddition

type SushiswapL2MasterChefV2LogPoolAddition struct {
	Pid        *big.Int
	AllocPoint *big.Int
	LpToken    common.Address
	Rewarder   common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

SushiswapL2MasterChefV2LogPoolAddition represents a LogPoolAddition event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2LogPoolAdditionIterator

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

SushiswapL2MasterChefV2LogPoolAdditionIterator is returned from FilterLogPoolAddition and is used to iterate over the raw logs and unpacked data for LogPoolAddition events raised by the SushiswapL2MasterChefV2 contract.

func (*SushiswapL2MasterChefV2LogPoolAdditionIterator) Close

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

func (*SushiswapL2MasterChefV2LogPoolAdditionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2LogPoolAdditionIterator) 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 SushiswapL2MasterChefV2LogSetPool

type SushiswapL2MasterChefV2LogSetPool struct {
	Pid        *big.Int
	AllocPoint *big.Int
	Rewarder   common.Address
	Overwrite  bool
	Raw        types.Log // Blockchain specific contextual infos
}

SushiswapL2MasterChefV2LogSetPool represents a LogSetPool event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2LogSetPoolIterator

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

SushiswapL2MasterChefV2LogSetPoolIterator is returned from FilterLogSetPool and is used to iterate over the raw logs and unpacked data for LogSetPool events raised by the SushiswapL2MasterChefV2 contract.

func (*SushiswapL2MasterChefV2LogSetPoolIterator) Close

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

func (*SushiswapL2MasterChefV2LogSetPoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2LogSetPoolIterator) 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 SushiswapL2MasterChefV2LogSushiPerSecond

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

SushiswapL2MasterChefV2LogSushiPerSecond represents a LogSushiPerSecond event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2LogSushiPerSecondIterator

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

SushiswapL2MasterChefV2LogSushiPerSecondIterator is returned from FilterLogSushiPerSecond and is used to iterate over the raw logs and unpacked data for LogSushiPerSecond events raised by the SushiswapL2MasterChefV2 contract.

func (*SushiswapL2MasterChefV2LogSushiPerSecondIterator) Close

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

func (*SushiswapL2MasterChefV2LogSushiPerSecondIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2LogSushiPerSecondIterator) 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 SushiswapL2MasterChefV2LogUpdatePool

type SushiswapL2MasterChefV2LogUpdatePool struct {
	Pid              *big.Int
	LastRewardTime   uint64
	LpSupply         *big.Int
	AccSushiPerShare *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

SushiswapL2MasterChefV2LogUpdatePool represents a LogUpdatePool event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2LogUpdatePoolIterator

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

SushiswapL2MasterChefV2LogUpdatePoolIterator is returned from FilterLogUpdatePool and is used to iterate over the raw logs and unpacked data for LogUpdatePool events raised by the SushiswapL2MasterChefV2 contract.

func (*SushiswapL2MasterChefV2LogUpdatePoolIterator) Close

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

func (*SushiswapL2MasterChefV2LogUpdatePoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2LogUpdatePoolIterator) 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 SushiswapL2MasterChefV2OwnershipTransferred

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

SushiswapL2MasterChefV2OwnershipTransferred represents a OwnershipTransferred event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2OwnershipTransferredIterator

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

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

func (*SushiswapL2MasterChefV2OwnershipTransferredIterator) Close

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

func (*SushiswapL2MasterChefV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2OwnershipTransferredIterator) 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 SushiswapL2MasterChefV2Raw

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

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

func (*SushiswapL2MasterChefV2Raw) Call

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Raw) 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 (*SushiswapL2MasterChefV2Raw) Transact

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

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

func (*SushiswapL2MasterChefV2Raw) Transfer

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Raw) 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 SushiswapL2MasterChefV2Session

type SushiswapL2MasterChefV2Session struct {
	Contract     *SushiswapL2MasterChefV2 // 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
}

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

func (*SushiswapL2MasterChefV2Session) Add

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapL2MasterChefV2Session) Batch

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Batch(calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapL2MasterChefV2Session) ClaimOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapL2MasterChefV2Session) Deposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2Session) EmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2Session) Harvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2Session) LpToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapL2MasterChefV2Session) MassUpdatePools

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapL2MasterChefV2Session) Migrate

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) 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 (*SushiswapL2MasterChefV2Session) Migrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapL2MasterChefV2Session) Owner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapL2MasterChefV2Session) PendingOwner

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapL2MasterChefV2Session) PendingSushi

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapL2MasterChefV2Session) PermitToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) PermitToken(token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapL2MasterChefV2Session) PoolInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) PoolInfo(arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardTime   uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardTime, uint64 allocPoint)

func (*SushiswapL2MasterChefV2Session) PoolLength

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*SushiswapL2MasterChefV2Session) Rewarder

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapL2MasterChefV2Session) SUSHI

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) SUSHI() (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapL2MasterChefV2Session) Set

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapL2MasterChefV2Session) SetMigrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) 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 (*SushiswapL2MasterChefV2Session) SetSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) SetSushiPerSecond(_sushiPerSecond *big.Int) (*types.Transaction, error)

SetSushiPerSecond is a paid mutator transaction binding the contract method 0x9baf58c3.

Solidity: function setSushiPerSecond(uint256 _sushiPerSecond) returns()

func (*SushiswapL2MasterChefV2Session) SushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) SushiPerSecond() (*big.Int, error)

SushiPerSecond is a free data retrieval call binding the contract method 0xa06e408b.

Solidity: function sushiPerSecond() view returns(uint256)

func (*SushiswapL2MasterChefV2Session) TotalAllocPoint

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapL2MasterChefV2Session) TransferOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) TransferOwnership(newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapL2MasterChefV2Session) UpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) UpdatePool(pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 pid) returns((uint128,uint64,uint64) pool)

func (*SushiswapL2MasterChefV2Session) UserInfo

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) 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, int256 rewardDebt)

func (*SushiswapL2MasterChefV2Session) Withdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2Session) WithdrawAndHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Session) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapL2MasterChefV2Transactor

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

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

func NewSushiswapL2MasterChefV2Transactor

func NewSushiswapL2MasterChefV2Transactor(address common.Address, transactor bind.ContractTransactor) (*SushiswapL2MasterChefV2Transactor, error)

NewSushiswapL2MasterChefV2Transactor creates a new write-only instance of SushiswapL2MasterChefV2, bound to a specific deployed contract.

func (*SushiswapL2MasterChefV2Transactor) Add

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Add(opts *bind.TransactOpts, allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapL2MasterChefV2Transactor) Batch

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Batch(opts *bind.TransactOpts, calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapL2MasterChefV2Transactor) ClaimOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapL2MasterChefV2Transactor) Deposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Deposit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2Transactor) EmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) EmergencyWithdraw(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2Transactor) Harvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Harvest(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2Transactor) MassUpdatePools

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) MassUpdatePools(opts *bind.TransactOpts, pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapL2MasterChefV2Transactor) Migrate

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) 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 (*SushiswapL2MasterChefV2Transactor) PermitToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) PermitToken(opts *bind.TransactOpts, token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapL2MasterChefV2Transactor) Set

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapL2MasterChefV2Transactor) SetMigrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) 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 (*SushiswapL2MasterChefV2Transactor) SetSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) SetSushiPerSecond(opts *bind.TransactOpts, _sushiPerSecond *big.Int) (*types.Transaction, error)

SetSushiPerSecond is a paid mutator transaction binding the contract method 0x9baf58c3.

Solidity: function setSushiPerSecond(uint256 _sushiPerSecond) returns()

func (*SushiswapL2MasterChefV2Transactor) TransferOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapL2MasterChefV2Transactor) UpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) 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((uint128,uint64,uint64) pool)

func (*SushiswapL2MasterChefV2Transactor) Withdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) Withdraw(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2Transactor) WithdrawAndHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2Transactor) WithdrawAndHarvest(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapL2MasterChefV2TransactorRaw

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

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

func (*SushiswapL2MasterChefV2TransactorRaw) Transact

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

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

func (*SushiswapL2MasterChefV2TransactorRaw) Transfer

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorRaw) 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 SushiswapL2MasterChefV2TransactorSession

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

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

func (*SushiswapL2MasterChefV2TransactorSession) Add

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapL2MasterChefV2TransactorSession) Batch

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Batch(calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapL2MasterChefV2TransactorSession) ClaimOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapL2MasterChefV2TransactorSession) Deposit

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2TransactorSession) EmergencyWithdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2TransactorSession) Harvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapL2MasterChefV2TransactorSession) MassUpdatePools

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapL2MasterChefV2TransactorSession) Migrate

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) 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 (*SushiswapL2MasterChefV2TransactorSession) PermitToken

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) PermitToken(token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapL2MasterChefV2TransactorSession) Set

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapL2MasterChefV2TransactorSession) SetMigrator

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) 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 (*SushiswapL2MasterChefV2TransactorSession) SetSushiPerSecond

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) SetSushiPerSecond(_sushiPerSecond *big.Int) (*types.Transaction, error)

SetSushiPerSecond is a paid mutator transaction binding the contract method 0x9baf58c3.

Solidity: function setSushiPerSecond(uint256 _sushiPerSecond) returns()

func (*SushiswapL2MasterChefV2TransactorSession) TransferOwnership

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) TransferOwnership(newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapL2MasterChefV2TransactorSession) UpdatePool

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) UpdatePool(pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 pid) returns((uint128,uint64,uint64) pool)

func (*SushiswapL2MasterChefV2TransactorSession) Withdraw

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapL2MasterChefV2TransactorSession) WithdrawAndHarvest

func (_SushiswapL2MasterChefV2 *SushiswapL2MasterChefV2TransactorSession) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapL2MasterChefV2Withdraw

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

SushiswapL2MasterChefV2Withdraw represents a Withdraw event raised by the SushiswapL2MasterChefV2 contract.

type SushiswapL2MasterChefV2WithdrawIterator

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

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

func (*SushiswapL2MasterChefV2WithdrawIterator) Close

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

func (*SushiswapL2MasterChefV2WithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapL2MasterChefV2WithdrawIterator) 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 SushiswapMasterChef

type SushiswapMasterChef struct {
	SushiswapMasterChefCaller     // Read-only binding to the contract
	SushiswapMasterChefTransactor // Write-only binding to the contract
	SushiswapMasterChefFilterer   // Log filterer for contract events
}

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

func NewSushiswapMasterChef

func NewSushiswapMasterChef(address common.Address, backend bind.ContractBackend) (*SushiswapMasterChef, error)

NewSushiswapMasterChef creates a new instance of SushiswapMasterChef, bound to a specific deployed contract.

type SushiswapMasterChefCaller

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

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

func NewSushiswapMasterChefCaller

func NewSushiswapMasterChefCaller(address common.Address, caller bind.ContractCaller) (*SushiswapMasterChefCaller, error)

NewSushiswapMasterChefCaller creates a new read-only instance of SushiswapMasterChef, bound to a specific deployed contract.

func (*SushiswapMasterChefCaller) BONUSMULTIPLIER

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) BonusEndBlock

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) Devaddr

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) GetMultiplier

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) Migrator

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) Owner

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) PendingSushi

func (_SushiswapMasterChef *SushiswapMasterChefCaller) PendingSushi(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefCaller) PoolInfo

func (_SushiswapMasterChef *SushiswapMasterChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *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 accSushiPerShare)

func (*SushiswapMasterChefCaller) PoolLength

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) StartBlock

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) Sushi

func (_SushiswapMasterChef *SushiswapMasterChefCaller) Sushi(opts *bind.CallOpts) (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiswapMasterChefCaller) SushiPerBlock

func (_SushiswapMasterChef *SushiswapMasterChefCaller) SushiPerBlock(opts *bind.CallOpts) (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiswapMasterChefCaller) TotalAllocPoint

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 (*SushiswapMasterChefCaller) UserInfo

func (_SushiswapMasterChef *SushiswapMasterChefCaller) 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 SushiswapMasterChefCallerRaw

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

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

func (*SushiswapMasterChefCallerRaw) Call

func (_SushiswapMasterChef *SushiswapMasterChefCallerRaw) 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 SushiswapMasterChefCallerSession

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

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

func (*SushiswapMasterChefCallerSession) BONUSMULTIPLIER

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*SushiswapMasterChefCallerSession) BonusEndBlock

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SushiswapMasterChefCallerSession) Devaddr

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) Devaddr() (common.Address, error)

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

Solidity: function devaddr() view returns(address)

func (*SushiswapMasterChefCallerSession) GetMultiplier

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) 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 (*SushiswapMasterChefCallerSession) Migrator

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapMasterChefCallerSession) Owner

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapMasterChefCallerSession) PendingSushi

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefCallerSession) PoolInfo

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *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 accSushiPerShare)

func (*SushiswapMasterChefCallerSession) PoolLength

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*SushiswapMasterChefCallerSession) StartBlock

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SushiswapMasterChefCallerSession) Sushi

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) Sushi() (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiswapMasterChefCallerSession) SushiPerBlock

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiswapMasterChefCallerSession) TotalAllocPoint

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapMasterChefCallerSession) UserInfo

func (_SushiswapMasterChef *SushiswapMasterChefCallerSession) 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 SushiswapMasterChefDeposit

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

SushiswapMasterChefDeposit represents a Deposit event raised by the SushiswapMasterChef contract.

type SushiswapMasterChefDepositIterator

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

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

func (*SushiswapMasterChefDepositIterator) Close

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

func (*SushiswapMasterChefDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefDepositIterator) 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 SushiswapMasterChefEmergencyWithdraw

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

SushiswapMasterChefEmergencyWithdraw represents a EmergencyWithdraw event raised by the SushiswapMasterChef contract.

type SushiswapMasterChefEmergencyWithdrawIterator

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

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

func (*SushiswapMasterChefEmergencyWithdrawIterator) Close

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

func (*SushiswapMasterChefEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefEmergencyWithdrawIterator) 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 SushiswapMasterChefFilterer

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

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

func NewSushiswapMasterChefFilterer

func NewSushiswapMasterChefFilterer(address common.Address, filterer bind.ContractFilterer) (*SushiswapMasterChefFilterer, error)

NewSushiswapMasterChefFilterer creates a new log filterer instance of SushiswapMasterChef, bound to a specific deployed contract.

func (*SushiswapMasterChefFilterer) FilterDeposit

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiswapMasterChefDepositIterator, 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 (*SushiswapMasterChefFilterer) FilterEmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiswapMasterChefEmergencyWithdrawIterator, 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 (*SushiswapMasterChefFilterer) FilterOwnershipTransferred

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SushiswapMasterChefOwnershipTransferredIterator, error)

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

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

func (*SushiswapMasterChefFilterer) FilterWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiswapMasterChefWithdrawIterator, 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 (*SushiswapMasterChefFilterer) ParseDeposit

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) ParseDeposit(log types.Log) (*SushiswapMasterChefDeposit, error)

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

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

func (*SushiswapMasterChefFilterer) ParseEmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) ParseEmergencyWithdraw(log types.Log) (*SushiswapMasterChefEmergencyWithdraw, error)

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

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

func (*SushiswapMasterChefFilterer) ParseOwnershipTransferred

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) ParseOwnershipTransferred(log types.Log) (*SushiswapMasterChefOwnershipTransferred, error)

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

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

func (*SushiswapMasterChefFilterer) ParseWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) ParseWithdraw(log types.Log) (*SushiswapMasterChefWithdraw, error)

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

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

func (*SushiswapMasterChefFilterer) WatchDeposit

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefDeposit, 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 (*SushiswapMasterChefFilterer) WatchEmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefEmergencyWithdraw, 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 (*SushiswapMasterChefFilterer) WatchOwnershipTransferred

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefOwnershipTransferred, 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 (*SushiswapMasterChefFilterer) WatchWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefWithdraw, 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 SushiswapMasterChefOwnershipTransferred

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

SushiswapMasterChefOwnershipTransferred represents a OwnershipTransferred event raised by the SushiswapMasterChef contract.

type SushiswapMasterChefOwnershipTransferredIterator

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

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

func (*SushiswapMasterChefOwnershipTransferredIterator) Close

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

func (*SushiswapMasterChefOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefOwnershipTransferredIterator) 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 SushiswapMasterChefRaw

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

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

func (*SushiswapMasterChefRaw) Call

func (_SushiswapMasterChef *SushiswapMasterChefRaw) 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 (*SushiswapMasterChefRaw) Transact

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

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

func (*SushiswapMasterChefRaw) Transfer

func (_SushiswapMasterChef *SushiswapMasterChefRaw) 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 SushiswapMasterChefSession

type SushiswapMasterChefSession struct {
	Contract     *SushiswapMasterChef // 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
}

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

func (*SushiswapMasterChefSession) Add

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) BONUSMULTIPLIER

func (_SushiswapMasterChef *SushiswapMasterChefSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*SushiswapMasterChefSession) BonusEndBlock

func (_SushiswapMasterChef *SushiswapMasterChefSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SushiswapMasterChefSession) Deposit

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) Dev

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) Devaddr

func (_SushiswapMasterChef *SushiswapMasterChefSession) Devaddr() (common.Address, error)

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

Solidity: function devaddr() view returns(address)

func (*SushiswapMasterChefSession) EmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) GetMultiplier

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) MassUpdatePools

func (_SushiswapMasterChef *SushiswapMasterChefSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*SushiswapMasterChefSession) Migrate

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) Migrator

func (_SushiswapMasterChef *SushiswapMasterChefSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapMasterChefSession) Owner

func (_SushiswapMasterChef *SushiswapMasterChefSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapMasterChefSession) PendingSushi

func (_SushiswapMasterChef *SushiswapMasterChefSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefSession) PoolInfo

func (_SushiswapMasterChef *SushiswapMasterChefSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *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 accSushiPerShare)

func (*SushiswapMasterChefSession) PoolLength

func (_SushiswapMasterChef *SushiswapMasterChefSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256)

func (*SushiswapMasterChefSession) RenounceOwnership

func (_SushiswapMasterChef *SushiswapMasterChefSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SushiswapMasterChefSession) Set

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) SetMigrator

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) StartBlock

func (_SushiswapMasterChef *SushiswapMasterChefSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SushiswapMasterChefSession) Sushi

func (_SushiswapMasterChef *SushiswapMasterChefSession) Sushi() (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiswapMasterChefSession) SushiPerBlock

func (_SushiswapMasterChef *SushiswapMasterChefSession) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiswapMasterChefSession) TotalAllocPoint

func (_SushiswapMasterChef *SushiswapMasterChefSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapMasterChefSession) TransferOwnership

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) UpdatePool

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) UserInfo

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 (*SushiswapMasterChefSession) Withdraw

func (_SushiswapMasterChef *SushiswapMasterChefSession) 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 SushiswapMasterChefTransactor

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

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

func NewSushiswapMasterChefTransactor

func NewSushiswapMasterChefTransactor(address common.Address, transactor bind.ContractTransactor) (*SushiswapMasterChefTransactor, error)

NewSushiswapMasterChefTransactor creates a new write-only instance of SushiswapMasterChef, bound to a specific deployed contract.

func (*SushiswapMasterChefTransactor) Add

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) Deposit

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) Dev

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) EmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) MassUpdatePools

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*SushiswapMasterChefTransactor) Migrate

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) RenounceOwnership

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SushiswapMasterChefTransactor) Set

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) SetMigrator

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) TransferOwnership

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) UpdatePool

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 (*SushiswapMasterChefTransactor) Withdraw

func (_SushiswapMasterChef *SushiswapMasterChefTransactor) 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 SushiswapMasterChefTransactorRaw

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

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

func (*SushiswapMasterChefTransactorRaw) Transact

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

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

func (*SushiswapMasterChefTransactorRaw) Transfer

func (_SushiswapMasterChef *SushiswapMasterChefTransactorRaw) 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 SushiswapMasterChefTransactorSession

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

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

func (*SushiswapMasterChefTransactorSession) Add

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) Deposit

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) Dev

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) EmergencyWithdraw

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) MassUpdatePools

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) MassUpdatePools() (*types.Transaction, error)

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

Solidity: function massUpdatePools() returns()

func (*SushiswapMasterChefTransactorSession) Migrate

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) RenounceOwnership

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SushiswapMasterChefTransactorSession) Set

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) SetMigrator

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) TransferOwnership

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) UpdatePool

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 (*SushiswapMasterChefTransactorSession) Withdraw

func (_SushiswapMasterChef *SushiswapMasterChefTransactorSession) 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 SushiswapMasterChefV2

type SushiswapMasterChefV2 struct {
	SushiswapMasterChefV2Caller     // Read-only binding to the contract
	SushiswapMasterChefV2Transactor // Write-only binding to the contract
	SushiswapMasterChefV2Filterer   // Log filterer for contract events
}

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

func NewSushiswapMasterChefV2

func NewSushiswapMasterChefV2(address common.Address, backend bind.ContractBackend) (*SushiswapMasterChefV2, error)

NewSushiswapMasterChefV2 creates a new instance of SushiswapMasterChefV2, bound to a specific deployed contract.

type SushiswapMasterChefV2Caller

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

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

func NewSushiswapMasterChefV2Caller

func NewSushiswapMasterChefV2Caller(address common.Address, caller bind.ContractCaller) (*SushiswapMasterChefV2Caller, error)

NewSushiswapMasterChefV2Caller creates a new read-only instance of SushiswapMasterChefV2, bound to a specific deployed contract.

func (*SushiswapMasterChefV2Caller) LpToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) LpToken(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapMasterChefV2Caller) MASTERCHEF

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) MASTERCHEF(opts *bind.CallOpts) (common.Address, error)

MASTERCHEF is a free data retrieval call binding the contract method 0xedd8b170.

Solidity: function MASTER_CHEF() view returns(address)

func (*SushiswapMasterChefV2Caller) MASTERPID

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) MASTERPID(opts *bind.CallOpts) (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*SushiswapMasterChefV2Caller) Migrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) 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 (*SushiswapMasterChefV2Caller) Owner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) 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 (*SushiswapMasterChefV2Caller) PendingOwner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapMasterChefV2Caller) PendingSushi

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) PendingSushi(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefV2Caller) PoolInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardBlock  uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardBlock, uint64 allocPoint)

func (*SushiswapMasterChefV2Caller) PoolLength

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) 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 pools)

func (*SushiswapMasterChefV2Caller) Rewarder

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) Rewarder(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapMasterChefV2Caller) SUSHI

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) SUSHI(opts *bind.CallOpts) (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapMasterChefV2Caller) SushiPerBlock

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) SushiPerBlock(opts *bind.CallOpts) (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256 amount)

func (*SushiswapMasterChefV2Caller) TotalAllocPoint

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) 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 (*SushiswapMasterChefV2Caller) UserInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Caller) 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, int256 rewardDebt)

type SushiswapMasterChefV2CallerRaw

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

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

func (*SushiswapMasterChefV2CallerRaw) Call

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerRaw) 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 SushiswapMasterChefV2CallerSession

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

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

func (*SushiswapMasterChefV2CallerSession) LpToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapMasterChefV2CallerSession) MASTERCHEF

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) MASTERCHEF() (common.Address, error)

MASTERCHEF is a free data retrieval call binding the contract method 0xedd8b170.

Solidity: function MASTER_CHEF() view returns(address)

func (*SushiswapMasterChefV2CallerSession) MASTERPID

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) MASTERPID() (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*SushiswapMasterChefV2CallerSession) Migrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapMasterChefV2CallerSession) Owner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapMasterChefV2CallerSession) PendingOwner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapMasterChefV2CallerSession) PendingSushi

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefV2CallerSession) PoolInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) PoolInfo(arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardBlock  uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardBlock, uint64 allocPoint)

func (*SushiswapMasterChefV2CallerSession) PoolLength

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*SushiswapMasterChefV2CallerSession) Rewarder

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapMasterChefV2CallerSession) SUSHI

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) SUSHI() (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapMasterChefV2CallerSession) SushiPerBlock

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256 amount)

func (*SushiswapMasterChefV2CallerSession) TotalAllocPoint

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapMasterChefV2CallerSession) UserInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2CallerSession) 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, int256 rewardDebt)

type SushiswapMasterChefV2Deposit

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

SushiswapMasterChefV2Deposit represents a Deposit event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2DepositIterator

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

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

func (*SushiswapMasterChefV2DepositIterator) Close

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

func (*SushiswapMasterChefV2DepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2DepositIterator) 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 SushiswapMasterChefV2EmergencyWithdraw

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

SushiswapMasterChefV2EmergencyWithdraw represents a EmergencyWithdraw event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2EmergencyWithdrawIterator

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

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

func (*SushiswapMasterChefV2EmergencyWithdrawIterator) Close

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

func (*SushiswapMasterChefV2EmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2EmergencyWithdrawIterator) 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 SushiswapMasterChefV2Filterer

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

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

func NewSushiswapMasterChefV2Filterer

func NewSushiswapMasterChefV2Filterer(address common.Address, filterer bind.ContractFilterer) (*SushiswapMasterChefV2Filterer, error)

NewSushiswapMasterChefV2Filterer creates a new log filterer instance of SushiswapMasterChefV2, bound to a specific deployed contract.

func (*SushiswapMasterChefV2Filterer) FilterDeposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapMasterChefV2DepositIterator, error)

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

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

func (*SushiswapMasterChefV2Filterer) FilterEmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapMasterChefV2EmergencyWithdrawIterator, error)

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

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

func (*SushiswapMasterChefV2Filterer) FilterHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterHarvest(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiswapMasterChefV2HarvestIterator, error)

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

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

func (*SushiswapMasterChefV2Filterer) FilterLogInit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterLogInit(opts *bind.FilterOpts) (*SushiswapMasterChefV2LogInitIterator, error)

FilterLogInit is a free log retrieval operation binding the contract event 0x98a9bd3b7a617581fc53b1e2992534e0e0cb5091c9d44aa1a7fc978f706caa83.

Solidity: event LogInit()

func (*SushiswapMasterChefV2Filterer) FilterLogPoolAddition

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterLogPoolAddition(opts *bind.FilterOpts, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (*SushiswapMasterChefV2LogPoolAdditionIterator, error)

FilterLogPoolAddition is a free log retrieval operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapMasterChefV2Filterer) FilterLogSetPool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterLogSetPool(opts *bind.FilterOpts, pid []*big.Int, rewarder []common.Address) (*SushiswapMasterChefV2LogSetPoolIterator, error)

FilterLogSetPool is a free log retrieval operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapMasterChefV2Filterer) FilterLogUpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterLogUpdatePool(opts *bind.FilterOpts, pid []*big.Int) (*SushiswapMasterChefV2LogUpdatePoolIterator, error)

FilterLogUpdatePool is a free log retrieval operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardBlock, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapMasterChefV2Filterer) FilterOwnershipTransferred

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SushiswapMasterChefV2OwnershipTransferredIterator, error)

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

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

func (*SushiswapMasterChefV2Filterer) FilterWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int, to []common.Address) (*SushiswapMasterChefV2WithdrawIterator, error)

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

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

func (*SushiswapMasterChefV2Filterer) ParseDeposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseDeposit(log types.Log) (*SushiswapMasterChefV2Deposit, error)

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

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

func (*SushiswapMasterChefV2Filterer) ParseEmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseEmergencyWithdraw(log types.Log) (*SushiswapMasterChefV2EmergencyWithdraw, error)

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

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

func (*SushiswapMasterChefV2Filterer) ParseHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseHarvest(log types.Log) (*SushiswapMasterChefV2Harvest, error)

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

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

func (*SushiswapMasterChefV2Filterer) ParseLogInit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseLogInit(log types.Log) (*SushiswapMasterChefV2LogInit, error)

ParseLogInit is a log parse operation binding the contract event 0x98a9bd3b7a617581fc53b1e2992534e0e0cb5091c9d44aa1a7fc978f706caa83.

Solidity: event LogInit()

func (*SushiswapMasterChefV2Filterer) ParseLogPoolAddition

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseLogPoolAddition(log types.Log) (*SushiswapMasterChefV2LogPoolAddition, error)

ParseLogPoolAddition is a log parse operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapMasterChefV2Filterer) ParseLogSetPool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseLogSetPool(log types.Log) (*SushiswapMasterChefV2LogSetPool, error)

ParseLogSetPool is a log parse operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapMasterChefV2Filterer) ParseLogUpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseLogUpdatePool(log types.Log) (*SushiswapMasterChefV2LogUpdatePool, error)

ParseLogUpdatePool is a log parse operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardBlock, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapMasterChefV2Filterer) ParseOwnershipTransferred

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseOwnershipTransferred(log types.Log) (*SushiswapMasterChefV2OwnershipTransferred, error)

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

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

func (*SushiswapMasterChefV2Filterer) ParseWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) ParseWithdraw(log types.Log) (*SushiswapMasterChefV2Withdraw, error)

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

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

func (*SushiswapMasterChefV2Filterer) WatchDeposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2Deposit, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

func (*SushiswapMasterChefV2Filterer) WatchEmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2EmergencyWithdraw, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

func (*SushiswapMasterChefV2Filterer) WatchHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchHarvest(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2Harvest, user []common.Address, pid []*big.Int) (event.Subscription, error)

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

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

func (*SushiswapMasterChefV2Filterer) WatchLogInit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchLogInit(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2LogInit) (event.Subscription, error)

WatchLogInit is a free log subscription operation binding the contract event 0x98a9bd3b7a617581fc53b1e2992534e0e0cb5091c9d44aa1a7fc978f706caa83.

Solidity: event LogInit()

func (*SushiswapMasterChefV2Filterer) WatchLogPoolAddition

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchLogPoolAddition(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2LogPoolAddition, pid []*big.Int, lpToken []common.Address, rewarder []common.Address) (event.Subscription, error)

WatchLogPoolAddition is a free log subscription operation binding the contract event 0x81ee0f8c5c46e2cb41984886f77a84181724abb86c32a5f6de539b07509d45e5.

Solidity: event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, address indexed lpToken, address indexed rewarder)

func (*SushiswapMasterChefV2Filterer) WatchLogSetPool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchLogSetPool(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2LogSetPool, pid []*big.Int, rewarder []common.Address) (event.Subscription, error)

WatchLogSetPool is a free log subscription operation binding the contract event 0x95895a6ab1df54420d241b55243258a33e61b2194db66c1179ec521aae8e1865.

Solidity: event LogSetPool(uint256 indexed pid, uint256 allocPoint, address indexed rewarder, bool overwrite)

func (*SushiswapMasterChefV2Filterer) WatchLogUpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchLogUpdatePool(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2LogUpdatePool, pid []*big.Int) (event.Subscription, error)

WatchLogUpdatePool is a free log subscription operation binding the contract event 0x0fc9545022a542541ad085d091fb09a2ab36fee366a4576ab63714ea907ad353.

Solidity: event LogUpdatePool(uint256 indexed pid, uint64 lastRewardBlock, uint256 lpSupply, uint256 accSushiPerShare)

func (*SushiswapMasterChefV2Filterer) WatchOwnershipTransferred

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2OwnershipTransferred, 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 (*SushiswapMasterChefV2Filterer) WatchWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SushiswapMasterChefV2Withdraw, user []common.Address, pid []*big.Int, to []common.Address) (event.Subscription, error)

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

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

type SushiswapMasterChefV2Harvest

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

SushiswapMasterChefV2Harvest represents a Harvest event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2HarvestIterator

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

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

func (*SushiswapMasterChefV2HarvestIterator) Close

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

func (*SushiswapMasterChefV2HarvestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2HarvestIterator) 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 SushiswapMasterChefV2LogInit

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

SushiswapMasterChefV2LogInit represents a LogInit event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2LogInitIterator

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

SushiswapMasterChefV2LogInitIterator is returned from FilterLogInit and is used to iterate over the raw logs and unpacked data for LogInit events raised by the SushiswapMasterChefV2 contract.

func (*SushiswapMasterChefV2LogInitIterator) Close

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

func (*SushiswapMasterChefV2LogInitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2LogInitIterator) 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 SushiswapMasterChefV2LogPoolAddition

type SushiswapMasterChefV2LogPoolAddition struct {
	Pid        *big.Int
	AllocPoint *big.Int
	LpToken    common.Address
	Rewarder   common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

SushiswapMasterChefV2LogPoolAddition represents a LogPoolAddition event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2LogPoolAdditionIterator

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

SushiswapMasterChefV2LogPoolAdditionIterator is returned from FilterLogPoolAddition and is used to iterate over the raw logs and unpacked data for LogPoolAddition events raised by the SushiswapMasterChefV2 contract.

func (*SushiswapMasterChefV2LogPoolAdditionIterator) Close

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

func (*SushiswapMasterChefV2LogPoolAdditionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2LogPoolAdditionIterator) 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 SushiswapMasterChefV2LogSetPool

type SushiswapMasterChefV2LogSetPool struct {
	Pid        *big.Int
	AllocPoint *big.Int
	Rewarder   common.Address
	Overwrite  bool
	Raw        types.Log // Blockchain specific contextual infos
}

SushiswapMasterChefV2LogSetPool represents a LogSetPool event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2LogSetPoolIterator

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

SushiswapMasterChefV2LogSetPoolIterator is returned from FilterLogSetPool and is used to iterate over the raw logs and unpacked data for LogSetPool events raised by the SushiswapMasterChefV2 contract.

func (*SushiswapMasterChefV2LogSetPoolIterator) Close

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

func (*SushiswapMasterChefV2LogSetPoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2LogSetPoolIterator) 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 SushiswapMasterChefV2LogUpdatePool

type SushiswapMasterChefV2LogUpdatePool struct {
	Pid              *big.Int
	LastRewardBlock  uint64
	LpSupply         *big.Int
	AccSushiPerShare *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

SushiswapMasterChefV2LogUpdatePool represents a LogUpdatePool event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2LogUpdatePoolIterator

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

SushiswapMasterChefV2LogUpdatePoolIterator is returned from FilterLogUpdatePool and is used to iterate over the raw logs and unpacked data for LogUpdatePool events raised by the SushiswapMasterChefV2 contract.

func (*SushiswapMasterChefV2LogUpdatePoolIterator) Close

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

func (*SushiswapMasterChefV2LogUpdatePoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2LogUpdatePoolIterator) 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 SushiswapMasterChefV2OwnershipTransferred

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

SushiswapMasterChefV2OwnershipTransferred represents a OwnershipTransferred event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2OwnershipTransferredIterator

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

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

func (*SushiswapMasterChefV2OwnershipTransferredIterator) Close

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

func (*SushiswapMasterChefV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2OwnershipTransferredIterator) 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 SushiswapMasterChefV2Raw

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

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

func (*SushiswapMasterChefV2Raw) Call

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Raw) 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 (*SushiswapMasterChefV2Raw) Transact

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

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

func (*SushiswapMasterChefV2Raw) Transfer

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Raw) 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 SushiswapMasterChefV2Session

type SushiswapMasterChefV2Session struct {
	Contract     *SushiswapMasterChefV2 // 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
}

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

func (*SushiswapMasterChefV2Session) Add

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapMasterChefV2Session) Batch

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Batch(calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapMasterChefV2Session) ClaimOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapMasterChefV2Session) Deposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2Session) EmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2Session) Harvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2Session) HarvestFromMasterChef

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) HarvestFromMasterChef() (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*SushiswapMasterChefV2Session) Init

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) 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 (*SushiswapMasterChefV2Session) LpToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) LpToken(arg0 *big.Int) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x78ed5d1f.

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

func (*SushiswapMasterChefV2Session) MASTERCHEF

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) MASTERCHEF() (common.Address, error)

MASTERCHEF is a free data retrieval call binding the contract method 0xedd8b170.

Solidity: function MASTER_CHEF() view returns(address)

func (*SushiswapMasterChefV2Session) MASTERPID

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) MASTERPID() (*big.Int, error)

MASTERPID is a free data retrieval call binding the contract method 0x61621aaa.

Solidity: function MASTER_PID() view returns(uint256)

func (*SushiswapMasterChefV2Session) MassUpdatePools

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapMasterChefV2Session) Migrate

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) 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 (*SushiswapMasterChefV2Session) Migrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiswapMasterChefV2Session) Owner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SushiswapMasterChefV2Session) PendingOwner

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*SushiswapMasterChefV2Session) PendingSushi

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

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

func (*SushiswapMasterChefV2Session) PermitToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) PermitToken(token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapMasterChefV2Session) PoolInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) PoolInfo(arg0 *big.Int) (struct {
	AccSushiPerShare *big.Int
	LastRewardBlock  uint64
	AllocPoint       uint64
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(uint128 accSushiPerShare, uint64 lastRewardBlock, uint64 allocPoint)

func (*SushiswapMasterChefV2Session) PoolLength

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*SushiswapMasterChefV2Session) Rewarder

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Rewarder(arg0 *big.Int) (common.Address, error)

Rewarder is a free data retrieval call binding the contract method 0xc346253d.

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

func (*SushiswapMasterChefV2Session) SUSHI

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) SUSHI() (common.Address, error)

SUSHI is a free data retrieval call binding the contract method 0xab560e10.

Solidity: function SUSHI() view returns(address)

func (*SushiswapMasterChefV2Session) Set

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapMasterChefV2Session) SetMigrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) 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 (*SushiswapMasterChefV2Session) SushiPerBlock

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256 amount)

func (*SushiswapMasterChefV2Session) TotalAllocPoint

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiswapMasterChefV2Session) TransferOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) TransferOwnership(newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapMasterChefV2Session) UpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) UpdatePool(pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 pid) returns((uint128,uint64,uint64) pool)

func (*SushiswapMasterChefV2Session) UserInfo

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) 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, int256 rewardDebt)

func (*SushiswapMasterChefV2Session) Withdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2Session) WithdrawAndHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Session) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapMasterChefV2Transactor

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

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

func NewSushiswapMasterChefV2Transactor

func NewSushiswapMasterChefV2Transactor(address common.Address, transactor bind.ContractTransactor) (*SushiswapMasterChefV2Transactor, error)

NewSushiswapMasterChefV2Transactor creates a new write-only instance of SushiswapMasterChefV2, bound to a specific deployed contract.

func (*SushiswapMasterChefV2Transactor) Add

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Add(opts *bind.TransactOpts, allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapMasterChefV2Transactor) Batch

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Batch(opts *bind.TransactOpts, calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapMasterChefV2Transactor) ClaimOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapMasterChefV2Transactor) Deposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Deposit(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2Transactor) EmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) EmergencyWithdraw(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2Transactor) Harvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Harvest(opts *bind.TransactOpts, pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2Transactor) HarvestFromMasterChef

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) HarvestFromMasterChef(opts *bind.TransactOpts) (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*SushiswapMasterChefV2Transactor) Init

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) 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 (*SushiswapMasterChefV2Transactor) MassUpdatePools

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) MassUpdatePools(opts *bind.TransactOpts, pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapMasterChefV2Transactor) Migrate

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) 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 (*SushiswapMasterChefV2Transactor) PermitToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) PermitToken(opts *bind.TransactOpts, token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapMasterChefV2Transactor) Set

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapMasterChefV2Transactor) SetMigrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) 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 (*SushiswapMasterChefV2Transactor) TransferOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapMasterChefV2Transactor) UpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) 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((uint128,uint64,uint64) pool)

func (*SushiswapMasterChefV2Transactor) Withdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) Withdraw(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2Transactor) WithdrawAndHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2Transactor) WithdrawAndHarvest(opts *bind.TransactOpts, pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapMasterChefV2TransactorRaw

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

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

func (*SushiswapMasterChefV2TransactorRaw) Transact

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

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

func (*SushiswapMasterChefV2TransactorRaw) Transfer

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorRaw) 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 SushiswapMasterChefV2TransactorSession

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

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

func (*SushiswapMasterChefV2TransactorSession) Add

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Add(allocPoint *big.Int, _lpToken common.Address, _rewarder common.Address) (*types.Transaction, error)

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

Solidity: function add(uint256 allocPoint, address _lpToken, address _rewarder) returns()

func (*SushiswapMasterChefV2TransactorSession) Batch

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Batch(calls [][]byte, revertOnFail bool) (*types.Transaction, error)

Batch is a paid mutator transaction binding the contract method 0xd2423b51.

Solidity: function batch(bytes[] calls, bool revertOnFail) payable returns(bool[] successes, bytes[] results)

func (*SushiswapMasterChefV2TransactorSession) ClaimOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*SushiswapMasterChefV2TransactorSession) Deposit

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Deposit(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function deposit(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2TransactorSession) EmergencyWithdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) EmergencyWithdraw(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2TransactorSession) Harvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Harvest(pid *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function harvest(uint256 pid, address to) returns()

func (*SushiswapMasterChefV2TransactorSession) HarvestFromMasterChef

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) HarvestFromMasterChef() (*types.Transaction, error)

HarvestFromMasterChef is a paid mutator transaction binding the contract method 0x4f70b15a.

Solidity: function harvestFromMasterChef() returns()

func (*SushiswapMasterChefV2TransactorSession) Init

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) 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 (*SushiswapMasterChefV2TransactorSession) MassUpdatePools

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) MassUpdatePools(pids []*big.Int) (*types.Transaction, error)

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

Solidity: function massUpdatePools(uint256[] pids) returns()

func (*SushiswapMasterChefV2TransactorSession) Migrate

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) 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 (*SushiswapMasterChefV2TransactorSession) PermitToken

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) PermitToken(token common.Address, from common.Address, to common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

PermitToken is a paid mutator transaction binding the contract method 0x7c516e94.

Solidity: function permitToken(address token, address from, address to, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiswapMasterChefV2TransactorSession) Set

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _rewarder common.Address, overwrite bool) (*types.Transaction, error)

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

Solidity: function set(uint256 _pid, uint256 _allocPoint, address _rewarder, bool overwrite) returns()

func (*SushiswapMasterChefV2TransactorSession) SetMigrator

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) 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 (*SushiswapMasterChefV2TransactorSession) TransferOwnership

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) TransferOwnership(newOwner common.Address, direct bool, renounce bool) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner, bool direct, bool renounce) returns()

func (*SushiswapMasterChefV2TransactorSession) UpdatePool

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) UpdatePool(pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 pid) returns((uint128,uint64,uint64) pool)

func (*SushiswapMasterChefV2TransactorSession) Withdraw

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) Withdraw(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 pid, uint256 amount, address to) returns()

func (*SushiswapMasterChefV2TransactorSession) WithdrawAndHarvest

func (_SushiswapMasterChefV2 *SushiswapMasterChefV2TransactorSession) WithdrawAndHarvest(pid *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

WithdrawAndHarvest is a paid mutator transaction binding the contract method 0xd1abb907.

Solidity: function withdrawAndHarvest(uint256 pid, uint256 amount, address to) returns()

type SushiswapMasterChefV2Withdraw

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

SushiswapMasterChefV2Withdraw represents a Withdraw event raised by the SushiswapMasterChefV2 contract.

type SushiswapMasterChefV2WithdrawIterator

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

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

func (*SushiswapMasterChefV2WithdrawIterator) Close

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

func (*SushiswapMasterChefV2WithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefV2WithdrawIterator) 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 SushiswapMasterChefWithdraw

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

SushiswapMasterChefWithdraw represents a Withdraw event raised by the SushiswapMasterChef contract.

type SushiswapMasterChefWithdrawIterator

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

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

func (*SushiswapMasterChefWithdrawIterator) Close

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

func (*SushiswapMasterChefWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiswapMasterChefWithdrawIterator) Next

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

Jump to

Keyboard shortcuts

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