frax_unified_farm_erc20_fraxswap

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 FraxUnifiedFarmErc20FraxswapV2ABI = FraxUnifiedFarmErc20FraxswapV2MetaData.ABI

FraxUnifiedFarmErc20FraxswapV2ABI is the input ABI used to generate the binding from. Deprecated: Use FraxUnifiedFarmErc20FraxswapV2MetaData.ABI instead.

View Source
var FraxUnifiedFarmErc20FraxswapV2MetaData = &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\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LockedAdditional\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"new_secs\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"new_start_ts\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"new_end_ts\",\"type\":\"uint256\"}],\"name\":\"LockedLonger\",\"type\":\"event\"},{\"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\":\"address\",\"name\":\"token_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destination_address\",\"type\":\"address\"}],\"name\":\"RewardPaid\",\"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\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"stake_idx\",\"type\":\"uint256\"}],\"name\":\"calcCurrLockMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"midpoint_lock_multiplier\",\"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\":[{\"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\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastRewardClaimTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"bytes32\",\"name\":\"kek_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"new_ending_ts\",\"type\":\"uint256\"}],\"name\":\"lockLonger\",\"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\":\"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\":\"\",\"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\":\"contractIFraxswapPair\",\"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\":[{\"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\"},{\"internalType\":\"bool\",\"name\":\"sync_too\",\"type\":\"bool\"}],\"name\":\"updateRewardAndBalance\",\"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\"}]",
}

FraxUnifiedFarmErc20FraxswapV2MetaData contains all meta data concerning the FraxUnifiedFarmErc20FraxswapV2 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 FraxUnifiedFarmErc20FraxswapV2

type FraxUnifiedFarmErc20FraxswapV2 struct {
	FraxUnifiedFarmErc20FraxswapV2Caller     // Read-only binding to the contract
	FraxUnifiedFarmErc20FraxswapV2Transactor // Write-only binding to the contract
	FraxUnifiedFarmErc20FraxswapV2Filterer   // Log filterer for contract events
}

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

func NewFraxUnifiedFarmErc20FraxswapV2

func NewFraxUnifiedFarmErc20FraxswapV2(address common.Address, backend bind.ContractBackend) (*FraxUnifiedFarmErc20FraxswapV2, error)

NewFraxUnifiedFarmErc20FraxswapV2 creates a new instance of FraxUnifiedFarmErc20FraxswapV2, bound to a specific deployed contract.

type FraxUnifiedFarmErc20FraxswapV2Caller

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

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

func NewFraxUnifiedFarmErc20FraxswapV2Caller

func NewFraxUnifiedFarmErc20FraxswapV2Caller(address common.Address, caller bind.ContractCaller) (*FraxUnifiedFarmErc20FraxswapV2Caller, error)

NewFraxUnifiedFarmErc20FraxswapV2Caller creates a new read-only instance of FraxUnifiedFarmErc20FraxswapV2, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20FraxswapV2Caller) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) CalcCurrLockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) CalcCurrLockMultiplier(opts *bind.CallOpts, account common.Address, stake_idx *big.Int) (*big.Int, error)

CalcCurrLockMultiplier is a free data retrieval call binding the contract method 0x774d4ae7.

Solidity: function calcCurrLockMultiplier(address account, uint256 stake_idx) view returns(uint256 midpoint_lock_multiplier)

func (*FraxUnifiedFarmErc20FraxswapV2Caller) CombinedWeightOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) Earned

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) FraxPerLPStored

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) FraxPerLPToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) GetAllRewardTokens

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) GetProxyFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) GetRewardForDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) IsTokenManagerFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LastRewardClaimTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) LastRewardClaimTime(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastRewardClaimTime is a free data retrieval call binding the contract method 0x6c430dbb.

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

func (*FraxUnifiedFarmErc20FraxswapV2Caller) LastUpdateTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockTimeMin

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockedLiquidityOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockedStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockedStakesOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) LockedStakesOfLength

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) NominatedOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) Owner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) PeriodFinish

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) ProxyLpBalances

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) ProxyStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) RewardManagers

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) RewardRates

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) RewardsDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) RewardsPerToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) StakesUnlocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) StakingToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) TotalCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) UserStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) VeFXSMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 (*FraxUnifiedFarmErc20FraxswapV2Caller) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Caller) 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 FraxUnifiedFarmErc20FraxswapV2CallerRaw

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

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

