PositionToken
Verified contract
Proxy
Active on
Ethereum with 65 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
19 additional
variables
Balances ($0.00)
No balances found for "PositionToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 9632433 | 5 years ago | | | 0 | 0.00029191000 | |
| 9492691 | 5 years ago | | | 0 | 0.00023352800 | |
| 9470376 | 5 years ago | | | 0 | 0.0088606530 | |
| 9370302 | 5 years ago | | | 0 | 0.0040836630 | |
| 9234785 | 5 years ago | | | 0 | 0.00020433700 | |
| 9062907 | 5 years ago | | | 0.1 | 0.034157280 | |
| 9062899 | 5 years ago | | | 0 | 0.00014619500 | |
| 8486449 | 5 years ago | | | 0 | 0.0072208020 | |
| 8332774 | 5 years ago | | | 0 | 0.00029239000 | |
| 8287826 | 5 years ago | | | 0 | 0.00028905000 |
ABI
ABI objects
Getter at block 21224998 currentLeverage() view returns (uint256 leverage) liquidationPrice() view returns (uint256 price) tokenPrice() view returns (uint256 price)
bZxContract() view returns (address)
0x1cf226e9413addaf22412a2e182f9c0de44af002
bZxOracle() view returns (address)
0xf257246627f7cb036ae40aa6cfe8d8ce5f0eba63
bZxVault() view returns (address)
0x8b3d70d628ebd30d4a2ea82db95ba2e906c71633
decimals() view returns (uint8)
18
initialPrice() view returns (uint256)
1000000000000000000000
leverageAmount() view returns (uint256)
2000000000000000028
loanOrderHash() view returns (bytes32)
0x947839881794b73d61a0a27ecdbe8213f543bdd4f4a578eedb5e1be57221109c
loanTokenAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
loanTokenLender() view returns (address)
0x77f973fcaf871459aa58cd81881ce453759281bc
name() view returns (string)
bZx Perpetual Short ETH 2x
owner() view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
splitFactor() view returns (uint256)
1000000000000000000
symbol() view returns (string)
usETH2x
totalSupply() view returns (uint256)
3847469619151
tradeTokenAddress() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wethContract() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
bZxContract() view returns (address)
0x1cf226e9413addaf22412a2e182f9c0de44af002
bZxOracle() view returns (address)
0xf257246627f7cb036ae40aa6cfe8d8ce5f0eba63
bZxVault() view returns (address)
0x8b3d70d628ebd30d4a2ea82db95ba2e906c71633
decimals() view returns (uint8)
18
initialPrice() view returns (uint256)
1000000000000000000000
leverageAmount() view returns (uint256)
2000000000000000028
loanOrderHash() view returns (bytes32)
0x947839881794b73d61a0a27ecdbe8213f543bdd4f4a578eedb5e1be57221109c
loanTokenAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
loanTokenLender() view returns (address)
0x77f973fcaf871459aa58cd81881ce453759281bc
marketLiquidityForAsset() view returns (uint256)
[unknown]
marketLiquidityForLoan() view returns (uint256)
[unknown]
marketLiquidityForToken() view returns (uint256)
[unknown]
name() view returns (string)
bZx Perpetual Short ETH 2x
owner() view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
splitFactor() view returns (uint256)
1000000000000000000
symbol() view returns (string)
usETH2x
totalSupply() view returns (uint256)
3847469619151
tradeTokenAddress() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wethContract() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address _owner, address _spender) view returns (uint256)
balanceOf(address _owner) view returns (uint256)
allowance(address _owner, address _spender) view returns (uint256)
assetBalanceOf(address _owner) view returns (uint256)
balanceOf(address _owner) view returns (uint256)
checkpointPrice(address _user) view returns (uint256 price)
State-modifying
Events setTarget(address _newTarget)
transferOwnership(address _newOwner)
approve(address _spender, uint256 _value) returns (bool)
burnToEther(address receiver, uint256 burnAmount, uint256 minPriceAllowed) returns (uint256)
burnToToken(address receiver, address burnTokenAddress, uint256 burnAmount, uint256 minPriceAllowed) returns (uint256)
decreaseApproval(address _spender, uint256 _subtractedValue) returns (bool)
depositCollateralToLoan(address depositTokenAddress, uint256 depositAmount)
depositCollateralToLoanFromBalance(uint256 amount)
donateAsset(address tokenAddress) returns (bool)
handleSplit()
increaseApproval(address _spender, uint256 _addedValue) returns (bool)
initialize(address _bZxContract, address _bZxVault, address _bZxOracle, address _wethContract, address _loanTokenAddress, address _tradeTokenAddress, address _lender, uint256 _leverageAmount, bytes32 _loanOrderHash, string _name, string _symbol)
mintWithEther(address receiver, uint256 maxPriceAllowed) payable returns (uint256)
mintWithToken(address receiver, address depositTokenAddress, uint256 depositAmount, uint256 maxPriceAllowed) returns (uint256)
setBZxContract(address _addr)
setBZxOracle(address _addr)
setBZxVault(address _addr)
setInitialPrice(uint256 _value)
setLeverageAmount(uint256 _amount)
setLoanTokenLender(address _lender)
setSplitValue(uint256 _value)
transfer(address _to, uint256 _value) returns (bool)
transferFrom(address _from, address _to, uint256 _value) returns (bool)
transferOwnership(address _newOwner)
triggerPosition(bool openPosition)
wrapEther()
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed burner, uint256 tokenAmount, uint256 assetAmount, uint256 price)
Mint(address indexed minter, uint256 tokenAmount, uint256 assetAmount, uint256 price)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 value)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed burner, uint256 tokenAmount, uint256 assetAmount, uint256 price)
Mint(address indexed minter, uint256 tokenAmount, uint256 assetAmount, uint256 price)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(address _newTarget)
fallback()
fallback()
This contract contains no error objects.