frax_unified_farm_erc20_convex

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FraxUnifiedFarmErc20ConvexABI = FraxUnifiedFarmErc20ConvexMetaData.ABI

FraxUnifiedFarmErc20ConvexABI is the input ABI used to generate the binding from. Deprecated: Use FraxUnifiedFarmErc20ConvexMetaData.ABI instead.

View Source
var FraxUnifiedFarmErc20ConvexMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_rewardTokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_rewardManagers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_rewardRates\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_gaugeControllers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_rewardDistributors\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"_stakingToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"secs\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"source_address\",\"type\":\"address\"}],\"name\":\"StakeLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"}],\"name\":\"WithdrawLocked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"calcCurCombinedWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"old_combined_weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"new_vefxs_multiplier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"new_combined_weight\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward_token_address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"new_manager_address\",\"type\":\"address\"}],\"name\":\"changeTokenManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"combinedWeightOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"curvePool\",\"outputs\":[{\"internalType\":\"contractI2pool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"new_earned\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fraxPerLPStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fraxPerLPToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllRewardTokens\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getProxyFor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"}],\"name\":\"getReward\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"claim_extra_too\",\"type\":\"bool\"}],\"name\":\"getReward2\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"}],\"name\":\"getRewardExtraLogic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardForDuration\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"rewards_per_duration_arr\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller_addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward_token_addr\",\"type\":\"address\"}],\"name\":\"isTokenManagerFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"addl_liq\",\"type\":\"uint256\"}],\"name\":\"lockAdditional\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"secs\",\"type\":\"uint256\"}],\"name\":\"lockMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lock_max_multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lock_time_for_max_multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lock_time_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"lockedLiquidityOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lockedStakes\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"start_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ending_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lock_multiplier\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"lockedStakesOf\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"start_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ending_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lock_multiplier\",\"type\":\"uint256\"}],\"internalType\":\"structFraxUnifiedFarm_ERC20.LockedStake[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"lockedStakesOfLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"maxLPForMaxBoost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secs\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start_timestamp\",\"type\":\"uint256\"}],\"name\":\"migrator_stakeLocked_for\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker_address\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"}],\"name\":\"migrator_withdraw_locked\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"minVeFXSForMaxBoost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proxy_address\",\"type\":\"address\"}],\"name\":\"minVeFXSForMaxBoostProxy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"address\",\"name\":\"proxy_address\",\"type\":\"address\"}],\"name\":\"proxyStakedFrax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker_address\",\"type\":\"address\"}],\"name\":\"proxyToggleStaker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"proxy_lp_balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardManagers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token_idx\",\"type\":\"uint256\"}],\"name\":\"rewardRates\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rwd_rate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardTokenAddrToIdx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsPerToken\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"newRewardsPerTokenStored\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[6]\",\"name\":\"_misc_vars\",\"type\":\"uint256[6]\"}],\"name\":\"setMiscVariables\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_stakingPaused\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_withdrawalsPaused\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_rewardsCollectionPaused\",\"type\":\"bool\"}],\"name\":\"setPauses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward_token_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_new_rate\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_gauge_controller_address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewards_distributor_address\",\"type\":\"address\"}],\"name\":\"setRewardVars\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secs\",\"type\":\"uint256\"}],\"name\":\"stakeLocked\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proxy_address\",\"type\":\"address\"}],\"name\":\"stakerSetVeFXSProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"migrator_address\",\"type\":\"address\"}],\"name\":\"stakerToggleMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"staker_designated_proxies\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakesUnlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakingToken\",\"outputs\":[{\"internalType\":\"contractIConvexStakingWrapperFrax\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"force_update\",\"type\":\"bool\"}],\"name\":\"sync_gauge_weights\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleMigrations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"migrator_address\",\"type\":\"address\"}],\"name\":\"toggleMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_proxy_addr\",\"type\":\"address\"}],\"name\":\"toggleValidVeFXSProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalCombinedWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalLiquidityLocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStakes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"userStakedFrax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"veFXSMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"vefxs_multiplier\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vefxs_boost_scale_factor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vefxs_max_multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vefxs_per_frax_for_max_boost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"}],\"name\":\"withdrawLocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

FraxUnifiedFarmErc20ConvexMetaData contains all meta data concerning the FraxUnifiedFarmErc20Convex contract.

Functions

This section is empty.

Types

type FraxUnifiedFarmERC20LockedStake

type FraxUnifiedFarmERC20LockedStake struct {
	KekId           [32]byte
	StartTimestamp  *big.Int
	Liquidity       *big.Int
	EndingTimestamp *big.Int
	LockMultiplier  *big.Int
}

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

type FraxUnifiedFarmErc20Convex

type FraxUnifiedFarmErc20Convex struct {
	FraxUnifiedFarmErc20ConvexCaller     // Read-only binding to the contract
	FraxUnifiedFarmErc20ConvexTransactor // Write-only binding to the contract
	FraxUnifiedFarmErc20ConvexFilterer   // Log filterer for contract events
}

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

func NewFraxUnifiedFarmErc20Convex

func NewFraxUnifiedFarmErc20Convex(address common.Address, backend bind.ContractBackend) (*FraxUnifiedFarmErc20Convex, error)

NewFraxUnifiedFarmErc20Convex creates a new instance of FraxUnifiedFarmErc20Convex, bound to a specific deployed contract.

type FraxUnifiedFarmErc20ConvexCaller

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

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

func NewFraxUnifiedFarmErc20ConvexCaller

func NewFraxUnifiedFarmErc20ConvexCaller(address common.Address, caller bind.ContractCaller) (*FraxUnifiedFarmErc20ConvexCaller, error)

NewFraxUnifiedFarmErc20ConvexCaller creates a new read-only instance of FraxUnifiedFarmErc20Convex, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20ConvexCaller) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) CalcCurCombinedWeight(opts *bind.CallOpts, account common.Address) (struct {
	OldCombinedWeight  *big.Int
	NewVefxsMultiplier *big.Int
	NewCombinedWeight  *big.Int
}, error)

CalcCurCombinedWeight is a free data retrieval call binding the contract method 0x8bad86a7.

Solidity: function calcCurCombinedWeight(address account) view returns(uint256 old_combined_weight, uint256 new_vefxs_multiplier, uint256 new_combined_weight)

func (*FraxUnifiedFarmErc20ConvexCaller) CombinedWeightOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) CombinedWeightOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

CombinedWeightOf is a free data retrieval call binding the contract method 0x36f89af2.

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

func (*FraxUnifiedFarmErc20ConvexCaller) CurvePool

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) CurvePool(opts *bind.CallOpts) (common.Address, error)

CurvePool is a free data retrieval call binding the contract method 0x218751b2.

Solidity: function curvePool() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) Earned

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) 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[] new_earned)

func (*FraxUnifiedFarmErc20ConvexCaller) FraxPerLPStored

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) FraxPerLPStored(opts *bind.CallOpts) (*big.Int, error)

FraxPerLPStored is a free data retrieval call binding the contract method 0xd2010fb4.

Solidity: function fraxPerLPStored() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) FraxPerLPToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) FraxPerLPToken(opts *bind.CallOpts) (*big.Int, error)

FraxPerLPToken is a free data retrieval call binding the contract method 0x5bfd9258.

Solidity: function fraxPerLPToken() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) GetAllRewardTokens

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) GetAllRewardTokens(opts *bind.CallOpts) ([]common.Address, error)

GetAllRewardTokens is a free data retrieval call binding the contract method 0x12edb24c.

Solidity: function getAllRewardTokens() view returns(address[])

