UniMexMargin
Verified contract
Active on
Ethereum with 358 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x8dc8…4da7
0xc80b…f6ee
Balances ($53,990.50)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 14.929308 | $3,616.41 |
$53,990.5 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18376958 | a year ago | | | 0 | 0.0036957769 | |
| 18376958 | a year ago | | | 0 | 0.0081657789 | |
| 18376931 | a year ago | | | 0 | 0.00035493545 | |
| 18376921 | a year ago | | | 0 | 0.0038451175 | |
| 18376921 | a year ago | | | 0 | 0.0084957453 | |
| 18376908 | a year ago | | | 0 | 0.00039998936 | |
| 18376901 | a year ago | | | 0 | 0.0035171821 | |
| 18376901 | a year ago | | | 0 | 0.0077708118 | |
| 18376896 | a year ago | | | 0 | 0.00038259005 | |
| 16448181 | 2 years ago | | | 0 | 0.0061785384 |
ABI
ABI objects
Getter at block 21285706
LIQUIDATION_MARGIN() view returns (uint256)
1100000000000000000
MAG() view returns (uint256)
1000000000000000000
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
YEAR() view returns (uint256)
31536000
borrowInterestPercentScaled() view returns (uint256)
100
delay() view returns (uint256)
0
liquidationBonus() view returns (uint256)
90000000000000000
owner() view returns (address)
0x4387040b86bad26908b02c44e8428b2ddab4455d
positionNonce() view returns (uint256)
79
staking() view returns (address)
0x8dc85b6056b40c950e6119899cac90be9eeb4da7
unimex_factory() view returns (address)
0xc80b0efb594df8be90a643c7f7a462541cd7f6ee
uniswap_factory() view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
uniswap_router() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
balanceOf(address) view returns (uint256)
calculateBorrowInterest(bytes32 positionId) view returns (uint256)
canLiquidate(bytes32 positionId) view returns (bool)
escrow(address) view returns (uint256)
positionInfo(bytes32) view returns (bytes32 id, address token, address owner, uint256 owed, uint256 input, uint256 commitment, uint256 leverage, uint256 startTimestamp, bool isClosed, bool isShort, uint256 borrowInterest)
State-modifying
Events closePosition(bytes32 positionId, uint256 slippage)
deposit(uint256 _amount)
liquidatePosition(bytes32 positionId, uint256 slippage)
openLongPosition(address token, uint256 amount, uint256 leverage, uint256 slippage)
openShortPosition(address token, uint256 amount, uint256 leverage, uint256 slippage)
renounceOwnership()
setBorrowPercent(uint256 _newPercentScaled)
setDelay(uint256 _delay)
setLiquidationBonus(uint256 _liquidationBonus)
setStaking(address _staking)
transferOwnership(address newOwner)
withdraw(uint256 _amount)
OnClosePosition(address indexed sender, bytes32 positionId, bool isShort, address indexed token)
OnOpenPosition(address indexed sender, bytes32 positionId, bool isShort, address indexed token)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _staking, address _factory, address _weth, address _uniswap_factory, address _uniswap_router)
This contract contains no fallback and receive objects.
This contract contains no error objects.