one_inch

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OneInchFarmingV1ABI = OneInchFarmingV1MetaData.ABI

OneInchFarmingV1ABI is the input ABI used to generate the binding from. Deprecated: Use OneInchFarmingV1MetaData.ABI instead.

View Source
var OneInchFarmingV1MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractMooniswap\",\"name\":\"_mooniswap\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_gift\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decayPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DecayPeriodVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slippageFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"SlippageFeeVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"decayPeriodVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"decayPeriodVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardDecayPeriodVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardSlippageFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"feeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"feeVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gift\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastTimeRewardApplicable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mooniswap\",\"outputs\":[{\"internalType\":\"contractMooniswap\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mooniswapFactoryGovernance\",\"outputs\":[{\"internalType\":\"contractIMooniswapFactoryGovernance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"notifyRewardAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"periodFinish\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardDistribution\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardPerTokenStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardDistribution\",\"type\":\"address\"}],\"name\":\"setRewardDistribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slippageFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"slippageFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"slippageFeeVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userRewardPerTokenPaid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OneInchFarmingV1MetaData contains all meta data concerning the OneInchFarmingV1 contract.

View Source
var OneInchFarmingV2ABI = OneInchFarmingV2MetaData.ABI

OneInchFarmingV2ABI is the input ABI used to generate the binding from. Deprecated: Use OneInchFarmingV2MetaData.ABI instead.

View Source
var OneInchFarmingV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractMooniswap\",\"name\":\"_mooniswap\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_gift\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_duration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewardDistribution\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"scale\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decayPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DecayPeriodVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"DurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"gift\",\"type\":\"address\"}],\"name\":\"NewGift\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardDistribution\",\"type\":\"address\"}],\"name\":\"RewardDistributionChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scale\",\"type\":\"uint256\"}],\"name\":\"ScaleUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slippageFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isDefault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"SlippageFeeVoteUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"gift\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardDistribution\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"scale\",\"type\":\"uint256\"}],\"name\":\"addGift\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"decayPeriodVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"decayPeriodVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardDecayPeriodVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"discardSlippageFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned_old\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gift\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"feeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"feeVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"getReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"lastTimeRewardApplicable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mooniswap\",\"outputs\":[{\"internalType\":\"contractMooniswap\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mooniswapFactoryGovernance\",\"outputs\":[{\"internalType\":\"contractIMooniswapFactoryGovernance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"notifyRewardAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"rewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"setDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_rewardDistribution\",\"type\":\"address\"}],\"name\":\"setRewardDistribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"scale\",\"type\":\"uint256\"}],\"name\":\"setScale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slippageFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"vote\",\"type\":\"uint256\"}],\"name\":\"slippageFeeVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"slippageFeeVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenRewards\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"gift\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"scale\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardDistribution\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"periodFinish\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastUpdateTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardPerTokenStored\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OneInchFarmingV2MetaData contains all meta data concerning the OneInchFarmingV2 contract.

View Source
var OneInchGovernanceABI = OneInchGovernanceMetaData.ABI

OneInchGovernanceABI is the input ABI used to generate the binding from. Deprecated: Use OneInchGovernanceMetaData.ABI instead.

View Source
var OneInchGovernanceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_inchToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"}],\"name\":\"AddModule\",\"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\":\"module\",\"type\":\"address\"}],\"name\":\"RemoveModule\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"}],\"name\":\"addModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"}],\"name\":\"batchNotifyFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inchToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"notify\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"notifyFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"}],\"name\":\"removeModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OneInchGovernanceMetaData contains all meta data concerning the OneInchGovernance contract.

View Source
var OneInchOracleABI = OneInchOracleMetaData.ABI

OneInchOracleABI is the input ABI used to generate the binding from. Deprecated: Use OneInchOracleMetaData.ABI instead.

View Source
var OneInchOracleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractMultiWrapper\",\"name\":\"_multiWrapper\",\"type\":\"address\"},{\"internalType\":\"contractIOracle[]\",\"name\":\"existingOracles\",\"type\":\"address[]\"},{\"internalType\":\"enumOffchainOracle.OracleType[]\",\"name\":\"oracleTypes\",\"type\":\"uint8[]\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"existingConnectors\",\"type\":\"address[]\"},{\"internalType\":\"contractIERC20\",\"name\":\"wBase\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"ConnectorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"ConnectorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractMultiWrapper\",\"name\":\"multiWrapper\",\"type\":\"address\"}],\"name\":\"MultiWrapperUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleType\",\"type\":\"uint8\"}],\"name\":\"OracleAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleType\",\"type\":\"uint8\"}],\"name\":\"OracleRemoved\",\"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\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"addConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"addOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"connectors\",\"outputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"allConnectors\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useWrappers\",\"type\":\"bool\"}],\"name\":\"getRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useSrcWrappers\",\"type\":\"bool\"}],\"name\":\"getRateToEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiWrapper\",\"outputs\":[{\"internalType\":\"contractMultiWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracles\",\"outputs\":[{\"internalType\":\"contractIOracle[]\",\"name\":\"allOracles\",\"type\":\"address[]\"},{\"internalType\":\"enumOffchainOracle.OracleType[]\",\"name\":\"oracleTypes\",\"type\":\"uint8[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"removeConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"removeOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractMultiWrapper\",\"name\":\"_multiWrapper\",\"type\":\"address\"}],\"name\":\"setMultiWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OneInchOracleMetaData contains all meta data concerning the OneInchOracle contract.

Functions

func OneInchPriceOracle

func OneInchPriceOracle(network constant.Network) common.Address

ChainID

Types

type OneInchFarmingV1

type OneInchFarmingV1 struct {
	OneInchFarmingV1Caller     // Read-only binding to the contract
	OneInchFarmingV1Transactor // Write-only binding to the contract
	OneInchFarmingV1Filterer   // Log filterer for contract events
}

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

func NewOneInchFarmingV1

func NewOneInchFarmingV1(address common.Address, backend bind.ContractBackend) (*OneInchFarmingV1, error)

NewOneInchFarmingV1 creates a new instance of OneInchFarmingV1, bound to a specific deployed contract.

type OneInchFarmingV1Caller

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

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

func NewOneInchFarmingV1Caller

func NewOneInchFarmingV1Caller(address common.Address, caller bind.ContractCaller) (*OneInchFarmingV1Caller, error)

NewOneInchFarmingV1Caller creates a new read-only instance of OneInchFarmingV1, bound to a specific deployed contract.

func (*OneInchFarmingV1Caller) BalanceOf

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV1Caller) DURATION

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) DURATION(opts *bind.CallOpts) (*big.Int, error)

DURATION is a free data retrieval call binding the contract method 0x1be05289.

Solidity: function DURATION() view returns(uint256)

func (*OneInchFarmingV1Caller) DecayPeriod

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) DecayPeriod(opts *bind.CallOpts) (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV1Caller) DecayPeriodVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) DecayPeriodVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Caller) Decimals

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV1Caller) Earned

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Earned(opts *bind.CallOpts, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*OneInchFarmingV1Caller) Fee

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV1Caller) FeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) FeeVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Caller) Gift

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Gift(opts *bind.CallOpts) (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV1Caller) LastTimeRewardApplicable

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) LastTimeRewardApplicable(opts *bind.CallOpts) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*OneInchFarmingV1Caller) LastUpdateTime

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) LastUpdateTime(opts *bind.CallOpts) (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*OneInchFarmingV1Caller) Mooniswap

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Mooniswap(opts *bind.CallOpts) (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV1Caller) MooniswapFactoryGovernance

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) MooniswapFactoryGovernance(opts *bind.CallOpts) (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV1Caller) Name

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV1Caller) Owner

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) 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 (*OneInchFarmingV1Caller) PeriodFinish

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) PeriodFinish(opts *bind.CallOpts) (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*OneInchFarmingV1Caller) RewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) RewardDistribution(opts *bind.CallOpts) (common.Address, error)

RewardDistribution is a free data retrieval call binding the contract method 0x101114cf.

Solidity: function rewardDistribution() view returns(address)

func (*OneInchFarmingV1Caller) RewardPerToken

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) RewardPerToken(opts *bind.CallOpts) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*OneInchFarmingV1Caller) RewardPerTokenStored

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) RewardPerTokenStored(opts *bind.CallOpts) (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*OneInchFarmingV1Caller) RewardRate

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) RewardRate(opts *bind.CallOpts) (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*OneInchFarmingV1Caller) Rewards

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Rewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

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

func (*OneInchFarmingV1Caller) SlippageFee

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) SlippageFee(opts *bind.CallOpts) (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV1Caller) SlippageFeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) SlippageFeeVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Caller) Symbol

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV1Caller) TotalSupply

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*OneInchFarmingV1Caller) UserRewardPerTokenPaid

func (_OneInchFarmingV1 *OneInchFarmingV1Caller) UserRewardPerTokenPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

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

type OneInchFarmingV1CallerRaw

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

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

func (*OneInchFarmingV1CallerRaw) Call

func (_OneInchFarmingV1 *OneInchFarmingV1CallerRaw) 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 OneInchFarmingV1CallerSession

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

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

func (*OneInchFarmingV1CallerSession) BalanceOf

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV1CallerSession) DURATION

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) DURATION() (*big.Int, error)

DURATION is a free data retrieval call binding the contract method 0x1be05289.

Solidity: function DURATION() view returns(uint256)

func (*OneInchFarmingV1CallerSession) DecayPeriod

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV1CallerSession) DecayPeriodVotes

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) DecayPeriodVotes(user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV1CallerSession) Decimals

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV1CallerSession) Earned

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*OneInchFarmingV1CallerSession) Fee

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV1CallerSession) FeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) FeeVotes(user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1CallerSession) Gift

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Gift() (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV1CallerSession) LastTimeRewardApplicable

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*OneInchFarmingV1CallerSession) LastUpdateTime

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*OneInchFarmingV1CallerSession) Mooniswap

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Mooniswap() (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV1CallerSession) MooniswapFactoryGovernance

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) MooniswapFactoryGovernance() (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV1CallerSession) Name

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV1CallerSession) Owner

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchFarmingV1CallerSession) PeriodFinish

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*OneInchFarmingV1CallerSession) RewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) RewardDistribution() (common.Address, error)

RewardDistribution is a free data retrieval call binding the contract method 0x101114cf.

Solidity: function rewardDistribution() view returns(address)

func (*OneInchFarmingV1CallerSession) RewardPerToken

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*OneInchFarmingV1CallerSession) RewardPerTokenStored

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*OneInchFarmingV1CallerSession) RewardRate

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*OneInchFarmingV1CallerSession) Rewards

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

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

func (*OneInchFarmingV1CallerSession) SlippageFee

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) SlippageFee() (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV1CallerSession) SlippageFeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) SlippageFeeVotes(user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1CallerSession) Symbol

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV1CallerSession) TotalSupply

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*OneInchFarmingV1CallerSession) UserRewardPerTokenPaid

func (_OneInchFarmingV1 *OneInchFarmingV1CallerSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

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

type OneInchFarmingV1DecayPeriodVoteUpdate

type OneInchFarmingV1DecayPeriodVoteUpdate struct {
	User        common.Address
	DecayPeriod *big.Int
	IsDefault   bool
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

OneInchFarmingV1DecayPeriodVoteUpdate represents a DecayPeriodVoteUpdate event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1DecayPeriodVoteUpdateIterator

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

OneInchFarmingV1DecayPeriodVoteUpdateIterator is returned from FilterDecayPeriodVoteUpdate and is used to iterate over the raw logs and unpacked data for DecayPeriodVoteUpdate events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1DecayPeriodVoteUpdateIterator) Close

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

func (*OneInchFarmingV1DecayPeriodVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1DecayPeriodVoteUpdateIterator) 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 OneInchFarmingV1FeeVoteUpdate

type OneInchFarmingV1FeeVoteUpdate struct {
	User      common.Address
	Fee       *big.Int
	IsDefault bool
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OneInchFarmingV1FeeVoteUpdate represents a FeeVoteUpdate event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1FeeVoteUpdateIterator

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

OneInchFarmingV1FeeVoteUpdateIterator is returned from FilterFeeVoteUpdate and is used to iterate over the raw logs and unpacked data for FeeVoteUpdate events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1FeeVoteUpdateIterator) Close

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

func (*OneInchFarmingV1FeeVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1FeeVoteUpdateIterator) 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 OneInchFarmingV1Filterer

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

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

func NewOneInchFarmingV1Filterer

func NewOneInchFarmingV1Filterer(address common.Address, filterer bind.ContractFilterer) (*OneInchFarmingV1Filterer, error)

NewOneInchFarmingV1Filterer creates a new log filterer instance of OneInchFarmingV1, bound to a specific deployed contract.

func (*OneInchFarmingV1Filterer) FilterDecayPeriodVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterDecayPeriodVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1DecayPeriodVoteUpdateIterator, error)

