Skip to content

Commit

Permalink
Add roles-v2 mastercopies and abis
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Jun 27, 2023
1 parent 7df829d commit 614b50e
Show file tree
Hide file tree
Showing 8 changed files with 755 additions and 221 deletions.
113 changes: 113 additions & 0 deletions sdk/abi/Integrity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
[
{
"inputs": [],
"name": "NotBFS",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsuitableChildCount",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsuitableChildTypeTree",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsuitableCompValue",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsuitableParameterType",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsuitableParent",
"type": "error"
},
{
"inputs": [],
"name": "UnsuitableRootNode",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "UnsupportedOperator",
"type": "error"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint8",
"name": "parent",
"type": "uint8"
},
{
"internalType": "enum ParameterType",
"name": "paramType",
"type": "ParameterType"
},
{
"internalType": "enum Operator",
"name": "operator",
"type": "Operator"
},
{
"internalType": "bytes",
"name": "compValue",
"type": "bytes"
}
],
"internalType": "struct ConditionFlat[]",
"name": "conditions",
"type": "tuple[]"
}
],
"name": "enforce",
"outputs": [],
"stateMutability": "pure",
"type": "function"
}
]
43 changes: 43 additions & 0 deletions sdk/abi/Packer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[
{
"inputs": [
{
"components": [
{
"internalType": "uint8",
"name": "parent",
"type": "uint8"
},
{
"internalType": "enum ParameterType",
"name": "paramType",
"type": "ParameterType"
},
{
"internalType": "enum Operator",
"name": "operator",
"type": "Operator"
},
{
"internalType": "bytes",
"name": "compValue",
"type": "bytes"
}
],
"internalType": "struct ConditionFlat[]",
"name": "conditionsFlat",
"type": "tuple[]"
}
],
"name": "pack",
"outputs": [
{
"internalType": "bytes",
"name": "buffer",
"type": "bytes"
}
],
"stateMutability": "pure",
"type": "function"
}
]
Loading

0 comments on commit 614b50e

Please sign in to comment.