Skip to content

Commit

Permalink
feat: added complex types and types in restriction component of smart…
Browse files Browse the repository at this point in the history
… contract
  • Loading branch information
RutvikGhaskataEalf committed Jan 2, 2025
1 parent 0304b0c commit 8088416
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ When deploying new contract code, Nodes perform checks against a whitelist. If a
| string | ALL | Allowed |
| string | Constructor | Denied |
| Byte[] | ALL | Allowed |
| Func 4 | ALL | Allowed |
| ValueTuple 1 | ALL | Allowed |
| ValueTuple 2 | ALL | Allowed |
| ValueTuple 3 | ALL | Allowed |
| ValueTuple 4 | ALL | Allowed |
| ValueTuple 5 | ALL | Allowed |
| ValueTuple 6 | ALL | Allowed |
| ValueTuple 7 | ALL | Allowed |
| ValueTuple 8 | ALL | Allowed |

## Types and Members Whitelist in System.Reflection Namespace

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,5 @@ In contract state, only the following types are allowed:
- `MappedState<T, T, T, T, T>`
- `MethodReference<T, T>`
- `ProtobufState<T>`
- `ContractReferenceState`
- `ContractReferenceState`
- `StructuredState`

0 comments on commit 8088416

Please sign in to comment.