Skip to content
Verified contractPartialApache-2.0.

FriStatementContract

Address0xecf98a84eea8f83d8510c19488c1bbc2db9eda6d
Balance

0 ETH

 

Transactions

7,327

 

Compiler

solc 0.6.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.12+commit.27d51765
Language
solidity
Optimization
Yes, 1,000,000 runs
EVM version
istanbul
License
Apache-2.0.
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
13,480,347
Creation transaction
0xdb366b8109…0f88299bf6

Read2

  • hasRegisteredFact() → (bool)
  • isValid(bytes32) → (bool)

Write1

  • verifyFRI(uint256[],uint256[],uint256,uint256,uint256)

Events1

  • LogGas(string,uint256)

ABI as JSON

[
  {
    "name": "LogGas",
    "type": "event",
    "inputs": [
      {
        "name": "name",
        "type": "string",
        "indexed": false,
        "internalType": "string"
      },
      {
        "name": "val",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "hasRegisteredFact",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isValid",
    "type": "function",
    "inputs": [
      {
        "name": "fact",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "verifyFRI",
    "type": "function",
    "inputs": [
      {
        "name": "proof",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "friQueue",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "evaluationPoint",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "friStepSize",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "expectedRoot",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.