@raac/rpc 1.1.0-beta.76 → 1.1.0-beta.77
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/FeeCollector.sol/FeeCollector.json +2 -2
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +2 -2
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +20 -10
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +2 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +63 -7
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +58 -2
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +2 -20
- package/dist/configs/chains/11155111.json +19 -19
- package/dist/configs/chains/8453.json +0 -5
- package/dist/types/utils/artifacts.d.ts +0 -113
- package/dist/utils/artifacts.js +0 -3
- package/package.json +1 -1
- package/dist/artifacts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.json +0 -246
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"raachouseprices": {
|
|
18
18
|
"id": "raachouseprices",
|
|
19
19
|
"name": "RAAC House Prices",
|
|
20
|
-
"contract": "
|
|
20
|
+
"contract": "0xF122d4Dcc791c6735d937E7118087A505c81b2b3"
|
|
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": "0x297d74333c285d5F39820c268C9e9AAb788e3625"
|
|
41
41
|
},
|
|
42
42
|
"treasury": {
|
|
43
43
|
"id": "treasury",
|
|
44
44
|
"name": "Treasury",
|
|
45
|
-
"contract": "
|
|
45
|
+
"contract": "0xF361850f103611D0ce869f369Fa62811B4BAa68B"
|
|
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": "0x7D819769ADDbBcc7D482E7e8FcC2812De0929875"
|
|
61
61
|
},
|
|
62
62
|
"complianceregistry": {
|
|
63
63
|
"id": "complianceregistry",
|
|
64
64
|
"name": "Compliance Registry",
|
|
65
|
-
"contract": "
|
|
65
|
+
"contract": "0x74E2aEcC41F096Dca69368A7D10604142C44CfF0"
|
|
66
66
|
},
|
|
67
67
|
"rwaindextokencollector": {
|
|
68
68
|
"id": "rwaindextokencollector",
|
|
69
69
|
"name": "RWA Index Token Collector",
|
|
70
|
-
"contract": "
|
|
70
|
+
"contract": "0xc4999Db2fd4A58d870F9c8D18fBe4177308e2481"
|
|
71
71
|
},
|
|
72
72
|
"raactokencollector": {
|
|
73
73
|
"id": "raactokencollector",
|
|
@@ -77,31 +77,31 @@
|
|
|
77
77
|
"raachousepriceoracle": {
|
|
78
78
|
"id": "raachousepriceoracle",
|
|
79
79
|
"name": "RAAC House Price Oracle",
|
|
80
|
-
"contract": "
|
|
80
|
+
"contract": "0x6e15A7037cB6EEA74F8a5fCD20EBaa77e331093D"
|
|
81
81
|
},
|
|
82
82
|
"raacprimerateoracle": {
|
|
83
83
|
"id": "raacprimerateoracle",
|
|
84
84
|
"name": "RAAC Prime Rate Oracle",
|
|
85
|
-
"contract": "
|
|
85
|
+
"contract": "0x158c6c40DF3E7f9B1AdA92Ab7D4B8b437749BF6b"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"pools": {
|
|
89
89
|
"stabilitypool": {
|
|
90
90
|
"id": "stabilitypool",
|
|
91
91
|
"name": "Stability Pool",
|
|
92
|
-
"contract": "
|
|
92
|
+
"contract": "0xF88967cbdEf88063b4c4d0F4F5E93b429C39689A"
|
|
93
93
|
},
|
|
94
94
|
"lendingpool": {
|
|
95
95
|
"id": "lendingpool",
|
|
96
96
|
"name": "Lending Pool",
|
|
97
|
-
"contract": "
|
|
97
|
+
"contract": "0x90d4e68C41333053248784e570C998EC915d5161"
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"nfts": {
|
|
101
101
|
"raacnft": {
|
|
102
102
|
"id": "raacnft",
|
|
103
103
|
"name": "RAAC NFT",
|
|
104
|
-
"contract": "
|
|
104
|
+
"contract": "0xbac60A20C0B932b65E18F636C94e9f4b41F3A426"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"assets": {
|
|
@@ -115,19 +115,19 @@
|
|
|
115
115
|
"id": "crvusd",
|
|
116
116
|
"name": "CRVUSD",
|
|
117
117
|
"decimals": 18,
|
|
118
|
-
"contract": "
|
|
118
|
+
"contract": "0xfbA5b62A1a9d7Bd2bE46ca861DBfd49702E82f19"
|
|
119
119
|
},
|
|
120
120
|
"rtoken": {
|
|
121
121
|
"id": "rtoken",
|
|
122
122
|
"name": "RToken",
|
|
123
123
|
"decimals": 18,
|
|
124
|
-
"contract": "
|
|
124
|
+
"contract": "0xeb957D30f3F3c3534D3Dcd0828C7747602803B7A"
|
|
125
125
|
},
|
|
126
126
|
"detoken": {
|
|
127
127
|
"id": "detoken",
|
|
128
128
|
"name": "DEToken",
|
|
129
129
|
"decimals": 18,
|
|
130
|
-
"contract": "
|
|
130
|
+
"contract": "0x229495b726Bdc55917DBE89674306D3F3Daa5aE5"
|
|
131
131
|
},
|
|
132
132
|
"raactoken": {
|
|
133
133
|
"id": "raactoken",
|
|
@@ -145,13 +145,13 @@
|
|
|
145
145
|
"id": "debttoken",
|
|
146
146
|
"name": "Debt Token",
|
|
147
147
|
"decimals": 18,
|
|
148
|
-
"contract": "
|
|
148
|
+
"contract": "0xd4bE0b77c07C58fc5cAea5629587f54572090F88"
|
|
149
149
|
},
|
|
150
150
|
"rwaindextoken": {
|
|
151
151
|
"id": "rwaindextoken",
|
|
152
152
|
"name": "RWA Index Token",
|
|
153
153
|
"decimals": 18,
|
|
154
|
-
"contract": "
|
|
154
|
+
"contract": "0xa96a1578dCBd8bca443142567C19d61DF1513937"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"adapters": {
|
|
@@ -159,13 +159,13 @@
|
|
|
159
159
|
"raacnftadapter": {
|
|
160
160
|
"id": "raacnftadapter",
|
|
161
161
|
"name": "RAAC NFT Adapter",
|
|
162
|
-
"contract": "
|
|
162
|
+
"contract": "0xd8Cb90b0A5b288F5f0c9a519Ae4B1B47D5E69353",
|
|
163
163
|
"type": "ERC721"
|
|
164
164
|
},
|
|
165
165
|
"rwaindextokenadapter": {
|
|
166
166
|
"id": "rwaindextokenadapter",
|
|
167
167
|
"name": "RWA Index Token",
|
|
168
|
-
"contract": "
|
|
168
|
+
"contract": "0x216433c8408A349B4b7342d60F948d89317E3366",
|
|
169
169
|
"type": "ERC20"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"raacnftadapter": {
|
|
174
174
|
"id": "raacnftadapter",
|
|
175
175
|
"name": "RAAC NFT Adapter",
|
|
176
|
-
"contract": "
|
|
176
|
+
"contract": "0x5b10F4F746f10632e4Bb832A2e93bd5543830D7d",
|
|
177
177
|
"type": "ERC721"
|
|
178
178
|
},
|
|
179
179
|
"crvusdadapter": {
|
|
@@ -88,11 +88,6 @@
|
|
|
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": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
|
|
96
91
|
}
|
|
97
92
|
},
|
|
98
93
|
"pools": {
|
|
@@ -1775,63 +1775,6 @@ 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
|
-
})[];
|
|
1835
1778
|
};
|
|
1836
1779
|
export type AssetType = keyof typeof ABIS | string;
|
|
1837
1780
|
export type ContractType = keyof typeof ABIS;
|
|
@@ -3531,61 +3474,5 @@ declare const getABI: (name: keyof typeof ABIS) => ({
|
|
|
3531
3474
|
stateMutability: string;
|
|
3532
3475
|
type: string;
|
|
3533
3476
|
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;
|
|
3590
3477
|
})[];
|
|
3591
3478
|
export { getABI, ABIS };
|
package/dist/utils/artifacts.js
CHANGED
|
@@ -35,7 +35,6 @@ 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"));
|
|
39
38
|
const CRVUSD_ABI = crvUSDToken_json_1.default.abi;
|
|
40
39
|
const RToken_json_2 = __importDefault(require("../artifacts/core/tokens/RToken.sol/RToken.json")); // assert { type: "json" }; // TODO: Isnt this same as rcrvusd?
|
|
41
40
|
const RTOKEN_ABI = RToken_json_2.default.abi;
|
|
@@ -56,7 +55,6 @@ const ERC721ASSETADAPTER_ABI = ERC721AssetAdapter_json_1.default.abi;
|
|
|
56
55
|
const RWAINDEXTOKEN_ABI = RWAIndexToken_json_1.default.abi;
|
|
57
56
|
const RAACHOUSEPRICEORACLE_ABI = RAACHousePriceOracle_json_1.default.abi;
|
|
58
57
|
const CRVUSDTOUSDORACLE_ABI = CrvUSDToUSDOracle_json_1.default.abi;
|
|
59
|
-
const NFTROYALTYFEECOLLECTOR_ABI = NFTRoyaltyFeeCollector_json_1.default.abi;
|
|
60
58
|
const ABIS = {
|
|
61
59
|
// Tokens
|
|
62
60
|
crvusd: CRVUSD_ABI,
|
|
@@ -97,7 +95,6 @@ const ABIS = {
|
|
|
97
95
|
rwaindextokencollector: RWAIndexTokenCollector_json_1.default.abi,
|
|
98
96
|
raactokencollector: RAACTokenCollector_json_1.default.abi,
|
|
99
97
|
crvusdtousdoracle: CRVUSDTOUSDORACLE_ABI,
|
|
100
|
-
nftroyaltyfeecollector: NFTROYALTYFEECOLLECTOR_ABI
|
|
101
98
|
};
|
|
102
99
|
exports.ABIS = ABIS;
|
|
103
100
|
const getABI = (name) => {
|
package/package.json
CHANGED
package/dist/artifacts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.json
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
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
|
-
}
|