Skip to content

Data Model Schema

TODO: explain what this page contains

Account

Type: Struct

Declarations:

Field nameField value
idAccountId
metadataMetadata

AccountEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedAccount0
DeletedAccountId1
AssetAssetEvent2
PermissionAddedAccountPermissionChanged3
PermissionRemovedAccountPermissionChanged4
RoleGrantedAccountRoleChanged5
RoleRevokedAccountRoleChanged6
MetadataInsertedMetadataChanged<AccountId>7
MetadataRemovedMetadataChanged<AccountId>8

AccountEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<AccountId>
event_setAccountEventSet

AccountEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
AnyAsset0x4
PermissionAdded0x8
PermissionRemoved0x10
RoleGranted0x20
RoleRevoked0x40
MetadataInserted0x80
MetadataRemoved0x100

AccountId

Type: Struct

Declarations:

Field nameField value
domainDomainId
signatoryPublicKey

AccountIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsAccountId0
DomainIdDomainIdPredicateBox1
SignatoryPublicKeyPredicateBox2

AccountPermissionChanged

Type: Struct

Declarations:

Field nameField value
accountAccountId
permissionPermission

AccountPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdAccountIdPredicateBox0
MetadataMetadataPredicateBox1

AccountRoleChanged

Type: Struct

Declarations:

Field nameField value
accountAccountId
roleRoleId

Action

Type: Struct

Declarations:

Field nameField value
executableExecutable
repeatsRepeats
authorityAccountId
filterEventFilterBox
metadataMetadata

Algorithm

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Ed255190
Secp256k11
BlsNormal2
BlsSmall3

Array<u8, 32>

Type: Array

Length: 32

Value: u8

Asset

Type: Struct

Declarations:

Field nameField value
idAssetId
valueAssetValue

AssetChanged

Type: Struct

Declarations:

Field nameField value
assetAssetId
amountAssetValue

AssetDefinition

Type: Struct

Declarations:

Field nameField value
idAssetDefinitionId
typeAssetType
mintableMintable
logoOption<IpfsPath>
metadataMetadata
owned_byAccountId
total_quantityNumeric

AssetDefinitionEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedAssetDefinition0
DeletedAssetDefinitionId1
MetadataInsertedMetadataChanged<AssetDefinitionId>2
MetadataRemovedMetadataChanged<AssetDefinitionId>3
MintabilityChangedAssetDefinitionId4
TotalQuantityChangedAssetDefinitionTotalQuantityChanged5
OwnerChangedAssetDefinitionOwnerChanged6

AssetDefinitionEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<AssetDefinitionId>
event_setAssetDefinitionEventSet

AssetDefinitionEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
MetadataInserted0x4
MetadataRemoved0x8
MintabilityChanged0x10
TotalQuantityChanged0x20
OwnerChanged0x40

AssetDefinitionId

Type: Struct

Declarations:

Field nameField value
domainDomainId
nameName

AssetDefinitionIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsAssetDefinitionId0
DomainIdDomainIdPredicateBox1
NameStringPredicateBox2

AssetDefinitionOwnerChanged

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId
new_ownerAccountId

AssetDefinitionPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdAssetDefinitionIdPredicateBox0
MetadataMetadataPredicateBox1
OwnedByAccountIdPredicateBox2

AssetDefinitionTotalQuantityChanged

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId
total_amountNumeric

AssetEvent

Type: Enum

Variants:

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

AssetEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<AssetId>
event_setAssetEventSet

AssetEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
Added0x4
Removed0x8
MetadataInserted0x10
MetadataRemoved0x20

AssetId

Type: Struct

Declarations:

Field nameField value
accountAccountId
definitionAssetDefinitionId

AssetIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsAssetId0
DefinitionIdAssetDefinitionIdPredicateBox1
AccountIdAccountIdPredicateBox2

AssetPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdAssetIdPredicateBox0
ValueAssetValuePredicateBox1

AssetTransferBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NumericTransfer<Asset, Numeric, Account>0
StoreTransfer<Asset, Metadata, Account>1

AssetType

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NumericNumericSpec0
Store1

AssetValue

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NumericNumeric0
StoreMetadata1

AssetValuePredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant

BlockEvent

Type: Struct

Declarations:

Field nameField value
headerBlockHeader
statusBlockStatus

BlockEventFilter

Type: Struct

Declarations:

Field nameField value
heightOption<NonZero<u64>>
statusOption<BlockStatus>

BlockHashPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsHashOf<BlockHeader>0

BlockHeader

Type: Struct

Declarations:

Field nameField value
heightNonZero<u64>
prev_block_hashOption<HashOf<BlockHeader>>
transactions_hashHashOf<MerkleTree<SignedTransaction>>
creation_time_msu64
view_change_indexu32

BlockHeaderPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
HashBlockHashPredicateBox0

BlockMessage

Type: Alias

To: SignedBlock

BlockParameter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
MaxTransactionsNonZero<u64>0

BlockParameters

Type: Struct

Declarations:

Field nameField value
max_transactionsNonZero<u64>

BlockPayload

Type: Struct

Declarations:

Field nameField value
headerBlockHeader
transactionsVec<SignedTransaction>

BlockRejectionReason

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ConsensusBlockRejection0

BlockSignature

Type: Tuple

Values: (u64, SignatureOf<BlockHeader>)

BlockStatus

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Created0
Approved1
RejectedBlockRejectionReason2
Committed3
Applied4

BlockSubscriptionRequest

Type: Alias

To: NonZero<u64>

Burn<Numeric, Asset>

Type: Struct

Declarations:

Field nameField value
objectNumeric
destinationAssetId

Burn<u32, Trigger>

Type: Struct

Declarations:

Field nameField value
objectu32
destinationTriggerId

BurnBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetBurn<Numeric, Asset>0
TriggerRepetitionsBurn<u32, Trigger>1

CanBurnAsset

Type: Struct

Declarations:

Field nameField value
assetAssetId

CanExecuteTrigger

Type: Struct

Declarations:

Field nameField value
triggerTriggerId

CanManagePeers

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

CanManageRoles

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

CanMintAsset

Type: Struct

Declarations:

Field nameField value
assetAssetId

CanModifyAccountMetadata

Type: Struct

Declarations:

Field nameField value
accountAccountId

CanModifyAssetDefinitionMetadata

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

CanModifyAssetMetadata

Type: Struct

Declarations:

Field nameField value
assetAssetId

CanModifyDomainMetadata

Type: Struct

Declarations:

Field nameField value
domainDomainId

CanModifyTrigger

Type: Struct

Declarations:

Field nameField value
triggerTriggerId

CanModifyTriggerMetadata

Type: Struct

Declarations:

Field nameField value
triggerTriggerId

CanRegisterAccount

Type: Struct

Declarations:

Field nameField value
domainDomainId

CanRegisterAnyTrigger

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

CanRegisterAsset

Type: Struct

Declarations:

Field nameField value
ownerAccountId

CanRegisterAssetDefinition

Type: Struct

Declarations:

Field nameField value
domainDomainId

CanRegisterAssetWithDefinition

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

CanRegisterTrigger

Type: Struct

Declarations:

Field nameField value
authorityAccountId

CanSetParameters

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

CanTransferAsset

Type: Struct

Declarations:

Field nameField value
assetAssetId

CanTransferAssetWithDefinition

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

CanUnregisterAccount

Type: Struct

Declarations:

Field nameField value
accountAccountId

CanUnregisterAnyTrigger

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

CanUnregisterAsset

Type: Struct

Declarations:

Field nameField value
assetAssetId

CanUnregisterAssetDefinition

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

CanUnregisterAssetWithDefinition

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

CanUnregisterDomain

Type: Struct

Declarations:

Field nameField value
domainDomainId

CanUnregisterTrigger

Type: Struct

Declarations:

Field nameField value
triggerTriggerId

CanUpgradeExecutor

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

ChainId

Type: Alias

To: String

CommittedTransaction

Type: Struct

Declarations:

Field nameField value
block_hashHashOf<BlockHeader>
valueSignedTransaction
errorOption<TransactionRejectionReason>

CommittedTransactionPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
BlockHashBlockHashPredicateBox0
ValueSignedTransactionPredicateBox1
ErrorTransactionErrorPredicateBox2

Compact<u128>

Type: Int

Kind: Compact

Compact<u32>

Type: Int

Kind: Compact

CompoundPredicate<AccountPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomAccountPredicateBox0
NotCompoundPredicate<AccountPredicateBox>1
AndVec<CompoundPredicate<AccountPredicateBox>>2
OrVec<CompoundPredicate<AccountPredicateBox>>3

CompoundPredicate<AssetDefinitionPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomAssetDefinitionPredicateBox0
NotCompoundPredicate<AssetDefinitionPredicateBox>1
AndVec<CompoundPredicate<AssetDefinitionPredicateBox>>2
OrVec<CompoundPredicate<AssetDefinitionPredicateBox>>3

CompoundPredicate<AssetPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomAssetPredicateBox0
NotCompoundPredicate<AssetPredicateBox>1
AndVec<CompoundPredicate<AssetPredicateBox>>2
OrVec<CompoundPredicate<AssetPredicateBox>>3

CompoundPredicate<BlockHeaderPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomBlockHeaderPredicateBox0
NotCompoundPredicate<BlockHeaderPredicateBox>1
AndVec<CompoundPredicate<BlockHeaderPredicateBox>>2
OrVec<CompoundPredicate<BlockHeaderPredicateBox>>3

CompoundPredicate<CommittedTransactionPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomCommittedTransactionPredicateBox0
NotCompoundPredicate<CommittedTransactionPredicateBox>1
AndVec<CompoundPredicate<CommittedTransactionPredicateBox>>2
OrVec<CompoundPredicate<CommittedTransactionPredicateBox>>3

CompoundPredicate<DomainPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomDomainPredicateBox0
NotCompoundPredicate<DomainPredicateBox>1
AndVec<CompoundPredicate<DomainPredicateBox>>2
OrVec<CompoundPredicate<DomainPredicateBox>>3

CompoundPredicate<PeerPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomPeerPredicateBox0
NotCompoundPredicate<PeerPredicateBox>1
AndVec<CompoundPredicate<PeerPredicateBox>>2
OrVec<CompoundPredicate<PeerPredicateBox>>3

CompoundPredicate<PermissionPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomPermissionPredicateBox0
NotCompoundPredicate<PermissionPredicateBox>1
AndVec<CompoundPredicate<PermissionPredicateBox>>2
OrVec<CompoundPredicate<PermissionPredicateBox>>3

CompoundPredicate<RoleIdPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomRoleIdPredicateBox0
NotCompoundPredicate<RoleIdPredicateBox>1
AndVec<CompoundPredicate<RoleIdPredicateBox>>2
OrVec<CompoundPredicate<RoleIdPredicateBox>>3

CompoundPredicate<RolePredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomRolePredicateBox0
NotCompoundPredicate<RolePredicateBox>1
AndVec<CompoundPredicate<RolePredicateBox>>2
OrVec<CompoundPredicate<RolePredicateBox>>3

CompoundPredicate<SignedBlockPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomSignedBlockPredicateBox0
NotCompoundPredicate<SignedBlockPredicateBox>1
AndVec<CompoundPredicate<SignedBlockPredicateBox>>2
OrVec<CompoundPredicate<SignedBlockPredicateBox>>3

CompoundPredicate<TriggerIdPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomTriggerIdPredicateBox0
NotCompoundPredicate<TriggerIdPredicateBox>1
AndVec<CompoundPredicate<TriggerIdPredicateBox>>2
OrVec<CompoundPredicate<TriggerIdPredicateBox>>3