func (*FraxUnifiedFarmErc20ConvexCaller) GetProxyFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) GetProxyFor(opts *bind.CallOpts, addr common.Address) (common.Address, error)

GetProxyFor is a free data retrieval call binding the contract method 0xc3543826.

Solidity: function getProxyFor(address addr) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) GetRewardForDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) GetRewardForDuration(opts *bind.CallOpts) ([]*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256[] rewards_per_duration_arr)

func (*FraxUnifiedFarmErc20ConvexCaller) IsTokenManagerFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) IsTokenManagerFor(opts *bind.CallOpts, caller_addr common.Address, reward_token_addr common.Address) (bool, error)

IsTokenManagerFor is a free data retrieval call binding the contract method 0x231b68dc.

Solidity: function isTokenManagerFor(address caller_addr, address reward_token_addr) view returns(bool)

func (*FraxUnifiedFarmErc20ConvexCaller) LastUpdateTime

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) 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 (*FraxUnifiedFarmErc20ConvexCaller) LockMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockMaxMultiplier(opts *bind.CallOpts) (*big.Int, error)

LockMaxMultiplier is a free data retrieval call binding the contract method 0xcdc82e80.

Solidity: function lock_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) LockMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockMultiplier(opts *bind.CallOpts, secs *big.Int) (*big.Int, error)

LockMultiplier is a free data retrieval call binding the contract method 0x0d7bac4f.

Solidity: function lockMultiplier(uint256 secs) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockTimeForMaxMultiplier(opts *bind.CallOpts) (*big.Int, error)

LockTimeForMaxMultiplier is a free data retrieval call binding the contract method 0xb94c4dcb.

Solidity: function lock_time_for_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) LockTimeMin

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockTimeMin(opts *bind.CallOpts) (*big.Int, error)

LockTimeMin is a free data retrieval call binding the contract method 0x6e27cef9.

Solidity: function lock_time_min() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) LockedLiquidityOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockedLiquidityOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

LockedLiquidityOf is a free data retrieval call binding the contract method 0xd9f96e8d.

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

func (*FraxUnifiedFarmErc20ConvexCaller) LockedStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockedStakes(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	KekId           [32]byte
	StartTimestamp  *big.Int
	Liquidity       *big.Int
	EndingTimestamp *big.Int
	LockMultiplier  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0x7970833e.

Solidity: function lockedStakes(address , uint256 ) view returns(bytes32 kek_id, uint256 start_timestamp, uint256 liquidity, uint256 ending_timestamp, uint256 lock_multiplier)

func (*FraxUnifiedFarmErc20ConvexCaller) LockedStakesOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockedStakesOf(opts *bind.CallOpts, account common.Address) ([]FraxUnifiedFarmERC20LockedStake, error)

LockedStakesOf is a free data retrieval call binding the contract method 0x1e090f01.

Solidity: function lockedStakesOf(address account) view returns((bytes32,uint256,uint256,uint256,uint256)[])

func (*FraxUnifiedFarmErc20ConvexCaller) LockedStakesOfLength

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) LockedStakesOfLength(opts *bind.CallOpts, account common.Address) (*big.Int, error)

LockedStakesOfLength is a free data retrieval call binding the contract method 0xca6df29d.

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

func (*FraxUnifiedFarmErc20ConvexCaller) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) MaxLPForMaxBoost(opts *bind.CallOpts, account common.Address) (*big.Int, error)

MaxLPForMaxBoost is a free data retrieval call binding the contract method 0xa0f23476.

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

func (*FraxUnifiedFarmErc20ConvexCaller) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) MinVeFXSForMaxBoost(opts *bind.CallOpts, account common.Address) (*big.Int, error)

MinVeFXSForMaxBoost is a free data retrieval call binding the contract method 0x4fd2b536.

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

func (*FraxUnifiedFarmErc20ConvexCaller) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) MinVeFXSForMaxBoostProxy(opts *bind.CallOpts, proxy_address common.Address) (*big.Int, error)

MinVeFXSForMaxBoostProxy is a free data retrieval call binding the contract method 0x7f472e54.

Solidity: function minVeFXSForMaxBoostProxy(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) NominatedOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) Owner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) 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 (*FraxUnifiedFarmErc20ConvexCaller) PeriodFinish

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) 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 (*FraxUnifiedFarmErc20ConvexCaller) ProxyLpBalances

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) ProxyLpBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProxyLpBalances is a free data retrieval call binding the contract method 0x7d6ef08e.

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

func (*FraxUnifiedFarmErc20ConvexCaller) ProxyStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) ProxyStakedFrax(opts *bind.CallOpts, proxy_address common.Address) (*big.Int, error)

ProxyStakedFrax is a free data retrieval call binding the contract method 0x1face856.

Solidity: function proxyStakedFrax(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) RewardManagers

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) RewardManagers(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RewardManagers is a free data retrieval call binding the contract method 0x41a16f3f.

Solidity: function rewardManagers(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) RewardRates

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) RewardRates(opts *bind.CallOpts, token_idx *big.Int) (*big.Int, error)

RewardRates is a free data retrieval call binding the contract method 0xf2caeb1e.

Solidity: function rewardRates(uint256 token_idx) view returns(uint256 rwd_rate)

func (*FraxUnifiedFarmErc20ConvexCaller) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) RewardTokenAddrToIdx(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RewardTokenAddrToIdx is a free data retrieval call binding the contract method 0x69339245.

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

func (*FraxUnifiedFarmErc20ConvexCaller) RewardsDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) RewardsDuration(opts *bind.CallOpts) (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) RewardsPerToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) RewardsPerToken(opts *bind.CallOpts) ([]*big.Int, error)

RewardsPerToken is a free data retrieval call binding the contract method 0x70641a36.

Solidity: function rewardsPerToken() view returns(uint256[] newRewardsPerTokenStored)

func (*FraxUnifiedFarmErc20ConvexCaller) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) StakerDesignatedProxies(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

StakerDesignatedProxies is a free data retrieval call binding the contract method 0x28408bab.

Solidity: function staker_designated_proxies(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) StakesUnlocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) StakesUnlocked(opts *bind.CallOpts) (bool, error)

StakesUnlocked is a free data retrieval call binding the contract method 0x9637927f.

Solidity: function stakesUnlocked() view returns(bool)

func (*FraxUnifiedFarmErc20ConvexCaller) StakingToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) StakingToken(opts *bind.CallOpts) (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCaller) TotalCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) TotalCombinedWeight(opts *bind.CallOpts) (*big.Int, error)

TotalCombinedWeight is a free data retrieval call binding the contract method 0x64f2c060.

Solidity: function totalCombinedWeight() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) TotalLiquidityLocked(opts *bind.CallOpts) (*big.Int, error)

TotalLiquidityLocked is a free data retrieval call binding the contract method 0xe01f62bf.

Solidity: function totalLiquidityLocked() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) UserStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) UserStakedFrax(opts *bind.CallOpts, account common.Address) (*big.Int, error)

UserStakedFrax is a free data retrieval call binding the contract method 0xd42fc9b4.

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

func (*FraxUnifiedFarmErc20ConvexCaller) VeFXSMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) VeFXSMultiplier(opts *bind.CallOpts, account common.Address) (*big.Int, error)

VeFXSMultiplier is a free data retrieval call binding the contract method 0x2c0c2a0a.

Solidity: function veFXSMultiplier(address account) view returns(uint256 vefxs_multiplier)

func (*FraxUnifiedFarmErc20ConvexCaller) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) VefxsBoostScaleFactor(opts *bind.CallOpts) (*big.Int, error)

VefxsBoostScaleFactor is a free data retrieval call binding the contract method 0xaa1d4fce.

