PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-coin-sol/dist/test/fixtures

Просмотр файла: sol.d.ts

export declare const rawTransactions: {
    transfer: {
        unsigned: string;
        signed: string;
    };
    walletInit: {
        unsigned: string;
        signed: string;
    };
    transferToken: {
        unsigned: string;
        signed: string;
    };
    tokenTransferWithAtaCreation: {
        unsigned: string;
    };
};
export declare const SolInputData: {
    readonly blockhash: "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N";
    readonly durableNonceBlockhash: "MeM29wJ8Kai1SyV5Xz8fHQhTygPs4Eka7UTgZH3LsEm";
    readonly durableNonceSignatures: 2;
    readonly latestBlockhashSignatures: 1;
    readonly unsignedSweepSignatures: 1;
};
export declare const SolResponses: {
    readonly getBlockhashResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: {
                    blockhash: string;
                    lastValidBlockHeight: number;
                };
            };
            id: number;
        };
    };
    readonly getFeesResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: {
                    blockhash: string;
                    feeCalculator: {
                        lamportsPerSignature: number;
                    };
                    lastValidSlot: number;
                    lastValidBlockHeight: number;
                };
            };
            id: number;
        };
    };
    readonly getFeesForMessageResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: number;
            };
            id: number;
        };
    };
    readonly getAccountBalanceResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: number;
            };
            id: number;
        };
    };
    readonly getTokenInfoResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    data: {
                        parsed: {
                            info: {
                                isNative: boolean;
                                mint: string;
                                owner: string;
                                state: string;
                                tokenAmount: {
                                    amount: string;
                                    decimals: number;
                                    uiAmount: number;
                                    uiAmountString: string;
                                };
                            };
                        };
                        type: string;
                    };
                    program: string;
                    space: number;
                };
                executable: boolean;
                lamports: number;
                owner: string;
                rentEpoch: number;
                space: number;
            };
        };
        id: number;
    };
    readonly getAccountInfoResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    data: {
                        parsed: {
                            info: {
                                authority: string;
                                blockhash: string;
                                feeCalculator: {
                                    lamportsPerSignature: string;
                                };
                            };
                            type: string;
                        };
                        program: string;
                        space: number;
                    };
                    executable: boolean;
                    lamports: number;
                    owner: string;
                    rentEpoch: number;
                };
            };
            id: number;
        };
    };
    readonly getAccountInfoResponse2: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    data: {
                        parsed: {
                            info: {
                                authority: string;
                                blockhash: string;
                                feeCalculator: {
                                    lamportsPerSignature: string;
                                };
                            };
                            type: string;
                        };
                        program: string;
                        space: number;
                    };
                    executable: boolean;
                    lamports: number;
                    owner: string;
                    rentEpoch: number;
                };
            };
            id: number;
        };
    };
    readonly getAccountBalanceResponseNoFunds: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: number;
            };
            id: number;
        };
    };
    readonly getAccountBalanceResponseM2Derivation: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: number;
            };
            id: number;
        };
    };
    readonly getAccountBalanceResponseM1Derivation: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    slot: number;
                };
                value: number;
            };
            id: number;
        };
    };
    readonly getTokenAccountsByOwnerResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    account: {
                        data: {
                            parsed: {
                                info: {
                                    isNative: boolean;
                                    mint: string;
                                    owner: string;
                                    state: string;
                                    tokenAmount: {
                                        amount: string;
                                        decimals: number;
                                        uiAmount: number;
                                        uiAmountString: string;
                                    };
                                };
                                type: string;
                            };
                            program: string;
                            space: number;
                        };
                        executable: boolean;
                        lamports: number;
                        owner: string;
                        rentEpoch: number;
                        space: number;
                    };
                    pubkey: string;
                }[];
            };
            id: string;
        };
    };
    readonly getTokenAccountsByOwnerResponse2: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    account: {
                        data: {
                            parsed: {
                                info: {
                                    isNative: boolean;
                                    mint: string;
                                    owner: string;
                                    state: string;
                                    tokenAmount: {
                                        amount: string;
                                        decimals: number;
                                        uiAmount: number;
                                        uiAmountString: string;
                                    };
                                };
                                type: string;
                            };
                            program: string;
                            space: number;
                        };
                        executable: boolean;
                        lamports: number;
                        owner: string;
                        rentEpoch: number;
                        space: number;
                    };
                    pubkey: string;
                }[];
            };
            id: string;
        };
    };
    readonly getTokenAccountsByOwnerResponse3: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: {
                    account: {
                        data: {
                            parsed: {
                                info: {
                                    isNative: boolean;
                                    mint: string;
                                    owner: string;
                                    state: string;
                                    tokenAmount: {
                                        amount: string;
                                        decimals: number;
                                        uiAmount: number;
                                        uiAmountString: string;
                                    };
                                };
                                type: string;
                            };
                            program: string;
                            space: number;
                        };
                        executable: boolean;
                        lamports: number;
                        owner: string;
                        rentEpoch: number;
                        space: number;
                    };
                    pubkey: string;
                }[];
            };
            id: string;
        };
    };
    readonly getTokenAccountsByOwnerResponseNoAccounts: {
        status: number;
        body: {
            jsonrpc: string;
            result: {
                context: {
                    apiVersion: string;
                    slot: number;
                };
                value: never[];
            };
            id: string;
        };
    };
    readonly getMinimumBalanceForRentExemptionResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: number;
            id: number;
        };
    };
    readonly broadcastTransactionResponse: {
        status: number;
        body: {
            jsonrpc: string;
            result: string;
            id: number;
        };
    };
    readonly broadcastTransactionResponse1: {
        status: number;
        body: {
            jsonrpc: string;
            result: string;
            id: number;
        };
    };
    readonly broadcastTransactionResponseError: {
        status: number;
        body: {
            jsonrpc: string;
            error: {
                code: number;
                message: string;
            };
            id: number;
        };
    };
};
export declare const accountInfo: {
    bs58EncodedPublicKey: string;
    bs58EncodedPublicKeyNoFunds: string;
    bs58EncodedPublicKeyM1Derivation: string;
    bs58EncodedPublicKeyM2Derivation: string;
    bs58EncodedPublicKeyWithManyTokens: string;
};
export declare const tokenAddress: {
    TestUSDC: string;
};
export declare const keys: {
    userKey: string;
    backupKey: string;
    bitgoKey: string;
    bitgoKeyNoFunds: string;
    destinationPubKey: string;
    destinationPubKey2: string;
    walletPassword: string;
    durableNoncePubKey: string;
    durableNoncePubKey2: string;
    durableNoncePubKey3: string;
    durableNoncePrivKey: string;
};
export declare const closeATAkeys: {
    userKey: string;
    backupKey: string;
    bitgoKey: string;
    closeAtaAddress: string;
    recoveryDestinationAtaAddress: string;
    bs58EncodedPublicKey: string;
    destinationPubKey: string;
    walletPassword: string;
};
export declare const ovcResponse: {
    signatureShares: {
        txRequest: {
            transactions: {
                unsignedTx: {
                    serializedTx: string;
                    scanIndex: number;
                    coin: string;
                    signableHex: string;
                    derivationPath: string;
                    parsedTx: {
                        inputs: {
                            address: string;
                            valueString: string;
                            value: number;
                        }[];
                        outputs: {
                            address: string;
                            valueString: string;
                            coinName: string;
                        }[];
                        spendAmount: string;
                        type: string;
                    };
                    feeInfo: {
                        fee: number;
                        feeString: string;
                    };
                    coinSpecific: {
                        commonKeychain: string;
                    };
                };
                signatureShares: never[];
                signatureShare: {
                    from: string;
                    to: string;
                    share: string;
                    publicShare: string;
                };
            }[];
            walletCoin: string;
        };
        tssVersion: string;
        ovc: {
            eddsaSignature: {
                y: string;
                R: string;
                sigma: string;
            };
        }[];
    }[];
};
export declare const ovcResponse2: {
    signatureShares: ({
        txRequest: {
            transactions: {
                unsignedTx: {
                    serializedTx: string;
                    scanIndex: number;
                    coin: string;
                    signableHex: string;
                    derivationPath: string;
                    parsedTx: {
                        inputs: {
                            address: string;
                            valueString: string;
                            value: number;
                        }[];
                        outputs: {
                            address: string;
                            valueString: string;
                            coinName: string;
                        }[];
                        spendAmount: string;
                        type: string;
                    };
                    feeInfo: {
                        fee: number;
                        feeString: string;
                    };
                    coinSpecific: {
                        commonKeychain: string;
                    };
                };
                signatureShares: never[];
                signatureShare: {
                    from: string;
                    to: string;
                    share: string;
                    publicShare: string;
                };
            }[];
            walletCoin: string;
        };
        tssVersion: string;
        ovc: {
            eddsaSignature: {
                y: string;
                R: string;
                sigma: string;
            };
        }[];
    } | {
        txRequest: {
            transactions: {
                unsignedTx: {
                    serializedTx: string;
                    scanIndex: number;
                    coin: string;
                    signableHex: string;
                    derivationPath: string;
                    parsedTx: {
                        inputs: {
                            address: string;
                            valueString: string;
                            value: number;
                        }[];
                        outputs: {
                            address: string;
                            valueString: string;
                            coinName: string;
                        }[];
                        spendAmount: string;
                        type: string;
                    };
                    feeInfo: {
                        fee: number;
                        feeString: string;
                    };
                    coinSpecific: {
                        commonKeychain: string;
                        lastScanIndex: number;
                    };
                };
                signatureShares: never[];
                signatureShare: {
                    from: string;
                    to: string;
                    share: string;
                    publicShare: string;
                };
            }[];
            walletCoin: string;
        };
        tssVersion: string;
        ovc: {
            eddsaSignature: {
                y: string;
                R: string;
                sigma: string;
            };
        }[];
    })[];
};
export declare const wrwUser: {
    userKey: string;
    backupKey: string;
    bitgoKey: string;
    bitgoKeyWithManyTokens: string;
    walletPassphrase: string;
    walletAddress0: string;
    walletAddress1: string;
    walletAddress2: string;
    walletAddress3: string;
    walletAddress4: string;
    walletAddress5: string;
};
//# sourceMappingURL=sol.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!