func (*FraxUnifiedFarmErc20FraxswapV2CallerRaw) Call

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerRaw) 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 FraxUnifiedFarmErc20FraxswapV2CallerSession

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

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

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) CalcCurrLockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) CalcCurrLockMultiplier(account common.Address, stake_idx *big.Int) (*big.Int, error)

CalcCurrLockMultiplier is a free data retrieval call binding the contract method 0x774d4ae7.

Solidity: function calcCurrLockMultiplier(address account, uint256 stake_idx) view returns(uint256 midpoint_lock_multiplier)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) CombinedWeightOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) Earned

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) FraxPerLPStored

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) FraxPerLPStored() (*big.Int, error)

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

Solidity: function fraxPerLPStored() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) FraxPerLPToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) FraxPerLPToken() (*big.Int, error)

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

Solidity: function fraxPerLPToken() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) GetAllRewardTokens

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) GetAllRewardTokens() ([]common.Address, error)

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

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

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) GetProxyFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) GetRewardForDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) IsTokenManagerFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LastRewardClaimTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) LastRewardClaimTime(arg0 common.Address) (*big.Int, error)

LastRewardClaimTime is a free data retrieval call binding the contract method 0x6c430dbb.

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

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LastUpdateTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) LastUpdateTime() (*big.Int, error)

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

Solidity: function lastUpdateTime() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockTimeMin

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockedLiquidityOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockedStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockedStakesOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) LockedStakesOfLength

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) NominatedOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) NominatedOwner() (common.Address, error)

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

Solidity: function nominatedOwner() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) Owner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) PeriodFinish

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) PeriodFinish() (*big.Int, error)

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

Solidity: function periodFinish() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) ProxyLpBalances

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) ProxyStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardManagers

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardRates

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardsDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardsDuration() (*big.Int, error)

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

Solidity: function rewardsDuration() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardsPerToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) RewardsPerToken() ([]*big.Int, error)

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

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

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) StakesUnlocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) StakesUnlocked() (bool, error)

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

Solidity: function stakesUnlocked() view returns(bool)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) StakingToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) StakingToken() (common.Address, error)

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

Solidity: function stakingToken() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) TotalCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) TotalCombinedWeight() (*big.Int, error)

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

Solidity: function totalCombinedWeight() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) TotalLiquidityLocked() (*big.Int, error)

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

Solidity: function totalLiquidityLocked() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2CallerSession) UserStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) VeFXSMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 (*FraxUnifiedFarmErc20FraxswapV2CallerSession) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2CallerSession) 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 FraxUnifiedFarmErc20FraxswapV2Filterer

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

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

func NewFraxUnifiedFarmErc20FraxswapV2Filterer

func NewFraxUnifiedFarmErc20FraxswapV2Filterer(address common.Address, filterer bind.ContractFilterer) (*FraxUnifiedFarmErc20FraxswapV2Filterer, error)

NewFraxUnifiedFarmErc20FraxswapV2Filterer creates a new log filterer instance of FraxUnifiedFarmErc20FraxswapV2, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterLockedAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterLockedAdditional(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator, error)

FilterLockedAdditional is a free log retrieval operation binding the contract event 0x2640b32e7e5d0fa2a21ea06b22fbd75fda0fda384a895a5fdeef43646de47a0c.

Solidity: event LockedAdditional(address indexed user, bytes32 kek_id, uint256 amount)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterLockedLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterLockedLonger(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator, error)

