UBIQUITY - Mainnet

Ubiquity Dollar (uAD). Ubiquity-v1 connector on mainnet triggers methods like deposit, withdraw. You can view details like source code, ABIs on Etherscan.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate ETH.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

Deposit

3POOL (DAI / USDC / USDT) => METAPOOL (3CRV / uAD) => uAD3CRV-f => Ubiquity BondingShareSTEP 1 : 3POOL (DAI / USDC / USDT) => 3CRVSTEP 2 : METAPOOL(3CRV / UAD) => uAD3CRV-fSTEP 3 : uAD3CRV-f => Ubiquity BondingShare

spells.add({  connector: "UBIQUITY-A",  method: "deposit",  args: [token, amount, durationWeeks, getId, setId]});
Parameter Type Description
token address Token deposited : DAI, USDC, USDT, 3CRV, uAD or uAD3CRV-f
amount uint256 Amount of tokens to deposit (For max: `uint256(-1)`)
durationWeeks uint256 Duration in weeks tokens will be locked (4-208)
getId uint256 ID to retrieve amt.
setId uint256 ID stores the bonding share id of tokens deposited.

Withdraw

Ubiquity BondingShare => uAD3CRV-f => METAPOOL (3CRV / uAD) => 3POOL (DAI / USDC / USDT)STEP 1 : Ubiquity BondingShare => uAD3CRV-fSTEP 2 : uAD3CRV-f => METAPOOL(3CRV / UAD)STEP 3 : 3CRV => 3POOL (DAI / USDC / USDT)

spells.add({  connector: "UBIQUITY-A",  method: "withdraw",  args: [bondingShareId, token, getId, setId]});
Parameter Type Description
bondingShareId uint256 Bonding Share Id to withdraw
token address Token to withdraw to : DAI, USDC, USDT, 3CRV, uAD or uAD3CRV-f
getId uint256 ID
setId uint256 ID

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.

Table of Contents