@dripfi/drip-sdk 1.3.2 → 1.3.4
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/README.md +53 -39
- package/dist/DripApi.d.ts +4 -0
- package/dist/DripApi.js +7 -0
- package/dist/DripSdk.js +32 -12
- package/dist/contracts/abi/DripSwapAndRecyclerAbi.json +0 -421
- package/dist/contracts/abi/DripTokenAbi.json +0 -155
- package/dist/contracts/abi/PerqVestingAbi.json +14 -528
- package/dist/contracts/abi/TokenRecyclerAbi.json +0 -519
- package/dist/contracts/abi/WethTokenAbi.json +25 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +11 -1
- package/package.json +1 -1
@@ -1,88 +1,4 @@
|
|
1
1
|
[
|
2
|
-
{
|
3
|
-
"constant": true,
|
4
|
-
"inputs": [],
|
5
|
-
"name": "name",
|
6
|
-
"outputs": [
|
7
|
-
{
|
8
|
-
"name": "",
|
9
|
-
"type": "string"
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"payable": false,
|
13
|
-
"stateMutability": "view",
|
14
|
-
"type": "function"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"constant": true,
|
18
|
-
"inputs": [],
|
19
|
-
"name": "symbol",
|
20
|
-
"outputs": [
|
21
|
-
{
|
22
|
-
"name": "",
|
23
|
-
"type": "string"
|
24
|
-
}
|
25
|
-
],
|
26
|
-
"payable": false,
|
27
|
-
"stateMutability": "view",
|
28
|
-
"type": "function"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"constant": true,
|
32
|
-
"inputs": [],
|
33
|
-
"name": "decimals",
|
34
|
-
"outputs": [
|
35
|
-
{
|
36
|
-
"name": "",
|
37
|
-
"type": "uint8"
|
38
|
-
}
|
39
|
-
],
|
40
|
-
"payable": false,
|
41
|
-
"stateMutability": "view",
|
42
|
-
"type": "function"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"constant": true,
|
46
|
-
"inputs": [
|
47
|
-
{
|
48
|
-
"name": "account",
|
49
|
-
"type": "address"
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"name": "balanceOf",
|
53
|
-
"outputs": [
|
54
|
-
{
|
55
|
-
"name": "",
|
56
|
-
"type": "uint256"
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"payable": false,
|
60
|
-
"stateMutability": "view",
|
61
|
-
"type": "function"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"constant": false,
|
65
|
-
"inputs": [
|
66
|
-
{
|
67
|
-
"name": "to",
|
68
|
-
"type": "address"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"name": "value",
|
72
|
-
"type": "uint256"
|
73
|
-
}
|
74
|
-
],
|
75
|
-
"name": "transfer",
|
76
|
-
"outputs": [
|
77
|
-
{
|
78
|
-
"name": "",
|
79
|
-
"type": "bool"
|
80
|
-
}
|
81
|
-
],
|
82
|
-
"payable": false,
|
83
|
-
"stateMutability": "nonpayable",
|
84
|
-
"type": "function"
|
85
|
-
},
|
86
2
|
{
|
87
3
|
"constant": true,
|
88
4
|
"inputs": [
|
@@ -128,76 +44,5 @@
|
|
128
44
|
"payable": false,
|
129
45
|
"stateMutability": "nonpayable",
|
130
46
|
"type": "function"
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"constant": false,
|
134
|
-
"inputs": [
|
135
|
-
{
|
136
|
-
"name": "from",
|
137
|
-
"type": "address"
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"name": "to",
|
141
|
-
"type": "address"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"name": "value",
|
145
|
-
"type": "uint256"
|
146
|
-
}
|
147
|
-
],
|
148
|
-
"name": "transferFrom",
|
149
|
-
"outputs": [
|
150
|
-
{
|
151
|
-
"name": "",
|
152
|
-
"type": "bool"
|
153
|
-
}
|
154
|
-
],
|
155
|
-
"payable": false,
|
156
|
-
"stateMutability": "nonpayable",
|
157
|
-
"type": "function"
|
158
|
-
},
|
159
|
-
{
|
160
|
-
"anonymous": false,
|
161
|
-
"inputs": [
|
162
|
-
{
|
163
|
-
"indexed": true,
|
164
|
-
"name": "owner",
|
165
|
-
"type": "address"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"indexed": true,
|
169
|
-
"name": "spender",
|
170
|
-
"type": "address"
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"indexed": false,
|
174
|
-
"name": "value",
|
175
|
-
"type": "uint256"
|
176
|
-
}
|
177
|
-
],
|
178
|
-
"name": "Approval",
|
179
|
-
"type": "event"
|
180
|
-
},
|
181
|
-
{
|
182
|
-
"anonymous": false,
|
183
|
-
"inputs": [
|
184
|
-
{
|
185
|
-
"indexed": true,
|
186
|
-
"name": "from",
|
187
|
-
"type": "address"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"indexed": true,
|
191
|
-
"name": "to",
|
192
|
-
"type": "address"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"indexed": false,
|
196
|
-
"name": "value",
|
197
|
-
"type": "uint256"
|
198
|
-
}
|
199
|
-
],
|
200
|
-
"name": "Transfer",
|
201
|
-
"type": "event"
|
202
47
|
}
|
203
48
|
]
|