@cartesi/devnet 1.8.0 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/anvil_state.json +1 -1
- package/deployments/localhost/ApplicationFactory.json +227 -0
- package/deployments/localhost/AuthorityFactory.json +55 -44
- package/deployments/localhost/ERC1155BatchPortal.json +26 -26
- package/deployments/localhost/ERC1155SinglePortal.json +25 -25
- package/deployments/localhost/ERC20Portal.json +35 -23
- package/deployments/localhost/ERC721Portal.json +23 -23
- package/deployments/localhost/EtherPortal.json +21 -21
- package/deployments/localhost/InputBox.json +64 -58
- package/deployments/localhost/QuorumFactory.json +188 -0
- package/deployments/localhost/SafeERC20Transfer.json +118 -0
- package/deployments/localhost/SelfHostedApplicationFactory.json +71 -70
- package/deployments/localhost/TestMultiToken.json +7 -7
- package/deployments/localhost/TestNFT.json +7 -7
- package/deployments/localhost/TestToken.json +10 -10
- package/export/abi/localhost.json +231 -599
- package/package.json +9 -9
- package/deployments/localhost/AuthorityHistoryPairFactory.json +0 -276
- package/deployments/localhost/Bitmask.json +0 -44
- package/deployments/localhost/CartesiDAppFactory.json +0 -231
- package/deployments/localhost/CartesiMathV2.json +0 -213
- package/deployments/localhost/DAppAddressRelay.json +0 -102
- package/deployments/localhost/HistoryFactory.json +0 -177
- package/deployments/localhost/MerkleV2.json +0 -217
- package/deployments/localhost/UnrolledCordic.json +0 -54
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0xB634F716BEd5Dd5A2b9a91C92474C499e50Cb27D",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"internalType": "uint256",
|
|
8
|
-
"name": "_num",
|
|
9
|
-
"type": "uint256"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"name": "clz",
|
|
13
|
-
"outputs": [
|
|
14
|
-
{
|
|
15
|
-
"internalType": "uint256",
|
|
16
|
-
"name": "",
|
|
17
|
-
"type": "uint256"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"stateMutability": "pure",
|
|
21
|
-
"type": "function"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"inputs": [
|
|
25
|
-
{
|
|
26
|
-
"internalType": "uint256",
|
|
27
|
-
"name": "_num",
|
|
28
|
-
"type": "uint256"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"name": "ctz",
|
|
32
|
-
"outputs": [
|
|
33
|
-
{
|
|
34
|
-
"internalType": "uint256",
|
|
35
|
-
"name": "",
|
|
36
|
-
"type": "uint256"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"stateMutability": "pure",
|
|
40
|
-
"type": "function"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"inputs": [
|
|
44
|
-
{
|
|
45
|
-
"internalType": "uint256",
|
|
46
|
-
"name": "_num",
|
|
47
|
-
"type": "uint256"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"name": "getLog2Floor",
|
|
51
|
-
"outputs": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint8",
|
|
54
|
-
"name": "",
|
|
55
|
-
"type": "uint8"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"stateMutability": "pure",
|
|
59
|
-
"type": "function"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [
|
|
63
|
-
{
|
|
64
|
-
"internalType": "uint256",
|
|
65
|
-
"name": "_num",
|
|
66
|
-
"type": "uint256"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"name": "getLog2TableTimes1M",
|
|
70
|
-
"outputs": [
|
|
71
|
-
{
|
|
72
|
-
"internalType": "uint256",
|
|
73
|
-
"name": "",
|
|
74
|
-
"type": "uint256"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"stateMutability": "pure",
|
|
78
|
-
"type": "function"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"inputs": [
|
|
82
|
-
{
|
|
83
|
-
"internalType": "uint256",
|
|
84
|
-
"name": "_num",
|
|
85
|
-
"type": "uint256"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"name": "isPowerOf2",
|
|
89
|
-
"outputs": [
|
|
90
|
-
{
|
|
91
|
-
"internalType": "bool",
|
|
92
|
-
"name": "",
|
|
93
|
-
"type": "bool"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"stateMutability": "pure",
|
|
97
|
-
"type": "function"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"inputs": [
|
|
101
|
-
{
|
|
102
|
-
"internalType": "uint256",
|
|
103
|
-
"name": "_num",
|
|
104
|
-
"type": "uint256"
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
"name": "log2ApproxTimes1M",
|
|
108
|
-
"outputs": [
|
|
109
|
-
{
|
|
110
|
-
"internalType": "uint256",
|
|
111
|
-
"name": "",
|
|
112
|
-
"type": "uint256"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"stateMutability": "pure",
|
|
116
|
-
"type": "function"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"transactionHash": "0x9e68c669a60072106e300304902f34895ec3a70249ba0ee1df57989de628d685",
|
|
120
|
-
"receipt": {
|
|
121
|
-
"to": "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
|
|
122
|
-
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
|
|
123
|
-
"contractAddress": null,
|
|
124
|
-
"transactionIndex": 0,
|
|
125
|
-
"gasUsed": "490151",
|
|
126
|
-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
127
|
-
"blockHash": "0xd17f46d501f151553b52480ecf3ad9251fd954de6331800bbe11a2b0cdb26bc2",
|
|
128
|
-
"transactionHash": "0x9e68c669a60072106e300304902f34895ec3a70249ba0ee1df57989de628d685",
|
|
129
|
-
"logs": [],
|
|
130
|
-
"blockNumber": 4,
|
|
131
|
-
"cumulativeGasUsed": "490151",
|
|
132
|
-
"status": 1,
|
|
133
|
-
"byzantium": true
|
|
134
|
-
},
|
|
135
|
-
"args": [],
|
|
136
|
-
"numDeployments": 1,
|
|
137
|
-
"bytecode": "0x6107e261003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806306c8e54b14610071578063296e7af81461009b57806330244f7a146100bc57806332ef283b146100cf578063d82ae4b1146100e2578063e3581b6814610105575b600080fd5b61008461007f366004610568565b610118565b60405160ff90911681526020015b60405180910390f35b6100ae6100a9366004610568565b610189565b604051908152602001610092565b6100ae6100ca366004610568565b6102b5565b6100ae6100dd366004610568565b6103f5565b6100f56100f0366004610568565b6104a6565b6040519015158152602001610092565b6100ae610113366004610568565b6104cc565b60008160000361016f5760405162461bcd60e51b815260206004820152601860248201527f6c6f67206f66207a65726f20697320756e646566696e6564000000000000000060448201526064015b60405180910390fd5b610178826102b5565b6101839060ff610597565b92915050565b60008160000361019c5750610100919050565b6000826fffffffffffffffffffffffffffffffff166000036101cd576101c38160806105aa565b9050608083901c92505b8267ffffffffffffffff166000036101f4576101ea8160406105aa565b9050604083901c92505b8263ffffffff166000036102175761020d8160206105aa565b9050602083901c92505b8261ffff166000036102385761022e8160106105aa565b9050601083901c92505b8260ff166000036102585761024e8160086105aa565b9050600883901c92505b82600f166000036102785761026e8160046105aa565b9050600483901c92505b826003166000036102985761028e8160026105aa565b9050600283901c92505b82600116600003610183576102ae8160016105aa565b9392505050565b6000816000036102c85750610100919050565b6000826fffffffffffffffffffffffffffffffff19166000036102fa576102f08160806105aa565b9050608083901b92505b826001600160c01b031916600003610321576103178160406105aa565b9050604083901b92505b826001600160e01b0319166000036103485761033e8160206105aa565b9050602083901b92505b826001600160f01b03191660000361036f576103658160106105aa565b9050601083901b92505b826001600160f81b0319166000036103965761038c8160086105aa565b9050600883901b92505b82600f60fc1b166000036103b9576103af8160046105aa565b9050600483901b92505b82600360fe1b166000036103dc576103d28160026105aa565b9050600283901b92505b82600160ff1b16600003610183576102ae8160016105aa565b600080805b60038160ff16101561049c576000604051806101a00160405280610180815260200161062d610180913960ff8316610433600188610597565b61043e9060036105bd565b61044891906105aa565b81518110610458576104586105d4565b01602001516001600160f81b03191690506104748260086105ea565b60ff16816001600160e81b031916901c831792505080806104949061060d565b9150506103fa565b5060e81c92915050565b6000816000036104b857506000919050565b6104c3600183610597565b90911615919050565b60008082116105155760405162461bcd60e51b81526020600482015260156024820152744e756d6265722063616e6e6f74206265207a65726f60581b6044820152606401610166565b6000826001036105285750600092915050565b608083111561054857600192831c9261054190826105aa565b9050610528565b610551836103f5565b61055e620f4240836105bd565b6102ae91906105aa565b60006020828403121561057a57600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561018357610183610581565b8082018082111561018357610183610581565b808202811582820484141761018357610183610581565b634e487b7160e01b600052603260045260246000fd5b60ff818116838216029081169081811461060657610606610581565b5092915050565b600060ff821660ff810361062357610623610581565b6001019291505056fe0000000f4240182f421e8480236e082771822ad63a2dc6c0305e8532b04834c96736b3c23876d73a187a3b9d4a3d09003e5ea63fa0c540d17741f28843057d440ba745062945f60246dc1047b917488dc7495aba4a207c4adf8a4b98544c4b404cf8aa4da0e64e44434ee3054f7d6d5013b750a61a5134c851bff05247bd52cc58534de753cc8d54486954c19c55384255ac75561e50568de956fb575766b057d00758376f589cfa5900ba5962bc59c3135a21ca5a7ef15ada945b34bf5b8d805be4df5c3aea5c8fa95ce3265d356c5d86835dd6735e25455e73005ebfad5f0b525f55f75f9fa25fe85a60302460770860bd0a61023061467f6189fd61ccae620e98624fbf62902762cfd5630ecd634d12638aa963c7966403dc643f7f647a8264b4e864eeb56527ec6560906598a365d029660724663d9766738566a8f066ddda6712476746386779af67acaf67df3a6811526842fa68743268a4fc68d55c6905536934e169640a6992cf69c13169ef326a1cd46a4a186a76ff6aa38c6acfc0a26469706673582212201ecec337bf7d70d1c6fbf67bfe6ec479ae3ee824b29f7aae05f18fc4ddc31cfd64736f6c63430008140033",
|
|
138
|
-
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806306c8e54b14610071578063296e7af81461009b57806330244f7a146100bc57806332ef283b146100cf578063d82ae4b1146100e2578063e3581b6814610105575b600080fd5b61008461007f366004610568565b610118565b60405160ff90911681526020015b60405180910390f35b6100ae6100a9366004610568565b610189565b604051908152602001610092565b6100ae6100ca366004610568565b6102b5565b6100ae6100dd366004610568565b6103f5565b6100f56100f0366004610568565b6104a6565b6040519015158152602001610092565b6100ae610113366004610568565b6104cc565b60008160000361016f5760405162461bcd60e51b815260206004820152601860248201527f6c6f67206f66207a65726f20697320756e646566696e6564000000000000000060448201526064015b60405180910390fd5b610178826102b5565b6101839060ff610597565b92915050565b60008160000361019c5750610100919050565b6000826fffffffffffffffffffffffffffffffff166000036101cd576101c38160806105aa565b9050608083901c92505b8267ffffffffffffffff166000036101f4576101ea8160406105aa565b9050604083901c92505b8263ffffffff166000036102175761020d8160206105aa565b9050602083901c92505b8261ffff166000036102385761022e8160106105aa565b9050601083901c92505b8260ff166000036102585761024e8160086105aa565b9050600883901c92505b82600f166000036102785761026e8160046105aa565b9050600483901c92505b826003166000036102985761028e8160026105aa565b9050600283901c92505b82600116600003610183576102ae8160016105aa565b9392505050565b6000816000036102c85750610100919050565b6000826fffffffffffffffffffffffffffffffff19166000036102fa576102f08160806105aa565b9050608083901b92505b826001600160c01b031916600003610321576103178160406105aa565b9050604083901b92505b826001600160e01b0319166000036103485761033e8160206105aa565b9050602083901b92505b826001600160f01b03191660000361036f576103658160106105aa565b9050601083901b92505b826001600160f81b0319166000036103965761038c8160086105aa565b9050600883901b92505b82600f60fc1b166000036103b9576103af8160046105aa565b9050600483901b92505b82600360fe1b166000036103dc576103d28160026105aa565b9050600283901b92505b82600160ff1b16600003610183576102ae8160016105aa565b600080805b60038160ff16101561049c576000604051806101a00160405280610180815260200161062d610180913960ff8316610433600188610597565b61043e9060036105bd565b61044891906105aa565b81518110610458576104586105d4565b01602001516001600160f81b03191690506104748260086105ea565b60ff16816001600160e81b031916901c831792505080806104949061060d565b9150506103fa565b5060e81c92915050565b6000816000036104b857506000919050565b6104c3600183610597565b90911615919050565b60008082116105155760405162461bcd60e51b81526020600482015260156024820152744e756d6265722063616e6e6f74206265207a65726f60581b6044820152606401610166565b6000826001036105285750600092915050565b608083111561054857600192831c9261054190826105aa565b9050610528565b610551836103f5565b61055e620f4240836105bd565b6102ae91906105aa565b60006020828403121561057a57600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561018357610183610581565b8082018082111561018357610183610581565b808202811582820484141761018357610183610581565b634e487b7160e01b600052603260045260246000fd5b60ff818116838216029081169081811461060657610606610581565b5092915050565b600060ff821660ff810361062357610623610581565b6001019291505056fe0000000f4240182f421e8480236e082771822ad63a2dc6c0305e8532b04834c96736b3c23876d73a187a3b9d4a3d09003e5ea63fa0c540d17741f28843057d440ba745062945f60246dc1047b917488dc7495aba4a207c4adf8a4b98544c4b404cf8aa4da0e64e44434ee3054f7d6d5013b750a61a5134c851bff05247bd52cc58534de753cc8d54486954c19c55384255ac75561e50568de956fb575766b057d00758376f589cfa5900ba5962bc59c3135a21ca5a7ef15ada945b34bf5b8d805be4df5c3aea5c8fa95ce3265d356c5d86835dd6735e25455e73005ebfad5f0b525f55f75f9fa25fe85a60302460770860bd0a61023061467f6189fd61ccae620e98624fbf62902762cfd5630ecd634d12638aa963c7966403dc643f7f647a8264b4e864eeb56527ec6560906598a365d029660724663d9766738566a8f066ddda6712476746386779af67acaf67df3a6811526842fa68743268a4fc68d55c6905536934e169640a6992cf69c13169ef326a1cd46a4a186a76ff6aa38c6acfc0a26469706673582212201ecec337bf7d70d1c6fbf67bfe6ec479ae3ee824b29f7aae05f18fc4ddc31cfd64736f6c63430008140033",
|
|
139
|
-
"devdoc": {
|
|
140
|
-
"kind": "dev",
|
|
141
|
-
"methods": {
|
|
142
|
-
"clz(uint256)": {
|
|
143
|
-
"details": "this a binary search implementation",
|
|
144
|
-
"params": {
|
|
145
|
-
"_num": "number you want the clz of"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"ctz(uint256)": {
|
|
149
|
-
"details": "this a binary search implementation",
|
|
150
|
-
"params": {
|
|
151
|
-
"_num": "number you want the ctz of"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"getLog2Floor(uint256)": {
|
|
155
|
-
"params": {
|
|
156
|
-
"_num": "number to take floor(log2) of"
|
|
157
|
-
},
|
|
158
|
-
"returns": {
|
|
159
|
-
"_0": "floor(log2) of _num"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"getLog2TableTimes1M(uint256)": {
|
|
163
|
-
"params": {
|
|
164
|
-
"_num": "number to take log2 of"
|
|
165
|
-
},
|
|
166
|
-
"returns": {
|
|
167
|
-
"_0": "result after table look-up"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"isPowerOf2(uint256)": {
|
|
171
|
-
"params": {
|
|
172
|
-
"_num": "number to check"
|
|
173
|
-
},
|
|
174
|
-
"returns": {
|
|
175
|
-
"_0": "true if number is power of 2, false if not"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"log2ApproxTimes1M(uint256)": {
|
|
179
|
-
"params": {
|
|
180
|
-
"_num": "number to take log2 * 1M of"
|
|
181
|
-
},
|
|
182
|
-
"returns": {
|
|
183
|
-
"_0": "approximate log2 times 1M"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"version": 1
|
|
188
|
-
},
|
|
189
|
-
"userdoc": {
|
|
190
|
-
"kind": "user",
|
|
191
|
-
"methods": {
|
|
192
|
-
"clz(uint256)": {
|
|
193
|
-
"notice": "count leading zeros"
|
|
194
|
-
},
|
|
195
|
-
"ctz(uint256)": {
|
|
196
|
-
"notice": "count trailing zeros"
|
|
197
|
-
},
|
|
198
|
-
"getLog2Floor(uint256)": {
|
|
199
|
-
"notice": "get floor of log2 of number"
|
|
200
|
-
},
|
|
201
|
-
"getLog2TableTimes1M(uint256)": {
|
|
202
|
-
"notice": "navigates log2tableTimes1M"
|
|
203
|
-
},
|
|
204
|
-
"isPowerOf2(uint256)": {
|
|
205
|
-
"notice": "checks if a number is Power of 2"
|
|
206
|
-
},
|
|
207
|
-
"log2ApproxTimes1M(uint256)": {
|
|
208
|
-
"notice": "Approximates log2 * 1M"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"version": 1
|
|
212
|
-
}
|
|
213
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0xF5DE34d6BbC0446E2a45719E718efEbaaE179daE",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"internalType": "contract IInputBox",
|
|
8
|
-
"name": "_inputBox",
|
|
9
|
-
"type": "address"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"stateMutability": "nonpayable",
|
|
13
|
-
"type": "constructor"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"inputs": [],
|
|
17
|
-
"name": "getInputBox",
|
|
18
|
-
"outputs": [
|
|
19
|
-
{
|
|
20
|
-
"internalType": "contract IInputBox",
|
|
21
|
-
"name": "",
|
|
22
|
-
"type": "address"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"stateMutability": "view",
|
|
26
|
-
"type": "function"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"inputs": [
|
|
30
|
-
{
|
|
31
|
-
"internalType": "address",
|
|
32
|
-
"name": "_dapp",
|
|
33
|
-
"type": "address"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"name": "relayDAppAddress",
|
|
37
|
-
"outputs": [],
|
|
38
|
-
"stateMutability": "nonpayable",
|
|
39
|
-
"type": "function"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"transactionHash": "0x4d2afa68b7c756874449e4730c32b6fca5eefe1572d1d184365b302d6aa38306",
|
|
43
|
-
"receipt": {
|
|
44
|
-
"to": "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
|
|
45
|
-
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
|
|
46
|
-
"contractAddress": null,
|
|
47
|
-
"transactionIndex": 0,
|
|
48
|
-
"gasUsed": "175472",
|
|
49
|
-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
50
|
-
"blockHash": "0x6e32d1c95d9f09cf0059de570e4b5950054787360539108db2032e1bec9b62d6",
|
|
51
|
-
"transactionHash": "0x4d2afa68b7c756874449e4730c32b6fca5eefe1572d1d184365b302d6aa38306",
|
|
52
|
-
"logs": [],
|
|
53
|
-
"blockNumber": 13,
|
|
54
|
-
"cumulativeGasUsed": "175472",
|
|
55
|
-
"status": 1,
|
|
56
|
-
"byzantium": true
|
|
57
|
-
},
|
|
58
|
-
"args": [
|
|
59
|
-
"0x59b22D57D4f067708AB0c00552767405926dc768"
|
|
60
|
-
],
|
|
61
|
-
"numDeployments": 1,
|
|
62
|
-
"bytecode": "0x60a060405234801561001057600080fd5b506040516102bc3803806102bc83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161022c61009060003960008181603c015260c8015261022c6000f3fe608060405234801561001057600080fd5b50600436106100355760003560e01c8062aace9a1461003a5780633016f49e14610077575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b61008a61008536600461014f565b61008c565b005b60408051606083901b6bffffffffffffffffffffffff19166020820152815180820360140181526034820192839052631789cd6360e01b9092527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631789cd6390610107908590859060380161017f565b6020604051808303816000875af1158015610126573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014a91906101dd565b505050565b60006020828403121561016157600080fd5b81356001600160a01b038116811461017857600080fd5b9392505050565b60018060a01b038316815260006020604081840152835180604085015260005b818110156101bb5785810183015185820160600152820161019f565b506000606082860101526060601f19601f830116850101925050509392505050565b6000602082840312156101ef57600080fd5b505191905056fea264697066735822122069e730f7a2a395fe8a69c595a0c196f1b1dfb520ea883a704bd8cac077623cce64736f6c63430008130033",
|
|
63
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100355760003560e01c8062aace9a1461003a5780633016f49e14610077575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b61008a61008536600461014f565b61008c565b005b60408051606083901b6bffffffffffffffffffffffff19166020820152815180820360140181526034820192839052631789cd6360e01b9092527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631789cd6390610107908590859060380161017f565b6020604051808303816000875af1158015610126573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014a91906101dd565b505050565b60006020828403121561016157600080fd5b81356001600160a01b038116811461017857600080fd5b9392505050565b60018060a01b038316815260006020604081840152835180604085015260005b818110156101bb5785810183015185820160600152820161019f565b506000606082860101526060601f19601f830116850101925050509392505050565b6000602082840312156101ef57600080fd5b505191905056fea264697066735822122069e730f7a2a395fe8a69c595a0c196f1b1dfb520ea883a704bd8cac077623cce64736f6c63430008130033",
|
|
64
|
-
"devdoc": {
|
|
65
|
-
"kind": "dev",
|
|
66
|
-
"methods": {
|
|
67
|
-
"constructor": {
|
|
68
|
-
"params": {
|
|
69
|
-
"_inputBox": "The input box used by the relay"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"getInputBox()": {
|
|
73
|
-
"returns": {
|
|
74
|
-
"_0": "The input box"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"relayDAppAddress(address)": {
|
|
78
|
-
"params": {
|
|
79
|
-
"_dapp": "The address of the DApp"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"title": "DApp Address Relay",
|
|
84
|
-
"version": 1
|
|
85
|
-
},
|
|
86
|
-
"userdoc": {
|
|
87
|
-
"kind": "user",
|
|
88
|
-
"methods": {
|
|
89
|
-
"constructor": {
|
|
90
|
-
"notice": "Constructs the relay."
|
|
91
|
-
},
|
|
92
|
-
"getInputBox()": {
|
|
93
|
-
"notice": "Get the input box used by this input relay."
|
|
94
|
-
},
|
|
95
|
-
"relayDAppAddress(address)": {
|
|
96
|
-
"notice": "Add an input to a DApp's input box with its address."
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"notice": "This contract allows anyone to inform the off-chain machine of the address of the DApp contract in a trustless and permissionless way.",
|
|
100
|
-
"version": 1
|
|
101
|
-
}
|
|
102
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0x1f158b5320BBf677FdA89F9a438df99BbE560A26",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"anonymous": false,
|
|
6
|
-
"inputs": [
|
|
7
|
-
{
|
|
8
|
-
"indexed": false,
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "historyOwner",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"indexed": false,
|
|
15
|
-
"internalType": "contract History",
|
|
16
|
-
"name": "history",
|
|
17
|
-
"type": "address"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "HistoryCreated",
|
|
21
|
-
"type": "event"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"inputs": [
|
|
25
|
-
{
|
|
26
|
-
"internalType": "address",
|
|
27
|
-
"name": "_historyOwner",
|
|
28
|
-
"type": "address"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"internalType": "bytes32",
|
|
32
|
-
"name": "_salt",
|
|
33
|
-
"type": "bytes32"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"name": "calculateHistoryAddress",
|
|
37
|
-
"outputs": [
|
|
38
|
-
{
|
|
39
|
-
"internalType": "address",
|
|
40
|
-
"name": "",
|
|
41
|
-
"type": "address"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"stateMutability": "view",
|
|
45
|
-
"type": "function"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"inputs": [
|
|
49
|
-
{
|
|
50
|
-
"internalType": "address",
|
|
51
|
-
"name": "_historyOwner",
|
|
52
|
-
"type": "address"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"internalType": "bytes32",
|
|
56
|
-
"name": "_salt",
|
|
57
|
-
"type": "bytes32"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"name": "newHistory",
|
|
61
|
-
"outputs": [
|
|
62
|
-
{
|
|
63
|
-
"internalType": "contract History",
|
|
64
|
-
"name": "",
|
|
65
|
-
"type": "address"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"stateMutability": "nonpayable",
|
|
69
|
-
"type": "function"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"inputs": [
|
|
73
|
-
{
|
|
74
|
-
"internalType": "address",
|
|
75
|
-
"name": "_historyOwner",
|
|
76
|
-
"type": "address"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"name": "newHistory",
|
|
80
|
-
"outputs": [
|
|
81
|
-
{
|
|
82
|
-
"internalType": "contract History",
|
|
83
|
-
"name": "",
|
|
84
|
-
"type": "address"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"stateMutability": "nonpayable",
|
|
88
|
-
"type": "function"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"transactionHash": "0xf473c72ccd6ea325faf8b1c6d8d294dc0032e9cbbbbf2e58f8c848252b8849c9",
|
|
92
|
-
"receipt": {
|
|
93
|
-
"to": "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
|
|
94
|
-
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
|
|
95
|
-
"contractAddress": null,
|
|
96
|
-
"transactionIndex": 0,
|
|
97
|
-
"gasUsed": "741828",
|
|
98
|
-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
99
|
-
"blockHash": "0xe00f92c3279d27aae2a62bc3bcb99e8be70cab5f850708603139678af97307fb",
|
|
100
|
-
"transactionHash": "0xf473c72ccd6ea325faf8b1c6d8d294dc0032e9cbbbbf2e58f8c848252b8849c9",
|
|
101
|
-
"logs": [],
|
|
102
|
-
"blockNumber": 15,
|
|
103
|
-
"cumulativeGasUsed": "741828",
|
|
104
|
-
"status": 1,
|
|
105
|
-
"byzantium": true
|
|
106
|
-
},
|
|
107
|
-
"args": [],
|
|
108
|
-
"numDeployments": 1,
|
|
109
|
-
"bytecode": "0x608060405234801561001057600080fd5b50610c6f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632ab8b1151461004657806350f9c5ba1461007557806388d49a6214610088575b600080fd5b610059610054366004610289565b61009b565b6040516001600160a01b03909116815260200160405180910390f35b610059610083366004610289565b61012a565b6100596100963660046102b3565b6101a5565b60008082846040516100ac90610260565b6001600160a01b0390911681526020018190604051809103906000f59050801580156100dc573d6000803e3d6000fd5b50604080516001600160a01b038088168252831660208201529192507f5b0ee1fb14fdb4a34ba9f0dda6790b059be11d8b3a954905dbad3c025c05c9c6910160405180910390a19392505050565b600061019e826040518060200161014090610260565b601f1982820381018352601f9091011660408181526001600160a01b03881660208301520160408051601f198184030181529082905261018392916020016102fe565b6040516020818303038152906040528051906020012061022e565b9392505050565b600080826040516101b590610260565b6001600160a01b039091168152602001604051809103906000f0801580156101e1573d6000803e3d6000fd5b50604080516001600160a01b038087168252831660208201529192507f5b0ee1fb14fdb4a34ba9f0dda6790b059be11d8b3a954905dbad3c025c05c9c6910160405180910390a192915050565b600061019e8383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b61091e8061031c83390190565b80356001600160a01b038116811461028457600080fd5b919050565b6000806040838503121561029c57600080fd5b6102a58361026d565b946020939093013593505050565b6000602082840312156102c557600080fd5b61019e8261026d565b6000815160005b818110156102ef57602081850181015186830152016102d5565b50600093019283525090919050565b600061031361030d83866102ce565b846102ce565b94935050505056fe608060405234801561001057600080fd5b5060405161091e38038061091e83398101604081905261002f91610181565b61003833610057565b6001600160a01b038116331461005157610051816100a7565b506101b1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100af610125565b6001600160a01b0381166101195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61012281610057565b50565b6000546001600160a01b0316331461017f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610110565b565b60006020828403121561019357600080fd5b81516001600160a01b03811681146101aa57600080fd5b9392505050565b61075e806101c06000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638da5cb5b14610071578063d79a824014610091578063ddfdfbb0146100bf578063f2fde38b146100d2578063fc411683146100e5575b600080fd5b61006f6100f8565b005b6000546040516001600160a01b0390911681526020015b60405180910390f35b6100a461009f366004610531565b61010c565b60408051938452602084019290925290820152606001610088565b61006f6100cd366004610586565b6101bf565b61006f6100e03660046105c8565b61039a565b61006f6100f33660046105c8565b610418565b610100610429565b61010a6000610483565b565b600080808061011d858701876105ec565b6001600160a01b038816600090815260016020526040902054909150808210610159576040516387332c0160e01b815260040160405180910390fd5b506001600160a01b0396909616600090815260026020908152604080832098835297815290879020875160608101895281548082526001909201546001600160801b03808216948301859052600160801b90910416980188905297909695509350505050565b6101c7610429565b6000806101d683850185610621565b9150915080604001516001600160801b031681602001516001600160801b031611156102155760405163123974fd60e01b815260040160405180910390fd5b6001600160a01b038216600090815260016020526040902054801561028e576001600160a01b0383166000908152600260205260408120906102586001846106d5565b815260200190815260200160002060010160109054906101000a90046001600160801b0316600161028991906106ee565b610291565b60005b6001600160801b031682602001516001600160801b0316146102c65760405163118b891b60e01b815260040160405180910390fd5b6001600160a01b03831660009081526002602090815260408083208484528252918290208451815590840151918401516001600160801b03908116600160801b0292169190911760019182015561031e908290610715565b6001600160a01b03841660008181526001602090815260409182902093909355805185518152858401516001600160801b03908116948201949094528582015190931690830152907fb71880d7a0c514d48c0296b2721b0a4f9641a45117960f2ca86b5b7873c4ab2f9060600160405180910390a25050505050565b6103a2610429565b6001600160a01b03811661040c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61041581610483565b50565b610420610429565b6104158161039a565b6000546001600160a01b0316331461010a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610403565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461041557600080fd5b60008083601f8401126104fa57600080fd5b50813567ffffffffffffffff81111561051257600080fd5b60208301915083602082850101111561052a57600080fd5b9250929050565b60008060006040848603121561054657600080fd5b8335610551816104d3565b9250602084013567ffffffffffffffff81111561056d57600080fd5b610579868287016104e8565b9497909650939450505050565b6000806020838503121561059957600080fd5b823567ffffffffffffffff8111156105b057600080fd5b6105bc858286016104e8565b90969095509350505050565b6000602082840312156105da57600080fd5b81356105e5816104d3565b9392505050565b6000602082840312156105fe57600080fd5b5035919050565b80356001600160801b038116811461061c57600080fd5b919050565b600080828403608081121561063557600080fd5b8335610640816104d3565b92506060601f198201121561065457600080fd5b506040516060810181811067ffffffffffffffff8211171561068657634e487b7160e01b600052604160045260246000fd5b80604052506020840135815261069e60408501610605565b60208201526106af60608501610605565b6040820152809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156106e8576106e86106bf565b92915050565b6001600160801b0381811683821601908082111561070e5761070e6106bf565b5092915050565b808201808211156106e8576106e86106bf56fea2646970667358221220af04065c5d35d3460abc2711367000a2134970c84818233d66386f35794dfb5b64736f6c63430008130033a2646970667358221220022e94d4ec2e139486be793ccd0a8adc660dbcb526c820d52e52c49b3ca0a2c064736f6c63430008130033",
|
|
110
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80632ab8b1151461004657806350f9c5ba1461007557806388d49a6214610088575b600080fd5b610059610054366004610289565b61009b565b6040516001600160a01b03909116815260200160405180910390f35b610059610083366004610289565b61012a565b6100596100963660046102b3565b6101a5565b60008082846040516100ac90610260565b6001600160a01b0390911681526020018190604051809103906000f59050801580156100dc573d6000803e3d6000fd5b50604080516001600160a01b038088168252831660208201529192507f5b0ee1fb14fdb4a34ba9f0dda6790b059be11d8b3a954905dbad3c025c05c9c6910160405180910390a19392505050565b600061019e826040518060200161014090610260565b601f1982820381018352601f9091011660408181526001600160a01b03881660208301520160408051601f198184030181529082905261018392916020016102fe565b6040516020818303038152906040528051906020012061022e565b9392505050565b600080826040516101b590610260565b6001600160a01b039091168152602001604051809103906000f0801580156101e1573d6000803e3d6000fd5b50604080516001600160a01b038087168252831660208201529192507f5b0ee1fb14fdb4a34ba9f0dda6790b059be11d8b3a954905dbad3c025c05c9c6910160405180910390a192915050565b600061019e8383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b61091e8061031c83390190565b80356001600160a01b038116811461028457600080fd5b919050565b6000806040838503121561029c57600080fd5b6102a58361026d565b946020939093013593505050565b6000602082840312156102c557600080fd5b61019e8261026d565b6000815160005b818110156102ef57602081850181015186830152016102d5565b50600093019283525090919050565b600061031361030d83866102ce565b846102ce565b94935050505056fe608060405234801561001057600080fd5b5060405161091e38038061091e83398101604081905261002f91610181565b61003833610057565b6001600160a01b038116331461005157610051816100a7565b506101b1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100af610125565b6001600160a01b0381166101195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61012281610057565b50565b6000546001600160a01b0316331461017f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610110565b565b60006020828403121561019357600080fd5b81516001600160a01b03811681146101aa57600080fd5b9392505050565b61075e806101c06000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638da5cb5b14610071578063d79a824014610091578063ddfdfbb0146100bf578063f2fde38b146100d2578063fc411683146100e5575b600080fd5b61006f6100f8565b005b6000546040516001600160a01b0390911681526020015b60405180910390f35b6100a461009f366004610531565b61010c565b60408051938452602084019290925290820152606001610088565b61006f6100cd366004610586565b6101bf565b61006f6100e03660046105c8565b61039a565b61006f6100f33660046105c8565b610418565b610100610429565b61010a6000610483565b565b600080808061011d858701876105ec565b6001600160a01b038816600090815260016020526040902054909150808210610159576040516387332c0160e01b815260040160405180910390fd5b506001600160a01b0396909616600090815260026020908152604080832098835297815290879020875160608101895281548082526001909201546001600160801b03808216948301859052600160801b90910416980188905297909695509350505050565b6101c7610429565b6000806101d683850185610621565b9150915080604001516001600160801b031681602001516001600160801b031611156102155760405163123974fd60e01b815260040160405180910390fd5b6001600160a01b038216600090815260016020526040902054801561028e576001600160a01b0383166000908152600260205260408120906102586001846106d5565b815260200190815260200160002060010160109054906101000a90046001600160801b0316600161028991906106ee565b610291565b60005b6001600160801b031682602001516001600160801b0316146102c65760405163118b891b60e01b815260040160405180910390fd5b6001600160a01b03831660009081526002602090815260408083208484528252918290208451815590840151918401516001600160801b03908116600160801b0292169190911760019182015561031e908290610715565b6001600160a01b03841660008181526001602090815260409182902093909355805185518152858401516001600160801b03908116948201949094528582015190931690830152907fb71880d7a0c514d48c0296b2721b0a4f9641a45117960f2ca86b5b7873c4ab2f9060600160405180910390a25050505050565b6103a2610429565b6001600160a01b03811661040c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61041581610483565b50565b610420610429565b6104158161039a565b6000546001600160a01b0316331461010a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610403565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461041557600080fd5b60008083601f8401126104fa57600080fd5b50813567ffffffffffffffff81111561051257600080fd5b60208301915083602082850101111561052a57600080fd5b9250929050565b60008060006040848603121561054657600080fd5b8335610551816104d3565b9250602084013567ffffffffffffffff81111561056d57600080fd5b610579868287016104e8565b9497909650939450505050565b6000806020838503121561059957600080fd5b823567ffffffffffffffff8111156105b057600080fd5b6105bc858286016104e8565b90969095509350505050565b6000602082840312156105da57600080fd5b81356105e5816104d3565b9392505050565b6000602082840312156105fe57600080fd5b5035919050565b80356001600160801b038116811461061c57600080fd5b919050565b600080828403608081121561063557600080fd5b8335610640816104d3565b92506060601f198201121561065457600080fd5b506040516060810181811067ffffffffffffffff8211171561068657634e487b7160e01b600052604160045260246000fd5b80604052506020840135815261069e60408501610605565b60208201526106af60608501610605565b6040820152809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156106e8576106e86106bf565b92915050565b6001600160801b0381811683821601908082111561070e5761070e6106bf565b5092915050565b808201808211156106e8576106e86106bf56fea2646970667358221220af04065c5d35d3460abc2711367000a2134970c84818233d66386f35794dfb5b64736f6c63430008130033a2646970667358221220022e94d4ec2e139486be793ccd0a8adc660dbcb526c820d52e52c49b3ca0a2c064736f6c63430008130033",
|
|
111
|
-
"devdoc": {
|
|
112
|
-
"events": {
|
|
113
|
-
"HistoryCreated(address,address)": {
|
|
114
|
-
"details": "MUST be triggered on a successful call to `newHistory`.",
|
|
115
|
-
"params": {
|
|
116
|
-
"history": "The history",
|
|
117
|
-
"historyOwner": "The initial history owner"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"kind": "dev",
|
|
122
|
-
"methods": {
|
|
123
|
-
"calculateHistoryAddress(address,bytes32)": {
|
|
124
|
-
"details": "Beware that only the `newHistory` function with the `_salt` parameter is able to deterministically deploy a history.",
|
|
125
|
-
"params": {
|
|
126
|
-
"_historyOwner": "The initial history owner",
|
|
127
|
-
"_salt": "The salt used to deterministically generate the history address"
|
|
128
|
-
},
|
|
129
|
-
"returns": {
|
|
130
|
-
"_0": "The deterministic history address"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"newHistory(address)": {
|
|
134
|
-
"details": "On success, MUST emit a `HistoryCreated` event.",
|
|
135
|
-
"params": {
|
|
136
|
-
"_historyOwner": "The initial history owner"
|
|
137
|
-
},
|
|
138
|
-
"returns": {
|
|
139
|
-
"_0": "The history"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"newHistory(address,bytes32)": {
|
|
143
|
-
"details": "On success, MUST emit a `HistoryCreated` event.",
|
|
144
|
-
"params": {
|
|
145
|
-
"_historyOwner": "The initial history owner",
|
|
146
|
-
"_salt": "The salt used to deterministically generate the history address"
|
|
147
|
-
},
|
|
148
|
-
"returns": {
|
|
149
|
-
"_0": "The history"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"title": "History Factory",
|
|
154
|
-
"version": 1
|
|
155
|
-
},
|
|
156
|
-
"userdoc": {
|
|
157
|
-
"events": {
|
|
158
|
-
"HistoryCreated(address,address)": {
|
|
159
|
-
"notice": "A new history was deployed."
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"kind": "user",
|
|
163
|
-
"methods": {
|
|
164
|
-
"calculateHistoryAddress(address,bytes32)": {
|
|
165
|
-
"notice": "Calculate the address of a history to be deployed deterministically."
|
|
166
|
-
},
|
|
167
|
-
"newHistory(address)": {
|
|
168
|
-
"notice": "Deploy a new history."
|
|
169
|
-
},
|
|
170
|
-
"newHistory(address,bytes32)": {
|
|
171
|
-
"notice": "Deploy a new history deterministically."
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"notice": "Allows anyone to reliably deploy a new `History` contract.",
|
|
175
|
-
"version": 1
|
|
176
|
-
}
|
|
177
|
-
}
|