2024-02-13 15:50:31 -03:00

1.7 KiB

Solidity API

Constants

_ROOT_UPDATED_EVENT_SIGNATURE

uint256 _ROOT_UPDATED_EVENT_SIGNATURE

███ Constants ██████████████████████████████████████████████████████████

_ALLOWED_ERC20_UPDATED_EVENT_SIGNATURE

uint256 _ALLOWED_ERC20_UPDATED_EVENT_SIGNATURE

_TRUSTED_FORWARDER_UPDATED_EVENT_SIGNATURE

uint256 _TRUSTED_FORWARDER_UPDATED_EVENT_SIGNATURE

_SELLER_ALLOWLIST_SLOT_SEED

uint256 _SELLER_ALLOWLIST_SLOT_SEED

Seller casted to key => Seller's allowlist merkleroot. mapping(uint256 => bytes32) public sellerAllowList;

_ALLOWED_ERC20_SLOT_SEED

uint256 _ALLOWED_ERC20_SLOT_SEED

Tokens allowed to serve as the underlying amount of a deposit. mapping(ERC20 => bool) public allowedERC20s;

_SELLER_BALANCE_SLOT_SEED

uint256 _SELLER_BALANCE_SLOT_SEED

_Value in custom storage slot given by: mstore(0x20, token) mstore(0x0c, SELLER_BALANCE_SLOT_SEED) mstore(0x00, seller) let value := sload(keccak256(0x0c, 0x34)).

BITMASK_SB_ENTRY

uint256 BITMASK_SB_ENTRY

The bitmask of sellerBalance entry.

BITPOS_VALID

uint256 BITPOS_VALID

The bit position of valid in sellerBalance.

WAD

uint256 WAD

The scalar of BRZ token.

MAXBALANCE_UPPERBOUND

uint256 MAXBALANCE_UPPERBOUND

REPUTATION_LOWERBOUND

uint256 REPUTATION_LOWERBOUND

LOCKAMOUNT_UPPERBOUND

uint256 LOCKAMOUNT_UPPERBOUND