Skip to content

Commit

Permalink
feat(bountiesV2): add bountiesV2 with custom maintainer fees #100
Browse files Browse the repository at this point in the history
  • Loading branch information
stocks29 committed May 25, 2024
1 parent f625b66 commit 68f6f43
Show file tree
Hide file tree
Showing 25 changed files with 7,398 additions and 27 deletions.
1,720 changes: 1,720 additions & 0 deletions abi/contracts/BountiesV2.sol/BountiesV2.json

Large diffs are not rendered by default.

1,206 changes: 1,206 additions & 0 deletions abi/contracts/MaintainerFees.sol/MaintainerFees.json

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions abi/contracts/interfaces/IMaintainerFees.sol/IMaintainerFees.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"inputs": [
{
"internalType": "string",
"name": "platform",
"type": "string"
},
{
"internalType": "string",
"name": "owner",
"type": "string"
},
{
"internalType": "string",
"name": "repo",
"type": "string"
},
{
"internalType": "string",
"name": "issue",
"type": "string"
}
],
"name": "getCustomFee",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
}
]
113 changes: 113 additions & 0 deletions abi/contracts/libraries/StringUtils.sol/StringUtils.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
[
{
"inputs": [
{
"internalType": "string",
"name": "_s1",
"type": "string"
},
{
"internalType": "bytes",
"name": "_b2",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "_start",
"type": "uint256"
}
],
"name": "compareStringsByBytes",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "a",
"type": "string"
},
{
"internalType": "string",
"name": "b",
"type": "string"
}
],
"name": "eq",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_base",
"type": "string"
},
{
"internalType": "string",
"name": "_value",
"type": "string"
}
],
"name": "split",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_str",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "_startIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_endIndex",
"type": "uint256"
}
],
"name": "substring",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
Loading

0 comments on commit 68f6f43

Please sign in to comment.