Skip to content

Data Model Schema

TODO: explain what this page contains

Account

Type: Struct

Declarations:

Field nameField value
idAccountId
assetsSortedMap<AssetId, Asset>
signatoriesSortedVec<PublicKey>
signature_check_conditionSignatureCheckCondition
metadataMetadata
rolesSortedVec<RoleId>

AccountEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetAssetEvent0
CreatedAccount1
DeletedAccountId2
AuthenticationAddedAccountId3
AuthenticationRemovedAccountId4
PermissionAddedAccountPermissionChanged5
PermissionRemovedAccountPermissionChanged6
RoleRevokedAccountRoleChanged7
RoleGrantedAccountRoleChanged8
MetadataInsertedMetadataChanged<AccountId>9
MetadataRemovedMetadataChanged<AccountId>10

AccountEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByDeleted1
ByAuthenticationAdded2
ByAuthenticationRemoved3
ByPermissionAdded4
ByPermissionRemoved5
ByRoleRevoked6
ByRoleGranted7
ByMetadataInserted8
ByMetadataRemoved9
ByAssetFilterOpt<AssetFilter>10

AccountFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<AccountEvent>>
event_filterFilterOpt<AccountEventFilter>

AccountId

Type: Struct

Declarations:

Field nameField value
nameName
domain_idDomainId

AccountPermissionChanged

Type: Struct

Declarations:

Field nameField value
account_idAccountId
permission_idName

AccountRoleChanged

Type: Struct

Declarations:

Field nameField value
account_idAccountId
role_idRoleId

Action<TriggeringFilterBox, Executable>

Type: Struct

Declarations:

Field nameField value
executableExecutable
repeatsRepeats
authorityAccountId
filterTriggeringFilterBox
metadataMetadata

Action<TriggeringFilterBox, OptimizedExecutable>

Type: Struct

Declarations:

Field nameField value
executableOptimizedExecutable
repeatsRepeats
authorityAccountId
filterTriggeringFilterBox
metadataMetadata

Add

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Algorithm

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Ed255190
Secp256k11
BlsNormal2
BlsSmall3

And

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<bool>
rightEvaluatesTo<bool>

Array<Interval<u16>, 8>

Type: Array

Length: 8

Value: Interval<u16>

Array<Interval<u8>, 4>

Type: Array

Length: 4

Value: Interval<u8>

Array<u16, 8>

Type: Array

Length: 8

Value: u16

Array<u8, 32>

Type: Array

Length: 32

Value: u8

Array<u8, 4>

Type: Array

Length: 4

Value: u8

Asset

Type: Struct

Declarations:

Field nameField value
idAssetId
valueAssetValue

AssetChanged

Type: Struct

Declarations:

Field nameField value
asset_idAssetId
amountAssetValue

AssetDefinition

Type: Struct

Declarations:

Field nameField value
idAssetDefinitionId
value_typeAssetValueType
mintableMintable
logoOption<IpfsPath>
metadataMetadata
owned_byAccountId

AssetDefinitionEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedAssetDefinition0
MintabilityChangedAssetDefinitionId1
OwnerChangedAssetDefinitionOwnerChanged2
DeletedAssetDefinitionId3
MetadataInsertedMetadataChanged<AssetDefinitionId>4
MetadataRemovedMetadataChanged<AssetDefinitionId>5
TotalQuantityChangedAssetDefinitionTotalQuantityChanged6

AssetDefinitionEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByMintabilityChanged1
ByOwnerChanged2
ByDeleted3
ByMetadataInserted4
ByMetadataRemoved5
ByTotalQuantityChanged6

AssetDefinitionFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<AssetDefinitionEvent>>
event_filterFilterOpt<AssetDefinitionEventFilter>

AssetDefinitionId

Type: Struct

Declarations:

Field nameField value
nameName
domain_idDomainId

AssetDefinitionOwnerChanged

Type: Struct

Declarations:

Field nameField value
asset_definition_idAssetDefinitionId
new_ownerAccountId

AssetDefinitionTotalQuantityChanged

Type: Struct

Declarations:

Field nameField value
asset_definition_idAssetDefinitionId
total_amountNumericValue

AssetEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedAsset0
DeletedAssetId1
AddedAssetChanged2
RemovedAssetChanged3
MetadataInsertedMetadataChanged<AssetId>4
MetadataRemovedMetadataChanged<AssetId>5

AssetEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByDeleted1
ByAdded2
ByRemoved3
ByMetadataInserted4
ByMetadataRemoved5

AssetFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<AssetEvent>>
event_filterFilterOpt<AssetEventFilter>

AssetId

Type: Struct

Declarations:

Field nameField value
definition_idAssetDefinitionId
account_idAccountId

AssetValue

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Quantityu320
BigQuantityu1281
FixedFixed2
StoreMetadata3

AssetValueType

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Quantity0
BigQuantity1
Fixed2
Store3

AtIndex

Type: Struct

Declarations:

Field nameField value
indexu32
predicateValuePredicate

BatchedResponse<Value>

Type: Struct

Declarations:

Field nameField value
batchValue
cursorForwardCursor

BatchedResponse<Vec<VersionedSignedTransaction>>

Type: Struct

Declarations:

Field nameField value
batchVec<VersionedSignedTransaction>
cursorForwardCursor

BinaryOpIncompatibleNumericValueTypesError

Type: Struct

Declarations:

Field nameField value
leftNumericValue
rightNumericValue

BlockHeader

Type: Struct

Declarations:

