@plutonlabs/sdk 0.0.34-beta → 0.0.36-beta
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/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +12 -3
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +3 -23
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +12 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +9 -3
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +2 -3
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
- package/dist/seed/networks_seed.json +19 -2
- package/dist/seed/pluton_contracts_seed.json +226 -2
- package/dist/seed/tokens_seed.json +11 -0
- package/package.json +1 -1
@@ -1,9 +1,18 @@
|
|
1
1
|
import { IntentType } from '../../../../../common';
|
2
2
|
import { SelectionStatus } from '../../enums';
|
3
3
|
export declare class QuoteBaseIntentResponseDto {
|
4
|
-
constructor(partial: Partial<
|
4
|
+
constructor(partial: Partial<{
|
5
|
+
id: string;
|
6
|
+
intentType: IntentType;
|
7
|
+
intentRequestId: string;
|
8
|
+
initiationExpiry?: Date;
|
9
|
+
redeemExpiry?: Date;
|
10
|
+
solverId?: string;
|
11
|
+
selectionStatus?: SelectionStatus;
|
12
|
+
amount: string;
|
13
|
+
}>);
|
5
14
|
static from<T extends {
|
6
|
-
id
|
15
|
+
id: string;
|
7
16
|
intentType: IntentType;
|
8
17
|
intentRequestId: string;
|
9
18
|
initiationExpiry?: Date;
|
@@ -13,7 +22,7 @@ export declare class QuoteBaseIntentResponseDto {
|
|
13
22
|
amount: string;
|
14
23
|
}>(obj: T): QuoteBaseIntentResponseDto;
|
15
24
|
static listFrom<T extends {
|
16
|
-
id
|
25
|
+
id: string;
|
17
26
|
intentType: IntentType;
|
18
27
|
intentRequestId: string;
|
19
28
|
initiationExpiry?: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;gBACzB,OAAO,EAAE,OAAO,CAAC,
|
1
|
+
{"version":3,"file":"quote_base_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;gBACzB,OAAO,EAAE,OAAO,CAAC;QAC3B,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;WAIY,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,GAAG,EAAE,CAAC,GAAG,0BAA0B;IAIrC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,0BAA0B,EAAE;IAK1C,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAGH,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,eAAe,CAAgC;IAEjE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,kDAA6D;AAC7D,uCAA8C;AAE9C,MAAa,0BAA0B;IACrC,YAAY,
|
1
|
+
{"version":3,"file":"quote_base_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,kDAA6D;AAC7D,uCAA8C;AAE9C,MAAa,0BAA0B;IACrC,YAAY,OASV;QAyEF,oBAAe,GAAqB,uBAAe,CAAC,YAAY,CAAC;QAxE/D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAWhB,GAAM;QACN,OAAO,IAAI,0BAA0B,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IAED,MAAM,CAAC,QAAQ,CAWb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CAgDF;AA1FD,gEA0FC;AA7CC;IADC,IAAA,wBAAM,GAAE;;sDACG;AAQZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;8DACU;AAMvB;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;oEAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;gEAAC;AAQpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mEACe;AAOxB;IADC,IAAA,wBAAM,GAAE;;4DACS;AAGlB;IADC,IAAA,0BAAQ,GAAE;;mEACsD"}
|
@@ -1,28 +1,8 @@
|
|
1
1
|
import { QuoteBaseIntentResponseDto } from './quote_base_intent_response.dto';
|
2
|
-
import { IntentType } from '../../../../../common';
|
3
|
-
import { SelectionStatus } from '../../enums';
|
4
2
|
export declare class QuoteBridgeIntentResponseDto extends QuoteBaseIntentResponseDto {
|
5
|
-
constructor(partial:
|
6
|
-
static from<
|
7
|
-
|
8
|
-
intentType: IntentType;
|
9
|
-
intentRequestId: string;
|
10
|
-
initiationExpiry?: Date;
|
11
|
-
redeemExpiry?: Date;
|
12
|
-
solverId?: string;
|
13
|
-
selectionStatus?: SelectionStatus;
|
14
|
-
amount: string;
|
15
|
-
}>(obj: T): QuoteBridgeIntentResponseDto;
|
16
|
-
static listFrom<T extends {
|
17
|
-
id?: string;
|
18
|
-
intentType: IntentType;
|
19
|
-
intentRequestId: string;
|
20
|
-
initiationExpiry?: Date;
|
21
|
-
redeemExpiry?: Date;
|
22
|
-
solverId?: string;
|
23
|
-
selectionStatus?: SelectionStatus;
|
24
|
-
amount: string;
|
25
|
-
}>(objs: T[]): QuoteBridgeIntentResponseDto[];
|
3
|
+
constructor(partial: any);
|
4
|
+
static from<Object>(obj: Object): QuoteBridgeIntentResponseDto;
|
5
|
+
static listFrom<Object>(objs: Object[]): QuoteBridgeIntentResponseDto[];
|
26
6
|
/**
|
27
7
|
* @example '10000'
|
28
8
|
* @description Solver response amount of destination token
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAE9D,OAAO,KAAA;WAgBL,IAAI,CAWhB,MAAM,EACN,GAAG,EAAE,MAAM,GAAG,4BAA4B;IAI5C,MAAM,CAAC,QAAQ,CAWb,MAAM,EACN,IAAI,EAAE,MAAM,EAAE,GAAG,4BAA4B,EAAE;IAIjD;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
@@ -14,7 +14,18 @@ const class_validator_1 = require("class-validator");
|
|
14
14
|
const quote_base_intent_response_dto_1 = require("./quote_base_intent_response.dto");
|
15
15
|
const common_1 = require("../../../../../common");
|
16
16
|
class QuoteBridgeIntentResponseDto extends quote_base_intent_response_dto_1.QuoteBaseIntentResponseDto {
|
17
|
-
constructor(partial
|
17
|
+
constructor(partial
|
18
|
+
// Partial<{
|
19
|
+
// id?: string;
|
20
|
+
// intentType: IntentType;
|
21
|
+
// intentRequestId: string;
|
22
|
+
// initiationExpiry?: Date;
|
23
|
+
// redeemExpiry?: Date;
|
24
|
+
// solverId?: string;
|
25
|
+
// selectionStatus?: SelectionStatus;
|
26
|
+
// amount: string;
|
27
|
+
// }>
|
28
|
+
) {
|
18
29
|
super(partial);
|
19
30
|
Object.assign(this, partial);
|
20
31
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qFAA8E;AAC9E,kDAA6D;AAG7D,MAAa,4BAA6B,SAAQ,2DAA0B;IAE1E,YAAY,
|
1
|
+
{"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qFAA8E;AAC9E,kDAA6D;AAG7D,MAAa,4BAA6B,SAAQ,2DAA0B;IAE1E,YAAY,OAAO;IACjB,YAAY;IACZ,iBAAiB;IACjB,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,uBAAuB;IACvB,uCAAuC;IACvC,oBAAoB;IACpB,KAAK;;QAEL,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAYhB,GAAW;QACX,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,QAAQ,CAYb,IAAc;QACd,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CASF;AAzDD,oEAyDC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
|
@@ -1,15 +1,21 @@
|
|
1
1
|
import { QuoteIntentResponseDto } from './quote_intent_response.dto';
|
2
2
|
export declare class QuoteResponseDto {
|
3
|
-
constructor(partial: Partial<
|
3
|
+
constructor(partial: Partial<{
|
4
|
+
intentResponses: Object[];
|
5
|
+
initiationExpiry?: Date;
|
6
|
+
redeemExpiry?: Date;
|
7
|
+
feeEstimate?: string;
|
8
|
+
quoteRequestId?: string;
|
9
|
+
}>);
|
4
10
|
static from<T extends {
|
5
|
-
intentResponses:
|
11
|
+
intentResponses: Object[];
|
6
12
|
initiationExpiry?: Date;
|
7
13
|
redeemExpiry?: Date;
|
8
14
|
feeEstimate?: string;
|
9
15
|
quoteRequestId?: string;
|
10
16
|
}>(obj: T): QuoteResponseDto;
|
11
17
|
static listFrom<T extends {
|
12
|
-
intentResponses:
|
18
|
+
intentResponses: Object[];
|
13
19
|
initiationExpiry?: Date;
|
14
20
|
redeemExpiry?: Date;
|
15
21
|
feeEstimate?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,qBAAa,gBAAgB;gBACf,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,qBAAa,gBAAgB;gBACf,OAAO,EAAE,OAAO,CAAC;QAC3B,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;WAcY,IAAI,CAChB,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAI3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAIhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAGpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
@@ -11,16 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.QuoteResponseDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
const common_1 = require("../../../../../common");
|
15
14
|
const quote_bridge_intent_response_dto_1 = require("./quote_bridge_intent_response.dto");
|
15
|
+
const common_1 = require("../../../../../common");
|
16
16
|
class QuoteResponseDto {
|
17
17
|
constructor(partial) {
|
18
18
|
Object.assign(this, partial);
|
19
19
|
if (partial.intentResponses && partial.intentResponses.length > 0) {
|
20
20
|
for (let i = 0; i < partial.intentResponses.length; i++) {
|
21
|
-
this.intentResponses = [];
|
22
21
|
if (partial.intentResponses[i] instanceof quote_bridge_intent_response_dto_1.QuoteBridgeIntentResponseDto) {
|
23
|
-
this.intentResponses
|
22
|
+
this.intentResponses = quote_bridge_intent_response_dto_1.QuoteBridgeIntentResponseDto.listFrom(partial.intentResponses);
|
24
23
|
}
|
25
24
|
}
|
26
25
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAE3D,yFAAkF;AAClF,kDAAiD;AAEjD,MAAa,gBAAgB;IAC3B,YAAY,OAMV;QACA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7B,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACxD,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,+DAA4B,EAAE,CAAC;oBACvE,IAAI,CAAC,eAAe,GAAG,+DAA4B,CAAC,QAAQ,CAAC,OAAO,CAAC,eAAe,CAAC,CAAA;gBACvF,CAAC;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,EAAE,CAAA;QAC3B,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,IAAI,CAQhB,GAAM;QACN,OAAO,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,QAAQ,CAQb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;CA4CF;AAvFD,4CAuFC;AAhBC;IADC,IAAA,0BAAQ,GAAE;;qDACU;AAMrB;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDACe"}
|
@@ -70,8 +70,25 @@
|
|
70
70
|
"chainId": 5000,
|
71
71
|
"lastParsedBlock": 0,
|
72
72
|
"confirmationCount": 3,
|
73
|
-
"providers": [
|
74
|
-
|
73
|
+
"providers": [
|
74
|
+
{
|
75
|
+
"name": "public",
|
76
|
+
"coinType": 5000,
|
77
|
+
"chainId": 5000,
|
78
|
+
"protocolType": 1,
|
79
|
+
"url": "https://mantle-rpc.publicnode.com",
|
80
|
+
"apiKey": ""
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"name": "public",
|
84
|
+
"coinType": 5000,
|
85
|
+
"chainId": 5000,
|
86
|
+
"protocolType": 2,
|
87
|
+
"url": "wss://mantle-rpc.publicnode.com",
|
88
|
+
"apiKey": ""
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"isActive": true
|
75
92
|
},
|
76
93
|
{
|
77
94
|
"name": "TON",
|
@@ -540,7 +540,113 @@
|
|
540
540
|
},
|
541
541
|
"proxy": {
|
542
542
|
"address": "0x8bC1Aff4D3de49bD9B710c31638d82E502CF4C68",
|
543
|
-
"abi": [
|
543
|
+
"abi": [
|
544
|
+
{
|
545
|
+
"type": "constructor",
|
546
|
+
"inputs": [
|
547
|
+
{
|
548
|
+
"name": "_rangoDiamondAddress",
|
549
|
+
"type": "address",
|
550
|
+
"internalType": "address"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"name": "_plutonContractAddress",
|
554
|
+
"type": "address",
|
555
|
+
"internalType": "address"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"name": "_baseTokenAddress",
|
559
|
+
"type": "address",
|
560
|
+
"internalType": "address"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"stateMutability": "nonpayable"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"type": "function",
|
567
|
+
"name": "baseTokenAddress",
|
568
|
+
"inputs": [],
|
569
|
+
"outputs": [
|
570
|
+
{ "name": "", "type": "address", "internalType": "address" }
|
571
|
+
],
|
572
|
+
"stateMutability": "view"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"type": "function",
|
576
|
+
"name": "plutonContract",
|
577
|
+
"inputs": [],
|
578
|
+
"outputs": [
|
579
|
+
{
|
580
|
+
"name": "",
|
581
|
+
"type": "address",
|
582
|
+
"internalType": "contract PlutonContract"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"stateMutability": "view"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"type": "function",
|
589
|
+
"name": "rangoDiamondAddress",
|
590
|
+
"inputs": [],
|
591
|
+
"outputs": [
|
592
|
+
{ "name": "", "type": "address", "internalType": "address" }
|
593
|
+
],
|
594
|
+
"stateMutability": "view"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"type": "function",
|
598
|
+
"name": "swapAndpluton",
|
599
|
+
"inputs": [
|
600
|
+
{
|
601
|
+
"name": "plutonRequest",
|
602
|
+
"type": "tuple",
|
603
|
+
"internalType": "struct IPlutonMiddleware.PlutonRequest",
|
604
|
+
"components": [
|
605
|
+
{ "name": "id", "type": "bytes", "internalType": "bytes" },
|
606
|
+
{
|
607
|
+
"name": "user",
|
608
|
+
"type": "address",
|
609
|
+
"internalType": "address"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"name": "initiationExpiry",
|
613
|
+
"type": "uint256",
|
614
|
+
"internalType": "uint256"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"name": "orderDataType",
|
618
|
+
"type": "bytes32",
|
619
|
+
"internalType": "bytes32"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"name": "orderData",
|
623
|
+
"type": "bytes",
|
624
|
+
"internalType": "bytes"
|
625
|
+
}
|
626
|
+
]
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"name": "srcTokenAddress",
|
630
|
+
"type": "address",
|
631
|
+
"internalType": "address"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"name": "amountIn",
|
635
|
+
"type": "uint256",
|
636
|
+
"internalType": "uint256"
|
637
|
+
},
|
638
|
+
{ "name": "swapCallData", "type": "bytes", "internalType": "bytes" }
|
639
|
+
],
|
640
|
+
"outputs": [],
|
641
|
+
"stateMutability": "payable"
|
642
|
+
},
|
643
|
+
{ "type": "error", "name": "RangoSwapFailed", "inputs": [] },
|
644
|
+
{
|
645
|
+
"type": "error",
|
646
|
+
"name": "ReentrancyGuardReentrantCall",
|
647
|
+
"inputs": []
|
648
|
+
}
|
649
|
+
]
|
544
650
|
}
|
545
651
|
},
|
546
652
|
{
|
@@ -1084,7 +1190,125 @@
|
|
1084
1190
|
},
|
1085
1191
|
"proxy": {
|
1086
1192
|
"address": "0x9498873819b83C144cC7cF824493Ab1dCa29ab3F",
|
1087
|
-
"abi": [
|
1193
|
+
"abi": [
|
1194
|
+
{
|
1195
|
+
"type": "constructor",
|
1196
|
+
"inputs": [
|
1197
|
+
{
|
1198
|
+
"name": "_rangoDiamondAddress",
|
1199
|
+
"type": "address",
|
1200
|
+
"internalType": "address"
|
1201
|
+
},
|
1202
|
+
{
|
1203
|
+
"name": "_plutonContractAddress",
|
1204
|
+
"type": "address",
|
1205
|
+
"internalType": "address"
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"name": "_baseTokenAddress",
|
1209
|
+
"type": "address",
|
1210
|
+
"internalType": "address"
|
1211
|
+
}
|
1212
|
+
],
|
1213
|
+
"stateMutability": "nonpayable"
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
"type": "function",
|
1217
|
+
"name": "baseTokenAddress",
|
1218
|
+
"inputs": [],
|
1219
|
+
"outputs": [
|
1220
|
+
{ "name": "", "type": "address", "internalType": "address" }
|
1221
|
+
],
|
1222
|
+
"stateMutability": "view"
|
1223
|
+
},
|
1224
|
+
{
|
1225
|
+
"type": "function",
|
1226
|
+
"name": "plutonContract",
|
1227
|
+
"inputs": [],
|
1228
|
+
"outputs": [
|
1229
|
+
{
|
1230
|
+
"name": "",
|
1231
|
+
"type": "address",
|
1232
|
+
"internalType": "contract PlutonContract"
|
1233
|
+
}
|
1234
|
+
],
|
1235
|
+
"stateMutability": "view"
|
1236
|
+
},
|
1237
|
+
{
|
1238
|
+
"type": "function",
|
1239
|
+
"name": "rangoDiamondAddress",
|
1240
|
+
"inputs": [],
|
1241
|
+
"outputs": [
|
1242
|
+
{ "name": "", "type": "address", "internalType": "address" }
|
1243
|
+
],
|
1244
|
+
"stateMutability": "view"
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
"type": "function",
|
1248
|
+
"name": "swapAndpluton",
|
1249
|
+
"inputs": [
|
1250
|
+
{
|
1251
|
+
"name": "plutonRequest",
|
1252
|
+
"type": "tuple",
|
1253
|
+
"internalType": "struct IPlutonMiddleware.PlutonRequest",
|
1254
|
+
"components": [
|
1255
|
+
{ "name": "id", "type": "bytes", "internalType": "bytes" },
|
1256
|
+
{
|
1257
|
+
"name": "user",
|
1258
|
+
"type": "address",
|
1259
|
+
"internalType": "address"
|
1260
|
+
},
|
1261
|
+
{
|
1262
|
+
"name": "initiationExpiry",
|
1263
|
+
"type": "uint256",
|
1264
|
+
"internalType": "uint256"
|
1265
|
+
},
|
1266
|
+
{
|
1267
|
+
"name": "orderDataType",
|
1268
|
+
"type": "bytes32",
|
1269
|
+
"internalType": "bytes32"
|
1270
|
+
},
|
1271
|
+
{
|
1272
|
+
"name": "orderData",
|
1273
|
+
"type": "bytes",
|
1274
|
+
"internalType": "bytes"
|
1275
|
+
}
|
1276
|
+
]
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"name": "srcTokenAddress",
|
1280
|
+
"type": "address",
|
1281
|
+
"internalType": "address"
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
"name": "amountIn",
|
1285
|
+
"type": "uint256",
|
1286
|
+
"internalType": "uint256"
|
1287
|
+
},
|
1288
|
+
{ "name": "swapCallData", "type": "bytes", "internalType": "bytes" }
|
1289
|
+
],
|
1290
|
+
"outputs": [],
|
1291
|
+
"stateMutability": "payable"
|
1292
|
+
},
|
1293
|
+
{ "type": "error", "name": "RangoSwapFailed", "inputs": [] },
|
1294
|
+
{
|
1295
|
+
"type": "error",
|
1296
|
+
"name": "ReentrancyGuardReentrantCall",
|
1297
|
+
"inputs": []
|
1298
|
+
}
|
1299
|
+
]
|
1300
|
+
}
|
1301
|
+
},
|
1302
|
+
{
|
1303
|
+
"coinType": 5000,
|
1304
|
+
"chainId": 5000,
|
1305
|
+
"pluton": {
|
1306
|
+
"address": "0x2C07aD3B59791F630E109C822af6f9f09392C661",
|
1307
|
+
"abi": []
|
1308
|
+
},
|
1309
|
+
"proxy": {
|
1310
|
+
"address": "0x9498873819b83C144cC7cF824493Ab1dCa29ab3F",
|
1311
|
+
"abi": []
|
1088
1312
|
}
|
1089
1313
|
}
|
1090
1314
|
]
|
@@ -109,6 +109,17 @@
|
|
109
109
|
"isNative": true,
|
110
110
|
"isBase": false
|
111
111
|
},
|
112
|
+
{
|
113
|
+
"name": "Wrapped Mantle",
|
114
|
+
"symbol": "WMNT",
|
115
|
+
"address": "0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8",
|
116
|
+
"decimals": 18,
|
117
|
+
"img": "https://zengo.com/wp-content/uploads/wETH_desktop.svg",
|
118
|
+
"coinType": 5000,
|
119
|
+
"chainId": 5000,
|
120
|
+
"isNative": false,
|
121
|
+
"isBase": false
|
122
|
+
},
|
112
123
|
{
|
113
124
|
"name": "Tether USD",
|
114
125
|
"symbol": "USDT",
|