FilterDecayPeriodVoteUpdate is a free log retrieval operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) FilterFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterFeeVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1FeeVoteUpdateIterator, error)

FilterFeeVoteUpdate is a free log retrieval operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) FilterOwnershipTransferred

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneInchFarmingV1OwnershipTransferredIterator, error)

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

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

func (*OneInchFarmingV1Filterer) FilterRewardAdded

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterRewardAdded(opts *bind.FilterOpts) (*OneInchFarmingV1RewardAddedIterator, error)

FilterRewardAdded is a free log retrieval operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*OneInchFarmingV1Filterer) FilterRewardPaid

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterRewardPaid(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1RewardPaidIterator, error)

FilterRewardPaid is a free log retrieval operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*OneInchFarmingV1Filterer) FilterSlippageFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterSlippageFeeVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1SlippageFeeVoteUpdateIterator, error)

FilterSlippageFeeVoteUpdate is a free log retrieval operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) FilterStaked

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1StakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV1Filterer) FilterTransfer

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OneInchFarmingV1TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV1Filterer) FilterWithdrawn

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV1WithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*OneInchFarmingV1Filterer) ParseDecayPeriodVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseDecayPeriodVoteUpdate(log types.Log) (*OneInchFarmingV1DecayPeriodVoteUpdate, error)

ParseDecayPeriodVoteUpdate is a log parse operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) ParseFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseFeeVoteUpdate(log types.Log) (*OneInchFarmingV1FeeVoteUpdate, error)

ParseFeeVoteUpdate is a log parse operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) ParseOwnershipTransferred

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseOwnershipTransferred(log types.Log) (*OneInchFarmingV1OwnershipTransferred, error)

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

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

func (*OneInchFarmingV1Filterer) ParseRewardAdded

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseRewardAdded(log types.Log) (*OneInchFarmingV1RewardAdded, error)

ParseRewardAdded is a log parse operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*OneInchFarmingV1Filterer) ParseRewardPaid

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseRewardPaid(log types.Log) (*OneInchFarmingV1RewardPaid, error)

ParseRewardPaid is a log parse operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*OneInchFarmingV1Filterer) ParseSlippageFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseSlippageFeeVoteUpdate(log types.Log) (*OneInchFarmingV1SlippageFeeVoteUpdate, error)

ParseSlippageFeeVoteUpdate is a log parse operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) ParseStaked

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseStaked(log types.Log) (*OneInchFarmingV1Staked, error)

ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV1Filterer) ParseTransfer

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseTransfer(log types.Log) (*OneInchFarmingV1Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV1Filterer) ParseWithdrawn

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) ParseWithdrawn(log types.Log) (*OneInchFarmingV1Withdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*OneInchFarmingV1Filterer) WatchDecayPeriodVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchDecayPeriodVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1DecayPeriodVoteUpdate, user []common.Address) (event.Subscription, error)

WatchDecayPeriodVoteUpdate is a free log subscription operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) WatchFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchFeeVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1FeeVoteUpdate, user []common.Address) (event.Subscription, error)

WatchFeeVoteUpdate is a free log subscription operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) WatchOwnershipTransferred

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1OwnershipTransferred, 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 (*OneInchFarmingV1Filterer) WatchRewardAdded

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchRewardAdded(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1RewardAdded) (event.Subscription, error)

WatchRewardAdded is a free log subscription operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*OneInchFarmingV1Filterer) WatchRewardPaid

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1RewardPaid, user []common.Address) (event.Subscription, error)

WatchRewardPaid is a free log subscription operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*OneInchFarmingV1Filterer) WatchSlippageFeeVoteUpdate

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchSlippageFeeVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1SlippageFeeVoteUpdate, user []common.Address) (event.Subscription, error)

WatchSlippageFeeVoteUpdate is a free log subscription operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV1Filterer) WatchStaked

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1Staked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV1Filterer) WatchTransfer

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV1Filterer) WatchWithdrawn

func (_OneInchFarmingV1 *OneInchFarmingV1Filterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV1Withdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

type OneInchFarmingV1OwnershipTransferred

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

OneInchFarmingV1OwnershipTransferred represents a OwnershipTransferred event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1OwnershipTransferredIterator

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

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

func (*OneInchFarmingV1OwnershipTransferredIterator) Close

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

func (*OneInchFarmingV1OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1OwnershipTransferredIterator) 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 OneInchFarmingV1Raw

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

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

func (*OneInchFarmingV1Raw) Call

func (_OneInchFarmingV1 *OneInchFarmingV1Raw) 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 (*OneInchFarmingV1Raw) Transact

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

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

func (*OneInchFarmingV1Raw) Transfer

func (_OneInchFarmingV1 *OneInchFarmingV1Raw) 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 OneInchFarmingV1RewardAdded

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

OneInchFarmingV1RewardAdded represents a RewardAdded event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1RewardAddedIterator

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

OneInchFarmingV1RewardAddedIterator is returned from FilterRewardAdded and is used to iterate over the raw logs and unpacked data for RewardAdded events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1RewardAddedIterator) Close

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

func (*OneInchFarmingV1RewardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1RewardAddedIterator) 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 OneInchFarmingV1RewardPaid

type OneInchFarmingV1RewardPaid struct {
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

OneInchFarmingV1RewardPaid represents a RewardPaid event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1RewardPaidIterator

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

OneInchFarmingV1RewardPaidIterator is returned from FilterRewardPaid and is used to iterate over the raw logs and unpacked data for RewardPaid events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1RewardPaidIterator) Close

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

func (*OneInchFarmingV1RewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1RewardPaidIterator) 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 OneInchFarmingV1Session

type OneInchFarmingV1Session struct {
	Contract     *OneInchFarmingV1 // 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
}

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

func (*OneInchFarmingV1Session) BalanceOf

func (_OneInchFarmingV1 *OneInchFarmingV1Session) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV1Session) DURATION

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DURATION() (*big.Int, error)

DURATION is a free data retrieval call binding the contract method 0x1be05289.

Solidity: function DURATION() view returns(uint256)

func (*OneInchFarmingV1Session) DecayPeriod

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV1Session) DecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DecayPeriodVote(vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV1Session) DecayPeriodVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DecayPeriodVotes(user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Session) Decimals

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV1Session) DiscardDecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DiscardDecayPeriodVote() (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV1Session) DiscardFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DiscardFeeVote() (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV1Session) DiscardSlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) DiscardSlippageFeeVote() (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV1Session) Earned

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*OneInchFarmingV1Session) Exit

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV1Session) Fee

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV1Session) FeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) FeeVote(vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV1Session) FeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Session) FeeVotes(user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Session) GetReward

func (_OneInchFarmingV1 *OneInchFarmingV1Session) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*OneInchFarmingV1Session) Gift

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Gift() (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV1Session) LastTimeRewardApplicable

func (_OneInchFarmingV1 *OneInchFarmingV1Session) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*OneInchFarmingV1Session) LastUpdateTime

func (_OneInchFarmingV1 *OneInchFarmingV1Session) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*OneInchFarmingV1Session) Mooniswap

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Mooniswap() (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV1Session) MooniswapFactoryGovernance

func (_OneInchFarmingV1 *OneInchFarmingV1Session) MooniswapFactoryGovernance() (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV1Session) Name

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV1Session) NotifyRewardAmount

func (_OneInchFarmingV1 *OneInchFarmingV1Session) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*OneInchFarmingV1Session) Owner

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchFarmingV1Session) PeriodFinish

func (_OneInchFarmingV1 *OneInchFarmingV1Session) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*OneInchFarmingV1Session) RenounceOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV1Session) RewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1Session) RewardDistribution() (common.Address, error)

RewardDistribution is a free data retrieval call binding the contract method 0x101114cf.

Solidity: function rewardDistribution() view returns(address)

func (*OneInchFarmingV1Session) RewardPerToken

func (_OneInchFarmingV1 *OneInchFarmingV1Session) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*OneInchFarmingV1Session) RewardPerTokenStored

func (_OneInchFarmingV1 *OneInchFarmingV1Session) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*OneInchFarmingV1Session) RewardRate

func (_OneInchFarmingV1 *OneInchFarmingV1Session) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*OneInchFarmingV1Session) Rewards

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

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

func (*OneInchFarmingV1Session) SetRewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1Session) SetRewardDistribution(_rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*OneInchFarmingV1Session) SlippageFee

func (_OneInchFarmingV1 *OneInchFarmingV1Session) SlippageFee() (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV1Session) SlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Session) SlippageFeeVote(vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV1Session) SlippageFeeVotes

func (_OneInchFarmingV1 *OneInchFarmingV1Session) SlippageFeeVotes(user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV1Session) Stake

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV1Session) Symbol

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV1Session) TotalSupply

func (_OneInchFarmingV1 *OneInchFarmingV1Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*OneInchFarmingV1Session) TransferOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1Session) 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 (*OneInchFarmingV1Session) UserRewardPerTokenPaid

func (_OneInchFarmingV1 *OneInchFarmingV1Session) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

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

func (*OneInchFarmingV1Session) Withdraw

func (_OneInchFarmingV1 *OneInchFarmingV1Session) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV1SlippageFeeVoteUpdate

type OneInchFarmingV1SlippageFeeVoteUpdate struct {
	User        common.Address
	SlippageFee *big.Int
	IsDefault   bool
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

OneInchFarmingV1SlippageFeeVoteUpdate represents a SlippageFeeVoteUpdate event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1SlippageFeeVoteUpdateIterator

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

OneInchFarmingV1SlippageFeeVoteUpdateIterator is returned from FilterSlippageFeeVoteUpdate and is used to iterate over the raw logs and unpacked data for SlippageFeeVoteUpdate events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1SlippageFeeVoteUpdateIterator) Close

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

func (*OneInchFarmingV1SlippageFeeVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1SlippageFeeVoteUpdateIterator) 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 OneInchFarmingV1Staked

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

OneInchFarmingV1Staked represents a Staked event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1StakedIterator

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

OneInchFarmingV1StakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1StakedIterator) Close

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

func (*OneInchFarmingV1StakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1StakedIterator) 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 OneInchFarmingV1Transactor

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

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

func NewOneInchFarmingV1Transactor

func NewOneInchFarmingV1Transactor(address common.Address, transactor bind.ContractTransactor) (*OneInchFarmingV1Transactor, error)

NewOneInchFarmingV1Transactor creates a new write-only instance of OneInchFarmingV1, bound to a specific deployed contract.

func (*OneInchFarmingV1Transactor) DecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) DecayPeriodVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV1Transactor) DiscardDecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) DiscardDecayPeriodVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV1Transactor) DiscardFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) DiscardFeeVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV1Transactor) DiscardSlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) DiscardSlippageFeeVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV1Transactor) Exit

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV1Transactor) FeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) FeeVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV1Transactor) GetReward

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*OneInchFarmingV1Transactor) NotifyRewardAmount

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) NotifyRewardAmount(opts *bind.TransactOpts, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*OneInchFarmingV1Transactor) RenounceOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV1Transactor) SetRewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) SetRewardDistribution(opts *bind.TransactOpts, _rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*OneInchFarmingV1Transactor) SlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) SlippageFeeVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV1Transactor) Stake

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV1Transactor) TransferOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) 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 (*OneInchFarmingV1Transactor) Withdraw

func (_OneInchFarmingV1 *OneInchFarmingV1Transactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV1TransactorRaw

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

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

func (*OneInchFarmingV1TransactorRaw) Transact

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

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

func (*OneInchFarmingV1TransactorRaw) Transfer

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorRaw) 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 OneInchFarmingV1TransactorSession

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

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

