mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Update README.md
adding setId() and getId() into requirement
This commit is contained in:
parent
56c7d10a43
commit
803e074b8f
|
@ -22,6 +22,8 @@ Be sure to comply with the requirements while building connectors for better com
|
|||
- Use `getEthAddr()` to denote Ethereum (non-ERC20).
|
||||
- Use `address(this)` instead of `msg.sender` for fetching balance on-chain, etc.
|
||||
- Only `approve()` limited amount while giving ERC20 allowance, which strictly needs to be 0 by the end of the spell.
|
||||
- Use `getId()` for getting value that saved from previous spell.
|
||||
- Use `setId()` for setting value to save for the future spell.
|
||||
|
||||
<!-- - If required, Add two additional parameter, `getId` & `setId` in external public functions.
|
||||
- Use `getUint()` or `setUint()` functions to fetch or store values.
|
||||
|
@ -31,4 +33,4 @@ Be sure to comply with the requirements while building connectors for better com
|
|||
|
||||
## Support
|
||||
|
||||
If you can't find something you're looking for or have any questions, ask them at our developers community on [Telegram](https://t.me/instadevelopers), [Discord](https://discord.gg/83vvrnY) or simply send an [Email](mailto:info@instadapp.io).
|
||||
If you can't find something you're looking for or have any questions, ask them at our developers community on [Telegram](https://t.me/instadevelopers), [Discord](https://discord.gg/83vvrnY) or simply send an [Email](mailto:info@instadapp.io).
|
||||
|
|
Loading…
Reference in New Issue
Block a user