Files
zeekay 4d9b4f82ad chore: sync working tree
Commits 2 outstanding change(s) that were sitting uncommitted.
No build artifacts and no secrets in the changeset (both checked).
2026-07-26 10:06:59 -07:00

885 lines
45 KiB
JSON

{
"lp": "lp-186",
"description": "Lux chains-VM wire (LP-186 §Schema table). 38 schemas declared across 12 VMs (aivm, bridgevm, dexvm, evm, graphvm, identityvm, keyvm, oraclevm, quantumvm, relayvm, mpcvm, zkvm). Per LP-186 §Per-VM wire packages, each schema's byte layout is the canonical fixed-section comment block in ~/work/lux/chains/<vm>/wire/<schema>.go. Each variable-length bytes-tail occupies an 8-byte slot in the fixed section (Off uint32 + Len uint32), per ZAP SetBytes layout (builder.go:208). Kinds declared in LP-186 spec but with no wire file in tree are deferred — see codegen/README.md §Deferred. Each VM's package namespace is <vm>wire to prevent Block/etc symbol clashes across the 12 VMs. Kind bytes are LOCAL to each VM's package (KindBlock=0x01 in aivmwire is distinct from KindBlock=0x01 in bridgevmwire) — skip_registry suppresses init() registration that would otherwise panic on duplicate kind bytes in the global zapv2.DefaultRegistry.",
"skip_registry": true,
"schemas": [
{
"wire_name": "AIVMVertex",
"go_name": "AIVMVertexSchema",
"kind": "0x01",
"size": 96,
"package": "aivmwire",
"out": "lp-186/aivm/vertex_zap.go",
"fields": [
{ "name": "Epoch", "type": "uint32", "offset": 4 },
{ "name": "Height", "type": "uint64", "offset": 8 },
{ "name": "Timestamp", "type": "int64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "ParentsOff", "type": "uint32", "offset": 56 },
{ "name": "ParentsLen", "type": "uint32", "offset": 60 },
{ "name": "TxIDsOff", "type": "uint32", "offset": 64 },
{ "name": "TxIDsLen", "type": "uint32", "offset": 68 },
{ "name": "JobIDsOff", "type": "uint32", "offset": 72 },
{ "name": "JobIDsLen", "type": "uint32", "offset": 76 },
{ "name": "TasksOff", "type": "uint32", "offset": 80 },
{ "name": "TasksLen", "type": "uint32", "offset": 84 },
{ "name": "ResultsOff", "type": "uint32", "offset": 88 },
{ "name": "ResultsLen", "type": "uint32", "offset": 92 }
]
},
{
"wire_name": "AIVMQueryTx",
"go_name": "AIVMQueryTxSchema",
"kind": "0x02",
"size": 116,
"package": "aivmwire",
"out": "lp-186/aivm/query_tx_zap.go",
"fields": [
{ "name": "Priority", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Deadline", "type": "int64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "JobIDOff", "type": "uint32", "offset": 56 },
{ "name": "JobIDLen", "type": "uint32", "offset": 60 },
{ "name": "ModelIDOff", "type": "uint32", "offset": 64 },
{ "name": "ModelIDLen", "type": "uint32", "offset": 68 },
{ "name": "PromptOff", "type": "uint32", "offset": 72 },
{ "name": "PromptLen", "type": "uint32", "offset": 76 },
{ "name": "ParamsOff", "type": "uint32", "offset": 80 },
{ "name": "ParamsLen", "type": "uint32", "offset": 84 },
{ "name": "Requester", "type": "bytes20", "offset": 88 },
{ "name": "SignatureOff", "type": "uint32", "offset": 108 },
{ "name": "SignatureLen", "type": "uint32", "offset": 112 }
]
},
{
"wire_name": "AIVMInferenceTx",
"go_name": "AIVMInferenceTxSchema",
"kind": "0x03",
"size": 216,
"package": "aivmwire",
"out": "lp-186/aivm/inference_tx_zap.go",
"fields": [
{ "name": "Status", "type": "uint8", "offset": 1 },
{ "name": "GasUsed", "type": "uint64", "offset": 8 },
{ "name": "CompletedAt", "type": "int64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "QueryID", "type": "bytes32", "offset": 56 },
{ "name": "ModelHash", "type": "bytes32", "offset": 88 },
{ "name": "InputHash", "type": "bytes32", "offset": 120 },
{ "name": "OutputHash", "type": "bytes32", "offset": 152 },
{ "name": "OutputOff", "type": "uint32", "offset": 184 },
{ "name": "OutputLen", "type": "uint32", "offset": 188 },
{ "name": "AttestationOff", "type": "uint32", "offset": 192 },
{ "name": "AttestationLen", "type": "uint32", "offset": 196 },
{ "name": "ProviderOff", "type": "uint32", "offset": 200 },
{ "name": "ProviderLen", "type": "uint32", "offset": 204 },
{ "name": "SignatureOff", "type": "uint32", "offset": 208 },
{ "name": "SignatureLen", "type": "uint32", "offset": 212 }
]
},
{
"wire_name": "BridgeVMBlock",
"go_name": "BridgeVMBlockSchema",
"kind": "0x01",
"size": 72,
"package": "bridgevmwire",
"out": "lp-186/bridgevm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "BridgeRequestsOff", "type": "uint32", "offset": 56 },
{ "name": "BridgeRequestsLen", "type": "uint32", "offset": 60 },
{ "name": "MPCSignaturesOff", "type": "uint32", "offset": 64 },
{ "name": "MPCSignaturesLen", "type": "uint32", "offset": 68 }
]
},
{
"wire_name": "BridgeRequest",
"go_name": "BridgeRequestSchema",
"kind": "0x02",
"size": 168,
"package": "bridgevmwire",
"out": "lp-186/bridgevm/bridge_request_zap.go",
"fields": [
{ "name": "Amount", "type": "uint64", "offset": 8 },
{ "name": "Confirmations", "type": "uint32", "offset": 16 },
{ "name": "CreatedAtUnixNano", "type": "int64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "Asset", "type": "bytes32", "offset": 64 },
{ "name": "SourceTxID", "type": "bytes32", "offset": 96 },
{ "name": "SourceChainOff", "type": "uint32", "offset": 128 },
{ "name": "SourceChainLen", "type": "uint32", "offset": 132 },
{ "name": "DestChainOff", "type": "uint32", "offset": 136 },
{ "name": "DestChainLen", "type": "uint32", "offset": 140 },
{ "name": "StatusOff", "type": "uint32", "offset": 144 },
{ "name": "StatusLen", "type": "uint32", "offset": 148 },
{ "name": "RecipientOff", "type": "uint32", "offset": 152 },
{ "name": "RecipientLen", "type": "uint32", "offset": 156 },
{ "name": "MPCSignaturesOff", "type": "uint32", "offset": 160 },
{ "name": "MPCSignaturesLen", "type": "uint32", "offset": 164 }
]
},
{
"wire_name": "BridgeVMGenesis",
"go_name": "BridgeVMGenesisSchema",
"kind": "0x03",
"size": 9,
"package": "bridgevmwire",
"out": "lp-186/bridgevm/genesis_zap.go",
"fields": [
{ "name": "Timestamp", "type": "int64", "offset": 1 }
]
},
{
"wire_name": "DEXVMBlock",
"go_name": "DEXVMBlockSchema",
"kind": "0x01",
"size": 96,
"package": "dexvmwire",
"out": "lp-186/dexvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "StateRoot", "type": "bytes32", "offset": 56 },
{ "name": "TxsOff", "type": "uint32", "offset": 88 },
{ "name": "TxsLen", "type": "uint32", "offset": 92 }
]
},
{
"wire_name": "OrderTx",
"go_name": "OrderTxSchema",
"kind": "0x02",
"size": 204,
"package": "dexvmwire",
"out": "lp-186/dexvm/order_tx_zap.go",
"fields": [
{ "name": "Side", "type": "uint8", "offset": 1 },
{ "name": "OrderType", "type": "uint8", "offset": 2 },
{ "name": "TimeInForce", "type": "uint8", "offset": 3 },
{ "name": "Price", "type": "uint64", "offset": 8 },
{ "name": "Quantity", "type": "uint64", "offset": 16 },
{ "name": "Expiry", "type": "uint64", "offset": 24 },
{ "name": "Fee", "type": "uint64", "offset": 32 },
{ "name": "Nonce", "type": "uint64", "offset": 40 },
{ "name": "ID", "type": "bytes32", "offset": 48 },
{ "name": "MarketID", "type": "bytes32", "offset": 80 },
{ "name": "BaseAsset", "type": "bytes32", "offset": 112 },
{ "name": "QuoteAsset", "type": "bytes32", "offset": 144 },
{ "name": "Owner", "type": "bytes20", "offset": 176 },
{ "name": "SignatureOff", "type": "uint32", "offset": 196 },
{ "name": "SignatureLen", "type": "uint32", "offset": 200 }
]
},
{
"wire_name": "SwapTx",
"go_name": "SwapTxSchema",
"kind": "0x04",
"size": 180,
"package": "dexvmwire",
"out": "lp-186/dexvm/swap_tx_zap.go",
"fields": [
{ "name": "ExactKind", "type": "uint8", "offset": 1 },
{ "name": "AmountIn", "type": "uint64", "offset": 8 },
{ "name": "AmountOutMin", "type": "uint64", "offset": 16 },
{ "name": "Deadline", "type": "uint64", "offset": 24 },
{ "name": "Fee", "type": "uint64", "offset": 32 },
{ "name": "Nonce", "type": "uint64", "offset": 40 },
{ "name": "ID", "type": "bytes32", "offset": 48 },
{ "name": "TokenIn", "type": "bytes32", "offset": 80 },
{ "name": "TokenOut", "type": "bytes32", "offset": 112 },
{ "name": "Recipient", "type": "bytes20", "offset": 144 },
{ "name": "PathOff", "type": "uint32", "offset": 164 },
{ "name": "PathLen", "type": "uint32", "offset": 168 },
{ "name": "SignatureOff", "type": "uint32", "offset": 172 },
{ "name": "SignatureLen", "type": "uint32", "offset": 176 }
]
},
{
"wire_name": "PluginEnvelope",
"go_name": "PluginEnvelopeSchema",
"kind": "0x01",
"size": 104,
"package": "evmwire",
"out": "lp-186/evm/plugin_envelope_zap.go",
"fields": [
{ "name": "PayloadKind", "type": "uint8", "offset": 1 },
{ "name": "Sequence", "type": "uint64", "offset": 8 },
{ "name": "Timestamp", "type": "int64", "offset": 16 },
{ "name": "ChainID", "type": "bytes32", "offset": 24 },
{ "name": "BlockID", "type": "bytes32", "offset": 56 },
{ "name": "PayloadOff", "type": "uint32", "offset": 88 },
{ "name": "PayloadLen", "type": "uint32", "offset": 92 },
{ "name": "PredicatesOff", "type": "uint32", "offset": 96 },
{ "name": "PredicatesLen", "type": "uint32", "offset": 100 }
]
},
{
"wire_name": "EVMChainGenesis",
"go_name": "EVMChainGenesisSchema",
"kind": "0x02",
"size": 72,
"package": "evmwire",
"out": "lp-186/evm/chain_genesis_zap.go",
"fields": [
{ "name": "ChainNumeric", "type": "uint64", "offset": 8 },
{ "name": "Activation", "type": "int64", "offset": 16 },
{ "name": "ChainID", "type": "bytes32", "offset": 24 },
{ "name": "GenesisOff", "type": "uint32", "offset": 56 },
{ "name": "GenesisLen", "type": "uint32", "offset": 60 },
{ "name": "AllocationsOff", "type": "uint32", "offset": 64 },
{ "name": "AllocationsLen", "type": "uint32", "offset": 68 }
]
},
{
"wire_name": "GraphVMBlock",
"go_name": "GraphVMBlockSchema",
"kind": "0x01",
"size": 120,
"package": "graphvmwire",
"out": "lp-186/graphvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "StateRoot", "type": "bytes32", "offset": 56 },
{ "name": "SchemaUpdatesOff", "type": "uint32", "offset": 88 },
{ "name": "SchemaUpdatesLen", "type": "uint32", "offset": 92 },
{ "name": "IndexUpdatesOff", "type": "uint32", "offset": 96 },
{ "name": "IndexUpdatesLen", "type": "uint32", "offset": 100 },
{ "name": "MutationsOff", "type": "uint32", "offset": 104 },
{ "name": "MutationsLen", "type": "uint32", "offset": 108 },
{ "name": "QueryResultsOff", "type": "uint32", "offset": 112 },
{ "name": "QueryResultsLen", "type": "uint32", "offset": 116 }
]
},
{
"wire_name": "SchemaUpdateTx",
"go_name": "SchemaUpdateTxSchema",
"kind": "0x02",
"size": 132,
"package": "graphvmwire",
"out": "lp-186/graphvm/schema_update_tx_zap.go",
"fields": [
{ "name": "Operation", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "SchemaID", "type": "bytes32", "offset": 56 },
{ "name": "NewVersionOff", "type": "uint32", "offset": 88 },
{ "name": "NewVersionLen", "type": "uint32", "offset": 92 },
{ "name": "SchemaSDLOff", "type": "uint32", "offset": 96 },
{ "name": "SchemaSDLLen", "type": "uint32", "offset": 100 },
{ "name": "Author", "type": "bytes20", "offset": 104 },
{ "name": "SignatureOff", "type": "uint32", "offset": 124 },
{ "name": "SignatureLen", "type": "uint32", "offset": 128 }
]
},
{
"wire_name": "GraphMutationTx",
"go_name": "GraphMutationTxSchema",
"kind": "0x04",
"size": 164,
"package": "graphvmwire",
"out": "lp-186/graphvm/graph_mutation_tx_zap.go",
"fields": [
{ "name": "Operation", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "SchemaID", "type": "bytes32", "offset": 56 },
{ "name": "EntityID", "type": "bytes32", "offset": 88 },
{ "name": "TypeNameOff", "type": "uint32", "offset": 120 },
{ "name": "TypeNameLen", "type": "uint32", "offset": 124 },
{ "name": "PayloadOff", "type": "uint32", "offset": 128 },
{ "name": "PayloadLen", "type": "uint32", "offset": 132 },
{ "name": "Author", "type": "bytes20", "offset": 136 },
{ "name": "SignatureOff", "type": "uint32", "offset": 156 },
{ "name": "SignatureLen", "type": "uint32", "offset": 160 }
]
},
{
"wire_name": "IdentityVMBlock",
"go_name": "IdentityVMBlockSchema",
"kind": "0x01",
"size": 112,
"package": "identityvmwire",
"out": "lp-186/identityvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "StateRoot", "type": "bytes32", "offset": 56 },
{ "name": "IdentityTxsOff", "type": "uint32", "offset": 88 },
{ "name": "IdentityTxsLen", "type": "uint32", "offset": 92 },
{ "name": "CredentialTxsOff", "type": "uint32", "offset": 96 },
{ "name": "CredentialTxsLen", "type": "uint32", "offset": 100 },
{ "name": "RevocationTxsOff", "type": "uint32", "offset": 104 },
{ "name": "RevocationTxsLen", "type": "uint32", "offset": 108 }
]
},
{
"wire_name": "IdentityTx",
"go_name": "IdentityTxSchema",
"kind": "0x02",
"size": 164,
"package": "identityvmwire",
"out": "lp-186/identityvm/identity_tx_zap.go",
"fields": [
{ "name": "Operation", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "IdentityID", "type": "bytes32", "offset": 56 },
{ "name": "DIDOff", "type": "uint32", "offset": 88 },
{ "name": "DIDLen", "type": "uint32", "offset": 92 },
{ "name": "PublicKeyOff", "type": "uint32", "offset": 96 },
{ "name": "PublicKeyLen", "type": "uint32", "offset": 100 },
{ "name": "ControllersOff", "type": "uint32", "offset": 104 },
{ "name": "ControllersLen", "type": "uint32", "offset": 108 },
{ "name": "ServicesOff", "type": "uint32", "offset": 112 },
{ "name": "ServicesLen", "type": "uint32", "offset": 116 },
{ "name": "MetaKeysOff", "type": "uint32", "offset": 120 },
{ "name": "MetaKeysLen", "type": "uint32", "offset": 124 },
{ "name": "MetaValuesOff", "type": "uint32", "offset": 128 },
{ "name": "MetaValuesLen", "type": "uint32", "offset": 132 },
{ "name": "Author", "type": "bytes20", "offset": 136 },
{ "name": "SignatureOff", "type": "uint32", "offset": 156 },
{ "name": "SignatureLen", "type": "uint32", "offset": 160 }
]
},
{
"wire_name": "CredentialTx",
"go_name": "CredentialTxSchema",
"kind": "0x03",
"size": 232,
"package": "identityvmwire",
"out": "lp-186/identityvm/credential_tx_zap.go",
"fields": [
{ "name": "Operation", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "IssuanceDate", "type": "int64", "offset": 24 },
{ "name": "ExpirationDate", "type": "int64", "offset": 32 },
{ "name": "ID", "type": "bytes32", "offset": 40 },
{ "name": "CredentialID", "type": "bytes32", "offset": 72 },
{ "name": "Issuer", "type": "bytes32", "offset": 104 },
{ "name": "Subject", "type": "bytes32", "offset": 136 },
{ "name": "TypesOff", "type": "uint32", "offset": 168 },
{ "name": "TypesLen", "type": "uint32", "offset": 172 },
{ "name": "ClaimsHash", "type": "bytes32", "offset": 176 },
{ "name": "ClaimsBlobOff", "type": "uint32", "offset": 208 },
{ "name": "ClaimsBlobLen", "type": "uint32", "offset": 212 },
{ "name": "ProofOff", "type": "uint32", "offset": 216 },
{ "name": "ProofLen", "type": "uint32", "offset": 220 },
{ "name": "SignatureOff", "type": "uint32", "offset": 224 },
{ "name": "SignatureLen", "type": "uint32", "offset": 228 }
]
},
{
"wire_name": "RevocationTx",
"go_name": "RevocationTxSchema",
"kind": "0x04",
"size": 152,
"package": "identityvmwire",
"out": "lp-186/identityvm/revocation_tx_zap.go",
"fields": [
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "RevokedAt", "type": "int64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "CredentialID", "type": "bytes32", "offset": 64 },
{ "name": "Issuer", "type": "bytes32", "offset": 96 },
{ "name": "ReasonCode", "type": "uint32", "offset": 128 },
{ "name": "ReasonOff", "type": "uint32", "offset": 136 },
{ "name": "ReasonLen", "type": "uint32", "offset": 140 },
{ "name": "SignatureOff", "type": "uint32", "offset": 144 },
{ "name": "SignatureLen", "type": "uint32", "offset": 148 }
]
},
{
"wire_name": "KeyVMBlock",
"go_name": "KeyVMBlockSchema",
"kind": "0x01",
"size": 104,
"package": "keyvmwire",
"out": "lp-186/keyvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "StateRoot", "type": "bytes32", "offset": 56 },
{ "name": "KeyTxsOff", "type": "uint32", "offset": 88 },
{ "name": "KeyTxsLen", "type": "uint32", "offset": 92 },
{ "name": "RotationTxsOff", "type": "uint32", "offset": 96 },
{ "name": "RotationTxsLen", "type": "uint32", "offset": 100 }
]
},
{
"wire_name": "KeyTx",
"go_name": "KeyTxSchema",
"kind": "0x02",
"size": 144,
"package": "keyvmwire",
"out": "lp-186/keyvm/key_tx_zap.go",
"fields": [
{ "name": "TxType", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "KeyID", "type": "bytes32", "offset": 64 },
{ "name": "AlgorithmOff", "type": "uint32", "offset": 96 },
{ "name": "AlgorithmLen", "type": "uint32", "offset": 100 },
{ "name": "NameOff", "type": "uint32", "offset": 104 },
{ "name": "NameLen", "type": "uint32", "offset": 108 },
{ "name": "TagsOff", "type": "uint32", "offset": 112 },
{ "name": "TagsLen", "type": "uint32", "offset": 116 },
{ "name": "PayloadOff", "type": "uint32", "offset": 120 },
{ "name": "PayloadLen", "type": "uint32", "offset": 124 },
{ "name": "SenderOff", "type": "uint32", "offset": 128 },
{ "name": "SenderLen", "type": "uint32", "offset": 132 },
{ "name": "SignatureOff", "type": "uint32", "offset": 136 },
{ "name": "SignatureLen", "type": "uint32", "offset": 140 }
]
},
{
"wire_name": "KeyRotationTx",
"go_name": "KeyRotationTxSchema",
"kind": "0x03",
"size": 144,
"package": "keyvmwire",
"out": "lp-186/keyvm/key_rotation_tx_zap.go",
"fields": [
{ "name": "TxType", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "OldThreshold", "type": "uint32", "offset": 32 },
{ "name": "NewThreshold", "type": "uint32", "offset": 36 },
{ "name": "ID", "type": "bytes32", "offset": 40 },
{ "name": "KeyID", "type": "bytes32", "offset": 72 },
{ "name": "OldParticipantsOff", "type": "uint32", "offset": 104 },
{ "name": "OldParticipantsLen", "type": "uint32", "offset": 108 },
{ "name": "NewParticipantsOff", "type": "uint32", "offset": 112 },
{ "name": "NewParticipantsLen", "type": "uint32", "offset": 116 },
{ "name": "CeremonyProofOff", "type": "uint32", "offset": 120 },
{ "name": "CeremonyProofLen", "type": "uint32", "offset": 124 },
{ "name": "SenderOff", "type": "uint32", "offset": 128 },
{ "name": "SenderLen", "type": "uint32", "offset": 132 },
{ "name": "SignatureOff", "type": "uint32", "offset": 136 },
{ "name": "SignatureLen", "type": "uint32", "offset": 140 }
]
},
{
"wire_name": "OracleUpdateTx",
"go_name": "OracleUpdateTxSchema",
"kind": "0x02",
"size": 164,
"package": "oraclevmwire",
"out": "lp-186/oraclevm/oracle_update_tx_zap.go",
"fields": [
{ "name": "Value", "type": "uint64", "offset": 8 },
{ "name": "Confidence", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "RoundID", "type": "uint64", "offset": 32 },
{ "name": "Fee", "type": "uint64", "offset": 40 },
{ "name": "Nonce", "type": "uint64", "offset": 48 },
{ "name": "ID", "type": "bytes32", "offset": 56 },
{ "name": "FeedID", "type": "bytes32", "offset": 88 },
{ "name": "Submitter", "type": "bytes20", "offset": 120 },
{ "name": "SourceOff", "type": "uint32", "offset": 140 },
{ "name": "SourceLen", "type": "uint32", "offset": 144 },
{ "name": "ProofDataOff", "type": "uint32", "offset": 148 },
{ "name": "ProofDataLen", "type": "uint32", "offset": 152 },
{ "name": "SignatureOff", "type": "uint32", "offset": 156 },
{ "name": "SignatureLen", "type": "uint32", "offset": 160 }
]
},
{
"wire_name": "AggregationTx",
"go_name": "AggregationTxSchema",
"kind": "0x04",
"size": 136,
"package": "oraclevmwire",
"out": "lp-186/oraclevm/aggregation_tx_zap.go",
"fields": [
{ "name": "Method", "type": "uint8", "offset": 1 },
{ "name": "Value", "type": "uint64", "offset": 8 },
{ "name": "Deviation", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "RoundID", "type": "uint64", "offset": 32 },
{ "name": "Fee", "type": "uint64", "offset": 40 },
{ "name": "ID", "type": "bytes32", "offset": 56 },
{ "name": "FeedID", "type": "bytes32", "offset": 88 },
{ "name": "SubmissionsOff", "type": "uint32", "offset": 120 },
{ "name": "SubmissionsLen", "type": "uint32", "offset": 124 },
{ "name": "ConsensusProofOff", "type": "uint32", "offset": 128 },
{ "name": "ConsensusProofLen", "type": "uint32", "offset": 132 }
]
},
{
"wire_name": "QuantumVMBlock",
"go_name": "QuantumVMBlockSchema",
"kind": "0x01",
"size": 152,
"package": "quantumvmwire",
"out": "lp-186/quantumvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "ParentID", "type": "bytes32", "offset": 56 },
{ "name": "StateRoot", "type": "bytes32", "offset": 88 },
{ "name": "QuantumStampScheme", "type": "uint8", "offset": 120 },
{ "name": "QuantumStampOff", "type": "uint32", "offset": 128 },
{ "name": "QuantumStampLen", "type": "uint32", "offset": 132 },
{ "name": "TxsOff", "type": "uint32", "offset": 136 },
{ "name": "TxsLen", "type": "uint32", "offset": 140 },
{ "name": "WitnessOff", "type": "uint32", "offset": 144 },
{ "name": "WitnessLen", "type": "uint32", "offset": 148 }
]
},
{
"wire_name": "QuantumTx",
"go_name": "QuantumTxSchema",
"kind": "0x02",
"size": 116,
"package": "quantumvmwire",
"out": "lp-186/quantumvm/quantum_tx_zap.go",
"fields": [
{ "name": "Scheme", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "PayloadOff", "type": "uint32", "offset": 64 },
{ "name": "PayloadLen", "type": "uint32", "offset": 68 },
{ "name": "QuantumSigOff", "type": "uint32", "offset": 72 },
{ "name": "QuantumSigLen", "type": "uint32", "offset": 76 },
{ "name": "PublicKeyOff", "type": "uint32", "offset": 80 },
{ "name": "PublicKeyLen", "type": "uint32", "offset": 84 },
{ "name": "Sender", "type": "bytes20", "offset": 88 },
{ "name": "SignatureOff", "type": "uint32", "offset": 108 },
{ "name": "SignatureLen", "type": "uint32", "offset": 112 }
]
},
{
"wire_name": "PrecompileTx",
"go_name": "PrecompileTxSchema",
"kind": "0x03",
"size": 136,
"package": "quantumvmwire",
"out": "lp-186/quantumvm/precompile_tx_zap.go",
"fields": [
{ "name": "GasLimitTier", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "GasUsed", "type": "uint64", "offset": 16 },
{ "name": "Nonce", "type": "uint64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "PrecompileAddr", "type": "bytes20", "offset": 64 },
{ "name": "InputOff", "type": "uint32", "offset": 84 },
{ "name": "InputLen", "type": "uint32", "offset": 88 },
{ "name": "OutputOff", "type": "uint32", "offset": 92 },
{ "name": "OutputLen", "type": "uint32", "offset": 96 },
{ "name": "QuantumSigOff", "type": "uint32", "offset": 100 },
{ "name": "QuantumSigLen", "type": "uint32", "offset": 104 },
{ "name": "Sender", "type": "bytes20", "offset": 108 },
{ "name": "SignatureOff", "type": "uint32", "offset": 128 },
{ "name": "SignatureLen", "type": "uint32", "offset": 132 }
]
},
{
"wire_name": "OpenChannelTx",
"go_name": "OpenChannelTxSchema",
"kind": "0x01",
"size": 236,
"package": "relayvmwire",
"out": "lp-186/relayvm/open_channel_tx_zap.go",
"fields": [
{ "name": "Ordering", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "TimeoutSecs", "type": "uint64", "offset": 32 },
{ "name": "ID", "type": "bytes32", "offset": 40 },
{ "name": "ChannelID", "type": "bytes32", "offset": 72 },
{ "name": "SrcChainID", "type": "bytes32", "offset": 104 },
{ "name": "DstChainID", "type": "bytes32", "offset": 136 },
{ "name": "RelaySetRoot", "type": "bytes32", "offset": 168 },
{ "name": "DescriptionOff", "type": "uint32", "offset": 200 },
{ "name": "DescriptionLen", "type": "uint32", "offset": 204 },
{ "name": "Opener", "type": "bytes20", "offset": 208 },
{ "name": "SignatureOff", "type": "uint32", "offset": 228 },
{ "name": "SignatureLen", "type": "uint32", "offset": 232 }
]
},
{
"wire_name": "SendPacketTx",
"go_name": "SendPacketTxSchema",
"kind": "0x03",
"size": 220,
"package": "relayvmwire",
"out": "lp-186/relayvm/send_packet_tx_zap.go",
"fields": [
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Nonce", "type": "uint64", "offset": 16 },
{ "name": "Timestamp", "type": "int64", "offset": 24 },
{ "name": "Sequence", "type": "uint64", "offset": 32 },
{ "name": "TimeoutHeight", "type": "uint64", "offset": 40 },
{ "name": "ID", "type": "bytes32", "offset": 48 },
{ "name": "ChannelID", "type": "bytes32", "offset": 80 },
{ "name": "SrcChainID", "type": "bytes32", "offset": 112 },
{ "name": "DstChainID", "type": "bytes32", "offset": 144 },
{ "name": "PayloadOff", "type": "uint32", "offset": 176 },
{ "name": "PayloadLen", "type": "uint32", "offset": 180 },
{ "name": "Sender", "type": "bytes20", "offset": 184 },
{ "name": "ReceiverOff", "type": "uint32", "offset": 204 },
{ "name": "ReceiverLen", "type": "uint32", "offset": 208 },
{ "name": "SignatureOff", "type": "uint32", "offset": 212 },
{ "name": "SignatureLen", "type": "uint32", "offset": 216 }
]
},
{
"wire_name": "ReceivePacketTx",
"go_name": "ReceivePacketTxSchema",
"kind": "0x04",
"size": 268,
"package": "relayvmwire",
"out": "lp-186/relayvm/receive_packet_tx_zap.go",
"fields": [
{ "name": "ProofType", "type": "uint8", "offset": 1 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Timestamp", "type": "int64", "offset": 16 },
{ "name": "Sequence", "type": "uint64", "offset": 24 },
{ "name": "ID", "type": "bytes32", "offset": 32 },
{ "name": "PacketID", "type": "bytes32", "offset": 64 },
{ "name": "ChannelID", "type": "bytes32", "offset": 96 },
{ "name": "SrcChainID", "type": "bytes32", "offset": 128 },
{ "name": "DstChainID", "type": "bytes32", "offset": 160 },
{ "name": "PacketCommit", "type": "bytes32", "offset": 192 },
{ "name": "ProofOff", "type": "uint32", "offset": 224 },
{ "name": "ProofLen", "type": "uint32", "offset": 228 },
{ "name": "AggregatedSigOff", "type": "uint32", "offset": 232 },
{ "name": "AggregatedSigLen", "type": "uint32", "offset": 236 },
{ "name": "Relayer", "type": "bytes20", "offset": 240 },
{ "name": "SignatureOff", "type": "uint32", "offset": 260 },
{ "name": "SignatureLen", "type": "uint32", "offset": 264 }
]
},
{
"wire_name": "ThresholdVMBlock",
"go_name": "ThresholdVMBlockSchema",
"kind": "0x01",
"size": 96,
"package": "mpcvmwire",
"out": "lp-186/mpcvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "ParentID", "type": "bytes32", "offset": 56 },
{ "name": "OperationsOff", "type": "uint32", "offset": 88 },
{ "name": "OperationsLen", "type": "uint32", "offset": 92 }
]
},
{
"wire_name": "Operation",
"go_name": "OperationSchema",
"kind": "0x02",
"size": 88,
"package": "mpcvmwire",
"out": "lp-186/mpcvm/operation_zap.go",
"fields": [
{ "name": "Timestamp", "type": "int64", "offset": 8 },
{ "name": "Success", "type": "uint8", "offset": 16 },
{ "name": "TypeOff", "type": "uint32", "offset": 24 },
{ "name": "TypeLen", "type": "uint32", "offset": 28 },
{ "name": "SessionIDOff", "type": "uint32", "offset": 32 },
{ "name": "SessionIDLen", "type": "uint32", "offset": 36 },
{ "name": "KeyIDOff", "type": "uint32", "offset": 40 },
{ "name": "KeyIDLen", "type": "uint32", "offset": 44 },
{ "name": "ProtocolOff", "type": "uint32", "offset": 48 },
{ "name": "ProtocolLen", "type": "uint32", "offset": 52 },
{ "name": "RequestingChainOff", "type": "uint32", "offset": 56 },
{ "name": "RequestingChainLen", "type": "uint32", "offset": 60 },
{ "name": "MessageHashOff", "type": "uint32", "offset": 64 },
{ "name": "MessageHashLen", "type": "uint32", "offset": 68 },
{ "name": "SignatureOff", "type": "uint32", "offset": 72 },
{ "name": "SignatureLen", "type": "uint32", "offset": 76 },
{ "name": "ErrorOff", "type": "uint32", "offset": 80 },
{ "name": "ErrorLen", "type": "uint32", "offset": 84 }
]
},
{
"wire_name": "ManagedKey",
"go_name": "ManagedKeySchema",
"kind": "0x03",
"size": 96,
"package": "mpcvmwire",
"out": "lp-186/mpcvm/managed_key_zap.go",
"fields": [
{ "name": "Threshold", "type": "uint32", "offset": 4 },
{ "name": "TotalParties", "type": "uint32", "offset": 8 },
{ "name": "Generation", "type": "uint64", "offset": 16 },
{ "name": "CreatedAtUnixNano", "type": "int64", "offset": 24 },
{ "name": "LastUsedAtUnixNano", "type": "int64", "offset": 32 },
{ "name": "SignCount", "type": "uint64", "offset": 40 },
{ "name": "KeyIDOff", "type": "uint32", "offset": 48 },
{ "name": "KeyIDLen", "type": "uint32", "offset": 52 },
{ "name": "KeyTypeOff", "type": "uint32", "offset": 56 },
{ "name": "KeyTypeLen", "type": "uint32", "offset": 60 },
{ "name": "PublicKeyOff", "type": "uint32", "offset": 64 },
{ "name": "PublicKeyLen", "type": "uint32", "offset": 68 },
{ "name": "AddressOff", "type": "uint32", "offset": 72 },
{ "name": "AddressLen", "type": "uint32", "offset": 76 },
{ "name": "StatusOff", "type": "uint32", "offset": 80 },
{ "name": "StatusLen", "type": "uint32", "offset": 84 },
{ "name": "PartyIDsOff", "type": "uint32", "offset": 88 },
{ "name": "PartyIDsLen", "type": "uint32", "offset": 92 }
]
},
{
"wire_name": "CrossChainMPCRequest",
"go_name": "CrossChainMPCRequestSchema",
"kind": "0x04",
"size": 56,
"package": "mpcvmwire",
"out": "lp-186/mpcvm/cross_chain_request_zap.go",
"fields": [
{ "name": "TypeOff", "type": "uint32", "offset": 8 },
{ "name": "TypeLen", "type": "uint32", "offset": 12 },
{ "name": "RequestingChainOff", "type": "uint32", "offset": 16 },
{ "name": "RequestingChainLen", "type": "uint32", "offset": 20 },
{ "name": "KeyIDOff", "type": "uint32", "offset": 24 },
{ "name": "KeyIDLen", "type": "uint32", "offset": 28 },
{ "name": "KeyTypeOff", "type": "uint32", "offset": 32 },
{ "name": "KeyTypeLen", "type": "uint32", "offset": 36 },
{ "name": "MessageHashOff", "type": "uint32", "offset": 40 },
{ "name": "MessageHashLen", "type": "uint32", "offset": 44 },
{ "name": "MessageTypeOff", "type": "uint32", "offset": 48 },
{ "name": "MessageTypeLen", "type": "uint32", "offset": 52 }
]
},
{
"wire_name": "ZKVMBlock",
"go_name": "ZKVMBlockSchema",
"kind": "0x01",
"size": 80,
"package": "zkvmwire",
"out": "lp-186/zkvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
{ "name": "ParentID", "type": "bytes32", "offset": 24 },
{ "name": "StateRootOff", "type": "uint32", "offset": 56 },
{ "name": "StateRootLen", "type": "uint32", "offset": 60 },
{ "name": "TxsOff", "type": "uint32", "offset": 64 },
{ "name": "TxsLen", "type": "uint32", "offset": 68 },
{ "name": "BlockProofOff", "type": "uint32", "offset": 72 },
{ "name": "BlockProofLen", "type": "uint32", "offset": 76 }
]
},
{
"wire_name": "ZKVMTransaction",
"go_name": "ZKVMTransactionSchema",
"kind": "0x02",
"size": 120,
"package": "zkvmwire",
"out": "lp-186/zkvm/transaction_zap.go",
"fields": [
{ "name": "Type", "type": "uint8", "offset": 1 },
{ "name": "Version", "type": "uint8", "offset": 2 },
{ "name": "Fee", "type": "uint64", "offset": 8 },
{ "name": "Expiry", "type": "uint64", "offset": 16 },
{ "name": "ID", "type": "bytes32", "offset": 24 },
{ "name": "TransparentInputsOff", "type": "uint32", "offset": 56 },
{ "name": "TransparentInputsLen", "type": "uint32", "offset": 60 },
{ "name": "TransparentOutputsOff", "type": "uint32", "offset": 64 },
{ "name": "TransparentOutputsLen", "type": "uint32", "offset": 68 },
{ "name": "NullifiersOff", "type": "uint32", "offset": 72 },
{ "name": "NullifiersLen", "type": "uint32", "offset": 76 },
{ "name": "ShieldedOutputsOff", "type": "uint32", "offset": 80 },
{ "name": "ShieldedOutputsLen", "type": "uint32", "offset": 84 },
{ "name": "ZKProofOff", "type": "uint32", "offset": 88 },
{ "name": "ZKProofLen", "type": "uint32", "offset": 92 },
{ "name": "FHEDataOff", "type": "uint32", "offset": 96 },
{ "name": "FHEDataLen", "type": "uint32", "offset": 100 },
{ "name": "MemoOff", "type": "uint32", "offset": 104 },
{ "name": "MemoLen", "type": "uint32", "offset": 108 },
{ "name": "SignatureOff", "type": "uint32", "offset": 112 },
{ "name": "SignatureLen", "type": "uint32", "offset": 116 }
]
},
{
"wire_name": "ZKVMUTXO",
"go_name": "ZKVMUTXOSchema",
"kind": "0x03",
"size": 72,
"package": "zkvmwire",
"out": "lp-186/zkvm/utxo_zap.go",
"fields": [
{ "name": "OutputIndex", "type": "uint32", "offset": 4 },
{ "name": "Height", "type": "uint64", "offset": 8 },
{ "name": "TxID", "type": "bytes32", "offset": 16 },
{ "name": "CommitmentOff", "type": "uint32", "offset": 48 },
{ "name": "CommitmentLen", "type": "uint32", "offset": 52 },
{ "name": "CiphertextOff", "type": "uint32", "offset": 56 },
{ "name": "CiphertextLen", "type": "uint32", "offset": 60 },
{ "name": "EphemeralPKOff", "type": "uint32", "offset": 64 },
{ "name": "EphemeralPKLen", "type": "uint32", "offset": 68 }
]
},
{
"wire_name": "PrivateAddress",
"go_name": "PrivateAddressSchema",
"kind": "0x04",
"size": 56,
"package": "zkvmwire",
"out": "lp-186/zkvm/private_address_zap.go",
"fields": [
{ "name": "CreatedAt", "type": "int64", "offset": 8 },
{ "name": "AddressOff", "type": "uint32", "offset": 16 },
{ "name": "AddressLen", "type": "uint32", "offset": 20 },
{ "name": "ViewingKeyOff", "type": "uint32", "offset": 24 },
{ "name": "ViewingKeyLen", "type": "uint32", "offset": 28 },
{ "name": "SpendingKeyOff", "type": "uint32", "offset": 32 },
{ "name": "SpendingKeyLen", "type": "uint32", "offset": 36 },
{ "name": "DiversifierOff", "type": "uint32", "offset": 40 },
{ "name": "DiversifierLen", "type": "uint32", "offset": 44 },
{ "name": "IncomingViewKeyOff", "type": "uint32", "offset": 48 },
{ "name": "IncomingViewKeyLen", "type": "uint32", "offset": 52 }
]
},
{
"wire_name": "ZKVMVertex",
"go_name": "ZKVMVertexSchema",
"kind": "0x05",
"size": 32,
"package": "zkvmwire",
"out": "lp-186/zkvm/vertex_zap.go",
"fields": [
{ "name": "Epoch", "type": "uint32", "offset": 4 },
{ "name": "Height", "type": "uint64", "offset": 8 },
{ "name": "ParentsOff", "type": "uint32", "offset": 16 },
{ "name": "ParentsLen", "type": "uint32", "offset": 20 },
{ "name": "TxsOff", "type": "uint32", "offset": 24 },
{ "name": "TxsLen", "type": "uint32", "offset": 28 }
]
}
]
}