Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmanzanera committed Sep 6, 2024
1 parent 92a7a99 commit 8434670
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ export async function extractActionsFromContract(code: string): Promise<Contract
"archethic/env": {
log: (offset: bigint, length: bigint) => {},
store_u8: (offset: bigint, data: bigint) => {},
input_load_u8: (offset: bigint): number => 0,
load_u8: (offset: bigint): number => 0,
input_size: (): bigint => 0n,
alloc: (length: bigint): bigint => 0n,
set_output: (offset: bigint, length: bigint) => {},
set_error: (offset: bigint, length: bigint) => {}
},
// FIXME with JSON RPC like request
"archethic/IO": {
get_balance: (offset: bigint, length: bigint) => 0
}
});

Expand Down

0 comments on commit 8434670

Please sign in to comment.