GammaFarm
Verified contract
Active on
Ethereum with 444 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6601…21bb
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LUSD | ERC-20 | 0 | $0.990294 |
$0 | |
MAL | ERC-20 | 140.414542K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21237200 | 5 days ago | | | 0 | 0.020675031 | |
| 20710932 | 3 months ago | | | 0 | 0.0051048221 | |
| 20696467 | 3 months ago | | | 0 | 0.0041674962 | |
| 20682026 | 3 months ago | | | 0 | 0.0030945615 | |
| 20667222 | 3 months ago | | | 0 | 0.0038942183 | |
| 20652547 | 3 months ago | | | 0 | 0.0031733172 | |
| 20638132 | 3 months ago | | | 0 | 0.0038604867 | |
| 20623711 | 3 months ago | | | 0 | 0.0018260660 | |
| 20609332 | 3 months ago | | | 0 | 0.0024783171 | |
| 20594954 | 3 months ago | | | 0 | 0.0046575935 |
ABI
ABI objects
Getter at block 21272434
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)
1666188731
epoch() view returns (uint32)
340
epochStartTime() view returns (uint256)
1732205327
getLastSnapshot() view returns (struct GammaFarmSnapshot _snapshot)
(1065351113727361009, 77834890781849352691, 77836564199813552337)
getTotalBalances() view returns (uint256, uint256)
(2322528630905213339592665, 2322528630905213339184625)
isEmergencyState() view returns (bool)
false
lastMalRewardPerAvailableCumS() view returns (uint160)
77834890781849352691
lastResetEpoch() view returns (uint32)
0
lastTotalMalRewards() view returns (uint96)
157951913513020874781020
lqtyToken() view returns (address)
0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d
lusdCurvePool() view returns (address)
0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca
lusdStabilityPool() view returns (address)
0x66017d22b0f8556afdd19fc67041899eb65a21bb
lusdToken() view returns (address)
0x5f98805a4e8be255a32880fdec7f6728c6568ba0
malBurnPct() view returns (uint16)
5000
malDecayFactor() view returns (uint256)
998331864494289336
malDecayPeriodSeconds() view returns (uint256)
86400
malDistributionEndTime() view returns (uint256)
1792332731
malRewardPerSecond() view returns (uint256)
4231132811987185
malToDistribute() view returns (uint256)
200000000000000000000000
malToken() view returns (address)
0x6619078bdd8324e01e9a8d4b3d761b050e5ecf06
minWethLusdAmountOutPct() view returns (uint16)
9500
owner() view returns (address)
0x2ca10707bb0339e1bfe7876a37f50b970d1c2920
priceFeed() view returns (address)
0x4c517d4e2c851ca76d7ec94b805269df0f2201de
totalLusd() view returns (uint128)
2322528630905213339592665
totalLusdStaked() view returns (uint128)
2322528630905213339184625
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.