GammaFarmTestOnly
Verified contract
Active on
Ethereum with 66 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LUSD | ERC-20 | 0 | $0.997279 |
$0 | |
MAL | ERC-20 | 1.700449 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15790905 | 2 years ago | | | 0 | 0.030675279 | |
| 15775671 | 2 years ago | | | 0 | 0.0018451275 | |
| 15775671 | 2 years ago | | | 0 | 0.020316073 | |
| 15762312 | 2 years ago | | | 0 | 0.013959872 | |
| 15747935 | 2 years ago | | | 0 | 0.019856377 | |
| 15733577 | 2 years ago | | | 0 | 0.014467926 | |
| 15719211 | 2 years ago | | | 0 | 0.036241103 | |
| 15704847 | 2 years ago | | | 0 | 0.0092675385 | |
| 15690492 | 2 years ago | | | 0 | 0.014756169 | |
| 15678003 | 2 years ago | | | 0 | 0.0036123322 |
ABI
ABI objects
Getter at block 21409951
DECIMAL_PRECISION() view returns (uint256)
1000000000000000000
MAX_GOV_ONLY_EPOCH_DURATION_SECS() view returns (uint256)
604800
daiToken() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
defaultUseCurveForStableTokenToLusd() view returns (bool)
true
defaultWethToStableToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
defaultWethToStableTokenFee() view returns (uint24)
500
deploymentTime() view returns (uint256)
1657810140
epoch() view returns (uint32)
50
epochStartTime() view returns (uint256)
1666288127
getLastSnapshot() view returns (struct GammaFarmTestOnlySnapshot _snapshot)
(2201449018861141364, 337781094659981, 340848559825801)
getTotalBalances() view returns (uint256, uint256)
(57091052201881776346, 57091052201881776297)
isEmergencyState() view returns (bool)
false
lastMalRewardPerAvailableCumS() view returns (uint160)
337781094659981
lastResetEpoch() view returns (uint32)
0
lastTotalMalRewards() view returns (uint96)
305374697826355326
lqtyToken() view returns (address)
0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d
lusdCurvePool() view returns (address)
0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca
lusdStabilityPool() view returns (address)
0x66017d22b0f8556afdd19fc67041899eb65a21bb
lusdToken() view returns (address)
0x5f98805a4e8be255a32880fdec7f6728c6568ba0
malBurnPct() view returns (uint16)
3000
malDecayFactor() view returns (uint256)
996679922810144001
malDecayPeriodSeconds() view returns (uint256)
86400
malDistributionEndTime() view returns (uint256)
1720882140
malRewardPerSecond() view returns (uint256)
42145786858
malToDistribute() view returns (uint256)
1000000000000000000
malToken() view returns (address)
0x6619078bdd8324e01e9a8d4b3d761b050e5ecf06
minWethLusdAmountOutPct() view returns (uint16)
9500
owner() view returns (address)
0x2ca10707bb0339e1bfe7876a37f50b970d1c2920
priceFeed() view returns (address)
0x4c517d4e2c851ca76d7ec94b805269df0f2201de
totalLusd() view returns (uint128)
57091052201881776346
totalLusdStaked() view returns (uint128)
57091052201881776297
totalLusdToStake() view returns (uint128)
0
totalLusdToUnstake() view returns (uint128)
0
uniswapV3Router() view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
usdcToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wethToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
accountBalances(address) view returns (uint256 lusdStakeData, uint96 malRewards, uint160 malRewardPerAvailableCumS, uint256 lusdUnstaked)
epochSnapshots(uint32) view returns (uint96 lusdProfitFactorCumP, uint160 malRewardPerAvailableCumS, uint256 malRewardPerStakedCumS)
getAccountBalances(address _account) view returns (uint256 _lusdAvailable, uint256 _lusdStaked, uint256 _malRewards, uint256 _lusdToStake, bool _shouldUnstake)
getAccountLUSDAvailable(address _account) view returns (uint256 _lusdAvailable)
getAccountLUSDStaked(address _account) view returns (uint256 _lusdStaked)
getAccountMALRewards(address _account) view returns (uint256 _malRewards)
previousResetEpoch(uint32) view returns (uint32)
State-modifying
Events claim()
deposit(uint256 _lusdAmount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s)
depositAsFarm(uint256 _lusdAmount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s)
emergencyRecover()
emergencyWithdraw(bytes _tradeData)
renounceOwnership()
setDefaultTradeData(bytes _tradeData)
setMALBurnPercentage(uint16 _pct)
startNewEpoch(bytes _tradeData)
transferOwnership(address newOwner)
unstake()
unstakeAndWithdraw() returns (uint256 _lusdAmountWithdrawn)
withdraw() returns (uint256 _lusdAmountWithdrawn)
EpochStarted(uint256 epoch, uint256 timestamp, uint256 totalLUSD)
LUSDGainLossReported(uint256 epoch, uint256 LUSDProfitFactor, uint256 LUSDGain, uint256 LUSDLoss)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(uint256 _malToDistribute, uint256 _malDistributionPeriodSeconds, uint256 _malRewardPerSecond, uint256 _malDecayFactor, uint256 _malDecayPeriodSeconds)
receive()
This contract contains no error objects.