func (*OneInchFarmingV1TransactorSession) DecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) DecayPeriodVote(vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV1TransactorSession) DiscardDecayPeriodVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) DiscardDecayPeriodVote() (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV1TransactorSession) DiscardFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) DiscardFeeVote() (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV1TransactorSession) DiscardSlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) DiscardSlippageFeeVote() (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV1TransactorSession) Exit

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV1TransactorSession) FeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) FeeVote(vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV1TransactorSession) GetReward

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*OneInchFarmingV1TransactorSession) NotifyRewardAmount

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*OneInchFarmingV1TransactorSession) RenounceOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV1TransactorSession) SetRewardDistribution

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) SetRewardDistribution(_rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*OneInchFarmingV1TransactorSession) SlippageFeeVote

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) SlippageFeeVote(vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV1TransactorSession) Stake

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV1TransactorSession) TransferOwnership

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) 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 (*OneInchFarmingV1TransactorSession) Withdraw

func (_OneInchFarmingV1 *OneInchFarmingV1TransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV1Transfer

type OneInchFarmingV1Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OneInchFarmingV1Transfer represents a Transfer event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1TransferIterator

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

OneInchFarmingV1TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1TransferIterator) Close

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

func (*OneInchFarmingV1TransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1TransferIterator) 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 OneInchFarmingV1Withdrawn

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

OneInchFarmingV1Withdrawn represents a Withdrawn event raised by the OneInchFarmingV1 contract.

type OneInchFarmingV1WithdrawnIterator

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

OneInchFarmingV1WithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the OneInchFarmingV1 contract.

func (*OneInchFarmingV1WithdrawnIterator) Close

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

func (*OneInchFarmingV1WithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV1WithdrawnIterator) 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 OneInchFarmingV2

type OneInchFarmingV2 struct {
	OneInchFarmingV2Caller     // Read-only binding to the contract
	OneInchFarmingV2Transactor // Write-only binding to the contract
	OneInchFarmingV2Filterer   // Log filterer for contract events
}

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

func NewOneInchFarmingV2

func NewOneInchFarmingV2(address common.Address, backend bind.ContractBackend) (*OneInchFarmingV2, error)

NewOneInchFarmingV2 creates a new instance of OneInchFarmingV2, bound to a specific deployed contract.

type OneInchFarmingV2Caller

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

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

func NewOneInchFarmingV2Caller

func NewOneInchFarmingV2Caller(address common.Address, caller bind.ContractCaller) (*OneInchFarmingV2Caller, error)

NewOneInchFarmingV2Caller creates a new read-only instance of OneInchFarmingV2, bound to a specific deployed contract.

func (*OneInchFarmingV2Caller) BalanceOf

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV2Caller) DecayPeriod

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) DecayPeriod(opts *bind.CallOpts) (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV2Caller) DecayPeriodVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) DecayPeriodVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Caller) Decimals

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV2Caller) Earned

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Earned(opts *bind.CallOpts, i *big.Int, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0xe39c08fc.

Solidity: function earned(uint256 i, address account) view returns(uint256)

func (*OneInchFarmingV2Caller) EarnedOld

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) EarnedOld(opts *bind.CallOpts, account common.Address) (*big.Int, error)

EarnedOld is a free data retrieval call binding the contract method 0xff6e5343.

Solidity: function earned_old(address account) view returns(uint256)

func (*OneInchFarmingV2Caller) Fee

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV2Caller) FeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) FeeVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Caller) Gift

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Gift(opts *bind.CallOpts) (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV2Caller) LastTimeRewardApplicable

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) LastTimeRewardApplicable(opts *bind.CallOpts, i *big.Int) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0xeeca1562.

Solidity: function lastTimeRewardApplicable(uint256 i) view returns(uint256)

func (*OneInchFarmingV2Caller) Mooniswap

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Mooniswap(opts *bind.CallOpts) (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV2Caller) MooniswapFactoryGovernance

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) MooniswapFactoryGovernance(opts *bind.CallOpts) (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV2Caller) Name

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV2Caller) Owner

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) 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 (*OneInchFarmingV2Caller) RewardPerToken

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) RewardPerToken(opts *bind.CallOpts, i *big.Int) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0x874c120b.

Solidity: function rewardPerToken(uint256 i) view returns(uint256)

func (*OneInchFarmingV2Caller) SlippageFee

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) SlippageFee(opts *bind.CallOpts) (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV2Caller) SlippageFeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) SlippageFeeVotes(opts *bind.CallOpts, user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Caller) Symbol

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV2Caller) TokenRewards

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) TokenRewards(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Gift                 common.Address
	Scale                *big.Int
	Duration             *big.Int
	RewardDistribution   common.Address
	PeriodFinish         *big.Int
	RewardRate           *big.Int
	LastUpdateTime       *big.Int
	RewardPerTokenStored *big.Int
}, error)

TokenRewards is a free data retrieval call binding the contract method 0x10eee734.

Solidity: function tokenRewards(uint256 ) view returns(address gift, uint256 scale, uint256 duration, address rewardDistribution, uint256 periodFinish, uint256 rewardRate, uint256 lastUpdateTime, uint256 rewardPerTokenStored)

func (*OneInchFarmingV2Caller) TotalSupply

func (_OneInchFarmingV2 *OneInchFarmingV2Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type OneInchFarmingV2CallerRaw

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

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

func (*OneInchFarmingV2CallerRaw) Call

func (_OneInchFarmingV2 *OneInchFarmingV2CallerRaw) 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 OneInchFarmingV2CallerSession

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

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

func (*OneInchFarmingV2CallerSession) BalanceOf

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV2CallerSession) DecayPeriod

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV2CallerSession) DecayPeriodVotes

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) DecayPeriodVotes(user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV2CallerSession) Decimals

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV2CallerSession) Earned

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Earned(i *big.Int, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0xe39c08fc.

Solidity: function earned(uint256 i, address account) view returns(uint256)

func (*OneInchFarmingV2CallerSession) EarnedOld

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) EarnedOld(account common.Address) (*big.Int, error)

EarnedOld is a free data retrieval call binding the contract method 0xff6e5343.

Solidity: function earned_old(address account) view returns(uint256)

func (*OneInchFarmingV2CallerSession) Fee

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV2CallerSession) FeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) FeeVotes(user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2CallerSession) Gift

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Gift() (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV2CallerSession) LastTimeRewardApplicable

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) LastTimeRewardApplicable(i *big.Int) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0xeeca1562.

Solidity: function lastTimeRewardApplicable(uint256 i) view returns(uint256)

func (*OneInchFarmingV2CallerSession) Mooniswap

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Mooniswap() (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV2CallerSession) MooniswapFactoryGovernance

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) MooniswapFactoryGovernance() (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV2CallerSession) Name

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV2CallerSession) Owner

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchFarmingV2CallerSession) RewardPerToken

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) RewardPerToken(i *big.Int) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0x874c120b.

Solidity: function rewardPerToken(uint256 i) view returns(uint256)

func (*OneInchFarmingV2CallerSession) SlippageFee

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) SlippageFee() (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV2CallerSession) SlippageFeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) SlippageFeeVotes(user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2CallerSession) Symbol

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV2CallerSession) TokenRewards

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) TokenRewards(arg0 *big.Int) (struct {
	Gift                 common.Address
	Scale                *big.Int
	Duration             *big.Int
	RewardDistribution   common.Address
	PeriodFinish         *big.Int
	RewardRate           *big.Int
	LastUpdateTime       *big.Int
	RewardPerTokenStored *big.Int
}, error)

TokenRewards is a free data retrieval call binding the contract method 0x10eee734.

Solidity: function tokenRewards(uint256 ) view returns(address gift, uint256 scale, uint256 duration, address rewardDistribution, uint256 periodFinish, uint256 rewardRate, uint256 lastUpdateTime, uint256 rewardPerTokenStored)

func (*OneInchFarmingV2CallerSession) TotalSupply

func (_OneInchFarmingV2 *OneInchFarmingV2CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type OneInchFarmingV2DecayPeriodVoteUpdate

type OneInchFarmingV2DecayPeriodVoteUpdate struct {
	User        common.Address
	DecayPeriod *big.Int
	IsDefault   bool
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2DecayPeriodVoteUpdate represents a DecayPeriodVoteUpdate event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2DecayPeriodVoteUpdateIterator

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

OneInchFarmingV2DecayPeriodVoteUpdateIterator is returned from FilterDecayPeriodVoteUpdate and is used to iterate over the raw logs and unpacked data for DecayPeriodVoteUpdate events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2DecayPeriodVoteUpdateIterator) Close

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

func (*OneInchFarmingV2DecayPeriodVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2DecayPeriodVoteUpdateIterator) 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 OneInchFarmingV2DurationUpdated

type OneInchFarmingV2DurationUpdated struct {
	I        *big.Int
	Duration *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2DurationUpdated represents a DurationUpdated event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2DurationUpdatedIterator

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

OneInchFarmingV2DurationUpdatedIterator is returned from FilterDurationUpdated and is used to iterate over the raw logs and unpacked data for DurationUpdated events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2DurationUpdatedIterator) Close

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

func (*OneInchFarmingV2DurationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2DurationUpdatedIterator) 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 OneInchFarmingV2FeeVoteUpdate

type OneInchFarmingV2FeeVoteUpdate struct {
	User      common.Address
	Fee       *big.Int
	IsDefault bool
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2FeeVoteUpdate represents a FeeVoteUpdate event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2FeeVoteUpdateIterator

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

OneInchFarmingV2FeeVoteUpdateIterator is returned from FilterFeeVoteUpdate and is used to iterate over the raw logs and unpacked data for FeeVoteUpdate events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2FeeVoteUpdateIterator) Close

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

func (*OneInchFarmingV2FeeVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2FeeVoteUpdateIterator) 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 OneInchFarmingV2Filterer

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

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

func NewOneInchFarmingV2Filterer

func NewOneInchFarmingV2Filterer(address common.Address, filterer bind.ContractFilterer) (*OneInchFarmingV2Filterer, error)

NewOneInchFarmingV2Filterer creates a new log filterer instance of OneInchFarmingV2, bound to a specific deployed contract.

func (*OneInchFarmingV2Filterer) FilterDecayPeriodVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterDecayPeriodVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV2DecayPeriodVoteUpdateIterator, error)

FilterDecayPeriodVoteUpdate is a free log retrieval operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) FilterDurationUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterDurationUpdated(opts *bind.FilterOpts, i []*big.Int) (*OneInchFarmingV2DurationUpdatedIterator, error)

FilterDurationUpdated is a free log retrieval operation binding the contract event 0xf899c6d536e6cda78c5f4dce43ca0e8c47167deb2875ea8b777f21cc85899b1f.

Solidity: event DurationUpdated(uint256 indexed i, uint256 duration)

func (*OneInchFarmingV2Filterer) FilterFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterFeeVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV2FeeVoteUpdateIterator, error)

FilterFeeVoteUpdate is a free log retrieval operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) FilterNewGift

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterNewGift(opts *bind.FilterOpts, i []*big.Int) (*OneInchFarmingV2NewGiftIterator, error)

FilterNewGift is a free log retrieval operation binding the contract event 0x64cc71b17412354fc7654b3a032c59b8aacbcc955fa02aecfec3be41d7350f24.

Solidity: event NewGift(uint256 indexed i, address gift)

func (*OneInchFarmingV2Filterer) FilterOwnershipTransferred

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneInchFarmingV2OwnershipTransferredIterator, error)

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

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

func (*OneInchFarmingV2Filterer) FilterRewardAdded

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterRewardAdded(opts *bind.FilterOpts, i []*big.Int) (*OneInchFarmingV2RewardAddedIterator, error)

FilterRewardAdded is a free log retrieval operation binding the contract event 0x6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55.

Solidity: event RewardAdded(uint256 indexed i, uint256 reward)

func (*OneInchFarmingV2Filterer) FilterRewardDistributionChanged

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterRewardDistributionChanged(opts *bind.FilterOpts, i []*big.Int) (*OneInchFarmingV2RewardDistributionChangedIterator, error)