FilterLockedLonger is a free log retrieval operation binding the contract event 0xc2cf1aae6decacbc52f96b4e4fec96d4ebab5236e4ed987165537bc463014a43.

Solidity: event LockedLonger(address indexed user, bytes32 kek_id, uint256 new_secs, uint256 new_start_ts, uint256 new_end_ts)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterOwnerChanged

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterOwnerChanged(opts *bind.FilterOpts) (*FraxUnifiedFarmErc20FraxswapV2OwnerChangedIterator, error)

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

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterOwnerNominated

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterOwnerNominated(opts *bind.FilterOpts) (*FraxUnifiedFarmErc20FraxswapV2OwnerNominatedIterator, error)

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

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterRewardPaid

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterRewardPaid(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20FraxswapV2RewardPaidIterator, error)

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

Solidity: event RewardPaid(address indexed user, uint256 amount, address token_address, address destination_address)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterStakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterStakeLocked(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20FraxswapV2StakeLockedIterator, 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 (*FraxUnifiedFarmErc20FraxswapV2Filterer) FilterWithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) FilterWithdrawLocked(opts *bind.FilterOpts, user []common.Address) (*FraxUnifiedFarmErc20FraxswapV2WithdrawLockedIterator, 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 (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseLockedAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseLockedAdditional(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2LockedAdditional, error)

ParseLockedAdditional is a log parse operation binding the contract event 0x2640b32e7e5d0fa2a21ea06b22fbd75fda0fda384a895a5fdeef43646de47a0c.

Solidity: event LockedAdditional(address indexed user, bytes32 kek_id, uint256 amount)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseLockedLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseLockedLonger(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2LockedLonger, error)

ParseLockedLonger is a log parse operation binding the contract event 0xc2cf1aae6decacbc52f96b4e4fec96d4ebab5236e4ed987165537bc463014a43.

Solidity: event LockedLonger(address indexed user, bytes32 kek_id, uint256 new_secs, uint256 new_start_ts, uint256 new_end_ts)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseOwnerChanged

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseOwnerChanged(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2OwnerChanged, error)

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

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseOwnerNominated

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseOwnerNominated(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2OwnerNominated, error)

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

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseRewardPaid

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseRewardPaid(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2RewardPaid, error)

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

Solidity: event RewardPaid(address indexed user, uint256 amount, address token_address, address destination_address)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseStakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseStakeLocked(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2StakeLocked, 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 (*FraxUnifiedFarmErc20FraxswapV2Filterer) ParseWithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) ParseWithdrawLocked(log types.Log) (*FraxUnifiedFarmErc20FraxswapV2WithdrawLocked, 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 (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchLockedAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchLockedAdditional(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2LockedAdditional, user []common.Address) (event.Subscription, error)

WatchLockedAdditional is a free log subscription operation binding the contract event 0x2640b32e7e5d0fa2a21ea06b22fbd75fda0fda384a895a5fdeef43646de47a0c.

Solidity: event LockedAdditional(address indexed user, bytes32 kek_id, uint256 amount)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchLockedLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchLockedLonger(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2LockedLonger, user []common.Address) (event.Subscription, error)

WatchLockedLonger is a free log subscription operation binding the contract event 0xc2cf1aae6decacbc52f96b4e4fec96d4ebab5236e4ed987165537bc463014a43.

Solidity: event LockedLonger(address indexed user, bytes32 kek_id, uint256 new_secs, uint256 new_start_ts, uint256 new_end_ts)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchOwnerChanged

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2OwnerChanged) (event.Subscription, error)

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

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchOwnerNominated

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2OwnerNominated) (event.Subscription, error)

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

Solidity: event OwnerNominated(address newOwner)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchRewardPaid

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2RewardPaid, user []common.Address) (event.Subscription, error)

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

Solidity: event RewardPaid(address indexed user, uint256 amount, address token_address, address destination_address)

func (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchStakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchStakeLocked(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2StakeLocked, 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 (*FraxUnifiedFarmErc20FraxswapV2Filterer) WatchWithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Filterer) WatchWithdrawLocked(opts *bind.WatchOpts, sink chan<- *FraxUnifiedFarmErc20FraxswapV2WithdrawLocked, 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 FraxUnifiedFarmErc20FraxswapV2LockedAdditional

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

FraxUnifiedFarmErc20FraxswapV2LockedAdditional represents a LockedAdditional event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator

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

FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator is returned from FilterLockedAdditional and is used to iterate over the raw logs and unpacked data for LockedAdditional events raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

func (*FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2LockedAdditionalIterator) 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 FraxUnifiedFarmErc20FraxswapV2LockedLonger

type FraxUnifiedFarmErc20FraxswapV2LockedLonger struct {
	User       common.Address
	KekId      [32]byte
	NewSecs    *big.Int
	NewStartTs *big.Int
	NewEndTs   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FraxUnifiedFarmErc20FraxswapV2LockedLonger represents a LockedLonger event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator

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

FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator is returned from FilterLockedLonger and is used to iterate over the raw logs and unpacked data for LockedLonger events raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

func (*FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2LockedLongerIterator) 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 FraxUnifiedFarmErc20FraxswapV2OwnerChanged

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

FraxUnifiedFarmErc20FraxswapV2OwnerChanged represents a OwnerChanged event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2OwnerChangedIterator

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

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

func (*FraxUnifiedFarmErc20FraxswapV2OwnerChangedIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2OwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2OwnerChangedIterator) 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 FraxUnifiedFarmErc20FraxswapV2OwnerNominated

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

FraxUnifiedFarmErc20FraxswapV2OwnerNominated represents a OwnerNominated event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2OwnerNominatedIterator

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

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

func (*FraxUnifiedFarmErc20FraxswapV2OwnerNominatedIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2OwnerNominatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2OwnerNominatedIterator) 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 FraxUnifiedFarmErc20FraxswapV2Raw

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

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

func (*FraxUnifiedFarmErc20FraxswapV2Raw) Call

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Raw) 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 (*FraxUnifiedFarmErc20FraxswapV2Raw) Transact

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

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

func (*FraxUnifiedFarmErc20FraxswapV2Raw) Transfer

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Raw) 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 FraxUnifiedFarmErc20FraxswapV2RewardPaid

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

FraxUnifiedFarmErc20FraxswapV2RewardPaid represents a RewardPaid event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2RewardPaidIterator

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

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

func (*FraxUnifiedFarmErc20FraxswapV2RewardPaidIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2RewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2RewardPaidIterator) 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 FraxUnifiedFarmErc20FraxswapV2Session

type FraxUnifiedFarmErc20FraxswapV2Session struct {
	Contract     *FraxUnifiedFarmErc20FraxswapV2 // 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
}

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

func (*FraxUnifiedFarmErc20FraxswapV2Session) AcceptOwnership

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Session) CalcCurCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) CalcCurrLockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) CalcCurrLockMultiplier(account common.Address, stake_idx *big.Int) (*big.Int, error)

