@orbs-network/twap 2.2.10 → 2.2.12
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/package.json +1 -1
- package/taker.abi.json +153 -131
package/package.json
CHANGED
package/taker.abi.json
CHANGED
|
@@ -1,133 +1,155 @@
|
|
|
1
1
|
[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"type": "
|
|
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
|
-
|
|
2
|
+
{
|
|
3
|
+
"type": "constructor",
|
|
4
|
+
"inputs": [],
|
|
5
|
+
"stateMutability": "nonpayable"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "receive",
|
|
9
|
+
"stateMutability": "payable"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "function",
|
|
13
|
+
"name": "allowed",
|
|
14
|
+
"inputs": [],
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"name": "",
|
|
18
|
+
"type": "address",
|
|
19
|
+
"internalType": "contract IAllowed"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"stateMutability": "view"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "function",
|
|
26
|
+
"name": "bid",
|
|
27
|
+
"inputs": [
|
|
28
|
+
{
|
|
29
|
+
"name": "id",
|
|
30
|
+
"type": "uint64",
|
|
31
|
+
"internalType": "uint64"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "exchange",
|
|
35
|
+
"type": "address",
|
|
36
|
+
"internalType": "address"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "dstFee",
|
|
40
|
+
"type": "uint256",
|
|
41
|
+
"internalType": "uint256"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "slippagePercent",
|
|
45
|
+
"type": "uint32",
|
|
46
|
+
"internalType": "uint32"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "data",
|
|
50
|
+
"type": "bytes",
|
|
51
|
+
"internalType": "bytes"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"outputs": [],
|
|
55
|
+
"stateMutability": "nonpayable"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "function",
|
|
59
|
+
"name": "fill",
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"name": "id",
|
|
63
|
+
"type": "uint64",
|
|
64
|
+
"internalType": "uint64"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "fee",
|
|
68
|
+
"type": "address",
|
|
69
|
+
"internalType": "address"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "dstSenderAmount",
|
|
73
|
+
"type": "uint256",
|
|
74
|
+
"internalType": "uint256"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "feeSwapExchange",
|
|
78
|
+
"type": "address",
|
|
79
|
+
"internalType": "address"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "feeSwapData",
|
|
83
|
+
"type": "bytes",
|
|
84
|
+
"internalType": "bytes"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"outputs": [],
|
|
88
|
+
"stateMutability": "nonpayable"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "function",
|
|
92
|
+
"name": "init",
|
|
93
|
+
"inputs": [
|
|
94
|
+
{
|
|
95
|
+
"name": "_twap",
|
|
96
|
+
"type": "address",
|
|
97
|
+
"internalType": "contract TWAP"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "_allowed",
|
|
101
|
+
"type": "address",
|
|
102
|
+
"internalType": "contract IAllowed"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"outputs": [],
|
|
106
|
+
"stateMutability": "nonpayable"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "rescue",
|
|
111
|
+
"inputs": [
|
|
112
|
+
{
|
|
113
|
+
"name": "token",
|
|
114
|
+
"type": "address",
|
|
115
|
+
"internalType": "address"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "to",
|
|
119
|
+
"type": "address",
|
|
120
|
+
"internalType": "address"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "amount",
|
|
124
|
+
"type": "uint256",
|
|
125
|
+
"internalType": "uint256"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"outputs": [],
|
|
129
|
+
"stateMutability": "nonpayable"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "function",
|
|
133
|
+
"name": "twap",
|
|
134
|
+
"inputs": [],
|
|
135
|
+
"outputs": [
|
|
136
|
+
{
|
|
137
|
+
"name": "",
|
|
138
|
+
"type": "address",
|
|
139
|
+
"internalType": "contract TWAP"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"stateMutability": "view"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "error",
|
|
146
|
+
"name": "NotAllowed",
|
|
147
|
+
"inputs": [
|
|
148
|
+
{
|
|
149
|
+
"name": "caller",
|
|
150
|
+
"type": "address",
|
|
151
|
+
"internalType": "address"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
133
155
|
]
|