Skip to content

Commit 9f51b07

Browse files
authored
Update wrapped-token.md (#777)
Adding WASTR `0x37795fdd8c165cab4d6c05771d564d80439cd093` to Astar documentation. Blockscout: https://astar.blockscout.com/token/0x37795FdD8C165CaB4D6c05771D564d80439CD093
1 parent e69ea2d commit 9f51b07

1 file changed

Lines changed: 69 additions & 2 deletions

File tree

docs/build/EVM/wrapped-token.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,76 @@ This documentation provides details about the WASTR and WSBY tokens deployed on
1010

1111
## WASTR (Wrapped ASTR)
1212

13-
**WASTR** is a wrapped version of the native ASTR token on the Astar network. Wrapping ASTR enables its use in various dApps and smart contracts while maintaining compatibility with ERC20 standards.
13+
WASTR is a wrapped version of the native ASTR token on the Astar network. Wrapping ASTR enables its use in various dApps and smart contracts while maintaining compatibility with ERC20 standards.
1414

15-
- **Contract Address**: [0x37795FdD8C165CaB4D6c05771D564d80439CD093](https://astar.blockscout.com/address/0x37795FdD8C165CaB4D6c05771D564d80439CD093?tab=txs)
15+
### Two WASTR Implementations
16+
17+
Astar EVM supports two WASTR contracts for different use cases. **Both are safe and fully functional.** Choose based on your specific needs.
18+
19+
#### Official Astar WASTR (Recommended)
20+
**Contract Address:** `0x37795fdd8c165cab4d6c05771d564d80439cd093`
21+
22+
- **Standard:** WETH9 (ERC-20 compatible)
23+
- **Deployed by:** Astar Foundation
24+
- **Chainlink CCIP Compatible:** Yes
25+
26+
**Use for:**
27+
- Cross-chain bridging to Soneium via CCIP
28+
- All new dApp integrations
29+
- Future Astar ecosystem development
30+
31+
**Block Explorer:** [View on Blockscout](https://astar.blockscout.com/token/0x37795FdD8C165CaB4D6c05771D564d80439CD093)
32+
33+
#### Community WASTR (Legacy Support)
34+
**Contract Address:** `0xAeaaf0e2c81Af264101B9129C00F4440cCF0F720`
35+
36+
- **Standard:** WETH10 (ERC-20 compatible with additional features)
37+
- **Deployed by:** Arthswap
38+
- **Additional Features:** Flash loans (ERC-3156), Permit, withdrawTo
39+
40+
**Use for:**
41+
- Existing positions in Arthswap and legacy DeFi protocols
42+
- Applications requiring WETH10-specific features (flash loans, permit)
43+
44+
**Block Explorer:** [View on Blockscout](https://astar.blockscout.com/token/0xAeaaf0e2c81Af264101B9129C00F4440cCF0F720)
45+
46+
### Quick Decision Guide
47+
48+
**Are you bridging to Soneium?**
49+
→ Use Official Astar WASTR (`0x3779...`)
50+
51+
**Building a new dApp?**
52+
→ Use Official Astar WASTR (`0x3779...`)
53+
54+
**Using Arthswap or legacy Astar DeFi protocols?**
55+
→ Use Community WASTR (`0xAeaa...`)
56+
57+
**Need flash loan functionality?**
58+
→ Use Community WASTR (`0xAeaa...`)
59+
60+
### For Developers
61+
62+
#### Why Two Contracts?
63+
64+
The Official Astar WASTR uses WETH9 for seamless integration with Chainlink CCIP's cross-chain messaging infrastructure, enabling native bridging to Soneium and future networks.
65+
66+
The Community WASTR uses WETH10, offering advanced features like gasless approvals (permit) and flash loans, beneficial for complex DeFi interactions.
67+
68+
#### Contract Compatibility
69+
70+
Both contracts implement standard WETH functionality:
71+
- `deposit()` / `withdraw()`
72+
- Full ERC-20 interface
73+
- 1:1 ASTR backing
74+
75+
**WETH10 additional methods:**
76+
```solidity
77+
flashLoan(IERC3156FlashBorrower receiver, address token, uint256 value, bytes calldata data)
78+
permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s)
79+
withdrawTo(address to, uint256 value)
80+
```
81+
82+
If you don't need these specific features, use the Official Astar WASTR for maximum ecosystem compatibility.
1683

1784
---
1885

0 commit comments

Comments
 (0)