Solidity: function vefxs_boost_scale_factor() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) VefxsMaxMultiplier(opts *bind.CallOpts) (*big.Int, error)

VefxsMaxMultiplier is a free data retrieval call binding the contract method 0xf288baf6.

Solidity: function vefxs_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCaller) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCaller) VefxsPerFraxForMaxBoost(opts *bind.CallOpts) (*big.Int, error)

VefxsPerFraxForMaxBoost is a free data retrieval call binding the contract method 0xf2a8d349.

Solidity: function vefxs_per_frax_for_max_boost() view returns(uint256)

type FraxUnifiedFarmErc20ConvexCallerRaw

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

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

func (*FraxUnifiedFarmErc20ConvexCallerRaw) Call

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerRaw) 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 FraxUnifiedFarmErc20ConvexCallerSession

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

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) CalcCurCombinedWeight(account common.Address) (struct {
	OldCombinedWeight  *big.Int
	NewVefxsMultiplier *big.Int
	NewCombinedWeight  *big.Int
}, error)

CalcCurCombinedWeight is a free data retrieval call binding the contract method 0x8bad86a7.

Solidity: function calcCurCombinedWeight(address account) view returns(uint256 old_combined_weight, uint256 new_vefxs_multiplier, uint256 new_combined_weight)

func (*FraxUnifiedFarmErc20ConvexCallerSession) CombinedWeightOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) CombinedWeightOf(account common.Address) (*big.Int, error)

CombinedWeightOf is a free data retrieval call binding the contract method 0x36f89af2.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) CurvePool

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) CurvePool() (common.Address, error)

CurvePool is a free data retrieval call binding the contract method 0x218751b2.

Solidity: function curvePool() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) Earned

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) 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[] new_earned)

func (*FraxUnifiedFarmErc20ConvexCallerSession) FraxPerLPStored

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) FraxPerLPStored() (*big.Int, error)

FraxPerLPStored is a free data retrieval call binding the contract method 0xd2010fb4.

Solidity: function fraxPerLPStored() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) FraxPerLPToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) FraxPerLPToken() (*big.Int, error)

FraxPerLPToken is a free data retrieval call binding the contract method 0x5bfd9258.

Solidity: function fraxPerLPToken() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) GetAllRewardTokens

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) GetAllRewardTokens() ([]common.Address, error)

GetAllRewardTokens is a free data retrieval call binding the contract method 0x12edb24c.

Solidity: function getAllRewardTokens() view returns(address[])

func (*FraxUnifiedFarmErc20ConvexCallerSession) GetProxyFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) GetProxyFor(addr common.Address) (common.Address, error)

GetProxyFor is a free data retrieval call binding the contract method 0xc3543826.

Solidity: function getProxyFor(address addr) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) GetRewardForDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) GetRewardForDuration() ([]*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256[] rewards_per_duration_arr)

func (*FraxUnifiedFarmErc20ConvexCallerSession) IsTokenManagerFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) IsTokenManagerFor(caller_addr common.Address, reward_token_addr common.Address) (bool, error)

IsTokenManagerFor is a free data retrieval call binding the contract method 0x231b68dc.

Solidity: function isTokenManagerFor(address caller_addr, address reward_token_addr) view returns(bool)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LastUpdateTime

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LastUpdateTime() (*big.Int, error)

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

Solidity: function lastUpdateTime() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockMaxMultiplier() (*big.Int, error)

LockMaxMultiplier is a free data retrieval call binding the contract method 0xcdc82e80.

Solidity: function lock_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockMultiplier(secs *big.Int) (*big.Int, error)

LockMultiplier is a free data retrieval call binding the contract method 0x0d7bac4f.

Solidity: function lockMultiplier(uint256 secs) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockTimeForMaxMultiplier() (*big.Int, error)

LockTimeForMaxMultiplier is a free data retrieval call binding the contract method 0xb94c4dcb.

Solidity: function lock_time_for_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockTimeMin

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockTimeMin() (*big.Int, error)

LockTimeMin is a free data retrieval call binding the contract method 0x6e27cef9.

Solidity: function lock_time_min() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockedLiquidityOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockedLiquidityOf(account common.Address) (*big.Int, error)

LockedLiquidityOf is a free data retrieval call binding the contract method 0xd9f96e8d.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockedStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockedStakes(arg0 common.Address, arg1 *big.Int) (struct {
	KekId           [32]byte
	StartTimestamp  *big.Int
	Liquidity       *big.Int
	EndingTimestamp *big.Int
	LockMultiplier  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0x7970833e.

Solidity: function lockedStakes(address , uint256 ) view returns(bytes32 kek_id, uint256 start_timestamp, uint256 liquidity, uint256 ending_timestamp, uint256 lock_multiplier)

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockedStakesOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockedStakesOf(account common.Address) ([]FraxUnifiedFarmERC20LockedStake, error)

LockedStakesOf is a free data retrieval call binding the contract method 0x1e090f01.

Solidity: function lockedStakesOf(address account) view returns((bytes32,uint256,uint256,uint256,uint256)[])

func (*FraxUnifiedFarmErc20ConvexCallerSession) LockedStakesOfLength

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) LockedStakesOfLength(account common.Address) (*big.Int, error)

LockedStakesOfLength is a free data retrieval call binding the contract method 0xca6df29d.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) MaxLPForMaxBoost(account common.Address) (*big.Int, error)

MaxLPForMaxBoost is a free data retrieval call binding the contract method 0xa0f23476.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) MinVeFXSForMaxBoost(account common.Address) (*big.Int, error)

MinVeFXSForMaxBoost is a free data retrieval call binding the contract method 0x4fd2b536.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) MinVeFXSForMaxBoostProxy(proxy_address common.Address) (*big.Int, error)

MinVeFXSForMaxBoostProxy is a free data retrieval call binding the contract method 0x7f472e54.

Solidity: function minVeFXSForMaxBoostProxy(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) NominatedOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) Owner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) PeriodFinish

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) PeriodFinish() (*big.Int, error)

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

Solidity: function periodFinish() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) ProxyLpBalances

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) ProxyLpBalances(arg0 common.Address) (*big.Int, error)

ProxyLpBalances is a free data retrieval call binding the contract method 0x7d6ef08e.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) ProxyStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) ProxyStakedFrax(proxy_address common.Address) (*big.Int, error)

ProxyStakedFrax is a free data retrieval call binding the contract method 0x1face856.

Solidity: function proxyStakedFrax(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) RewardManagers

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) RewardManagers(arg0 common.Address) (common.Address, error)

RewardManagers is a free data retrieval call binding the contract method 0x41a16f3f.

Solidity: function rewardManagers(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) RewardRates

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) RewardRates(token_idx *big.Int) (*big.Int, error)

RewardRates is a free data retrieval call binding the contract method 0xf2caeb1e.

Solidity: function rewardRates(uint256 token_idx) view returns(uint256 rwd_rate)

func (*FraxUnifiedFarmErc20ConvexCallerSession) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) RewardTokenAddrToIdx(arg0 common.Address) (*big.Int, error)

RewardTokenAddrToIdx is a free data retrieval call binding the contract method 0x69339245.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) RewardsDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) RewardsPerToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) RewardsPerToken() ([]*big.Int, error)

RewardsPerToken is a free data retrieval call binding the contract method 0x70641a36.

Solidity: function rewardsPerToken() view returns(uint256[] newRewardsPerTokenStored)

func (*FraxUnifiedFarmErc20ConvexCallerSession) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) StakerDesignatedProxies(arg0 common.Address) (common.Address, error)

StakerDesignatedProxies is a free data retrieval call binding the contract method 0x28408bab.

Solidity: function staker_designated_proxies(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) StakesUnlocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) StakesUnlocked() (bool, error)

