This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
815 additions
and
0 deletions.
There are no files selected for viewing
155 changes: 155 additions & 0 deletions
155
...acts/consensus/authority/AuthorityHistoryPairFactory.sol/AuthorityHistoryPairFactory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] |
139 changes: 139 additions & 0 deletions
139
...ts/consensus/authority/IAuthorityHistoryPairFactory.sol/IAuthorityHistoryPairFactory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] |
Oops, something went wrong.