Field nameField value
heightu64
timestamp_msu64
previous_block_hashOption<HashOf<VersionedSignedBlock>>
transactions_hashOption<HashOf<MerkleTree<VersionedSignedTransaction>>>
commit_topologyVec<PeerId>
view_change_indexu64
consensus_estimation_msu64

BlockMessage

Type: Alias

To: VersionedSignedBlock

BlockPayload

Type: Struct

Declarations:

Field nameField value
headerBlockHeader
transactionsVec<TransactionValue>
event_recommendationsVec<Event>

BlockRejectionReason

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ConsensusBlockRejection0

BlockSubscriptionRequest

Type: Alias

To: NonZero<u64>

BurnBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<Value>
destination_idEvaluatesTo<IdBox>

Conditional

Type: Struct

Declarations:

Field nameField value
conditionEvaluatesTo<bool>
thenInstructionBox
otherwiseOption<InstructionBox>

ConfigurationEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ChangedParameterId0
CreatedParameterId1
DeletedParameterId2

Container

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AnyValuePredicate0
AllValuePredicate1
AtIndexAtIndex2
ValueOfKeyValueOfKey3
HasKeyName4

Contains

Type: Struct

Declarations:

Field nameField value
collectionEvaluatesTo<Vec<Value>>
elementEvaluatesTo<Value>

ContainsAll

Type: Struct

Declarations:

Field nameField value
collectionEvaluatesTo<Vec<Value>>
elementsEvaluatesTo<Vec<Value>>

ContainsAny

Type: Struct

Declarations:

Field nameField value
collectionEvaluatesTo<Vec<Value>>
elementsEvaluatesTo<Vec<Value>>

ContextValue

Type: Struct

Declarations:

Field nameField value
value_nameName

DataEntityFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByPeerFilterOpt<PeerFilter>0
ByDomainFilterOpt<DomainFilter>1
ByAccountFilterOpt<AccountFilter>2
ByAssetDefinitionFilterOpt<AssetDefinitionFilter>3
ByAssetFilterOpt<AssetFilter>4
ByTriggerFilterOpt<TriggerFilter>5
ByRoleFilterOpt<RoleFilter>6

DataEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PeerPeerEvent0
DomainDomainEvent1
AccountAccountEvent2
AssetDefinitionAssetDefinitionEvent3
AssetAssetEvent4
TriggerTriggerEvent5
RoleRoleEvent6
PermissionTokenPermissionTokenSchemaUpdateEvent7
ConfigurationConfigurationEvent8
ValidatorValidatorEvent9

Divide

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Domain

Type: Struct

Declarations:

Field nameField value
idDomainId
accountsSortedMap<AccountId, Account>
asset_definitionsSortedMap<AssetDefinitionId, AssetDefinition>
asset_total_quantitiesSortedMap<AssetDefinitionId, NumericValue>
logoOption<IpfsPath>
metadataMetadata

DomainEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AccountAccountEvent0
AssetDefinitionAssetDefinitionEvent1
CreatedDomain2
DeletedDomainId3
MetadataInsertedMetadataChanged<DomainId>4
MetadataRemovedMetadataChanged<DomainId>5

DomainEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByDeleted1
ByMetadataInserted2
ByMetadataRemoved3
ByAccountFilterOpt<AccountFilter>4
ByAssetDefinitionFilterOpt<AssetDefinitionFilter>5

DomainFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<DomainEvent>>
event_filterFilterOpt<DomainEventFilter>

DomainId

Type: Struct

Declarations:

Field nameField value
nameName

Duration

Type: Tuple

Values: (u64, u32)

Equal

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<Value>
rightEvaluatesTo<Value>

EvaluatesTo<AccountId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<AssetDefinitionId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<AssetId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<DomainId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<HashOf<VersionedSignedBlock>>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<HashOf<VersionedSignedTransaction>>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<IdBox>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<Level>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<Name>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<NumericValue>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<Parameter>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<RegistrableBox>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<RoleId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<String>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<TriggerId>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<UpgradableBox>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<Value>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<Vec<Value>>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluatesTo<bool>

Type: Struct

Declarations:

Field nameField value
expressionExpression

EvaluationError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
MathMathError0
ValidationValidationFail1
FindString2
ConversionString3

Event

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PipelinePipelineEvent0
DataDataEvent1
TimeTimeEvent2
ExecuteTriggerExecuteTriggerEvent3
NotificationNotificationEvent4

EventMessage

Type: Alias

To: Event

EventSubscriptionRequest

Type: Alias

To: FilterBox

Executable

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
InstructionsVec<InstructionBox>0
WasmWasmSmartContract1

ExecuteTriggerBox

Type: Struct

Declarations:

Field nameField value
trigger_idEvaluatesTo<TriggerId>

ExecuteTriggerEvent

Type: Struct

Declarations:

Field nameField value
trigger_idTriggerId
authorityAccountId

ExecuteTriggerEventFilter

Type: Struct

Declarations:

Field nameField value
trigger_idTriggerId
authorityAccountId

ExecutionTime

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PreCommit0
ScheduleSchedule1

Expression

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AddAdd0
SubtractSubtract1
MultiplyMultiply2
DivideDivide3
ModMod4
RaiseToRaiseTo5
GreaterGreater6
LessLess7
EqualEqual8
NotNot9
AndAnd10
OrOr11
IfIf12
RawValue13
QueryQueryBox14
ContainsContains15
ContainsAllContainsAll16
ContainsAnyContainsAny17
WhereWhere18
ContextValueContextValue19

FailBox

Type: Struct

Declarations:

Field nameField value
messageString

FilterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PipelinePipelineEventFilter0
DataFilterOpt<DataEntityFilter>1
TimeTimeEventFilter2
ExecuteTriggerExecuteTriggerEventFilter3
NotificationNotificationEventFilter4

FilterOpt<AccountEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAccountEventFilter1

FilterOpt<AccountFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAccountFilter1

FilterOpt<AssetDefinitionEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAssetDefinitionEventFilter1

FilterOpt<AssetDefinitionFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAssetDefinitionFilter1

FilterOpt<AssetEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAssetEventFilter1

FilterOpt<AssetFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeAssetFilter1

FilterOpt<DataEntityFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeDataEntityFilter1

FilterOpt<DomainEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeDomainEventFilter1

FilterOpt<DomainFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeDomainFilter1

FilterOpt<OriginFilter<AccountEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<AccountEvent>1

FilterOpt<OriginFilter<AssetDefinitionEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<AssetDefinitionEvent>1

FilterOpt<OriginFilter<AssetEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<AssetEvent>1

FilterOpt<OriginFilter<DomainEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<DomainEvent>1

FilterOpt<OriginFilter<PeerEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<PeerEvent>1

FilterOpt<OriginFilter<RoleEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<RoleEvent>1

FilterOpt<OriginFilter<TriggerEvent>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeOriginFilter<TriggerEvent>1

FilterOpt<PeerEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomePeerEventFilter1

FilterOpt<PeerFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomePeerFilter1

FilterOpt<RoleEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeRoleEventFilter1

FilterOpt<RoleFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeRoleFilter1

FilterOpt<TriggerEventFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeTriggerEventFilter1

FilterOpt<TriggerFilter>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
BySomeTriggerFilter1

FindAccountById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AccountId>

FindAccountKeyValueByIdAndKey

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AccountId>
keyEvaluatesTo<Name>

FindAccountsByDomainId

Type: Struct

Declarations:

Field nameField value
domain_idEvaluatesTo<DomainId>

FindAccountsByName

Type: Struct

Declarations:

Field nameField value
nameEvaluatesTo<Name>

FindAccountsWithAsset

Type: Struct

Declarations:

Field nameField value
asset_definition_idEvaluatesTo<AssetDefinitionId>

FindAllAccounts

Type: Zero-Size Type (unit type, null type)

FindAllActiveTriggerIds

Type: Zero-Size Type (unit type, null type)

FindAllAssets

Type: Zero-Size Type (unit type, null type)

FindAllAssetsDefinitions

Type: Zero-Size Type (unit type, null type)

FindAllBlockHeaders

Type: Zero-Size Type (unit type, null type)

FindAllBlocks

Type: Zero-Size Type (unit type, null type)

FindAllDomains

Type: Zero-Size Type (unit type, null type)

FindAllParameters

Type: Zero-Size Type (unit type, null type)

FindAllPeers

Type: Zero-Size Type (unit type, null type)

FindAllRoleIds

Type: Zero-Size Type (unit type, null type)

FindAllRoles

Type: Zero-Size Type (unit type, null type)

FindAllTransactions

Type: Zero-Size Type (unit type, null type)

FindAssetById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetId>

FindAssetDefinitionById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetDefinitionId>

FindAssetDefinitionKeyValueByIdAndKey

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetDefinitionId>
keyEvaluatesTo<Name>

FindAssetKeyValueByIdAndKey

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetId>
keyEvaluatesTo<Name>

FindAssetQuantityById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetId>

FindAssetsByAccountId

Type: Struct

Declarations:

Field nameField value
account_idEvaluatesTo<AccountId>

FindAssetsByAssetDefinitionId

Type: Struct

Declarations:

Field nameField value
asset_definition_idEvaluatesTo<AssetDefinitionId>

FindAssetsByDomainId

Type: Struct

Declarations:

Field nameField value
domain_idEvaluatesTo<DomainId>

FindAssetsByDomainIdAndAssetDefinitionId

Type: Struct

Declarations:

Field nameField value
domain_idEvaluatesTo<DomainId>
asset_definition_idEvaluatesTo<AssetDefinitionId>

FindAssetsByName

Type: Struct

Declarations:

Field nameField value
nameEvaluatesTo<Name>

FindBlockHeaderByHash

Type: Struct

Declarations:

Field nameField value
hashEvaluatesTo<HashOf<VersionedSignedBlock>>

FindDomainById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<DomainId>

FindDomainKeyValueByIdAndKey

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<DomainId>
keyEvaluatesTo<Name>

FindError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetAssetId0
AssetDefinitionAssetDefinitionId1
AccountAccountId2
DomainDomainId3
MetadataKeyName4
BlockHashOf<VersionedSignedBlock>5
TransactionHashOf<VersionedSignedTransaction>6
PeerPeerId7
TriggerTriggerId8
RoleRoleId9
PermissionTokenName10
ParameterParameterId11
PublicKeyPublicKey12

FindPermissionTokenSchema

Type: Zero-Size Type (unit type, null type)

FindPermissionTokensByAccountId

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AccountId>

FindRoleByRoleId

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<RoleId>

FindRolesByAccountId

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AccountId>

FindTotalAssetQuantityByAssetDefinitionId

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<AssetDefinitionId>

FindTransactionByHash

Type: Struct

Declarations:

Field nameField value
hashEvaluatesTo<HashOf<VersionedSignedTransaction>>

FindTransactionsByAccountId

Type: Struct

Declarations:

Field nameField value
account_idEvaluatesTo<AccountId>

FindTriggerById

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<TriggerId>

