{ "address": "Externa111111111111111111111111111111111111", "metadata": { "name": "external", "version": "0.1.0", "spec": "0.1.0", "description": "Created with Anchor" }, "instructions": [ { "name": "init", "discriminator": [ 220, 59, 207, 236, 108, 250, 47, 100 ], "accounts": [ { "name": "authority", "writable": true, "signer": true }, { "name": "my_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "test_compilation_data_as_parameter_name", "discriminator": [ 225, 145, 68, 92, 146, 206, 248, 206 ], "accounts": [ { "name": "signer", "signer": true } ], "args": [ { "name": "data", "type": "bytes" } ] }, { "name": "test_compilation_defined_type_param", "discriminator": [ 61, 118, 87, 242, 137, 97, 90, 223 ], "accounts": [ { "name": "signer", "signer": true } ], "args": [ { "name": "_my_account", "type": { "defined": { "name": "MyAccount" } } } ] }, { "name": "test_compilation_no_accounts", "discriminator": [ 194, 91, 205, 217, 51, 10, 247, 201 ], "accounts": [], "args": [] }, { "name": "test_compilation_return_type", "discriminator": [ 174, 51, 51, 121, 52, 61, 38, 28 ], "accounts": [ { "name": "signer", "signer": true } ], "args": [], "returns": "bool" }, { "name": "update", "discriminator": [ 219, 200, 88, 176, 158, 63, 253, 127 ], "accounts": [ { "name": "authority", "signer": true }, { "name": "my_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" } ] } } ], "args": [ { "name": "value", "type": "u32" } ] }, { "name": "update_composite", "discriminator": [ 26, 42, 201, 224, 121, 60, 188, 220 ], "accounts": [ { "name": "update", "accounts": [ { "name": "authority", "signer": true }, { "name": "my_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" } ] } } ] } ], "args": [ { "name": "value", "type": "u32" } ] }, { "name": "update_non_instruction_composite", "discriminator": [ 49, 218, 69, 196, 204, 66, 36, 29 ], "accounts": [ { "name": "non_instruction_update", "accounts": [ { "name": "authority", "signer": true }, { "name": "my_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" } ] } }, { "name": "program", "address": "Externa111111111111111111111111111111111111" } ] } ], "args": [ { "name": "value", "type": "u32" } ] } ], "accounts": [ { "name": "MyAccount", "discriminator": [ 246, 28, 6, 87, 251, 45, 50, 42 ] } ], "events": [ { "name": "MyEvent", "discriminator": [ 96, 184, 197, 243, 139, 2, 90, 148 ] } ], "types": [ { "name": "MyAccount", "type": { "kind": "struct", "fields": [ { "name": "field", "type": "u32" } ] } }, { "name": "MyEvent", "type": { "kind": "struct", "fields": [ { "name": "value", "type": "u32" } ] } } ], "constants": [ { "name": "MASTER_SEED", "docs": [ "Master seed slice" ], "type": "bytes", "value": "[109, 97, 115, 116, 101, 114]" } ] }