From ce372c7d128f28d79546a91914e31eb96d2649db Mon Sep 17 00:00:00 2001 From: bristinWild Date: Wed, 3 Jun 2026 01:13:39 +0530 Subject: [PATCH] chore: remove stale root-level token-authority.idl.json (use artifacts/token-idl.json) --- token-authority.idl.json | 185 --------------------------------------- 1 file changed, 185 deletions(-) delete mode 100644 token-authority.idl.json diff --git a/token-authority.idl.json b/token-authority.idl.json deleted file mode 100644 index 15caa33..0000000 --- a/token-authority.idl.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "name": "token_program", - "version": "0.1.0", - "description": "LEZ Token Program with mint authority support (LP-0013)", - "instructions": [ - { - "name": "NewFungibleDefinition", - "accounts": [ - { - "name": "definition_account", - "writable": true, - "description": "Token definition account (uninitialized)" - }, - { - "name": "holding_account", - "writable": true, - "description": "Token holding account (uninitialized)" - } - ], - "args": [ - { - "name": "name", - "type": "string" - }, - { - "name": "total_supply", - "type": "u128" - } - ] - }, - { - "name": "NewFungibleDefinitionWithAuthority", - "accounts": [ - { - "name": "definition_account", - "writable": true, - "description": "Token definition account (uninitialized, authorized)" - }, - { - "name": "holding_account", - "writable": true, - "description": "Token holding account (uninitialized, authorized)" - } - ], - "args": [ - { - "name": "name", - "type": "string" - }, - { - "name": "initial_supply", - "type": "u128" - }, - { - "name": "mint_authority", - "type": { - "array": [ - "u8", - 32 - ] - } - } - ] - }, - { - "name": "Mint", - "accounts": [ - { - "name": "definition_account", - "writable": true, - "description": "Token definition account (initialized, authorized by mint authority)" - }, - { - "name": "holding_account", - "writable": true, - "description": "Token holding account (initialized or uninitialized)" - } - ], - "args": [ - { - "name": "amount_to_mint", - "type": "u128" - } - ] - }, - { - "name": "SetAuthority", - "accounts": [ - { - "name": "definition_account", - "writable": true, - "description": "Token definition account (initialized, authorized by current mint authority)" - } - ], - "args": [ - { - "name": "new_authority", - "type": { - "option": { - "array": [ - "u8", - 32 - ] - } - } - } - ] - }, - { - "name": "Transfer", - "accounts": [ - { - "name": "sender_account", - "writable": true, - "description": "Sender token holding account (authorized)" - }, - { - "name": "recipient_account", - "writable": true, - "description": "Recipient token holding account" - } - ], - "args": [ - { - "name": "amount_to_transfer", - "type": "u128" - } - ] - }, - { - "name": "Burn", - "accounts": [ - { - "name": "definition_account", - "writable": true, - "description": "Token definition account" - }, - { - "name": "holding_account", - "writable": true, - "description": "Token holding account (authorized)" - } - ], - "args": [ - { - "name": "amount_to_burn", - "type": "u128" - } - ] - }, - { - "name": "InitializeAccount", - "accounts": [ - { - "name": "definition_account", - "writable": false, - "description": "Token definition account" - }, - { - "name": "holding_account", - "writable": true, - "description": "Token holding account (uninitialized, authorized)" - } - ], - "args": [] - } - ], - "errors": [ - { - "code": 0, - "name": "AuthorityRevoked", - "msg": "Mint authority has been revoked; this token has a fixed supply" - }, - { - "code": 1, - "name": "Unauthorized", - "msg": "Definition account authorization is missing; only the mint authority can mint" - }, - { - "code": 2, - "name": "AlreadyRevoked", - "msg": "Mint authority already revoked; supply is permanently fixed" - } - ] -} \ No newline at end of file