Skip to content

Commit

Permalink
remove initialized functions as it's not part of any ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Nov 15, 2022
1 parent b5fd806 commit b47e10c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/factory/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,8 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
],
[KnownContracts.OPTIMISTIC_GOVERNOR]: [
`function setUp(bytes memory initParams) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.TELLOR]: [
`function setUp(bytes memory initParams) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.TELLOR]: [`function setUp(bytes memory initParams) public`],
[KnownContracts.REALITY_ETH]: [
`function setArbitrator(address arbitrator) public`,
`function setQuestionTimeout(uint32 timeout) public`,
Expand All @@ -107,7 +103,6 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
`function setTemplate(bytes32 template) public`,
`function setAnswerExpiration(uint32 expiration) public`,
`function setUp(bytes memory initParams) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.REALITY_ERC20]: [
`function setArbitrator(address arbitrator) public`,
Expand All @@ -117,14 +112,12 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
`function setTemplate(bytes32 template) public`,
`function setAnswerExpiration(uint32 expiration) public`,
`function setUp(bytes memory initParams) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.BRIDGE]: [
`function setAmb(address _amb) public`,
`function setChainId(bytes32 _chainId) public`,
`function setOwner(address _owner) public`,
`function setUp(bytes memory initParams) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.DELAY]: [
`function setTxCooldown(uint256 cooldown) public`,
Expand All @@ -140,7 +133,6 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
address[] memory array,
address next
)`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.EXIT_ERC20]: [
`function setUp(bytes memory initParams) public`,
Expand All @@ -149,7 +141,6 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
`function removeFromDenylist(address[] calldata tokens) external `,
`function setDesignatedToken(address _token) public`,
`function getCirculatingSupply() public view returns (uint256)`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.EXIT_ERC721]: [
`function setUp(bytes memory initParams) public`,
Expand All @@ -158,7 +149,6 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
`function removeFromDenylist(address[] calldata tokens) external `,
`function setDesignatedToken(address _token) public`,
`function getCirculatingSupply() public view returns (uint256)`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.SCOPE_GUARD]: [
`function setUp(bytes memory initParams) public`,
Expand Down Expand Up @@ -186,7 +176,6 @@ export const CONTRACT_ABIS: Record<KnownContracts, string[]> = {
`function allowDelegateCall(address target) public`,
`function disallowTarget(address target) public`,
`function allowTarget(address target) public`,
`function initialized() public view returns (bool)`,
],
[KnownContracts.FACTORY]: [
`function deployModule(
Expand Down

0 comments on commit b47e10c

Please sign in to comment.