@gearbox-protocol/sdk 11.12.3 → 11.12.4
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/permissionless/bindings/factory/loss-policy-factory.js +55 -0
- package/dist/cjs/permissionless/bindings/market-configurator.js +48 -1
- package/dist/esm/permissionless/bindings/factory/loss-policy-factory.js +30 -0
- package/dist/esm/permissionless/bindings/market-configurator.js +48 -1
- package/dist/types/permissionless/bindings/factory/loss-policy-factory.d.ts +143 -0
- package/dist/types/permissionless/bindings/market-configurator.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
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 loss_policy_factory_exports = {};
|
|
20
|
+
__export(loss_policy_factory_exports, {
|
|
21
|
+
AccessMode: () => AccessMode,
|
|
22
|
+
LossPolicyFactory: () => LossPolicyFactory
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(loss_policy_factory_exports);
|
|
25
|
+
var import_generated = require("../../../abi/310/generated.js");
|
|
26
|
+
var import_abstract_factory = require("./abstract-factory.js");
|
|
27
|
+
const abi = import_generated.iLossPolicyV310Abi;
|
|
28
|
+
var AccessMode = /* @__PURE__ */ ((AccessMode2) => {
|
|
29
|
+
AccessMode2[AccessMode2["Permissionless"] = 0] = "Permissionless";
|
|
30
|
+
AccessMode2[AccessMode2["Permissioned"] = 1] = "Permissioned";
|
|
31
|
+
AccessMode2[AccessMode2["Forbidden"] = 2] = "Forbidden";
|
|
32
|
+
return AccessMode2;
|
|
33
|
+
})(AccessMode || {});
|
|
34
|
+
class LossPolicyFactory extends import_abstract_factory.AbstractFactory {
|
|
35
|
+
constructor() {
|
|
36
|
+
super(abi);
|
|
37
|
+
}
|
|
38
|
+
setAccessMode(args) {
|
|
39
|
+
return this.createCallData({
|
|
40
|
+
functionName: "setAccessMode",
|
|
41
|
+
args: [args.accessMode]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
setChecksEnabled(args) {
|
|
45
|
+
return this.createCallData({
|
|
46
|
+
functionName: "setChecksEnabled",
|
|
47
|
+
args: [args.enabled]
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
AccessMode,
|
|
54
|
+
LossPolicyFactory
|
|
55
|
+
});
|
|
@@ -29,6 +29,7 @@ var import_plugins = require("../plugins/index.js");
|
|
|
29
29
|
var import_create2 = require("../utils/create2.js");
|
|
30
30
|
var import_utils2 = require("../utils/index.js");
|
|
31
31
|
var import_credit_factory = require("./factory/credit-factory.js");
|
|
32
|
+
var import_loss_policy_factory = require("./factory/loss-policy-factory.js");
|
|
32
33
|
var import_pool_factory = require("./factory/pool-factory.js");
|
|
33
34
|
var import_price_oracle_factory = require("./factory/price-oracle-factory.js");
|
|
34
35
|
var import_index = require("./index.js");
|
|
@@ -37,11 +38,13 @@ class MarketConfiguratorContract extends import_index.BaseContract {
|
|
|
37
38
|
creditFactory;
|
|
38
39
|
poolFactory;
|
|
39
40
|
priceOracleFactory;
|
|
41
|
+
lossPolicyFactory;
|
|
40
42
|
constructor(address, client) {
|
|
41
43
|
super(abi, address, client, "MarketConfigurator");
|
|
42
44
|
this.creditFactory = new import_credit_factory.CreditFactory();
|
|
43
45
|
this.poolFactory = new import_pool_factory.PoolFactory();
|
|
44
46
|
this.priceOracleFactory = new import_price_oracle_factory.PriceOracleFactory();
|
|
47
|
+
this.lossPolicyFactory = new import_loss_policy_factory.LossPolicyFactory();
|
|
45
48
|
}
|
|
46
49
|
async getAddressProvider() {
|
|
47
50
|
const addressProvider = await this.contract.read.addressProvider();
|
|
@@ -398,6 +401,22 @@ class MarketConfiguratorContract extends import_index.BaseContract {
|
|
|
398
401
|
]),
|
|
399
402
|
functionName: "getRoleHolders",
|
|
400
403
|
args: [(0, import_viem.stringToHex)("UNPAUSABLE_ADMIN", { size: 32 })]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
address: acl,
|
|
407
|
+
abi: (0, import_viem.parseAbi)([
|
|
408
|
+
"function getRoleHolders(bytes32) view returns (address[])"
|
|
409
|
+
]),
|
|
410
|
+
functionName: "getRoleHolders",
|
|
411
|
+
args: [(0, import_viem.stringToHex)("LOSS_LIQUIDATOR", { size: 32 })]
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
address: acl,
|
|
415
|
+
abi: (0, import_viem.parseAbi)([
|
|
416
|
+
"function getRoleHolders(bytes32) view returns (address[])"
|
|
417
|
+
]),
|
|
418
|
+
functionName: "getRoleHolders",
|
|
419
|
+
args: [(0, import_viem.stringToHex)("EMERGENCY_LIQUIDATOR", { size: 32 })]
|
|
401
420
|
}
|
|
402
421
|
]
|
|
403
422
|
});
|
|
@@ -406,7 +425,9 @@ class MarketConfiguratorContract extends import_index.BaseContract {
|
|
|
406
425
|
emergencyAdmin,
|
|
407
426
|
treasury,
|
|
408
427
|
pausableAdmins: [...results[0]],
|
|
409
|
-
unpausableAdmins: [...results[1]]
|
|
428
|
+
unpausableAdmins: [...results[1]],
|
|
429
|
+
lossLiquidators: [...results[2]],
|
|
430
|
+
emergencyLiquidators: [...results[3]]
|
|
410
431
|
};
|
|
411
432
|
}
|
|
412
433
|
async multipause() {
|
|
@@ -693,6 +714,32 @@ class MarketConfiguratorContract extends import_index.BaseContract {
|
|
|
693
714
|
}
|
|
694
715
|
};
|
|
695
716
|
}
|
|
717
|
+
case "configureLossPolicy": {
|
|
718
|
+
const [pool, calldata] = args;
|
|
719
|
+
const decoded = this.lossPolicyFactory.decodeConfig(calldata);
|
|
720
|
+
if (decoded) {
|
|
721
|
+
return {
|
|
722
|
+
chainId: 0,
|
|
723
|
+
target: this.address,
|
|
724
|
+
label: this.name,
|
|
725
|
+
functionName,
|
|
726
|
+
args: {
|
|
727
|
+
pool,
|
|
728
|
+
data: (0, import_utils.json_stringify)(decoded)
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
return {
|
|
733
|
+
chainId: 0,
|
|
734
|
+
target: this.address,
|
|
735
|
+
label: this.name,
|
|
736
|
+
functionName,
|
|
737
|
+
args: {
|
|
738
|
+
pool,
|
|
739
|
+
calldata
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
}
|
|
696
743
|
case "updateInterestRateModel": {
|
|
697
744
|
const [pool, deployParams] = args;
|
|
698
745
|
return {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { iLossPolicyV310Abi } from "../../../abi/310/generated.js";
|
|
2
|
+
import { AbstractFactory } from "./abstract-factory.js";
|
|
3
|
+
const abi = iLossPolicyV310Abi;
|
|
4
|
+
var AccessMode = /* @__PURE__ */ ((AccessMode2) => {
|
|
5
|
+
AccessMode2[AccessMode2["Permissionless"] = 0] = "Permissionless";
|
|
6
|
+
AccessMode2[AccessMode2["Permissioned"] = 1] = "Permissioned";
|
|
7
|
+
AccessMode2[AccessMode2["Forbidden"] = 2] = "Forbidden";
|
|
8
|
+
return AccessMode2;
|
|
9
|
+
})(AccessMode || {});
|
|
10
|
+
class LossPolicyFactory extends AbstractFactory {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(abi);
|
|
13
|
+
}
|
|
14
|
+
setAccessMode(args) {
|
|
15
|
+
return this.createCallData({
|
|
16
|
+
functionName: "setAccessMode",
|
|
17
|
+
args: [args.accessMode]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
setChecksEnabled(args) {
|
|
21
|
+
return this.createCallData({
|
|
22
|
+
functionName: "setChecksEnabled",
|
|
23
|
+
args: [args.enabled]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
AccessMode,
|
|
29
|
+
LossPolicyFactory
|
|
30
|
+
};
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
import { handleSalt } from "../utils/create2.js";
|
|
25
25
|
import { convertPercent } from "../utils/index.js";
|
|
26
26
|
import { CreditFactory } from "./factory/credit-factory.js";
|
|
27
|
+
import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
|
|
27
28
|
import { PoolFactory } from "./factory/pool-factory.js";
|
|
28
29
|
import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
|
|
29
30
|
import { AddressProviderContract, BaseContract } from "./index.js";
|
|
@@ -32,11 +33,13 @@ class MarketConfiguratorContract extends BaseContract {
|
|
|
32
33
|
creditFactory;
|
|
33
34
|
poolFactory;
|
|
34
35
|
priceOracleFactory;
|
|
36
|
+
lossPolicyFactory;
|
|
35
37
|
constructor(address, client) {
|
|
36
38
|
super(abi, address, client, "MarketConfigurator");
|
|
37
39
|
this.creditFactory = new CreditFactory();
|
|
38
40
|
this.poolFactory = new PoolFactory();
|
|
39
41
|
this.priceOracleFactory = new PriceOracleFactory();
|
|
42
|
+
this.lossPolicyFactory = new LossPolicyFactory();
|
|
40
43
|
}
|
|
41
44
|
async getAddressProvider() {
|
|
42
45
|
const addressProvider = await this.contract.read.addressProvider();
|
|
@@ -393,6 +396,22 @@ class MarketConfiguratorContract extends BaseContract {
|
|
|
393
396
|
]),
|
|
394
397
|
functionName: "getRoleHolders",
|
|
395
398
|
args: [stringToHex("UNPAUSABLE_ADMIN", { size: 32 })]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
address: acl,
|
|
402
|
+
abi: parseAbi([
|
|
403
|
+
"function getRoleHolders(bytes32) view returns (address[])"
|
|
404
|
+
]),
|
|
405
|
+
functionName: "getRoleHolders",
|
|
406
|
+
args: [stringToHex("LOSS_LIQUIDATOR", { size: 32 })]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
address: acl,
|
|
410
|
+
abi: parseAbi([
|
|
411
|
+
"function getRoleHolders(bytes32) view returns (address[])"
|
|
412
|
+
]),
|
|
413
|
+
functionName: "getRoleHolders",
|
|
414
|
+
args: [stringToHex("EMERGENCY_LIQUIDATOR", { size: 32 })]
|
|
396
415
|
}
|
|
397
416
|
]
|
|
398
417
|
});
|
|
@@ -401,7 +420,9 @@ class MarketConfiguratorContract extends BaseContract {
|
|
|
401
420
|
emergencyAdmin,
|
|
402
421
|
treasury,
|
|
403
422
|
pausableAdmins: [...results[0]],
|
|
404
|
-
unpausableAdmins: [...results[1]]
|
|
423
|
+
unpausableAdmins: [...results[1]],
|
|
424
|
+
lossLiquidators: [...results[2]],
|
|
425
|
+
emergencyLiquidators: [...results[3]]
|
|
405
426
|
};
|
|
406
427
|
}
|
|
407
428
|
async multipause() {
|
|
@@ -688,6 +709,32 @@ class MarketConfiguratorContract extends BaseContract {
|
|
|
688
709
|
}
|
|
689
710
|
};
|
|
690
711
|
}
|
|
712
|
+
case "configureLossPolicy": {
|
|
713
|
+
const [pool, calldata] = args;
|
|
714
|
+
const decoded = this.lossPolicyFactory.decodeConfig(calldata);
|
|
715
|
+
if (decoded) {
|
|
716
|
+
return {
|
|
717
|
+
chainId: 0,
|
|
718
|
+
target: this.address,
|
|
719
|
+
label: this.name,
|
|
720
|
+
functionName,
|
|
721
|
+
args: {
|
|
722
|
+
pool,
|
|
723
|
+
data: json_stringify(decoded)
|
|
724
|
+
}
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
return {
|
|
728
|
+
chainId: 0,
|
|
729
|
+
target: this.address,
|
|
730
|
+
label: this.name,
|
|
731
|
+
functionName,
|
|
732
|
+
args: {
|
|
733
|
+
pool,
|
|
734
|
+
calldata
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
}
|
|
691
738
|
case "updateInterestRateModel": {
|
|
692
739
|
const [pool, deployParams] = args;
|
|
693
740
|
return {
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { Hex } from "viem";
|
|
2
|
+
import { AbstractFactory } from "./abstract-factory.js";
|
|
3
|
+
declare const abi: readonly [{
|
|
4
|
+
readonly type: "function";
|
|
5
|
+
readonly name: "accessMode";
|
|
6
|
+
readonly inputs: readonly [];
|
|
7
|
+
readonly outputs: readonly [{
|
|
8
|
+
readonly name: "";
|
|
9
|
+
readonly type: "uint8";
|
|
10
|
+
readonly internalType: "enum ILossPolicy.AccessMode";
|
|
11
|
+
}];
|
|
12
|
+
readonly stateMutability: "view";
|
|
13
|
+
}, {
|
|
14
|
+
readonly type: "function";
|
|
15
|
+
readonly name: "checksEnabled";
|
|
16
|
+
readonly inputs: readonly [];
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly name: "";
|
|
19
|
+
readonly type: "bool";
|
|
20
|
+
readonly internalType: "bool";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "contractType";
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly name: "";
|
|
29
|
+
readonly type: "bytes32";
|
|
30
|
+
readonly internalType: "bytes32";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "view";
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly name: "isLiquidatableWithLoss";
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly name: "creditAccount";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "caller";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "params";
|
|
46
|
+
readonly type: "tuple";
|
|
47
|
+
readonly internalType: "struct ILossPolicy.Params";
|
|
48
|
+
readonly components: readonly [{
|
|
49
|
+
readonly name: "totalDebtUSD";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "twvUSD";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
readonly internalType: "uint256";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "extraData";
|
|
58
|
+
readonly type: "bytes";
|
|
59
|
+
readonly internalType: "bytes";
|
|
60
|
+
}];
|
|
61
|
+
}];
|
|
62
|
+
readonly outputs: readonly [{
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "bool";
|
|
65
|
+
readonly internalType: "bool";
|
|
66
|
+
}];
|
|
67
|
+
readonly stateMutability: "nonpayable";
|
|
68
|
+
}, {
|
|
69
|
+
readonly type: "function";
|
|
70
|
+
readonly name: "serialize";
|
|
71
|
+
readonly inputs: readonly [];
|
|
72
|
+
readonly outputs: readonly [{
|
|
73
|
+
readonly name: "serializedData";
|
|
74
|
+
readonly type: "bytes";
|
|
75
|
+
readonly internalType: "bytes";
|
|
76
|
+
}];
|
|
77
|
+
readonly stateMutability: "view";
|
|
78
|
+
}, {
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
readonly name: "setAccessMode";
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly name: "mode";
|
|
83
|
+
readonly type: "uint8";
|
|
84
|
+
readonly internalType: "enum ILossPolicy.AccessMode";
|
|
85
|
+
}];
|
|
86
|
+
readonly outputs: readonly [];
|
|
87
|
+
readonly stateMutability: "nonpayable";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly name: "setChecksEnabled";
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly name: "enabled";
|
|
93
|
+
readonly type: "bool";
|
|
94
|
+
readonly internalType: "bool";
|
|
95
|
+
}];
|
|
96
|
+
readonly outputs: readonly [];
|
|
97
|
+
readonly stateMutability: "nonpayable";
|
|
98
|
+
}, {
|
|
99
|
+
readonly type: "function";
|
|
100
|
+
readonly name: "version";
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly outputs: readonly [{
|
|
103
|
+
readonly name: "";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
}];
|
|
107
|
+
readonly stateMutability: "view";
|
|
108
|
+
}, {
|
|
109
|
+
readonly type: "event";
|
|
110
|
+
readonly name: "SetAccessMode";
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly name: "mode";
|
|
113
|
+
readonly type: "uint8";
|
|
114
|
+
readonly indexed: false;
|
|
115
|
+
readonly internalType: "enum ILossPolicy.AccessMode";
|
|
116
|
+
}];
|
|
117
|
+
readonly anonymous: false;
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "event";
|
|
120
|
+
readonly name: "SetChecksEnabled";
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly name: "enabled";
|
|
123
|
+
readonly type: "bool";
|
|
124
|
+
readonly indexed: false;
|
|
125
|
+
readonly internalType: "bool";
|
|
126
|
+
}];
|
|
127
|
+
readonly anonymous: false;
|
|
128
|
+
}];
|
|
129
|
+
export declare enum AccessMode {
|
|
130
|
+
Permissionless = 0,
|
|
131
|
+
Permissioned = 1,
|
|
132
|
+
Forbidden = 2
|
|
133
|
+
}
|
|
134
|
+
export declare class LossPolicyFactory extends AbstractFactory<typeof abi> {
|
|
135
|
+
constructor();
|
|
136
|
+
setAccessMode(args: {
|
|
137
|
+
accessMode: AccessMode;
|
|
138
|
+
}): Hex;
|
|
139
|
+
setChecksEnabled(args: {
|
|
140
|
+
enabled: boolean;
|
|
141
|
+
}): Hex;
|
|
142
|
+
}
|
|
143
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import { type Address, type DecodeFunctionDataReturnType, type Hex, type PublicC
|
|
|
2
2
|
import type { RawTx } from "../../sdk/types/index.js";
|
|
3
3
|
import type { ParsedCall } from "../core/proposal.js";
|
|
4
4
|
import { CreditFactory } from "./factory/credit-factory.js";
|
|
5
|
+
import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
|
|
5
6
|
import { PoolFactory } from "./factory/pool-factory.js";
|
|
6
7
|
import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
|
|
7
8
|
import { AddressProviderContract, BaseContract } from "./index.js";
|
|
@@ -1534,6 +1535,7 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1534
1535
|
readonly creditFactory: CreditFactory;
|
|
1535
1536
|
readonly poolFactory: PoolFactory;
|
|
1536
1537
|
readonly priceOracleFactory: PriceOracleFactory;
|
|
1538
|
+
readonly lossPolicyFactory: LossPolicyFactory;
|
|
1537
1539
|
constructor(address: Address, client: PublicClient);
|
|
1538
1540
|
getAddressProvider(): Promise<AddressProviderContract>;
|
|
1539
1541
|
previewCreateMarket(params: {
|
|
@@ -1636,6 +1638,8 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1636
1638
|
treasury: Address;
|
|
1637
1639
|
pausableAdmins: Address[];
|
|
1638
1640
|
unpausableAdmins: Address[];
|
|
1641
|
+
lossLiquidators: Address[];
|
|
1642
|
+
emergencyLiquidators: Address[];
|
|
1639
1643
|
}>;
|
|
1640
1644
|
multipause(): Promise<Address | undefined>;
|
|
1641
1645
|
grantRole(role: string, address: Address): RawTx;
|