Accounts & Signers
Overview
How to Create a Subaccount
/// @notice Deposit `amount` of token from msg.sender to the `subaccount`.
/// @param subaccount bytes32 encoded string of the subaccount (unique per EOA)
/// @param depositToken Address of the token to deposit
/// @param amount The amount of tokens in native units to deposit (non-D9)
/// @param referralCode accepted only on the first deposit for an account, reference to credit for referral
function deposit(bytes32 subaccount, address depositToken, uint256 amount, bytes32 referralCode) external;
/// @notice Deposit the value amount of USD from msg.sender to the `subaccount`.
/// @param subaccount bytes32 encoded string of the subaccount (unique per EOA)
/// @param referralCode accepted only on the first deposit for an account, reference to credit for referral
function depositUsd(bytes32 subaccount, bytes32 referralCode) external payable;Querying
Linked Signers
Purpose of Linked Signers?
Revoking Signers
Signer Expiry
Querying for Linked Signers
Last updated