FilterRewardDistributionChanged is a free log retrieval operation binding the contract event 0x68898541a3500520160dc4a025aaabdb318ec2d614c236a5fb88f523d76a8d8a.

Solidity: event RewardDistributionChanged(uint256 indexed i, address rewardDistribution)

func (*OneInchFarmingV2Filterer) FilterRewardPaid

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterRewardPaid(opts *bind.FilterOpts, i []*big.Int, user []common.Address) (*OneInchFarmingV2RewardPaidIterator, error)

FilterRewardPaid is a free log retrieval operation binding the contract event 0x04492fab062412e7e4e5f46c9e919f1640652946a5e163ad6e6c1c03d87954d2.

Solidity: event RewardPaid(uint256 indexed i, address indexed user, uint256 reward)

func (*OneInchFarmingV2Filterer) FilterScaleUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterScaleUpdated(opts *bind.FilterOpts, i []*big.Int) (*OneInchFarmingV2ScaleUpdatedIterator, error)

FilterScaleUpdated is a free log retrieval operation binding the contract event 0xab51d2a74943c8e23c4bb4387383ac9614f2b797cff19ae3278f5de2717f395e.

Solidity: event ScaleUpdated(uint256 indexed i, uint256 scale)

func (*OneInchFarmingV2Filterer) FilterSlippageFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterSlippageFeeVoteUpdate(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV2SlippageFeeVoteUpdateIterator, error)

FilterSlippageFeeVoteUpdate is a free log retrieval operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) FilterStaked

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV2StakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV2Filterer) FilterTransfer

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OneInchFarmingV2TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV2Filterer) FilterWithdrawn

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*OneInchFarmingV2WithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*OneInchFarmingV2Filterer) ParseDecayPeriodVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseDecayPeriodVoteUpdate(log types.Log) (*OneInchFarmingV2DecayPeriodVoteUpdate, error)

ParseDecayPeriodVoteUpdate is a log parse operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) ParseDurationUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseDurationUpdated(log types.Log) (*OneInchFarmingV2DurationUpdated, error)

ParseDurationUpdated is a log parse operation binding the contract event 0xf899c6d536e6cda78c5f4dce43ca0e8c47167deb2875ea8b777f21cc85899b1f.

Solidity: event DurationUpdated(uint256 indexed i, uint256 duration)

func (*OneInchFarmingV2Filterer) ParseFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseFeeVoteUpdate(log types.Log) (*OneInchFarmingV2FeeVoteUpdate, error)

ParseFeeVoteUpdate is a log parse operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) ParseNewGift

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseNewGift(log types.Log) (*OneInchFarmingV2NewGift, error)

ParseNewGift is a log parse operation binding the contract event 0x64cc71b17412354fc7654b3a032c59b8aacbcc955fa02aecfec3be41d7350f24.

Solidity: event NewGift(uint256 indexed i, address gift)

func (*OneInchFarmingV2Filterer) ParseOwnershipTransferred

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseOwnershipTransferred(log types.Log) (*OneInchFarmingV2OwnershipTransferred, error)

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

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

func (*OneInchFarmingV2Filterer) ParseRewardAdded

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseRewardAdded(log types.Log) (*OneInchFarmingV2RewardAdded, error)

ParseRewardAdded is a log parse operation binding the contract event 0x6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55.

Solidity: event RewardAdded(uint256 indexed i, uint256 reward)

func (*OneInchFarmingV2Filterer) ParseRewardDistributionChanged

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseRewardDistributionChanged(log types.Log) (*OneInchFarmingV2RewardDistributionChanged, error)

ParseRewardDistributionChanged is a log parse operation binding the contract event 0x68898541a3500520160dc4a025aaabdb318ec2d614c236a5fb88f523d76a8d8a.

Solidity: event RewardDistributionChanged(uint256 indexed i, address rewardDistribution)

func (*OneInchFarmingV2Filterer) ParseRewardPaid

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseRewardPaid(log types.Log) (*OneInchFarmingV2RewardPaid, error)

ParseRewardPaid is a log parse operation binding the contract event 0x04492fab062412e7e4e5f46c9e919f1640652946a5e163ad6e6c1c03d87954d2.

Solidity: event RewardPaid(uint256 indexed i, address indexed user, uint256 reward)

func (*OneInchFarmingV2Filterer) ParseScaleUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseScaleUpdated(log types.Log) (*OneInchFarmingV2ScaleUpdated, error)

ParseScaleUpdated is a log parse operation binding the contract event 0xab51d2a74943c8e23c4bb4387383ac9614f2b797cff19ae3278f5de2717f395e.

Solidity: event ScaleUpdated(uint256 indexed i, uint256 scale)

func (*OneInchFarmingV2Filterer) ParseSlippageFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseSlippageFeeVoteUpdate(log types.Log) (*OneInchFarmingV2SlippageFeeVoteUpdate, error)

ParseSlippageFeeVoteUpdate is a log parse operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) ParseStaked

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseStaked(log types.Log) (*OneInchFarmingV2Staked, error)

ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV2Filterer) ParseTransfer

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseTransfer(log types.Log) (*OneInchFarmingV2Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV2Filterer) ParseWithdrawn

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) ParseWithdrawn(log types.Log) (*OneInchFarmingV2Withdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*OneInchFarmingV2Filterer) WatchDecayPeriodVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchDecayPeriodVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2DecayPeriodVoteUpdate, user []common.Address) (event.Subscription, error)

WatchDecayPeriodVoteUpdate is a free log subscription operation binding the contract event 0xd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7.

Solidity: event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) WatchDurationUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchDurationUpdated(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2DurationUpdated, i []*big.Int) (event.Subscription, error)

WatchDurationUpdated is a free log subscription operation binding the contract event 0xf899c6d536e6cda78c5f4dce43ca0e8c47167deb2875ea8b777f21cc85899b1f.

Solidity: event DurationUpdated(uint256 indexed i, uint256 duration)

func (*OneInchFarmingV2Filterer) WatchFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchFeeVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2FeeVoteUpdate, user []common.Address) (event.Subscription, error)

WatchFeeVoteUpdate is a free log subscription operation binding the contract event 0xe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac.

Solidity: event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) WatchNewGift

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchNewGift(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2NewGift, i []*big.Int) (event.Subscription, error)

WatchNewGift is a free log subscription operation binding the contract event 0x64cc71b17412354fc7654b3a032c59b8aacbcc955fa02aecfec3be41d7350f24.

Solidity: event NewGift(uint256 indexed i, address gift)

func (*OneInchFarmingV2Filterer) WatchOwnershipTransferred

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2OwnershipTransferred, 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 (*OneInchFarmingV2Filterer) WatchRewardAdded

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchRewardAdded(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2RewardAdded, i []*big.Int) (event.Subscription, error)

WatchRewardAdded is a free log subscription operation binding the contract event 0x6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55.

Solidity: event RewardAdded(uint256 indexed i, uint256 reward)

func (*OneInchFarmingV2Filterer) WatchRewardDistributionChanged

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchRewardDistributionChanged(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2RewardDistributionChanged, i []*big.Int) (event.Subscription, error)

WatchRewardDistributionChanged is a free log subscription operation binding the contract event 0x68898541a3500520160dc4a025aaabdb318ec2d614c236a5fb88f523d76a8d8a.

Solidity: event RewardDistributionChanged(uint256 indexed i, address rewardDistribution)

func (*OneInchFarmingV2Filterer) WatchRewardPaid

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2RewardPaid, i []*big.Int, user []common.Address) (event.Subscription, error)

WatchRewardPaid is a free log subscription operation binding the contract event 0x04492fab062412e7e4e5f46c9e919f1640652946a5e163ad6e6c1c03d87954d2.

Solidity: event RewardPaid(uint256 indexed i, address indexed user, uint256 reward)

func (*OneInchFarmingV2Filterer) WatchScaleUpdated

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchScaleUpdated(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2ScaleUpdated, i []*big.Int) (event.Subscription, error)

WatchScaleUpdated is a free log subscription operation binding the contract event 0xab51d2a74943c8e23c4bb4387383ac9614f2b797cff19ae3278f5de2717f395e.

Solidity: event ScaleUpdated(uint256 indexed i, uint256 scale)

func (*OneInchFarmingV2Filterer) WatchSlippageFeeVoteUpdate

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchSlippageFeeVoteUpdate(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2SlippageFeeVoteUpdate, user []common.Address) (event.Subscription, error)

WatchSlippageFeeVoteUpdate is a free log subscription operation binding the contract event 0xce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240.

Solidity: event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount)

func (*OneInchFarmingV2Filterer) WatchStaked

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2Staked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*OneInchFarmingV2Filterer) WatchTransfer

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchFarmingV2Filterer) WatchWithdrawn

func (_OneInchFarmingV2 *OneInchFarmingV2Filterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *OneInchFarmingV2Withdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

type OneInchFarmingV2NewGift

type OneInchFarmingV2NewGift struct {
	I    *big.Int
	Gift common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2NewGift represents a NewGift event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2NewGiftIterator

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

OneInchFarmingV2NewGiftIterator is returned from FilterNewGift and is used to iterate over the raw logs and unpacked data for NewGift events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2NewGiftIterator) Close

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

func (*OneInchFarmingV2NewGiftIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2NewGiftIterator) 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 OneInchFarmingV2OwnershipTransferred

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

OneInchFarmingV2OwnershipTransferred represents a OwnershipTransferred event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2OwnershipTransferredIterator

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

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

func (*OneInchFarmingV2OwnershipTransferredIterator) Close

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

func (*OneInchFarmingV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2OwnershipTransferredIterator) 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 OneInchFarmingV2Raw

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

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

func (*OneInchFarmingV2Raw) Call

func (_OneInchFarmingV2 *OneInchFarmingV2Raw) 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 (*OneInchFarmingV2Raw) Transact

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

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

func (*OneInchFarmingV2Raw) Transfer

func (_OneInchFarmingV2 *OneInchFarmingV2Raw) 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 OneInchFarmingV2RewardAdded

type OneInchFarmingV2RewardAdded struct {
	I      *big.Int
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2RewardAdded represents a RewardAdded event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2RewardAddedIterator

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

OneInchFarmingV2RewardAddedIterator is returned from FilterRewardAdded and is used to iterate over the raw logs and unpacked data for RewardAdded events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2RewardAddedIterator) Close

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

func (*OneInchFarmingV2RewardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2RewardAddedIterator) 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 OneInchFarmingV2RewardDistributionChanged

type OneInchFarmingV2RewardDistributionChanged struct {
	I                  *big.Int
	RewardDistribution common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2RewardDistributionChanged represents a RewardDistributionChanged event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2RewardDistributionChangedIterator

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

OneInchFarmingV2RewardDistributionChangedIterator is returned from FilterRewardDistributionChanged and is used to iterate over the raw logs and unpacked data for RewardDistributionChanged events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2RewardDistributionChangedIterator) Close

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

func (*OneInchFarmingV2RewardDistributionChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2RewardDistributionChangedIterator) 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 OneInchFarmingV2RewardPaid

type OneInchFarmingV2RewardPaid struct {
	I      *big.Int
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2RewardPaid represents a RewardPaid event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2RewardPaidIterator

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

OneInchFarmingV2RewardPaidIterator is returned from FilterRewardPaid and is used to iterate over the raw logs and unpacked data for RewardPaid events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2RewardPaidIterator) Close

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

func (*OneInchFarmingV2RewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2RewardPaidIterator) 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 OneInchFarmingV2ScaleUpdated

type OneInchFarmingV2ScaleUpdated struct {
	I     *big.Int
	Scale *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2ScaleUpdated represents a ScaleUpdated event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2ScaleUpdatedIterator

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

OneInchFarmingV2ScaleUpdatedIterator is returned from FilterScaleUpdated and is used to iterate over the raw logs and unpacked data for ScaleUpdated events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2ScaleUpdatedIterator) Close

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

func (*OneInchFarmingV2ScaleUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2ScaleUpdatedIterator) 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 OneInchFarmingV2Session

type OneInchFarmingV2Session struct {
	Contract     *OneInchFarmingV2 // 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
}

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

func (*OneInchFarmingV2Session) AddGift

func (_OneInchFarmingV2 *OneInchFarmingV2Session) AddGift(gift common.Address, duration *big.Int, rewardDistribution common.Address, scale *big.Int) (*types.Transaction, error)

AddGift is a paid mutator transaction binding the contract method 0x8c59d8cb.

Solidity: function addGift(address gift, uint256 duration, address rewardDistribution, uint256 scale) returns()

func (*OneInchFarmingV2Session) BalanceOf

func (_OneInchFarmingV2 *OneInchFarmingV2Session) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchFarmingV2Session) DecayPeriod

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() view returns(uint256)

