@flarenetwork/flare-periphery-contract-artifacts 0.1.6 → 0.1.8
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/coston/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/coston2/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/dist/coston/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/dist/coston/index.d.ts +2 -1
- package/dist/coston/index.d.ts.map +1 -1
- package/dist/coston/index.js +15 -1
- package/dist/coston/index.js.map +1 -1
- package/dist/coston2/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/dist/flare/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30 -3
- package/dist/index.js.map +1 -1
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/flare/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
- package/package.json +1 -1
- package/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +14 -1
|
@@ -200,6 +200,19 @@
|
|
|
200
200
|
"name": "PriceRevealed",
|
|
201
201
|
"type": "event"
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"inputs": [],
|
|
205
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "",
|
|
210
|
+
"type": "uint256"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"stateMutability": "view",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
203
216
|
{
|
|
204
217
|
"inputs": [
|
|
205
218
|
{
|
|
@@ -950,4 +963,4 @@
|
|
|
950
963
|
"deployedBytecode": "0x",
|
|
951
964
|
"linkReferences": {},
|
|
952
965
|
"deployedLinkReferences": {}
|
|
953
|
-
}
|
|
966
|
+
}
|
|
@@ -163,6 +163,19 @@
|
|
|
163
163
|
"name": "PriceRevealed",
|
|
164
164
|
"type": "event"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
166
179
|
{
|
|
167
180
|
"inputs": [
|
|
168
181
|
{
|
|
@@ -885,4 +898,4 @@
|
|
|
885
898
|
"deployedBytecode": "0x",
|
|
886
899
|
"linkReferences": {},
|
|
887
900
|
"deployedLinkReferences": {}
|
|
888
|
-
}
|
|
901
|
+
}
|
|
@@ -200,6 +200,19 @@
|
|
|
200
200
|
"name": "PriceRevealed",
|
|
201
201
|
"type": "event"
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"inputs": [],
|
|
205
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "",
|
|
210
|
+
"type": "uint256"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"stateMutability": "view",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
203
216
|
{
|
|
204
217
|
"inputs": [
|
|
205
218
|
{
|
|
@@ -950,4 +963,4 @@
|
|
|
950
963
|
"deployedBytecode": "0x",
|
|
951
964
|
"linkReferences": {},
|
|
952
965
|
"deployedLinkReferences": {}
|
|
953
|
-
}
|
|
966
|
+
}
|
package/dist/coston/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../coston/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../coston/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAGjC,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC"}
|
package/dist/coston/index.js
CHANGED
|
@@ -10,10 +10,24 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
13
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
20
|
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
29
|
+
exports.stateConnector = void 0;
|
|
18
30
|
__exportStar(require("./deploys/addresses"), exports);
|
|
31
|
+
__exportStar(require("./deploys/mapper"), exports);
|
|
32
|
+
exports.stateConnector = __importStar(require("./StateConnector/libs/ts/utils"));
|
|
19
33
|
//# sourceMappingURL=index.js.map
|
package/dist/coston/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../coston/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../coston/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,mDAAiC;AAGjC,iFAAiE"}
|
|
@@ -163,6 +163,19 @@
|
|
|
163
163
|
"name": "PriceRevealed",
|
|
164
164
|
"type": "event"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
166
179
|
{
|
|
167
180
|
"inputs": [
|
|
168
181
|
{
|
|
@@ -885,4 +898,4 @@
|
|
|
885
898
|
"deployedBytecode": "0x",
|
|
886
899
|
"linkReferences": {},
|
|
887
900
|
"deployedLinkReferences": {}
|
|
888
|
-
}
|
|
901
|
+
}
|
|
@@ -163,6 +163,19 @@
|
|
|
163
163
|
"name": "PriceRevealed",
|
|
164
164
|
"type": "event"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
166
179
|
{
|
|
167
180
|
"inputs": [
|
|
168
181
|
{
|
|
@@ -885,4 +898,4 @@
|
|
|
885
898
|
"deployedBytecode": "0x",
|
|
886
899
|
"linkReferences": {},
|
|
887
900
|
"deployedLinkReferences": {}
|
|
888
|
-
}
|
|
901
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,8 @@ export declare const nameToAbi: (name: string, network: string) => {
|
|
|
4
4
|
data: any;
|
|
5
5
|
status: string;
|
|
6
6
|
};
|
|
7
|
+
export * as coston from "./coston";
|
|
8
|
+
export * as coston2 from "./coston2";
|
|
9
|
+
export * as flare from "./flare";
|
|
10
|
+
export * as songbird from "./songbird";
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa,SAAU,MAAM,WAAW,MAAM,KAAG,MAM7D,CAAC;AAEF,eAAO,MAAM,aAAa,YAAa,MAAM,WAAW,MAAM,KAAG,MAMhE,CAAC;AAEF,eAAO,MAAM,SAAS,SACd,MAAM,WACH,MAAM,KACd;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,QAAQ,MAAM,CAAA;CAM7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa,SAAU,MAAM,WAAW,MAAM,KAAG,MAM7D,CAAC;AAEF,eAAO,MAAM,aAAa,YAAa,MAAM,WAAW,MAAM,KAAG,MAMhE,CAAC;AAEF,eAAO,MAAM,SAAS,SACd,MAAM,WACH,MAAM,KACd;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,QAAQ,MAAM,CAAA;CAM7B,CAAC;AAEF,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nameToAbi = exports.addressToName = exports.nameToAddress = void 0;
|
|
4
|
-
const flare_1 = require("./flare");
|
|
5
|
-
const songbird_1 = require("./songbird");
|
|
26
|
+
exports.songbird = exports.flare = exports.coston2 = exports.coston = exports.nameToAbi = exports.addressToName = exports.nameToAddress = void 0;
|
|
6
27
|
const coston_1 = require("./coston");
|
|
7
28
|
const coston2_1 = require("./coston2");
|
|
29
|
+
const flare_1 = require("./flare");
|
|
30
|
+
const songbird_1 = require("./songbird");
|
|
8
31
|
const nameToAddress = (name, network) => {
|
|
9
32
|
if (network.toLowerCase() == "flare")
|
|
10
33
|
return (0, flare_1.nameToAddress)(name);
|
|
@@ -41,4 +64,8 @@ const nameToAbi = (name, network) => {
|
|
|
41
64
|
return { data: [], status: "Please select a network" };
|
|
42
65
|
};
|
|
43
66
|
exports.nameToAbi = nameToAbi;
|
|
67
|
+
exports.coston = __importStar(require("./coston"));
|
|
68
|
+
exports.coston2 = __importStar(require("./coston2"));
|
|
69
|
+
exports.flare = __importStar(require("./flare"));
|
|
70
|
+
exports.songbird = __importStar(require("./songbird"));
|
|
44
71
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAIkB;AAClB,uCAImB;AACnB,mCAIiB;AACjB,yCAIoB;AAEb,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,OAAe,EAAU,EAAE;IACrE,IAAI,OAAO,CAAC,WAAW,EAAE,IAAI,OAAO;QAAE,OAAO,IAAA,qBAAgB,EAAC,IAAI,CAAC,CAAC;IACpE,IAAI,OAAO,CAAC,WAAW,EAAE,IAAI,UAAU;QAAE,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,CAAC;IACvE,IAAI,OAAO,CAAC,WAAW,EAAE,IAAI,QAAQ;QAAE,OAAO,IAAA,sBAAgB,EAAC,IAAI,CAAC,CAAC;IACrE,IAAI,OAAO,CAAC,WAAW,EAAE,IAAI,SAAS;QAAE,OAAO,IAAA,uBAAiB,EAAC,IAAI,CAAC,CAAC;IACvE,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB;AAEK,MAAM,aAAa,GAAG,CAAC,OA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
+
"inputs": [],
|
|
205
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "",
|
|
210
|
+
"type": "uint256"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"stateMutability": "view",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
203
216
|
{
|
|
204
217
|
"inputs": [
|
|
205
218
|
{
|
|
@@ -950,4 +963,4 @@
|
|
|
950
963
|
"deployedBytecode": "0x",
|
|
951
964
|
"linkReferences": {},
|
|
952
965
|
"deployedLinkReferences": {}
|
|
953
|
-
}
|
|
966
|
+
}
|
|
@@ -163,6 +163,19 @@
|
|
|
163
163
|
"name": "PriceRevealed",
|
|
164
164
|
"type": "event"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
166
179
|
{
|
|
167
180
|
"inputs": [
|
|
168
181
|
{
|
|
@@ -885,4 +898,4 @@
|
|
|
885
898
|
"deployedBytecode": "0x",
|
|
886
899
|
"linkReferences": {},
|
|
887
900
|
"deployedLinkReferences": {}
|
|
888
|
-
}
|
|
901
|
+
}
|
package/package.json
CHANGED
|
@@ -200,6 +200,19 @@
|
|
|
200
200
|
"name": "PriceRevealed",
|
|
201
201
|
"type": "event"
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"inputs": [],
|
|
205
|
+
"name": "ASSET_PRICE_USD_DECIMALS",
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "",
|
|
210
|
+
"type": "uint256"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"stateMutability": "view",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
203
216
|
{
|
|
204
217
|
"inputs": [
|
|
205
218
|
{
|
|
@@ -950,4 +963,4 @@
|
|
|
950
963
|
"deployedBytecode": "0x",
|
|
951
964
|
"linkReferences": {},
|
|
952
965
|
"deployedLinkReferences": {}
|
|
953
|
-
}
|
|
966
|
+
}
|