0.1.0
This commit is contained in:
121
docs/SPL_ELGAMAL_REGISTRY_MATRIX.json
Normal file
121
docs/SPL_ELGAMAL_REGISTRY_MATRIX.json
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"file": "docs/SPL_ELGAMAL_REGISTRY_MATRIX.json",
|
||||
"version": 1,
|
||||
"programId": "regVYJW7tcT8zipN5YiBvHsvR5jXW1uLFxaHSbugABg",
|
||||
"interface": {
|
||||
"crate": "spl-elgamal-registry-interface",
|
||||
"resolvedVersion": "0.2.1",
|
||||
"auditedCommitPrefix": "e18f9c6"
|
||||
},
|
||||
"technicalBoundaries": {
|
||||
"token2022ProgramId": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
|
||||
"zkElgamalProofProgramId": "ZkE1Gama1Proof11111111111111111111111111111",
|
||||
"registryDecodesProofInstructions": false,
|
||||
"token2022DecoderOwnsRegistryInstructions": false
|
||||
},
|
||||
"pda": {
|
||||
"seedUtf8": "elgamal-registry",
|
||||
"ownerAddressIsSeed": true,
|
||||
"programIdIsDerivationProgram": true
|
||||
},
|
||||
"instructions": [
|
||||
{
|
||||
"name": "create_registry",
|
||||
"tag": 0,
|
||||
"wire": {
|
||||
"exactLengthBytes": 2,
|
||||
"fields": [
|
||||
{
|
||||
"name": "tag",
|
||||
"type": "u8",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"name": "proofInstructionOffset",
|
||||
"type": "i8"
|
||||
}
|
||||
]
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"position": 0,
|
||||
"role": "registry_account",
|
||||
"writable": true,
|
||||
"signer": false
|
||||
},
|
||||
{
|
||||
"position": 1,
|
||||
"role": "wallet_owner",
|
||||
"writable": false,
|
||||
"signer": true
|
||||
},
|
||||
{
|
||||
"position": 2,
|
||||
"role": "system_program",
|
||||
"writable": false,
|
||||
"signer": false
|
||||
},
|
||||
{
|
||||
"position": 3,
|
||||
"role": "instructions_sysvar_or_proof_context",
|
||||
"writable": false,
|
||||
"signer": false
|
||||
}
|
||||
],
|
||||
"builder": "create_registry",
|
||||
"status": "current"
|
||||
},
|
||||
{
|
||||
"name": "update_registry",
|
||||
"tag": 1,
|
||||
"wire": {
|
||||
"exactLengthBytes": 2,
|
||||
"fields": [
|
||||
{
|
||||
"name": "tag",
|
||||
"type": "u8",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"name": "proofInstructionOffset",
|
||||
"type": "i8"
|
||||
}
|
||||
]
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"position": 0,
|
||||
"role": "registry_account",
|
||||
"writable": true,
|
||||
"signer": false
|
||||
},
|
||||
{
|
||||
"position": 1,
|
||||
"role": "instructions_sysvar_or_proof_context",
|
||||
"writable": false,
|
||||
"signer": false
|
||||
},
|
||||
{
|
||||
"position": 2,
|
||||
"role": "registry_owner",
|
||||
"writable": false,
|
||||
"signer": true
|
||||
}
|
||||
],
|
||||
"builder": "update_registry",
|
||||
"status": "current"
|
||||
}
|
||||
],
|
||||
"proofLocationSemantics": {
|
||||
"offsetZero": "context_state_account",
|
||||
"offsetNonZero": "relative_zk_proof_instruction",
|
||||
"publishedInlineBuilderOffset": 1
|
||||
},
|
||||
"decoder": {
|
||||
"crate": "kb_decoder_spl_elgamal_registry",
|
||||
"coverageEqualityRequired": true,
|
||||
"unknownTagPolicy": "failed",
|
||||
"trailingBytesPolicy": "failed",
|
||||
"failedTransactionCommitted": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user