DMGYieldFarmingV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2dcb15d3 at 11323447
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
4 additional variables

No balances found for "DMGYieldFarmingV2"

No transactions found for "DMGYieldFarmingV2"


Functions
Getter at block 21328883
DMG_GROWTH_COEFFICIENT_DECIMALS(view returns (uint8)
18
DMG_GROWTH_COEFFICIENT_FACTOR(view returns (uint256)
1000000000000000000
FEE_AMOUNT_DECIMALS(view returns (uint8)
4
FEE_AMOUNT_FACTOR(view returns (uint16)
10000
POINTS_DECIMALS(view returns (uint8)
2
POINTS_FACTOR(view returns (uint16)
100
USD_VALUE_DECIMALS(view returns (uint8)
18
USD_VALUE_FACTOR(view returns (uint256)
1000000000000000000
dmgGrowthCoefficient(view returns (uint256)
0
dmgToken(view returns (address)
0x0000000000000000000000000000000000000000
dmmController(view returns (address)
0x0000000000000000000000000000000000000000
getFarmTokens(view returns (address[])
[]
guardian(view returns (address)
0x0000000000000000000000000000000000000000
isFarmActive(view returns (bool)
false
isOwner(view returns (bool)
false
owner(view returns (address)
0x0000000000000000000000000000000000000000
underlyingTokenValuator(view returns (address)
0x0000000000000000000000000000000000000000
uniswapV2Router(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address __owneraddress __tokenview returns (uint256)
getFeesByToken(address __tokenview returns (uint16)
getMostRecentDepositTimestampByOwnerAndToken(address __owneraddress __tokenview returns (uint64)
getMostRecentIndexedDmgEarnedByOwnerAndToken(address __owneraddress __tokenview returns (uint256)
getRewardBalanceByOwner(address __ownerview returns (uint256)
getRewardBalanceByOwnerAndToken(address __owneraddress __tokenview returns (uint256)
getRewardPointsByToken(address __tokenview returns (uint16)
getTokenDecimalsByToken(address __tokenview returns (uint8)
getTokenIndexPlusOneByToken(address __tokenview returns (uint256)
getTokenTypeByToken(address __tokenview returns (uint8)
getUnderlyingTokenByFarmToken(address __farmTokenview returns (address)
getUsdBalanceByOwnerAndToken(address __owneraddress __tokenview returns (uint256)
isApproved(address __useraddress __spenderview returns (bool)
isGloballyTrustedProxy(address __proxyview returns (bool)
isSupportedToken(address __tokenview returns (bool)
State-modifying
addAllowableToken(address __tokenaddress __underlyingTokenuint8 __underlyingTokenDecimalsuint16 __pointsuint16 __feesuint8 __tokenType
addToFarmingSeason(uint256 __dmgAmount
approve(address __spenderbool __isTrusted
approveGloballyTrustedProxy(address __proxybool __isTrusted
beginFarming(address __useraddress __funderaddress __tokenuint256 __amount
beginFarmingSeason(uint256 __dmgAmount
endActiveFarmingSeason(address __dustRecipient
endFarmingByToken(address __useraddress __recipientaddress __tokenreturns (uint256uint256)
endFarmingByTokenAndAmount(address __useraddress __recipientaddress __tokenuint256 __withdrawalAmountreturns (uint256uint256)
harvestDmgByUser(address __useraddress __recipientreturns (uint256)
harvestDmgByUserAndToken(address __useraddress __recipientaddress __tokenreturns (uint256)
initialize(address owner
initializeDmgBalance(
removeAllowableToken(address __token
renounceOwnership(
setDmgGrowthCoefficient(uint256 __dmgGrowthCoefficient
setFeesByTokens(address[] __tokensuint16[] __fees
setRewardPointsByTokens(address[] __tokensuint16[] __points
setTokenTypeByToken(address __tokenuint8 __tokenType
setUnderlyingTokenValuator(address __underlyingTokenValuator
setUniswapV2Router(address __uniswapV2Router
setWethToken(address __weth
transferOwnership(address newOwner
withdrawAllWhenOutOfSeason(address __useraddress __recipientreturns (address[]uint256[])
withdrawByTokenWhenOutOfSeason(address __useraddress __recipientaddress __tokenreturns (uint256)
Events
Approval(address indexed useraddress indexed spenderbool isTrusted
BeginFarming(address indexed owneraddress indexed tokenuint256 depositedAmount
DmgGrowthCoefficientSet(uint256 coefficient
EndFarming(address indexed owneraddress indexed tokenuint256 withdrawnAmountuint256 earnedDmgAmount
FarmSeasonBegun(uint256 indexed seasonIndexuint256 dmgAmount
FarmSeasonEnd(uint256 indexed seasonIndexaddress dustRecipientuint256 dustyDmgAmount
FarmSeasonExtended(uint256 indexed seasonIndexuint256 dmgAmount
FeesChanged(address indexed tokenuint16 feeAmount
GlobalProxySet(address indexed proxybool isTrusted
Harvest(address indexed owneraddress indexed tokenuint256 earnedDmgAmount
HarvestFeePaid(address indexed owneraddress indexed tokenuint256 tokenAmountToConvertuint256 dmgAmountBurned
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardPointsSet(address indexed tokenuint16 points
TokenAdded(address indexed tokenaddress indexed underlyingTokenuint8 underlyingTokenDecimalsuint16 pointsuint16 fees
TokenRemoved(address indexed token
TokenTypeChanged(address indexed tokenuint8 tokenType
UnderlyingTokenValuatorChanged(address newUnderlyingTokenValutoraddress oldUnderlyingTokenValutor
UniswapV2RouterChanged(address newUniswapV2Routeraddress oldUniswapV2Router
WithdrawOutOfSeason(address indexed owneraddress indexed tokenaddress indexed recipientuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.