FindTriggerKeyValueByIdAndKey

Type: Struct

Declarations:

Field nameField value
idEvaluatesTo<TriggerId>
keyEvaluatesTo<Name>

FindTriggersByDomainId

Type: Struct

Declarations:

Field nameField value
domain_idEvaluatesTo<DomainId>

Fixed

Type: Alias

To: FixedPoint<i64>

FixedPoint<i64>

Type: Fixed Point

Base: i64

Decimal places: 9

ForwardCursor

Type: Struct

Declarations:

Field nameField value
query_idOption<String>
cursorOption<NonZero<u64>>

GenericPredicateBox<ValuePredicate>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AndNonTrivial<GenericPredicateBox<ValuePredicate>>0
OrNonTrivial<GenericPredicateBox<ValuePredicate>>1
NotGenericPredicateBox<ValuePredicate>2
RawValuePredicate3

GrantBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<Value>
destination_idEvaluatesTo<IdBox>

Greater

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Hash

Type: Alias

To: Array<u8, 32>

HashOf<MerkleTree<VersionedSignedTransaction>>

Type: Alias

To: Hash

HashOf<VersionedSignedBlock>

Type: Alias

To: Hash

HashOf<VersionedSignedTransaction>

Type: Alias

To: Hash

HashOf<WasmSmartContract>

Type: Alias

To: Hash

HashValue

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TransactionHashOf<VersionedSignedTransaction>0
BlockHashOf<VersionedSignedBlock>1

IdBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainIdDomainId0
AccountIdAccountId1
AssetDefinitionIdAssetDefinitionId2
AssetIdAssetId3
PeerIdPeerId4
TriggerIdTriggerId5
RoleIdRoleId6
PermissionTokenIdName7
ParameterIdParameterId8

IdentifiableBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NewDomainNewDomain0
NewAccountNewAccount1
NewAssetDefinitionNewAssetDefinition2
NewRoleNewRole3
PeerPeer4
DomainDomain5
AccountAccount6
AssetDefinitionAssetDefinition7
AssetAsset8
TriggerTriggerBox9
RoleRole10
ParameterParameter11

If

Type: Struct

Declarations:

Field nameField value
conditionEvaluatesTo<bool>
thenEvaluatesTo<Value>
otherwiseEvaluatesTo<Value>

InstructionBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
RegisterRegisterBox0
UnregisterUnregisterBox1
MintMintBox2
BurnBurnBox3
TransferTransferBox4
IfConditional5
PairPair6
SequenceSequenceBox7
SetKeyValueSetKeyValueBox8
RemoveKeyValueRemoveKeyValueBox9
GrantGrantBox10
RevokeRevokeBox11
ExecuteTriggerExecuteTriggerBox12
SetParameterSetParameterBox13
NewParameterNewParameterBox14
UpgradeUpgradeBox15
LogLogBox16
FailFailBox17

InstructionEvaluationError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ExpressionEvaluationError0
UnsupportedInstructionType1
PermissionParameterString2
TypeTypeError3

InstructionExecutionError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EvaluateInstructionEvaluationError0
QueryQueryExecutionFail1
ConversionString2
FindFindError3
RepetitionRepetitionError4
MintabilityMintabilityError5
MathMathError6
MetadataMetadataError7
FailString8
InvalidParameterInvalidParameterError9
InvariantViolationString10

InstructionExecutionFail

Type: Struct

Declarations:

Field nameField value
instructionInstructionBox
reasonString

InstructionType

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Register0
Unregister1
Mint2
Burn3
Transfer4
If5
Pair6
Sequence7
SetKeyValue8
RemoveKeyValue9
Grant10
Revoke11
ExecuteTrigger12
SetParameter13
NewParameter14
Upgrade15
Log16
Fail17

Interval<u16>

Type: Struct

Declarations:

Field nameField value
startu16
limitu16

Interval<u8>

Type: Struct

Declarations:

Field nameField value
startu8
limitu8

InvalidParameterError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
WasmString0
NameLength1

IpfsPath

Type: Alias

To: String

Ipv4Addr

Type: Alias

To: Array<u8, 4>

Ipv4Predicate

Type: Alias

To: Array<Interval<u8>, 4>

Ipv6Addr

Type: Alias

To: Array<u16, 8>

Ipv6Predicate

Type: Alias

To: Array<Interval<u16>, 8>

IsAssetDefinitionOwner

Type: Struct

Declarations:

Field nameField value
asset_definition_idEvaluatesTo<AssetDefinitionId>
account_idEvaluatesTo<AccountId>

LengthLimits

Type: Struct

Declarations:

Field nameField value
minu32
maxu32

Less

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Level

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TRACE0
DEBUG1
INFO2
WARN3
ERROR4

Limits

Type: Struct

Declarations:

Field nameField value
max_lenu32
max_entry_byte_sizeu32

LogBox

Type: Struct

Declarations:

Field nameField value
levelEvaluatesTo<Level>
msgEvaluatesTo<String>

MathError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Overflow0
NotEnoughQuantity1
DivideByZero2
NegativeValue3
DomainViolation4
Unknown5
BinaryOpIncompatibleNumericValueTypesBinaryOpIncompatibleNumericValueTypesError6
FixedPointConversionString7

MerkleTree<VersionedSignedTransaction>

Type: Vec

Value: HashOf<VersionedSignedTransaction>

Metadata

Type: Struct

Declarations:

Field nameField value
mapSortedMap<Name, Value>

MetadataChanged<AccountId>

Type: Struct

Declarations:

Field nameField value
target_idAccountId
keyName
valueValue

