Skip to content

Commit

Permalink
Merge pull request #30 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
avsetsin authored Jun 4, 2024
2 parents 4a469fd + d641f32 commit 9d2d7f8
Show file tree
Hide file tree
Showing 33 changed files with 9,165 additions and 17 deletions.
2,088 changes: 2,088 additions & 0 deletions abi/csm/CSAccounting.json

Large diffs are not rendered by default.

156 changes: 156 additions & 0 deletions abi/csm/CSEarlyAdoption.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
[
{
"type": "constructor",
"inputs": [
{
"name": "_treeRoot",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_curveId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_module",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "consume",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "proof",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "consumed",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "curveId",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isEligible",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "proof",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "module",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "treeRoot",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "Consumed",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AlreadyConsumed",
"inputs": []
},
{
"type": "error",
"name": "InvalidProof",
"inputs": []
},
{
"type": "error",
"name": "InvalidValue",
"inputs": []
},
{
"type": "error",
"name": "OnlyModule",
"inputs": []
}
]
Loading

0 comments on commit 9d2d7f8

Please sign in to comment.