stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
32 lines (31 loc) • 793 B
TypeScript
export declare const spec: string[];
export declare enum methods {
sayHello = "say_hello",
sayHelloTo = "say_hello_to",
getName = "get_name",
setName = "set_name",
getNameByIndex = "get_name_by_index",
deposit = "deposit"
}
export type SayHelloArgs = {};
export type SayHelloToArgs = {
to: string;
};
export type GetNameArgs = {};
export type SetNameArgs = {
name: string;
};
export type GetNameByIndexArgs = {
index: number;
};
export type DepositArgs = {
from: string;
asset_id: string;
amount: number;
};
export type SayHelloResponse = string;
export type SayHelloToResponse = string[];
export type GetNameResponse = string;
export type SetNameResponse = null;
export type GetNameByIndexResponse = string;
export type DepositResponse = null;