MetadataChanged<AssetDefinitionId>

Type: Struct

Declarations:

Field nameField value
target_idAssetDefinitionId
keyName
valueValue

MetadataChanged<AssetId>

Type: Struct

Declarations:

Field nameField value
target_idAssetId
keyName
valueValue

MetadataChanged<DomainId>

Type: Struct

Declarations:

Field nameField value
target_idDomainId
keyName
valueValue

MetadataError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EntryTooBigSizeError0
OverallSizeSizeError1
EmptyPath2
MissingSegmentName3
InvalidSegmentName4

MintBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<Value>
destination_idEvaluatesTo<IdBox>

MintabilityError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
MintUnmintable0
ForbidMintOnMintable1

Mintable

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Infinitely0
Once1
Not2

Mismatch<AssetDefinitionId>

Type: Struct

Declarations:

Field nameField value
expectedAssetDefinitionId
actualAssetDefinitionId

Mismatch<AssetValueType>

Type: Struct

Declarations:

Field nameField value
expectedAssetValueType
actualAssetValueType

Mismatch<Value>

Type: Struct

Declarations:

Field nameField value
expectedValue
actualValue

Mod

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Multiply

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

Name

Type: Alias

To: String

NewAccount

Type: Struct

Declarations:

Field nameField value
idAccountId
signatoriesSortedVec<PublicKey>
metadataMetadata

NewAssetDefinition

Type: Struct

Declarations:

Field nameField value
idAssetDefinitionId
value_typeAssetValueType
mintableMintable
logoOption<IpfsPath>
metadataMetadata

NewDomain

Type: Struct

Declarations:

Field nameField value
idDomainId
logoOption<IpfsPath>
metadataMetadata

NewParameterBox

Type: Struct

Declarations:

Field nameField value
parameterEvaluatesTo<Parameter>

NewRole

Type: Struct

Declarations:

Field nameField value
innerRole

NonTrivial<GenericPredicateBox<ValuePredicate>>

Type: Alias

To: Vec<GenericPredicateBox<ValuePredicate>>

NonZero<u32>

Type: Alias

To: u32

NonZero<u64>

Type: Alias

To: u64

Not

Type: Struct

Declarations:

Field nameField value
expressionEvaluatesTo<bool>

NotificationEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TriggerCompletedTriggerCompletedEvent0

NotificationEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AcceptAll0
TriggerCompletedTriggerCompletedEventFilter1

NumericValue

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
U32u320
U64u641
U128u1282
FixedFixed3

OptimizedExecutable

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
WasmInternalReprWasmInternalRepr0
InstructionsVec<InstructionBox>1

Option<DomainId>

Type: Option

Some: DomainId

Option<Duration>

Type: Option

Some: Duration

Option<Hash>

Type: Option

Some: Hash

Option<HashOf<MerkleTree<VersionedSignedTransaction>>>

Type: Option

Some: HashOf<MerkleTree<VersionedSignedTransaction>>

Option<HashOf<VersionedSignedBlock>>

Type: Option

Some: HashOf<VersionedSignedBlock>

Option<InstructionBox>

Type: Option

Some: InstructionBox

Option<IpfsPath>

Type: Option

Some: IpfsPath

Option<NonZero<u32>>

Type: Option

Some: NonZero<u32>

Option<NonZero<u64>>

Type: Option

Some: NonZero<u64>

Option<PipelineEntityKind>

Type: Option

Some: PipelineEntityKind

Option<PipelineStatusKind>

Type: Option

Some: PipelineStatusKind

Option<String>

Type: Option

Some: String

Option<TimeInterval>

Type: Option

Some: TimeInterval

Option<TransactionRejectionReason>

Type: Option

Some: TransactionRejectionReason

Option<TriggerCompletedOutcomeType>

Type: Option

Some: TriggerCompletedOutcomeType

Option<TriggerId>

Type: Option

Some: TriggerId

Or

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<bool>
rightEvaluatesTo<bool>

OriginFilter<AccountEvent>

Type: Alias

To: AccountId

OriginFilter<AssetDefinitionEvent>

Type: Alias

To: AssetDefinitionId

OriginFilter<AssetEvent>

Type: Alias

To: AssetId

OriginFilter<DomainEvent>

Type: Alias

To: DomainId

OriginFilter<PeerEvent>

Type: Alias

To: PeerId

OriginFilter<RoleEvent>

Type: Alias

To: RoleId

OriginFilter<TriggerEvent>

Type: Alias

To: TriggerId

Pair

Type: Struct

Declarations:

Field nameField value
left_instructionInstructionBox
right_instructionInstructionBox

Parameter

Type: Struct

Declarations:

Field nameField value
idParameterId
valValue

ParameterId

Type: Struct

Declarations:

Field nameField value
nameName

Peer

Type: Struct

Declarations:

Field nameField value
idPeerId

PeerEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AddedPeerId0
RemovedPeerId1

PeerEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByAdded0
ByRemoved1

PeerFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<PeerEvent>>
event_filterFilterOpt<PeerEventFilter>

PeerId

Type: Struct

Declarations:

Field nameField value
addressSocketAddr
public_keyPublicKey

PermissionRemoved

Type: Struct

Declarations:

Field nameField value
role_idRoleId
permission_token_idName

PermissionToken

Type: Struct

Declarations:

Field nameField value
definition_idName
payloadStringWithJson

PermissionTokenSchema

Type: Struct

Declarations:

Field nameField value
token_idsVec<Name>
schemaString

PermissionTokenSchemaUpdateEvent

Type: Struct

