ScrtCWAPI<V>: { exports: Allocator & { query(msg): number; }; imports: { env: { db_read(key): number; db_remove(key): void; db_write(key,
val): void; debug(msg): number; query_chain(req): number; }; memory: WebAssembly.Memory; }; } & { 0.x: { exports: { handle(env,
msg): number; init(env,
msg): number; }; imports: { env: { canonicalize_address(src,
dst): number; humanize_address(src,
dst): number; }; }; }; 1.x: { exports: { execute(env,
info,
msg): number; instantiate(env,
info,
msg): number; requires_staking(): number; }; imports: { env: { addr_canonicalize(src,
dst): number; addr_humanize(src,
dst): number; addr_validate(addr): number; ed25519_batch_verify(msgs,
sigs,
pubs): number; ed25519_sign(msg,
priv): number; ed25519_verify(msg,
sig,
pub): number; gas_evaporate(...args): any; secp256k1_recover_pubkey(hash,
sig,
param): number; secp256k1_sign(msg,
priv): number; secp256k1_verify(hash,
sig,
pub): number; }; memory: WebAssembly.Memory; }; }; }[V] Type declaration
exports: Allocator & {
query(msg): number;
}
imports: {
env: {
db_read(key): number;
db_remove(key): void;
db_write(key, val): void;
debug(msg): number;
query_chain(req): number;
};
memory: WebAssembly.Memory;
}
env: {
db_read(key): number;
db_remove(key): void;
db_write(key, val): void;
debug(msg): number;
query_chain(req): number;
}
db_read:function
- db_read(key): number
Returns number
db_remove:function
- db_remove(key): void
Returns void
db_write:function
- db_write(key, val): void
Returns void
debug:function
- debug(msg): number
Returns number
query_chain:function
- query_chain(req): number
Returns number
memory: WebAssembly.Memory