func (*OneInchFarmingV2Session) DecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DecayPeriodVote(vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV2Session) DecayPeriodVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DecayPeriodVotes(user common.Address) (*big.Int, error)

DecayPeriodVotes is a free data retrieval call binding the contract method 0x7e82a6f3.

Solidity: function decayPeriodVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Session) Decimals

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*OneInchFarmingV2Session) DiscardDecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DiscardDecayPeriodVote() (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV2Session) DiscardFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DiscardFeeVote() (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV2Session) DiscardSlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) DiscardSlippageFeeVote() (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV2Session) Earned

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Earned(i *big.Int, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0xe39c08fc.

Solidity: function earned(uint256 i, address account) view returns(uint256)

func (*OneInchFarmingV2Session) EarnedOld

func (_OneInchFarmingV2 *OneInchFarmingV2Session) EarnedOld(account common.Address) (*big.Int, error)

EarnedOld is a free data retrieval call binding the contract method 0xff6e5343.

Solidity: function earned_old(address account) view returns(uint256)

func (*OneInchFarmingV2Session) Exit

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV2Session) Fee

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OneInchFarmingV2Session) FeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) FeeVote(vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV2Session) FeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Session) FeeVotes(user common.Address) (*big.Int, error)

FeeVotes is a free data retrieval call binding the contract method 0x9aad141b.

Solidity: function feeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Session) GetAllRewards

func (_OneInchFarmingV2 *OneInchFarmingV2Session) GetAllRewards() (*types.Transaction, error)

GetAllRewards is a paid mutator transaction binding the contract method 0x45b35f56.

Solidity: function getAllRewards() returns()

func (*OneInchFarmingV2Session) GetReward

func (_OneInchFarmingV2 *OneInchFarmingV2Session) GetReward(i *big.Int) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1c4b774b.

Solidity: function getReward(uint256 i) returns()

func (*OneInchFarmingV2Session) Gift

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Gift() (common.Address, error)

Gift is a free data retrieval call binding the contract method 0x24b04905.

Solidity: function gift() view returns(address)

func (*OneInchFarmingV2Session) LastTimeRewardApplicable

func (_OneInchFarmingV2 *OneInchFarmingV2Session) LastTimeRewardApplicable(i *big.Int) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0xeeca1562.

Solidity: function lastTimeRewardApplicable(uint256 i) view returns(uint256)

func (*OneInchFarmingV2Session) Mooniswap

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Mooniswap() (common.Address, error)

Mooniswap is a free data retrieval call binding the contract method 0x303bfdae.

Solidity: function mooniswap() view returns(address)

func (*OneInchFarmingV2Session) MooniswapFactoryGovernance

func (_OneInchFarmingV2 *OneInchFarmingV2Session) MooniswapFactoryGovernance() (common.Address, error)

MooniswapFactoryGovernance is a free data retrieval call binding the contract method 0xd9a0c217.

Solidity: function mooniswapFactoryGovernance() view returns(address)

func (*OneInchFarmingV2Session) Name

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*OneInchFarmingV2Session) NotifyRewardAmount

func (_OneInchFarmingV2 *OneInchFarmingV2Session) NotifyRewardAmount(i *big.Int, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x246132f9.

Solidity: function notifyRewardAmount(uint256 i, uint256 reward) returns()

func (*OneInchFarmingV2Session) Owner

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchFarmingV2Session) RenounceOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV2Session) RescueFunds

func (_OneInchFarmingV2 *OneInchFarmingV2Session) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*OneInchFarmingV2Session) RewardPerToken

func (_OneInchFarmingV2 *OneInchFarmingV2Session) RewardPerToken(i *big.Int) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0x874c120b.

Solidity: function rewardPerToken(uint256 i) view returns(uint256)

func (*OneInchFarmingV2Session) SetDuration

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SetDuration(i *big.Int, duration *big.Int) (*types.Transaction, error)

SetDuration is a paid mutator transaction binding the contract method 0xcd7ea095.

Solidity: function setDuration(uint256 i, uint256 duration) returns()

func (*OneInchFarmingV2Session) SetRewardDistribution

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SetRewardDistribution(i *big.Int, _rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0xe2b01a5e.

Solidity: function setRewardDistribution(uint256 i, address _rewardDistribution) returns()

func (*OneInchFarmingV2Session) SetScale

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SetScale(i *big.Int, scale *big.Int) (*types.Transaction, error)

SetScale is a paid mutator transaction binding the contract method 0x12df172d.

Solidity: function setScale(uint256 i, uint256 scale) returns()

func (*OneInchFarmingV2Session) SlippageFee

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SlippageFee() (*big.Int, error)

SlippageFee is a free data retrieval call binding the contract method 0x3732b394.

Solidity: function slippageFee() view returns(uint256)

func (*OneInchFarmingV2Session) SlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SlippageFeeVote(vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV2Session) SlippageFeeVotes

func (_OneInchFarmingV2 *OneInchFarmingV2Session) SlippageFeeVotes(user common.Address) (*big.Int, error)

SlippageFeeVotes is a free data retrieval call binding the contract method 0x95cad3c7.

Solidity: function slippageFeeVotes(address user) view returns(uint256)

func (*OneInchFarmingV2Session) Stake

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV2Session) Symbol

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*OneInchFarmingV2Session) TokenRewards

func (_OneInchFarmingV2 *OneInchFarmingV2Session) TokenRewards(arg0 *big.Int) (struct {
	Gift                 common.Address
	Scale                *big.Int
	Duration             *big.Int
	RewardDistribution   common.Address
	PeriodFinish         *big.Int
	RewardRate           *big.Int
	LastUpdateTime       *big.Int
	RewardPerTokenStored *big.Int
}, error)

TokenRewards is a free data retrieval call binding the contract method 0x10eee734.

Solidity: function tokenRewards(uint256 ) view returns(address gift, uint256 scale, uint256 duration, address rewardDistribution, uint256 periodFinish, uint256 rewardRate, uint256 lastUpdateTime, uint256 rewardPerTokenStored)

func (*OneInchFarmingV2Session) TotalSupply

func (_OneInchFarmingV2 *OneInchFarmingV2Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*OneInchFarmingV2Session) TransferOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2Session) 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 (*OneInchFarmingV2Session) Withdraw

func (_OneInchFarmingV2 *OneInchFarmingV2Session) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV2SlippageFeeVoteUpdate

type OneInchFarmingV2SlippageFeeVoteUpdate struct {
	User        common.Address
	SlippageFee *big.Int
	IsDefault   bool
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2SlippageFeeVoteUpdate represents a SlippageFeeVoteUpdate event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2SlippageFeeVoteUpdateIterator

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

OneInchFarmingV2SlippageFeeVoteUpdateIterator is returned from FilterSlippageFeeVoteUpdate and is used to iterate over the raw logs and unpacked data for SlippageFeeVoteUpdate events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2SlippageFeeVoteUpdateIterator) Close

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

func (*OneInchFarmingV2SlippageFeeVoteUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2SlippageFeeVoteUpdateIterator) 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 OneInchFarmingV2Staked

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

OneInchFarmingV2Staked represents a Staked event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2StakedIterator

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

OneInchFarmingV2StakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2StakedIterator) Close

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

func (*OneInchFarmingV2StakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2StakedIterator) 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 OneInchFarmingV2Transactor

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

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

func NewOneInchFarmingV2Transactor

func NewOneInchFarmingV2Transactor(address common.Address, transactor bind.ContractTransactor) (*OneInchFarmingV2Transactor, error)

NewOneInchFarmingV2Transactor creates a new write-only instance of OneInchFarmingV2, bound to a specific deployed contract.

func (*OneInchFarmingV2Transactor) AddGift

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) AddGift(opts *bind.TransactOpts, gift common.Address, duration *big.Int, rewardDistribution common.Address, scale *big.Int) (*types.Transaction, error)

AddGift is a paid mutator transaction binding the contract method 0x8c59d8cb.

Solidity: function addGift(address gift, uint256 duration, address rewardDistribution, uint256 scale) returns()

func (*OneInchFarmingV2Transactor) DecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) DecayPeriodVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV2Transactor) DiscardDecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) DiscardDecayPeriodVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV2Transactor) DiscardFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) DiscardFeeVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV2Transactor) DiscardSlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) DiscardSlippageFeeVote(opts *bind.TransactOpts) (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV2Transactor) Exit

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV2Transactor) FeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) FeeVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV2Transactor) GetAllRewards

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) GetAllRewards(opts *bind.TransactOpts) (*types.Transaction, error)

GetAllRewards is a paid mutator transaction binding the contract method 0x45b35f56.

Solidity: function getAllRewards() returns()

func (*OneInchFarmingV2Transactor) GetReward

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) GetReward(opts *bind.TransactOpts, i *big.Int) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1c4b774b.

Solidity: function getReward(uint256 i) returns()

func (*OneInchFarmingV2Transactor) NotifyRewardAmount

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) NotifyRewardAmount(opts *bind.TransactOpts, i *big.Int, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x246132f9.

Solidity: function notifyRewardAmount(uint256 i, uint256 reward) returns()

func (*OneInchFarmingV2Transactor) RenounceOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV2Transactor) RescueFunds

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) RescueFunds(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*OneInchFarmingV2Transactor) SetDuration

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) SetDuration(opts *bind.TransactOpts, i *big.Int, duration *big.Int) (*types.Transaction, error)

SetDuration is a paid mutator transaction binding the contract method 0xcd7ea095.

Solidity: function setDuration(uint256 i, uint256 duration) returns()

func (*OneInchFarmingV2Transactor) SetRewardDistribution

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) SetRewardDistribution(opts *bind.TransactOpts, i *big.Int, _rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0xe2b01a5e.

Solidity: function setRewardDistribution(uint256 i, address _rewardDistribution) returns()

func (*OneInchFarmingV2Transactor) SetScale

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) SetScale(opts *bind.TransactOpts, i *big.Int, scale *big.Int) (*types.Transaction, error)

SetScale is a paid mutator transaction binding the contract method 0x12df172d.

Solidity: function setScale(uint256 i, uint256 scale) returns()

func (*OneInchFarmingV2Transactor) SlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) SlippageFeeVote(opts *bind.TransactOpts, vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV2Transactor) Stake

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV2Transactor) TransferOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) 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 (*OneInchFarmingV2Transactor) Withdraw

func (_OneInchFarmingV2 *OneInchFarmingV2Transactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV2TransactorRaw

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

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

func (*OneInchFarmingV2TransactorRaw) Transact

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

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

func (*OneInchFarmingV2TransactorRaw) Transfer

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorRaw) 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 OneInchFarmingV2TransactorSession

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

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

func (*OneInchFarmingV2TransactorSession) AddGift

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) AddGift(gift common.Address, duration *big.Int, rewardDistribution common.Address, scale *big.Int) (*types.Transaction, error)

AddGift is a paid mutator transaction binding the contract method 0x8c59d8cb.

Solidity: function addGift(address gift, uint256 duration, address rewardDistribution, uint256 scale) returns()

func (*OneInchFarmingV2TransactorSession) DecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) DecayPeriodVote(vote *big.Int) (*types.Transaction, error)

DecayPeriodVote is a paid mutator transaction binding the contract method 0xeaadf848.

Solidity: function decayPeriodVote(uint256 vote) returns()

func (*OneInchFarmingV2TransactorSession) DiscardDecayPeriodVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) DiscardDecayPeriodVote() (*types.Transaction, error)

DiscardDecayPeriodVote is a paid mutator transaction binding the contract method 0xf76d13b4.

Solidity: function discardDecayPeriodVote() returns()

func (*OneInchFarmingV2TransactorSession) DiscardFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) DiscardFeeVote() (*types.Transaction, error)

