PositionTokenLogic

Verified contract

Implementation

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

No balances found for "PositionTokenLogic"

No transactions found for "PositionTokenLogic"


Functions
Getter at block 21288431
bZxContract(view returns (address)
0x0000000000000000000000000000000000000000
bZxOracle(view returns (address)
0x0000000000000000000000000000000000000000
bZxVault(view returns (address)
0x0000000000000000000000000000000000000000
 
currentLeverage(view returns (uint256 leverage)
decimals(view returns (uint8)
0
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
loanTokenLender(view returns (address)
0x0000000000000000000000000000000000000000
 
marketLiquidityForAsset(view returns (uint256)
 
marketLiquidityForToken(view returns (uint256)
name(view returns (string)
owner(view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
splitFactor(view returns (uint256)
1000000000000000000
symbol(view returns (string)
tokenPrice(view returns (uint256 price)
0
totalSupply(view returns (uint256)
0
tradeTokenAddress(view returns (address)
0x0000000000000000000000000000000000000000
wethContract(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address _owneraddress _spenderview returns (uint256)
assetBalanceOf(address _ownerview returns (uint256)
balanceOf(address _ownerview returns (uint256)
checkpointPrice(address _userview returns (uint256 price)
State-modifying
adminBurn(address _whouint256 _tokenAmountuint256 _assetAmountuint256 _price
adminMint(address _touint256 _tokenAmountuint256 _assetAmountuint256 _price
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
depositPositionToLoan(address depositTokenAddressuint256 depositAmount
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
setLoanTokenAddress(address _addr
setLoanTokenLender(address _lender
setSplitValue(uint256 _value
setTradeTokenAddress(address _addr
setWETHContract(address _addr
transfer(address _touint256 _valuereturns (bool)
transferFrom(address _fromaddress _touint256 _valuereturns (bool)
transferOwnership(address _newOwner
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
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.