Declarations:

Field nameField value
old_schemaPermissionTokenSchema
new_schemaPermissionTokenSchema

PipelineEntityKind

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Block0
Transaction1

PipelineEvent

Type: Struct

Declarations:

Field nameField value
entity_kindPipelineEntityKind
statusPipelineStatus
hashHash

PipelineEventFilter

Type: Struct

Declarations:

Field nameField value
entity_kindOption<PipelineEntityKind>
status_kindOption<PipelineStatusKind>
hashOption<Hash>

PipelineRejectionReason

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
BlockBlockRejectionReason0
TransactionTransactionRejectionReason1

PipelineStatus

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Validating0
RejectedPipelineRejectionReason1
Committed2

PipelineStatusKind

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Validating0
Rejected1
Committed2

PublicKey

Type: Struct

Declarations:

Field nameField value
digest_functionAlgorithm
payloadVec<u8>

QueryBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
FindAllAccountsFindAllAccounts0
FindAccountByIdFindAccountById1
FindAccountKeyValueByIdAndKeyFindAccountKeyValueByIdAndKey2
FindAccountsByNameFindAccountsByName3
FindAccountsByDomainIdFindAccountsByDomainId4
FindAccountsWithAssetFindAccountsWithAsset5
FindAllAssetsFindAllAssets6
FindAllAssetsDefinitionsFindAllAssetsDefinitions7
FindAssetByIdFindAssetById8
FindAssetDefinitionByIdFindAssetDefinitionById9
FindAssetsByNameFindAssetsByName10
FindAssetsByAccountIdFindAssetsByAccountId11
FindAssetsByAssetDefinitionIdFindAssetsByAssetDefinitionId12
FindAssetsByDomainIdFindAssetsByDomainId13
FindAssetsByDomainIdAndAssetDefinitionIdFindAssetsByDomainIdAndAssetDefinitionId14
FindAssetQuantityByIdFindAssetQuantityById15
FindTotalAssetQuantityByAssetDefinitionIdFindTotalAssetQuantityByAssetDefinitionId16
IsAssetDefinitionOwnerIsAssetDefinitionOwner17
FindAssetKeyValueByIdAndKeyFindAssetKeyValueByIdAndKey18
FindAssetDefinitionKeyValueByIdAndKeyFindAssetDefinitionKeyValueByIdAndKey19
FindAllDomainsFindAllDomains20
FindDomainByIdFindDomainById21
FindDomainKeyValueByIdAndKeyFindDomainKeyValueByIdAndKey22
FindAllPeersFindAllPeers23
FindAllBlocksFindAllBlocks24
FindAllBlockHeadersFindAllBlockHeaders25
FindBlockHeaderByHashFindBlockHeaderByHash26
FindAllTransactionsFindAllTransactions27
FindTransactionsByAccountIdFindTransactionsByAccountId28
FindTransactionByHashFindTransactionByHash29
FindPermissionTokensByAccountIdFindPermissionTokensByAccountId30
FindPermissionTokenSchemaFindPermissionTokenSchema31
FindAllActiveTriggerIdsFindAllActiveTriggerIds32
FindTriggerByIdFindTriggerById33
FindTriggerKeyValueByIdAndKeyFindTriggerKeyValueByIdAndKey34
FindTriggersByDomainIdFindTriggersByDomainId35
FindAllRolesFindAllRoles36
FindAllRoleIdsFindAllRoleIds37
FindRoleByRoleIdFindRoleByRoleId38
FindRolesByAccountIdFindRolesByAccountId39
FindAllParametersFindAllParameters40

QueryExecutionFail

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
SignatureString0
EvaluateString1
FindFindError2
ConversionString3
Unauthorized4

QueryPayload

Type: Struct

Declarations:

Field nameField value
authorityAccountId
queryQueryBox
filterGenericPredicateBox<ValuePredicate>

RaiseTo

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

RawGenesisBlock

Type: Struct

Declarations:

Field nameField value
transactionsVec<Vec<InstructionBox>>
validatorValidatorMode

RegisterBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<RegistrableBox>

RegistrableBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PeerPeer0
DomainNewDomain1
AccountNewAccount2
AssetDefinitionNewAssetDefinition3
AssetAsset4
TriggerTrigger<TriggeringFilterBox, Executable>5
RoleNewRole6

RemoveKeyValueBox

Type: Struct

Declarations:

Field nameField value
object_idEvaluatesTo<IdBox>
keyEvaluatesTo<Name>

Repeats

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Indefinitely0
Exactlyu321

RepetitionError

Type: Struct

Declarations:

Field nameField value
instruction_typeInstructionType
idIdBox

RevokeBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<Value>
destination_idEvaluatesTo<IdBox>

Role

Type: Struct

Declarations:

Field nameField value
idRoleId
permissionsSortedVec<PermissionToken>

RoleEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedRole0
DeletedRoleId1
PermissionRemovedPermissionRemoved2

RoleEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByDeleted1
ByPermissionRemoved2

RoleFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<RoleEvent>>
event_filterFilterOpt<RoleEventFilter>

RoleId

Type: Struct

Declarations:

Field nameField value
nameName

Schedule

Type: Struct

Declarations:

Field nameField value
startDuration
periodOption<Duration>

SemiInterval<Fixed>

Type: Struct

Declarations:

Field nameField value
startFixed
limitFixed

SemiInterval<u128>

Type: Struct

Declarations:

Field nameField value
startu128
limitu128

SemiInterval<u32>

Type: Struct

Declarations:

Field nameField value
startu32
limitu32

