123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- {
- "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]"
- }
- ]
- }
|