StakesUnlocked is a free data retrieval call binding the contract method 0x9637927f.

Solidity: function stakesUnlocked() view returns(bool)

func (*FraxUnifiedFarmErc20ConvexCallerSession) StakingToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*FraxUnifiedFarmErc20ConvexCallerSession) TotalCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) TotalCombinedWeight() (*big.Int, error)

TotalCombinedWeight is a free data retrieval call binding the contract method 0x64f2c060.

Solidity: function totalCombinedWeight() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) TotalLiquidityLocked() (*big.Int, error)

TotalLiquidityLocked is a free data retrieval call binding the contract method 0xe01f62bf.

Solidity: function totalLiquidityLocked() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) UserStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) UserStakedFrax(account common.Address) (*big.Int, error)

UserStakedFrax is a free data retrieval call binding the contract method 0xd42fc9b4.

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

func (*FraxUnifiedFarmErc20ConvexCallerSession) VeFXSMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) VeFXSMultiplier(account common.Address) (*big.Int, error)

VeFXSMultiplier is a free data retrieval call binding the contract method 0x2c0c2a0a.

Solidity: function veFXSMultiplier(address account) view returns(uint256 vefxs_multiplier)

func (*FraxUnifiedFarmErc20ConvexCallerSession) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) VefxsBoostScaleFactor() (*big.Int, error)

VefxsBoostScaleFactor is a free data retrieval call binding the contract method 0xaa1d4fce.

Solidity: function vefxs_boost_scale_factor() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) VefxsMaxMultiplier() (*big.Int, error)

VefxsMaxMultiplier is a free data retrieval call binding the contract method 0xf288baf6.

Solidity: function vefxs_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexCallerSession) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexCallerSession) VefxsPerFraxForMaxBoost() (*big.Int, error)

VefxsPerFraxForMaxBoost is a free data retrieval call binding the contract method 0xf2a8d349.

Solidity: function vefxs_per_frax_for_max_boost() view returns(uint256)

type FraxUnifiedFarmErc20ConvexFilterer

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

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

func NewFraxUnifiedFarmErc20ConvexFilterer

func NewFraxUnifiedFarmErc20ConvexFilterer(address common.Address, filterer bind.ContractFilterer) (*FraxUnifiedFarmErc20ConvexFilterer, error)

NewFraxUnifiedFarmErc20ConvexFilterer creates a new log filterer instance of FraxUnifiedFarmErc20Convex, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20ConvexFilterer) FilterOwnerChanged

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*FraxUnifiedFarmErc20ConvexOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) FilterOwnerNominated

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*FraxUnifiedFarmErc20ConvexOwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) FilterStakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) FilterStakeLocked(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20ConvexStakeLockedIterator, error)

FilterStakeLocked is a free log retrieval operation binding the contract event 0xf400e72e69ef4402819dfc57eeddc66f5eb69bf405e0e8098b1946ec1ac14a22.

Solidity: event StakeLocked(address indexed user, uint256 amount, uint256 secs, bytes32 kek_id, address source_address)

func (*FraxUnifiedFarmErc20ConvexFilterer) FilterWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) FilterWithdrawLocked(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20ConvexWithdrawLockedIterator, error)

FilterWithdrawLocked is a free log retrieval operation binding the contract event 0x1d9308f6b22a2754a1c622bb30889e8f8f956c83e524d039e9d65d5f052eb908.

Solidity: event WithdrawLocked(address indexed user, uint256 liquidity, bytes32 kek_id, address destination_address)

func (*FraxUnifiedFarmErc20ConvexFilterer) ParseOwnerChanged

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) ParseOwnerChanged(log types.Log) (*FraxUnifiedFarmErc20ConvexOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) ParseOwnerNominated

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) ParseOwnerNominated(log types.Log) (*FraxUnifiedFarmErc20ConvexOwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) ParseStakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) ParseStakeLocked(log types.Log) (*FraxUnifiedFarmErc20ConvexStakeLocked, error)

ParseStakeLocked is a log parse operation binding the contract event 0xf400e72e69ef4402819dfc57eeddc66f5eb69bf405e0e8098b1946ec1ac14a22.

Solidity: event StakeLocked(address indexed user, uint256 amount, uint256 secs, bytes32 kek_id, address source_address)

func (*FraxUnifiedFarmErc20ConvexFilterer) ParseWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) ParseWithdrawLocked(log types.Log) (*FraxUnifiedFarmErc20ConvexWithdrawLocked, error)

ParseWithdrawLocked is a log parse operation binding the contract event 0x1d9308f6b22a2754a1c622bb30889e8f8f956c83e524d039e9d65d5f052eb908.

Solidity: event WithdrawLocked(address indexed user, uint256 liquidity, bytes32 kek_id, address destination_address)

func (*FraxUnifiedFarmErc20ConvexFilterer) WatchOwnerChanged

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20ConvexOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) WatchOwnerNominated

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20ConvexOwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20ConvexFilterer) WatchStakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) WatchStakeLocked(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20ConvexStakeLocked, user []common.Address) (event.Subscription, error)

WatchStakeLocked is a free log subscription operation binding the contract event 0xf400e72e69ef4402819dfc57eeddc66f5eb69bf405e0e8098b1946ec1ac14a22.

Solidity: event StakeLocked(address indexed user, uint256 amount, uint256 secs, bytes32 kek_id, address source_address)

func (*FraxUnifiedFarmErc20ConvexFilterer) WatchWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexFilterer) WatchWithdrawLocked(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20ConvexWithdrawLocked, user []common.Address) (event.Subscription, error)

WatchWithdrawLocked is a free log subscription operation binding the contract event 0x1d9308f6b22a2754a1c622bb30889e8f8f956c83e524d039e9d65d5f052eb908.

Solidity: event WithdrawLocked(address indexed user, uint256 liquidity, bytes32 kek_id, address destination_address)

type FraxUnifiedFarmErc20ConvexOwnerChanged

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

FraxUnifiedFarmErc20ConvexOwnerChanged represents a OwnerChanged event raised by the FraxUnifiedFarmErc20Convex contract.

type FraxUnifiedFarmErc20ConvexOwnerChangedIterator

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

FraxUnifiedFarmErc20ConvexOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the FraxUnifiedFarmErc20Convex contract.

func (*FraxUnifiedFarmErc20ConvexOwnerChangedIterator) Close

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

func (*FraxUnifiedFarmErc20ConvexOwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20ConvexOwnerChangedIterator) 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 FraxUnifiedFarmErc20ConvexOwnerNominated

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

FraxUnifiedFarmErc20ConvexOwnerNominated represents a OwnerNominated event raised by the FraxUnifiedFarmErc20Convex contract.

type FraxUnifiedFarmErc20ConvexOwnerNominatedIterator

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

FraxUnifiedFarmErc20ConvexOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the FraxUnifiedFarmErc20Convex contract.

func (*FraxUnifiedFarmErc20ConvexOwnerNominatedIterator) Close

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

func (*FraxUnifiedFarmErc20ConvexOwnerNominatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20ConvexOwnerNominatedIterator) 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 FraxUnifiedFarmErc20ConvexRaw

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

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

func (*FraxUnifiedFarmErc20ConvexRaw) Call

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexRaw) 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 (*FraxUnifiedFarmErc20ConvexRaw) Transact

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

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

func (*FraxUnifiedFarmErc20ConvexRaw) Transfer

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexRaw) 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 FraxUnifiedFarmErc20ConvexSession

type FraxUnifiedFarmErc20ConvexSession struct {
	Contract     *FraxUnifiedFarmErc20Convex // 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
}

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