CompoundPredicate<TriggerPredicateBox>

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AtomTriggerPredicateBox0
NotCompoundPredicate<TriggerPredicateBox>1
AndVec<CompoundPredicate<TriggerPredicateBox>>2
OrVec<CompoundPredicate<TriggerPredicateBox>>3

ConfigurationEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ChangedParameterChanged0

ConfigurationEventFilter

Type: Struct

Declarations:

Field nameField value
event_setConfigurationEventSet

ConfigurationEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Changed0x1

CustomInstruction

Type: Struct

Declarations:

Field nameField value
payloadJson

CustomParameter

Type: Struct

Declarations:

Field nameField value
idCustomParameterId
payloadJson

CustomParameterId

Type: Alias

To: Name

DataEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PeerPeerEvent0
DomainDomainEvent1
TriggerTriggerEvent2
RoleRoleEvent3
ConfigurationConfigurationEvent4
ExecutorExecutorEvent5

DataEventFilter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Any0
PeerPeerEventFilter1
DomainDomainEventFilter2
AccountAccountEventFilter3
AssetAssetEventFilter4
AssetDefinitionAssetDefinitionEventFilter5
TriggerTriggerEventFilter6
RoleRoleEventFilter7
ConfigurationConfigurationEventFilter8
ExecutorExecutorEventFilter9

Domain

Type: Struct

Declarations:

Field nameField value
idDomainId
logoOption<IpfsPath>
metadataMetadata
owned_byAccountId

DomainEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedDomain0
DeletedDomainId1
AssetDefinitionAssetDefinitionEvent2
AccountAccountEvent3
MetadataInsertedMetadataChanged<DomainId>4
MetadataRemovedMetadataChanged<DomainId>5
OwnerChangedDomainOwnerChanged6

DomainEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<DomainId>
event_setDomainEventSet

DomainEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
AnyAssetDefinition0x4
AnyAccount0x8
MetadataInserted0x10
MetadataRemoved0x20
OwnerChanged0x40

DomainId

Type: Struct

Declarations:

Field nameField value
nameName

DomainIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsDomainId0
NameStringPredicateBox1

DomainOwnerChanged

Type: Struct

Declarations:

Field nameField value
domainDomainId
new_ownerAccountId

DomainPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdDomainIdPredicateBox0
MetadataMetadataPredicateBox1

EventBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PipelinePipelineEventBox0
DataDataEvent1
TimeTimeEvent2
ExecuteTriggerExecuteTriggerEvent3
TriggerCompletedTriggerCompletedEvent4

EventFilterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PipelinePipelineEventFilterBox0
DataDataEventFilter1
TimeTimeEventFilter2
ExecuteTriggerExecuteTriggerEventFilter3
TriggerCompletedTriggerCompletedEventFilter4

EventMessage

Type: Alias

To: EventBox

EventSubscriptionRequest

Type: Alias

To: Vec<EventFilterBox>

Executable

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
InstructionsVec<InstructionBox>0
WasmWasmSmartContract1

ExecuteTrigger

Type: Struct

Declarations:

Field nameField value
triggerTriggerId
argsJson

ExecuteTriggerEvent

Type: Struct

Declarations:

Field nameField value
trigger_idTriggerId
authorityAccountId
argsJson

ExecuteTriggerEventFilter

Type: Struct

Declarations:

Field nameField value
trigger_idOption<TriggerId>
authorityOption<AccountId>

ExecutionTime

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PreCommit0
ScheduleSchedule1

Executor

Type: Struct

Declarations:

Field nameField value
wasmWasmSmartContract

ExecutorDataModel

Type: Struct

Declarations:

Field nameField value
parametersSortedMap<CustomParameterId, CustomParameter>
instructionsSortedVec<String>
permissionsSortedVec<String>
schemaJson

ExecutorEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
UpgradedExecutorUpgrade0

ExecutorEventFilter

Type: Struct

Declarations:

Field nameField value
event_setExecutorEventSet

ExecutorEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Upgraded0x1

ExecutorUpgrade

Type: Struct

Declarations:

Field nameField value
new_data_modelExecutorDataModel

FetchSize

Type: Struct

Declarations:

Field nameField value
fetch_sizeOption<NonZero<u64>>

FindAccountMetadata

Type: Struct

Declarations:

Field nameField value
idAccountId
keyName

FindAccounts

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

FindAccountsWithAsset

Type: Struct

Declarations:

Field nameField value
asset_definitionAssetDefinitionId

FindActiveTriggerIds

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

FindAssetDefinitionMetadata

Type: Struct

Declarations:

Field nameField value
idAssetDefinitionId
keyName

FindAssetMetadata

Type: Struct

Declarations:

Field nameField value
idAssetId
keyName

FindAssetQuantityById

Type: Struct

Declarations:

Field nameField value
idAssetId

FindAssets

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

FindAssetsDefinitions

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

FindBlockHeaders

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

FindBlocks

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

FindDomainMetadata

Type: Struct

Declarations:

Field nameField value
idDomainId
keyName

FindDomains

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

FindError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetAssetId0
AssetDefinitionAssetDefinitionId1
AccountAccountId2
DomainDomainId3
MetadataKeyName4
BlockHashOf<BlockHeader>5
TransactionHashOf<SignedTransaction>6
PeerPeerId7
TriggerTriggerId8
RoleRoleId9
PermissionPermission10
PublicKeyPublicKey11

FindExecutorDataModel

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

FindParameters

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

FindPeers

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

FindPermissionsByAccountId

Type: Struct

Declarations:

Field nameField value
idAccountId

FindRoleIds

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

FindRoles

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

FindRolesByAccountId

Type: Struct

Declarations:

Field nameField value
idAccountId

FindTransactions

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

FindTriggerMetadata

Type: Struct

Declarations:

Field nameField value
idTriggerId
keyName

FindTriggers

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

ForwardCursor

Type: Struct

Declarations:

Field nameField value
queryString
cursorNonZero<u64>

GenesisWasmAction

Type: Struct

Declarations:

Field nameField value
executableString
repeatsRepeats
authorityAccountId
filterEventFilterBox

