DMGYieldFarmingV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
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
Balances ($0.00)
No balances found for "DMGYieldFarmingV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DMGYieldFarmingV2"
ABI
ABI objects
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 __owner, address __token) view returns (uint256)
getFeesByToken(address __token) view returns (uint16)
getMostRecentDepositTimestampByOwnerAndToken(address __owner, address __token) view returns (uint64)
getMostRecentIndexedDmgEarnedByOwnerAndToken(address __owner, address __token) view returns (uint256)
getRewardBalanceByOwner(address __owner) view returns (uint256)
getRewardBalanceByOwnerAndToken(address __owner, address __token) view returns (uint256)
getRewardPointsByToken(address __token) view returns (uint16)
getTokenDecimalsByToken(address __token) view returns (uint8)
getTokenIndexPlusOneByToken(address __token) view returns (uint256)
getTokenTypeByToken(address __token) view returns (uint8)
getUnderlyingTokenByFarmToken(address __farmToken) view returns (address)
getUsdBalanceByOwnerAndToken(address __owner, address __token) view returns (uint256)
isApproved(address __user, address __spender) view returns (bool)
isGloballyTrustedProxy(address __proxy) view returns (bool)
isSupportedToken(address __token) view returns (bool)
State-modifying
Events addAllowableToken(address __token, address __underlyingToken, uint8 __underlyingTokenDecimals, uint16 __points, uint16 __fees, uint8 __tokenType)
addToFarmingSeason(uint256 __dmgAmount)
approve(address __spender, bool __isTrusted)
approveGloballyTrustedProxy(address __proxy, bool __isTrusted)
beginFarming(address __user, address __funder, address __token, uint256 __amount)
beginFarmingSeason(uint256 __dmgAmount)
endActiveFarmingSeason(address __dustRecipient)
endFarmingByToken(address __user, address __recipient, address __token) returns (uint256, uint256)
endFarmingByTokenAndAmount(address __user, address __recipient, address __token, uint256 __withdrawalAmount) returns (uint256, uint256)
harvestDmgByUser(address __user, address __recipient) returns (uint256)
harvestDmgByUserAndToken(address __user, address __recipient, address __token) returns (uint256)
initialize(address owner)
initializeDmgBalance()
removeAllowableToken(address __token)
renounceOwnership()
setDmgGrowthCoefficient(uint256 __dmgGrowthCoefficient)
setFeesByTokens(address[] __tokens, uint16[] __fees)
setRewardPointsByTokens(address[] __tokens, uint16[] __points)
setTokenTypeByToken(address __token, uint8 __tokenType)
setUnderlyingTokenValuator(address __underlyingTokenValuator)
setUniswapV2Router(address __uniswapV2Router)
setWethToken(address __weth)
transferOwnership(address newOwner)
withdrawAllWhenOutOfSeason(address __user, address __recipient) returns (address[], uint256[])
withdrawByTokenWhenOutOfSeason(address __user, address __recipient, address __token) returns (uint256)
Approval(address indexed user, address indexed spender, bool isTrusted)
BeginFarming(address indexed owner, address indexed token, uint256 depositedAmount)
DmgGrowthCoefficientSet(uint256 coefficient)
EndFarming(address indexed owner, address indexed token, uint256 withdrawnAmount, uint256 earnedDmgAmount)
FarmSeasonBegun(uint256 indexed seasonIndex, uint256 dmgAmount)
FarmSeasonEnd(uint256 indexed seasonIndex, address dustRecipient, uint256 dustyDmgAmount)
FarmSeasonExtended(uint256 indexed seasonIndex, uint256 dmgAmount)
FeesChanged(address indexed token, uint16 feeAmount)
GlobalProxySet(address indexed proxy, bool isTrusted)
Harvest(address indexed owner, address indexed token, uint256 earnedDmgAmount)
HarvestFeePaid(address indexed owner, address indexed token, uint256 tokenAmountToConvert, uint256 dmgAmountBurned)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardPointsSet(address indexed token, uint16 points)
TokenAdded(address indexed token, address indexed underlyingToken, uint8 underlyingTokenDecimals, uint16 points, uint16 fees)
TokenRemoved(address indexed token)
TokenTypeChanged(address indexed token, uint8 tokenType)
UnderlyingTokenValuatorChanged(address newUnderlyingTokenValutor, address oldUnderlyingTokenValutor)
UniswapV2RouterChanged(address newUniswapV2Router, address oldUniswapV2Router)
WithdrawOutOfSeason(address indexed owner, address indexed token, address indexed recipient, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.