@gearbox-protocol/sdk 14.5.8 → 14.5.10
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/cjs/abi/iDefaultAccountFactoryV3.js +194 -0
- package/dist/cjs/abi/kyc/iDSToken.js +1907 -20
- package/dist/cjs/plugins/adapters/abi/securitize/iBaseOnRamp.js +351 -0
- package/dist/cjs/plugins/adapters/contracts/SecuritizeOnRampAdapterContract.js +2 -1
- package/dist/esm/abi/iDefaultAccountFactoryV3.js +170 -0
- package/dist/esm/abi/kyc/iDSToken.js +1907 -20
- package/dist/esm/plugins/adapters/abi/securitize/iBaseOnRamp.js +327 -0
- package/dist/esm/plugins/adapters/contracts/SecuritizeOnRampAdapterContract.js +2 -1
- package/dist/types/abi/iDefaultAccountFactoryV3.d.ts +177 -0
- package/dist/types/abi/kyc/iDSToken.d.ts +1446 -13
- package/dist/types/plugins/adapters/abi/securitize/iBaseOnRamp.d.ts +255 -0
- package/dist/types/plugins/adapters/contracts/SecuritizeOnRampAdapterContract.d.ts +254 -0
- package/package.json +1 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var iDefaultAccountFactoryV3_exports = {};
|
|
20
|
+
__export(iDefaultAccountFactoryV3_exports, {
|
|
21
|
+
iDefaultAccountFactoryV3Abi: () => iDefaultAccountFactoryV3Abi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(iDefaultAccountFactoryV3_exports);
|
|
24
|
+
const iDefaultAccountFactoryV3Abi = [
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "addCreditManager",
|
|
28
|
+
inputs: [
|
|
29
|
+
{ name: "creditManager", type: "address", internalType: "address" }
|
|
30
|
+
],
|
|
31
|
+
outputs: [],
|
|
32
|
+
stateMutability: "nonpayable"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: "function",
|
|
36
|
+
name: "contractType",
|
|
37
|
+
inputs: [],
|
|
38
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
39
|
+
stateMutability: "view"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
type: "function",
|
|
43
|
+
name: "delay",
|
|
44
|
+
inputs: [],
|
|
45
|
+
outputs: [{ name: "", type: "uint40", internalType: "uint40" }],
|
|
46
|
+
stateMutability: "view"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
type: "function",
|
|
50
|
+
name: "rescue",
|
|
51
|
+
inputs: [
|
|
52
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
53
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
54
|
+
{ name: "data", type: "bytes", internalType: "bytes" }
|
|
55
|
+
],
|
|
56
|
+
outputs: [],
|
|
57
|
+
stateMutability: "nonpayable"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "function",
|
|
61
|
+
name: "returnCreditAccount",
|
|
62
|
+
inputs: [
|
|
63
|
+
{ name: "creditAccount", type: "address", internalType: "address" }
|
|
64
|
+
],
|
|
65
|
+
outputs: [],
|
|
66
|
+
stateMutability: "nonpayable"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "function",
|
|
70
|
+
name: "serialize",
|
|
71
|
+
inputs: [],
|
|
72
|
+
outputs: [{ name: "serializedData", type: "bytes", internalType: "bytes" }],
|
|
73
|
+
stateMutability: "view"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "function",
|
|
77
|
+
name: "takeCreditAccount",
|
|
78
|
+
inputs: [
|
|
79
|
+
{ name: "", type: "uint256", internalType: "uint256" },
|
|
80
|
+
{ name: "", type: "uint256", internalType: "uint256" }
|
|
81
|
+
],
|
|
82
|
+
outputs: [
|
|
83
|
+
{ name: "creditAccount", type: "address", internalType: "address" }
|
|
84
|
+
],
|
|
85
|
+
stateMutability: "nonpayable"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: "function",
|
|
89
|
+
name: "version",
|
|
90
|
+
inputs: [],
|
|
91
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
92
|
+
stateMutability: "view"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
type: "event",
|
|
96
|
+
name: "AddCreditManager",
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
name: "creditManager",
|
|
100
|
+
type: "address",
|
|
101
|
+
indexed: true,
|
|
102
|
+
internalType: "address"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "masterCreditAccount",
|
|
106
|
+
type: "address",
|
|
107
|
+
indexed: false,
|
|
108
|
+
internalType: "address"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
anonymous: false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: "event",
|
|
115
|
+
name: "DeployCreditAccount",
|
|
116
|
+
inputs: [
|
|
117
|
+
{
|
|
118
|
+
name: "creditAccount",
|
|
119
|
+
type: "address",
|
|
120
|
+
indexed: true,
|
|
121
|
+
internalType: "address"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: "creditManager",
|
|
125
|
+
type: "address",
|
|
126
|
+
indexed: true,
|
|
127
|
+
internalType: "address"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
anonymous: false
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
type: "event",
|
|
134
|
+
name: "Rescue",
|
|
135
|
+
inputs: [
|
|
136
|
+
{
|
|
137
|
+
name: "creditAccount",
|
|
138
|
+
type: "address",
|
|
139
|
+
indexed: true,
|
|
140
|
+
internalType: "address"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "target",
|
|
144
|
+
type: "address",
|
|
145
|
+
indexed: true,
|
|
146
|
+
internalType: "address"
|
|
147
|
+
},
|
|
148
|
+
{ name: "data", type: "bytes", indexed: false, internalType: "bytes" }
|
|
149
|
+
],
|
|
150
|
+
anonymous: false
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: "event",
|
|
154
|
+
name: "ReturnCreditAccount",
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
name: "creditAccount",
|
|
158
|
+
type: "address",
|
|
159
|
+
indexed: true,
|
|
160
|
+
internalType: "address"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: "creditManager",
|
|
164
|
+
type: "address",
|
|
165
|
+
indexed: true,
|
|
166
|
+
internalType: "address"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
anonymous: false
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
type: "event",
|
|
173
|
+
name: "TakeCreditAccount",
|
|
174
|
+
inputs: [
|
|
175
|
+
{
|
|
176
|
+
name: "creditAccount",
|
|
177
|
+
type: "address",
|
|
178
|
+
indexed: true,
|
|
179
|
+
internalType: "address"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "creditManager",
|
|
183
|
+
type: "address",
|
|
184
|
+
indexed: true,
|
|
185
|
+
internalType: "address"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
anonymous: false
|
|
189
|
+
}
|
|
190
|
+
];
|
|
191
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
192
|
+
0 && (module.exports = {
|
|
193
|
+
iDefaultAccountFactoryV3Abi
|
|
194
|
+
});
|