GenesisWasmTrigger

Type: Struct

Declarations:

Field nameField value
idTriggerId
actionGenesisWasmAction

Grant<Permission, Account>

Type: Struct

Declarations:

Field nameField value
objectPermission
destinationAccountId

Grant<Permission, Role>

Type: Struct

Declarations:

Field nameField value
objectPermission
destinationRoleId

Grant<RoleId, Account>

Type: Struct

Declarations:

Field nameField value
objectRoleId
destinationAccountId

GrantBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PermissionGrant<Permission, Account>0
RoleGrant<RoleId, Account>1
RolePermissionGrant<Permission, Role>2

Hash

Type: Alias

To: Array<u8, 32>

HashOf<BlockHeader>

Type: Alias

To: Hash

HashOf<MerkleTree<SignedTransaction>>

Type: Alias

To: Hash

HashOf<SignedTransaction>

Type: Alias

To: Hash

HashOf<Vec<InstructionBox>>

Type: Alias

To: Hash

IdBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainIdDomainId0
AccountIdAccountId1
AssetDefinitionIdAssetDefinitionId2
AssetIdAssetId3
PeerIdPeerId4
TriggerIdTriggerId5
RoleIdRoleId6
PermissionPermission7
CustomParameterIdCustomParameterId8

InstructionBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
RegisterRegisterBox0
UnregisterUnregisterBox1
MintMintBox2
BurnBurnBox3
TransferTransferBox4
SetKeyValueSetKeyValueBox5
RemoveKeyValueRemoveKeyValueBox6
GrantGrantBox7
RevokeRevokeBox8
ExecuteTriggerExecuteTrigger9
SetParameterSetParameter10
UpgradeUpgrade11
LogLog12
CustomCustomInstruction13

InstructionEvaluationError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
UnsupportedInstructionType0
PermissionParameterString1
TypeTypeError2

InstructionExecutionError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EvaluateInstructionEvaluationError0
QueryQueryExecutionFail1
ConversionString2
FindFindError3
RepetitionRepetitionError4
MintabilityMintabilityError5
MathMathError6
InvalidParameterInvalidParameterError7
InvariantViolationString8

InstructionExecutionFail

Type: Struct

Declarations:

Field nameField value
instructionInstructionBox
reasonString

InstructionType

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Register0
Unregister1
Mint2
Burn3
Transfer4
SetKeyValue5
RemoveKeyValue6
Grant7
Revoke8
ExecuteTrigger9
SetParameter10
Upgrade11
Log12
Custom13

InvalidParameterError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
WasmString0
TimeTriggerInThePast1

IpfsPath

Type: Alias

To: String

Json

Type: Alias

To: String

Level

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TRACE0
DEBUG1
INFO2
WARN3
ERROR4

Log

Type: Struct

Declarations:

Field nameField value
levelLevel
msgString

MathError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Overflow0
NotEnoughQuantity1
DivideByZero2
NegativeValue3
DomainViolation4
Unknown5
FixedPointConversionString6

MerkleTree<SignedTransaction>

Type: Vec

Value: HashOf<SignedTransaction>

Metadata

Type: Alias

To: SortedMap<Name, Json>

MetadataChanged<AccountId>

Type: Struct

Declarations:

Field nameField value
targetAccountId
keyName
valueJson

MetadataChanged<AssetDefinitionId>

Type: Struct

Declarations:

Field nameField value
targetAssetDefinitionId
keyName
valueJson

MetadataChanged<AssetId>

Type: Struct

Declarations:

Field nameField value
targetAssetId
keyName
valueJson

MetadataChanged<DomainId>

Type: Struct

Declarations:

Field nameField value
targetDomainId
keyName
valueJson

MetadataChanged<TriggerId>

Type: Struct

Declarations:

Field nameField value
targetTriggerId
keyName
valueJson

MetadataPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant

Mint<Numeric, Asset>

Type: Struct

Declarations:

Field nameField value
objectNumeric
destinationAssetId

Mint<u32, Trigger>

Type: Struct

Declarations:

Field nameField value
objectu32
destinationTriggerId

MintBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetMint<Numeric, Asset>0
TriggerRepetitionsMint<u32, Trigger>1

MintabilityError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
MintUnmintable0
ForbidMintOnMintable1

Mintable

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Infinitely0
Once1
Not2

Mismatch<AssetType>

Type: Struct

Declarations:

Field nameField value
expectedAssetType
actualAssetType

MultisigAccountArgs

Type: Struct

Declarations:

Field nameField value
accountPublicKey
signatoriesSortedMap<AccountId, u8>
quorumu16
transaction_ttl_msu64

MultisigTransactionArgs

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
ProposeVec<InstructionBox>0
ApproveHashOf<Vec<InstructionBox>>1

Name

Type: Alias

To: String

NewAccount

Type: Struct

Declarations:

Field nameField value
idAccountId
metadataMetadata

NewAssetDefinition

Type: Struct

Declarations:

Field nameField value
idAssetDefinitionId
typeAssetType
mintableMintable
logoOption<IpfsPath>
metadataMetadata

NewDomain

Type: Struct

Declarations:

Field nameField value
idDomainId
logoOption<IpfsPath>
metadataMetadata

NewRole

Type: Struct

Declarations:

Field nameField value
innerRole
grant_toAccountId

NonZero<u32>

Type: Alias

To: u32

NonZero<u64>

Type: Alias

To: u64

Numeric

Type: Struct

Declarations:

Field nameField value
mantissaCompact<u128>
scaleCompact<u32>

NumericSpec

Type: Struct

Declarations:

Field nameField value
scaleOption<u32>

Option<AccountId>

Type: Option

Some: AccountId

Option<AssetDefinitionId>

Type: Option

Some: AssetDefinitionId

Option<AssetId>

Type: Option

Some: AssetId

Option<BlockStatus>

Type: Option

Some: BlockStatus

Option<DomainId>

Type: Option

Some: DomainId

Option<ForwardCursor>

Type: Option

