DMGYieldFarmingProxy

Verified contract

Proxy

Active on Ethereum with 7 txns
Deployed by via 0x05c4c3c2 at 10796586
Slot
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
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xdcdf8e00154eed7433b0c9786627ba0336b505c26b8cb169bd0cbc04e8029778
0xff681925741e514d812f6ab041b0d7270d72f3b5566276a15659c132b0b5cc79
0xb260440ad2057e8707ab8a55a8161c4c89305b5b00113b8e8b093d282ea5cff2
0x9521b6b4e301ebafaedb99b5970a5f038d3f57284ba26d532bbc6fab490b8cda
0x9b7bb7db169ae7383e926e192f54d0a1061cee35a569e3dd4609cf89bd2e5514
0x9b127c0a0e3241a8d801c8a6f0349a9abd16bd1432e78912bb3c5f70fe8645fb
0xe68009af6d45a7f48fdd243cb06cdee8d9c6b1737f47b7e55a89b73b1adf36bc

Functions
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 __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
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
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
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
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
constructor(address logicaddress adminaddress dmgTokenaddress guardianaddress dmmControlleruint256 dmgGrowthCoefficientaddress[] allowableTokensaddress[] underlyingTokensuint8[] tokenDecimalsuint16[] points
Fallback and receive
fallback(
Errors

This contract contains no error objects.