This file contains 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
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
const snarkjs = require('snarkjs'); | |
const logger = { | |
info: (...args) => console.log(...args), | |
debug: (...args) => console.log(...args) | |
}; | |
(async () => { | |
try { |
This file contains 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
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
const snarkjs = require('snarkjs'); | |
const logger = { | |
info: (...args) => console.log(...args), | |
debug: (...args) => console.log(...args) | |
}; | |
(async () => { | |
try { |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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
import "https://github.com/ensdomains/ens-contracts/blob/master/contracts/utils/NameEncoder.sol"; | |
import "hardhat/console.sol"; | |
test test 2 | |
abstract contract ENS { | |
function resolver(bytes32 node) public virtual view returns (Resolver); | |
} | |
abstract contract Resolver { | |
function addr(bytes32 node) public virtual view returns (address); |
This file contains 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
pragma circom 2.0.0; | |
include "./poseidon_constants.circom"; | |
template Sigma() { | |
signal input in; | |
signal output out; | |
signal in2; | |
signal in4; |
This file contains 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; | |
// End consumer library. | |
library Client { | |
/// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. | |
struct EVMTokenAmount { | |
address token; // token address on the local chain. | |
uint256 amount; // Amount of tokens. | |
} |
NewerOlder