func (*FraxUnifiedFarmErc20ConvexSession) AcceptOwnership

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20ConvexSession) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) CalcCurCombinedWeight(account common.Address) (struct {
	OldCombinedWeight  *big.Int
	NewVefxsMultiplier *big.Int
	NewCombinedWeight  *big.Int
}, error)

CalcCurCombinedWeight is a free data retrieval call binding the contract method 0x8bad86a7.

Solidity: function calcCurCombinedWeight(address account) view returns(uint256 old_combined_weight, uint256 new_vefxs_multiplier, uint256 new_combined_weight)

func (*FraxUnifiedFarmErc20ConvexSession) ChangeTokenManager

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ChangeTokenManager(reward_token_address common.Address, new_manager_address common.Address) (*types.Transaction, error)

ChangeTokenManager is a paid mutator transaction binding the contract method 0xde1a6551.

Solidity: function changeTokenManager(address reward_token_address, address new_manager_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) CombinedWeightOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) CombinedWeightOf(account common.Address) (*big.Int, error)

CombinedWeightOf is a free data retrieval call binding the contract method 0x36f89af2.

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

func (*FraxUnifiedFarmErc20ConvexSession) CurvePool

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) CurvePool() (common.Address, error)

CurvePool is a free data retrieval call binding the contract method 0x218751b2.

Solidity: function curvePool() view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) Earned

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) 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[] new_earned)

func (*FraxUnifiedFarmErc20ConvexSession) FraxPerLPStored

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) FraxPerLPStored() (*big.Int, error)

FraxPerLPStored is a free data retrieval call binding the contract method 0xd2010fb4.

Solidity: function fraxPerLPStored() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) FraxPerLPToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) FraxPerLPToken() (*big.Int, error)

FraxPerLPToken is a free data retrieval call binding the contract method 0x5bfd9258.

Solidity: function fraxPerLPToken() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) GetAllRewardTokens

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetAllRewardTokens() ([]common.Address, error)

GetAllRewardTokens is a free data retrieval call binding the contract method 0x12edb24c.

Solidity: function getAllRewardTokens() view returns(address[])

func (*FraxUnifiedFarmErc20ConvexSession) GetProxyFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetProxyFor(addr common.Address) (common.Address, error)

GetProxyFor is a free data retrieval call binding the contract method 0xc3543826.

Solidity: function getProxyFor(address addr) view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) GetReward

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetReward(destination_address common.Address) (*types.Transaction, error)

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

Solidity: function getReward(address destination_address) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexSession) GetReward2

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetReward2(destination_address common.Address, claim_extra_too bool) (*types.Transaction, error)

GetReward2 is a paid mutator transaction binding the contract method 0x7910d17b.

Solidity: function getReward2(address destination_address, bool claim_extra_too) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexSession) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetRewardExtraLogic(destination_address common.Address) (*types.Transaction, error)

GetRewardExtraLogic is a paid mutator transaction binding the contract method 0x387edc86.

Solidity: function getRewardExtraLogic(address destination_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) GetRewardForDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) GetRewardForDuration() ([]*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256[] rewards_per_duration_arr)

func (*FraxUnifiedFarmErc20ConvexSession) IsTokenManagerFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) IsTokenManagerFor(caller_addr common.Address, reward_token_addr common.Address) (bool, error)

IsTokenManagerFor is a free data retrieval call binding the contract method 0x231b68dc.

Solidity: function isTokenManagerFor(address caller_addr, address reward_token_addr) view returns(bool)

func (*FraxUnifiedFarmErc20ConvexSession) LastUpdateTime

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LastUpdateTime() (*big.Int, error)

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

Solidity: function lastUpdateTime() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) LockAdditional

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockAdditional(kek_id [32]byte, addl_liq *big.Int) (*types.Transaction, error)

LockAdditional is a paid mutator transaction binding the contract method 0xb85efd06.

Solidity: function lockAdditional(bytes32 kek_id, uint256 addl_liq) returns()

func (*FraxUnifiedFarmErc20ConvexSession) LockMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockMaxMultiplier() (*big.Int, error)

LockMaxMultiplier is a free data retrieval call binding the contract method 0xcdc82e80.

Solidity: function lock_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) LockMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockMultiplier(secs *big.Int) (*big.Int, error)

LockMultiplier is a free data retrieval call binding the contract method 0x0d7bac4f.

Solidity: function lockMultiplier(uint256 secs) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockTimeForMaxMultiplier() (*big.Int, error)

LockTimeForMaxMultiplier is a free data retrieval call binding the contract method 0xb94c4dcb.

Solidity: function lock_time_for_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) LockTimeMin

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockTimeMin() (*big.Int, error)

LockTimeMin is a free data retrieval call binding the contract method 0x6e27cef9.

Solidity: function lock_time_min() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) LockedLiquidityOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockedLiquidityOf(account common.Address) (*big.Int, error)

LockedLiquidityOf is a free data retrieval call binding the contract method 0xd9f96e8d.

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

func (*FraxUnifiedFarmErc20ConvexSession) LockedStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockedStakes(arg0 common.Address, arg1 *big.Int) (struct {
	KekId           [32]byte
	StartTimestamp  *big.Int
	Liquidity       *big.Int
	EndingTimestamp *big.Int
	LockMultiplier  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0x7970833e.

Solidity: function lockedStakes(address , uint256 ) view returns(bytes32 kek_id, uint256 start_timestamp, uint256 liquidity, uint256 ending_timestamp, uint256 lock_multiplier)

func (*FraxUnifiedFarmErc20ConvexSession) LockedStakesOf

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockedStakesOf(account common.Address) ([]FraxUnifiedFarmERC20LockedStake, error)

LockedStakesOf is a free data retrieval call binding the contract method 0x1e090f01.

Solidity: function lockedStakesOf(address account) view returns((bytes32,uint256,uint256,uint256,uint256)[])

func (*FraxUnifiedFarmErc20ConvexSession) LockedStakesOfLength

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) LockedStakesOfLength(account common.Address) (*big.Int, error)

LockedStakesOfLength is a free data retrieval call binding the contract method 0xca6df29d.

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

func (*FraxUnifiedFarmErc20ConvexSession) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) MaxLPForMaxBoost(account common.Address) (*big.Int, error)

MaxLPForMaxBoost is a free data retrieval call binding the contract method 0xa0f23476.

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

func (*FraxUnifiedFarmErc20ConvexSession) MigratorStakeLockedFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) MigratorStakeLockedFor(staker_address common.Address, amount *big.Int, secs *big.Int, start_timestamp *big.Int) (*types.Transaction, error)

MigratorStakeLockedFor is a paid mutator transaction binding the contract method 0x28ef934e.

Solidity: function migrator_stakeLocked_for(address staker_address, uint256 amount, uint256 secs, uint256 start_timestamp) returns()

func (*FraxUnifiedFarmErc20ConvexSession) MigratorWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) MigratorWithdrawLocked(staker_address common.Address, kek_id [32]byte) (*types.Transaction, error)

MigratorWithdrawLocked is a paid mutator transaction binding the contract method 0xeb3c209e.

Solidity: function migrator_withdraw_locked(address staker_address, bytes32 kek_id) returns()

func (*FraxUnifiedFarmErc20ConvexSession) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) MinVeFXSForMaxBoost(account common.Address) (*big.Int, error)

MinVeFXSForMaxBoost is a free data retrieval call binding the contract method 0x4fd2b536.

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

func (*FraxUnifiedFarmErc20ConvexSession) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) MinVeFXSForMaxBoostProxy(proxy_address common.Address) (*big.Int, error)

MinVeFXSForMaxBoostProxy is a free data retrieval call binding the contract method 0x7f472e54.