CalcCurrLockMultiplier is a free data retrieval call binding the contract method 0x774d4ae7.

Solidity: function calcCurrLockMultiplier(address account, uint256 stake_idx) view returns(uint256 midpoint_lock_multiplier)

func (*FraxUnifiedFarmErc20FraxswapV2Session) ChangeTokenManager

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) CombinedWeightOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) Earned

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) FraxPerLPStored

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) FraxPerLPStored() (*big.Int, error)

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

Solidity: function fraxPerLPStored() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) FraxPerLPToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) FraxPerLPToken() (*big.Int, error)

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

Solidity: function fraxPerLPToken() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) GetAllRewardTokens

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) GetAllRewardTokens() ([]common.Address, error)

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

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

func (*FraxUnifiedFarmErc20FraxswapV2Session) GetProxyFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) GetReward

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) GetReward2

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) GetRewardForDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) IsTokenManagerFor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LastRewardClaimTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) LastRewardClaimTime(arg0 common.Address) (*big.Int, error)

LastRewardClaimTime is a free data retrieval call binding the contract method 0x6c430dbb.

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

func (*FraxUnifiedFarmErc20FraxswapV2Session) LastUpdateTime

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) LastUpdateTime() (*big.Int, error)

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

Solidity: function lastUpdateTime() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) LockAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) LockLonger(kek_id [32]byte, new_ending_ts *big.Int) (*types.Transaction, error)

