PositionToken

Verified contract

Proxy

Active on Ethereum with 65 txns
Deployed by via 0xfba5e52e at 7869355
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
19 additional variables

No balances found for "PositionToken"

0x045f49256460c20436e3f07c3b63ec8f37a3342e739b14da138f75153610136d
0xeae450bb9c453a971588c8e91f653227fa48d35675202bf8e027ecb07a3e4c8a
0x0a04195bf679314963959169f2263ebe219cb0e26f167c2b839de8b8b75640c8
0x5b04a01178cc5cac252d046faadba3867d63ba4818ce8d47412ec5d4630a06b2
0xa8b74eda203e81d8a5bc0909edc41d70ad81f2cc65d8034b029f2b71edda016b
0x6051ed547144ff2dcde13063f9a906ea1cdc6f9d3b75a2d76745100de802a265
0x0959b8c890a7a4df29d2e5915e258102d106420d0d14f937f4e66831444db3a4
0xf353b6151fe93084484169e6129c8c4c4ee86cb67cf39bef2729c34ea8e22bf7
0x600affb4fd300abf5e76b9ff100fffe57ad54a92af17b0069b41614b8e01b06b
0xde9c6fc6ac6f6b198101bb966ba676c633a645bcb40272545105463994d61855

Functions
Getter at block 21224998
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
 
currentLeverage(view returns (uint256 leverage)
decimals(view returns (uint8)
18
initialPrice(view returns (uint256)
1000000000000000000000
leverageAmount(view returns (uint256)
2000000000000000028
 
liquidationPrice(view returns (uint256 price)
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
 
tokenPrice(view returns (uint256 price)
totalSupply(view returns (uint256)
3847469619151
tradeTokenAddress(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wethContract(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address _owneraddress _spenderview returns (uint256)
balanceOf(address _ownerview returns (uint256)
allowance(address _owneraddress _spenderview returns (uint256)
assetBalanceOf(address _ownerview returns (uint256)
balanceOf(address _ownerview returns (uint256)
checkpointPrice(address _userview returns (uint256 price)
State-modifying
setTarget(address _newTarget
transferOwnership(address _newOwner
approve(address _spenderuint256 _valuereturns (bool)
burnToEther(address receiveruint256 burnAmountuint256 minPriceAllowedreturns (uint256)
burnToToken(address receiveraddress burnTokenAddressuint256 burnAmountuint256 minPriceAllowedreturns (uint256)
decreaseApproval(address _spenderuint256 _subtractedValuereturns (bool)
depositCollateralToLoan(address depositTokenAddressuint256 depositAmount
depositCollateralToLoanFromBalance(uint256 amount
donateAsset(address tokenAddressreturns (bool)
handleSplit(
increaseApproval(address _spenderuint256 _addedValuereturns (bool)
initialize(address _bZxContractaddress _bZxVaultaddress _bZxOracleaddress _wethContractaddress _loanTokenAddressaddress _tradeTokenAddressaddress _lenderuint256 _leverageAmountbytes32 _loanOrderHashstring _namestring _symbol
mintWithEther(address receiveruint256 maxPriceAllowedpayable returns (uint256)
mintWithToken(address receiveraddress depositTokenAddressuint256 depositAmountuint256 maxPriceAllowedreturns (uint256)
setBZxContract(address _addr
setBZxOracle(address _addr
setBZxVault(address _addr
setInitialPrice(uint256 _value
setLeverageAmount(uint256 _amount
setLoanTokenLender(address _lender
setSplitValue(uint256 _value
transfer(address _touint256 _valuereturns (bool)
transferFrom(address _fromaddress _touint256 _valuereturns (bool)
transferOwnership(address _newOwner
triggerPosition(bool openPosition
wrapEther(
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed burneruint256 tokenAmountuint256 assetAmountuint256 price
Mint(address indexed minteruint256 tokenAmountuint256 assetAmountuint256 price
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed burneruint256 tokenAmountuint256 assetAmountuint256 price
Mint(address indexed minteruint256 tokenAmountuint256 assetAmountuint256 price
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address _newTarget
Fallback and receive
fallback(
fallback(
Errors

This contract contains no error objects.