123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- import BN from "bn.js";
- import type web3 from "@solana/web3.js";
- import { type Connection, type PublicKey, Transaction } from "@solana/web3.js";
- export declare function InitializeNewWorld({
- payer,
- connection,
- }: {
- payer: PublicKey;
- connection: Connection;
- }): Promise<{
- transaction: Transaction;
- worldPda: PublicKey;
- worldId: BN;
- }>;
- export declare function AddEntity({
- payer,
- world,
- connection,
- }: {
- payer: PublicKey;
- world: PublicKey;
- connection: Connection;
- }): Promise<{
- transaction: Transaction;
- entityPda: PublicKey;
- entityId: BN;
- }>;
- export declare function InitializeComponent({
- payer,
- entity,
- componentId,
- seed,
- authority,
- anchorRemainingAccounts,
- }: {
- payer: PublicKey;
- entity: PublicKey;
- componentId: PublicKey;
- seed?: string;
- authority?: web3.PublicKey;
- anchorRemainingAccounts?: web3.AccountMeta[];
- }): Promise<{
- transaction: Transaction;
- componentPda: PublicKey;
- }>;
- interface ApplySystemInstruction {
- entity: PublicKey;
- components: PublicKey[];
- system: PublicKey;
- authority: PublicKey;
- seeds?: string[];
- extraAccounts?: web3.AccountMeta[];
- args?: object;
- }
- export declare function createApplySystemInstruction({
- entity,
- components,
- system,
- seeds,
- authority,
- extraAccounts,
- args,
- }: ApplySystemInstruction): web3.TransactionInstruction;
- export declare function ApplySystem({
- authority,
- system,
- entity,
- components,
- args,
- extraAccounts,
- seeds,
- }: {
- authority: PublicKey;
- system: PublicKey;
- entity: PublicKey;
- components: PublicKey[];
- args?: object;
- extraAccounts?: web3.AccountMeta[];
- seeds?: string[];
- }): Promise<{
- transaction: Transaction;
- }>;
- export {};
- //# sourceMappingURL=transactions.d.ts.map
|