Type alias QuarryMintWrapperIDL
QuarryMintWrapperIDL: { accounts: [{ name: "MintWrapper"; type: { fields: [{ name: "base"; type: "publicKey" }, { name: "bump"; type: "u8" }, { name: "hardCap"; type: "u64" }, { name: "admin"; type: "publicKey" }, { name: "pendingAdmin"; type: "publicKey" }, { name: "tokenMint"; type: "publicKey" }, { name: "numMinters"; type: "u64" }, { name: "totalAllowance"; type: "u64" }, { name: "totalMinted"; type: "u64" }]; kind: "struct" } }, { name: "Minter"; type: { fields: [{ name: "mintWrapper"; type: "publicKey" }, { name: "minterAuthority"; type: "publicKey" }, { name: "bump"; type: "u8" }, { name: "index"; type: "u64" }, { name: "allowance"; type: "u64" }, { name: "totalMinted"; type: "u64" }]; kind: "struct" } }]; errors: [{ code: 6000; msg: "You are not authorized to perform this action."; name: "Unauthorized" }, { code: 6001; msg: "Cannot mint over hard cap."; name: "HardcapExceeded" }, { code: 6002; msg: "Minter allowance exceeded."; name: "MinterAllowanceExceeded" }]; events: [{ fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "hardCap"; type: "u64" }, { index: false; name: "admin"; type: "publicKey" }, { index: false; name: "tokenMint"; type: "publicKey" }]; name: "NewMintWrapperEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "currentAdmin"; type: "publicKey" }, { index: false; name: "pendingAdmin"; type: "publicKey" }]; name: "MintWrapperAdminProposeEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "previousAdmin"; type: "publicKey" }, { index: false; name: "admin"; type: "publicKey" }]; name: "MintWrapperAdminUpdateEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "index"; type: "u64" }, { index: false; name: "minterAuthority"; type: "publicKey" }]; name: "NewMinterEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "previousAllowance"; type: "u64" }, { index: false; name: "allowance"; type: "u64" }]; name: "MinterAllowanceUpdateEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "amount"; type: "u64" }, { index: false; name: "destination"; type: "publicKey" }]; name: "MinterMintEvent" }]; instructions: [{ accounts: [{ isMut: false; isSigner: true; name: "base" }, { isMut: true; isSigner: false; name: "mintWrapper"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapper" }, { kind: "account"; path: "base"; type: "publicKey" }] } }, { isMut: false; isSigner: false; name: "admin" }, { isMut: false; isSigner: false; name: "tokenMint" }, { isMut: false; isSigner: false; name: "tokenProgram" }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "bump"; type: "u8" }, { name: "hardCap"; type: "u64" }]; name: "newWrapper" }, { accounts: [{ isMut: false; isSigner: true; name: "base" }, { isMut: true; isSigner: false; name: "mintWrapper"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapper" }, { kind: "account"; path: "base"; type: "publicKey" }] } }, { isMut: false; isSigner: false; name: "admin" }, { isMut: false; isSigner: false; name: "tokenMint" }, { isMut: false; isSigner: false; name: "tokenProgram" }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "hardCap"; type: "u64" }]; name: "newWrapperV2" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }, { isMut: false; isSigner: false; name: "nextAdmin" }]; args: []; name: "transferAdmin" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "pendingAdmin" }]; args: []; name: "acceptAdmin" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: false; isSigner: false; name: "newMinterAuthority" }, { isMut: true; isSigner: false; name: "minter"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapperMinter" }, { account: "OnlyAdmin"; kind: "account"; path: "auth.mint_wrapper"; type: { defined: "Account<'info,MintWrapper>" } }, { kind: "account"; path: "new_minter_authority"; type: "publicKey" }] } }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "bump"; type: "u8" }]; name: "newMinter" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: false; isSigner: false; name: "newMinterAuthority" }, { isMut: true; isSigner: false; name: "minter"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapperMinter" }, { account: "OnlyAdmin"; kind: "account"; path: "auth.mint_wrapper"; type: { defined: "Account<'info,MintWrapper>" } }, { kind: "account"; path: "new_minter_authority"; type: "publicKey" }] } }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: []; name: "newMinterV2" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: true; isSigner: false; name: "minter" }]; args: [{ name: "allowance"; type: "u64" }]; name: "minterUpdate" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "minterAuthority" }, { isMut: true; isSigner: false; name: "tokenMint" }, { isMut: true; isSigner: false; name: "destination" }, { isMut: true; isSigner: false; name: "minter" }, { isMut: false; isSigner: false; name: "tokenProgram" }]; args: [{ name: "amount"; type: "u64" }]; name: "performMint" }]; name: "quarry_mint_wrapper"; version: "5.3.0" }
Type declaration
-
accounts: [{ name: "MintWrapper"; type: { fields: [{ name: "base"; type: "publicKey" }, { name: "bump"; type: "u8" }, { name: "hardCap"; type: "u64" }, { name: "admin"; type: "publicKey" }, { name: "pendingAdmin"; type: "publicKey" }, { name: "tokenMint"; type: "publicKey" }, { name: "numMinters"; type: "u64" }, { name: "totalAllowance"; type: "u64" }, { name: "totalMinted"; type: "u64" }]; kind: "struct" } }, { name: "Minter"; type: { fields: [{ name: "mintWrapper"; type: "publicKey" }, { name: "minterAuthority"; type: "publicKey" }, { name: "bump"; type: "u8" }, { name: "index"; type: "u64" }, { name: "allowance"; type: "u64" }, { name: "totalMinted"; type: "u64" }]; kind: "struct" } }]
-
errors: [{ code: 6000; msg: "You are not authorized to perform this action."; name: "Unauthorized" }, { code: 6001; msg: "Cannot mint over hard cap."; name: "HardcapExceeded" }, { code: 6002; msg: "Minter allowance exceeded."; name: "MinterAllowanceExceeded" }]
-
events: [{ fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "hardCap"; type: "u64" }, { index: false; name: "admin"; type: "publicKey" }, { index: false; name: "tokenMint"; type: "publicKey" }]; name: "NewMintWrapperEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "currentAdmin"; type: "publicKey" }, { index: false; name: "pendingAdmin"; type: "publicKey" }]; name: "MintWrapperAdminProposeEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "previousAdmin"; type: "publicKey" }, { index: false; name: "admin"; type: "publicKey" }]; name: "MintWrapperAdminUpdateEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "index"; type: "u64" }, { index: false; name: "minterAuthority"; type: "publicKey" }]; name: "NewMinterEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "previousAllowance"; type: "u64" }, { index: false; name: "allowance"; type: "u64" }]; name: "MinterAllowanceUpdateEvent" }, { fields: [{ index: false; name: "mintWrapper"; type: "publicKey" }, { index: false; name: "minter"; type: "publicKey" }, { index: false; name: "amount"; type: "u64" }, { index: false; name: "destination"; type: "publicKey" }]; name: "MinterMintEvent" }]
-
instructions: [{ accounts: [{ isMut: false; isSigner: true; name: "base" }, { isMut: true; isSigner: false; name: "mintWrapper"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapper" }, { kind: "account"; path: "base"; type: "publicKey" }] } }, { isMut: false; isSigner: false; name: "admin" }, { isMut: false; isSigner: false; name: "tokenMint" }, { isMut: false; isSigner: false; name: "tokenProgram" }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "bump"; type: "u8" }, { name: "hardCap"; type: "u64" }]; name: "newWrapper" }, { accounts: [{ isMut: false; isSigner: true; name: "base" }, { isMut: true; isSigner: false; name: "mintWrapper"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapper" }, { kind: "account"; path: "base"; type: "publicKey" }] } }, { isMut: false; isSigner: false; name: "admin" }, { isMut: false; isSigner: false; name: "tokenMint" }, { isMut: false; isSigner: false; name: "tokenProgram" }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "hardCap"; type: "u64" }]; name: "newWrapperV2" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }, { isMut: false; isSigner: false; name: "nextAdmin" }]; args: []; name: "transferAdmin" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "pendingAdmin" }]; args: []; name: "acceptAdmin" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: false; isSigner: false; name: "newMinterAuthority" }, { isMut: true; isSigner: false; name: "minter"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapperMinter" }, { account: "OnlyAdmin"; kind: "account"; path: "auth.mint_wrapper"; type: { defined: "Account<'info,MintWrapper>" } }, { kind: "account"; path: "new_minter_authority"; type: "publicKey" }] } }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: [{ name: "bump"; type: "u8" }]; name: "newMinter" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: false; isSigner: false; name: "newMinterAuthority" }, { isMut: true; isSigner: false; name: "minter"; pda: { seeds: [{ kind: "const"; type: "string"; value: "MintWrapperMinter" }, { account: "OnlyAdmin"; kind: "account"; path: "auth.mint_wrapper"; type: { defined: "Account<'info,MintWrapper>" } }, { kind: "account"; path: "new_minter_authority"; type: "publicKey" }] } }, { isMut: true; isSigner: true; name: "payer" }, { isMut: false; isSigner: false; name: "systemProgram" }]; args: []; name: "newMinterV2" }, { accounts: [{ accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "admin" }]; name: "auth" }, { isMut: true; isSigner: false; name: "minter" }]; args: [{ name: "allowance"; type: "u64" }]; name: "minterUpdate" }, { accounts: [{ isMut: true; isSigner: false; name: "mintWrapper" }, { isMut: false; isSigner: true; name: "minterAuthority" }, { isMut: true; isSigner: false; name: "tokenMint" }, { isMut: true; isSigner: false; name: "destination" }, { isMut: true; isSigner: false; name: "minter" }, { isMut: false; isSigner: false; name: "tokenProgram" }]; args: [{ name: "amount"; type: "u64" }]; name: "performMint" }]
-
name: "quarry_mint_wrapper"
-
version: "5.3.0"