File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ Below are some example snippets to help you get started.
99## Bridging tokens
1010
1111``` solidity
12- uint256 coreAmount = PrecompileLib.convertEvmToCoreAmount(usdc , evmAmount);
13- CoreWriterLib.bridgeToCore(usdc , coreAmount, coreRecipient);
12+ uint256 coreAmount = PrecompileLib.convertEvmToCoreAmount(uBTC , evmAmount);
13+ CoreWriterLib.bridgeToCore(uBTC , coreAmount, coreRecipient);
1414```
1515
1616## Reading precompiles by EVM address
1717
1818``` solidity
19- uint256 spotIdx = TokenRegistry.getSpotIndex(usdc );
20- uint256 px = PrecompileLib.spotPxByAddress(usdc );
19+ uint256 spotIdx = TokenRegistry.getSpotIndex(uBTC );
20+ uint256 px = PrecompileLib.spotPxByAddress(uBTC );
2121```
2222
2323See the repository ` examples/ ` directory for full working examples.
You can’t perform that action at this time.
0 commit comments