Skip to content

Commit

Permalink
Update interact_with_xc20.md
Browse files Browse the repository at this point in the history
  • Loading branch information
meganskye committed Aug 25, 2023
1 parent f1066aa commit ea32275
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ In the following section, we will demonstrate how to interact with the Cookbook
💡 In order for an account to receive some of the **XC20** asset, it has to hold some native token. This can be bypassed if `isSufficient` is sufficient is set to `true`.
:::

The Solidity Interface of Mintable XC20 on Astar includes IERC20 and IERC20Plus interfaces, which are declared in [ERC20.sol](https://github.com/AstarNetwork/Astar/blob/polkadot-v0.9.33/precompiles/assets-erc20/ERC20.sol), and are as follows:
The Solidity Interface of Mintable XC20 on Astar includes IERC20 and IERC20Plus interfaces, which are declared in [ERC20.sol](https://github.com/AstarNetwork/astar-frame/blob/polkadot-v0.9.33/precompiles/assets-erc20/ERC20.sol), and are as follows:

```solidity
interface IERC20 {
Expand Down Expand Up @@ -232,4 +232,4 @@ Please feel free to join our [Discord](https://discord.gg/astarnetwork) for tech

## Reference

- [ERC20.sol](https://github.com/AstarNetwork/Astar/blob/polkadot-v0.9.33/precompiles/assets-erc20/ERC20.sol)
- [ERC20.sol](https://github.com/AstarNetwork/astar-frame/blob/polkadot-v0.9.33/precompiles/assets-erc20/ERC20.sol)

0 comments on commit ea32275

Please sign in to comment.