LockLonger is a paid mutator transaction binding the contract method 0xd2fbdc0d.

Solidity: function lockLonger(bytes32 kek_id, uint256 new_ending_ts) returns()

func (*FraxUnifiedFarmErc20FraxswapV2Session) LockMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockTimeForMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockTimeMin

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockedLiquidityOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockedStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockedStakesOf

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) LockedStakesOfLength

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) MaxLPForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) MinVeFXSForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) MinVeFXSForMaxBoostProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) NominateNewOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) NominatedOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) NominatedOwner() (common.Address, error)

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

Solidity: function nominatedOwner() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2Session) Owner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2Session) PeriodFinish

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) PeriodFinish() (*big.Int, error)

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

Solidity: function periodFinish() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) ProxyLpBalances

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) ProxyStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) ProxyToggleStaker

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) RecoverERC20

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) RewardManagers

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) RewardRates

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) RewardTokenAddrToIdx

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) RewardsDuration

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) RewardsDuration() (*big.Int, error)

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

Solidity: function rewardsDuration() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) RewardsPerToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) RewardsPerToken() ([]*big.Int, error)

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

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

func (*FraxUnifiedFarmErc20FraxswapV2Session) SetMiscVariables

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) SetPauses

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) SetRewardVars

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) StakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) StakerDesignatedProxies

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) StakesUnlocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) StakesUnlocked() (bool, error)

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

Solidity: function stakesUnlocked() view returns(bool)

func (*FraxUnifiedFarmErc20FraxswapV2Session) StakingToken

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) StakingToken() (common.Address, error)

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

Solidity: function stakingToken() view returns(address)

func (*FraxUnifiedFarmErc20FraxswapV2Session) Sync

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Session) SyncGaugeWeights

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) TotalCombinedWeight

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) TotalCombinedWeight() (*big.Int, error)

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

Solidity: function totalCombinedWeight() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) TotalLiquidityLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) TotalLiquidityLocked() (*big.Int, error)

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

Solidity: function totalLiquidityLocked() view returns(uint256)

func (*FraxUnifiedFarmErc20FraxswapV2Session) UnlockStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) UnlockStakes() (*types.Transaction, error)

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

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Session) UpdateRewardAndBalance

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) UpdateRewardAndBalance(account common.Address, sync_too bool) (*types.Transaction, error)

UpdateRewardAndBalance is a paid mutator transaction binding the contract method 0x55189773.

Solidity: function updateRewardAndBalance(address account, bool sync_too) returns()

func (*FraxUnifiedFarmErc20FraxswapV2Session) UserStakedFrax

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) VeFXSMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) VefxsBoostScaleFactor

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) VefxsMaxMultiplier

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) VefxsPerFraxForMaxBoost

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 (*FraxUnifiedFarmErc20FraxswapV2Session) WithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Session) 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 FraxUnifiedFarmErc20FraxswapV2StakeLocked

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

FraxUnifiedFarmErc20FraxswapV2StakeLocked represents a StakeLocked event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2StakeLockedIterator

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

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

func (*FraxUnifiedFarmErc20FraxswapV2StakeLockedIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2StakeLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FraxUnifiedFarmErc20FraxswapV2StakeLockedIterator) 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 FraxUnifiedFarmErc20FraxswapV2Transactor

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

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

func NewFraxUnifiedFarmErc20FraxswapV2Transactor

