Interact through Etherscan
Deposit
-
Get an address of the needed Default Collateral contract from the Deployments page (e.g., 0xC329400492c6ff2438472D4651Ad17389fCb843a).
-
Open "Contract/Read Contract as Proxy" tab.
-
Get the collateral’s underlying asset address from
asset
method (e.g., 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0). -
Open the asset’s "Contract/Read Contract as Proxy (or Contract/Read Contract)" tab.
-
Get the asset’s number of decimals from
decimals
method (e.g., 18). -
Open the asset’s "Contract/Write Contract as Proxy (or Contract/Write Contract)" tab.
-
Connect your wallet by clicking "Connect to Web3".
-
Approve the asset to the Default Collateral contract via
approve
method by clicking "Write".spender
- the Default Collateral’s address (e.g., 0xC329400492c6ff2438472D4651Ad17389fCb843a)amount
- a needed deposit amount of the asset multiplied by 10^decimals
(e.g., 0.1 wstETH means 100000000000000000)
-
Open the collateral’s "Contract/Write Contract as Proxy" tab and connect the wallet.
-
Deposit the asset to the Default Collateral contract via
deposit (0x47e7ef24)
method by clicking "Write".recipient
- your wallet address (0x...)amount
- a needed deposit amount of the asset multiplied by 10^decimals
(e.g., 0.1 wstETH means 100000000000000000)
Withdraw
-
Get an address of the needed Default Collateral contract from the Deployments page (e.g., 0xC329400492c6ff2438472D4651Ad17389fCb843a).
-
Open "Contract/Read Contract as Proxy" tab.
-
Get the collateral’s underlying asset address from
asset
method (e.g., 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0). -
Open the asset’s "Contract/Read Contract as Proxy (or Contract/Read Contract)" tab.
-
Get the asset’s number of decimals from
decimals
method (e.g., 18). -
Open the collateral’s "Contract/Write Contract as Proxy" tab.
-
Connect your wallet by clicking "Connect to Web3".
-
Withdraw the asset from the Default Collateral contract via
withdraw
method by clicking "Write".recipient
- your wallet address (0x...)amount
- a needed withdrawal amount of the asset multiplied by 10^decimals
(e.g., 0.1 wstETH means 100000000000000000)