PositionTokenLogicV2_1
Verified contract
Implementation
Active on
Ethereum with 0 txns
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
8 additional
variables
Balances ($0.00)
No balances found for "PositionTokenLogicV2_1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PositionTokenLogicV2_1"
ABI
ABI objects
Getter at block 20820751 currentLeverage() view returns (uint256 leverage) getMaxDepositAmount() view returns (uint256 value) liquidationPrice() view returns (uint256 price) marketLiquidityForLoan() view returns (uint256 value) positionTokenPrice() view returns (uint256 price)
bZxContract() view returns (address)
0x0000000000000000000000000000000000000000
bZxOracle() view returns (address)
0x0000000000000000000000000000000000000000
bZxVault() view returns (address)
0x0000000000000000000000000000000000000000
burningPaused() view returns (bool)
false
decimals() view returns (uint8)
0
initialPrice() view returns (uint256)
0
leverageAmount() view returns (uint256)
0
loanOrderHash() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
loanTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
loanTokenAdjustment() view returns (uint256)
0
loanTokenDecimals() view returns (uint256)
0
loanTokenLender() view returns (address)
0x0000000000000000000000000000000000000000
mintingPaused() view returns (bool)
false
name() view returns (string)
owner() view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
shortPosition() view returns (bool)
false
splitFactor() view returns (uint256)
1000000000000000000
symbol() view returns (string)
tokenPrice() view returns (uint256 price)
0
totalDeficit() view returns (uint256)
0
totalSupply() view returns (uint256)
0
totalSurplus() view returns (uint256)
0
tradeTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
tradeTokenAdjustment() view returns (uint256)
0
tradeTokenDecimals() view returns (uint256)
0
wethContract() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address _owner, address _spender) view returns (uint256)
balanceOf(address _owner) view returns (uint256)
checkpointPrice(address _user) view returns (uint256 price)
positionValue(address _owner) view returns (uint256 value)
userDeficit(address) view returns (uint256)
userSurplus(address) view returns (uint256)
State-modifying
Events approve(address _spender, uint256 _value) returns (bool)
burnToEther(address receiver, uint256 burnAmount, uint256 minPriceAllowed) returns (uint256)
burnToEther(address receiver, uint256 burnAmount, uint256 minPriceAllowed, bytes) returns (uint256)
burnToToken(address receiver, address burnTokenAddress, uint256 burnAmount, uint256 minPriceAllowed) returns (uint256)
burnToToken(address receiver, address burnTokenAddress, uint256 burnAmount, uint256 minPriceAllowed, bytes) returns (uint256)
depositCollateralToLoan(address depositTokenAddress, uint256 depositAmount)
donateAsset(address tokenAddress) returns (bool)
handleSplit()
initialize(address[7] addresses, bool _shortPosition, uint256 _leverageAmount, bool _newFormat, bytes32 _loanOrderHash, string _name, string _symbol)
mintWithEther(address receiver, uint256 maxPriceAllowed) payable returns (uint256)
mintWithEther(address receiver, uint256 maxPriceAllowed, bytes loanDataBytes) payable returns (uint256)
mintWithToken(address receiver, address depositTokenAddress, uint256 depositAmount, uint256 maxPriceAllowed) returns (uint256)
mintWithToken(address receiver, address depositTokenAddress, uint256 depositAmount, uint256 maxPriceAllowed, bytes loanDataBytes) returns (uint256)
pauseBurning(bool _isPaused)
pauseMinting(bool _isPaused)
setApprovals() returns (bool)
setBZxOracle(address _addr)
setInitialPrice(uint256 _value)
setLeverageValue(uint256 _leverageAmount, bool _newFormat, bytes32 _loanOrderHash)
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(address depositTokenAddress, uint256 depositAmount, uint256 rebalanceAmount, bytes loanDataBytes)
triggerPosition(bool)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed burner, address indexed withdrawalAddress, uint256 withdrawalAmount, uint256 tokenAmount, uint256 price)
Mint(address indexed minter, address indexed depositAddress, uint256 depositAmount, uint256 tokenAmount, uint256 price)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.