PositionTokenLogic
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
Balances ($0.00)
No balances found for "PositionTokenLogic"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PositionTokenLogic"
ABI
ABI objects
Getter at block 21306700 currentLeverage() view returns (uint256 leverage) liquidationPrice() view returns (uint256 price) marketLiquidityForAsset() view returns (uint256) marketLiquidityForLoan() view returns (uint256) marketLiquidityForToken() view returns (uint256)
bZxContract() view returns (address)
0x0000000000000000000000000000000000000000
bZxOracle() view returns (address)
0x0000000000000000000000000000000000000000
bZxVault() view returns (address)
0x0000000000000000000000000000000000000000
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
loanTokenLender() view returns (address)
0x0000000000000000000000000000000000000000
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 _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 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)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.