Skip to content

Commit

Permalink
solana: update IDL
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed May 9, 2024
1 parent ef961ad commit ed933ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 76 deletions.
26 changes: 1 addition & 25 deletions solana/idl/json/dummy_transfer_hook.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
"isMut": false,
"isSigner": false
},
{
"name": "counter",
"isMut": true,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
Expand Down Expand Up @@ -78,11 +73,6 @@
"docs": [
"computes and the on-chain code correctly passes on the PDA."
]
},
{
"name": "counter",
"isMut": true,
"isSigner": false
}
],
"args": [
Expand All @@ -93,21 +83,7 @@
]
}
],
"accounts": [
{
"name": "Counter",
"type": {
"kind": "struct",
"fields": [
{
"name": "count",
"type": "u64"
}
]
}
}
],
"metadata": {
"address": "BgabMDLaxsyB7eGMBt9L22MSk9KMrL4zY2iNe14kyFP5"
"address": "7R368vaW4Ztt8ShPuBRaaCqSTumLCVMbc1na4ajR5y4G"
}
}
2 changes: 1 addition & 1 deletion solana/idl/json/example_native_token_transfers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@
"kind": "struct",
"fields": [
{
"name": "revertOnDelay",
"name": "revertWhenNotReady",
"type": "bool"
}
]
Expand Down
48 changes: 0 additions & 48 deletions solana/idl/ts/dummy_transfer_hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export type DummyTransferHook = {
"isMut": false,
"isSigner": false
},
{
"name": "counter",
"isMut": true,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
Expand Down Expand Up @@ -78,11 +73,6 @@ export type DummyTransferHook = {
"docs": [
"computes and the on-chain code correctly passes on the PDA."
]
},
{
"name": "counter",
"isMut": true,
"isSigner": false
}
],
"args": [
Expand All @@ -92,20 +82,6 @@ export type DummyTransferHook = {
}
]
}
],
"accounts": [
{
"name": "counter",
"type": {
"kind": "struct",
"fields": [
{
"name": "count",
"type": "u64"
}
]
}
}
]
};

Expand Down Expand Up @@ -141,11 +117,6 @@ export const IDL: DummyTransferHook = {
"isMut": false,
"isSigner": false
},
{
"name": "counter",
"isMut": true,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
Expand Down Expand Up @@ -189,11 +160,6 @@ export const IDL: DummyTransferHook = {
"docs": [
"computes and the on-chain code correctly passes on the PDA."
]
},
{
"name": "counter",
"isMut": true,
"isSigner": false
}
],
"args": [
Expand All @@ -203,19 +169,5 @@ export const IDL: DummyTransferHook = {
}
]
}
],
"accounts": [
{
"name": "counter",
"type": {
"kind": "struct",
"fields": [
{
"name": "count",
"type": "u64"
}
]
}
}
]
};
4 changes: 2 additions & 2 deletions solana/idl/ts/example_native_token_transfers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ export type ExampleNativeTokenTransfers = {
"kind": "struct",
"fields": [
{
"name": "revertOnDelay",
"name": "revertWhenNotReady",
"type": "bool"
}
]
Expand Down Expand Up @@ -3353,7 +3353,7 @@ export const IDL: ExampleNativeTokenTransfers = {
"kind": "struct",
"fields": [
{
"name": "revertOnDelay",
"name": "revertWhenNotReady",
"type": "bool"
}
]
Expand Down

0 comments on commit ed933ac

Please sign in to comment.