Update README.md

adding setId() and getId() into requirement
This commit is contained in:
Lecky Lao 2020-07-19 00:24:35 +10:00 committed by GitHub
parent 56c7d10a43
commit 803e074b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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).