Some: ForwardCursor

Option<HashOf<BlockHeader>>

Type: Option

Some: HashOf<BlockHeader>

Option<HashOf<SignedTransaction>>

Type: Option

Some: HashOf<SignedTransaction>

Option<IpfsPath>

Type: Option

Some: IpfsPath

Option<Name>

Type: Option

Some: Name

Option<NonZero<u32>>

Type: Option

Some: NonZero<u32>

Option<NonZero<u64>>

Type: Option

Some: NonZero<u64>

Option<Option<NonZero<u64>>>

Type: Option

Some: Option<NonZero<u64>>

Option<Parameters>

Type: Option

Some: Parameters

Option<PeerId>

Type: Option

Some: PeerId

Option<RoleId>

Type: Option

Some: RoleId

Option<TransactionRejectionReason>

Type: Option

Some: TransactionRejectionReason

Option<TransactionStatus>

Type: Option

Some: TransactionStatus

Option<TriggerCompletedOutcomeType>

Type: Option

Some: TriggerCompletedOutcomeType

Option<TriggerId>

Type: Option

Some: TriggerId

Option<u32>

Type: Option

Some: u32

Option<u64>

Type: Option

Some: u64

Pagination

Type: Struct

Declarations:

Field nameField value
limitOption<NonZero<u64>>
offsetu64

Parameter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
SumeragiSumeragiParameter0
BlockBlockParameter1
TransactionTransactionParameter2
SmartContractSmartContractParameter3
ExecutorSmartContractParameter4
CustomCustomParameter5

ParameterChanged

Type: Struct

Declarations:

Field nameField value
old_valueParameter
new_valueParameter

Parameters

Type: Struct

Declarations:

Field nameField value
sumeragiSumeragiParameters
blockBlockParameters
transactionTransactionParameters
executorSmartContractParameters
smart_contractSmartContractParameters
customSortedMap<CustomParameterId, CustomParameter>

PeerEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AddedPeerId0
RemovedPeerId1

PeerEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<PeerId>
event_setPeerEventSet

PeerEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Added0x1
Removed0x2

PeerId

Type: Struct

Declarations:

Field nameField value
public_keyPublicKey

PeerPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant

Permission

Type: Struct

Declarations:

Field nameField value
nameString
payloadJson

PermissionPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant

PipelineEventBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TransactionTransactionEvent0
BlockBlockEvent1

PipelineEventFilterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
TransactionTransactionEventFilter0
BlockBlockEventFilter1

PublicKey

Type: Struct

Declarations:

Field nameField value
algorithmAlgorithm
payloadVec<u8>

PublicKeyPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsPublicKey0

QueryBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
FindDomainsQueryWithFilter<FindDomains, DomainPredicateBox>0
FindAccountsQueryWithFilter<FindAccounts, AccountPredicateBox>1
FindAssetsQueryWithFilter<FindAssets, AssetPredicateBox>2
FindAssetsDefinitionsQueryWithFilter<FindAssetsDefinitions, AssetDefinitionPredicateBox>3
FindRolesQueryWithFilter<FindRoles, RolePredicateBox>4
FindRoleIdsQueryWithFilter<FindRoleIds, RoleIdPredicateBox>5
FindPermissionsByAccountIdQueryWithFilter<FindPermissionsByAccountId, PermissionPredicateBox>6
FindRolesByAccountIdQueryWithFilter<FindRolesByAccountId, RoleIdPredicateBox>7
FindAccountsWithAssetQueryWithFilter<FindAccountsWithAsset, AccountPredicateBox>8
FindPeersQueryWithFilter<FindPeers, PeerPredicateBox>9
FindActiveTriggerIdsQueryWithFilter<FindActiveTriggerIds, TriggerIdPredicateBox>10
FindTriggersQueryWithFilter<FindTriggers, TriggerPredicateBox>11
FindTransactionsQueryWithFilter<FindTransactions, CommittedTransactionPredicateBox>12
FindBlocksQueryWithFilter<FindBlocks, SignedBlockPredicateBox>13
FindBlockHeadersQueryWithFilter<FindBlockHeaders, BlockHeaderPredicateBox>14

QueryExecutionFail

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
FindFindError0
ConversionString1
NotFound2
CursorMismatch3
CursorDone4
FetchSizeTooBig5
InvalidSingularParameters6
CapacityLimit7

QueryOutput

Type: Struct

Declarations:

Field nameField value
batchQueryOutputBatchBox
remaining_itemsu64
continue_cursorOption<ForwardCursor>

QueryOutputBatchBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainVec<Domain>0
AccountVec<Account>1
AssetVec<Asset>2
AssetDefinitionVec<AssetDefinition>3
RoleVec<Role>4
ParameterVec<Parameter>5
PermissionVec<Permission>6
TransactionVec<CommittedTransaction>7
PeerVec<PeerId>8
RoleIdVec<RoleId>9
TriggerIdVec<TriggerId>10
TriggerVec<Trigger>11
BlockVec<SignedBlock>12
BlockHeaderVec<BlockHeader>13

QueryParams

Type: Struct

Declarations:

Field nameField value
paginationPagination
sortingSorting
fetch_sizeFetchSize

QueryRequest

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
SingularSingularQueryBox0
StartQueryWithParams1
ContinueForwardCursor2

QueryRequestWithAuthority

Type: Struct

Declarations:

Field nameField value
authorityAccountId
requestQueryRequest

QueryResponse

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
SingularSingularQueryOutputBox0
IterableQueryOutput1

QuerySignature

Type: Alias

To: SignatureOf<QueryRequestWithAuthority>

QueryWithFilter<FindAccounts, AccountPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindAccounts
predicateCompoundPredicate<AccountPredicateBox>

QueryWithFilter<FindAccountsWithAsset, AccountPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindAccountsWithAsset
predicateCompoundPredicate<AccountPredicateBox>

QueryWithFilter<FindActiveTriggerIds, TriggerIdPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindActiveTriggerIds
predicateCompoundPredicate<TriggerIdPredicateBox>

