revive-runtime-api 1.2.0

Implements the low level runtime API bindings with pallet contracts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdbool.h>

#include "polkavm_guest.h"

extern void __entry(bool);

static void deploy() {
    __entry(true);
}

static void call() {
    __entry(false);
}

POLKAVM_EXPORT(void, deploy)
POLKAVM_EXPORT(void, call)