Instructions for AI assistants working on this codebase.
- Replace
[PROJECT_NAME]and[DESCRIPTION]with your project details - Remove language sections you don't use
| [package] | |
| name = "YourPackage" | |
| version = "0.0.1" | |
| [dependencies] | |
| MoveStdlib = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/move-stdlib", rev = "testnet-v1.11.1", override = true } | |
| Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "testnet-v1.11.1", override = true } | |
| SuiTears = { git = "https://github.com/interest-protocol/suitears.git", subdir = "contracts", rev = "main" } | |
| [addresses] |
| pragma solidity >=0.8.9; | |
| contract Test { | |
| uint256[][20] public array; | |
| mapping(uint256 => bool) private _exists; | |
| function push(uint256 index, uint256 indexChildren, uint256 value) external { | |
| bool exists = _exists[index]; |