func NewFraxUnifiedFarmErc20FraxswapV2Transactor(address common.Address, transactor bind.ContractTransactor) (*FraxUnifiedFarmErc20FraxswapV2Transactor, error)

NewFraxUnifiedFarmErc20FraxswapV2Transactor creates a new write-only instance of FraxUnifiedFarmErc20FraxswapV2, bound to a specific deployed contract.

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) AcceptOwnership

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) ChangeTokenManager

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) GetReward

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) GetReward2

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) LockAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) LockLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) LockLonger(opts *bind.TransactOpts, kek_id [32]byte, new_ending_ts *big.Int) (*types.Transaction, error)

LockLonger is a paid mutator transaction binding the contract method 0xd2fbdc0d.

Solidity: function lockLonger(bytes32 kek_id, uint256 new_ending_ts) returns()

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) NominateNewOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) ProxyToggleStaker

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) RecoverERC20

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) SetMiscVariables

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) SetPauses

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) SetRewardVars

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) StakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) Sync

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) SyncGaugeWeights

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 (*FraxUnifiedFarmErc20FraxswapV2Transactor) UnlockStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) UnlockStakes(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) UpdateRewardAndBalance

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) UpdateRewardAndBalance(opts *bind.TransactOpts, account common.Address, sync_too bool) (*types.Transaction, error)

UpdateRewardAndBalance is a paid mutator transaction binding the contract method 0x55189773.

Solidity: function updateRewardAndBalance(address account, bool sync_too) returns()

func (*FraxUnifiedFarmErc20FraxswapV2Transactor) WithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2Transactor) 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 FraxUnifiedFarmErc20FraxswapV2TransactorRaw

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

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

func (*FraxUnifiedFarmErc20FraxswapV2TransactorRaw) Transact

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

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

func (*FraxUnifiedFarmErc20FraxswapV2TransactorRaw) Transfer

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorRaw) 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 FraxUnifiedFarmErc20FraxswapV2TransactorSession

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

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

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) AcceptOwnership

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) ChangeTokenManager

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) GetReward

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) GetReward2

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) GetRewardExtraLogic

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) LockAdditional

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) LockLonger

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) LockLonger(kek_id [32]byte, new_ending_ts *big.Int) (*types.Transaction, error)

LockLonger is a paid mutator transaction binding the contract method 0xd2fbdc0d.

Solidity: function lockLonger(bytes32 kek_id, uint256 new_ending_ts) returns()

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) NominateNewOwner

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) ProxyToggleStaker

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) RecoverERC20

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) SetMiscVariables

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) SetPauses

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) SetRewardVars

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) StakeLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) StakerSetVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) Sync

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) SyncGaugeWeights

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) ToggleValidVeFXSProxy

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) UnlockStakes

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) UnlockStakes() (*types.Transaction, error)

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

Solidity: function unlockStakes() returns()

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) UpdateRewardAndBalance

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) UpdateRewardAndBalance(account common.Address, sync_too bool) (*types.Transaction, error)

UpdateRewardAndBalance is a paid mutator transaction binding the contract method 0x55189773.

Solidity: function updateRewardAndBalance(address account, bool sync_too) returns()

func (*FraxUnifiedFarmErc20FraxswapV2TransactorSession) WithdrawLocked

func (_FraxUnifiedFarmErc20FraxswapV2 *FraxUnifiedFarmErc20FraxswapV2TransactorSession) 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 FraxUnifiedFarmErc20FraxswapV2WithdrawLocked

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

FraxUnifiedFarmErc20FraxswapV2WithdrawLocked represents a WithdrawLocked event raised by the FraxUnifiedFarmErc20FraxswapV2 contract.

type FraxUnifiedFarmErc20FraxswapV2WithdrawLockedIterator

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

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

func (*FraxUnifiedFarmErc20FraxswapV2WithdrawLockedIterator) Close

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

func (*FraxUnifiedFarmErc20FraxswapV2WithdrawLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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