@dripfi/drip-sdk 1.3.1 → 1.3.2
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 +39 -53
- package/dist/DripApi.d.ts +3 -2
- package/dist/DripApi.js +17 -0
- package/dist/DripSdk.d.ts +3 -2
- package/dist/DripSdk.js +17 -4
- package/dist/contracts/abi/DripSwapAndRecyclerAbi.json +421 -0
- package/dist/contracts/abi/DripTokenAbi.json +155 -0
- package/dist/contracts/abi/PerqVestingAbi.json +528 -14
- package/dist/contracts/abi/TokenRecyclerAbi.json +519 -0
- package/dist/contracts/abi/WethTokenAbi.json +1 -25
- package/dist/index.d.ts +1 -6
- package/dist/index.js +1 -11
- package/dist/types/SignedPayload.d.ts +9 -2
- package/package.json +1 -1
@@ -1,4 +1,88 @@
|
|
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
|
+
},
|
2
86
|
{
|
3
87
|
"constant": true,
|
4
88
|
"inputs": [
|
@@ -44,5 +128,76 @@
|
|
44
128
|
"payable": false,
|
45
129
|
"stateMutability": "nonpayable",
|
46
130
|
"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"
|
47
202
|
}
|
48
203
|
]
|