Skip to content

Commit ed933ac

Browse files
committed
solana: update IDL
1 parent ef961ad commit ed933ac

4 files changed

+4
-76
lines changed

solana/idl/json/dummy_transfer_hook.json

+1-25
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030
"isMut": false,
3131
"isSigner": false
3232
},
33-
{
34-
"name": "counter",
35-
"isMut": true,
36-
"isSigner": false
37-
},
3833
{
3934
"name": "systemProgram",
4035
"isMut": false,
@@ -78,11 +73,6 @@
7873
"docs": [
7974
"computes and the on-chain code correctly passes on the PDA."
8075
]
81-
},
82-
{
83-
"name": "counter",
84-
"isMut": true,
85-
"isSigner": false
8676
}
8777
],
8878
"args": [
@@ -93,21 +83,7 @@
9383
]
9484
}
9585
],
96-
"accounts": [
97-
{
98-
"name": "Counter",
99-
"type": {
100-
"kind": "struct",
101-
"fields": [
102-
{
103-
"name": "count",
104-
"type": "u64"
105-
}
106-
]
107-
}
108-
}
109-
],
11086
"metadata": {
111-
"address": "BgabMDLaxsyB7eGMBt9L22MSk9KMrL4zY2iNe14kyFP5"
87+
"address": "7R368vaW4Ztt8ShPuBRaaCqSTumLCVMbc1na4ajR5y4G"
11288
}
11389
}

solana/idl/json/example_native_token_transfers.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@
14391439
"kind": "struct",
14401440
"fields": [
14411441
{
1442-
"name": "revertOnDelay",
1442+
"name": "revertWhenNotReady",
14431443
"type": "bool"
14441444
}
14451445
]

solana/idl/ts/dummy_transfer_hook.ts

-48
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ export type DummyTransferHook = {
3030
"isMut": false,
3131
"isSigner": false
3232
},
33-
{
34-
"name": "counter",
35-
"isMut": true,
36-
"isSigner": false
37-
},
3833
{
3934
"name": "systemProgram",
4035
"isMut": false,
@@ -78,11 +73,6 @@ export type DummyTransferHook = {
7873
"docs": [
7974
"computes and the on-chain code correctly passes on the PDA."
8075
]
81-
},
82-
{
83-
"name": "counter",
84-
"isMut": true,
85-
"isSigner": false
8676
}
8777
],
8878
"args": [
@@ -92,20 +82,6 @@ export type DummyTransferHook = {
9282
}
9383
]
9484
}
95-
],
96-
"accounts": [
97-
{
98-
"name": "counter",
99-
"type": {
100-
"kind": "struct",
101-
"fields": [
102-
{
103-
"name": "count",
104-
"type": "u64"
105-
}
106-
]
107-
}
108-
}
10985
]
11086
};
11187

@@ -141,11 +117,6 @@ export const IDL: DummyTransferHook = {
141117
"isMut": false,
142118
"isSigner": false
143119
},
144-
{
145-
"name": "counter",
146-
"isMut": true,
147-
"isSigner": false
148-
},
149120
{
150121
"name": "systemProgram",
151122
"isMut": false,
@@ -189,11 +160,6 @@ export const IDL: DummyTransferHook = {
189160
"docs": [
190161
"computes and the on-chain code correctly passes on the PDA."
191162
]
192-
},
193-
{
194-
"name": "counter",
195-
"isMut": true,
196-
"isSigner": false
197163
}
198164
],
199165
"args": [
@@ -203,19 +169,5 @@ export const IDL: DummyTransferHook = {
203169
}
204170
]
205171
}
206-
],
207-
"accounts": [
208-
{
209-
"name": "counter",
210-
"type": {
211-
"kind": "struct",
212-
"fields": [
213-
{
214-
"name": "count",
215-
"type": "u64"
216-
}
217-
]
218-
}
219-
}
220172
]
221173
};

solana/idl/ts/example_native_token_transfers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ export type ExampleNativeTokenTransfers = {
14711471
"kind": "struct",
14721472
"fields": [
14731473
{
1474-
"name": "revertOnDelay",
1474+
"name": "revertWhenNotReady",
14751475
"type": "bool"
14761476
}
14771477
]
@@ -3353,7 +3353,7 @@ export const IDL: ExampleNativeTokenTransfers = {
33533353
"kind": "struct",
33543354
"fields": [
33553355
{
3356-
"name": "revertOnDelay",
3356+
"name": "revertWhenNotReady",
33573357
"type": "bool"
33583358
}
33593359
]

0 commit comments

Comments
 (0)