@raac/rpc 1.1.0-beta.84 → 1.1.0-beta.86
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/dist/artifacts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.json +246 -0
- package/dist/configs/chains/11155111.json +25 -20
- package/dist/configs/chains/17000.json +10 -0
- package/dist/configs/chains/18453.json +10 -0
- package/dist/configs/chains/8453.json +5 -0
- package/dist/types/utils/artifacts.d.ts +113 -0
- package/dist/utils/artifacts.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "NFTRoyaltyFeeCollector",
|
|
4
|
+
"sourceName": "contracts/core/collectors/NFTRoyaltyFeeCollector.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_weth",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_feeCollector",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "InvalidAddress",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "owner",
|
|
32
|
+
"type": "address"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "OwnableInvalidOwner",
|
|
36
|
+
"type": "error"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [
|
|
40
|
+
{
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "account",
|
|
43
|
+
"type": "address"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"name": "OwnableUnauthorizedAccount",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
52
|
+
"type": "error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "address",
|
|
58
|
+
"name": "token",
|
|
59
|
+
"type": "address"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"name": "SafeERC20FailedOperation",
|
|
63
|
+
"type": "error"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"anonymous": false,
|
|
67
|
+
"inputs": [
|
|
68
|
+
{
|
|
69
|
+
"indexed": true,
|
|
70
|
+
"internalType": "address",
|
|
71
|
+
"name": "token",
|
|
72
|
+
"type": "address"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"indexed": true,
|
|
76
|
+
"internalType": "address",
|
|
77
|
+
"name": "to",
|
|
78
|
+
"type": "address"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"indexed": false,
|
|
82
|
+
"internalType": "uint256",
|
|
83
|
+
"name": "amount",
|
|
84
|
+
"type": "uint256"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"name": "EmergencyWithdrawal",
|
|
88
|
+
"type": "event"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"anonymous": false,
|
|
92
|
+
"inputs": [
|
|
93
|
+
{
|
|
94
|
+
"indexed": true,
|
|
95
|
+
"internalType": "address",
|
|
96
|
+
"name": "token",
|
|
97
|
+
"type": "address"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"indexed": false,
|
|
101
|
+
"internalType": "uint256",
|
|
102
|
+
"name": "amount",
|
|
103
|
+
"type": "uint256"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "FeeCollected",
|
|
107
|
+
"type": "event"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"anonymous": false,
|
|
111
|
+
"inputs": [
|
|
112
|
+
{
|
|
113
|
+
"indexed": true,
|
|
114
|
+
"internalType": "address",
|
|
115
|
+
"name": "previousOwner",
|
|
116
|
+
"type": "address"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"indexed": true,
|
|
120
|
+
"internalType": "address",
|
|
121
|
+
"name": "newOwner",
|
|
122
|
+
"type": "address"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "OwnershipTransferred",
|
|
126
|
+
"type": "event"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "_token",
|
|
133
|
+
"type": "address"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"name": "distributeCollectedFees",
|
|
137
|
+
"outputs": [
|
|
138
|
+
{
|
|
139
|
+
"internalType": "bool",
|
|
140
|
+
"name": "",
|
|
141
|
+
"type": "bool"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"stateMutability": "nonpayable",
|
|
145
|
+
"type": "function"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [
|
|
149
|
+
{
|
|
150
|
+
"internalType": "address",
|
|
151
|
+
"name": "_token",
|
|
152
|
+
"type": "address"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"internalType": "address",
|
|
156
|
+
"name": "recipient",
|
|
157
|
+
"type": "address"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"name": "emergencyWithdraw",
|
|
161
|
+
"outputs": [],
|
|
162
|
+
"stateMutability": "nonpayable",
|
|
163
|
+
"type": "function"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"inputs": [],
|
|
167
|
+
"name": "feeCollector",
|
|
168
|
+
"outputs": [
|
|
169
|
+
{
|
|
170
|
+
"internalType": "address",
|
|
171
|
+
"name": "",
|
|
172
|
+
"type": "address"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"stateMutability": "view",
|
|
176
|
+
"type": "function"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"inputs": [],
|
|
180
|
+
"name": "owner",
|
|
181
|
+
"outputs": [
|
|
182
|
+
{
|
|
183
|
+
"internalType": "address",
|
|
184
|
+
"name": "",
|
|
185
|
+
"type": "address"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"stateMutability": "view",
|
|
189
|
+
"type": "function"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"inputs": [],
|
|
193
|
+
"name": "renounceOwnership",
|
|
194
|
+
"outputs": [],
|
|
195
|
+
"stateMutability": "nonpayable",
|
|
196
|
+
"type": "function"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"inputs": [
|
|
200
|
+
{
|
|
201
|
+
"internalType": "address",
|
|
202
|
+
"name": "_feeCollector",
|
|
203
|
+
"type": "address"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"name": "setFeeCollector",
|
|
207
|
+
"outputs": [],
|
|
208
|
+
"stateMutability": "nonpayable",
|
|
209
|
+
"type": "function"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"inputs": [
|
|
213
|
+
{
|
|
214
|
+
"internalType": "address",
|
|
215
|
+
"name": "newOwner",
|
|
216
|
+
"type": "address"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"name": "transferOwnership",
|
|
220
|
+
"outputs": [],
|
|
221
|
+
"stateMutability": "nonpayable",
|
|
222
|
+
"type": "function"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"inputs": [],
|
|
226
|
+
"name": "weth",
|
|
227
|
+
"outputs": [
|
|
228
|
+
{
|
|
229
|
+
"internalType": "address",
|
|
230
|
+
"name": "",
|
|
231
|
+
"type": "address"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"stateMutability": "view",
|
|
235
|
+
"type": "function"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"stateMutability": "payable",
|
|
239
|
+
"type": "receive"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"bytecode": "0x60803461012757601f610a3038819003918201601f19168301916001600160401b0383118484101761012c57808492604094855283398101031261012757610052602061004b83610142565b9201610142565b33156101115760008054336001600160a01b0319821681178355604051949290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3600180556001600160a01b031680158015610100575b6100ef5760018060a01b0319600254161760025560018060a01b031660018060a01b031960035416176003556108d990816101578239f35b63e6c4247b60e01b60005260046000fd5b506001600160a01b038216156100b7565b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101275756fe6080604052600436101561001b575b361561001957600080fd5b005b6000803560e01c80625c92bf1461040b5780633fc8cef3146103e25780636382d9ad146101e3578063715018a61461019b5780638da5cb5b14610174578063a42dce801461011d578063c415b95c146100f45763f2fde38b1461007e575061000e565b346100f15760203660031901126100f1576100976106d0565b61009f6107b3565b6001600160a01b031680156100dd5781546001600160a01b03198116821783556001600160a01b03166000805160206108648339815191528380a380f35b631e4fbdf760e01b82526004829052602482fd5b80fd5b50346100f157806003193601126100f1576003546040516001600160a01b039091168152602090f35b50346100f15760203660031901126100f1576101376106d0565b61013f6107b3565b6001600160a01b0316801561016557600380546001600160a01b03191691909117905580f35b63e6c4247b60e01b8252600482fd5b50346100f157806003193601126100f157546040516001600160a01b039091168152602090f35b50346100f157806003193601126100f1576101b46107b3565b80546001600160a01b03198116825581906001600160a01b03166000805160206108648339815191528280a380f35b50346100f15760403660031901126100f1576101fd6106d0565b6024356001600160a01b038116918282036103de5761021a6107b3565b610222610776565b6001600160a01b0316908161031157504761023e8115156106e6565b8380808084875af13d1561030c573d6001600160401b0381116102f85760405190610273601f8201601f19166020018361073d565b81528560203d92013e5b156102a3576020600080516020610884833981519152915b604051908152a36001805580f35b60405162461bcd60e51b815260206004820152602760248201527f4e4654526f79616c7479466565436f6c6c6563746f723a207472616e736665726044820152660819985a5b195960ca1b6064820152608490fd5b634e487b7160e01b86526041600452602486fd5b61027d565b6040516370a0823160e01b8152306004820152602081602481865afa9081156103d357859161038e575b5060008051602061088483398151915291610389826103836020949361037560405193849263a9059cbb60e01b8985015260248401610798565b03601f19810183528261073d565b856107dc565b610295565b90506020813d6020116103cb575b816103a96020938361073d565b810103126103c6575160008051602061088483398151915261033b565b600080fd5b3d915061039c565b6040513d87823e3d90fd5b8380fd5b50346100f157806003193601126100f1576002546040516001600160a01b039091168152602090f35b50346100f15760203660031901126100f1576104256106d0565b61042d610776565b6001600160a01b03811615610669575b6040516370a0823160e01b81523060048201526001600160a01b039190911691602082602481865afa91821561065c578192610628575b508161048a575b60018055602060405160018152f35b60018060a01b036003541660405160208381830163095ea7b360e01b81526104c8846104ba898860248401610798565b03601f19810186528561073d565b83519082895af183513d8261060c575b5050156105c7575b505080602060018060a01b0360035416608460405180948193636033e31560e01b83528960048401523060248401528860448401527f1f49de3380557c514cedfeafa4b0515d7e744b9e861dd34381fe6813d97079ca60648401525af180156105bc5761056b575b5050602060008051602061084483398151915291604051908152a238808061047b565b6020813d6020116105b4575b816105846020938361073d565b810103126105b057519081151582036100f1575060209050600080516020610844833981519152610548565b5080fd5b3d9150610577565b6040513d84823e3d90fd5b6105ff610605926040519063095ea7b360e01b60208301526024820152846044820152604481526105f960648261073d565b866107dc565b846107dc565b38806104e0565b9091506106205750843b15155b38806104d8565b600114610619565b9091506020813d602011610654575b816106446020938361073d565b810103126103c657519038610474565b3d9150610637565b50604051903d90823e3d90fd5b50476106768115156106e6565b60025482906001600160a01b0316803b156105b0578190600460405180958193630d0e30db60e41b83525af1801561065c576106c0575b50506002546001600160a01b031661043d565b6106c99161073d565b38816106ad565b600435906001600160a01b03821682036103c657565b156106ed57565b60405162461bcd60e51b815260206004820152602260248201527f4e4654526f79616c7479466565436f6c6c6563746f723a206e6f2062616c616e604482015261636560f01b6064820152608490fd5b601f909101601f19168101906001600160401b0382119082101761076057604052565b634e487b7160e01b600052604160045260246000fd5b600260015414610787576002600155565b633ee5aeb560e01b60005260046000fd5b6001600160a01b039091168152602081019190915260400190565b6000546001600160a01b031633036107c757565b63118cdaa760e01b6000523360045260246000fd5b906000602091828151910182855af115610837576000513d61082e57506001600160a01b0381163b155b61080d5750565b635274afe760e01b60009081526001600160a01b0391909116600452602490fd5b60011415610806565b6040513d6000823e3d90fdfe06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09495d03190a79a43e534c9e328ff322f6283261383f5f19c809564f6ad5a57b3a26469706673582212201268317d978df24b8234926c146f092ab89370388fa47c489e618353b559773b64736f6c634300081e0033",
|
|
243
|
+
"deployedBytecode": "0x6080604052600436101561001b575b361561001957600080fd5b005b6000803560e01c80625c92bf1461040b5780633fc8cef3146103e25780636382d9ad146101e3578063715018a61461019b5780638da5cb5b14610174578063a42dce801461011d578063c415b95c146100f45763f2fde38b1461007e575061000e565b346100f15760203660031901126100f1576100976106d0565b61009f6107b3565b6001600160a01b031680156100dd5781546001600160a01b03198116821783556001600160a01b03166000805160206108648339815191528380a380f35b631e4fbdf760e01b82526004829052602482fd5b80fd5b50346100f157806003193601126100f1576003546040516001600160a01b039091168152602090f35b50346100f15760203660031901126100f1576101376106d0565b61013f6107b3565b6001600160a01b0316801561016557600380546001600160a01b03191691909117905580f35b63e6c4247b60e01b8252600482fd5b50346100f157806003193601126100f157546040516001600160a01b039091168152602090f35b50346100f157806003193601126100f1576101b46107b3565b80546001600160a01b03198116825581906001600160a01b03166000805160206108648339815191528280a380f35b50346100f15760403660031901126100f1576101fd6106d0565b6024356001600160a01b038116918282036103de5761021a6107b3565b610222610776565b6001600160a01b0316908161031157504761023e8115156106e6565b8380808084875af13d1561030c573d6001600160401b0381116102f85760405190610273601f8201601f19166020018361073d565b81528560203d92013e5b156102a3576020600080516020610884833981519152915b604051908152a36001805580f35b60405162461bcd60e51b815260206004820152602760248201527f4e4654526f79616c7479466565436f6c6c6563746f723a207472616e736665726044820152660819985a5b195960ca1b6064820152608490fd5b634e487b7160e01b86526041600452602486fd5b61027d565b6040516370a0823160e01b8152306004820152602081602481865afa9081156103d357859161038e575b5060008051602061088483398151915291610389826103836020949361037560405193849263a9059cbb60e01b8985015260248401610798565b03601f19810183528261073d565b856107dc565b610295565b90506020813d6020116103cb575b816103a96020938361073d565b810103126103c6575160008051602061088483398151915261033b565b600080fd5b3d915061039c565b6040513d87823e3d90fd5b8380fd5b50346100f157806003193601126100f1576002546040516001600160a01b039091168152602090f35b50346100f15760203660031901126100f1576104256106d0565b61042d610776565b6001600160a01b03811615610669575b6040516370a0823160e01b81523060048201526001600160a01b039190911691602082602481865afa91821561065c578192610628575b508161048a575b60018055602060405160018152f35b60018060a01b036003541660405160208381830163095ea7b360e01b81526104c8846104ba898860248401610798565b03601f19810186528561073d565b83519082895af183513d8261060c575b5050156105c7575b505080602060018060a01b0360035416608460405180948193636033e31560e01b83528960048401523060248401528860448401527f1f49de3380557c514cedfeafa4b0515d7e744b9e861dd34381fe6813d97079ca60648401525af180156105bc5761056b575b5050602060008051602061084483398151915291604051908152a238808061047b565b6020813d6020116105b4575b816105846020938361073d565b810103126105b057519081151582036100f1575060209050600080516020610844833981519152610548565b5080fd5b3d9150610577565b6040513d84823e3d90fd5b6105ff610605926040519063095ea7b360e01b60208301526024820152846044820152604481526105f960648261073d565b866107dc565b846107dc565b38806104e0565b9091506106205750843b15155b38806104d8565b600114610619565b9091506020813d602011610654575b816106446020938361073d565b810103126103c657519038610474565b3d9150610637565b50604051903d90823e3d90fd5b50476106768115156106e6565b60025482906001600160a01b0316803b156105b0578190600460405180958193630d0e30db60e41b83525af1801561065c576106c0575b50506002546001600160a01b031661043d565b6106c99161073d565b38816106ad565b600435906001600160a01b03821682036103c657565b156106ed57565b60405162461bcd60e51b815260206004820152602260248201527f4e4654526f79616c7479466565436f6c6c6563746f723a206e6f2062616c616e604482015261636560f01b6064820152608490fd5b601f909101601f19168101906001600160401b0382119082101761076057604052565b634e487b7160e01b600052604160045260246000fd5b600260015414610787576002600155565b633ee5aeb560e01b60005260046000fd5b6001600160a01b039091168152602081019190915260400190565b6000546001600160a01b031633036107c757565b63118cdaa760e01b6000523360045260246000fd5b906000602091828151910182855af115610837576000513d61082e57506001600160a01b0381163b155b61080d5750565b635274afe760e01b60009081526001600160a01b0391909116600452602490fd5b60011415610806565b6040513d6000823e3d90fdfe06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09495d03190a79a43e534c9e328ff322f6283261383f5f19c809564f6ad5a57b3a26469706673582212201268317d978df24b8234926c146f092ab89370388fa47c489e618353b559773b64736f6c634300081e0033",
|
|
244
|
+
"linkReferences": {},
|
|
245
|
+
"deployedLinkReferences": {}
|
|
246
|
+
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"raachouseprices": {
|
|
18
18
|
"id": "raachouseprices",
|
|
19
19
|
"name": "RAAC House Prices",
|
|
20
|
-
"contract": "
|
|
20
|
+
"contract": "0x96EBC781867cF33F0Fac64e44388CBF065c78e92"
|
|
21
21
|
},
|
|
22
22
|
"auctionfactory": {
|
|
23
23
|
"id": "auctionfactory",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"feecollector": {
|
|
38
38
|
"id": "feecollector",
|
|
39
39
|
"name": "Fee Collector",
|
|
40
|
-
"contract": "
|
|
40
|
+
"contract": "0xf460b2436753AEed5Df275CA33528f5C9abB579D"
|
|
41
41
|
},
|
|
42
42
|
"treasury": {
|
|
43
43
|
"id": "treasury",
|
|
44
44
|
"name": "Treasury",
|
|
45
|
-
"contract": "
|
|
45
|
+
"contract": "0xDc1FCd959881533CCFBfB572881CdC6d8a2b35E7"
|
|
46
46
|
},
|
|
47
47
|
"repairfund": {
|
|
48
48
|
"id": "repairfund",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"rwavault": {
|
|
58
58
|
"id": "rwavault",
|
|
59
59
|
"name": "RWA Vault",
|
|
60
|
-
"contract": "
|
|
60
|
+
"contract": "0xEC9e67e9b6ceD5e48b5Dd39915414e7BbDf952f2"
|
|
61
61
|
},
|
|
62
62
|
"complianceregistry": {
|
|
63
63
|
"id": "complianceregistry",
|
|
64
64
|
"name": "Compliance Registry",
|
|
65
|
-
"contract": "
|
|
65
|
+
"contract": "0x95bc6FCfB69BDbF723De06bCa1a689ad68762CC5"
|
|
66
66
|
},
|
|
67
67
|
"rwaindextokencollector": {
|
|
68
68
|
"id": "rwaindextokencollector",
|
|
69
69
|
"name": "RWA Index Token Collector",
|
|
70
|
-
"contract": "
|
|
70
|
+
"contract": "0xdbEd45218e5c040Cdf696C740937997162cFb720"
|
|
71
71
|
},
|
|
72
72
|
"raactokencollector": {
|
|
73
73
|
"id": "raactokencollector",
|
|
@@ -77,36 +77,41 @@
|
|
|
77
77
|
"raachousepriceoracle": {
|
|
78
78
|
"id": "raachousepriceoracle",
|
|
79
79
|
"name": "RAAC House Price Oracle",
|
|
80
|
-
"contract": "
|
|
80
|
+
"contract": "0x8C881051D397014E6D4ea711764E6875506d88D1"
|
|
81
81
|
},
|
|
82
82
|
"raacprimerateoracle": {
|
|
83
83
|
"id": "raacprimerateoracle",
|
|
84
84
|
"name": "RAAC Prime Rate Oracle",
|
|
85
|
-
"contract": "
|
|
85
|
+
"contract": "0x312F47A51F398C6504B31794dfCf604acF174c67"
|
|
86
86
|
},
|
|
87
87
|
"crvusdtousdoracle": {
|
|
88
88
|
"id": "crvusdtousdoracle",
|
|
89
89
|
"name": "CRVUSD to USD Oracle",
|
|
90
|
-
"contract": "
|
|
90
|
+
"contract": "0x627897baf46851500F116cec76346921C3292246"
|
|
91
|
+
},
|
|
92
|
+
"nftroyaltyfeecollector": {
|
|
93
|
+
"id": "nftroyaltyfeecollector",
|
|
94
|
+
"name": "NFT Royalty Fee Collector",
|
|
95
|
+
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
91
96
|
}
|
|
92
97
|
},
|
|
93
98
|
"pools": {
|
|
94
99
|
"stabilitypool": {
|
|
95
100
|
"id": "stabilitypool",
|
|
96
101
|
"name": "Stability Pool",
|
|
97
|
-
"contract": "
|
|
102
|
+
"contract": "0xd7663c079445A070Ef24405CD5ef1511B9d9E060"
|
|
98
103
|
},
|
|
99
104
|
"lendingpool": {
|
|
100
105
|
"id": "lendingpool",
|
|
101
106
|
"name": "Lending Pool",
|
|
102
|
-
"contract": "
|
|
107
|
+
"contract": "0xefCff23AEed94ae0f23377DFDaB78C3c868eeB33"
|
|
103
108
|
}
|
|
104
109
|
},
|
|
105
110
|
"nfts": {
|
|
106
111
|
"raacnft": {
|
|
107
112
|
"id": "raacnft",
|
|
108
113
|
"name": "RAAC NFT",
|
|
109
|
-
"contract": "
|
|
114
|
+
"contract": "0xb16453caAFF3c75e9D090793dD60C46668c1de52"
|
|
110
115
|
}
|
|
111
116
|
},
|
|
112
117
|
"assets": {
|
|
@@ -120,19 +125,19 @@
|
|
|
120
125
|
"id": "crvusd",
|
|
121
126
|
"name": "CRVUSD",
|
|
122
127
|
"decimals": 18,
|
|
123
|
-
"contract": "
|
|
128
|
+
"contract": "0x8047a14301583CAaf9e2128D5F88F9f435659d35"
|
|
124
129
|
},
|
|
125
130
|
"rtoken": {
|
|
126
131
|
"id": "rtoken",
|
|
127
132
|
"name": "RToken",
|
|
128
133
|
"decimals": 18,
|
|
129
|
-
"contract": "
|
|
134
|
+
"contract": "0xc96c34825aa96A77A4AD884e393960a70c5f1186"
|
|
130
135
|
},
|
|
131
136
|
"detoken": {
|
|
132
137
|
"id": "detoken",
|
|
133
138
|
"name": "DEToken",
|
|
134
139
|
"decimals": 18,
|
|
135
|
-
"contract": "
|
|
140
|
+
"contract": "0x5841dc06d2C9e0D2605392f669be71Bfe6d04cf7"
|
|
136
141
|
},
|
|
137
142
|
"raactoken": {
|
|
138
143
|
"id": "raactoken",
|
|
@@ -150,13 +155,13 @@
|
|
|
150
155
|
"id": "debttoken",
|
|
151
156
|
"name": "Debt Token",
|
|
152
157
|
"decimals": 18,
|
|
153
|
-
"contract": "
|
|
158
|
+
"contract": "0x98db917a623a92a8553Fe59b9f05B8c936aa1E1e"
|
|
154
159
|
},
|
|
155
160
|
"rwaindextoken": {
|
|
156
161
|
"id": "rwaindextoken",
|
|
157
162
|
"name": "RWA Index Token",
|
|
158
163
|
"decimals": 18,
|
|
159
|
-
"contract": "
|
|
164
|
+
"contract": "0x1c1789629B2511821aC78618eBd23d41E7b04989"
|
|
160
165
|
}
|
|
161
166
|
},
|
|
162
167
|
"adapters": {
|
|
@@ -164,13 +169,13 @@
|
|
|
164
169
|
"raacnftadapter": {
|
|
165
170
|
"id": "raacnftadapter",
|
|
166
171
|
"name": "RAAC NFT Adapter",
|
|
167
|
-
"contract": "
|
|
172
|
+
"contract": "0x608aD2608DAdDb633ceBe22d6Fcb7C9e660FfA65",
|
|
168
173
|
"type": "ERC721"
|
|
169
174
|
},
|
|
170
175
|
"rwaindextokenadapter": {
|
|
171
176
|
"id": "rwaindextokenadapter",
|
|
172
177
|
"name": "RWA Index Token",
|
|
173
|
-
"contract": "
|
|
178
|
+
"contract": "0x5374287a807c5513fC31bc9AECE5aC40f0e37c71",
|
|
174
179
|
"type": "ERC20"
|
|
175
180
|
}
|
|
176
181
|
},
|
|
@@ -178,7 +183,7 @@
|
|
|
178
183
|
"raacnftadapter": {
|
|
179
184
|
"id": "raacnftadapter",
|
|
180
185
|
"name": "RAAC NFT Adapter",
|
|
181
|
-
"contract": "
|
|
186
|
+
"contract": "0x531F5d54Fda86f103E297ECE796c8B799B835E0c",
|
|
182
187
|
"type": "ERC721"
|
|
183
188
|
},
|
|
184
189
|
"crvusdadapter": {
|
|
@@ -83,6 +83,16 @@
|
|
|
83
83
|
"id": "raacprimerateoracle",
|
|
84
84
|
"name": "RAAC Prime Rate Oracle",
|
|
85
85
|
"contract": "0x0000000000000000000000000000000000000000"
|
|
86
|
+
},
|
|
87
|
+
"crvusdtousdoracle": {
|
|
88
|
+
"id": "crvusdtousdoracle",
|
|
89
|
+
"name": "CRVUSD to USD Oracle",
|
|
90
|
+
"contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
|
|
91
|
+
},
|
|
92
|
+
"nftroyaltyfeecollector": {
|
|
93
|
+
"id": "nftroyaltyfeecollector",
|
|
94
|
+
"name": "NFT Royalty Fee Collector",
|
|
95
|
+
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
86
96
|
}
|
|
87
97
|
},
|
|
88
98
|
"pools": {
|
|
@@ -83,6 +83,16 @@
|
|
|
83
83
|
"id": "raacprimerateoracle",
|
|
84
84
|
"name": "RAAC Prime Rate Oracle",
|
|
85
85
|
"contract": "0x0000000000000000000000000000000000000000"
|
|
86
|
+
},
|
|
87
|
+
"crvusdtousdoracle": {
|
|
88
|
+
"id": "crvusdtousdoracle",
|
|
89
|
+
"name": "CRVUSD to USD Oracle",
|
|
90
|
+
"contract": "0x627897baf46851500F116cec76346921C3292246"
|
|
91
|
+
},
|
|
92
|
+
"nftroyaltyfeecollector": {
|
|
93
|
+
"id": "nftroyaltyfeecollector",
|
|
94
|
+
"name": "NFT Royalty Fee Collector",
|
|
95
|
+
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
86
96
|
}
|
|
87
97
|
},
|
|
88
98
|
"pools": {
|
|
@@ -88,6 +88,11 @@
|
|
|
88
88
|
"id": "crvusdtousdoracle",
|
|
89
89
|
"name": "CRVUSD to USD Oracle",
|
|
90
90
|
"contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
|
|
91
|
+
},
|
|
92
|
+
"nftroyaltyfeecollector": {
|
|
93
|
+
"id": "nftroyaltyfeecollector",
|
|
94
|
+
"name": "NFT Royalty Fee Collector",
|
|
95
|
+
"contract": "0x352b225A9f96ad9d90A1e8db4f1908943729b511"
|
|
91
96
|
}
|
|
92
97
|
},
|
|
93
98
|
"pools": {
|
|
@@ -1775,6 +1775,63 @@ declare const ABIS: {
|
|
|
1775
1775
|
type: string;
|
|
1776
1776
|
anonymous?: undefined;
|
|
1777
1777
|
})[];
|
|
1778
|
+
nftroyaltyfeecollector: ({
|
|
1779
|
+
inputs: {
|
|
1780
|
+
internalType: string;
|
|
1781
|
+
name: string;
|
|
1782
|
+
type: string;
|
|
1783
|
+
}[];
|
|
1784
|
+
stateMutability: string;
|
|
1785
|
+
type: string;
|
|
1786
|
+
name?: undefined;
|
|
1787
|
+
anonymous?: undefined;
|
|
1788
|
+
outputs?: undefined;
|
|
1789
|
+
} | {
|
|
1790
|
+
inputs: {
|
|
1791
|
+
internalType: string;
|
|
1792
|
+
name: string;
|
|
1793
|
+
type: string;
|
|
1794
|
+
}[];
|
|
1795
|
+
name: string;
|
|
1796
|
+
type: string;
|
|
1797
|
+
stateMutability?: undefined;
|
|
1798
|
+
anonymous?: undefined;
|
|
1799
|
+
outputs?: undefined;
|
|
1800
|
+
} | {
|
|
1801
|
+
anonymous: boolean;
|
|
1802
|
+
inputs: {
|
|
1803
|
+
indexed: boolean;
|
|
1804
|
+
internalType: string;
|
|
1805
|
+
name: string;
|
|
1806
|
+
type: string;
|
|
1807
|
+
}[];
|
|
1808
|
+
name: string;
|
|
1809
|
+
type: string;
|
|
1810
|
+
stateMutability?: undefined;
|
|
1811
|
+
outputs?: undefined;
|
|
1812
|
+
} | {
|
|
1813
|
+
inputs: {
|
|
1814
|
+
internalType: string;
|
|
1815
|
+
name: string;
|
|
1816
|
+
type: string;
|
|
1817
|
+
}[];
|
|
1818
|
+
name: string;
|
|
1819
|
+
outputs: {
|
|
1820
|
+
internalType: string;
|
|
1821
|
+
name: string;
|
|
1822
|
+
type: string;
|
|
1823
|
+
}[];
|
|
1824
|
+
stateMutability: string;
|
|
1825
|
+
type: string;
|
|
1826
|
+
anonymous?: undefined;
|
|
1827
|
+
} | {
|
|
1828
|
+
stateMutability: string;
|
|
1829
|
+
type: string;
|
|
1830
|
+
inputs?: undefined;
|
|
1831
|
+
name?: undefined;
|
|
1832
|
+
anonymous?: undefined;
|
|
1833
|
+
outputs?: undefined;
|
|
1834
|
+
})[];
|
|
1778
1835
|
};
|
|
1779
1836
|
export type AssetType = keyof typeof ABIS | string;
|
|
1780
1837
|
export type ContractType = keyof typeof ABIS;
|
|
@@ -3474,5 +3531,61 @@ declare const getABI: (name: keyof typeof ABIS) => ({
|
|
|
3474
3531
|
stateMutability: string;
|
|
3475
3532
|
type: string;
|
|
3476
3533
|
anonymous?: undefined;
|
|
3534
|
+
})[] | ({
|
|
3535
|
+
inputs: {
|
|
3536
|
+
internalType: string;
|
|
3537
|
+
name: string;
|
|
3538
|
+
type: string;
|
|
3539
|
+
}[];
|
|
3540
|
+
stateMutability: string;
|
|
3541
|
+
type: string;
|
|
3542
|
+
name?: undefined;
|
|
3543
|
+
anonymous?: undefined;
|
|
3544
|
+
outputs?: undefined;
|
|
3545
|
+
} | {
|
|
3546
|
+
inputs: {
|
|
3547
|
+
internalType: string;
|
|
3548
|
+
name: string;
|
|
3549
|
+
type: string;
|
|
3550
|
+
}[];
|
|
3551
|
+
name: string;
|
|
3552
|
+
type: string;
|
|
3553
|
+
stateMutability?: undefined;
|
|
3554
|
+
anonymous?: undefined;
|
|
3555
|
+
outputs?: undefined;
|
|
3556
|
+
} | {
|
|
3557
|
+
anonymous: boolean;
|
|
3558
|
+
inputs: {
|
|
3559
|
+
indexed: boolean;
|
|
3560
|
+
internalType: string;
|
|
3561
|
+
name: string;
|
|
3562
|
+
type: string;
|
|
3563
|
+
}[];
|
|
3564
|
+
name: string;
|
|
3565
|
+
type: string;
|
|
3566
|
+
stateMutability?: undefined;
|
|
3567
|
+
outputs?: undefined;
|
|
3568
|
+
} | {
|
|
3569
|
+
inputs: {
|
|
3570
|
+
internalType: string;
|
|
3571
|
+
name: string;
|
|
3572
|
+
type: string;
|
|
3573
|
+
}[];
|
|
3574
|
+
name: string;
|
|
3575
|
+
outputs: {
|
|
3576
|
+
internalType: string;
|
|
3577
|
+
name: string;
|
|
3578
|
+
type: string;
|
|
3579
|
+
}[];
|
|
3580
|
+
stateMutability: string;
|
|
3581
|
+
type: string;
|
|
3582
|
+
anonymous?: undefined;
|
|
3583
|
+
} | {
|
|
3584
|
+
stateMutability: string;
|
|
3585
|
+
type: string;
|
|
3586
|
+
inputs?: undefined;
|
|
3587
|
+
name?: undefined;
|
|
3588
|
+
anonymous?: undefined;
|
|
3589
|
+
outputs?: undefined;
|
|
3477
3590
|
})[];
|
|
3478
3591
|
export { getABI, ABIS };
|
package/dist/utils/artifacts.js
CHANGED
|
@@ -35,6 +35,7 @@ const Treasury_json_1 = __importDefault(require("../artifacts/core/collectors/Tr
|
|
|
35
35
|
const RWAIndexTokenCollector_json_1 = __importDefault(require("../artifacts/core/collectors/RWAIndexTokenCollector.sol/RWAIndexTokenCollector.json"));
|
|
36
36
|
const RAACTokenCollector_json_1 = __importDefault(require("../artifacts/core/collectors/RAACTokenCollector.sol/RAACTokenCollector.json"));
|
|
37
37
|
const CrvUSDToUSDOracle_json_1 = __importDefault(require("../artifacts/core/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle.json"));
|
|
38
|
+
const NFTRoyaltyFeeCollector_json_1 = __importDefault(require("../artifacts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.json"));
|
|
38
39
|
const CRVUSD_ABI = crvUSDToken_json_1.default.abi;
|
|
39
40
|
const RToken_json_2 = __importDefault(require("../artifacts/core/tokens/RToken.sol/RToken.json")); // assert { type: "json" }; // TODO: Isnt this same as rcrvusd?
|
|
40
41
|
const RTOKEN_ABI = RToken_json_2.default.abi;
|
|
@@ -95,6 +96,7 @@ const ABIS = {
|
|
|
95
96
|
rwaindextokencollector: RWAIndexTokenCollector_json_1.default.abi,
|
|
96
97
|
raactokencollector: RAACTokenCollector_json_1.default.abi,
|
|
97
98
|
crvusdtousdoracle: CRVUSDTOUSDORACLE_ABI,
|
|
99
|
+
nftroyaltyfeecollector: NFTRoyaltyFeeCollector_json_1.default.abi,
|
|
98
100
|
};
|
|
99
101
|
exports.ABIS = ABIS;
|
|
100
102
|
const getABI = (name) => {
|