SemiRange

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
U32SemiInterval<u32>0
U128SemiInterval<u128>1
FixedSemiInterval<Fixed>2

SequenceBox

Type: Struct

Declarations:

Field nameField value
instructionsVec<InstructionBox>

SetKeyValueBox

Type: Struct

Declarations:

Field nameField value
object_idEvaluatesTo<IdBox>
keyEvaluatesTo<Name>
valueEvaluatesTo<Value>

SetParameterBox

Type: Struct

Declarations:

Field nameField value
parameterEvaluatesTo<Parameter>

Signature

Type: Struct

Declarations:

Field nameField value
public_keyPublicKey
payloadVec<u8>

SignatureCheckCondition

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AnyAccountSignatureOrVec<PublicKey>0
AllAccountSignaturesAndVec<PublicKey>1

SignatureOf<BlockPayload>

Type: Alias

To: Signature

SignatureOf<QueryPayload>

Type: Alias

To: Signature

SignatureOf<TransactionPayload>

Type: Alias

To: Signature

SignaturesOf<BlockPayload>

Type: Struct

Declarations:

Field nameField value
signaturesSortedVec<SignatureOf<BlockPayload>>

SignaturesOf<TransactionPayload>

Type: Struct

Declarations:

Field nameField value
signaturesSortedVec<SignatureOf<TransactionPayload>>

SignedBlock

Type: Struct

Declarations:

Field nameField value
signaturesSignaturesOf<BlockPayload>
payloadBlockPayload

SignedQuery

Type: Struct

Declarations:

Field nameField value
signatureSignatureOf<QueryPayload>
payloadQueryPayload

SignedTransaction

Type: Struct

Declarations:

Field nameField value
signaturesSignaturesOf<TransactionPayload>
payloadTransactionPayload

SizeError

Type: Struct

Declarations:

Field nameField value
limitsLimits
actualu64

SocketAddr

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Ipv4SocketAddrV40
Ipv6SocketAddrV61
HostSocketAddrHost2

SocketAddrHost

Type: Struct

Declarations:

Field nameField value
hostString
portu16

SocketAddrV4

Type: Struct

Declarations:

Field nameField value
ipIpv4Addr
portu16

SocketAddrV6

Type: Struct

Declarations:

Field nameField value
ipIpv6Addr
portu16

SortedMap<AccountId, Account>

Type: Map

Key: AccountId

Value: Account

SortedMap<AssetDefinitionId, AssetDefinition>

Type: Map

Key: AssetDefinitionId

Value: AssetDefinition

SortedMap<AssetDefinitionId, NumericValue>

Type: Map

Key: AssetDefinitionId

Value: NumericValue

SortedMap<AssetId, Asset>

Type: Map

Key: AssetId

Value: Asset

SortedMap<Name, EvaluatesTo<Value>>

Type: Map

Key: Name

Value: EvaluatesTo<Value>

SortedMap<Name, Value>

Type: Map

Key: Name

Value: Value

SortedVec<PermissionToken>

Type: Vec

Value: PermissionToken

SortedVec<PublicKey>

Type: Vec

Value: PublicKey

SortedVec<RoleId>

Type: Vec

Value: RoleId

SortedVec<SignatureOf<BlockPayload>>

Type: Vec

Value: SignatureOf<BlockPayload>

SortedVec<SignatureOf<TransactionPayload>>

Type: Vec

Value: SignatureOf<TransactionPayload>

String

Type: Alias

To: String

StringPredicate

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ContainsString0
StartsWithString1
EndsWithString2
IsString3

StringWithJson

Type: Alias

To: String

Subtract

Type: Struct

Declarations:

Field nameField value
leftEvaluatesTo<NumericValue>
rightEvaluatesTo<NumericValue>

TimeEvent

Type: Struct

Declarations:

Field nameField value
prev_intervalOption<TimeInterval>
intervalTimeInterval

TimeEventFilter

Type: Alias

To: ExecutionTime

TimeInterval

Type: Struct

Declarations:

Field nameField value
sinceDuration
lengthDuration

TransactionLimitError

Type: Struct

Declarations:

Field nameField value
reasonString

TransactionLimits

Type: Struct

Declarations:

Field nameField value
max_instruction_numberu64
max_wasm_size_bytesu64

TransactionPayload

Type: Struct

Declarations:

Field nameField value
creation_time_msu64
authorityAccountId
instructionsExecutable
time_to_live_msOption<NonZero<u64>>
nonceOption<NonZero<u32>>
metadataSortedMap<Name, Value>

TransactionQueryOutput

Type: Struct

Declarations:

Field nameField value
transactionTransactionValue
block_hashHashOf<VersionedSignedBlock>

TransactionRejectionReason

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AccountDoesNotExistFindError0
LimitCheckTransactionLimitError1
ValidationValidationFail2
InstructionExecutionInstructionExecutionFail3
WasmExecutionWasmExecutionFail4
Expired5

TransactionValue

Type: Struct

Declarations:

Field nameField value
valueVersionedSignedTransaction
errorOption<TransactionRejectionReason>

TransferBox

Type: Struct

Declarations:

Field nameField value
source_idEvaluatesTo<IdBox>
objectEvaluatesTo<Value>
destination_idEvaluatesTo<IdBox>

Trigger<TriggeringFilterBox, Executable>

Type: Struct

Declarations:

Field nameField value
idTriggerId
actionAction<TriggeringFilterBox, Executable>

Trigger<TriggeringFilterBox, OptimizedExecutable>

Type: Struct

Declarations:

Field nameField value
idTriggerId
actionAction<TriggeringFilterBox, OptimizedExecutable>

TriggerBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
RawTrigger<TriggeringFilterBox, Executable>0
OptimizedTrigger<TriggeringFilterBox, OptimizedExecutable>1

TriggerCompletedEvent

Type: Struct

Declarations:

Field nameField value
trigger_idTriggerId
outcomeTriggerCompletedOutcome

TriggerCompletedEventFilter

Type: Struct

Declarations:

Field nameField value
trigger_idOption<TriggerId>
outcome_typeOption<TriggerCompletedOutcomeType>

TriggerCompletedOutcome

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Success0
FailureString1

TriggerCompletedOutcomeType

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Success0
Failure1

TriggerEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedTriggerId0
DeletedTriggerId1
ExtendedTriggerNumberOfExecutionsChanged2
ShortenedTriggerNumberOfExecutionsChanged3

TriggerEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ByCreated0
ByDeleted1
ByExtended2
ByShortened3

TriggerFilter

Type: Struct

Declarations:

Field nameField value
origin_filterFilterOpt<OriginFilter<TriggerEvent>>
event_filterFilterOpt<TriggerEventFilter>

TriggerId

Type: Struct

Declarations:

Field nameField value
nameName
domain_idOption<DomainId>

TriggerNumberOfExecutionsChanged

Type: Struct

Declarations:

Field nameField value
trigger_idTriggerId
byu32

TriggeringFilterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PipelinePipelineEventFilter0
DataFilterOpt<DataEntityFilter>1
TimeTimeEventFilter2
ExecuteTriggerExecuteTriggerEventFilter3

TypeError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetValueTypeMismatch<AssetValueType>0
ParameterValueTypeMismatch<Value>1
AssetDefinitionIdMismatch<AssetDefinitionId>2

UnregisterBox

Type: Struct

Declarations:

Field nameField value
object_idEvaluatesTo<IdBox>

UpgradableBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ValidatorValidator0

UpgradeBox

Type: Struct

Declarations:

Field nameField value
objectEvaluatesTo<UpgradableBox>

ValidationFail

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NotPermittedString0
InstructionFailedInstructionExecutionError1
QueryFailedQueryExecutionFail2
TooComplex3
InternalError4

Validator

Type: Struct

Declarations:

Field nameField value
wasmWasmSmartContract

ValidatorEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Upgraded0

ValidatorMode

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PathString0
InlineValidator1

Value

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Boolbool0
StringString1
NameName2
VecVec<Value>3
LimitedMetadataMetadata4
MetadataLimitsLimits5
TransactionLimitsTransactionLimits6
LengthLimitsLengthLimits7
IdIdBox8
IdentifiableIdentifiableBox9
PublicKeyPublicKey10
SignatureCheckConditionSignatureCheckCondition11
TransactionQueryOutputTransactionQueryOutput12
PermissionTokenPermissionToken13
PermissionTokenSchemaPermissionTokenSchema14
HashHashValue15
BlockVersionedSignedBlock16
BlockHeaderBlockHeader17
Ipv4AddrIpv4Addr18
Ipv6AddrIpv6Addr19
NumericNumericValue20
ValidatorValidator21
LogLevelLevel22

ValueOfKey

Type: Struct

Declarations:

Field nameField value
keyName
predicateValuePredicate

ValuePredicate

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdentifiableStringPredicate0
ContainerContainer1
DisplayStringPredicate2
NumericalSemiRange3
TimeStampSemiInterval<u128>4
Ipv4AddrIpv4Predicate5
Ipv6AddrIpv6Predicate6
Pass7

Vec<Event>

Type: Vec

Value: Event

Vec<GenericPredicateBox<ValuePredicate>>

Type: Vec

Value: GenericPredicateBox<ValuePredicate>

Vec<InstructionBox>

Type: Vec

Value: InstructionBox

Vec<Name>

Type: Vec

Value: Name

Vec<PeerId>

Type: Vec

Value: PeerId

Vec<PublicKey>

Type: Vec

Value: PublicKey

Vec<TransactionValue>

Type: Vec

Value: TransactionValue

Vec<Value>

Type: Vec

Value: Value

Vec<Vec<InstructionBox>>

Type: Vec

Value: Vec<InstructionBox>

Vec<VersionedSignedTransaction>

Type: Vec

Value: VersionedSignedTransaction

Vec<u8>

Type: Vec

Value: u8

VersionedBatchedResponse<Value>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1BatchedResponse<Value>1

VersionedBatchedResponse<Vec<VersionedSignedTransaction>>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1BatchedResponse<Vec<VersionedSignedTransaction>>1

VersionedSignedBlock

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedBlock1

VersionedSignedQuery

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedQuery1

VersionedSignedTransaction

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedTransaction1

WasmExecutionFail

Type: Struct

Declarations:

Field nameField value
reasonString

WasmInternalRepr

Type: Struct

Declarations:

Field nameField value
serializedVec<u8>
blob_hashHashOf<WasmSmartContract>

WasmSmartContract

Type: Alias

To: Vec<u8>

Where

Type: Struct

Declarations:

Field nameField value
expressionEvaluatesTo<Value>
valuesSortedMap<Name, EvaluatesTo<Value>>

bool

Type: Alias

To: bool

i64

Type: Int

Kind: FixedWidth

u128

Type: Int

Kind: FixedWidth

u16

Type: Int

Kind: FixedWidth

u32

Type: Int

Kind: FixedWidth

u64

Type: Int

Kind: FixedWidth

u8

Type: Int

Kind: FixedWidth