DiscardFeeVote is a paid mutator transaction binding the contract method 0x93028d83.

Solidity: function discardFeeVote() returns()

func (*OneInchFarmingV2TransactorSession) DiscardSlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) DiscardSlippageFeeVote() (*types.Transaction, error)

DiscardSlippageFeeVote is a paid mutator transaction binding the contract method 0x6669302a.

Solidity: function discardSlippageFeeVote() returns()

func (*OneInchFarmingV2TransactorSession) Exit

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*OneInchFarmingV2TransactorSession) FeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) FeeVote(vote *big.Int) (*types.Transaction, error)

FeeVote is a paid mutator transaction binding the contract method 0x11212d66.

Solidity: function feeVote(uint256 vote) returns()

func (*OneInchFarmingV2TransactorSession) GetAllRewards

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) GetAllRewards() (*types.Transaction, error)

GetAllRewards is a paid mutator transaction binding the contract method 0x45b35f56.

Solidity: function getAllRewards() returns()

func (*OneInchFarmingV2TransactorSession) GetReward

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) GetReward(i *big.Int) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1c4b774b.

Solidity: function getReward(uint256 i) returns()

func (*OneInchFarmingV2TransactorSession) NotifyRewardAmount

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) NotifyRewardAmount(i *big.Int, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x246132f9.

Solidity: function notifyRewardAmount(uint256 i, uint256 reward) returns()

func (*OneInchFarmingV2TransactorSession) RenounceOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchFarmingV2TransactorSession) RescueFunds

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*OneInchFarmingV2TransactorSession) SetDuration

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) SetDuration(i *big.Int, duration *big.Int) (*types.Transaction, error)

SetDuration is a paid mutator transaction binding the contract method 0xcd7ea095.

Solidity: function setDuration(uint256 i, uint256 duration) returns()

func (*OneInchFarmingV2TransactorSession) SetRewardDistribution

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) SetRewardDistribution(i *big.Int, _rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0xe2b01a5e.

Solidity: function setRewardDistribution(uint256 i, address _rewardDistribution) returns()

func (*OneInchFarmingV2TransactorSession) SetScale

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) SetScale(i *big.Int, scale *big.Int) (*types.Transaction, error)

SetScale is a paid mutator transaction binding the contract method 0x12df172d.

Solidity: function setScale(uint256 i, uint256 scale) returns()

func (*OneInchFarmingV2TransactorSession) SlippageFeeVote

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) SlippageFeeVote(vote *big.Int) (*types.Transaction, error)

SlippageFeeVote is a paid mutator transaction binding the contract method 0x07a80070.

Solidity: function slippageFeeVote(uint256 vote) returns()

func (*OneInchFarmingV2TransactorSession) Stake

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchFarmingV2TransactorSession) TransferOwnership

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) 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 (*OneInchFarmingV2TransactorSession) Withdraw

func (_OneInchFarmingV2 *OneInchFarmingV2TransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 amount) returns()

type OneInchFarmingV2Transfer

type OneInchFarmingV2Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OneInchFarmingV2Transfer represents a Transfer event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2TransferIterator

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

OneInchFarmingV2TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2TransferIterator) Close

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

func (*OneInchFarmingV2TransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2TransferIterator) 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 OneInchFarmingV2Withdrawn

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

OneInchFarmingV2Withdrawn represents a Withdrawn event raised by the OneInchFarmingV2 contract.

type OneInchFarmingV2WithdrawnIterator

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

OneInchFarmingV2WithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the OneInchFarmingV2 contract.

func (*OneInchFarmingV2WithdrawnIterator) Close

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

func (*OneInchFarmingV2WithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchFarmingV2WithdrawnIterator) 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 OneInchGovernance

type OneInchGovernance struct {
	OneInchGovernanceCaller     // Read-only binding to the contract
	OneInchGovernanceTransactor // Write-only binding to the contract
	OneInchGovernanceFilterer   // Log filterer for contract events
}

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

func NewOneInchGovernance

func NewOneInchGovernance(address common.Address, backend bind.ContractBackend) (*OneInchGovernance, error)

NewOneInchGovernance creates a new instance of OneInchGovernance, bound to a specific deployed contract.

type OneInchGovernanceAddModule

