-
Notifications
You must be signed in to change notification settings - Fork 235
feat/native-sync-vault-composer #1747
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
base: main
Are you sure you want to change the base?
Changes from all commits
fc23701
60ee7d1
e84f500
5dfefcd
abe2807
6bd8ae6
6aa8a3b
0dc45bb
a87ff95
cd43b60
f5e888a
5608ee0
903c135
ad6e0b3
1cb1735
f6292dd
199e864
24a3c77
9702caa
d437dd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc: @arekLZ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What styling is off? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,8 +26,7 @@ pnpm install @layerzerolabs/ovault-evm | |
| npm install @layerzerolabs/ovault-evm | ||
| ``` | ||
|
|
||
|
|
||
| ## Ovault SDK | ||
| ## Ovault SDK | ||
|
|
||
| This is an SDK to make depositing/redeeming on OVaults simple. | ||
|
|
||
|
|
@@ -126,6 +125,12 @@ const tx = await walletClient.writeContract({ | |
| For more example usage you can check `./test/sdk.test.ts`. It will run transactions against the deployed OVault contracts | ||
| on Base-Sepolia and Arbitrum-Sepolia | ||
|
|
||
| ### Using Stargate native pools | ||
| If you are staking in Stargate's native pools you will need a slightly different setup. As the asset is the native token there is not | ||
| really an OFT or an ERC20 address. So for the asset OFT and ERC20 address you need to supply the Native Pool and `0x0`(or some other 0 value hex string). | ||
| The Native Pool implements the OFT interface, and the `0x0` address will let the library know that it should handle it as a native pool. Other than that | ||
| it is the same. If you are using wETH, you can supply arguments normally. This is just for ETH or other native tokens specifically. | ||
|
Comment on lines
+129
to
+132
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One line? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @arekLZ can you help with this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand. Doing a quick (and completely non-exhaustive) check of the repo, I'd say that it's not very consistent with how we're formatting |
||
|
|
||
| #### Adding Buffer to Hub Chain Fee | ||
| You can add a buffer to the fee on the hub chain by override the `calculateHubChainFee` function. | ||
|
|
||
|
|
||
tinom9 marked this conversation as resolved.
Show resolved
Hide resolved
|
Large diffs are not rendered by default.

Uh oh!
There was an error while loading. Please reload this page.