Solidity: function minVeFXSForMaxBoostProxy(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) NominateNewOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*FraxUnifiedFarmErc20ConvexSession) NominatedOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) Owner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) PeriodFinish

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) PeriodFinish() (*big.Int, error)

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

Solidity: function periodFinish() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) ProxyLpBalances

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ProxyLpBalances(arg0 common.Address) (*big.Int, error)

ProxyLpBalances is a free data retrieval call binding the contract method 0x7d6ef08e.

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

func (*FraxUnifiedFarmErc20ConvexSession) ProxyStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ProxyStakedFrax(proxy_address common.Address) (*big.Int, error)

ProxyStakedFrax is a free data retrieval call binding the contract method 0x1face856.

Solidity: function proxyStakedFrax(address proxy_address) view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) ProxyToggleStaker

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ProxyToggleStaker(staker_address common.Address) (*types.Transaction, error)

ProxyToggleStaker is a paid mutator transaction binding the contract method 0xe7f30582.

Solidity: function proxyToggleStaker(address staker_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) RecoverERC20

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*FraxUnifiedFarmErc20ConvexSession) RewardManagers

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RewardManagers(arg0 common.Address) (common.Address, error)

RewardManagers is a free data retrieval call binding the contract method 0x41a16f3f.

Solidity: function rewardManagers(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) RewardRates

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RewardRates(token_idx *big.Int) (*big.Int, error)

RewardRates is a free data retrieval call binding the contract method 0xf2caeb1e.

Solidity: function rewardRates(uint256 token_idx) view returns(uint256 rwd_rate)

func (*FraxUnifiedFarmErc20ConvexSession) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RewardTokenAddrToIdx(arg0 common.Address) (*big.Int, error)

RewardTokenAddrToIdx is a free data retrieval call binding the contract method 0x69339245.

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

func (*FraxUnifiedFarmErc20ConvexSession) RewardsDuration

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) RewardsPerToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) RewardsPerToken() ([]*big.Int, error)

RewardsPerToken is a free data retrieval call binding the contract method 0x70641a36.

Solidity: function rewardsPerToken() view returns(uint256[] newRewardsPerTokenStored)

func (*FraxUnifiedFarmErc20ConvexSession) SetMiscVariables

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) SetMiscVariables(_misc_vars [6]*big.Int) (*types.Transaction, error)

SetMiscVariables is a paid mutator transaction binding the contract method 0xfacefb64.

Solidity: function setMiscVariables(uint256[6] _misc_vars) returns()

func (*FraxUnifiedFarmErc20ConvexSession) SetPauses

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) SetPauses(_stakingPaused bool, _withdrawalsPaused bool, _rewardsCollectionPaused bool) (*types.Transaction, error)

SetPauses is a paid mutator transaction binding the contract method 0xcc2abd64.

Solidity: function setPauses(bool _stakingPaused, bool _withdrawalsPaused, bool _rewardsCollectionPaused) returns()

func (*FraxUnifiedFarmErc20ConvexSession) SetRewardVars

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) SetRewardVars(reward_token_address common.Address, _new_rate *big.Int, _gauge_controller_address common.Address, _rewards_distributor_address common.Address) (*types.Transaction, error)

SetRewardVars is a paid mutator transaction binding the contract method 0xd5e1a9c6.

Solidity: function setRewardVars(address reward_token_address, uint256 _new_rate, address _gauge_controller_address, address _rewards_distributor_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) StakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakeLocked(liquidity *big.Int, secs *big.Int) (*types.Transaction, error)

StakeLocked is a paid mutator transaction binding the contract method 0x17b18c89.

Solidity: function stakeLocked(uint256 liquidity, uint256 secs) returns(bytes32)

func (*FraxUnifiedFarmErc20ConvexSession) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakerDesignatedProxies(arg0 common.Address) (common.Address, error)

StakerDesignatedProxies is a free data retrieval call binding the contract method 0x28408bab.

Solidity: function staker_designated_proxies(address ) view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakerSetVeFXSProxy(proxy_address common.Address) (*types.Transaction, error)

StakerSetVeFXSProxy is a paid mutator transaction binding the contract method 0xd7400d56.

Solidity: function stakerSetVeFXSProxy(address proxy_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) StakerToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakerToggleMigrator(migrator_address common.Address) (*types.Transaction, error)

StakerToggleMigrator is a paid mutator transaction binding the contract method 0xaffaa7a4.

Solidity: function stakerToggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) StakesUnlocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakesUnlocked() (bool, error)

StakesUnlocked is a free data retrieval call binding the contract method 0x9637927f.

Solidity: function stakesUnlocked() view returns(bool)

func (*FraxUnifiedFarmErc20ConvexSession) StakingToken

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*FraxUnifiedFarmErc20ConvexSession) Sync

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20ConvexSession) SyncGaugeWeights

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) SyncGaugeWeights(force_update bool) (*types.Transaction, error)

SyncGaugeWeights is a paid mutator transaction binding the contract method 0xf77e34d1.

Solidity: function sync_gauge_weights(bool force_update) returns()

func (*FraxUnifiedFarmErc20ConvexSession) ToggleMigrations

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ToggleMigrations() (*types.Transaction, error)

ToggleMigrations is a paid mutator transaction binding the contract method 0xa2217bc5.

Solidity: function toggleMigrations() returns()

func (*FraxUnifiedFarmErc20ConvexSession) ToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ToggleMigrator(migrator_address common.Address) (*types.Transaction, error)

ToggleMigrator is a paid mutator transaction binding the contract method 0x3650aff2.

Solidity: function toggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexSession) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) ToggleValidVeFXSProxy(_proxy_addr common.Address) (*types.Transaction, error)

ToggleValidVeFXSProxy is a paid mutator transaction binding the contract method 0x91cf600a.

Solidity: function toggleValidVeFXSProxy(address _proxy_addr) returns()

func (*FraxUnifiedFarmErc20ConvexSession) TotalCombinedWeight

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) TotalCombinedWeight() (*big.Int, error)

TotalCombinedWeight is a free data retrieval call binding the contract method 0x64f2c060.

Solidity: function totalCombinedWeight() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) TotalLiquidityLocked() (*big.Int, error)

TotalLiquidityLocked is a free data retrieval call binding the contract method 0xe01f62bf.

Solidity: function totalLiquidityLocked() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) UnlockStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) UnlockStakes() (*types.Transaction, error)

UnlockStakes is a paid mutator transaction binding the contract method 0xe1ba95d2.

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20ConvexSession) UserStakedFrax

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) UserStakedFrax(account common.Address) (*big.Int, error)

UserStakedFrax is a free data retrieval call binding the contract method 0xd42fc9b4.

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

func (*FraxUnifiedFarmErc20ConvexSession) VeFXSMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) VeFXSMultiplier(account common.Address) (*big.Int, error)

VeFXSMultiplier is a free data retrieval call binding the contract method 0x2c0c2a0a.

Solidity: function veFXSMultiplier(address account) view returns(uint256 vefxs_multiplier)

func (*FraxUnifiedFarmErc20ConvexSession) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) VefxsBoostScaleFactor() (*big.Int, error)

VefxsBoostScaleFactor is a free data retrieval call binding the contract method 0xaa1d4fce.

Solidity: function vefxs_boost_scale_factor() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) VefxsMaxMultiplier() (*big.Int, error)

VefxsMaxMultiplier is a free data retrieval call binding the contract method 0xf288baf6.

Solidity: function vefxs_max_multiplier() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) VefxsPerFraxForMaxBoost() (*big.Int, error)

VefxsPerFraxForMaxBoost is a free data retrieval call binding the contract method 0xf2a8d349.

Solidity: function vefxs_per_frax_for_max_boost() view returns(uint256)