type OneInchGovernanceAddModule struct {
	Module common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

OneInchGovernanceAddModule represents a AddModule event raised by the OneInchGovernance contract.

type OneInchGovernanceAddModuleIterator

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

OneInchGovernanceAddModuleIterator is returned from FilterAddModule and is used to iterate over the raw logs and unpacked data for AddModule events raised by the OneInchGovernance contract.

func (*OneInchGovernanceAddModuleIterator) Close

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

func (*OneInchGovernanceAddModuleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchGovernanceAddModuleIterator) 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 OneInchGovernanceCaller

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

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

func NewOneInchGovernanceCaller

func NewOneInchGovernanceCaller(address common.Address, caller bind.ContractCaller) (*OneInchGovernanceCaller, error)

NewOneInchGovernanceCaller creates a new read-only instance of OneInchGovernance, bound to a specific deployed contract.

func (*OneInchGovernanceCaller) BalanceOf

func (_OneInchGovernance *OneInchGovernanceCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchGovernanceCaller) Decimals

func (_OneInchGovernance *OneInchGovernanceCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*OneInchGovernanceCaller) InchToken

func (_OneInchGovernance *OneInchGovernanceCaller) InchToken(opts *bind.CallOpts) (common.Address, error)

InchToken is a free data retrieval call binding the contract method 0xec954594.

Solidity: function inchToken() view returns(address)

func (*OneInchGovernanceCaller) Name

func (_OneInchGovernance *OneInchGovernanceCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*OneInchGovernanceCaller) Owner

func (_OneInchGovernance *OneInchGovernanceCaller) 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 (*OneInchGovernanceCaller) Symbol

func (_OneInchGovernance *OneInchGovernanceCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*OneInchGovernanceCaller) TotalSupply

func (_OneInchGovernance *OneInchGovernanceCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type OneInchGovernanceCallerRaw

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

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

func (*OneInchGovernanceCallerRaw) Call

func (_OneInchGovernance *OneInchGovernanceCallerRaw) 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 OneInchGovernanceCallerSession

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

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

func (*OneInchGovernanceCallerSession) BalanceOf

func (_OneInchGovernance *OneInchGovernanceCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchGovernanceCallerSession) Decimals

func (_OneInchGovernance *OneInchGovernanceCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*OneInchGovernanceCallerSession) InchToken

func (_OneInchGovernance *OneInchGovernanceCallerSession) InchToken() (common.Address, error)

InchToken is a free data retrieval call binding the contract method 0xec954594.

Solidity: function inchToken() view returns(address)

func (*OneInchGovernanceCallerSession) Name

func (_OneInchGovernance *OneInchGovernanceCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*OneInchGovernanceCallerSession) Owner

func (_OneInchGovernance *OneInchGovernanceCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchGovernanceCallerSession) Symbol

func (_OneInchGovernance *OneInchGovernanceCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*OneInchGovernanceCallerSession) TotalSupply

func (_OneInchGovernance *OneInchGovernanceCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type OneInchGovernanceFilterer

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

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

func NewOneInchGovernanceFilterer

func NewOneInchGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchGovernanceFilterer, error)

NewOneInchGovernanceFilterer creates a new log filterer instance of OneInchGovernance, bound to a specific deployed contract.

func (*OneInchGovernanceFilterer) FilterAddModule

func (_OneInchGovernance *OneInchGovernanceFilterer) FilterAddModule(opts *bind.FilterOpts, module []common.Address) (*OneInchGovernanceAddModuleIterator, error)

FilterAddModule is a free log retrieval operation binding the contract event 0x0e8ab0265c955b9584b70d255e316c63717f1fb52ba0acfff63bca74ca2e8fad.

Solidity: event AddModule(address indexed module)

func (*OneInchGovernanceFilterer) FilterOwnershipTransferred

func (_OneInchGovernance *OneInchGovernanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneInchGovernanceOwnershipTransferredIterator, error)

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

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

func (*OneInchGovernanceFilterer) FilterRemoveModule

func (_OneInchGovernance *OneInchGovernanceFilterer) FilterRemoveModule(opts *bind.FilterOpts, module []common.Address) (*OneInchGovernanceRemoveModuleIterator, error)

FilterRemoveModule is a free log retrieval operation binding the contract event 0x75f4e5771d2cdd015405ae76feb37f5792736e71ff18f8a9dd690772a48111a3.

Solidity: event RemoveModule(address indexed module)

func (*OneInchGovernanceFilterer) FilterTransfer

func (_OneInchGovernance *OneInchGovernanceFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OneInchGovernanceTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchGovernanceFilterer) ParseAddModule

func (_OneInchGovernance *OneInchGovernanceFilterer) ParseAddModule(log types.Log) (*OneInchGovernanceAddModule, error)

ParseAddModule is a log parse operation binding the contract event 0x0e8ab0265c955b9584b70d255e316c63717f1fb52ba0acfff63bca74ca2e8fad.

Solidity: event AddModule(address indexed module)

func (*OneInchGovernanceFilterer) ParseOwnershipTransferred

func (_OneInchGovernance *OneInchGovernanceFilterer) ParseOwnershipTransferred(log types.Log) (*OneInchGovernanceOwnershipTransferred, error)

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

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

func (*OneInchGovernanceFilterer) ParseRemoveModule

func (_OneInchGovernance *OneInchGovernanceFilterer) ParseRemoveModule(log types.Log) (*OneInchGovernanceRemoveModule, error)

ParseRemoveModule is a log parse operation binding the contract event 0x75f4e5771d2cdd015405ae76feb37f5792736e71ff18f8a9dd690772a48111a3.

Solidity: event RemoveModule(address indexed module)

func (*OneInchGovernanceFilterer) ParseTransfer

func (_OneInchGovernance *OneInchGovernanceFilterer) ParseTransfer(log types.Log) (*OneInchGovernanceTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*OneInchGovernanceFilterer) WatchAddModule

func (_OneInchGovernance *OneInchGovernanceFilterer) WatchAddModule(opts *bind.WatchOpts, sink chan<- *OneInchGovernanceAddModule, module []common.Address) (event.Subscription, error)

WatchAddModule is a free log subscription operation binding the contract event 0x0e8ab0265c955b9584b70d255e316c63717f1fb52ba0acfff63bca74ca2e8fad.

Solidity: event AddModule(address indexed module)

func (*OneInchGovernanceFilterer) WatchOwnershipTransferred

func (_OneInchGovernance *OneInchGovernanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchGovernanceOwnershipTransferred, 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 (*OneInchGovernanceFilterer) WatchRemoveModule

func (_OneInchGovernance *OneInchGovernanceFilterer) WatchRemoveModule(opts *bind.WatchOpts, sink chan<- *OneInchGovernanceRemoveModule, module []common.Address) (event.Subscription, error)

WatchRemoveModule is a free log subscription operation binding the contract event 0x75f4e5771d2cdd015405ae76feb37f5792736e71ff18f8a9dd690772a48111a3.

Solidity: event RemoveModule(address indexed module)

func (*OneInchGovernanceFilterer) WatchTransfer

func (_OneInchGovernance *OneInchGovernanceFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OneInchGovernanceTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type OneInchGovernanceOwnershipTransferred

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

OneInchGovernanceOwnershipTransferred represents a OwnershipTransferred event raised by the OneInchGovernance contract.

type OneInchGovernanceOwnershipTransferredIterator

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

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

func (*OneInchGovernanceOwnershipTransferredIterator) Close

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

func (*OneInchGovernanceOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchGovernanceOwnershipTransferredIterator) 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 OneInchGovernanceRaw

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

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

func (*OneInchGovernanceRaw) Call

func (_OneInchGovernance *OneInchGovernanceRaw) 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 (*OneInchGovernanceRaw) Transact

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

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

func (*OneInchGovernanceRaw) Transfer

func (_OneInchGovernance *OneInchGovernanceRaw) 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 OneInchGovernanceRemoveModule

type OneInchGovernanceRemoveModule struct {
	Module common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

OneInchGovernanceRemoveModule represents a RemoveModule event raised by the OneInchGovernance contract.

type OneInchGovernanceRemoveModuleIterator

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

OneInchGovernanceRemoveModuleIterator is returned from FilterRemoveModule and is used to iterate over the raw logs and unpacked data for RemoveModule events raised by the OneInchGovernance contract.

func (*OneInchGovernanceRemoveModuleIterator) Close

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

func (*OneInchGovernanceRemoveModuleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchGovernanceRemoveModuleIterator) 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 OneInchGovernanceSession

type OneInchGovernanceSession struct {
	Contract     *OneInchGovernance // 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
}

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

func (*OneInchGovernanceSession) AddModule

func (_OneInchGovernance *OneInchGovernanceSession) AddModule(module common.Address) (*types.Transaction, error)

AddModule is a paid mutator transaction binding the contract method 0x1ed86f19.

Solidity: function addModule(address module) returns()

func (*OneInchGovernanceSession) BalanceOf

func (_OneInchGovernance *OneInchGovernanceSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*OneInchGovernanceSession) BatchNotifyFor

func (_OneInchGovernance *OneInchGovernanceSession) BatchNotifyFor(accounts []common.Address) (*types.Transaction, error)

BatchNotifyFor is a paid mutator transaction binding the contract method 0x5cf1cd2b.

Solidity: function batchNotifyFor(address[] accounts) returns()

func (*OneInchGovernanceSession) Decimals

func (_OneInchGovernance *OneInchGovernanceSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*OneInchGovernanceSession) InchToken

func (_OneInchGovernance *OneInchGovernanceSession) InchToken() (common.Address, error)

InchToken is a free data retrieval call binding the contract method 0xec954594.

Solidity: function inchToken() view returns(address)

func (*OneInchGovernanceSession) Name

func (_OneInchGovernance *OneInchGovernanceSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*OneInchGovernanceSession) Notify

func (_OneInchGovernance *OneInchGovernanceSession) Notify() (*types.Transaction, error)

Notify is a paid mutator transaction binding the contract method 0x899f5898.

Solidity: function notify() returns()

func (*OneInchGovernanceSession) NotifyFor

func (_OneInchGovernance *OneInchGovernanceSession) NotifyFor(account common.Address) (*types.Transaction, error)

NotifyFor is a paid mutator transaction binding the contract method 0x132b4fc8.

Solidity: function notifyFor(address account) returns()

func (*OneInchGovernanceSession) Owner

func (_OneInchGovernance *OneInchGovernanceSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchGovernanceSession) RemoveModule

func (_OneInchGovernance *OneInchGovernanceSession) RemoveModule(module common.Address) (*types.Transaction, error)

RemoveModule is a paid mutator transaction binding the contract method 0xa0632461.

Solidity: function removeModule(address module) returns()

func (*OneInchGovernanceSession) RenounceOwnership

func (_OneInchGovernance *OneInchGovernanceSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchGovernanceSession) Stake

func (_OneInchGovernance *OneInchGovernanceSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchGovernanceSession) Symbol

func (_OneInchGovernance *OneInchGovernanceSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*OneInchGovernanceSession) TotalSupply

func (_OneInchGovernance *OneInchGovernanceSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*OneInchGovernanceSession) TransferOwnership

func (_OneInchGovernance *OneInchGovernanceSession) 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 (*OneInchGovernanceSession) Unstake

func (_OneInchGovernance *OneInchGovernanceSession) Unstake(amount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amount) returns()

type OneInchGovernanceTransactor

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

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

func NewOneInchGovernanceTransactor

func NewOneInchGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchGovernanceTransactor, error)

NewOneInchGovernanceTransactor creates a new write-only instance of OneInchGovernance, bound to a specific deployed contract.

func (*OneInchGovernanceTransactor) AddModule

func (_OneInchGovernance *OneInchGovernanceTransactor) AddModule(opts *bind.TransactOpts, module common.Address) (*types.Transaction, error)

AddModule is a paid mutator transaction binding the contract method 0x1ed86f19.

Solidity: function addModule(address module) returns()

func (*OneInchGovernanceTransactor) BatchNotifyFor

func (_OneInchGovernance *OneInchGovernanceTransactor) BatchNotifyFor(opts *bind.TransactOpts, accounts []common.Address) (*types.Transaction, error)

BatchNotifyFor is a paid mutator transaction binding the contract method 0x5cf1cd2b.

Solidity: function batchNotifyFor(address[] accounts) returns()

func (*OneInchGovernanceTransactor) Notify

func (_OneInchGovernance *OneInchGovernanceTransactor) Notify(opts *bind.TransactOpts) (*types.Transaction, error)

Notify is a paid mutator transaction binding the contract method 0x899f5898.

Solidity: function notify() returns()

func (*OneInchGovernanceTransactor) NotifyFor

func (_OneInchGovernance *OneInchGovernanceTransactor) NotifyFor(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

NotifyFor is a paid mutator transaction binding the contract method 0x132b4fc8.

Solidity: function notifyFor(address account) returns()

func (*OneInchGovernanceTransactor) RemoveModule

func (_OneInchGovernance *OneInchGovernanceTransactor) RemoveModule(opts *bind.TransactOpts, module common.Address) (*types.Transaction, error)

RemoveModule is a paid mutator transaction binding the contract method 0xa0632461.

Solidity: function removeModule(address module) returns()

func (*OneInchGovernanceTransactor) RenounceOwnership

func (_OneInchGovernance *OneInchGovernanceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchGovernanceTransactor) Stake

func (_OneInchGovernance *OneInchGovernanceTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchGovernanceTransactor) TransferOwnership

func (_OneInchGovernance *OneInchGovernanceTransactor) 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 (*OneInchGovernanceTransactor) Unstake

func (_OneInchGovernance *OneInchGovernanceTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amount) returns()

type OneInchGovernanceTransactorRaw

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

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

func (*OneInchGovernanceTransactorRaw) Transact

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

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

func (*OneInchGovernanceTransactorRaw) Transfer

func (_OneInchGovernance *OneInchGovernanceTransactorRaw) 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 OneInchGovernanceTransactorSession

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

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

func (*OneInchGovernanceTransactorSession) AddModule

func (_OneInchGovernance *OneInchGovernanceTransactorSession) AddModule(module common.Address) (*types.Transaction, error)

AddModule is a paid mutator transaction binding the contract method 0x1ed86f19.

Solidity: function addModule(address module) returns()

func (*OneInchGovernanceTransactorSession) BatchNotifyFor

func (_OneInchGovernance *OneInchGovernanceTransactorSession) BatchNotifyFor(accounts []common.Address) (*types.Transaction, error)

BatchNotifyFor is a paid mutator transaction binding the contract method 0x5cf1cd2b.

Solidity: function batchNotifyFor(address[] accounts) returns()

func (*OneInchGovernanceTransactorSession) Notify

func (_OneInchGovernance *OneInchGovernanceTransactorSession) Notify() (*types.Transaction, error)

Notify is a paid mutator transaction binding the contract method 0x899f5898.

Solidity: function notify() returns()

func (*OneInchGovernanceTransactorSession) NotifyFor

func (_OneInchGovernance *OneInchGovernanceTransactorSession) NotifyFor(account common.Address) (*types.Transaction, error)

NotifyFor is a paid mutator transaction binding the contract method 0x132b4fc8.

Solidity: function notifyFor(address account) returns()

func (*OneInchGovernanceTransactorSession) RemoveModule

func (_OneInchGovernance *OneInchGovernanceTransactorSession) RemoveModule(module common.Address) (*types.Transaction, error)

RemoveModule is a paid mutator transaction binding the contract method 0xa0632461.

Solidity: function removeModule(address module) returns()

func (*OneInchGovernanceTransactorSession) RenounceOwnership

func (_OneInchGovernance *OneInchGovernanceTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchGovernanceTransactorSession) Stake

func (_OneInchGovernance *OneInchGovernanceTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*OneInchGovernanceTransactorSession) TransferOwnership

func (_OneInchGovernance *OneInchGovernanceTransactorSession) 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 (*OneInchGovernanceTransactorSession) Unstake

func (_OneInchGovernance *OneInchGovernanceTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 amount) returns()

type OneInchGovernanceTransfer

type OneInchGovernanceTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OneInchGovernanceTransfer represents a Transfer event raised by the OneInchGovernance contract.

type OneInchGovernanceTransferIterator

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

OneInchGovernanceTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the OneInchGovernance contract.

func (*OneInchGovernanceTransferIterator) Close

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

func (*OneInchGovernanceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchGovernanceTransferIterator) 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 OneInchOracle

type OneInchOracle struct {
	OneInchOracleCaller     // Read-only binding to the contract
	OneInchOracleTransactor // Write-only binding to the contract
	OneInchOracleFilterer   // Log filterer for contract events
}

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

func NewOneInchOracle

func NewOneInchOracle(address common.Address, backend bind.ContractBackend) (*OneInchOracle, error)

NewOneInchOracle creates a new instance of OneInchOracle, bound to a specific deployed contract.

type OneInchOracleCaller

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

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

func NewOneInchOracleCaller

func NewOneInchOracleCaller(address common.Address, caller bind.ContractCaller) (*OneInchOracleCaller, error)

NewOneInchOracleCaller creates a new read-only instance of OneInchOracle, bound to a specific deployed contract.

func (*OneInchOracleCaller) Connectors

func (_OneInchOracle *OneInchOracleCaller) Connectors(opts *bind.CallOpts) ([]common.Address, error)

Connectors is a free data retrieval call binding the contract method 0x65050a68.

Solidity: function connectors() view returns(address[] allConnectors)

func (*OneInchOracleCaller) GetRate

func (_OneInchOracle *OneInchOracleCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x802431fb.

Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleCaller) GetRateToEth

func (_OneInchOracle *OneInchOracleCaller) GetRateToEth(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool) (*big.Int, error)

GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.

Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleCaller) MultiWrapper

func (_OneInchOracle *OneInchOracleCaller) MultiWrapper(opts *bind.CallOpts) (common.Address, error)

MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.

Solidity: function multiWrapper() view returns(address)

func (*OneInchOracleCaller) Oracles

func (_OneInchOracle *OneInchOracleCaller) Oracles(opts *bind.CallOpts) (struct {
	AllOracles  []common.Address
	OracleTypes []uint8
}, error)

Oracles is a free data retrieval call binding the contract method 0x2857373a.

Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)

func (*OneInchOracleCaller) Owner

func (_OneInchOracle *OneInchOracleCaller) 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)

type OneInchOracleCallerRaw

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

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

func (*OneInchOracleCallerRaw) Call

func (_OneInchOracle *OneInchOracleCallerRaw) 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 OneInchOracleCallerSession

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

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

func (*OneInchOracleCallerSession) Connectors

func (_OneInchOracle *OneInchOracleCallerSession) Connectors() ([]common.Address, error)

Connectors is a free data retrieval call binding the contract method 0x65050a68.

Solidity: function connectors() view returns(address[] allConnectors)

func (*OneInchOracleCallerSession) GetRate

func (_OneInchOracle *OneInchOracleCallerSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x802431fb.

Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleCallerSession) GetRateToEth

func (_OneInchOracle *OneInchOracleCallerSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)

GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.

Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleCallerSession) MultiWrapper

func (_OneInchOracle *OneInchOracleCallerSession) MultiWrapper() (common.Address, error)

MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.

Solidity: function multiWrapper() view returns(address)

func (*OneInchOracleCallerSession) Oracles

func (_OneInchOracle *OneInchOracleCallerSession) Oracles() (struct {
	AllOracles  []common.Address
	OracleTypes []uint8
}, error)

Oracles is a free data retrieval call binding the contract method 0x2857373a.

Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)

func (*OneInchOracleCallerSession) Owner

