GFarmTrading
Verified contract
Active on
Ethereum with 3,506 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x3f75…1b97
0x43cc…f9cd
Balances ($0.00)
No balances found for "GFarmTrading"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11733306 | 4 years ago | | | 0 | 0.013504227 | |
| 11732356 | 4 years ago | | | 0 | 0.013507340 | |
| 11732340 | 4 years ago | | | 0 | 0.015615270 | |
| 11732318 | 4 years ago | | | 0 | 0.0028275960 | |
| 11732316 | 4 years ago | | | 0 | 0.0024076000 | |
| 11732312 | 4 years ago | | | 0 | 0.039008984 | |
| 11732309 | 4 years ago | | | 0 | 0.012279700 | |
| 11732306 | 4 years ago | | | 0 | 0.0050134020 | |
| 11732299 | 4 years ago | | | 0 | 0.038795100 | |
| 11732291 | 4 years ago | | | 0 | 0.012279400 |
ABI
ABI objects
Getter at block 21285774
DEV_FUND() view returns (address)
0xd39a38bd2d2d552f3908ff698a5530aa397fb92d
GOVERNANCE() view returns (address)
0xc66fbe50dd33c9aadd65707f7088d597c86fe00f
MAX_ACTIVITY_PER_BLOCK() view returns (uint256)
1
MAX_POS_GFARM_LP_P() view returns (uint256)
25000
MIN_POSITION_SIZE_ETH() view returns (uint256)
200000000000000000
TOTAL_GFARM_BURNED() view returns (uint256)
15557856742390676357796
TOTAL_GFARM_MINTED() view returns (uint256)
18515759718185963046057
TRADING_PAUSED() view returns (bool)
true
canClaimGains() view returns (bool)
false
getAddressesTradeOpen() view returns (address[])
[]
getEthPrice() view returns (uint256)
360840636
getMinPosGFARM() view returns (uint256)
174393763679010838
lp() view returns (address)
0x3f759c3f4cdba32e69ddf607e0cdcc2547061b97
myDirection() view returns (string)
Sell
myGains() view returns (uint256)
0
myLeverage() view returns (uint256)
0
myNftsCount() view returns (uint256)
0
myOpenPrice() view returns (uint256)
0
myPercentPNL() view returns (int256)
0
myPositionSizeETH() view returns (uint256)
0
myPositionSizeGFARM() view returns (uint256)
0
myTokenPNL() view returns (int256)
0
nft() view returns (address)
0x43ccd9ea8f64b8918267f7ee4a071d3e9168f9cd
token() view returns (address)
0x831091da075665168e01898c6dac004a867f1e1b
tradeOpenSinceThreeBlocks() view returns (bool)
false
unlockedLeverages() view returns (uint8[5] leverages)
[0, 0, 0, 0, 0]
Read-only
addressesTradeOpen(uint256) view returns (address)
canLiquidate(address a) view returns (bool)
gains(address) view returns (uint256 valueGFARM, uint256 lastTradeClosed)
getMaxPosGFARM(uint256 _leverage) view returns (uint256)
hasOpenTrade(address a) view returns (bool)
liquidateAmountGFARM(address a) view returns (uint256)
positionSizeGFARM(address a) view returns (uint256 posGFARM)
trades(address) view returns (uint256 openBlock, address initiator, bool buy, uint256 openPrice, uint256 initialPositionSizeGFARM, uint256 positionSizeETH, uint16 leverage)
State-modifying
Events claimGains()
closeTrade()
liquidate(address a)
openTrade(bool _buy, uint256 _positionSizeGFARM, uint16 _leverage)
pause()
restart()
set_GOVERNANCE(address _gov)
set_LP(address _lp)
set_MAX_ACTIVITY_PER_BLOCK(uint256 _maxTrades)
set_MAX_POS_GFARM_LP_P(uint256 _maxPosLp)
set_MIN_POSITION_SIZE_ETH(uint256 _minPos)
set_NFT(address _nft)
set_TOKEN(address _token)
GainsClaimed(address indexed a, uint256 amountGFARM, uint256 amountETH)
TradeClosed(address indexed a, uint256 price, bool buy, uint256 positionSizeETH, uint256 positionSizeGFARM, uint256 leverage, int256 pnlGFARM, int256 pnlETH)
TradeLiquidated(address indexed liquidator, address indexed trader, uint256 price, bool buy, uint256 positionSizeETH, uint256 positionSizeGFARM, uint256 leverage, uint256 rewardGFARM, uint256 rewardETH)
TradeOpened(address indexed a, uint256 price, bool buy, uint256 positionSizeETH, uint256 positionSizeGFARM, uint256 leverage)
constructor(address _GOV, address _DEV)
This contract contains no fallback and receive objects.
This contract contains no error objects.