Skip to content

Commit 2e89c08

Browse files
feat: added complex types and types in restriction component of smart contract (#361)
1 parent a028c00 commit 2e89c08

File tree

2 files changed

+11
-1
lines changed
  • docs/learn/smart-contract/requirements-and-restrictions
    • namespace-and-type-restrictions
    • structure-restrictions-and-requirements

2 files changed

+11
-1
lines changed

docs/learn/smart-contract/requirements-and-restrictions/namespace-and-type-restrictions/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ When deploying new contract code, Nodes perform checks against a whitelist. If a
6464
| string | ALL | Allowed |
6565
| string | Constructor | Denied |
6666
| Byte[] | ALL | Allowed |
67+
| Func 4 | ALL | Allowed |
68+
| ValueTuple 1 | ALL | Allowed |
69+
| ValueTuple 2 | ALL | Allowed |
70+
| ValueTuple 3 | ALL | Allowed |
71+
| ValueTuple 4 | ALL | Allowed |
72+
| ValueTuple 5 | ALL | Allowed |
73+
| ValueTuple 6 | ALL | Allowed |
74+
| ValueTuple 7 | ALL | Allowed |
75+
| ValueTuple 8 | ALL | Allowed |
6776

6877
## Types and Members Whitelist in System.Reflection Namespace
6978

docs/learn/smart-contract/requirements-and-restrictions/structure-restrictions-and-requirements/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,5 @@ In contract state, only the following types are allowed:
183183
- `MappedState<T, T, T, T, T>`
184184
- `MethodReference<T, T>`
185185
- `ProtobufState<T>`
186-
- `ContractReferenceState`
186+
- `ContractReferenceState`
187+
- `StructuredState`

0 commit comments

Comments
 (0)