PositionTokenLogicV2_1

Verified contract

Implementation

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

No balances found for "PositionTokenLogicV2_1"

No transactions found for "PositionTokenLogicV2_1"


Functions
Getter at block 20820751
bZxContract(view returns (address)
0x0000000000000000000000000000000000000000
bZxOracle(view returns (address)
0x0000000000000000000000000000000000000000
bZxVault(view returns (address)
0x0000000000000000000000000000000000000000
burningPaused(view returns (bool)
false
 
currentLeverage(view returns (uint256 leverage)
decimals(view returns (uint8)
0
 
getMaxDepositAmount(view returns (uint256 value)
initialPrice(view returns (uint256)
0
leverageAmount(view returns (uint256)
0
 
liquidationPrice(view returns (uint256 price)
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
 
marketLiquidityForLoan(view returns (uint256 value)
mintingPaused(view returns (bool)
false
name(view returns (string)
owner(view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
 
positionTokenPrice(view returns (uint256 price)
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 _owneraddress _spenderview returns (uint256)
balanceOf(address _ownerview returns (uint256)
checkpointPrice(address _userview returns (uint256 price)
positionValue(address _ownerview returns (uint256 value)
userDeficit(addressview returns (uint256)
userSurplus(addressview returns (uint256)
State-modifying
approve(address _spenderuint256 _valuereturns (bool)
burnToEther(address receiveruint256 burnAmountuint256 minPriceAllowedreturns (uint256)
burnToEther(address receiveruint256 burnAmountuint256 minPriceAllowedbytesreturns (uint256)
burnToToken(address receiveraddress burnTokenAddressuint256 burnAmountuint256 minPriceAllowedreturns (uint256)
burnToToken(address receiveraddress burnTokenAddressuint256 burnAmountuint256 minPriceAllowedbytesreturns (uint256)
depositCollateralToLoan(address depositTokenAddressuint256 depositAmount
donateAsset(address tokenAddressreturns (bool)
handleSplit(
initialize(address[7] addressesbool _shortPositionuint256 _leverageAmountbool _newFormatbytes32 _loanOrderHashstring _namestring _symbol
mintWithEther(address receiveruint256 maxPriceAllowedpayable returns (uint256)
mintWithEther(address receiveruint256 maxPriceAllowedbytes loanDataBytespayable returns (uint256)
mintWithToken(address receiveraddress depositTokenAddressuint256 depositAmountuint256 maxPriceAllowedreturns (uint256)
mintWithToken(address receiveraddress depositTokenAddressuint256 depositAmountuint256 maxPriceAllowedbytes loanDataBytesreturns (uint256)
pauseBurning(bool _isPaused
pauseMinting(bool _isPaused
setApprovals(returns (bool)
setBZxOracle(address _addr
setInitialPrice(uint256 _value
setLeverageValue(uint256 _leverageAmountbool _newFormatbytes32 _loanOrderHash
setLoanTokenLender(address _lender
setSplitValue(uint256 _value
transfer(address _touint256 _valuereturns (bool)
transferFrom(address _fromaddress _touint256 _valuereturns (bool)
transferOwnership(address _newOwner
triggerPosition(address depositTokenAddressuint256 depositAmountuint256 rebalanceAmountbytes loanDataBytes
triggerPosition(bool
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed burneraddress indexed withdrawalAddressuint256 withdrawalAmountuint256 tokenAmountuint256 price
Mint(address indexed minteraddress indexed depositAddressuint256 depositAmountuint256 tokenAmountuint256 price
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.