Skip to content

Instantly share code, notes, and snippets.

View willjgriff's full-sized avatar

William Griffiths willjgriff

  • 1Hive
View GitHub Profile
@willjgriff
willjgriff / Agreement.sol
Created March 29, 2021 15:22
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&runs=200&gist=
// File: @aragon/os/contracts/acl/IACLOracle.sol
/*
* SPDX-License-Identifier: MIT
*/
pragma solidity ^0.4.24;
interface IACLOracle {
@willjgriff
willjgriff / 3boxVerification.txt
Created March 18, 2021 10:42
3boxVerification
did:3:bafyreicdizonywbptbefa3aafdcyeeokjtppsd6hou2fhw7nmpufslgute
@willjgriff
willjgriff / Agent.abi
Created March 17, 2021 16:38
Agent ABIT
[
{
"constant": true,
"inputs": [],
"name": "ADD_PROTECTED_TOKEN_ROLE",
"outputs": [
{
"name": "",
"type": "bytes32"
}
// File: @aragon/apps-agent/contracts/standards/ERC1271.sol
pragma solidity 0.4.24;
// ERC1271 on Feb 12th, 2019: https://github.com/ethereum/EIPs/blob/a97dc434930d0ccc4461c97d8c7a920dc585adf2/EIPS/eip-1271.md
// Using `isValidSignature(bytes32,bytes)` even though the standard still hasn't been modified
// Rationale: https://github.com/ethereum/EIPs/issues/1271#issuecomment-462719728
[
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
[
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
[
{
"inputs": [
{
"internalType": "contract IERC20",
"name": "_token",
"type": "address"
}
],
"payable": false,
[
{
"inputs": [
{
"internalType": "contract IERC20",
"name": "_token",
"type": "address"
}
],
"payable": false,
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "instance",
"type": "address"
},
[
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",