func (_OneInchOracle *OneInchOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OneInchOracleConnectorAdded

type OneInchOracleConnectorAdded struct {
	Connector common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OneInchOracleConnectorAdded represents a ConnectorAdded event raised by the OneInchOracle contract.

type OneInchOracleConnectorAddedIterator

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

OneInchOracleConnectorAddedIterator is returned from FilterConnectorAdded and is used to iterate over the raw logs and unpacked data for ConnectorAdded events raised by the OneInchOracle contract.

func (*OneInchOracleConnectorAddedIterator) Close

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

func (*OneInchOracleConnectorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleConnectorAddedIterator) 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 OneInchOracleConnectorRemoved

type OneInchOracleConnectorRemoved struct {
	Connector common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OneInchOracleConnectorRemoved represents a ConnectorRemoved event raised by the OneInchOracle contract.

type OneInchOracleConnectorRemovedIterator

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

OneInchOracleConnectorRemovedIterator is returned from FilterConnectorRemoved and is used to iterate over the raw logs and unpacked data for ConnectorRemoved events raised by the OneInchOracle contract.

func (*OneInchOracleConnectorRemovedIterator) Close

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

func (*OneInchOracleConnectorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleConnectorRemovedIterator) 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 OneInchOracleFilterer

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

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

func NewOneInchOracleFilterer

func NewOneInchOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchOracleFilterer, error)

NewOneInchOracleFilterer creates a new log filterer instance of OneInchOracle, bound to a specific deployed contract.

func (*OneInchOracleFilterer) FilterConnectorAdded

func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorAdded(opts *bind.FilterOpts) (*OneInchOracleConnectorAddedIterator, error)

FilterConnectorAdded is a free log retrieval operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneInchOracleFilterer) FilterConnectorRemoved

func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorRemoved(opts *bind.FilterOpts) (*OneInchOracleConnectorRemovedIterator, error)

FilterConnectorRemoved is a free log retrieval operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneInchOracleFilterer) FilterMultiWrapperUpdated

func (_OneInchOracle *OneInchOracleFilterer) FilterMultiWrapperUpdated(opts *bind.FilterOpts) (*OneInchOracleMultiWrapperUpdatedIterator, error)

FilterMultiWrapperUpdated is a free log retrieval operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneInchOracleFilterer) FilterOracleAdded

func (_OneInchOracle *OneInchOracleFilterer) FilterOracleAdded(opts *bind.FilterOpts) (*OneInchOracleOracleAddedIterator, error)

FilterOracleAdded is a free log retrieval operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) FilterOracleRemoved

func (_OneInchOracle *OneInchOracleFilterer) FilterOracleRemoved(opts *bind.FilterOpts) (*OneInchOracleOracleRemovedIterator, error)

FilterOracleRemoved is a free log retrieval operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) FilterOwnershipTransferred

func (_OneInchOracle *OneInchOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneInchOracleOwnershipTransferredIterator, error)

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

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

func (*OneInchOracleFilterer) ParseConnectorAdded

func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorAdded(log types.Log) (*OneInchOracleConnectorAdded, error)

ParseConnectorAdded is a log parse operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneInchOracleFilterer) ParseConnectorRemoved

func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorRemoved(log types.Log) (*OneInchOracleConnectorRemoved, error)

ParseConnectorRemoved is a log parse operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneInchOracleFilterer) ParseMultiWrapperUpdated

func (_OneInchOracle *OneInchOracleFilterer) ParseMultiWrapperUpdated(log types.Log) (*OneInchOracleMultiWrapperUpdated, error)

ParseMultiWrapperUpdated is a log parse operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneInchOracleFilterer) ParseOracleAdded

func (_OneInchOracle *OneInchOracleFilterer) ParseOracleAdded(log types.Log) (*OneInchOracleOracleAdded, error)

ParseOracleAdded is a log parse operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) ParseOracleRemoved

func (_OneInchOracle *OneInchOracleFilterer) ParseOracleRemoved(log types.Log) (*OneInchOracleOracleRemoved, error)

ParseOracleRemoved is a log parse operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) ParseOwnershipTransferred

func (_OneInchOracle *OneInchOracleFilterer) ParseOwnershipTransferred(log types.Log) (*OneInchOracleOwnershipTransferred, error)

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

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

func (*OneInchOracleFilterer) WatchConnectorAdded

func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorAdded) (event.Subscription, error)

WatchConnectorAdded is a free log subscription operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneInchOracleFilterer) WatchConnectorRemoved

func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorRemoved) (event.Subscription, error)

WatchConnectorRemoved is a free log subscription operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneInchOracleFilterer) WatchMultiWrapperUpdated

func (_OneInchOracle *OneInchOracleFilterer) WatchMultiWrapperUpdated(opts *bind.WatchOpts, sink chan<- *OneInchOracleMultiWrapperUpdated) (event.Subscription, error)

WatchMultiWrapperUpdated is a free log subscription operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneInchOracleFilterer) WatchOracleAdded

func (_OneInchOracle *OneInchOracleFilterer) WatchOracleAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleAdded) (event.Subscription, error)

WatchOracleAdded is a free log subscription operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) WatchOracleRemoved

func (_OneInchOracle *OneInchOracleFilterer) WatchOracleRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleRemoved) (event.Subscription, error)

WatchOracleRemoved is a free log subscription operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneInchOracleFilterer) WatchOwnershipTransferred

func (_OneInchOracle *OneInchOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchOracleOwnershipTransferred, 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)

type OneInchOracleMultiWrapperUpdated

type OneInchOracleMultiWrapperUpdated struct {
	MultiWrapper common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

OneInchOracleMultiWrapperUpdated represents a MultiWrapperUpdated event raised by the OneInchOracle contract.

type OneInchOracleMultiWrapperUpdatedIterator

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

OneInchOracleMultiWrapperUpdatedIterator is returned from FilterMultiWrapperUpdated and is used to iterate over the raw logs and unpacked data for MultiWrapperUpdated events raised by the OneInchOracle contract.

func (*OneInchOracleMultiWrapperUpdatedIterator) Close

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

func (*OneInchOracleMultiWrapperUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleMultiWrapperUpdatedIterator) 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 OneInchOracleOracleAdded

type OneInchOracleOracleAdded struct {
	Oracle     common.Address
	OracleType uint8
	Raw        types.Log // Blockchain specific contextual infos
}

OneInchOracleOracleAdded represents a OracleAdded event raised by the OneInchOracle contract.

type OneInchOracleOracleAddedIterator

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

OneInchOracleOracleAddedIterator is returned from FilterOracleAdded and is used to iterate over the raw logs and unpacked data for OracleAdded events raised by the OneInchOracle contract.

func (*OneInchOracleOracleAddedIterator) Close

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

func (*OneInchOracleOracleAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOracleAddedIterator) 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 OneInchOracleOracleRemoved

type OneInchOracleOracleRemoved struct {
	Oracle     common.Address
	OracleType uint8
	Raw        types.Log // Blockchain specific contextual infos
}

OneInchOracleOracleRemoved represents a OracleRemoved event raised by the OneInchOracle contract.

type OneInchOracleOracleRemovedIterator

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

OneInchOracleOracleRemovedIterator is returned from FilterOracleRemoved and is used to iterate over the raw logs and unpacked data for OracleRemoved events raised by the OneInchOracle contract.

func (*OneInchOracleOracleRemovedIterator) Close

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

func (*OneInchOracleOracleRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOracleRemovedIterator) 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 OneInchOracleOwnershipTransferred

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

OneInchOracleOwnershipTransferred represents a OwnershipTransferred event raised by the OneInchOracle contract.

type OneInchOracleOwnershipTransferredIterator

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

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

func (*OneInchOracleOwnershipTransferredIterator) Close

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

func (*OneInchOracleOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOwnershipTransferredIterator) 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 OneInchOracleRaw

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

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

func (*OneInchOracleRaw) Call

func (_OneInchOracle *OneInchOracleRaw) 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 (*OneInchOracleRaw) Transact

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

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

func (*OneInchOracleRaw) Transfer

func (_OneInchOracle *OneInchOracleRaw) 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 OneInchOracleSession

type OneInchOracleSession struct {
	Contract     *OneInchOracle    // 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
}

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

func (*OneInchOracleSession) AddConnector

func (_OneInchOracle *OneInchOracleSession) AddConnector(connector common.Address) (*types.Transaction, error)

AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.

Solidity: function addConnector(address connector) returns()

func (*OneInchOracleSession) AddOracle

func (_OneInchOracle *OneInchOracleSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)

AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.

Solidity: function addOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleSession) Connectors

func (_OneInchOracle *OneInchOracleSession) Connectors() ([]common.Address, error)

Connectors is a free data retrieval call binding the contract method 0x65050a68.

Solidity: function connectors() view returns(address[] allConnectors)

func (*OneInchOracleSession) GetRate

func (_OneInchOracle *OneInchOracleSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x802431fb.

Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleSession) GetRateToEth

func (_OneInchOracle *OneInchOracleSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)

GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.

Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)

func (*OneInchOracleSession) MultiWrapper

func (_OneInchOracle *OneInchOracleSession) MultiWrapper() (common.Address, error)

MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.

Solidity: function multiWrapper() view returns(address)

func (*OneInchOracleSession) Oracles

func (_OneInchOracle *OneInchOracleSession) Oracles() (struct {
	AllOracles  []common.Address
	OracleTypes []uint8
}, error)

Oracles is a free data retrieval call binding the contract method 0x2857373a.

Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)

func (*OneInchOracleSession) Owner

func (_OneInchOracle *OneInchOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneInchOracleSession) RemoveConnector

func (_OneInchOracle *OneInchOracleSession) RemoveConnector(connector common.Address) (*types.Transaction, error)

RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.

Solidity: function removeConnector(address connector) returns()

func (*OneInchOracleSession) RemoveOracle

func (_OneInchOracle *OneInchOracleSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)

RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.

Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleSession) RenounceOwnership

func (_OneInchOracle *OneInchOracleSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchOracleSession) SetMultiWrapper

func (_OneInchOracle *OneInchOracleSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)

SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.

Solidity: function setMultiWrapper(address _multiWrapper) returns()

func (*OneInchOracleSession) TransferOwnership

func (_OneInchOracle *OneInchOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type OneInchOracleTransactor

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

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

func NewOneInchOracleTransactor

func NewOneInchOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchOracleTransactor, error)

NewOneInchOracleTransactor creates a new write-only instance of OneInchOracle, bound to a specific deployed contract.

func (*OneInchOracleTransactor) AddConnector

func (_OneInchOracle *OneInchOracleTransactor) AddConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)

AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.

Solidity: function addConnector(address connector) returns()

func (*OneInchOracleTransactor) AddOracle

func (_OneInchOracle *OneInchOracleTransactor) AddOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)

AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.

Solidity: function addOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleTransactor) RemoveConnector

func (_OneInchOracle *OneInchOracleTransactor) RemoveConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)

RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.

Solidity: function removeConnector(address connector) returns()

func (*OneInchOracleTransactor) RemoveOracle

func (_OneInchOracle *OneInchOracleTransactor) RemoveOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)

RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.

Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleTransactor) RenounceOwnership

func (_OneInchOracle *OneInchOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchOracleTransactor) SetMultiWrapper

func (_OneInchOracle *OneInchOracleTransactor) SetMultiWrapper(opts *bind.TransactOpts, _multiWrapper common.Address) (*types.Transaction, error)

SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.

Solidity: function setMultiWrapper(address _multiWrapper) returns()

func (*OneInchOracleTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type OneInchOracleTransactorRaw

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

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

func (*OneInchOracleTransactorRaw) Transact

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

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

func (*OneInchOracleTransactorRaw) Transfer

func (_OneInchOracle *OneInchOracleTransactorRaw) 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 OneInchOracleTransactorSession

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

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

func (*OneInchOracleTransactorSession) AddConnector

func (_OneInchOracle *OneInchOracleTransactorSession) AddConnector(connector common.Address) (*types.Transaction, error)

AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.

Solidity: function addConnector(address connector) returns()

func (*OneInchOracleTransactorSession) AddOracle

func (_OneInchOracle *OneInchOracleTransactorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)

AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.

Solidity: function addOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleTransactorSession) RemoveConnector

func (_OneInchOracle *OneInchOracleTransactorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)

RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.

Solidity: function removeConnector(address connector) returns()

func (*OneInchOracleTransactorSession) RemoveOracle

func (_OneInchOracle *OneInchOracleTransactorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)

RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.

Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()

func (*OneInchOracleTransactorSession) RenounceOwnership

func (_OneInchOracle *OneInchOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneInchOracleTransactorSession) SetMultiWrapper

func (_OneInchOracle *OneInchOracleTransactorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)

SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.

Solidity: function setMultiWrapper(address _multiWrapper) returns()

func (*OneInchOracleTransactorSession) TransferOwnership

func (_OneInchOracle *OneInchOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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