From 808841616d870d46192dc573cb01c96f916103da Mon Sep 17 00:00:00 2001 From: RutvikGhaskataEalf Date: Thu, 2 Jan 2025 08:58:31 +0530 Subject: [PATCH] feat: added complex types and types in restriction component of smart contract --- .../namespace-and-type-restrictions/index.md | 9 +++++++++ .../structure-restrictions-and-requirements/index.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/learn/smart-contract/requirements-and-restrictions/namespace-and-type-restrictions/index.md b/docs/learn/smart-contract/requirements-and-restrictions/namespace-and-type-restrictions/index.md index 2022f903..d8de9831 100644 --- a/docs/learn/smart-contract/requirements-and-restrictions/namespace-and-type-restrictions/index.md +++ b/docs/learn/smart-contract/requirements-and-restrictions/namespace-and-type-restrictions/index.md @@ -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 diff --git a/docs/learn/smart-contract/requirements-and-restrictions/structure-restrictions-and-requirements/index.md b/docs/learn/smart-contract/requirements-and-restrictions/structure-restrictions-and-requirements/index.md index d497686b..ec918518 100644 --- a/docs/learn/smart-contract/requirements-and-restrictions/structure-restrictions-and-requirements/index.md +++ b/docs/learn/smart-contract/requirements-and-restrictions/structure-restrictions-and-requirements/index.md @@ -183,4 +183,5 @@ In contract state, only the following types are allowed: - `MappedState` - `MethodReference` - `ProtobufState` -- `ContractReferenceState` \ No newline at end of file +- `ContractReferenceState` +- `StructuredState` \ No newline at end of file