bZx Perpetual Long BAT 4x

Verified contract

Proxy

Active on Ethereum with 29 txns
Deployed by via 0x0acb4300 at 7880839
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
19 additional variables
ERC-20
Value $0
0x72b88bf9a497705068a5d1df431a2da84afb2bbb7e4fb020a0408f26ecc7eee3
0xc403592bbe6d10bf16e72a6b1647e9f7b125d4fd298012b9552da87ec80bd241
0xfa2e80936111748d19d5d6715f5b06d4252173f82daa11462807a9c96387881b
0x0faa281a3f4289cbbcac324ab7f8763ec3d6857d8e4b295d266abdc7edd8cd4e
0xaa32fd0605a9fa37e112d514932f33937f917fa0701474c5baf269aba7019d6e
0xccdc53cc6e0559b5ac008b452d7d450bb9202f51f548ec3b3fc87b5dca25634d
0xaafac08d750f439ff785b2bf073198d109448510420cbc8e8ccddfe9158b73be
0x703f91bc6e41ca21ddaab46f3be58558a4eb21b6d88a6f81ca53282cbcf4481d
0x29f818503e234c157fbabb1204c434667df1c9cdf54834ebfc98efefc8da17a9
0xefb39dcadac6fb75aeb6c40895bc06b25ef005d53ce6a0743d80e15d1023cbff

Functions
Getter at block 21388167
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)
4000000000000000028
loanOrderHash(view returns (bytes32)
0xb09f99bc32a88c21f86f7b62b4655af3955fc780a9df3edecb5dcf836be692e6
loanTokenAddress(view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
loanTokenLender(view returns (address)
0x14094949152eddbfcd073717200da82fed8dc960
name(view returns (string)
bZx Perpetual Long BAT 4x
owner(view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
splitFactor(view returns (uint256)
1000000000000000000
symbol(view returns (string)
dLBAT4x
totalSupply(view returns (uint256)
4011904713630361
tradeTokenAddress(view returns (address)
0x0d8775f648430679a709e98d2b0cb6250d2887ef
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)
4000000000000000028
 
liquidationPrice(view returns (uint256 price)
loanOrderHash(view returns (bytes32)
0xb09f99bc32a88c21f86f7b62b4655af3955fc780a9df3edecb5dcf836be692e6
loanTokenAddress(view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
loanTokenLender(view returns (address)
0x14094949152eddbfcd073717200da82fed8dc960
marketLiquidityForAsset(view returns (uint256)
[unknown]
marketLiquidityForLoan(view returns (uint256)
[unknown]
marketLiquidityForToken(view returns (uint256)
[unknown]
name(view returns (string)
bZx Perpetual Long BAT 4x
owner(view returns (address)
0xadff3ada12ed0f8a87e31e5a04dfd2ee054e1118
splitFactor(view returns (uint256)
1000000000000000000
symbol(view returns (string)
dLBAT4x
 
tokenPrice(view returns (uint256 price)
totalSupply(view returns (uint256)
4011904713630361
tradeTokenAddress(view returns (address)
0x0d8775f648430679a709e98d2b0cb6250d2887ef
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.