@1delta/abis 0.0.3 → 0.0.5
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/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/init/index.d.ts +2 -0
- package/dist/init/index.d.ts.map +1 -0
- package/dist/init/index.js +1 -0
- package/dist/init/posManager.d.ts +34 -0
- package/dist/init/posManager.d.ts.map +1 -0
- package/dist/init/posManager.js +45 -0
- package/dist/morpho/blue.d.ts +1 -1
- package/dist/morpho/blue.d.ts.map +1 -1
- package/dist/morpho/blue.js +307 -52
- package/dist/morpho/bundler3.d.ts +3015 -0
- package/dist/morpho/bundler3.d.ts.map +1 -0
- package/dist/morpho/bundler3.js +2047 -0
- package/dist/morpho/index.d.ts +3 -2
- package/dist/morpho/index.d.ts.map +1 -1
- package/dist/morpho/index.js +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { AaveV2V3Abi, AaveWethGatewayAbi } from './aave/index.js';
|
|
2
|
-
export { venusCompoundV2ComptrollerAbi, COmpoundV2CEtherAbi, } from './compound-v2
|
|
3
|
-
export { CompoundV3CometAbi } from './compound-v3
|
|
4
|
-
export {
|
|
5
|
-
export { SiloV2Abi } from './silo-v2
|
|
6
|
-
export { Erc20Abi, Eip2612Abi } from './erc20
|
|
7
|
-
export { Permit2Abi, VenusComptrollerAbi, LenderPermitAbi } from './permissions
|
|
2
|
+
export { venusCompoundV2ComptrollerAbi, COmpoundV2CEtherAbi, } from './compound-v2';
|
|
3
|
+
export { CompoundV3CometAbi } from './compound-v3';
|
|
4
|
+
export { MorphoBlueAbi, MorphoLensAbi, bundler3Abi, generalAdapter1Abi, aaveV2MigrationAdapterAbi, aaveV3MigrationAdapterAbi, aaveV3OptimizerMigrationAdapterAbi, compoundV2MigrationAdapterAbi, compoundV3MigrationAdapterAbi, erc20WrapperAdapterAbi, ethereumGeneralAdapter1Abi, paraswapAdapterAbi, coreAdapterAbi, } from './morpho';
|
|
5
|
+
export { SiloV2Abi } from './silo-v2';
|
|
6
|
+
export { Erc20Abi, Eip2612Abi } from './erc20';
|
|
7
|
+
export { Permit2Abi, VenusComptrollerAbi, LenderPermitAbi } from './permissions';
|
|
8
|
+
export { PosManagerAbi } from './init';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EACL,aAAa,EACb,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,kCAAkC,EAClC,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAClB,cAAc,GACf,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { AaveV2V3Abi, AaveWethGatewayAbi } from './aave/index.js';
|
|
2
|
-
export { venusCompoundV2ComptrollerAbi, COmpoundV2CEtherAbi, } from './compound-v2
|
|
3
|
-
export { CompoundV3CometAbi } from './compound-v3
|
|
4
|
-
export {
|
|
5
|
-
export { SiloV2Abi } from './silo-v2
|
|
6
|
-
export { Erc20Abi, Eip2612Abi } from './erc20
|
|
7
|
-
export { Permit2Abi, VenusComptrollerAbi, LenderPermitAbi } from './permissions
|
|
2
|
+
export { venusCompoundV2ComptrollerAbi, COmpoundV2CEtherAbi, } from './compound-v2';
|
|
3
|
+
export { CompoundV3CometAbi } from './compound-v3';
|
|
4
|
+
export { MorphoBlueAbi, MorphoLensAbi, bundler3Abi, generalAdapter1Abi, aaveV2MigrationAdapterAbi, aaveV3MigrationAdapterAbi, aaveV3OptimizerMigrationAdapterAbi, compoundV2MigrationAdapterAbi, compoundV3MigrationAdapterAbi, erc20WrapperAdapterAbi, ethereumGeneralAdapter1Abi, paraswapAdapterAbi, coreAdapterAbi, } from './morpho';
|
|
5
|
+
export { SiloV2Abi } from './silo-v2';
|
|
6
|
+
export { Erc20Abi, Eip2612Abi } from './erc20';
|
|
7
|
+
export { Permit2Abi, VenusComptrollerAbi, LenderPermitAbi } from './permissions';
|
|
8
|
+
export { PosManagerAbi } from './init';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/init/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PosManagerAbi } from './posManager';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const PosManagerAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "uint256";
|
|
4
|
+
readonly name: "tokenId";
|
|
5
|
+
readonly type: "uint256";
|
|
6
|
+
}];
|
|
7
|
+
readonly name: "getApproved";
|
|
8
|
+
readonly outputs: readonly [{
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}];
|
|
13
|
+
readonly stateMutability: "view";
|
|
14
|
+
readonly type: "function";
|
|
15
|
+
}, {
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
readonly name: "owner";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}, {
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly name: "operator";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "isApprovedForAll";
|
|
26
|
+
readonly outputs: readonly [{
|
|
27
|
+
readonly internalType: "bool";
|
|
28
|
+
readonly name: "";
|
|
29
|
+
readonly type: "bool";
|
|
30
|
+
}];
|
|
31
|
+
readonly stateMutability: "view";
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
}];
|
|
34
|
+
//# sourceMappingURL=posManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posManager.d.ts","sourceRoot":"","sources":["../../src/init/posManager.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4ChB,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const PosManagerAbi = [
|
|
2
|
+
{
|
|
3
|
+
inputs: [
|
|
4
|
+
{
|
|
5
|
+
internalType: 'uint256',
|
|
6
|
+
name: 'tokenId',
|
|
7
|
+
type: 'uint256',
|
|
8
|
+
},
|
|
9
|
+
],
|
|
10
|
+
name: 'getApproved',
|
|
11
|
+
outputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: 'address',
|
|
14
|
+
name: '',
|
|
15
|
+
type: 'address',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
stateMutability: 'view',
|
|
19
|
+
type: 'function',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
inputs: [
|
|
23
|
+
{
|
|
24
|
+
internalType: 'address',
|
|
25
|
+
name: 'owner',
|
|
26
|
+
type: 'address',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: 'address',
|
|
30
|
+
name: 'operator',
|
|
31
|
+
type: 'address',
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
name: 'isApprovedForAll',
|
|
35
|
+
outputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: 'bool',
|
|
38
|
+
name: '',
|
|
39
|
+
type: 'bool',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
stateMutability: 'view',
|
|
43
|
+
type: 'function',
|
|
44
|
+
},
|
|
45
|
+
];
|
package/dist/morpho/blue.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blue.d.ts","sourceRoot":"","sources":["../../src/morpho/blue.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
1
|
-
export const
|
|
1
|
+
export const MorphoBlueAbi = [
|
|
2
2
|
{
|
|
3
3
|
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
|
|
4
4
|
stateMutability: 'nonpayable',
|
|
@@ -8,9 +8,24 @@ export const MoprhoBlueAbi = [
|
|
|
8
8
|
anonymous: false,
|
|
9
9
|
inputs: [
|
|
10
10
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
{
|
|
12
|
+
indexed: false,
|
|
13
|
+
internalType: 'uint256',
|
|
14
|
+
name: 'prevBorrowRate',
|
|
15
|
+
type: 'uint256',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
indexed: false,
|
|
19
|
+
internalType: 'uint256',
|
|
20
|
+
name: 'interest',
|
|
21
|
+
type: 'uint256',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
indexed: false,
|
|
25
|
+
internalType: 'uint256',
|
|
26
|
+
name: 'feeShares',
|
|
27
|
+
type: 'uint256',
|
|
28
|
+
},
|
|
14
29
|
],
|
|
15
30
|
name: 'AccrueInterest',
|
|
16
31
|
type: 'event',
|
|
@@ -19,11 +34,36 @@ export const MoprhoBlueAbi = [
|
|
|
19
34
|
anonymous: false,
|
|
20
35
|
inputs: [
|
|
21
36
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
22
|
-
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: 'address',
|
|
40
|
+
name: 'caller',
|
|
41
|
+
type: 'address',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: 'address',
|
|
46
|
+
name: 'onBehalf',
|
|
47
|
+
type: 'address',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: true,
|
|
51
|
+
internalType: 'address',
|
|
52
|
+
name: 'receiver',
|
|
53
|
+
type: 'address',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
indexed: false,
|
|
57
|
+
internalType: 'uint256',
|
|
58
|
+
name: 'assets',
|
|
59
|
+
type: 'uint256',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
indexed: false,
|
|
63
|
+
internalType: 'uint256',
|
|
64
|
+
name: 'shares',
|
|
65
|
+
type: 'uint256',
|
|
66
|
+
},
|
|
27
67
|
],
|
|
28
68
|
name: 'Borrow',
|
|
29
69
|
type: 'event',
|
|
@@ -51,22 +91,46 @@ export const MoprhoBlueAbi = [
|
|
|
51
91
|
},
|
|
52
92
|
{
|
|
53
93
|
anonymous: false,
|
|
54
|
-
inputs: [
|
|
94
|
+
inputs: [
|
|
95
|
+
{ indexed: true, internalType: 'address', name: 'irm', type: 'address' },
|
|
96
|
+
],
|
|
55
97
|
name: 'EnableIrm',
|
|
56
98
|
type: 'event',
|
|
57
99
|
},
|
|
58
100
|
{
|
|
59
101
|
anonymous: false,
|
|
60
|
-
inputs: [
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
indexed: false,
|
|
105
|
+
internalType: 'uint256',
|
|
106
|
+
name: 'lltv',
|
|
107
|
+
type: 'uint256',
|
|
108
|
+
},
|
|
109
|
+
],
|
|
61
110
|
name: 'EnableLltv',
|
|
62
111
|
type: 'event',
|
|
63
112
|
},
|
|
64
113
|
{
|
|
65
114
|
anonymous: false,
|
|
66
115
|
inputs: [
|
|
67
|
-
{
|
|
68
|
-
|
|
69
|
-
|
|
116
|
+
{
|
|
117
|
+
indexed: true,
|
|
118
|
+
internalType: 'address',
|
|
119
|
+
name: 'caller',
|
|
120
|
+
type: 'address',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
indexed: true,
|
|
124
|
+
internalType: 'address',
|
|
125
|
+
name: 'token',
|
|
126
|
+
type: 'address',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
indexed: false,
|
|
130
|
+
internalType: 'uint256',
|
|
131
|
+
name: 'assets',
|
|
132
|
+
type: 'uint256',
|
|
133
|
+
},
|
|
70
134
|
],
|
|
71
135
|
name: 'FlashLoan',
|
|
72
136
|
type: 'event',
|
|
@@ -74,9 +138,24 @@ export const MoprhoBlueAbi = [
|
|
|
74
138
|
{
|
|
75
139
|
anonymous: false,
|
|
76
140
|
inputs: [
|
|
77
|
-
{
|
|
78
|
-
|
|
79
|
-
|
|
141
|
+
{
|
|
142
|
+
indexed: true,
|
|
143
|
+
internalType: 'address',
|
|
144
|
+
name: 'caller',
|
|
145
|
+
type: 'address',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
indexed: true,
|
|
149
|
+
internalType: 'address',
|
|
150
|
+
name: 'authorizer',
|
|
151
|
+
type: 'address',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
indexed: false,
|
|
155
|
+
internalType: 'uint256',
|
|
156
|
+
name: 'usedNonce',
|
|
157
|
+
type: 'uint256',
|
|
158
|
+
},
|
|
80
159
|
],
|
|
81
160
|
name: 'IncrementNonce',
|
|
82
161
|
type: 'event',
|
|
@@ -85,13 +164,48 @@ export const MoprhoBlueAbi = [
|
|
|
85
164
|
anonymous: false,
|
|
86
165
|
inputs: [
|
|
87
166
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
{
|
|
167
|
+
{
|
|
168
|
+
indexed: true,
|
|
169
|
+
internalType: 'address',
|
|
170
|
+
name: 'caller',
|
|
171
|
+
type: 'address',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
indexed: true,
|
|
175
|
+
internalType: 'address',
|
|
176
|
+
name: 'borrower',
|
|
177
|
+
type: 'address',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: false,
|
|
181
|
+
internalType: 'uint256',
|
|
182
|
+
name: 'repaidAssets',
|
|
183
|
+
type: 'uint256',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: 'uint256',
|
|
188
|
+
name: 'repaidShares',
|
|
189
|
+
type: 'uint256',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
indexed: false,
|
|
193
|
+
internalType: 'uint256',
|
|
194
|
+
name: 'seizedAssets',
|
|
195
|
+
type: 'uint256',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: false,
|
|
199
|
+
internalType: 'uint256',
|
|
200
|
+
name: 'badDebtAssets',
|
|
201
|
+
type: 'uint256',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
indexed: false,
|
|
205
|
+
internalType: 'uint256',
|
|
206
|
+
name: 'badDebtShares',
|
|
207
|
+
type: 'uint256',
|
|
208
|
+
},
|
|
95
209
|
],
|
|
96
210
|
name: 'Liquidate',
|
|
97
211
|
type: 'event',
|
|
@@ -100,10 +214,30 @@ export const MoprhoBlueAbi = [
|
|
|
100
214
|
anonymous: false,
|
|
101
215
|
inputs: [
|
|
102
216
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
103
|
-
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
217
|
+
{
|
|
218
|
+
indexed: true,
|
|
219
|
+
internalType: 'address',
|
|
220
|
+
name: 'caller',
|
|
221
|
+
type: 'address',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
indexed: true,
|
|
225
|
+
internalType: 'address',
|
|
226
|
+
name: 'onBehalf',
|
|
227
|
+
type: 'address',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: 'uint256',
|
|
232
|
+
name: 'assets',
|
|
233
|
+
type: 'uint256',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
indexed: false,
|
|
237
|
+
internalType: 'uint256',
|
|
238
|
+
name: 'shares',
|
|
239
|
+
type: 'uint256',
|
|
240
|
+
},
|
|
107
241
|
],
|
|
108
242
|
name: 'Repay',
|
|
109
243
|
type: 'event',
|
|
@@ -111,10 +245,30 @@ export const MoprhoBlueAbi = [
|
|
|
111
245
|
{
|
|
112
246
|
anonymous: false,
|
|
113
247
|
inputs: [
|
|
114
|
-
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
248
|
+
{
|
|
249
|
+
indexed: true,
|
|
250
|
+
internalType: 'address',
|
|
251
|
+
name: 'caller',
|
|
252
|
+
type: 'address',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
indexed: true,
|
|
256
|
+
internalType: 'address',
|
|
257
|
+
name: 'authorizer',
|
|
258
|
+
type: 'address',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: true,
|
|
262
|
+
internalType: 'address',
|
|
263
|
+
name: 'authorized',
|
|
264
|
+
type: 'address',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
indexed: false,
|
|
268
|
+
internalType: 'bool',
|
|
269
|
+
name: 'newIsAuthorized',
|
|
270
|
+
type: 'bool',
|
|
271
|
+
},
|
|
118
272
|
],
|
|
119
273
|
name: 'SetAuthorization',
|
|
120
274
|
type: 'event',
|
|
@@ -123,20 +277,39 @@ export const MoprhoBlueAbi = [
|
|
|
123
277
|
anonymous: false,
|
|
124
278
|
inputs: [
|
|
125
279
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
126
|
-
{
|
|
280
|
+
{
|
|
281
|
+
indexed: false,
|
|
282
|
+
internalType: 'uint256',
|
|
283
|
+
name: 'newFee',
|
|
284
|
+
type: 'uint256',
|
|
285
|
+
},
|
|
127
286
|
],
|
|
128
287
|
name: 'SetFee',
|
|
129
288
|
type: 'event',
|
|
130
289
|
},
|
|
131
290
|
{
|
|
132
291
|
anonymous: false,
|
|
133
|
-
inputs: [
|
|
292
|
+
inputs: [
|
|
293
|
+
{
|
|
294
|
+
indexed: true,
|
|
295
|
+
internalType: 'address',
|
|
296
|
+
name: 'newFeeRecipient',
|
|
297
|
+
type: 'address',
|
|
298
|
+
},
|
|
299
|
+
],
|
|
134
300
|
name: 'SetFeeRecipient',
|
|
135
301
|
type: 'event',
|
|
136
302
|
},
|
|
137
303
|
{
|
|
138
304
|
anonymous: false,
|
|
139
|
-
inputs: [
|
|
305
|
+
inputs: [
|
|
306
|
+
{
|
|
307
|
+
indexed: true,
|
|
308
|
+
internalType: 'address',
|
|
309
|
+
name: 'newOwner',
|
|
310
|
+
type: 'address',
|
|
311
|
+
},
|
|
312
|
+
],
|
|
140
313
|
name: 'SetOwner',
|
|
141
314
|
type: 'event',
|
|
142
315
|
},
|
|
@@ -144,10 +317,30 @@ export const MoprhoBlueAbi = [
|
|
|
144
317
|
anonymous: false,
|
|
145
318
|
inputs: [
|
|
146
319
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
147
|
-
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
320
|
+
{
|
|
321
|
+
indexed: true,
|
|
322
|
+
internalType: 'address',
|
|
323
|
+
name: 'caller',
|
|
324
|
+
type: 'address',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
indexed: true,
|
|
328
|
+
internalType: 'address',
|
|
329
|
+
name: 'onBehalf',
|
|
330
|
+
type: 'address',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
indexed: false,
|
|
334
|
+
internalType: 'uint256',
|
|
335
|
+
name: 'assets',
|
|
336
|
+
type: 'uint256',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
indexed: false,
|
|
340
|
+
internalType: 'uint256',
|
|
341
|
+
name: 'shares',
|
|
342
|
+
type: 'uint256',
|
|
343
|
+
},
|
|
151
344
|
],
|
|
152
345
|
name: 'Supply',
|
|
153
346
|
type: 'event',
|
|
@@ -156,9 +349,24 @@ export const MoprhoBlueAbi = [
|
|
|
156
349
|
anonymous: false,
|
|
157
350
|
inputs: [
|
|
158
351
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
159
|
-
{
|
|
160
|
-
|
|
161
|
-
|
|
352
|
+
{
|
|
353
|
+
indexed: true,
|
|
354
|
+
internalType: 'address',
|
|
355
|
+
name: 'caller',
|
|
356
|
+
type: 'address',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
indexed: true,
|
|
360
|
+
internalType: 'address',
|
|
361
|
+
name: 'onBehalf',
|
|
362
|
+
type: 'address',
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
indexed: false,
|
|
366
|
+
internalType: 'uint256',
|
|
367
|
+
name: 'assets',
|
|
368
|
+
type: 'uint256',
|
|
369
|
+
},
|
|
162
370
|
],
|
|
163
371
|
name: 'SupplyCollateral',
|
|
164
372
|
type: 'event',
|
|
@@ -167,11 +375,36 @@ export const MoprhoBlueAbi = [
|
|
|
167
375
|
anonymous: false,
|
|
168
376
|
inputs: [
|
|
169
377
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
170
|
-
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
378
|
+
{
|
|
379
|
+
indexed: false,
|
|
380
|
+
internalType: 'address',
|
|
381
|
+
name: 'caller',
|
|
382
|
+
type: 'address',
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
indexed: true,
|
|
386
|
+
internalType: 'address',
|
|
387
|
+
name: 'onBehalf',
|
|
388
|
+
type: 'address',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
indexed: true,
|
|
392
|
+
internalType: 'address',
|
|
393
|
+
name: 'receiver',
|
|
394
|
+
type: 'address',
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
indexed: false,
|
|
398
|
+
internalType: 'uint256',
|
|
399
|
+
name: 'assets',
|
|
400
|
+
type: 'uint256',
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
indexed: false,
|
|
404
|
+
internalType: 'uint256',
|
|
405
|
+
name: 'shares',
|
|
406
|
+
type: 'uint256',
|
|
407
|
+
},
|
|
175
408
|
],
|
|
176
409
|
name: 'Withdraw',
|
|
177
410
|
type: 'event',
|
|
@@ -180,10 +413,30 @@ export const MoprhoBlueAbi = [
|
|
|
180
413
|
anonymous: false,
|
|
181
414
|
inputs: [
|
|
182
415
|
{ indexed: true, internalType: 'Id', name: 'id', type: 'bytes32' },
|
|
183
|
-
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
416
|
+
{
|
|
417
|
+
indexed: false,
|
|
418
|
+
internalType: 'address',
|
|
419
|
+
name: 'caller',
|
|
420
|
+
type: 'address',
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
indexed: true,
|
|
424
|
+
internalType: 'address',
|
|
425
|
+
name: 'onBehalf',
|
|
426
|
+
type: 'address',
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
indexed: true,
|
|
430
|
+
internalType: 'address',
|
|
431
|
+
name: 'receiver',
|
|
432
|
+
type: 'address',
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
indexed: false,
|
|
436
|
+
internalType: 'uint256',
|
|
437
|
+
name: 'assets',
|
|
438
|
+
type: 'uint256',
|
|
439
|
+
},
|
|
187
440
|
],
|
|
188
441
|
name: 'WithdrawCollateral',
|
|
189
442
|
type: 'event',
|
|
@@ -496,7 +749,9 @@ export const MoprhoBlueAbi = [
|
|
|
496
749
|
type: 'function',
|
|
497
750
|
},
|
|
498
751
|
{
|
|
499
|
-
inputs: [
|
|
752
|
+
inputs: [
|
|
753
|
+
{ internalType: 'address', name: 'newFeeRecipient', type: 'address' },
|
|
754
|
+
],
|
|
500
755
|
name: 'setFeeRecipient',
|
|
501
756
|
outputs: [],
|
|
502
757
|
stateMutability: 'nonpayable',
|