-
Notifications
You must be signed in to change notification settings - Fork 39
/
SmartWalletCheckerCoordinator.json
117 lines (117 loc) · 21.9 KB
/
SmartWalletCheckerCoordinator.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"_format": "hh-sol-artifact-1",
"contractName": "SmartWalletCheckerCoordinator",
"sourceName": "contracts/20220420-smart-contract-wallet-checker/SmartWalletCheckerCoordinator.sol",
"abi": [
{
"inputs": [
{
"internalType": "contract IAuthorizerAdaptor",
"name": "authorizerAdaptor",
"type": "address"
},
{
"internalType": "contract IVotingEscrow",
"name": "votingEscrow",
"type": "address"
},
{
"internalType": "contract SmartWalletChecker",
"name": "smartWalletChecker",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "GOV_MULTISIG",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "firstStageActivationTime",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAuthorizer",
"outputs": [
{
"internalType": "contract ICurrentAuthorizer",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAuthorizerAdaptor",
"outputs": [
{
"internalType": "contract IAuthorizerAdaptor",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentDeploymentStage",
"outputs": [
{
"internalType": "enum SmartWalletCheckerCoordinator.DeploymentStage",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getVault",
"outputs": [
{
"internalType": "contract IVault",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "performFirstStage",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x61010060405234801561001157600080fd5b506040516114023803806114028339818101604052606081101561003457600080fd5b508051602082015160409092015160016000818155600280549495949192909160ff1916908302179055506000836001600160a01b0316638d928af86040518163ffffffff1660e01b815260040160206040518083038186803b15801561009a57600080fd5b505afa1580156100ae573d6000803e3d6000fd5b505050506040513d60208110156100c457600080fd5b50516001600160601b0319606091821b811660805294811b851660a05292831b841660c05250901b1660e05260805160601c60a05160601c60c05160601c60e05160601c6112ae610154600039806107025280610d855280610f3352806110115250806107c15280610b205280610dbc525080610463528061051452806105f25250806103b652506112ae6000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638d928af81161005b5780638d928af8146100d7578063aaabadc5146100df578063b77984e9146100e7578063e758d36b146101105761007d565b80630b8bd055146100825780631e390389146100b35780632bd46566146100cd575b600080fd5b61008a610118565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100bb610130565b60408051918252519081900360200190f35b6100d5610136565b005b61008a6103b4565b61008a6103d8565b6100ef610458565b604051808260018111156100ff57fe5b815260200191505060405180910390f35b61008a610461565b7310a19e7ee7d7f8a52822f6817de8ea18204f2e4f81565b60015481565b61013e610485565b600060025460ff16600181111561015157fe5b146101bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4669727374207374657020616c726561647920706572666f726d656400000000604482015290519081900360640190fd5b60006101c76103d8565b604080517f9be2a8840000000000000000000000000000000000000000000000000000000081526000600482018190523060248301526044820152905191925073ffffffffffffffffffffffffffffffffffffffff831691639be2a88491606480820192602092909190829003018186803b15801561024557600080fd5b505afa158015610259573d6000803e3d6000fd5b505050506040513d602081101561026f57600080fd5b50516102dc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420417574686f72697a65722061646d696e000000000000000000000000604482015290519081900360640190fd5b6102e461049e565b6102ec610ebd565b604080517fd547741f000000000000000000000000000000000000000000000000000000008152600060048201819052306024830152915173ffffffffffffffffffffffffffffffffffffffff84169263d547741f926044808201939182900301818387803b15801561035e57600080fd5b505af1158015610372573d6000803e3d6000fd5b5050426001908155600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055506103b291506111cc9050565b565b7f000000000000000000000000000000000000000000000000000000000000000090565b60006103e26103b4565b73ffffffffffffffffffffffffffffffffffffffff1663aaabadc56040518163ffffffff1660e01b815260040160206040518083038186803b15801561042757600080fd5b505afa15801561043b573d6000803e3d6000fd5b505050506040513d602081101561045157600080fd5b5051905090565b60025460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000090565b610497600260005414156101906111d3565b6002600055565b60006104a86103d8565b604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527f57f901e2000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561055a57600080fd5b505afa15801561056e573d6000803e3d6000fd5b505050506040513d602081101561058457600080fd5b5051604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527f8e5b490f000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561063857600080fd5b505afa15801561064c573d6000803e3d6000fd5b505050506040513d602081101561066257600080fd5b5051604080517f2f2ff15d00000000000000000000000000000000000000000000000000000000815260048101859052306024820152905191925073ffffffffffffffffffffffffffffffffffffffff851691632f2ff15d9160448082019260009290919082900301818387803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b505050506106fc610461565b604080517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff908116602480840191909152835180840382018152604493840185526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f57f901e20000000000000000000000000000000000000000000000000000000017815285517f4036176a0000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000008086166004830190815294820197885283519682019690965282519790941696634036176a969294606401919080838360005b8381101561082b578181015183820152602001610813565b50505050905090810190601f1680156108585780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15801561087857600080fd5b505af115801561088c573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156108d357600080fd5b81019080805160405193929190846401000000008211156108f357600080fd5b90830190602082018581111561090857600080fd5b825164010000000081118282018810171561092257600080fd5b82525081516020918201929091019080838360005b8381101561094f578181015183820152602001610937565b50505050905090810190601f16801561097c5780820380516001836020036101000a031916815260200191505b5060408181527fd547741f000000000000000000000000000000000000000000000000000000008252600482018890523060248301525173ffffffffffffffffffffffffffffffffffffffff8916955063d547741f94506044808301945060009350909182900301818387803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050604080517f2f2ff15d00000000000000000000000000000000000000000000000000000000815260048101859052306024820152905173ffffffffffffffffffffffffffffffffffffffff87169350632f2ff15d9250604480830192600092919082900301818387803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050610aa1610461565b604080516004808252602480830184526020830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8e5b490f0000000000000000000000000000000000000000000000000000000017815284517f4036176a0000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8181169583019586529382019687528551604483015285519790931696634036176a9693959493926064909201919080838360005b83811015610ba1578181015183820152602001610b89565b50505050905090810190601f168015610bce5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610bee57600080fd5b505af1158015610c02573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015610c4957600080fd5b8101908080516040519392919084640100000000821115610c6957600080fd5b908301906020820185811115610c7e57600080fd5b8251640100000000811182820188101715610c9857600080fd5b82525081516020918201929091019080838360005b83811015610cc5578181015183820152602001610cad565b50505050905090810190601f168015610cf25780820380516001836020036101000a031916815260200191505b5060408181527fd547741f000000000000000000000000000000000000000000000000000000008252600482018790523060248301525173ffffffffffffffffffffffffffffffffffffffff8916955063d547741f94506044808301945060009350909182900301818387803b158015610d6b57600080fd5b505af1158015610d7f573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637175d4f76040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2057600080fd5b505afa158015610e34573d6000803e3d6000fd5b505050506040513d6020811015610e4a57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610eb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806112536026913960400191505060405180910390fd5b505050565b6000610ec76103d8565b604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527ff191aad0000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b158015610f7957600080fd5b505afa158015610f8d573d6000803e3d6000fd5b505050506040513d6020811015610fa357600080fd5b5051604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527fa5ee4e71000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561105757600080fd5b505afa15801561106b573d6000803e3d6000fd5b505050506040513d602081101561108157600080fd5b5051604080517f2f2ff15d000000000000000000000000000000000000000000000000000000008152600481018590527310a19e7ee7d7f8a52822f6817de8ea18204f2e4f6024820152905191925073ffffffffffffffffffffffffffffffffffffffff851691632f2ff15d9160448082019260009290919082900301818387803b15801561110f57600080fd5b505af1158015611123573d6000803e3d6000fd5b5050604080517f2f2ff15d000000000000000000000000000000000000000000000000000000008152600481018590527310a19e7ee7d7f8a52822f6817de8ea18204f2e4f6024820152905173ffffffffffffffffffffffffffffffffffffffff87169350632f2ff15d9250604480830192600092919082900301818387803b1580156111af57600080fd5b505af11580156111c3573d6000803e3d6000fd5b50505050505050565b6001600055565b816111e1576111e1816111e5565b5050565b7f08c379a0000000000000000000000000000000000000000000000000000000006000908152602060045260076024526642414c23000030600a808404818106603090810160081b95839006959095019082900491820690940160101b939093010160c81b604452606490fdfe536d6172742077616c6c657420636865636b6572206e6f742073657420636f72726563746c79a26469706673582212207230a9de9455747bfa231c80daf3726bd01a05b219bb39d3058b63117cf5653e64736f6c63430007010033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638d928af81161005b5780638d928af8146100d7578063aaabadc5146100df578063b77984e9146100e7578063e758d36b146101105761007d565b80630b8bd055146100825780631e390389146100b35780632bd46566146100cd575b600080fd5b61008a610118565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100bb610130565b60408051918252519081900360200190f35b6100d5610136565b005b61008a6103b4565b61008a6103d8565b6100ef610458565b604051808260018111156100ff57fe5b815260200191505060405180910390f35b61008a610461565b7310a19e7ee7d7f8a52822f6817de8ea18204f2e4f81565b60015481565b61013e610485565b600060025460ff16600181111561015157fe5b146101bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4669727374207374657020616c726561647920706572666f726d656400000000604482015290519081900360640190fd5b60006101c76103d8565b604080517f9be2a8840000000000000000000000000000000000000000000000000000000081526000600482018190523060248301526044820152905191925073ffffffffffffffffffffffffffffffffffffffff831691639be2a88491606480820192602092909190829003018186803b15801561024557600080fd5b505afa158015610259573d6000803e3d6000fd5b505050506040513d602081101561026f57600080fd5b50516102dc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420417574686f72697a65722061646d696e000000000000000000000000604482015290519081900360640190fd5b6102e461049e565b6102ec610ebd565b604080517fd547741f000000000000000000000000000000000000000000000000000000008152600060048201819052306024830152915173ffffffffffffffffffffffffffffffffffffffff84169263d547741f926044808201939182900301818387803b15801561035e57600080fd5b505af1158015610372573d6000803e3d6000fd5b5050426001908155600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055506103b291506111cc9050565b565b7f000000000000000000000000000000000000000000000000000000000000000090565b60006103e26103b4565b73ffffffffffffffffffffffffffffffffffffffff1663aaabadc56040518163ffffffff1660e01b815260040160206040518083038186803b15801561042757600080fd5b505afa15801561043b573d6000803e3d6000fd5b505050506040513d602081101561045157600080fd5b5051905090565b60025460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000090565b610497600260005414156101906111d3565b6002600055565b60006104a86103d8565b604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527f57f901e2000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561055a57600080fd5b505afa15801561056e573d6000803e3d6000fd5b505050506040513d602081101561058457600080fd5b5051604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527f8e5b490f000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561063857600080fd5b505afa15801561064c573d6000803e3d6000fd5b505050506040513d602081101561066257600080fd5b5051604080517f2f2ff15d00000000000000000000000000000000000000000000000000000000815260048101859052306024820152905191925073ffffffffffffffffffffffffffffffffffffffff851691632f2ff15d9160448082019260009290919082900301818387803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b505050506106fc610461565b604080517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff908116602480840191909152835180840382018152604493840185526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f57f901e20000000000000000000000000000000000000000000000000000000017815285517f4036176a0000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000008086166004830190815294820197885283519682019690965282519790941696634036176a969294606401919080838360005b8381101561082b578181015183820152602001610813565b50505050905090810190601f1680156108585780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15801561087857600080fd5b505af115801561088c573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156108d357600080fd5b81019080805160405193929190846401000000008211156108f357600080fd5b90830190602082018581111561090857600080fd5b825164010000000081118282018810171561092257600080fd5b82525081516020918201929091019080838360005b8381101561094f578181015183820152602001610937565b50505050905090810190601f16801561097c5780820380516001836020036101000a031916815260200191505b5060408181527fd547741f000000000000000000000000000000000000000000000000000000008252600482018890523060248301525173ffffffffffffffffffffffffffffffffffffffff8916955063d547741f94506044808301945060009350909182900301818387803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050604080517f2f2ff15d00000000000000000000000000000000000000000000000000000000815260048101859052306024820152905173ffffffffffffffffffffffffffffffffffffffff87169350632f2ff15d9250604480830192600092919082900301818387803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050610aa1610461565b604080516004808252602480830184526020830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8e5b490f0000000000000000000000000000000000000000000000000000000017815284517f4036176a0000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8181169583019586529382019687528551604483015285519790931696634036176a9693959493926064909201919080838360005b83811015610ba1578181015183820152602001610b89565b50505050905090810190601f168015610bce5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610bee57600080fd5b505af1158015610c02573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015610c4957600080fd5b8101908080516040519392919084640100000000821115610c6957600080fd5b908301906020820185811115610c7e57600080fd5b8251640100000000811182820188101715610c9857600080fd5b82525081516020918201929091019080838360005b83811015610cc5578181015183820152602001610cad565b50505050905090810190601f168015610cf25780820380516001836020036101000a031916815260200191505b5060408181527fd547741f000000000000000000000000000000000000000000000000000000008252600482018790523060248301525173ffffffffffffffffffffffffffffffffffffffff8916955063d547741f94506044808301945060009350909182900301818387803b158015610d6b57600080fd5b505af1158015610d7f573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637175d4f76040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2057600080fd5b505afa158015610e34573d6000803e3d6000fd5b505050506040513d6020811015610e4a57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614610eb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806112536026913960400191505060405180910390fd5b505050565b6000610ec76103d8565b604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527ff191aad0000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b158015610f7957600080fd5b505afa158015610f8d573d6000803e3d6000fd5b505050506040513d6020811015610fa357600080fd5b5051604080517f851c1bb30000000000000000000000000000000000000000000000000000000081527fa5ee4e71000000000000000000000000000000000000000000000000000000006004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163851c1bb3916024808301926020929190829003018186803b15801561105757600080fd5b505afa15801561106b573d6000803e3d6000fd5b505050506040513d602081101561108157600080fd5b5051604080517f2f2ff15d000000000000000000000000000000000000000000000000000000008152600481018590527310a19e7ee7d7f8a52822f6817de8ea18204f2e4f6024820152905191925073ffffffffffffffffffffffffffffffffffffffff851691632f2ff15d9160448082019260009290919082900301818387803b15801561110f57600080fd5b505af1158015611123573d6000803e3d6000fd5b5050604080517f2f2ff15d000000000000000000000000000000000000000000000000000000008152600481018590527310a19e7ee7d7f8a52822f6817de8ea18204f2e4f6024820152905173ffffffffffffffffffffffffffffffffffffffff87169350632f2ff15d9250604480830192600092919082900301818387803b1580156111af57600080fd5b505af11580156111c3573d6000803e3d6000fd5b50505050505050565b6001600055565b816111e1576111e1816111e5565b5050565b7f08c379a0000000000000000000000000000000000000000000000000000000006000908152602060045260076024526642414c23000030600a808404818106603090810160081b95839006959095019082900491820690940160101b939093010160c81b604452606490fdfe536d6172742077616c6c657420636865636b6572206e6f742073657420636f72726563746c79a26469706673582212207230a9de9455747bfa231c80daf3726bd01a05b219bb39d3058b63117cf5653e64736f6c63430007010033",
"linkReferences": {},
"deployedLinkReferences": {}
}