From ed933ac73235307fb4864701b3bd62c31d34d67e Mon Sep 17 00:00:00 2001 From: John Saigle Date: Thu, 9 May 2024 10:43:50 -0400 Subject: [PATCH] solana: update IDL --- solana/idl/json/dummy_transfer_hook.json | 26 +--------- .../json/example_native_token_transfers.json | 2 +- solana/idl/ts/dummy_transfer_hook.ts | 48 ------------------- .../idl/ts/example_native_token_transfers.ts | 4 +- 4 files changed, 4 insertions(+), 76 deletions(-) diff --git a/solana/idl/json/dummy_transfer_hook.json b/solana/idl/json/dummy_transfer_hook.json index 586fb2b72..ba62b9b29 100644 --- a/solana/idl/json/dummy_transfer_hook.json +++ b/solana/idl/json/dummy_transfer_hook.json @@ -30,11 +30,6 @@ "isMut": false, "isSigner": false }, - { - "name": "counter", - "isMut": true, - "isSigner": false - }, { "name": "systemProgram", "isMut": false, @@ -78,11 +73,6 @@ "docs": [ "computes and the on-chain code correctly passes on the PDA." ] - }, - { - "name": "counter", - "isMut": true, - "isSigner": false } ], "args": [ @@ -93,21 +83,7 @@ ] } ], - "accounts": [ - { - "name": "Counter", - "type": { - "kind": "struct", - "fields": [ - { - "name": "count", - "type": "u64" - } - ] - } - } - ], "metadata": { - "address": "BgabMDLaxsyB7eGMBt9L22MSk9KMrL4zY2iNe14kyFP5" + "address": "7R368vaW4Ztt8ShPuBRaaCqSTumLCVMbc1na4ajR5y4G" } } \ No newline at end of file diff --git a/solana/idl/json/example_native_token_transfers.json b/solana/idl/json/example_native_token_transfers.json index 296557228..0bb20be29 100644 --- a/solana/idl/json/example_native_token_transfers.json +++ b/solana/idl/json/example_native_token_transfers.json @@ -1439,7 +1439,7 @@ "kind": "struct", "fields": [ { - "name": "revertOnDelay", + "name": "revertWhenNotReady", "type": "bool" } ] diff --git a/solana/idl/ts/dummy_transfer_hook.ts b/solana/idl/ts/dummy_transfer_hook.ts index 4e068844b..c7af89541 100644 --- a/solana/idl/ts/dummy_transfer_hook.ts +++ b/solana/idl/ts/dummy_transfer_hook.ts @@ -30,11 +30,6 @@ export type DummyTransferHook = { "isMut": false, "isSigner": false }, - { - "name": "counter", - "isMut": true, - "isSigner": false - }, { "name": "systemProgram", "isMut": false, @@ -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": [ @@ -92,20 +82,6 @@ export type DummyTransferHook = { } ] } - ], - "accounts": [ - { - "name": "counter", - "type": { - "kind": "struct", - "fields": [ - { - "name": "count", - "type": "u64" - } - ] - } - } ] }; @@ -141,11 +117,6 @@ export const IDL: DummyTransferHook = { "isMut": false, "isSigner": false }, - { - "name": "counter", - "isMut": true, - "isSigner": false - }, { "name": "systemProgram", "isMut": false, @@ -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": [ @@ -203,19 +169,5 @@ export const IDL: DummyTransferHook = { } ] } - ], - "accounts": [ - { - "name": "counter", - "type": { - "kind": "struct", - "fields": [ - { - "name": "count", - "type": "u64" - } - ] - } - } ] }; diff --git a/solana/idl/ts/example_native_token_transfers.ts b/solana/idl/ts/example_native_token_transfers.ts index fa85dfa73..b329f976d 100644 --- a/solana/idl/ts/example_native_token_transfers.ts +++ b/solana/idl/ts/example_native_token_transfers.ts @@ -1471,7 +1471,7 @@ export type ExampleNativeTokenTransfers = { "kind": "struct", "fields": [ { - "name": "revertOnDelay", + "name": "revertWhenNotReady", "type": "bool" } ] @@ -3353,7 +3353,7 @@ export const IDL: ExampleNativeTokenTransfers = { "kind": "struct", "fields": [ { - "name": "revertOnDelay", + "name": "revertWhenNotReady", "type": "bool" } ]