BSX1000x
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
14
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($0.00)
No balances found for "BSX1000x"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BSX1000x"
ABI
ABI objects
Getter at block 21750570
CLOSE_POSITION_TYPEHASH() view returns (bytes32)
0xcd89adf178d49cafc98ada6153b5107e1c244b1b3bd50b817322cc6ca227fa4c
MAX_LEVERAGE() view returns (uint128)
1000000000000000000000
MAX_LOSS_FACTOR() view returns (int256)
-1
MAX_PROFIT_FACTOR() view returns (int256)
3
MAX_WITHDRAWAL_FEE() view returns (uint256)
1000000000000000000
OPEN_POSITION_TYPEHASH() view returns (bytes32)
0xc1ff4299b3e3aceee012597bec9b722723f33b2cf8f9002ae84c1fa1b76aa7d5
WITHDRAW_TYPEHASH() view returns (bytes32)
0x7bff62fab4d3966358ca279d8121ce1462c698459bc3b11242787b5f99a9c413
access() view returns (address)
0x0000000000000000000000000000000000000000
collateralToken() view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0x05fad3714e0da263eed947c18aef7cbb82f90c5a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
generalFund() view returns (uint256)
0
getIsolatedProducts() view returns (uint256[])
[]
getTotalIsolatedFunds() view returns (uint256 total)
0
Read-only
getBalance(address account) view returns (struct IBSX1000xBalance)
getIsolatedFund(uint32 productId) view returns (bool, uint256)
getPosition(address account, uint256 nonce) view returns (struct IBSX1000xPosition)
isAuthorizedSigner(address account, address signer) view returns (bool)
isWithdrawNonceUsed(address account, uint256 nonce) view returns (bool)
State-modifying
Events addCredit(address account, uint256 credit)
closeIsolatedFund(uint32 productId)
closePosition(uint32 productId, address account, uint256 nonce, uint128 closePrice, int256 pnl, int256 fee, bytes signature)
deposit(address account, uint256 amount)
deposit(uint256 amount)
depositFund(uint256 amount)
depositIsolatedFund(uint32 productId, uint256 amount)
depositRaw(address account, address token, uint256 rawAmount)
depositWithAuthorization(address account, uint256 amount, uint256 validAfter, uint256 validBefore, bytes32 nonce, bytes signature)
forceClosePosition(uint32 productId, address account, uint256 nonce, int256 pnl, int256 fee, uint8 reason)
initialize(string name, string version, address _access, address _collateralToken)
openIsolatedFund(uint32 productId)
openPosition(struct IBSX1000xOrder order, bytes signature)
openPosition(struct IBSX1000xOrder order, uint256 credit, bytes signature)
subCredit(address account, uint256 credit)
withdraw(address account, uint256 amount, uint256 fee, uint256 nonce, bytes signature)
withdrawFund(uint256 amount)
AuthorizeSigner(address indexed account, address indexed signer, uint256 nonce)
CloseIsolatedFund(uint256 productId)
ClosePosition(uint32 indexed productId, address indexed account, uint256 indexed nonce, int256 pnl, int256 fee, uint8 reason)
Deposit(address indexed account, uint256 amount, uint256 balance)
DepositFund(uint256 amount, uint256 fundBalance)
DepositIsolatedFund(uint256 productId, uint256 amount, uint256 balance)
EIP712DomainChanged()
Initialized(uint64 version)
OpenIsolatedFund(uint256 productId)
OpenPosition(uint32 indexed productId, address indexed account, uint256 indexed nonce, int256 fee)
UnauthorizeSigner(address indexed account, address indexed signer)
WithdrawFund(uint256 amount, uint256 fundBalance)
WithdrawSucceeded(address indexed account, uint256 indexed nonce, uint256 amount, uint256 fee, uint256 balance)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
AuthorizeSigner_UsedNonce(address account, uint256 nonce)
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
EnumerableMapNonexistentKey(bytes32 key)
ExceededMaxLeverage()
ExceededMaxWithdrawalFee()
ExceededNotionalAmount()
Exchange_NotCollateralToken()
FailedInnerCall()
InsufficientAccountBalance()
InsufficientFundBalance()
InsufficientIsolatedFundBalance(uint256 productId)
InvalidClosePositionReason()
InvalidClosePrice()
InvalidCredit()
InvalidInitialization()
InvalidInt128()
InvalidInt256()
InvalidLiquidationPrice()
InvalidOrderFee()
InvalidPnl()
InvalidSignature(address account)
InvalidSignerSignature(address recoveredSigner, address expectedSigner)
InvalidTakeProfitPrice()
InvalidUInt128()
InvalidUInt256()
IsolatedFundDisabled()
NotInitializing()
PositionExisted(address account, uint256 nonce)
PositionNotOpening(address account, uint256 nonce)
ProductIdMismatch()
SafeERC20FailedOperation(address token)
UnauthorizedSigner(address account, address signer)
Withdraw_UsedNonce(address account, uint256 nonce)
ZeroAddress()
ZeroAmount()