DMGYieldFarmingProxy
Verified contract
Proxy
Active on
Ethereum with 7 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
6 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DMG | ERC-20 | 230.205044K | -- | -- | |
UNI-V2 | ERC-20 | 435.559502 | -- | -- | |
UNI-V2 | ERC-20 | 198.871369 | -- | -- | |
UNI-V2 | ERC-20 | 82.631376 | -- | -- | |
UNI-V2 | ERC-20 | 6.127253 | -- | -- | |
UNI-V2 | ERC-20 | 5.661712 | -- | -- | |
UNI-V2 | ERC-20 | 0.000003 | -- | -- | |
UNI-V2 | ERC-20 | 0 | -- | -- | |
UNI-V2 | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11781246 | 4 years ago | | | 0 | 0.10341907 | |
| 11694910 | 4 years ago | | | 0 | 0.048625300 | |
| 11681518 | 4 years ago | | | 0 | 0.012294590 | |
| 10934379 | 4 years ago | | | 0 | 0.0068709600 | |
| 10836457 | 4 years ago | | | 0 | 0.011407585 | |
| 10836351 | 4 years ago | | | 0 | 0.0061402440 | |
| 10836337 | 4 years ago | | | 0 | 0.0060472100 |
ABI
ABI objects
Getter at block 21328883
getImplementation() view returns (address)
0x35d03780f32deb5218197e6664d15b40eaa347c4
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)
12860082304
dmgToken() view returns (address)
0xed91879919b71bb6905f23af0a68d231ecf87b14
dmmController() view returns (address)
0xb07eb3426d742cda9120931e7028d54f9df34a3e
getFarmTokens() view returns (address[])
[0x8dA81AfEA7986698772a611bF37501236d443528, 0x78Bda7a14d31C5C845E0b8E9E9E4B119E7691723, 0xf2482F09f54125a3659F788Cf7436af0753d969f, 0xA896f041a2b18e58E7fBc513Cd371De1348596De, 0xf0b5f01B2ab0D5e77487ED4F8E71a3791F9f45FE, 0xb0931b326C083A0E57Cc5A71fFB8df5E6016b6Ad, 0x36cEaF21138c6606B8361e974E68D80C6DeA1038, 0xD52553f55dEaF085f56b325CA65ccDEDed25C201, 0x8175362afBeeE32AfB22d05adc0bbD08dE32F5Ae]
guardian() view returns (address)
0xdd7680b6b2eec193ce3ece7129708ee12531bccf
isFarmActive() view returns (bool)
true
isOwner() view returns (bool)
false
owner() view returns (address)
0xdd7680b6b2eec193ce3ece7129708ee12531bccf
underlyingTokenValuator() view returns (address)
0xac7e5e3b589d55a43d62b90c6b4c4ef28ea35573
uniswapV2Router() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address logic, address admin, address dmgToken, address guardian, address dmmController, uint256 dmgGrowthCoefficient, address[] allowableTokens, address[] underlyingTokens, uint8[] tokenDecimals, uint16[] points)
fallback()
This contract contains no error objects.