QueryWithFilter<FindAssets, AssetPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindAssets
predicateCompoundPredicate<AssetPredicateBox>

QueryWithFilter<FindAssetsDefinitions, AssetDefinitionPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindAssetsDefinitions
predicateCompoundPredicate<AssetDefinitionPredicateBox>

QueryWithFilter<FindBlockHeaders, BlockHeaderPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindBlockHeaders
predicateCompoundPredicate<BlockHeaderPredicateBox>

QueryWithFilter<FindBlocks, SignedBlockPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindBlocks
predicateCompoundPredicate<SignedBlockPredicateBox>

QueryWithFilter<FindDomains, DomainPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindDomains
predicateCompoundPredicate<DomainPredicateBox>

QueryWithFilter<FindPeers, PeerPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindPeers
predicateCompoundPredicate<PeerPredicateBox>

QueryWithFilter<FindPermissionsByAccountId, PermissionPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindPermissionsByAccountId
predicateCompoundPredicate<PermissionPredicateBox>

QueryWithFilter<FindRoleIds, RoleIdPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindRoleIds
predicateCompoundPredicate<RoleIdPredicateBox>

QueryWithFilter<FindRoles, RolePredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindRoles
predicateCompoundPredicate<RolePredicateBox>

QueryWithFilter<FindRolesByAccountId, RoleIdPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindRolesByAccountId
predicateCompoundPredicate<RoleIdPredicateBox>

QueryWithFilter<FindTransactions, CommittedTransactionPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindTransactions
predicateCompoundPredicate<CommittedTransactionPredicateBox>

QueryWithFilter<FindTriggers, TriggerPredicateBox>

Type: Struct

Declarations:

Field nameField value
queryFindTriggers
predicateCompoundPredicate<TriggerPredicateBox>

QueryWithParams

Type: Struct

Declarations:

Field nameField value
queryQueryBox
paramsQueryParams

RawGenesisTransaction

Type: Struct

Declarations:

Field nameField value
chainChainId
executorString
parametersOption<Parameters>
instructionsVec<InstructionBox>
wasm_dirString
wasm_triggersVec<GenesisWasmTrigger>
topologyVec<PeerId>

Register<Account>

Type: Struct

Declarations:

Field nameField value
objectNewAccount

Register<Asset>

Type: Struct

Declarations:

Field nameField value
objectAsset

Register<AssetDefinition>

Type: Struct

Declarations:

Field nameField value
objectNewAssetDefinition

Register<Domain>

Type: Struct

Declarations:

Field nameField value
objectNewDomain

Register<Peer>

Type: Struct

Declarations:

Field nameField value
objectPeerId

Register<Role>

Type: Struct

Declarations:

Field nameField value
objectNewRole

Register<Trigger>

Type: Struct

Declarations:

Field nameField value
objectTrigger

RegisterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PeerRegister<Peer>0
DomainRegister<Domain>1
AccountRegister<Account>2
AssetDefinitionRegister<AssetDefinition>3
AssetRegister<Asset>4
RoleRegister<Role>5
TriggerRegister<Trigger>6

RemoveKeyValue<Account>

Type: Struct

Declarations:

Field nameField value
objectAccountId
keyName

RemoveKeyValue<Asset>

Type: Struct

Declarations:

Field nameField value
objectAssetId
keyName

RemoveKeyValue<AssetDefinition>

Type: Struct

Declarations:

Field nameField value
objectAssetDefinitionId
keyName

RemoveKeyValue<Domain>

Type: Struct

Declarations:

Field nameField value
objectDomainId
keyName

RemoveKeyValue<Trigger>

Type: Struct

Declarations:

Field nameField value
objectTriggerId
keyName

RemoveKeyValueBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainRemoveKeyValue<Domain>0
AccountRemoveKeyValue<Account>1
AssetDefinitionRemoveKeyValue<AssetDefinition>2
AssetRemoveKeyValue<Asset>3
TriggerRemoveKeyValue<Trigger>4

Repeats

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Indefinitely0
Exactlyu321

RepetitionError

Type: Struct

Declarations:

Field nameField value
instructionInstructionType
idIdBox

Revoke<Permission, Account>

Type: Struct

Declarations:

Field nameField value
objectPermission
destinationAccountId

Revoke<Permission, Role>

Type: Struct

Declarations:

Field nameField value
objectPermission
destinationRoleId

Revoke<RoleId, Account>

Type: Struct

Declarations:

Field nameField value
objectRoleId
destinationAccountId

RevokeBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PermissionRevoke<Permission, Account>0
RoleRevoke<RoleId, Account>1
RolePermissionRevoke<Permission, Role>2

Role

Type: Struct

Declarations:

Field nameField value
idRoleId
permissionsSortedVec<Permission>

RoleEvent

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
CreatedRole0
DeletedRoleId1
PermissionAddedRolePermissionChanged2
PermissionRemovedRolePermissionChanged3

RoleEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<RoleId>
event_setRoleEventSet

RoleEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
PermissionAdded0x4
PermissionRemoved0x8

RoleId

Type: Struct

Declarations:

Field nameField value
nameName

RoleIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsRoleId0
NameStringPredicateBox1

RolePermissionChanged

Type: Struct

Declarations:

Field nameField value
roleRoleId
permissionPermission

RolePredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdRoleIdPredicateBox0

Schedule

Type: Struct

Declarations:

Field nameField value
start_msu64
period_msOption<u64>

SetKeyValue<Account>

Type: Struct

Declarations:

Field nameField value
objectAccountId
keyName
valueJson

SetKeyValue<Asset>

Type: Struct

Declarations:

Field nameField value
objectAssetId
keyName
valueJson

SetKeyValue<AssetDefinition>

Type: Struct

Declarations:

Field nameField value
objectAssetDefinitionId
keyName
valueJson

SetKeyValue<Domain>

Type: Struct

Declarations:

Field nameField value
objectDomainId
keyName
valueJson

