Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add USDV to telos bridge #82

Open
rozzaswap opened this issue Mar 28, 2024 · 1 comment
Open

Add USDV to telos bridge #82

rozzaswap opened this issue Mar 28, 2024 · 1 comment
Assignees
Labels
🚫 Blocked Can't proceed with this issue or pull request

Comments

@rozzaswap
Copy link
Contributor

rozzaswap commented Mar 28, 2024

As part of on-boarding USDV to Telos, they need to be added to the OFT bridge.

Docs: https://docs.usdv.money/docs
For more info see "Telos Foundation + USDV" chat (Rorrie, Don and JT can invite)

https://docs.usdv.money/docs/technical-reference/mainnet

@rozzaswap rozzaswap changed the title Add USDV Add USDV to telos bridge Mar 28, 2024
@donnyquixotic donnyquixotic self-assigned this Mar 28, 2024
@rozzaswap rozzaswap assigned rozzaswap and unassigned donnyquixotic Apr 15, 2024
@rozzaswap rozzaswap added the 🚫 Blocked Can't proceed with this issue or pull request label Apr 29, 2024
@rozzaswap
Copy link
Contributor Author

let adapterParams = ethers.utils.solidityPack(
    ['uint16','uint256'],
    [1, 200000]
  );

  let [nativeFee, lzTokenFee] = await usdv.quoteSendFee([receiverAddr32, amt, amt, dstEid], adapterParams, false, "0x");
  nativeFee = nativeFee.mul(2);
  console.log("Fee", nativeFee, lzTokenFee);

  const tx = await usdv.send([receiverAddr32, amt, amt, dstEid], adapterParams, 
    [nativeFee, lzTokenFee], receiverAddr, "0x", {value: nativeFee});
  console.log(tx);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 Blocked Can't proceed with this issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants