micro-sol-signer
Version:
Create, sign & decode Solana transactions with minimum deps
110 lines • 5.16 kB
TypeScript
declare const _default: {
readonly kind: "rootNode";
readonly program: {
readonly kind: "programNode";
readonly pdas: readonly [];
readonly accounts: readonly [{
readonly kind: "accountNode";
readonly data: {
readonly kind: "structTypeNode";
readonly fields: readonly [{
readonly kind: "structFieldTypeNode";
readonly name: "keys";
readonly type: {
readonly kind: "definedTypeLinkNode";
readonly name: "configKeys";
};
readonly docs: readonly ["List of pubkeys stored in the config account,", "and whether each pubkey needs to sign subsequent calls to `store`."];
}, {
readonly kind: "structFieldTypeNode";
readonly name: "data";
readonly type: {
readonly kind: "bytesTypeNode";
};
readonly docs: readonly ["Arbitrary data to store in the config account."];
}];
};
readonly name: "config";
readonly docs: readonly [];
}];
readonly instructions: readonly [{
readonly kind: "instructionNode";
readonly accounts: readonly [{
readonly kind: "instructionAccountNode";
readonly name: "configAccount";
readonly isWritable: true;
readonly isSigner: "either";
readonly isOptional: false;
readonly docs: readonly ["The config account to be modified.", "Must sign during the first call to `store` to initialize the account,", "or if no signers are configured in the config data."];
}];
readonly arguments: readonly [{
readonly kind: "instructionArgumentNode";
readonly name: "keys";
readonly type: {
readonly kind: "definedTypeLinkNode";
readonly name: "configKeys";
};
readonly docs: readonly ["List of pubkeys to store in the config account,", "and whether each pubkey needs to sign subsequent calls to `store`.", "Non-signer pubkeys do not need to be passed to the program as accounts."];
}, {
readonly kind: "instructionArgumentNode";
readonly name: "data";
readonly type: {
readonly kind: "bytesTypeNode";
};
readonly docs: readonly ["Arbitrary data to store in the config account."];
}];
readonly remainingAccounts: readonly [{
readonly kind: "instructionRemainingAccountsNode";
readonly value: {
readonly kind: "argumentValueNode";
readonly name: "signers";
};
readonly isOptional: true;
readonly isSigner: true;
}];
readonly name: "store";
readonly docs: readonly ["Stores keys and data in a config account.", "Keys can be marked as signer or non-signer.", "Only non-signer keys and data can be updated. Signer keys are immutable."];
readonly optionalAccountStrategy: "omitted";
}];
readonly definedTypes: readonly [{
readonly kind: "definedTypeNode";
readonly name: "configKeys";
readonly type: {
readonly kind: "arrayTypeNode";
readonly item: {
readonly kind: "tupleTypeNode";
readonly items: readonly [{
readonly kind: "publicKeyTypeNode";
}, {
readonly kind: "booleanTypeNode";
readonly size: {
readonly kind: "numberTypeNode";
readonly format: "u8";
readonly endian: "le";
};
}];
};
readonly count: {
readonly kind: "prefixedCountNode";
readonly prefix: {
readonly kind: "numberTypeNode";
readonly format: "shortU16";
readonly endian: "le";
};
};
};
readonly docs: readonly ["A collection of keys to be stored in Config account data.", "Each key tuple comprises a unique `Pubkey` identifier,", "and `bool` whether that key is a signer of the data."];
}];
readonly errors: readonly [];
readonly name: "solanaConfig";
readonly prefix: "";
readonly publicKey: "Config1111111111111111111111111111111111111";
readonly version: "0.0.1";
readonly origin: "shank";
};
readonly additionalPrograms: readonly [];
readonly standard: "codama";
readonly version: "1.0.0";
};
export default _default;
//# sourceMappingURL=config.d.ts.map