SetKeyValue<Trigger>

Type: Struct

Declarations:

Field nameField value
objectTriggerId
keyName
valueJson

SetKeyValueBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainSetKeyValue<Domain>0
AccountSetKeyValue<Account>1
AssetDefinitionSetKeyValue<AssetDefinition>2
AssetSetKeyValue<Asset>3
TriggerSetKeyValue<Trigger>4

SetParameter

Type: Alias

To: Parameter

Signature

Type: Struct

Declarations:

Field nameField value
payloadVec<u8>

SignatureOf<BlockHeader>

Type: Alias

To: Signature

SignatureOf<QueryRequestWithAuthority>

Type: Alias

To: Signature

SignatureOf<TransactionPayload>

Type: Alias

To: Signature

SignedBlock

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedBlockV11

SignedBlockPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
HeaderBlockHeaderPredicateBox0

SignedBlockV1

Type: Struct

Declarations:

Field nameField value
signaturesVec<BlockSignature>
payloadBlockPayload
errorsSortedMap<u64, TransactionRejectionReason>

SignedQuery

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedQueryV11

SignedQueryV1

Type: Struct

Declarations:

Field nameField value
signatureQuerySignature
payloadQueryRequestWithAuthority

SignedTransaction

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
V1SignedTransactionV11

SignedTransactionPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
HashTransactionHashPredicateBox0
AuthorityAccountIdPredicateBox1

SignedTransactionV1

Type: Struct

Declarations:

Field nameField value
signatureTransactionSignature
payloadTransactionPayload

SingularQueryBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
FindAssetQuantityByIdFindAssetQuantityById0
FindExecutorDataModelFindExecutorDataModel1
FindParametersFindParameters2
FindDomainMetadataFindDomainMetadata3
FindAccountMetadataFindAccountMetadata4
FindAssetMetadataFindAssetMetadata5
FindAssetDefinitionMetadataFindAssetDefinitionMetadata6
FindTriggerMetadataFindTriggerMetadata7

SingularQueryOutputBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NumericNumeric0
ExecutorDataModelExecutorDataModel1
JsonJson2
TriggerTrigger3
ParametersParameters4
TransactionCommittedTransaction5
BlockHeaderBlockHeader6

SmartContractParameter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
FuelNonZero<u64>0
MemoryNonZero<u64>1

SmartContractParameters

Type: Struct

Declarations:

Field nameField value
fuelNonZero<u64>
memoryNonZero<u64>

SortedMap<AccountId, u8>

Type: Map

Key: AccountId

Value: u8

SortedMap<CustomParameterId, CustomParameter>

Type: Map

Key: CustomParameterId

Value: CustomParameter

SortedMap<Name, Json>

Type: Map

Key: Name

Value: Json

SortedMap<u64, TransactionRejectionReason>

Type: Map

Key: u64

Value: TransactionRejectionReason

SortedVec<Permission>

Type: Vec

Value: Permission

SortedVec<String>

Type: Vec

Value: String

Sorting

Type: Struct

Declarations:

Field nameField value
sort_by_metadata_keyOption<Name>

String

Type: Alias

To: String

StringPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsString0
ContainsString1
StartsWithString2
EndsWithString3

SumeragiParameter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
BlockTimeMsu640
CommitTimeMsu641
MaxClockDriftMsu642

SumeragiParameters

Type: Struct

Declarations:

Field nameField value
block_time_msu64
commit_time_msu64
max_clock_drift_msu64

TimeEvent

Type: Struct

Declarations:

Field nameField value
intervalTimeInterval

TimeEventFilter

Type: Alias

To: ExecutionTime

TimeInterval

Type: Struct

Declarations:

Field nameField value
since_msu64
length_msu64

TransactionErrorPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IsSome0

TransactionEvent

Type: Struct

Declarations:

Field nameField value
hashHashOf<SignedTransaction>
block_heightOption<NonZero<u64>>
statusTransactionStatus

TransactionEventFilter

Type: Struct

Declarations:

Field nameField value
hashOption<HashOf<SignedTransaction>>
block_heightOption<Option<NonZero<u64>>>
statusOption<TransactionStatus>

TransactionHashPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsHashOf<SignedTransaction>0

TransactionLimitError

Type: Struct

Declarations:

Field nameField value
reasonString

TransactionParameter

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
MaxInstructionsNonZero<u64>0
SmartContractSizeNonZero<u64>1

TransactionParameters

Type: Struct

Declarations:

Field nameField value
max_instructionsNonZero<u64>
smart_contract_sizeNonZero<u64>

TransactionPayload

Type: Struct

Declarations:

Field nameField value
chainChainId
authorityAccountId
creation_time_msu64
instructionsExecutable
time_to_live_msOption<NonZero<u64>>
nonceOption<NonZero<u32>>
metadataMetadata

TransactionRejectionReason

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AccountDoesNotExistFindError0
LimitCheckTransactionLimitError1
ValidationValidationFail2
InstructionExecutionInstructionExecutionFail3
WasmExecutionWasmExecutionFail4

TransactionSignature

Type: Alias

To: SignatureOf<TransactionPayload>

TransactionStatus

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
Queued0
Expired1
Approved2
RejectedTransactionRejectionReason3

Transfer<Account, AssetDefinitionId, Account>

Type: Struct

Declarations:

Field nameField value
sourceAccountId
objectAssetDefinitionId
destinationAccountId

Transfer<Account, DomainId, Account>

Type: Struct

Declarations:

Field nameField value
sourceAccountId
objectDomainId
destinationAccountId

Transfer<Asset, Metadata, Account>

Type: Struct

Declarations:

Field nameField value
sourceAssetId
objectMetadata
destinationAccountId

Transfer<Asset, Numeric, Account>

Type: Struct

Declarations:

Field nameField value
sourceAssetId
objectNumeric
destinationAccountId

TransferBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
DomainTransfer<Account, DomainId, Account>0
AssetDefinitionTransfer<Account, AssetDefinitionId, Account>1
AssetAssetTransferBox2

