BSX1000x

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xbc73a863 at 21645393
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots

No balances found for "BSX1000x"

No transactions found for "BSX1000x"


Functions
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 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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 accountview returns (struct IBSX1000xBalance)
getIsolatedFund(uint32 productIdview returns (booluint256)
getPosition(address accountuint256 nonceview returns (struct IBSX1000xPosition)
isAuthorizedSigner(address accountaddress signerview returns (bool)
isWithdrawNonceUsed(address accountuint256 nonceview returns (bool)
State-modifying
addCredit(address accountuint256 credit
closeIsolatedFund(uint32 productId
closePosition(uint32 productIdaddress accountuint256 nonceuint128 closePriceint256 pnlint256 feebytes signature
deposit(address accountuint256 amount
deposit(uint256 amount
depositFund(uint256 amount
depositIsolatedFund(uint32 productIduint256 amount
depositRaw(address accountaddress tokenuint256 rawAmount
depositWithAuthorization(address accountuint256 amountuint256 validAfteruint256 validBeforebytes32 noncebytes signature
forceClosePosition(uint32 productIdaddress accountuint256 nonceint256 pnlint256 feeuint8 reason
initialize(string namestring versionaddress _accessaddress _collateralToken
openIsolatedFund(uint32 productId
openPosition(struct IBSX1000xOrder orderbytes signature
openPosition(struct IBSX1000xOrder orderuint256 creditbytes signature
subCredit(address accountuint256 credit
withdraw(address accountuint256 amountuint256 feeuint256 noncebytes signature
withdrawFund(uint256 amount
Events
AuthorizeSigner(address indexed accountaddress indexed signeruint256 nonce
CloseIsolatedFund(uint256 productId
ClosePosition(uint32 indexed productIdaddress indexed accountuint256 indexed nonceint256 pnlint256 feeuint8 reason
Deposit(address indexed accountuint256 amountuint256 balance
DepositFund(uint256 amountuint256 fundBalance
DepositIsolatedFund(uint256 productIduint256 amountuint256 balance
EIP712DomainChanged(
Initialized(uint64 version
OpenIsolatedFund(uint256 productId
OpenPosition(uint32 indexed productIdaddress indexed accountuint256 indexed nonceint256 fee
UnauthorizeSigner(address indexed accountaddress indexed signer
WithdrawFund(uint256 amountuint256 fundBalance
WithdrawSucceeded(address indexed accountuint256 indexed nonceuint256 amountuint256 feeuint256 balance
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AuthorizeSigner_UsedNonce(address accountuint256 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 recoveredSigneraddress expectedSigner
InvalidTakeProfitPrice(
InvalidUInt128(
InvalidUInt256(
IsolatedFundDisabled(
NotInitializing(
PositionExisted(address accountuint256 nonce
PositionNotOpening(address accountuint256 nonce
ProductIdMismatch(
SafeERC20FailedOperation(address token
UnauthorizedSigner(address accountaddress signer
Withdraw_UsedNonce(address accountuint256 nonce
ZeroAddress(
ZeroAmount(