func (*FraxUnifiedFarmErc20ConvexSession) WithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexSession) WithdrawLocked(kek_id [32]byte, destination_address common.Address) (*types.Transaction, error)

WithdrawLocked is a paid mutator transaction binding the contract method 0xe44b9fa5.

Solidity: function withdrawLocked(bytes32 kek_id, address destination_address) returns(uint256)

type FraxUnifiedFarmErc20ConvexStakeLocked

type FraxUnifiedFarmErc20ConvexStakeLocked struct {
	User          common.Address
	Amount        *big.Int
	Secs          *big.Int
	KekId         [32]byte
	SourceAddress common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FraxUnifiedFarmErc20ConvexStakeLocked represents a StakeLocked event raised by the FraxUnifiedFarmErc20Convex contract.

type FraxUnifiedFarmErc20ConvexStakeLockedIterator

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

FraxUnifiedFarmErc20ConvexStakeLockedIterator is returned from FilterStakeLocked and is used to iterate over the raw logs and unpacked data for StakeLocked events raised by the FraxUnifiedFarmErc20Convex contract.

func (*FraxUnifiedFarmErc20ConvexStakeLockedIterator) Close

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

func (*FraxUnifiedFarmErc20ConvexStakeLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20ConvexStakeLockedIterator) 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 FraxUnifiedFarmErc20ConvexTransactor

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

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

func NewFraxUnifiedFarmErc20ConvexTransactor

func NewFraxUnifiedFarmErc20ConvexTransactor(address common.Address, transactor bind.ContractTransactor) (*FraxUnifiedFarmErc20ConvexTransactor, error)

NewFraxUnifiedFarmErc20ConvexTransactor creates a new write-only instance of FraxUnifiedFarmErc20Convex, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20ConvexTransactor) AcceptOwnership

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) ChangeTokenManager

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) ChangeTokenManager(opts *bind.TransactOpts, reward_token_address common.Address, new_manager_address common.Address) (*types.Transaction, error)

ChangeTokenManager is a paid mutator transaction binding the contract method 0xde1a6551.

Solidity: function changeTokenManager(address reward_token_address, address new_manager_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) GetReward

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) GetReward(opts *bind.TransactOpts, destination_address common.Address) (*types.Transaction, error)

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

Solidity: function getReward(address destination_address) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexTransactor) GetReward2

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) GetReward2(opts *bind.TransactOpts, destination_address common.Address, claim_extra_too bool) (*types.Transaction, error)

GetReward2 is a paid mutator transaction binding the contract method 0x7910d17b.

Solidity: function getReward2(address destination_address, bool claim_extra_too) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexTransactor) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) GetRewardExtraLogic(opts *bind.TransactOpts, destination_address common.Address) (*types.Transaction, error)

GetRewardExtraLogic is a paid mutator transaction binding the contract method 0x387edc86.

Solidity: function getRewardExtraLogic(address destination_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) LockAdditional

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) LockAdditional(opts *bind.TransactOpts, kek_id [32]byte, addl_liq *big.Int) (*types.Transaction, error)

LockAdditional is a paid mutator transaction binding the contract method 0xb85efd06.

Solidity: function lockAdditional(bytes32 kek_id, uint256 addl_liq) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) MigratorStakeLockedFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) MigratorStakeLockedFor(opts *bind.TransactOpts, staker_address common.Address, amount *big.Int, secs *big.Int, start_timestamp *big.Int) (*types.Transaction, error)

MigratorStakeLockedFor is a paid mutator transaction binding the contract method 0x28ef934e.

Solidity: function migrator_stakeLocked_for(address staker_address, uint256 amount, uint256 secs, uint256 start_timestamp) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) MigratorWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) MigratorWithdrawLocked(opts *bind.TransactOpts, staker_address common.Address, kek_id [32]byte) (*types.Transaction, error)

MigratorWithdrawLocked is a paid mutator transaction binding the contract method 0xeb3c209e.

Solidity: function migrator_withdraw_locked(address staker_address, bytes32 kek_id) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) NominateNewOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) NominateNewOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) ProxyToggleStaker

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) ProxyToggleStaker(opts *bind.TransactOpts, staker_address common.Address) (*types.Transaction, error)

ProxyToggleStaker is a paid mutator transaction binding the contract method 0xe7f30582.

Solidity: function proxyToggleStaker(address staker_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) RecoverERC20

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) RecoverERC20(opts *bind.TransactOpts, tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) SetMiscVariables

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) SetMiscVariables(opts *bind.TransactOpts, _misc_vars [6]*big.Int) (*types.Transaction, error)

SetMiscVariables is a paid mutator transaction binding the contract method 0xfacefb64.

Solidity: function setMiscVariables(uint256[6] _misc_vars) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) SetPauses

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) SetPauses(opts *bind.TransactOpts, _stakingPaused bool, _withdrawalsPaused bool, _rewardsCollectionPaused bool) (*types.Transaction, error)

SetPauses is a paid mutator transaction binding the contract method 0xcc2abd64.

Solidity: function setPauses(bool _stakingPaused, bool _withdrawalsPaused, bool _rewardsCollectionPaused) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) SetRewardVars

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) SetRewardVars(opts *bind.TransactOpts, reward_token_address common.Address, _new_rate *big.Int, _gauge_controller_address common.Address, _rewards_distributor_address common.Address) (*types.Transaction, error)

SetRewardVars is a paid mutator transaction binding the contract method 0xd5e1a9c6.

Solidity: function setRewardVars(address reward_token_address, uint256 _new_rate, address _gauge_controller_address, address _rewards_distributor_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) StakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) StakeLocked(opts *bind.TransactOpts, liquidity *big.Int, secs *big.Int) (*types.Transaction, error)

StakeLocked is a paid mutator transaction binding the contract method 0x17b18c89.

Solidity: function stakeLocked(uint256 liquidity, uint256 secs) returns(bytes32)

func (*FraxUnifiedFarmErc20ConvexTransactor) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) StakerSetVeFXSProxy(opts *bind.TransactOpts, proxy_address common.Address) (*types.Transaction, error)

StakerSetVeFXSProxy is a paid mutator transaction binding the contract method 0xd7400d56.

Solidity: function stakerSetVeFXSProxy(address proxy_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) StakerToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) StakerToggleMigrator(opts *bind.TransactOpts, migrator_address common.Address) (*types.Transaction, error)

StakerToggleMigrator is a paid mutator transaction binding the contract method 0xaffaa7a4.

Solidity: function stakerToggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) Sync

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) SyncGaugeWeights

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) SyncGaugeWeights(opts *bind.TransactOpts, force_update bool) (*types.Transaction, error)

SyncGaugeWeights is a paid mutator transaction binding the contract method 0xf77e34d1.

Solidity: function sync_gauge_weights(bool force_update) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) ToggleMigrations

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) ToggleMigrations(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleMigrations is a paid mutator transaction binding the contract method 0xa2217bc5.

Solidity: function toggleMigrations() returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) ToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) ToggleMigrator(opts *bind.TransactOpts, migrator_address common.Address) (*types.Transaction, error)

ToggleMigrator is a paid mutator transaction binding the contract method 0x3650aff2.

Solidity: function toggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) ToggleValidVeFXSProxy(opts *bind.TransactOpts, _proxy_addr common.Address) (*types.Transaction, error)

ToggleValidVeFXSProxy is a paid mutator transaction binding the contract method 0x91cf600a.

Solidity: function toggleValidVeFXSProxy(address _proxy_addr) returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) UnlockStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) UnlockStakes(opts *bind.TransactOpts) (*types.Transaction, error)

