-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathwasm_env.ts
More file actions
40 lines (32 loc) · 1.81 KB
/
wasm_env.ts
File metadata and controls
40 lines (32 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// FIXME: This should be propagated from the Fadroma/SimplicityHL module.
export function __assert_fail (...args) {
throw new Error(['__assert_fail:', ...args].join(' '))
}
// FIXME: the following should be unneeded:
export function __syscall_getcwd () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_context_preallocated_clone_size () {
return 0;
throw new Error('not implemented')
}
export function rustsecp256k1_v0_10_0_context_preallocated_create () {
return 0;
throw new Error('not implemented')
}
export function rustsecp256k1_v0_10_0_context_preallocated_destroy () {
return 0;
throw new Error('not implemented')
}
export function rustsecp256k1_v0_10_0_context_preallocated_size () {
return 0;
throw new Error('not implemented')
}
export function rustsecp256k1_v0_10_0_ec_pubkey_serialize () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_xonly_pubkey_from_pubkey () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_xonly_pubkey_parse () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_xonly_pubkey_serialize () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_xonly_pubkey_tweak_add () { throw new Error('not implemented') }
export function rustsecp256k1_v0_10_0_xonly_pubkey_tweak_add_check () { throw new Error('not implemented') }
export function rustsecp256k1zkp_v0_10_0_generator_serialize () { throw new Error('not implemented') }
export function rustsecp256k1zkp_v0_10_0_pedersen_commitment_serialize () { throw new Error('not implemented') }
export function rustsecp256k1zkp_v0_10_0_surjectionproof_serialize () { throw new Error('not implemented') }
export function rustsecp256k1zkp_v0_10_0_surjectionproof_serialized_size () { throw new Error('not implemented') }