PHP WebShell

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

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

export declare const FEE_LIMIT = "10000";
export declare const BLOCK_NUMBER = 51407;
export declare const BLOCK_HASH = "0000000000badb0d89177fd84c5d9196021cc1085b9e689b3e9a6195cac8bcae";
export declare const MINT_CONFIRM_DATA = "2bf90baa1273140c3e1b5756b242cc88cd7c4dd8a61bf85cb5c1dd5f50ba61e066b53a15";
export declare const EXPIRATION = 60000;
export declare const TOKEN_TRANSFER_DATA = "a9059cbb0000000000000000000000004887974f42a789ef6d4dfc7ba28b1583219434b3000000000000000000000000000000000000000000000000000000003b9aca00";
export declare const USDT_CONTRACT_ADDRESS = "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs";
export declare const TOKEN_TRANSFER_RECIPIENT = "TGai5uHgBcoLERrzDXMepqZB8Et7D8nV8K";
export declare const TOKEN_TRANSFER_DATA_2 = "a9059cbb0000000000000000000000008483618ca85c35a9b923d98bebca718f5a1db2790000000000000000000000000000000000000000000000000000000005f5e100";
export declare const TOKEN_TXID = "fe21c49f4febd9089125e3a006943c145721d8fcb7ab84136f8c6663ff92f8ed";
export declare const PARTICIPANTS: {
    from: {
        address: string;
        pk: string;
    };
    custodian: {
        address: string;
        pk: string;
        bitcoinAddress: string;
    };
    merchant: {
        address: string;
        pk: string;
        bitcoinAddress: string;
    };
    multisig: {
        address: string;
        pk: string;
    };
};
export declare const CONTRACTS: {
    token: string;
    controller: string;
    members: string;
    factory: string;
};
export declare const TX_CONTRACT: {
    parameter: {
        value: {
            data: string;
            owner_address: string;
            contract_address: string;
        };
        type_url: string;
    };
    type: string;
}[];
export declare const TOKEN_TX_CONTRACT: {
    parameter: {
        value: {
            data: string;
            owner_address: string;
            contract_address: string;
        };
        type_url: string;
    };
    type: string;
}[];
export declare const TOKEN_TX_CONTRACT_2: {
    parameter: {
        value: {
            data: string;
            owner_address: string;
            contract_address: string;
        };
        type_url: string;
    };
    type: string;
}[];
export declare const FirstPrivateKey = "2DBEAC1C22849F47514445A56AEF2EF164528A502DE4BD289E23EA1E2D4C4B06";
export declare const SecondPrivateKey = "FB3AA887E0BE3FAC9D75E661DAFF4A7FE0E91AAB13DA9775CD8586D7CB9B7640";
export declare const FirstExpectedKeyAddress = "TTsGwnTLQ4eryFJpDvJSfuGQxPXRCjXvZz";
export declare const SecondExpectedKeyAddress = "TDzm1tCXM2YS1PDa3GoXSvxdy4AgwVbBPE";
export declare const FirstExpectedSig = "bd08e6cd876bb573dd00a32870b58b70ea8b7908f5131686502589941bfa4fdda76b8c81bbbcfc549be6d4988657cea122df7da46c72041def2683d6ecb04a7401";
export declare const SecondExpectedSig = "f3cabe2f4aed13e2342c78c7bf4626ea36cd6509a44418c24866814d3426703686be9ef21bd993324c520565beee820201f2a50a9ac971732410d3eb69cdb2a600";
export declare const TestRecoverData: {
    userKey: string;
    backupKey: string;
    bitgoKey: string;
    baseAddress: string;
    firstReceiveAddress: string;
    secondReceiveAddress: string;
    recoveryDestination: string;
};
export declare function baseAddressBalance(trxBalance: number, trc20Balances?: any[]): {
    data: {
        owner_permission: {
            keys: {
                address: string;
                weight: number;
            }[];
            threshold: number;
            permission_name: string;
        };
        balance: number;
        trc20: any[];
        active_permission: {
            operations: string;
            keys: {
                address: string;
                weight: number;
            }[];
            threshold: number;
            id: number;
            type: string;
            permission_name: string;
        }[];
    }[];
};
export declare function receiveAddressBalance(balance: number, address: string, trc20Balances?: any[]): {
    data: {
        owner_permission: {
            keys: {
                address: string;
                weight: number;
            }[];
            threshold: number;
            permission_name: string;
        };
        active_permission: {
            operations: string;
            keys: {
                address: string;
                weight: number;
            }[];
            threshold: number;
            id: number;
            type: string;
            permission_name: string;
        }[];
        balance: number;
        trc20: any[];
    }[];
};
export declare function creationTransaction(fromAddress: string, toAddress: string, amount: number): {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const SampleRawTokenSendTxn: {
    result: {
        result: boolean;
    };
    transaction: {
        visible: boolean;
        txID: string;
        raw_data: {
            contract: {
                parameter: {
                    value: {
                        data: string;
                        owner_address: string;
                        contract_address: string;
                    };
                    type_url: string;
                };
                type: string;
            }[];
            ref_block_bytes: string;
            ref_block_hash: string;
            expiration: number;
            fee_limit: number;
            timestamp: number;
        };
        raw_data_hex: string;
    };
};
export declare const UnsignedBuildTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const FirstSigOnBuildTransaction: any;
export declare const SecondSigOnBuildTransaction: any;
export declare const UnsignedTransferContractTx: {
    tx: {
        visible: boolean;
        txID: string;
        raw_data: {
            contract: {
                parameter: {
                    value: {
                        amount: number;
                        owner_address: string;
                        to_address: string;
                    };
                    type_url: string;
                };
                type: string;
            }[];
            ref_block_bytes: string;
            ref_block_hash: string;
            expiration: number;
            timestamp: number;
        };
        raw_data_hex: string;
        signature: never[];
    };
    sig: string;
};
export declare const AccountPermissionUpdateContractPriv = "88413601C267316040413C68AAB35651F8C7AB05EC8FFEF42D42DDA16AA3732C";
export declare const UnsignedAccountPermissionUpdateContractTx: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    owner: {
                        keys: {
                            address: string;
                            weight: number;
                        }[];
                        threshold: number;
                        permission_name: string;
                    };
                    owner_address: string;
                    actives: {
                        operations: string;
                        keys: {
                            address: string;
                            weight: number;
                        }[];
                        threshold: number;
                        type: string;
                        permission_name: string;
                    }[];
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const SignedAccountPermissionUpdateContractTx: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    owner: {
                        keys: {
                            address: string;
                            weight: number;
                        }[];
                        threshold: number;
                        permission_name: string;
                    };
                    owner_address: string;
                    actives: {
                        operations: string;
                        keys: {
                            address: string;
                            weight: number;
                        }[];
                        threshold: number;
                        type: string;
                        permission_name: string;
                    }[];
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
    signature: string[];
};
export declare const InvalidIDTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const UnsignedBuildEmptyIDTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const UnsignedBuildInvalidIDTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const UnsignedInvalidExpirationBuildTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const UnsignedInvalidTimeStampBuildTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        contract: {
            parameter: {
                value: {
                    amount: number;
                    owner_address: string;
                    to_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const UnsignedInvalidContractBuildTransaction: {
    visible: boolean;
    txID: string;
    raw_data: {
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
    };
    raw_data_hex: string;
};
export declare const mockTokenTx: {
    signature: never[];
    txID: string;
    raw_data: {
        contractType: number;
        contract: {
            parameter: {
                value: {
                    data: string;
                    owner_address: string;
                    contract_address: string;
                };
                type_url: string;
            };
            type: string;
        }[];
        ref_block_bytes: string;
        ref_block_hash: string;
        expiration: number;
        timestamp: number;
        fee_limit: number;
    };
    raw_data_hex: string;
};
//# sourceMappingURL=resources.d.ts.map

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


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