UnlockStakes is a paid mutator transaction binding the contract method 0xe1ba95d2.

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20ConvexTransactor) WithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactor) WithdrawLocked(opts *bind.TransactOpts, kek_id [32]byte, destination_address common.Address) (*types.Transaction, error)

WithdrawLocked is a paid mutator transaction binding the contract method 0xe44b9fa5.

Solidity: function withdrawLocked(bytes32 kek_id, address destination_address) returns(uint256)

type FraxUnifiedFarmErc20ConvexTransactorRaw

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

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

func (*FraxUnifiedFarmErc20ConvexTransactorRaw) Transact

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

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

func (*FraxUnifiedFarmErc20ConvexTransactorRaw) Transfer

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorRaw) 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 FraxUnifiedFarmErc20ConvexTransactorSession

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

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

func (*FraxUnifiedFarmErc20ConvexTransactorSession) AcceptOwnership

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) ChangeTokenManager

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) ChangeTokenManager(reward_token_address common.Address, new_manager_address common.Address) (*types.Transaction, error)

ChangeTokenManager is a paid mutator transaction binding the contract method 0xde1a6551.

Solidity: function changeTokenManager(address reward_token_address, address new_manager_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) GetReward

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) GetReward(destination_address common.Address) (*types.Transaction, error)

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

Solidity: function getReward(address destination_address) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexTransactorSession) GetReward2

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) GetReward2(destination_address common.Address, claim_extra_too bool) (*types.Transaction, error)

GetReward2 is a paid mutator transaction binding the contract method 0x7910d17b.

Solidity: function getReward2(address destination_address, bool claim_extra_too) returns(uint256[])

func (*FraxUnifiedFarmErc20ConvexTransactorSession) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) GetRewardExtraLogic(destination_address common.Address) (*types.Transaction, error)

GetRewardExtraLogic is a paid mutator transaction binding the contract method 0x387edc86.

Solidity: function getRewardExtraLogic(address destination_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) LockAdditional

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) LockAdditional(kek_id [32]byte, addl_liq *big.Int) (*types.Transaction, error)

LockAdditional is a paid mutator transaction binding the contract method 0xb85efd06.

Solidity: function lockAdditional(bytes32 kek_id, uint256 addl_liq) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) MigratorStakeLockedFor

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) MigratorStakeLockedFor(staker_address common.Address, amount *big.Int, secs *big.Int, start_timestamp *big.Int) (*types.Transaction, error)

MigratorStakeLockedFor is a paid mutator transaction binding the contract method 0x28ef934e.

Solidity: function migrator_stakeLocked_for(address staker_address, uint256 amount, uint256 secs, uint256 start_timestamp) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) MigratorWithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) MigratorWithdrawLocked(staker_address common.Address, kek_id [32]byte) (*types.Transaction, error)

MigratorWithdrawLocked is a paid mutator transaction binding the contract method 0xeb3c209e.

Solidity: function migrator_withdraw_locked(address staker_address, bytes32 kek_id) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) NominateNewOwner

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) ProxyToggleStaker

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) ProxyToggleStaker(staker_address common.Address) (*types.Transaction, error)

ProxyToggleStaker is a paid mutator transaction binding the contract method 0xe7f30582.

Solidity: function proxyToggleStaker(address staker_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) RecoverERC20

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) SetMiscVariables

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) SetMiscVariables(_misc_vars [6]*big.Int) (*types.Transaction, error)

SetMiscVariables is a paid mutator transaction binding the contract method 0xfacefb64.

Solidity: function setMiscVariables(uint256[6] _misc_vars) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) SetPauses

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) SetPauses(_stakingPaused bool, _withdrawalsPaused bool, _rewardsCollectionPaused bool) (*types.Transaction, error)

SetPauses is a paid mutator transaction binding the contract method 0xcc2abd64.

Solidity: function setPauses(bool _stakingPaused, bool _withdrawalsPaused, bool _rewardsCollectionPaused) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) SetRewardVars

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) SetRewardVars(reward_token_address common.Address, _new_rate *big.Int, _gauge_controller_address common.Address, _rewards_distributor_address common.Address) (*types.Transaction, error)

SetRewardVars is a paid mutator transaction binding the contract method 0xd5e1a9c6.

Solidity: function setRewardVars(address reward_token_address, uint256 _new_rate, address _gauge_controller_address, address _rewards_distributor_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) StakeLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) StakeLocked(liquidity *big.Int, secs *big.Int) (*types.Transaction, error)

StakeLocked is a paid mutator transaction binding the contract method 0x17b18c89.

Solidity: function stakeLocked(uint256 liquidity, uint256 secs) returns(bytes32)

func (*FraxUnifiedFarmErc20ConvexTransactorSession) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) StakerSetVeFXSProxy(proxy_address common.Address) (*types.Transaction, error)

StakerSetVeFXSProxy is a paid mutator transaction binding the contract method 0xd7400d56.

Solidity: function stakerSetVeFXSProxy(address proxy_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) StakerToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) StakerToggleMigrator(migrator_address common.Address) (*types.Transaction, error)

StakerToggleMigrator is a paid mutator transaction binding the contract method 0xaffaa7a4.

Solidity: function stakerToggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) Sync

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) SyncGaugeWeights

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) SyncGaugeWeights(force_update bool) (*types.Transaction, error)

SyncGaugeWeights is a paid mutator transaction binding the contract method 0xf77e34d1.

Solidity: function sync_gauge_weights(bool force_update) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) ToggleMigrations

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) ToggleMigrations() (*types.Transaction, error)

ToggleMigrations is a paid mutator transaction binding the contract method 0xa2217bc5.

Solidity: function toggleMigrations() returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) ToggleMigrator

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) ToggleMigrator(migrator_address common.Address) (*types.Transaction, error)

ToggleMigrator is a paid mutator transaction binding the contract method 0x3650aff2.

Solidity: function toggleMigrator(address migrator_address) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) ToggleValidVeFXSProxy(_proxy_addr common.Address) (*types.Transaction, error)

ToggleValidVeFXSProxy is a paid mutator transaction binding the contract method 0x91cf600a.

Solidity: function toggleValidVeFXSProxy(address _proxy_addr) returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) UnlockStakes

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) UnlockStakes() (*types.Transaction, error)

UnlockStakes is a paid mutator transaction binding the contract method 0xe1ba95d2.

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20ConvexTransactorSession) WithdrawLocked

func (_FraxUnifiedFarmErc20Convex *FraxUnifiedFarmErc20ConvexTransactorSession) WithdrawLocked(kek_id [32]byte, destination_address common.Address) (*types.Transaction, error)

WithdrawLocked is a paid mutator transaction binding the contract method 0xe44b9fa5.

Solidity: function withdrawLocked(bytes32 kek_id, address destination_address) returns(uint256)

type FraxUnifiedFarmErc20ConvexWithdrawLocked

type FraxUnifiedFarmErc20ConvexWithdrawLocked struct {
	User               common.Address
	Liquidity          *big.Int
	KekId              [32]byte
	DestinationAddress common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

FraxUnifiedFarmErc20ConvexWithdrawLocked represents a WithdrawLocked event raised by the FraxUnifiedFarmErc20Convex contract.

type FraxUnifiedFarmErc20ConvexWithdrawLockedIterator

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

FraxUnifiedFarmErc20ConvexWithdrawLockedIterator is returned from FilterWithdrawLocked and is used to iterate over the raw logs and unpacked data for WithdrawLocked events raised by the FraxUnifiedFarmErc20Convex contract.

func (*FraxUnifiedFarmErc20ConvexWithdrawLockedIterator) Close

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

func (*FraxUnifiedFarmErc20ConvexWithdrawLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20ConvexWithdrawLockedIterator) Next

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

Jump to

Keyboard shortcuts

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