Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
chore(contracts): prepack
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Jul 11, 2023
1 parent 3074844 commit 4beb261
Show file tree
Hide file tree
Showing 4 changed files with 815 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
[
{
"inputs": [
{
"internalType": "contract IAuthorityFactory",
"name": "_authorityFactory",
"type": "address"
},
{
"internalType": "contract IHistoryFactory",
"name": "_historyFactory",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "contract IAuthorityFactory",
"name": "authorityFactory",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IHistoryFactory",
"name": "historyFactory",
"type": "address"
}
],
"name": "AuthorityHistoryPairFactoryCreated",
"type": "event"
},
{
"inputs": [
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_salt",
"type": "bytes32"
}
],
"name": "calculateAuthorityHistoryAddressPair",
"outputs": [
{
"internalType": "address",
"name": "authorityAddress_",
"type": "address"
},
{
"internalType": "address",
"name": "historyAddress_",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAuthorityFactory",
"outputs": [
{
"internalType": "contract IAuthorityFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getHistoryFactory",
"outputs": [
{
"internalType": "contract IHistoryFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_authorityOwner",
"type": "address"
},
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_salt",
"type": "bytes32"
}
],
"name": "newAuthorityHistoryPair",
"outputs": [
{
"internalType": "contract Authority",
"name": "authority_",
"type": "address"
},
{
"internalType": "contract History",
"name": "history_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_authorityOwner",
"type": "address"
},
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
}
],
"name": "newAuthorityHistoryPair",
"outputs": [
{
"internalType": "contract Authority",
"name": "authority_",
"type": "address"
},
{
"internalType": "contract History",
"name": "history_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "contract IAuthorityFactory",
"name": "authorityFactory",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IHistoryFactory",
"name": "historyFactory",
"type": "address"
}
],
"name": "AuthorityHistoryPairFactoryCreated",
"type": "event"
},
{
"inputs": [
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_salt",
"type": "bytes32"
}
],
"name": "calculateAuthorityHistoryAddressPair",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAuthorityFactory",
"outputs": [
{
"internalType": "contract IAuthorityFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getHistoryFactory",
"outputs": [
{
"internalType": "contract IHistoryFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_authorityOwner",
"type": "address"
},
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_salt",
"type": "bytes32"
}
],
"name": "newAuthorityHistoryPair",
"outputs": [
{
"internalType": "contract Authority",
"name": "",
"type": "address"
},
{
"internalType": "contract History",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_authorityOwner",
"type": "address"
},
{
"internalType": "contract IInputBox",
"name": "_inputBox",
"type": "address"
}
],
"name": "newAuthorityHistoryPair",
"outputs": [
{
"internalType": "contract Authority",
"name": "",
"type": "address"
},
{
"internalType": "contract History",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading

0 comments on commit 4beb261

Please sign in to comment.