Trigger

Type: Struct

Declarations:

Field nameField value
idTriggerId
actionAction

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
MetadataInsertedMetadataChanged<TriggerId>4
MetadataRemovedMetadataChanged<TriggerId>5

TriggerEventFilter

Type: Struct

Declarations:

Field nameField value
id_matcherOption<TriggerId>
event_setTriggerEventSet

TriggerEventSet

Type: Bitmap

Repr: u32

Masks:

Field nameField value
Created0x1
Deleted0x2
Extended0x4
Shortened0x8
MetadataInserted0x10
MetadataRemoved0x20

TriggerId

Type: Struct

Declarations:

Field nameField value
nameName

TriggerIdPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
EqualsTriggerId0
NameStringPredicateBox1

TriggerNumberOfExecutionsChanged

Type: Struct

Declarations:

Field nameField value
triggerTriggerId
byu32

TriggerPredicateBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
IdTriggerIdPredicateBox0

TypeError

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
AssetTypeMismatch<AssetType>0
NumericAssetTypeExpectedAssetType1

Unregister<Account>

Type: Struct

Declarations:

Field nameField value
objectAccountId

Unregister<Asset>

Type: Struct

Declarations:

Field nameField value
objectAssetId

Unregister<AssetDefinition>

Type: Struct

Declarations:

Field nameField value
objectAssetDefinitionId

Unregister<Domain>

Type: Struct

Declarations:

Field nameField value
objectDomainId

Unregister<Peer>

Type: Struct

Declarations:

Field nameField value
objectPeerId

Unregister<Role>

Type: Struct

Declarations:

Field nameField value
objectRoleId

Unregister<Trigger>

Type: Struct

Declarations:

Field nameField value
objectTriggerId

UnregisterBox

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
PeerUnregister<Peer>0
DomainUnregister<Domain>1
AccountUnregister<Account>2
AssetDefinitionUnregister<AssetDefinition>3
AssetUnregister<Asset>4
RoleUnregister<Role>5
TriggerUnregister<Trigger>6

Upgrade

Type: Struct

Declarations:

Field nameField value
executorExecutor

ValidationFail

Type: Enum

Variants:

Variant nameVariant valueDiscriminant
NotPermittedString0
InstructionFailedInstructionExecutionError1
QueryFailedQueryExecutionFail2
TooComplex3
InternalError4

Vec<Account>

Type: Vec

Value: Account

Vec<Asset>

Type: Vec

Value: Asset

Vec<AssetDefinition>

Type: Vec

Value: AssetDefinition

Vec<BlockHeader>

Type: Vec

Value: BlockHeader

Vec<BlockSignature>

Type: Vec

Value: BlockSignature

Vec<CommittedTransaction>

Type: Vec

Value: CommittedTransaction

Vec<CompoundPredicate<AccountPredicateBox>>

Type: Vec

Value: CompoundPredicate<AccountPredicateBox>

Vec<CompoundPredicate<AssetDefinitionPredicateBox>>

Type: Vec

Value: CompoundPredicate<AssetDefinitionPredicateBox>

Vec<CompoundPredicate<AssetPredicateBox>>

Type: Vec

Value: CompoundPredicate<AssetPredicateBox>

Vec<CompoundPredicate<BlockHeaderPredicateBox>>

Type: Vec

Value: CompoundPredicate<BlockHeaderPredicateBox>

Vec<CompoundPredicate<CommittedTransactionPredicateBox>>

Type: Vec

Value: CompoundPredicate<CommittedTransactionPredicateBox>

Vec<CompoundPredicate<DomainPredicateBox>>

Type: Vec

Value: CompoundPredicate<DomainPredicateBox>

Vec<CompoundPredicate<PeerPredicateBox>>

Type: Vec

Value: CompoundPredicate<PeerPredicateBox>

Vec<CompoundPredicate<PermissionPredicateBox>>

Type: Vec

Value: CompoundPredicate<PermissionPredicateBox>

Vec<CompoundPredicate<RoleIdPredicateBox>>

Type: Vec

Value: CompoundPredicate<RoleIdPredicateBox>

Vec<CompoundPredicate<RolePredicateBox>>

Type: Vec

Value: CompoundPredicate<RolePredicateBox>

Vec<CompoundPredicate<SignedBlockPredicateBox>>

Type: Vec

Value: CompoundPredicate<SignedBlockPredicateBox>

Vec<CompoundPredicate<TriggerIdPredicateBox>>

Type: Vec

Value: CompoundPredicate<TriggerIdPredicateBox>

Vec<CompoundPredicate<TriggerPredicateBox>>

Type: Vec

Value: CompoundPredicate<TriggerPredicateBox>

Vec<Domain>

Type: Vec

Value: Domain

Vec<EventFilterBox>

Type: Vec

Value: EventFilterBox

Vec<GenesisWasmTrigger>

Type: Vec

Value: GenesisWasmTrigger

Vec<InstructionBox>

Type: Vec

Value: InstructionBox

Vec<Parameter>

Type: Vec

Value: Parameter

Vec<PeerId>

Type: Vec

Value: PeerId

Vec<Permission>

Type: Vec

Value: Permission

Vec<Role>

Type: Vec

Value: Role

Vec<RoleId>

Type: Vec

Value: RoleId

Vec<SignedBlock>

Type: Vec

Value: SignedBlock

Vec<SignedTransaction>

Type: Vec

Value: SignedTransaction

Vec<Trigger>

Type: Vec

Value: Trigger

Vec<TriggerId>

Type: Vec

Value: TriggerId

Vec<u8>

Type: Vec

Value: u8

WasmExecutionFail

Type: Struct

Declarations:

Field nameField value
reasonString

WasmSmartContract

Type: Alias

To: Vec<u8>

u16

Type: Int

Kind: FixedWidth

u32

Type: Int

Kind: FixedWidth

u64

Type: Int

Kind: FixedWidth

u8

Type: Int

Kind: FixedWidth