# [Ride v5] Limitations
⚠️ This is the documentation for the Standard library version 5. We recommend to use version 6. Go to version 6
Limitation | Maximum value |
---|---|
dApp script size before/after activation of feature #17 | 32 Kbytes/160 Kbytes |
Account script or asset script size | 8 Kbytes |
Complexity of account script | 2000 |
Complexity of asset script | 4000 |
Complexity of each callable function of dApp script | 10,000 |
Total number of dApp-to-dApp invocations within a single Invoke Script transaction | 100 |
Total complexity for all callable functions and asset scripts involved in an Invoke Script transaction*. The sender's account script complexity is not included in this limit | 26,000 |
Complexity threshold for saving failed transactions: if the callable function failed with an error or throwing an exception before the threshold exceeded, the invoke script transaction is rejected and the fee is not charged | 1000 |
Complexity of verifier function of dApp script | 2000 |
Sender complexity threshold: if the complexity of an account script or the verifier function of a dApp script exceeds this limit, the minimum fee for a transaction sent from the account is increased by 0.004 WAVES | 200 |
Function name or variable name | 255 bytes |
Size of String variable | 32,767 bytes |
Size of ByteVector variable | 32,767 bytes (except bodyBytes field of transaction structure) |
Data weight | See Data Weight |
Number of callable function arguments | 22 |
Number of payments attached to an invocation | 10 |
Total number of Issue, Reissue, Burn, SponsorFee, ScriptTransfer, Lease, and LeaseCancel script actions executed by all callable functions in a single transaction | 30 |
Total number of BinaryEntry, BooleanEntry, DeleteEntry, IntegerEntry, StringEntry script actions executed by all callable functions in a single transaction | 100 |
Total size of data written to the account data storage by all BinaryEntry , BooleanEntry , IntegerEntry , StringEntry script actions executed by a callable function | 5 Kbytes |
Total size of data written to the account data storage by all BinaryEntry , BooleanEntry , IntegerEntry , StringEntry script actions executed by all callable functions in a single transaction | 15 Kbytes |
* If the first dApp script invoked uses Standard library version 5.