testnumbat_wasm/api/endpoint_finish_api.rs
1use super::{ErrorApi, Handle};
2
3/// Interface to only be used by code generated by the macros.
4/// The smart contract code doesn't have access to these methods directly.
5pub trait EndpointFinishApi: ErrorApi {
6 fn finish_slice_u8(&self, slice: &[u8]);
7
8 fn finish_big_int_raw(&self, handle: Handle);
9
10 fn finish_big_uint_raw(&self, handle: Handle);
11
12 fn finish_managed_buffer_raw(&self, handle: Handle);
13
14 fn finish_u64(&self, value: u64);
15
16 fn finish_i64(&self, value: i64);
17}