Add solidity interface comment

This commit is contained in:
Martin Ondejka 2023-04-06 00:01:23 +02:00
parent 33783cb2d6
commit 3671017ec8

View file

@ -1,5 +1,31 @@
package vm
// Solidity interfaces for precompiles
//
// enum NetworkId {
// MAINNET,
// TESTNET,
// NULLNET
// }
//
// interface IHasher {
// function poseidonHash(
// NetworkId networkId,
// bytes32[] memory fields
// ) external view returns (bytes32);
// }
//
// interface ISigner {
// function verify(
// NetworkId networkId,
// bytes32 pubKeyX,
// bytes32 pubKeyY,
// bytes32 signatureRX,
// bytes32 signatureS,
// bytes32[] calldata fields
// ) external view returns (bool);
// }
/*
#cgo LDFLAGS: mina/target/release/libmina.a -ldl
#include "../../mina/target/mina.h"