-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogram-object.txt
89 lines (89 loc) · 2.96 KB
/
program-object.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Program {
_idl: {
version: '0.0.0',
name: 'helloworld',
instructions: [ [Object], [Object] ],
accounts: [ [Object] ],
metadata: { address: 'FffcgRs2RDsZTVDuiuErHVoTJCHUPcnT46eH3VpycmFi' }
},
_provider: Provider {
connection: Connection {
_commitment: 'recent',
_confirmTransactionInitialTimeout: undefined,
_rpcEndpoint: 'https://api.devnet.solana.com',
_rpcWsEndpoint: 'wss://api.devnet.solana.com/',
_rpcClient: [ClientBrowser],
_rpcRequest: [Function (anonymous)],
_rpcBatchRequest: [Function (anonymous)],
_rpcWebSocket: [Client],
_rpcWebSocketConnected: false,
_rpcWebSocketHeartbeat: null,
_rpcWebSocketIdleTimeout: null,
_disableBlockhashCaching: false,
_pollingBlockhash: false,
_blockhashInfo: [Object],
_accountChangeSubscriptionCounter: 0,
_accountChangeSubscriptions: {},
_programAccountChangeSubscriptionCounter: 0,
_programAccountChangeSubscriptions: {},
_rootSubscriptionCounter: 0,
_rootSubscriptions: {},
_signatureSubscriptionCounter: 0,
_signatureSubscriptions: {},
_slotSubscriptionCounter: 0,
_slotSubscriptions: {},
_logsSubscriptionCounter: 0,
_logsSubscriptions: {},
_slotUpdateSubscriptionCounter: 0,
_slotUpdateSubscriptions: {}
},
wallet: NodeWallet { payer: [Keypair] },
opts: { preflightCommitment: 'recent', commitment: 'recent' }
},
_programId: PublicKey {
_bn: <BN: d9eb599b36a9b0fbd37f6a49dfc627035a9aa9d157db99d7739dc7d472018edd>
},
_coder: Coder {
instruction: InstructionCoder {
idl: [Object],
ixLayout: [Map],
sighashLayouts: [Map]
},
accounts: AccountsCoder { accountLayouts: [Map] },
events: EventCoder { layouts: Map(0) {} }
},
_events: EventManager {
_programId: PublicKey {
_bn: <BN: d9eb599b36a9b0fbd37f6a49dfc627035a9aa9d157db99d7739dc7d472018edd>
},
_provider: Provider {
connection: [Connection],
wallet: [NodeWallet],
opts: [Object]
},
_eventParser: EventParser { coder: [Coder], programId: [PublicKey] },
_eventCallbacks: Map(0) {},
_eventListeners: Map(0) {},
_listenerIdCount: 0
},
rpc: { initialize: [AsyncFunction: rpc], mynum: [AsyncFunction: rpc] },
instruction: {
initialize: [Function: ix] { accounts: [Function (anonymous)] },
mynum: [Function: ix] { accounts: [Function (anonymous)] }
},
transaction: { initialize: [Function: txFn], mynum: [Function: txFn] },
account: {
mynumStruct: AccountClient {
_idlAccount: [Object],
_programId: [PublicKey],
_provider: [Provider],
_coder: [Coder],
_size: 10
}
},
simulate: {
initialize: [AsyncFunction: simulate],
mynum: [AsyncFunction: simulate]
},
state: undefined
}