|
5 | 5 | "stateMutability": "nonpayable", |
6 | 6 | "type": "constructor" |
7 | 7 | }, |
| 8 | + { |
| 9 | + "inputs": [], |
| 10 | + "name": "InvalidAddress", |
| 11 | + "type": "error" |
| 12 | + }, |
| 13 | + { |
| 14 | + "inputs": [ |
| 15 | + { |
| 16 | + "internalType": "address", |
| 17 | + "name": "owner", |
| 18 | + "type": "address" |
| 19 | + } |
| 20 | + ], |
| 21 | + "name": "OwnableInvalidOwner", |
| 22 | + "type": "error" |
| 23 | + }, |
| 24 | + { |
| 25 | + "inputs": [ |
| 26 | + { |
| 27 | + "internalType": "address", |
| 28 | + "name": "account", |
| 29 | + "type": "address" |
| 30 | + } |
| 31 | + ], |
| 32 | + "name": "OwnableUnauthorizedAccount", |
| 33 | + "type": "error" |
| 34 | + }, |
| 35 | + { |
| 36 | + "inputs": [], |
| 37 | + "name": "ReentrancyGuardReentrantCall", |
| 38 | + "type": "error" |
| 39 | + }, |
| 40 | + { |
| 41 | + "inputs": [], |
| 42 | + "name": "TransferFailed", |
| 43 | + "type": "error" |
| 44 | + }, |
| 45 | + { |
| 46 | + "inputs": [], |
| 47 | + "name": "ValidatorStakeContractNotSet", |
| 48 | + "type": "error" |
| 49 | + }, |
| 50 | + { |
| 51 | + "inputs": [], |
| 52 | + "name": "ZeroValue", |
| 53 | + "type": "error" |
| 54 | + }, |
| 55 | + { |
| 56 | + "anonymous": false, |
| 57 | + "inputs": [ |
| 58 | + { |
| 59 | + "indexed": false, |
| 60 | + "internalType": "uint256", |
| 61 | + "name": "newRate", |
| 62 | + "type": "uint256" |
| 63 | + } |
| 64 | + ], |
| 65 | + "name": "DinPerEthUpdated", |
| 66 | + "type": "event" |
| 67 | + }, |
8 | 68 | { |
9 | 69 | "anonymous": false, |
10 | 70 | "inputs": [ |
|
27 | 87 | "type": "uint256" |
28 | 88 | } |
29 | 89 | ], |
30 | | - "name": "DepositAndMint", |
| 90 | + "name": "EthDepositAndDINminted", |
31 | 91 | "type": "event" |
32 | 92 | }, |
33 | 93 | { |
34 | | - "inputs": [], |
35 | | - "name": "DIN_PER_ETH", |
36 | | - "outputs": [ |
| 94 | + "anonymous": false, |
| 95 | + "inputs": [ |
37 | 96 | { |
38 | | - "internalType": "uint256", |
39 | | - "name": "", |
40 | | - "type": "uint256" |
| 97 | + "indexed": true, |
| 98 | + "internalType": "address", |
| 99 | + "name": "previousOwner", |
| 100 | + "type": "address" |
| 101 | + }, |
| 102 | + { |
| 103 | + "indexed": true, |
| 104 | + "internalType": "address", |
| 105 | + "name": "newOwner", |
| 106 | + "type": "address" |
41 | 107 | } |
42 | 108 | ], |
43 | | - "stateMutability": "view", |
44 | | - "type": "function" |
| 109 | + "name": "OwnershipTransferred", |
| 110 | + "type": "event" |
45 | 111 | }, |
46 | 112 | { |
| 113 | + "anonymous": false, |
47 | 114 | "inputs": [ |
48 | 115 | { |
| 116 | + "indexed": true, |
49 | 117 | "internalType": "address", |
50 | | - "name": "_dinvalidatorStakeContract", |
| 118 | + "name": "slasher", |
51 | 119 | "type": "address" |
52 | 120 | } |
53 | 121 | ], |
54 | | - "name": "add_dinvalidatorStakeContract", |
55 | | - "outputs": [], |
56 | | - "stateMutability": "nonpayable", |
57 | | - "type": "function" |
| 122 | + "name": "SlasherContractAdded", |
| 123 | + "type": "event" |
58 | 124 | }, |
59 | 125 | { |
| 126 | + "anonymous": false, |
60 | 127 | "inputs": [ |
61 | 128 | { |
| 129 | + "indexed": true, |
62 | 130 | "internalType": "address", |
63 | | - "name": "_slasher_contract", |
| 131 | + "name": "slasher", |
64 | 132 | "type": "address" |
65 | 133 | } |
66 | 134 | ], |
67 | | - "name": "add_slasher_contract", |
| 135 | + "name": "SlasherContractRemoved", |
| 136 | + "type": "event" |
| 137 | + }, |
| 138 | + { |
| 139 | + "anonymous": false, |
| 140 | + "inputs": [ |
| 141 | + { |
| 142 | + "indexed": true, |
| 143 | + "internalType": "address", |
| 144 | + "name": "validatorStakeContract", |
| 145 | + "type": "address" |
| 146 | + } |
| 147 | + ], |
| 148 | + "name": "ValidatorStakeContractUpdated", |
| 149 | + "type": "event" |
| 150 | + }, |
| 151 | + { |
| 152 | + "inputs": [ |
| 153 | + { |
| 154 | + "internalType": "address", |
| 155 | + "name": "slasherContract", |
| 156 | + "type": "address" |
| 157 | + } |
| 158 | + ], |
| 159 | + "name": "addSlasherContract", |
68 | 160 | "outputs": [], |
69 | 161 | "stateMutability": "nonpayable", |
70 | 162 | "type": "function" |
|
78 | 170 | }, |
79 | 171 | { |
80 | 172 | "inputs": [], |
81 | | - "name": "dintoken", |
| 173 | + "name": "dinPerEth", |
| 174 | + "outputs": [ |
| 175 | + { |
| 176 | + "internalType": "uint256", |
| 177 | + "name": "", |
| 178 | + "type": "uint256" |
| 179 | + } |
| 180 | + ], |
| 181 | + "stateMutability": "view", |
| 182 | + "type": "function" |
| 183 | + }, |
| 184 | + { |
| 185 | + "inputs": [], |
| 186 | + "name": "dinToken", |
82 | 187 | "outputs": [ |
83 | 188 | { |
84 | 189 | "internalType": "contract DinToken", |
|
91 | 196 | }, |
92 | 197 | { |
93 | 198 | "inputs": [], |
94 | | - "name": "dinvalidatorStakeContract", |
| 199 | + "name": "dinValidatorStakeContract", |
95 | 200 | "outputs": [ |
96 | 201 | { |
97 | 202 | "internalType": "contract IDinValidatorStake", |
|
119 | 224 | "inputs": [ |
120 | 225 | { |
121 | 226 | "internalType": "address", |
122 | | - "name": "_slasher_contract", |
| 227 | + "name": "slasherContract", |
| 228 | + "type": "address" |
| 229 | + } |
| 230 | + ], |
| 231 | + "name": "removeSlasherContract", |
| 232 | + "outputs": [], |
| 233 | + "stateMutability": "nonpayable", |
| 234 | + "type": "function" |
| 235 | + }, |
| 236 | + { |
| 237 | + "inputs": [], |
| 238 | + "name": "renounceOwnership", |
| 239 | + "outputs": [], |
| 240 | + "stateMutability": "nonpayable", |
| 241 | + "type": "function" |
| 242 | + }, |
| 243 | + { |
| 244 | + "inputs": [ |
| 245 | + { |
| 246 | + "internalType": "address", |
| 247 | + "name": "newOwner", |
| 248 | + "type": "address" |
| 249 | + } |
| 250 | + ], |
| 251 | + "name": "transferOwnership", |
| 252 | + "outputs": [], |
| 253 | + "stateMutability": "nonpayable", |
| 254 | + "type": "function" |
| 255 | + }, |
| 256 | + { |
| 257 | + "inputs": [ |
| 258 | + { |
| 259 | + "internalType": "uint256", |
| 260 | + "name": "newRate", |
| 261 | + "type": "uint256" |
| 262 | + } |
| 263 | + ], |
| 264 | + "name": "updateDinPerEth", |
| 265 | + "outputs": [], |
| 266 | + "stateMutability": "nonpayable", |
| 267 | + "type": "function" |
| 268 | + }, |
| 269 | + { |
| 270 | + "inputs": [ |
| 271 | + { |
| 272 | + "internalType": "address", |
| 273 | + "name": "validatorStakeContract", |
123 | 274 | "type": "address" |
124 | 275 | } |
125 | 276 | ], |
126 | | - "name": "remove_slasher_contract", |
| 277 | + "name": "updateValidatorStakeContract", |
127 | 278 | "outputs": [], |
128 | 279 | "stateMutability": "nonpayable", |
129 | 280 | "type": "function" |
|
0 commit comments