@dhedge/backend-flatcoin-core 0.1.30 → 0.1.31
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.
|
@@ -2,185 +2,183 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LimitOrder = void 0;
|
|
4
4
|
exports.LimitOrder = [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
},
|
|
185
|
-
],
|
|
5
|
+
{
|
|
6
|
+
anonymous: false,
|
|
7
|
+
inputs: [
|
|
8
|
+
{
|
|
9
|
+
indexed: false,
|
|
10
|
+
internalType: 'uint8',
|
|
11
|
+
name: 'version',
|
|
12
|
+
type: 'uint8',
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
name: 'Initialized',
|
|
16
|
+
type: 'event',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: 'MODULE_KEY',
|
|
21
|
+
outputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: 'bytes32',
|
|
24
|
+
name: '',
|
|
25
|
+
type: 'bytes32',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
stateMutability: 'view',
|
|
29
|
+
type: 'function',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: 'uint256',
|
|
35
|
+
name: 'tokenId',
|
|
36
|
+
type: 'uint256',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: 'uint256',
|
|
40
|
+
name: 'priceLowerThreshold',
|
|
41
|
+
type: 'uint256',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: 'uint256',
|
|
45
|
+
name: 'priceUpperThreshold',
|
|
46
|
+
type: 'uint256',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: 'announceLimitOrder',
|
|
50
|
+
outputs: [],
|
|
51
|
+
stateMutability: 'nonpayable',
|
|
52
|
+
type: 'function',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: 'uint256',
|
|
58
|
+
name: 'tokenId',
|
|
59
|
+
type: 'uint256',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
name: 'cancelExistingLimitOrder',
|
|
63
|
+
outputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: 'bool',
|
|
66
|
+
name: 'cancelled',
|
|
67
|
+
type: 'bool',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
stateMutability: 'nonpayable',
|
|
71
|
+
type: 'function',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: 'uint256',
|
|
77
|
+
name: 'tokenId',
|
|
78
|
+
type: 'uint256',
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: 'cancelLimitOrder',
|
|
82
|
+
outputs: [],
|
|
83
|
+
stateMutability: 'nonpayable',
|
|
84
|
+
type: 'function',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
internalType: 'uint256',
|
|
90
|
+
name: 'tokenId',
|
|
91
|
+
type: 'uint256',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
internalType: 'bytes[]',
|
|
95
|
+
name: 'priceUpdateData',
|
|
96
|
+
type: 'bytes[]',
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
name: 'executeLimitOrder',
|
|
100
|
+
outputs: [],
|
|
101
|
+
stateMutability: 'payable',
|
|
102
|
+
type: 'function',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
internalType: 'uint256',
|
|
108
|
+
name: 'tokenId',
|
|
109
|
+
type: 'uint256',
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
name: 'getLimitOrder',
|
|
113
|
+
outputs: [
|
|
114
|
+
{
|
|
115
|
+
components: [
|
|
116
|
+
{
|
|
117
|
+
internalType: 'enum FlatcoinStructs.OrderType',
|
|
118
|
+
name: 'orderType',
|
|
119
|
+
type: 'uint8',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
internalType: 'uint256',
|
|
123
|
+
name: 'keeperFee',
|
|
124
|
+
type: 'uint256',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
internalType: 'uint64',
|
|
128
|
+
name: 'executableAtTime',
|
|
129
|
+
type: 'uint64',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
internalType: 'bytes',
|
|
133
|
+
name: 'orderData',
|
|
134
|
+
type: 'bytes',
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
internalType: 'struct FlatcoinStructs.Order',
|
|
138
|
+
name: 'order',
|
|
139
|
+
type: 'tuple',
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
stateMutability: 'view',
|
|
143
|
+
type: 'function',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: 'contract IFlatcoinVault',
|
|
149
|
+
name: '_vault',
|
|
150
|
+
type: 'address',
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
name: 'initialize',
|
|
154
|
+
outputs: [],
|
|
155
|
+
stateMutability: 'nonpayable',
|
|
156
|
+
type: 'function',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
inputs: [
|
|
160
|
+
{
|
|
161
|
+
internalType: 'contract IFlatcoinVault',
|
|
162
|
+
name: '_vault',
|
|
163
|
+
type: 'address',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: 'setVault',
|
|
167
|
+
outputs: [],
|
|
168
|
+
stateMutability: 'nonpayable',
|
|
169
|
+
type: 'function',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: 'vault',
|
|
174
|
+
outputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: 'contract IFlatcoinVault',
|
|
177
|
+
name: '',
|
|
178
|
+
type: 'address',
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
stateMutability: 'view',
|
|
182
|
+
type: 'function',
|
|
183
|
+
},
|
|
186
184
|
];
|