Acki Nacki VM Instructions
Last updated
Input: params of bkroot state:
uint128 numberOfActiveBlockKeepers,
uint128 stake,
uint128 totalStake,
uint128 reputationTime,
uint128 timenetwork,
uint128 epochDurationInput: params of bkroot state:
uint128 epochDuration,
uint128 timenetwork,
uint128 numberOfActiveBlockKeepers,
uint128 numberOfNeededActiveBlockKeeperInput:
uint32 vk_index,
bytes public_inputs, // of length = 32 bytes
bytes proof // of length = 128 bytesOutput:
boolean value indicating if proof is valid or not.Inputs:
string zkaddr,
uint256 ephimeral_pub_key,
bytes modulus,
uint64 max_epoch,
string iss_base_64,
uint8 index_mod_4,
string header_base_64Outputs:
Poseidon hash (32 bytes array) of input data being sequentially concatenated.Input:
wasmHash,
wasmArgs,
wasmFunction,
wasmModule,
wasmBinary