Skip to content
Verified contractPartialMIT

MerkleRedeem

Address0xec0bde2bcfbdb82f470ecd2b5c4e9b87d2fb3992
Balance

0 ETH

 

Transactions

6

 

Compiler

solc 0.6.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.12+commit.27d51765
Language
solidity
Optimization
No
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
11,501,773
Creation transaction
0xc7979790ab…1a8c741a13

Read7

  • claimStatus(address,uint256,uint256) → (bool[])
  • claimed(uint256,address) → (bool)
  • merkleRoots(uint256,uint256) → (bytes32[])
  • owner() → (address)
  • token() → (address)
  • verifyClaim(address,uint256,uint256,bytes32[]) → (bool)
  • weekMerkleRoots(uint256) → (bytes32)

Write5

  • claimWeek(address,uint256,uint256,bytes32[])
  • claimWeeks(address,tuple[])
  • renounceOwnership()
  • seedAllocations(uint256,bytes32,uint256)
  • transferOwnership(address)

Events2

  • Claimed(address,uint256)
  • OwnershipTransferred(address,address)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_token",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "Claimed",
    "type": "event",
    "inputs": [
      {
        "name": "_claimant",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "_balance",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "claimStatus",
    "type": "function",
    "inputs": [
      {
        "name": "_liquidityProvider",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_begin",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_end",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool[]",
        "internalType": "bool[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "claimWeek",
    "type": "function",
    "inputs": [
      {
        "name": "_liquidityProvider",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_week",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_claimedBalance",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_merkleProof",
        "type": "bytes32[]",
        "internalType": "bytes32[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "claimWeeks",
    "type": "function",
    "inputs": [
      {
        "name": "_liquidityProvider",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "claims",
        "type": "tuple[]",
        "components": [
          {
            "name": "week",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "balance",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "merkleProof",
            "type": "bytes32[]",
            "internalType": "bytes32[]"
          }
        ],
        "internalType": "struct MerkleRedeem.Claim[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "claimed",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "merkleRoots",
    "type": "function",
    "inputs": [
      {
        "name": "_begin",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_end",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bytes32[]",
        "internalType": "bytes32[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "seedAllocations",
    "type": "function",
    "inputs": [
      {
        "name": "_week",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_merkleRoot",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "_totalAllocation",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "token",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IERC20"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "transferOwnership",
    "type": "function",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "verifyClaim",
    "type": "function",
    "inputs": [
      {
        "name": "_liquidityProvider",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_week",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_claimedBalance",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_merkleProof",
        "type": "bytes32[]",
        "internalType": "bytes32[]"
      }
    ],
    "outputs": [
      {
        "name": "valid",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "weekMerkleRoots",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.