- Everything is encoded in Little-Endian without any padding or alignment.
- Strings have a fixed length but can be null-terminated if they are shorter.
- All integer numbers are always encoded in 8 bytes using two's complement representation.
- Boolean values are encoded in one byte, with
0x00
meaningfalse
and any other value meaningtrue
. - IOTA addresses are always transferred in their 81 character base-27 encoding without checksum information.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
contract ProofMarketFIFO is ReentrancyGuard { | |
Proof public emptyProof; | |
uint256 public constant MIN_REQUEST_VALUE = 0.00001 ether; | |
address constant STARK_VERIFIER = address(0x51); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "TestVerify", | |
"address": "0x9db8fccb21c702ec067cafaf6565a196e127249c", | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "imageID", | |
"type": "bytes32" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey, I'm Wollac-4930426 and I have contributed to the RISC Zero STARK-to-SNARK Prover MPC Phase2 Trusted Setup ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (stark_verify) | |
Contributor # 34 | |
Contribution Hash: 9d011a11 67cf6e8e 116cc840 b6425792 | |
c791bbea bde335ab e6cf6c29 6ab93229 | |
9cfbcbd2 84fe7934 1ca11d8b 55d3802f | |
44ce38ad 5c8012c2 54ae8d09 16c93fcb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias bmake='sudo docker run --rm -t -u "$(id -u):$(id -g)" -v "$(pwd):/project" -e BOLOS_ENV="/opt/bolos" -e BOLOS_SDK="/project/dev/sdk/nanos-secure-sdk" zondax/ledger-docker-bolos make -C /project' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Removes old revisions of snaps | |
# CLOSE ALL SNAPS BEFORE RUNNING THIS | |
set -eu | |
snap list --all | awk '/disabled/{print $1, $3}' | | |
while read snapname revision; do | |
snap remove "$snapname" --revision="$revision" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Guard { | |
constructor ({ ...anyArguments }) { | |
// Do the initialization work | |
// Arguments depend on the requirements of the specific Guard module. | |
} | |
// Returns: string | |
getSymmetricKey() { | |
// Returns the key for encrypting/decrypting arbitrary data. |
I hereby claim:
- I am Wollac on github.
- I am wollac (https://keybase.io/wollac) on keybase.
- I have a public key whose fingerprint is 91AE 4D70 C63D 67A4 E726 EACB F2DA 019A 2C66 3391
To claim this, I am signing this object: