@d9-network/spec 1.2.2 → 1.2.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/node_modules/@polkadot-api/descriptors/dist/chunk-7P6ASYW6.mjs +9 -0
- package/node_modules/@polkadot-api/descriptors/dist/common-types.d.ts +3371 -0
- package/node_modules/@polkadot-api/descriptors/dist/common.d.ts +1 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/burnManager.d.ts +183 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/burnMining.d.ts +184 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/crossChainTransfer.d.ts +249 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/index.d.ts +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/marketMaker.d.ts +209 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/merchantMining.d.ts +263 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/miningPool.d.ts +159 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/nodeReward.d.ts +172 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/usdt.d.ts +145 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9.d.ts +3346 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9_metadata-EHIEZLL5.mjs +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9_metadata.d.ts +2 -0
- package/node_modules/@polkadot-api/descriptors/dist/descriptors-JQ4ZJQ4V.mjs +29 -0
- package/node_modules/@polkadot-api/descriptors/dist/descriptors.d.ts +1 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.d.ts +11 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.js +200 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.mjs +115 -0
- package/node_modules/@polkadot-api/descriptors/dist/metadataTypes-32V7BYUB.mjs +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/metadataTypes.d.ts +2 -0
- package/node_modules/@polkadot-api/descriptors/generated.json +1 -0
- package/node_modules/@polkadot-api/descriptors/package.json +24 -0
- package/package.json +5 -2
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./chunk-7P6ASYW6.mjs";
|
|
4
|
+
|
|
5
|
+
// .papi/descriptors/src/common.ts
|
|
6
|
+
var table = new Uint8Array(128);
|
|
7
|
+
for (let i = 0; i < 64; i++) table[i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i * 4 - 205] = i;
|
|
8
|
+
var toBinary = (base64) => {
|
|
9
|
+
const n = base64.length, bytes = new Uint8Array((n - Number(base64[n - 1] === "=") - Number(base64[n - 2] === "=")) * 3 / 4 | 0);
|
|
10
|
+
for (let i2 = 0, j = 0; i2 < n; ) {
|
|
11
|
+
const c0 = table[base64.charCodeAt(i2++)], c1 = table[base64.charCodeAt(i2++)];
|
|
12
|
+
const c2 = table[base64.charCodeAt(i2++)], c3 = table[base64.charCodeAt(i2++)];
|
|
13
|
+
bytes[j++] = c0 << 2 | c1 >> 4;
|
|
14
|
+
bytes[j++] = c1 << 4 | c2 >> 2;
|
|
15
|
+
bytes[j++] = c2 << 6 | c3;
|
|
16
|
+
}
|
|
17
|
+
return bytes;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// .papi/descriptors/src/d9.ts
|
|
21
|
+
var descriptorValues = import("./descriptors-JQ4ZJQ4V.mjs").then((module) => module["D9"]);
|
|
22
|
+
var metadataTypes = import("./metadataTypes-32V7BYUB.mjs").then(
|
|
23
|
+
(module) => toBinary("default" in module ? module.default : module)
|
|
24
|
+
);
|
|
25
|
+
var asset = {};
|
|
26
|
+
var extensions = {};
|
|
27
|
+
var getMetadata = () => import("./d9_metadata-EHIEZLL5.mjs").then(
|
|
28
|
+
(module) => toBinary("default" in module ? module.default : module)
|
|
29
|
+
);
|
|
30
|
+
var genesis = "0x74e86bce7566064d40f390f75e6d066b6006b198c995dcde5c04f851144effb8";
|
|
31
|
+
var _allDescriptors = { descriptors: descriptorValues, metadataTypes, asset, extensions, getMetadata, genesis };
|
|
32
|
+
var d9_default = _allDescriptors;
|
|
33
|
+
|
|
34
|
+
// .papi/descriptors/src/common-types.ts
|
|
35
|
+
import { _Enum } from "polkadot-api";
|
|
36
|
+
var BalancesTypesReasons = _Enum;
|
|
37
|
+
var GrandpaStoredState = _Enum;
|
|
38
|
+
var DigestItem = _Enum;
|
|
39
|
+
var Phase = _Enum;
|
|
40
|
+
var ArithmeticError = _Enum;
|
|
41
|
+
var TransactionalError = _Enum;
|
|
42
|
+
var BalanceStatus = _Enum;
|
|
43
|
+
var GrandpaEvent = _Enum;
|
|
44
|
+
var DispatchClass = _Enum;
|
|
45
|
+
var TransactionPaymentEvent = _Enum;
|
|
46
|
+
var SessionEvent = _Enum;
|
|
47
|
+
var TransactionPaymentReleases = _Enum;
|
|
48
|
+
var MultiAddress = _Enum;
|
|
49
|
+
var GrandpaEquivocation = _Enum;
|
|
50
|
+
|
|
51
|
+
// .papi/descriptors/src/contracts/index.ts
|
|
52
|
+
var contracts_exports = {};
|
|
53
|
+
__export(contracts_exports, {
|
|
54
|
+
burnManager: () => descriptor4,
|
|
55
|
+
burnMining: () => descriptor7,
|
|
56
|
+
crossChainTransfer: () => descriptor5,
|
|
57
|
+
marketMaker: () => descriptor6,
|
|
58
|
+
merchantMining: () => descriptor2,
|
|
59
|
+
miningPool: () => descriptor8,
|
|
60
|
+
nodeReward: () => descriptor,
|
|
61
|
+
usdt: () => descriptor3
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
// .papi/descriptors/src/contracts/nodeReward.ts
|
|
65
|
+
var descriptor = { metadata: { "source": { "hash": "0x0cf5fbf9a9dd4057bfc9f674a402a956f97b7fa536545a43c79362842fda587e", "language": "ink! 4.3.0", "compiler": "rustc 1.72.1", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-x86_64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "node_reward", "version": "0.1.0", "authors": ["[your_name] <[your_email]>"] }, "spec": { "constructors": [{ "args": [{ "label": "mining_pool", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "rewards_pallet", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": ["Constructor that initializes the `bool` value to the given `init_value`."], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 5 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 0 }, "balance": { "displayName": ["Balance"], "type": 3 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 12 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 22 }, "hash": { "displayName": ["Hash"], "type": 21 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 4 } }, "events": [{ "args": [{ "docs": [], "indexed": true, "label": "node", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "receiver", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 3 } }], "docs": [], "label": "NodeRewardPaid" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 7 }, "messages": [{ "args": [{ "label": "mining_pool", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "set_mining_pool", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xbad17c27" }, { "args": [{ "label": "rewards_pallet", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "set_rewards_pallet", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xe54af172" }, { "args": [{ "label": "new_admin", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "relinquish_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xda7dbaee" }, { "args": [], "default": false, "docs": [], "label": "accept_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x3830821d" }, { "args": [], "default": false, "docs": [], "label": "cancel_admin_relinquish", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xf9cc42d0" }, { "args": [], "default": false, "docs": [], "label": "get_vote_limit", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 11 }, "selector": "0x345bb4a1" }, { "args": [{ "label": "new_limit", "type": { "displayName": ["u64"], "type": 4 } }], "default": false, "docs": [], "label": "change_vote_limit", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x3b7e719a" }, { "args": [{ "label": "node_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "withdraw_reward", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x07fe6b9e" }, { "args": [{ "label": "session_index", "type": { "displayName": ["u32"], "type": 12 } }], "default": false, "docs": [], "label": "get_session_rewards_data", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 13 }, "selector": "0x5b4a8bb7" }, { "args": [{ "label": "node_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "get_node_reward_data", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0x72c500b8" }, { "args": [{ "label": "node_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "get_authorized_receiver", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 18 }, "selector": "0x7a99af59" }, { "args": [{ "label": "node_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "receiver", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "set_authorized_receiver", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x0aa2247a" }, { "args": [{ "label": "node_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "remove_authorized_receiver", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x58920ed0" }, { "args": [{ "label": "last_session", "type": { "displayName": ["u32"], "type": 12 } }, { "label": "sorted_nodes_and_votes", "type": { "displayName": ["Vec"], "type": 19 } }], "default": false, "docs": [], "label": "update_rewards", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x93440f8d" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 1 } }], "default": false, "docs": [], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x694fb50f" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "new_admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "mining_pool" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "rewards_pallet" }, { "layout": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x57cf89ff", "ty": 3 } }, "name": "0" }, { "layout": { "leaf": { "key": "0x57cf89ff", "ty": 3 } }, "name": "1" }], "name": "(A, B)" } }, "root_key": "0x57cf89ff" } }, "name": "session_rewards" }, { "layout": { "root": { "layout": { "leaf": { "key": "0xce7978af", "ty": 3 } }, "root_key": "0xce7978af" } }, "name": "node_reward" }, { "layout": { "root": { "layout": { "leaf": { "key": "0x2802a071", "ty": 0 } }, "root_key": "0x2802a071" } }, "name": "authorized_reward_receiver" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "vote_limit" }], "name": "NodeReward" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 1, "type": { "def": { "array": { "len": 32, "type": 2 } } } }, { "id": 2, "type": { "def": { "primitive": "u8" } } }, { "id": 3, "type": { "def": { "primitive": "u128" } } }, { "id": 4, "type": { "def": { "primitive": "u64" } } }, { "id": 5, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 6, "type": { "def": { "tuple": [] } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0, "typeName": "AccountId" }], "index": 0, "name": "OnlyCallableBy" }, { "index": 1, "name": "BeyondQualificationForNodeStatus" }, { "index": 2, "name": "ErrorIssuingPayment" }, { "index": 3, "name": "ErrorGettingSessionPoolFromMiningPoolContract" }, { "index": 4, "name": "NotAuthorizedToWithdraw" }, { "index": 5, "name": "NothingToWithdraw" }, { "index": 6, "name": "ErrorGettingCurrentValidators" }] } }, "path": ["node_reward", "node_reward", "Error"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 12, "type": { "def": { "primitive": "u32" } } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 14 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 14 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 15 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 15 }], "path": ["Option"] } }, { "id": 15, "type": { "def": { "tuple": [3, 3] } } }, { "id": 16, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 17 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 17 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 3 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 3 }], "path": ["Option"] } }, { "id": 18, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 19, "type": { "def": { "sequence": { "type": 20 } } } }, { "id": 20, "type": { "def": { "tuple": [0, 4] } } }, { "id": 21, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 22, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
66
|
+
|
|
67
|
+
// .papi/descriptors/src/contracts/merchantMining.ts
|
|
68
|
+
var descriptor2 = { metadata: { "source": { "hash": "0x1605acf16a5d67473a30bde3624e103393a3ffaf9310f3abfcdb6ef1d1370ee4", "language": "ink! 4.3.0", "compiler": "rustc 1.76.0", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-aarch64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "d9-merchant-mining", "version": "0.1.0", "authors": ["D9Dev"] }, "spec": { "constructors": [{ "args": [{ "label": "amm_contract", "type": { "displayName": ["AccountId"], "type": 2 } }, { "label": "mining_pool", "type": { "displayName": ["AccountId"], "type": 2 } }, { "label": "usdt_contract", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": ["Constructor that initializes the `bool` value to the given `init_value`."], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 5 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 2 }, "balance": { "displayName": ["Balance"], "type": 1 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 25 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 26 }, "hash": { "displayName": ["Hash"], "type": 24 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 0 } }, "events": [{ "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "usdt", "type": { "displayName": ["Balance"], "type": 1 } }, { "docs": [], "indexed": true, "label": "expiry", "type": { "displayName": ["Timestamp"], "type": 0 } }], "docs": [], "label": "SubscriptionExtended" }, { "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "redeemed_d9", "type": { "displayName": ["Balance"], "type": 1 } }], "docs": [], "label": "D9Redeemed" }, { "args": [{ "docs": [], "indexed": true, "label": "merchant", "type": { "displayName": ["GreenPointsCreated"], "type": 23 } }, { "docs": [], "indexed": true, "label": "consumer", "type": { "displayName": ["GreenPointsCreated"], "type": 23 } }], "docs": [], "label": "GreenPointsTransaction" }, { "args": [{ "docs": [], "indexed": true, "label": "merchant", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "consumer", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 1 } }], "docs": [], "label": "D9MerchantPaymentSent" }, { "args": [{ "docs": [], "indexed": true, "label": "merchant", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "consumer", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 1 } }], "docs": [], "label": "USDTMerchantPaymentSent" }, { "args": [{ "docs": [], "indexed": true, "label": "consumer", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "merchant", "type": { "displayName": ["AccountId"], "type": 2 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 1 } }], "docs": [], "label": "GivePointsUSDT" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 7 }, "messages": [{ "args": [{ "label": "usdt_amount", "type": { "displayName": ["Balance"], "type": 1 } }], "default": false, "docs": [" create merchant account subscription"], "label": "subscribe", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xfb968a8f" }, { "args": [], "default": false, "docs": ["withdraw a certain amount of d9 that has been converted into red points"], "label": "redeem_d9", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 11 }, "selector": "0x47082626" }, { "args": [{ "label": "consumer_id", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [], "label": "give_green_points_d9", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 13 }, "selector": "0x88b8f067" }, { "args": [{ "label": "consumer_id", "type": { "displayName": ["AccountId"], "type": 2 } }, { "label": "usdt_payment", "type": { "displayName": ["Balance"], "type": 1 } }], "default": false, "docs": [], "label": "give_green_points_usdt", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 13 }, "selector": "0xf52b0ab9" }, { "args": [{ "label": "merchant_id", "type": { "displayName": ["AccountId"], "type": 2 } }, { "label": "usdt_amount", "type": { "displayName": ["Balance"], "type": 1 } }], "default": false, "docs": [], "label": "send_usdt_payment_to_merchant", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 13 }, "selector": "0xa69d4305" }, { "args": [{ "label": "merchant_id", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [" a customer pays a merchant using d9"], "label": "send_d9_payment_to_merchant", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 13 }, "selector": "0xb0e55803" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [], "label": "get_expiry", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xfe38aab5" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [" get account details"], "label": "get_account", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0xd0f48683" }, { "args": [{ "label": "new_amm_contract", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [], "label": "change_amm_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 21 }, "selector": "0x0db11b82" }, { "args": [{ "label": "new_mining_pool", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [], "label": "change_mining_pool", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 21 }, "selector": "0xafda72a6" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 3 } }], "default": false, "docs": [" Modifies the code which is used to execute calls to this contract address (`AccountId`).", "", " We use this to upgrade the contract logic. We don't do any authorization here, any caller", " can execute this method. In a production contract you would do some authorization here."], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x694fb50f" }, { "args": [{ "label": "new_admin", "type": { "displayName": ["AccountId"], "type": 2 } }], "default": false, "docs": [], "label": "change_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 21 }, "selector": "0x61ae97d7" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "root": { "layout": { "leaf": { "key": "0x368a973a", "ty": 0 } }, "root_key": "0x368a973a" } }, "name": "merchant_expiry" }, { "layout": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0xfe031739", "ty": 1 } }, "name": "green_points" }, { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0xfe031739", "ty": 1 } }, "name": "0" }, { "layout": { "leaf": { "key": "0xfe031739", "ty": 1 } }, "name": "1" }], "name": "(A, B)" } }, "name": "relationship_factors" }, { "layout": { "enum": { "dispatchKey": "0xfe031739", "name": "Option", "variants": { "0": { "fields": [], "name": "None" }, "1": { "fields": [{ "layout": { "leaf": { "key": "0xfe031739", "ty": 0 } }, "name": "0" }], "name": "Some" } } } }, "name": "last_conversion" }, { "layout": { "leaf": { "key": "0xfe031739", "ty": 1 } }, "name": "redeemed_usdt" }, { "layout": { "leaf": { "key": "0xfe031739", "ty": 1 } }, "name": "redeemed_d9" }, { "layout": { "leaf": { "key": "0xfe031739", "ty": 0 } }, "name": "created_at" }], "name": "Account" } }, "root_key": "0xfe031739" } }, "name": "accounts" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "subscription_fee" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 2 } }, "name": "usdt_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 2 } }, "name": "amm_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 2 } }, "name": "mining_pool" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "milliseconds_day" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 2 } }, "name": "admin" }], "name": "D9MerchantMining" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "primitive": "u64" } } }, { "id": 1, "type": { "def": { "primitive": "u128" } } }, { "id": 2, "type": { "def": { "composite": { "fields": [{ "type": 3, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 3, "type": { "def": { "array": { "len": 32, "type": 4 } } } }, { "id": 4, "type": { "def": { "primitive": "u8" } } }, { "id": 5, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 6, "type": { "def": { "tuple": [] } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "InsufficientPayment" }, { "index": 1, "name": "InsufficientAllowance" }, { "index": 2, "name": "NoMerchantAccountFound" }, { "index": 3, "name": "MerchantAccountExpired" }, { "index": 4, "name": "NoAccountFound" }, { "index": 5, "name": "NothingToRedeem" }, { "index": 6, "name": "TransferringToMainContract" }, { "index": 7, "name": "TransferringToUSDTToMerchant" }, { "index": 8, "name": "UserUSDTBalanceInsufficient" }, { "index": 9, "name": "D9TransferFailed" }, { "index": 10, "name": "USDTTransferFailed" }, { "index": 11, "name": "OnlyAdmin" }, { "index": 12, "name": "GrantingAllowanceFailed" }, { "index": 13, "name": "AMMConversionFailed" }, { "index": 14, "name": "ReceivingUSDTFromUser" }, { "index": 15, "name": "ConvertingToD9" }, { "index": 16, "name": "SendUSDTToMerchant" }, { "index": 17, "name": "SendingD9ToMiningPool" }, { "index": 18, "name": "SendingUSDTToAMM" }, { "index": 19, "name": "GettingUSDTFromAMM" }, { "index": 20, "name": "RedeemD9TransferFailed" }, { "index": 21, "name": "SomeEnvironmentError" }, { "index": 22, "name": "CalledContractTrapped" }, { "index": 23, "name": "CalledContractReverted" }, { "index": 24, "name": "NotCallable" }, { "index": 25, "name": "SomeDecodeError" }, { "index": 26, "name": "SomeOffChainError" }, { "index": 27, "name": "CalleeTrapped" }, { "index": 28, "name": "CalleeReverted" }, { "index": 29, "name": "KeyNotFound" }, { "index": 30, "name": "_BelowSubsistenceThreshold" }, { "index": 31, "name": "TransferFailed" }, { "index": 32, "name": "_EndowmentTooLow" }, { "index": 33, "name": "CodeNotFound" }, { "index": 34, "name": "Unknown" }, { "index": 35, "name": "LoggingDisabled" }, { "index": 36, "name": "CallRuntimeFailed" }, { "index": 37, "name": "EcdsaRecoveryFailed" }, { "index": 38, "name": "ErrorGettingEstimate" }, { "index": 39, "name": "CrossContractCallErrorGettingEstimate" }] } }, "path": ["d9_merchant_mining", "d9_merchant_mining", "Error"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 12 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 12 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 1 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 1 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 14 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 14 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 15 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 15 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 15, "type": { "def": { "composite": { "fields": [{ "name": "merchant", "type": 1, "typeName": "Balance" }, { "name": "consumer", "type": 1, "typeName": "Balance" }] } }, "path": ["d9_merchant_mining", "d9_merchant_mining", "GreenPointsResult"] } }, { "id": 16, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 17 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 17 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 18 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 18 }], "path": ["Option"] } }, { "id": 18, "type": { "def": { "composite": { "fields": [{ "name": "green_points", "type": 1, "typeName": "Balance" }, { "name": "relationship_factors", "type": 19, "typeName": "(Balance, Balance)" }, { "name": "last_conversion", "type": 20, "typeName": "Option<Timestamp>" }, { "name": "redeemed_usdt", "type": 1, "typeName": "Balance" }, { "name": "redeemed_d9", "type": 1, "typeName": "Balance" }, { "name": "created_at", "type": 0, "typeName": "Timestamp" }] } }, "path": ["d9_merchant_mining", "d9_merchant_mining", "Account"] } }, { "id": 19, "type": { "def": { "tuple": [1, 1] } } }, { "id": 20, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 0 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 0 }], "path": ["Option"] } }, { "id": 21, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 22 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 22 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 22, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 23, "type": { "def": { "composite": { "fields": [{ "name": "account_id", "type": 2, "typeName": "AccountId" }, { "name": "green_points", "type": 1, "typeName": "Balance" }] } }, "path": ["d9_merchant_mining", "d9_merchant_mining", "GreenPointsCreated"] } }, { "id": 24, "type": { "def": { "composite": { "fields": [{ "type": 3, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 25, "type": { "def": { "primitive": "u32" } } }, { "id": 26, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
69
|
+
|
|
70
|
+
// .papi/descriptors/src/contracts/usdt.ts
|
|
71
|
+
var descriptor3 = { metadata: { "source": { "hash": "0x7a88ca43f88f1468755756c58c8fcac582c83a176b183301e672712efe955d03", "language": "ink! 4.3.0", "compiler": "rustc 1.72.1", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-x86_64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "d9_usdt", "version": "0.1.0", "authors": ["D9Devs"] }, "spec": { "constructors": [{ "args": [{ "label": "initial_supply", "type": { "displayName": ["Balance"], "type": 0 } }], "default": false, "docs": [], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 1 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 4 }, "balance": { "displayName": ["Balance"], "type": 0 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 16 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 17 }, "hash": { "displayName": ["Hash"], "type": 14 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 15 } }, "events": [{ "args": [{ "docs": [], "indexed": true, "label": "owner", "type": { "displayName": ["AccountId"], "type": 4 } }, { "docs": [], "indexed": true, "label": "spender", "type": { "displayName": ["AccountId"], "type": 4 } }, { "docs": [], "indexed": false, "label": "amount", "type": { "displayName": ["u128"], "type": 0 } }], "docs": [], "label": "Approval" }, { "args": [{ "docs": [], "indexed": true, "label": "from", "type": { "displayName": ["Option"], "type": 13 } }, { "docs": [], "indexed": true, "label": "to", "type": { "displayName": ["Option"], "type": 13 } }, { "docs": [], "indexed": false, "label": "value", "type": { "displayName": ["u128"], "type": 0 } }], "docs": [], "label": "Transfer" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 3 }, "messages": [{ "args": [{ "label": "to", "type": { "displayName": ["AccountId"], "type": 4 } }, { "label": "value", "type": { "displayName": ["u128"], "type": 0 } }, { "label": "_data", "type": { "displayName": ["Vec"], "type": 7 } }], "default": false, "docs": [], "label": "transfer", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x84a15da1" }, { "args": [{ "label": "from", "type": { "displayName": ["AccountId"], "type": 4 } }, { "label": "to", "type": { "displayName": ["AccountId"], "type": 4 } }, { "label": "value", "type": { "displayName": ["Balance"], "type": 0 } }, { "label": "_data", "type": { "displayName": ["Vec"], "type": 7 } }], "default": false, "docs": [], "label": "transfer_from", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x0b396f18" }, { "args": [], "default": false, "docs": [], "label": "PSP22::total_supply", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x162df8c2" }, { "args": [{ "label": "to", "type": { "displayName": ["psp22_external", "TransferInput1"], "type": 4 } }, { "label": "value", "type": { "displayName": ["psp22_external", "TransferInput2"], "type": 0 } }, { "label": "data", "type": { "displayName": ["psp22_external", "TransferInput3"], "type": 7 } }], "default": false, "docs": [], "label": "PSP22::transfer", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xdb20f9f5" }, { "args": [{ "label": "spender", "type": { "displayName": ["psp22_external", "DecreaseAllowanceInput1"], "type": 4 } }, { "label": "delta_value", "type": { "displayName": ["psp22_external", "DecreaseAllowanceInput2"], "type": 0 } }], "default": false, "docs": [], "label": "PSP22::decrease_allowance", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xfecb57d5" }, { "args": [{ "label": "owner", "type": { "displayName": ["psp22_external", "BalanceOfInput1"], "type": 4 } }], "default": false, "docs": [], "label": "PSP22::balance_of", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x6568382f" }, { "args": [{ "label": "from", "type": { "displayName": ["psp22_external", "TransferFromInput1"], "type": 4 } }, { "label": "to", "type": { "displayName": ["psp22_external", "TransferFromInput2"], "type": 4 } }, { "label": "value", "type": { "displayName": ["psp22_external", "TransferFromInput3"], "type": 0 } }, { "label": "data", "type": { "displayName": ["psp22_external", "TransferFromInput4"], "type": 7 } }], "default": false, "docs": [], "label": "PSP22::transfer_from", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x54b3c76e" }, { "args": [{ "label": "spender", "type": { "displayName": ["psp22_external", "IncreaseAllowanceInput1"], "type": 4 } }, { "label": "delta_value", "type": { "displayName": ["psp22_external", "IncreaseAllowanceInput2"], "type": 0 } }], "default": false, "docs": [], "label": "PSP22::increase_allowance", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x96d6b57a" }, { "args": [{ "label": "spender", "type": { "displayName": ["psp22_external", "ApproveInput1"], "type": 4 } }, { "label": "value", "type": { "displayName": ["psp22_external", "ApproveInput2"], "type": 0 } }], "default": false, "docs": [], "label": "PSP22::approve", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xb20f1bbd" }, { "args": [{ "label": "owner", "type": { "displayName": ["psp22_external", "AllowanceInput1"], "type": 4 } }, { "label": "spender", "type": { "displayName": ["psp22_external", "AllowanceInput2"], "type": 4 } }], "default": false, "docs": [], "label": "PSP22::allowance", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x4d47d921" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "struct": { "fields": [{ "layout": { "root": { "layout": { "leaf": { "key": "0x270a8fc3", "ty": 0 } }, "root_key": "0x270a8fc3" } }, "name": "supply" }, { "layout": { "root": { "layout": { "leaf": { "key": "0xc2664826", "ty": 0 } }, "root_key": "0xc2664826" } }, "name": "balances" }, { "layout": { "root": { "layout": { "leaf": { "key": "0xf8d71e22", "ty": 0 } }, "root_key": "0xf8d71e22" } }, "name": "allowances" }], "name": "Data" } }, "name": "psp22" }], "name": "D9USDT" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "primitive": "u128" } } }, { "id": 1, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 2 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 3 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 2 }, { "name": "E", "type": 3 }], "path": ["Result"] } }, { "id": 2, "type": { "def": { "tuple": [] } } }, { "id": 3, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 4, "type": { "def": { "composite": { "fields": [{ "type": 5, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 5, "type": { "def": { "array": { "len": 32, "type": 6 } } } }, { "id": 6, "type": { "def": { "primitive": "u8" } } }, { "id": 7, "type": { "def": { "sequence": { "type": 6 } } } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 3 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 3 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 2 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 2 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 11, "typeName": "String" }], "index": 0, "name": "Custom" }, { "index": 1, "name": "InsufficientBalance" }, { "index": 2, "name": "InsufficientAllowance" }, { "index": 3, "name": "ZeroRecipientAddress" }, { "index": 4, "name": "ZeroSenderAddress" }, { "fields": [{ "type": 11, "typeName": "String" }], "index": 5, "name": "SafeTransferCheckFailed" }] } }, "path": ["openbrush_contracts", "traits", "errors", "psp22", "PSP22Error"] } }, { "id": 11, "type": { "def": { "primitive": "str" } } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 3 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 3 }], "path": ["Result"] } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 4 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 4 }], "path": ["Option"] } }, { "id": 14, "type": { "def": { "composite": { "fields": [{ "type": 5, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 15, "type": { "def": { "primitive": "u64" } } }, { "id": 16, "type": { "def": { "primitive": "u32" } } }, { "id": 17, "type": { "def": { "variant": {} }, "path": ["ink_env", "types", "NoChainExtension"] } }], "version": "4" } };
|
|
72
|
+
|
|
73
|
+
// .papi/descriptors/src/contracts/burnManager.ts
|
|
74
|
+
var descriptor4 = { metadata: { "source": { "hash": "0x2da1b7ebb4065bd2ec52012d674d4b203fab69681292bc4e594fc26fc9c2445f", "language": "ink! 4.3.0", "compiler": "rustc 1.72.0", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-aarch64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "d9-burn-manager", "version": "1.0.0", "authors": ["D9Dev"] }, "spec": { "constructors": [{ "args": [{ "label": "admin", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "burn_contracts", "type": { "displayName": ["Vec"], "type": 3 } }], "default": false, "docs": ["Constructor that initializes the `bool` value to the given `init_value`."], "label": "new", "payable": true, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 6 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 0 }, "balance": { "displayName": ["Balance"], "type": 4 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 24 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 25 }, "hash": { "displayName": ["Hash"], "type": 23 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 5 } }, "events": [{ "args": [{ "docs": [" initiator of of the burn"], "indexed": true, "label": "from", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": ["amount of tokens burned"], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "WithdrawalExecuted" }, { "args": [{ "docs": [" initiator of of the burn"], "indexed": true, "label": "from", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": ["amount of tokens burned"], "indexed": true, "label": "amount", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "BurnExecuted" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 8 }, "messages": [{ "args": [{ "label": "burn_beneficiary", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "burn_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [" Executes a burn by making a cross-contract call, updates the total burned amount,", " updates the user's portfolio, and emits a `BurnExecuted` event.", "", " # Arguments", "", " * `burn_contract` - Account ID of the contract to call for the burn.", "", " # Errors", "", " Returns `Err` if the burn amount is zero, the burn contract is not valid,", " or the cross-contract call fails.", "", " # Returns", "", " Returns `Ok` with the updated portfolio on success."], "label": "burn", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0xb1efc17b" }, { "args": [{ "label": "burn_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "withdraw", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x410fcc9d" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "get_ancestors", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 15 }, "selector": "0xe2ee2364" }, { "args": [{ "label": "burn_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "add_burn_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 17 }, "selector": "0x50cb7e6b" }, { "args": [{ "label": "burn_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "remove_burn_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 6 }, "selector": "0x2610355d" }, { "args": [], "default": false, "docs": [], "label": "get_admin", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 19 }, "selector": "0x57b8a8a7" }, { "args": [], "default": false, "docs": [], "label": "get_total_burned", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 20 }, "selector": "0x717d96e0" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "get_portfolio", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 21 }, "selector": "0xf3246265" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 3 } }, "name": "burn_contracts" }, { "layout": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x249fe4b2", "ty": 4 } }, "name": "amount_burned" }, { "layout": { "leaf": { "key": "0x249fe4b2", "ty": 4 } }, "name": "balance_due" }, { "layout": { "leaf": { "key": "0x249fe4b2", "ty": 4 } }, "name": "balance_paid" }, { "layout": { "enum": { "dispatchKey": "0x249fe4b2", "name": "Option", "variants": { "0": { "fields": [], "name": "None" }, "1": { "fields": [{ "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x249fe4b2", "ty": 5 } }, "name": "time" }, { "layout": { "leaf": { "key": "0x249fe4b2", "ty": 0 } }, "name": "contract" }], "name": "ActionRecord" } }, "name": "0" }], "name": "Some" } } } }, "name": "last_withdrawal" }, { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x249fe4b2", "ty": 5 } }, "name": "time" }, { "layout": { "leaf": { "key": "0x249fe4b2", "ty": 0 } }, "name": "contract" }], "name": "ActionRecord" } }, "name": "last_burn" }], "name": "BurnPortfolio" } }, "root_key": "0x249fe4b2" } }, "name": "portfolios" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "total_amount_burned" }], "name": "D9BurnManager" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 1, "type": { "def": { "array": { "len": 32, "type": 2 } } } }, { "id": 2, "type": { "def": { "primitive": "u8" } } }, { "id": 3, "type": { "def": { "sequence": { "type": 0 } } } }, { "id": 4, "type": { "def": { "primitive": "u128" } } }, { "id": 5, "type": { "def": { "primitive": "u64" } } }, { "id": 6, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 7 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 7 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 7, "type": { "def": { "tuple": [] } } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 10 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 10 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 11 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 14 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 11 }, { "name": "E", "type": 14 }], "path": ["Result"] } }, { "id": 11, "type": { "def": { "composite": { "fields": [{ "name": "amount_burned", "type": 4, "typeName": "Balance" }, { "name": "balance_due", "type": 4, "typeName": "Balance" }, { "name": "balance_paid", "type": 4, "typeName": "Balance" }, { "name": "last_withdrawal", "type": 12, "typeName": "Option<ActionRecord>" }, { "name": "last_burn", "type": 13, "typeName": "ActionRecord" }] } }, "path": ["d9_burn_common", "BurnPortfolio"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 13 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 13 }], "path": ["Option"] } }, { "id": 13, "type": { "def": { "composite": { "fields": [{ "name": "time", "type": 5, "typeName": "Timestamp" }, { "name": "contract", "type": 0, "typeName": "AccountId" }] } }, "path": ["d9_burn_common", "ActionRecord"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "BurnAmountInsufficient" }, { "index": 1, "name": "NoAccountFound" }, { "index": 2, "name": "EarlyWithdrawalAttempt" }, { "index": 3, "name": "ContractBalanceTooLow" }, { "index": 4, "name": "RestrictedFunction" }, { "index": 5, "name": "UsePortfolioExecuteFunction" }, { "index": 6, "name": "WithdrawalExceedsBalance" }, { "index": 7, "name": "TransferFailed" }, { "index": 8, "name": "InvalidCaller" }, { "index": 9, "name": "InvalidBurnContract" }, { "index": 10, "name": "BurnContractAlreadyAdded" }, { "index": 11, "name": "CrossContractCallFailed" }, { "index": 12, "name": "WithdrawalNotAllowed" }, { "index": 13, "name": "RuntimeErrorGettingAncestors" }, { "index": 14, "name": "NoAncestorsFound" }] } }, "path": ["d9_burn_common", "Error"] } }, { "id": 15, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 16 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 16 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 16, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 3 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 3 }], "path": ["Option"] } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 18 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 18 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 18, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 7 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 14 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 7 }, { "name": "E", "type": 14 }], "path": ["Result"] } }, { "id": 19, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 20, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 21, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 22 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 8 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 22 }, { "name": "E", "type": 8 }], "path": ["Result"] } }, { "id": 22, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 11 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 11 }], "path": ["Option"] } }, { "id": 23, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 24, "type": { "def": { "primitive": "u32" } } }, { "id": 25, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
75
|
+
|
|
76
|
+
// .papi/descriptors/src/contracts/crossChainTransfer.ts
|
|
77
|
+
var descriptor5 = { metadata: { "source": { "hash": "0x4beac590e0c2e670b87997c893281c9eac45c8515e51bd96d7e31a660bc75db2", "language": "ink! 4.3.0", "compiler": "rustc 1.76.0", "build_info": { "build_mode": "Release", "cargo_contract_version": "4.0.2", "rust_toolchain": "stable-aarch64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "cross_chain_transfer", "version": "0.1.0", "authors": ["D9 team tech@d9network.com"] }, "image": null, "spec": { "constructors": [{ "args": [{ "label": "usdt_contract", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": ["Constructor that initializes the `bool` value to the given `init_value`."], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 7 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 1 }, "balance": { "displayName": ["Balance"], "type": 5 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 28 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 29 }, "hash": { "displayName": ["Hash"], "type": 27 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 0 } }, "events": [{ "args": [{ "docs": [], "indexed": true, "label": "transaction_id", "type": { "displayName": ["String"], "type": 4 } }, { "docs": [], "indexed": true, "label": "from_address", "type": { "displayName": ["AccountId"], "type": 1 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["u128"], "type": 5 } }], "docs": [], "label": "CommitCreated" }, { "args": [{ "docs": [], "indexed": true, "label": "tx_id", "type": { "displayName": ["String"], "type": 4 } }, { "docs": [], "indexed": true, "label": "to_address", "type": { "displayName": ["AccountId"], "type": 1 } }, { "docs": [], "indexed": true, "label": "amount", "type": { "displayName": ["u128"], "type": 5 } }], "docs": [], "label": "DispatchCompleted" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 9 }, "messages": [{ "args": [{ "label": "admin", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "add_transaction_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 10 }, "selector": "0xec409e8a" }, { "args": [{ "label": "admin", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "remove_transaction_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 10 }, "selector": "0xb3e15c07" }, { "args": [], "default": false, "docs": [], "label": "get_transaction_admins", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 14 }, "selector": "0xa81d32bb" }, { "args": [{ "label": "admin", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "is_transaction_admin", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 15 }, "selector": "0x7a996b18" }, { "args": [{ "label": "user_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "record_cancelled_tron_transfer", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 10 }, "selector": "0x1617c8b4" }, { "args": [{ "label": "user_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "generate_tx_id", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 17 }, "selector": "0xfc9bd990" }, { "args": [{ "label": "user_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [" get last transaction. function is called on both chains."], "label": "get_last_transaction", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 18 }, "selector": "0x7081dd38" }, { "args": [{ "label": "user_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [" Helper function to get the current transaction nonce for a user"], "label": "get_current_nonce", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 24 }, "selector": "0xe5219595" }, { "args": [{ "label": "tx_id", "type": { "displayName": ["String"], "type": 4 } }], "default": false, "docs": [], "label": "get_transaction", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 18 }, "selector": "0xfeeb858e" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 2 } }], "default": false, "docs": [" Modifies the code which is used to execute calls to this contract address (`AccountId`).", "", " We use this to upgrade the contract logic. We don't do any authorization here, any caller", " can execute this method. In a production contract you would do some authorization here."], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 7 }, "selector": "0x694fb50f" }, { "args": [{ "label": "transaction_id", "type": { "displayName": ["String"], "type": 4 } }, { "label": "from_address", "type": { "displayName": ["AccountId"], "type": 1 } }, { "label": "to_address", "type": { "displayName": [], "type": 23 } }, { "label": "amount", "type": { "displayName": ["Balance"], "type": 5 } }], "default": false, "docs": [], "label": "asset_commit", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 25 }, "selector": "0xc2ad66bb" }, { "args": [{ "label": "from_address", "type": { "displayName": [], "type": 23 } }, { "label": "to_address", "type": { "displayName": ["AccountId"], "type": 1 } }, { "label": "amount", "type": { "displayName": ["Balance"], "type": 5 } }], "default": false, "docs": [], "label": "asset_dispatch", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 25 }, "selector": "0x535b25a5" }, { "args": [{ "label": "new_controller", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "change_controller", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 7 }, "selector": "0xc92e346d" }, { "args": [{ "label": "new_admin", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "relinquish_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 7 }, "selector": "0xda7dbaee" }, { "args": [], "default": false, "docs": [], "label": "claim_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 7 }, "selector": "0xa8656c6c" }, { "args": [], "default": false, "docs": [], "label": "cancel_admin_transfer", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 7 }, "selector": "0xd45e3d78" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "root": { "layout": { "leaf": { "key": "0x8eb615e1", "ty": 0 } }, "root_key": "0x8eb615e1" } }, "name": "user_transaction_nonce" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "super_admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "new_admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "controller" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "usdt_contract" }, { "layout": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x82645412", "ty": 4 } }, "name": "transaction_id" }, { "layout": { "enum": { "dispatchKey": "0x82645412", "name": "TransactionType", "variants": { "0": { "fields": [], "name": "Commit" }, "1": { "fields": [], "name": "Dispatch" } } } }, "name": "transaction_type" }, { "layout": { "enum": { "dispatchKey": "0x82645412", "name": "Chain", "variants": { "0": { "fields": [], "name": "D9" }, "1": { "fields": [], "name": "TRON" } } } }, "name": "from_chain" }, { "layout": { "enum": { "dispatchKey": "0x82645412", "name": "AddressType", "variants": { "0": { "fields": [{ "layout": { "array": { "layout": { "leaf": { "key": "0x82645412", "ty": 3 } }, "len": 21, "offset": "0x82645412" } }, "name": "0" }], "name": "Tron" }, "1": { "fields": [{ "layout": { "leaf": { "key": "0x82645412", "ty": 1 } }, "name": "0" }], "name": "D9" } } } }, "name": "from_address" }, { "layout": { "enum": { "dispatchKey": "0x82645412", "name": "AddressType", "variants": { "0": { "fields": [{ "layout": { "array": { "layout": { "leaf": { "key": "0x82645412", "ty": 3 } }, "len": 21, "offset": "0x82645412" } }, "name": "0" }], "name": "Tron" }, "1": { "fields": [{ "layout": { "leaf": { "key": "0x82645412", "ty": 1 } }, "name": "0" }], "name": "D9" } } } }, "name": "to_address" }, { "layout": { "leaf": { "key": "0x82645412", "ty": 5 } }, "name": "amount" }, { "layout": { "leaf": { "key": "0x82645412", "ty": 0 } }, "name": "timestamp" }], "name": "Transaction" } }, "root_key": "0x82645412" } }, "name": "transactions" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 6 } }, "name": "transaction_admins" }], "name": "CrossChainTransfer" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "primitive": "u64" } } }, { "id": 1, "type": { "def": { "composite": { "fields": [{ "type": 2, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 2, "type": { "def": { "array": { "len": 32, "type": 3 } } } }, { "id": 3, "type": { "def": { "primitive": "u8" } } }, { "id": 4, "type": { "def": { "primitive": "str" } } }, { "id": 5, "type": { "def": { "primitive": "u128" } } }, { "id": 6, "type": { "def": { "sequence": { "type": 1 } } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 8 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 8 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 8, "type": { "def": { "tuple": [] } } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 11 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 11 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 8 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 12 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 8 }, { "name": "E", "type": 12 }], "path": ["Result"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 1, "typeName": "AccountId" }], "index": 0, "name": "Restrictedto" }, { "index": 1, "name": "AmountMustBeGreaterThanZero" }, { "index": 2, "name": "TransactionAlreadyExists" }, { "fields": [{ "type": 13, "typeName": "Chain" }], "index": 3, "name": "InvalidAddressLength" }, { "index": 4, "name": "InvalidHexString" }, { "index": 5, "name": "DecodedHexLengthInvalid" }, { "index": 6, "name": "TronAddressInvalidByteLength" }, { "index": 7, "name": "InvalidTronAddress" }, { "index": 8, "name": "TronDecodeError" }, { "index": 9, "name": "UnableToSendUSDT" }, { "index": 10, "name": "InsufficientAllowance" }, { "index": 11, "name": "UserUSDTBalanceInsufficient" }, { "index": 12, "name": "D9orUSDTProvidedLiquidityAtZero" }, { "index": 13, "name": "AlreadyTransactionAdmin" }] } }, "path": ["cross_chain_transfer", "cross_chain_transfer", "Error"] } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "D9" }, { "index": 1, "name": "TRON" }] } }, "path": ["cross_chain_transfer", "cross_chain_transfer", "Chain"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 15, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 16 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 16 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 16, "type": { "def": { "primitive": "bool" } } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 18, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 19 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 19 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 19, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 20 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 20 }], "path": ["Option"] } }, { "id": 20, "type": { "def": { "composite": { "fields": [{ "name": "transaction_id", "type": 4, "typeName": "String" }, { "name": "transaction_type", "type": 21, "typeName": "TransactionType" }, { "name": "from_chain", "type": 13, "typeName": "Chain" }, { "name": "from_address", "type": 22, "typeName": "AddressType" }, { "name": "to_address", "type": 22, "typeName": "AddressType" }, { "name": "amount", "type": 5, "typeName": "u128" }, { "name": "timestamp", "type": 0, "typeName": "Timestamp" }] } }, "path": ["cross_chain_transfer", "cross_chain_transfer", "Transaction"] } }, { "id": 21, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "Commit" }, { "index": 1, "name": "Dispatch" }] } }, "path": ["cross_chain_transfer", "cross_chain_transfer", "TransactionType"] } }, { "id": 22, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 23, "typeName": "[u8; 21]" }], "index": 0, "name": "Tron" }, { "fields": [{ "type": 1, "typeName": "AccountId" }], "index": 1, "name": "D9" }] } }, "path": ["cross_chain_transfer", "cross_chain_transfer", "AddressType"] } }, { "id": 23, "type": { "def": { "array": { "len": 21, "type": 3 } } } }, { "id": 24, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 25, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 26 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 9 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 26 }, { "name": "E", "type": 9 }], "path": ["Result"] } }, { "id": 26, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 12 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 12 }], "path": ["Result"] } }, { "id": 27, "type": { "def": { "composite": { "fields": [{ "type": 2, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 28, "type": { "def": { "primitive": "u32" } } }, { "id": 29, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
78
|
+
|
|
79
|
+
// .papi/descriptors/src/contracts/marketMaker.ts
|
|
80
|
+
var descriptor6 = { metadata: { "source": { "hash": "0x6e0eaec1512315978981967d4f9d6072c6a3f50381289c69205961fa9509fff9", "language": "ink! 4.3.0", "compiler": "rustc 1.72.1", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-x86_64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "market-maker", "version": "0.1.0", "authors": ["D9Dev"] }, "spec": { "constructors": [{ "args": [{ "label": "usdt_contract", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "fee_percent", "type": { "displayName": ["u32"], "type": 3 } }, { "label": "liquidity_tolerance_percent", "type": { "displayName": ["u32"], "type": 3 } }], "default": false, "docs": [], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 5 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 0 }, "balance": { "displayName": ["Balance"], "type": 4 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 3 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 24 }, "hash": { "displayName": ["Hash"], "type": 22 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 23 } }, "events": [{ "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "usdt", "type": { "displayName": ["Balance"], "type": 4 } }, { "docs": [], "indexed": true, "label": "d9", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "LiquidityAdded" }, { "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "usdt", "type": { "displayName": ["Balance"], "type": 4 } }, { "docs": [], "indexed": true, "label": "d9", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "LiquidityRemoved" }, { "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "usdt", "type": { "displayName": ["Balance"], "type": 4 } }, { "docs": [], "indexed": true, "label": "d9", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "D9ToUSDTConversion" }, { "args": [{ "docs": [], "indexed": true, "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "docs": [], "indexed": true, "label": "usdt", "type": { "displayName": ["Balance"], "type": 4 } }, { "docs": [], "indexed": true, "label": "d9", "type": { "displayName": ["Balance"], "type": 4 } }], "docs": [], "label": "USDTToD9Conversion" }], "lang_error": { "displayName": ["ink", "LangError"], "type": 7 }, "messages": [{ "args": [{ "label": "new_admin", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "change_admin", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x61ae97d7" }, { "args": [], "default": false, "docs": [" get pool balances (d9, usdt)"], "label": "get_currency_reserves", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x43b2d0e6" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "get_liquidity_provider", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 10 }, "selector": "0x32e702ad" }, { "args": [{ "label": "usdt_liquidity", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [" add liquidity by adding tokens to the reserves"], "label": "add_liquidity", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x264cd04b" }, { "args": [], "default": false, "docs": [], "label": "remove_liquidity", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0xbdd16bfa" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 1 } }], "default": false, "docs": [" Modifies the code which is used to execute calls to this contract address (`AccountId`).", "", " We use this to upgrade the contract logic. We don't do any authorization here, any caller", " can execute this method. In a production contract you would do some authorization here."], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x694fb50f" }, { "args": [{ "label": "usdt_liquidity", "type": { "displayName": ["Balance"], "type": 4 } }, { "label": "d9_liquidity", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [], "label": "check_new_liquidity", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x5a150c03" }, { "args": [{ "label": "usdt", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [" sell usdt"], "label": "get_d9", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0x0edab8e1" }, { "args": [], "default": false, "docs": [" sell d9"], "label": "get_usdt", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0x5b41ab8a" }, { "args": [{ "label": "d9_liquidity", "type": { "displayName": ["Balance"], "type": 4 } }, { "label": "usdt_liquidity", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [" calculate lp tokens based on usdt liquidity"], "label": "calc_new_lp_tokens", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 18 }, "selector": "0xbdcee4ed" }, { "args": [{ "label": "direction", "type": { "displayName": ["Direction"], "type": 19 } }, { "label": "amount_0", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [" amount of currency B from A, if A => B"], "label": "calculate_exchange", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0x2413eb9a" }, { "args": [{ "label": "direction", "type": { "displayName": ["Direction"], "type": 19 } }, { "label": "amount_0", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [], "label": "estimate_exchange", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 20 }, "selector": "0x06f49352" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "amount", "type": { "displayName": ["Balance"], "type": 4 } }], "default": false, "docs": [" check if usdt balance is sufficient for swap"], "label": "check_usdt_balance", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x4a74f8d9" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "usdt_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 3 } }, "name": "fee_percent" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "fee_total" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 3 } }, "name": "liquidity_tolerance_percent" }, { "layout": { "root": { "layout": { "leaf": { "key": "0x838a4d0c", "ty": 4 } }, "root_key": "0x838a4d0c" } }, "name": "liquidity_providers" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "total_lp_tokens" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "admin" }], "name": "MarketMaker" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 1, "type": { "def": { "array": { "len": 32, "type": 2 } } } }, { "id": 2, "type": { "def": { "primitive": "u8" } } }, { "id": 3, "type": { "def": { "primitive": "u32" } } }, { "id": 4, "type": { "def": { "primitive": "u128" } } }, { "id": 5, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 6, "type": { "def": { "tuple": [] } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "tuple": [4, 4] } } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 11 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 11 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 4 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 4 }], "path": ["Option"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 13 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 13 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 14 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 14 }], "path": ["Result"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "D9orUSDTProvidedLiquidityAtZero" }, { "index": 1, "name": "ConversionAmountTooLow" }, { "index": 2, "name": "CouldntTransferUSDTFromUser" }, { "fields": [{ "type": 15, "typeName": "Currency" }], "index": 3, "name": "InsufficientLiquidity" }, { "index": 4, "name": "InsufficientAllowance" }, { "fields": [{ "type": 15, "typeName": "Currency" }], "index": 5, "name": "MarketMakerHasInsufficientFunds" }, { "index": 6, "name": "InsufficientLiquidityProvided" }, { "index": 7, "name": "USDTBalanceInsufficient" }, { "index": 8, "name": "LiquidityProviderNotFound" }, { "fields": [{ "type": 4, "typeName": "Balance" }, { "type": 4, "typeName": "Balance" }], "index": 9, "name": "LiquidityAddedBeyondTolerance" }, { "index": 10, "name": "InsufficientLPTokens" }, { "index": 11, "name": "InsufficientContractLPTokens" }, { "index": 12, "name": "DivisionByZero" }, { "index": 13, "name": "MultiplicationError" }, { "index": 14, "name": "USDTTooSmall" }, { "index": 15, "name": "USDTTooMuch" }, { "index": 16, "name": "LiquidityTooLow" }] } }, "path": ["market_maker", "market_maker", "Error"] } }, { "id": 15, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "D9" }, { "index": 1, "name": "USDT" }] } }, "path": ["market_maker", "market_maker", "Currency"] } }, { "id": 16, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 17 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 17 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 14 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 14 }], "path": ["Result"] } }, { "id": 18, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 4 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 4 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 19, "type": { "def": { "composite": { "fields": [{ "type": 15, "typeName": "Currency" }, { "type": 15, "typeName": "Currency" }] } }, "path": ["market_maker", "market_maker", "Direction"] } }, { "id": 20, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 21 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 21 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 21, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 14 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 14 }], "path": ["Result"] } }, { "id": 22, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 23, "type": { "def": { "primitive": "u64" } } }, { "id": 24, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
81
|
+
|
|
82
|
+
// .papi/descriptors/src/contracts/burnMining.ts
|
|
83
|
+
var descriptor7 = { metadata: { "source": { "hash": "0xa1245e9aaa904fd32b47665ecb84bff4d2357eea3d82257d092e3e05b66b3904", "language": "ink! 4.3.0", "compiler": "rustc 1.72.0", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-aarch64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "d9-burn-mining", "version": "0.1.0", "authors": ["D9Dev"] }, "spec": { "constructors": [{ "args": [{ "label": "main_pool", "type": { "displayName": ["AccountId"], "type": 1 } }, { "label": "burn_minimum", "type": { "displayName": ["Balance"], "type": 0 } }], "default": false, "docs": [], "label": "new", "payable": true, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 5 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 1 }, "balance": { "displayName": ["Balance"], "type": 0 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 25 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 26 }, "hash": { "displayName": ["Hash"], "type": 24 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 4 } }, "events": [], "lang_error": { "displayName": ["ink", "LangError"], "type": 7 }, "messages": [{ "args": [{ "label": "new_main", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "change_main", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x6cfbbb35" }, { "args": [{ "label": "new_day_milliseconds", "type": { "displayName": ["Timestamp"], "type": 4 } }], "default": false, "docs": [], "label": "set_day_milliseconds", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x57d2bc7f" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "get_account", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 11 }, "selector": "0xd0f48683" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 1 } }, { "label": "burn_amount", "type": { "displayName": ["Balance"], "type": 0 } }], "default": false, "docs": [" burn funcion callable by ownly master contract", "", " does the necessary checks then calls the internal burn function `_burn`"], "label": "initiate_burn", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 16 }, "selector": "0x34aff0a0" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [" calculate values to be used by the burn manager"], "label": "prepare_withdrawal", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 18 }, "selector": "0x9c2e384b" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 1 } }], "default": false, "docs": [], "label": "get_ancestors", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 21 }, "selector": "0xe2ee2364" }, { "args": [{ "label": "user", "type": { "displayName": ["AccountId"], "type": 1 } }, { "label": "amount_burned", "type": { "displayName": ["Balance"], "type": 0 } }], "default": false, "docs": [], "label": "update_data", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x0590a9a1" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 2 } }], "default": false, "docs": [" Modifies the code which is used to execute calls to this contract address (`AccountId`).", "", " We use this to upgrade the contract logic. We don't do any authorization here, any caller", " can execute this method. In a production contract you would do some authorization here."], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x694fb50f" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "total_amount_burned" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "main_pool" }, { "layout": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x125717b1", "ty": 4 } }, "name": "creation_timestamp" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 0 } }, "name": "amount_burned" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 0 } }, "name": "balance_due" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 0 } }, "name": "balance_paid" }, { "layout": { "enum": { "dispatchKey": "0x125717b1", "name": "Option", "variants": { "0": { "fields": [], "name": "None" }, "1": { "fields": [{ "layout": { "leaf": { "key": "0x125717b1", "ty": 4 } }, "name": "0" }], "name": "Some" } } } }, "name": "last_withdrawal" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 4 } }, "name": "last_burn" }, { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x125717b1", "ty": 0 } }, "name": "0" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 0 } }, "name": "1" }], "name": "(A, B)" } }, "name": "referral_boost_coefficients" }, { "layout": { "leaf": { "key": "0x125717b1", "ty": 4 } }, "name": "last_interaction" }], "name": "Account" } }, "root_key": "0x125717b1" } }, "name": "accounts" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "burn_minimum" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "day_milliseconds" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 1 } }, "name": "admin" }], "name": "D9burnMining" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "primitive": "u128" } } }, { "id": 1, "type": { "def": { "composite": { "fields": [{ "type": 2, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 2, "type": { "def": { "array": { "len": 32, "type": 3 } } } }, { "id": 3, "type": { "def": { "primitive": "u8" } } }, { "id": 4, "type": { "def": { "primitive": "u64" } } }, { "id": 5, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 6, "type": { "def": { "tuple": [] } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 9 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 9 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "BurnAmountInsufficient" }, { "index": 1, "name": "NoAccountFound" }, { "index": 2, "name": "EarlyWithdrawalAttempt" }, { "index": 3, "name": "ContractBalanceTooLow" }, { "index": 4, "name": "RestrictedFunction" }, { "index": 5, "name": "UsePortfolioExecuteFunction" }, { "index": 6, "name": "WithdrawalExceedsBalance" }, { "index": 7, "name": "TransferFailed" }, { "index": 8, "name": "InvalidCaller" }, { "index": 9, "name": "InvalidBurnContract" }, { "index": 10, "name": "BurnContractAlreadyAdded" }, { "index": 11, "name": "BurnAmountNotMultipleOf100" }, { "index": 12, "name": "CrossContractCallFailed" }, { "index": 13, "name": "WithdrawalNotAllowed" }, { "index": 14, "name": "WithdrawalAmountZero" }, { "index": 15, "name": "RuntimeErrorGettingAncestors" }, { "index": 16, "name": "NoAncestorsFound" }, { "index": 17, "name": "MustBeMultipleOf100" }, { "index": 18, "name": "RemoteCallToBurnContractFailed" }, { "index": 19, "name": "RemoteCallToMiningPoolFailed" }, { "index": 20, "name": "SomeEnvironmentError" }, { "index": 21, "name": "CalledContractTrapped" }, { "index": 22, "name": "CalledContractReverted" }, { "index": 23, "name": "NotCallable" }, { "index": 24, "name": "SomeDecodeError" }, { "index": 25, "name": "SomeOffChainError" }, { "index": 26, "name": "CalleeTrapped" }, { "index": 27, "name": "CalleeReverted" }, { "index": 28, "name": "KeyNotFound" }, { "index": 29, "name": "_BelowSubsistenceThreshold" }, { "index": 30, "name": "EnvironmentalTransferFailed" }, { "index": 31, "name": "_EndowmentTooLow" }, { "index": 32, "name": "CodeNotFound" }, { "index": 33, "name": "Unknown" }, { "index": 34, "name": "LoggingDisabled" }, { "index": 35, "name": "CallRuntimeFailed" }, { "index": 36, "name": "EcdsaRecoveryFailed" }, { "index": 37, "name": "WithdrawalAmountExceedsBalance" }] } }, "path": ["d9_burn_common", "Error"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 12 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 12 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 13 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 13 }], "path": ["Option"] } }, { "id": 13, "type": { "def": { "composite": { "fields": [{ "name": "creation_timestamp", "type": 4, "typeName": "Timestamp" }, { "name": "amount_burned", "type": 0, "typeName": "Balance" }, { "name": "balance_due", "type": 0, "typeName": "Balance" }, { "name": "balance_paid", "type": 0, "typeName": "Balance" }, { "name": "last_withdrawal", "type": 14, "typeName": "Option<Timestamp>" }, { "name": "last_burn", "type": 4, "typeName": "Timestamp" }, { "name": "referral_boost_coefficients", "type": 15, "typeName": "(Balance, Balance)" }, { "name": "last_interaction", "type": 4, "typeName": "Timestamp" }] } }, "path": ["d9_burn_common", "Account"] } }, { "id": 14, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 4 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 4 }], "path": ["Option"] } }, { "id": 15, "type": { "def": { "tuple": [0, 0] } } }, { "id": 16, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 17 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 17 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 17, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 0 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 18, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 19 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 19 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 19, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 20 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 10 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 20 }, { "name": "E", "type": 10 }], "path": ["Result"] } }, { "id": 20, "type": { "def": { "tuple": [0, 4] } } }, { "id": 21, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 22 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 22 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 22, "type": { "def": { "variant": { "variants": [{ "index": 0, "name": "None" }, { "fields": [{ "type": 23 }], "index": 1, "name": "Some" }] } }, "params": [{ "name": "T", "type": 23 }], "path": ["Option"] } }, { "id": 23, "type": { "def": { "sequence": { "type": 1 } } } }, { "id": 24, "type": { "def": { "composite": { "fields": [{ "type": 2, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 25, "type": { "def": { "primitive": "u32" } } }, { "id": 26, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
84
|
+
|
|
85
|
+
// .papi/descriptors/src/contracts/miningPool.ts
|
|
86
|
+
var descriptor8 = { metadata: { "source": { "hash": "0x7786436103072d79da5e85e15869fc4b3b835913425a705a809e8677626f1c7c", "language": "ink! 4.3.0", "compiler": "rustc 1.72.1", "build_info": { "build_mode": "Release", "cargo_contract_version": "3.2.0", "rust_toolchain": "stable-x86_64-apple-darwin", "wasm_opt_settings": { "keep_debug_symbols": false, "optimization_passes": "Z" } } }, "contract": { "name": "mining_pool", "version": "0.1.0", "authors": ["D9"] }, "spec": { "constructors": [{ "args": [{ "label": "main_contract", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "merchant_contract", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "node_reward_contract", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "amm_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": ["Constructor that initializes the `bool` value to the given `init_value`."], "label": "new", "payable": false, "returnType": { "displayName": ["ink_primitives", "ConstructorResult"], "type": 5 }, "selector": "0x9bae9d5e" }], "docs": [], "environment": { "accountId": { "displayName": ["AccountId"], "type": 0 }, "balance": { "displayName": ["Balance"], "type": 3 }, "blockNumber": { "displayName": ["BlockNumber"], "type": 4 }, "chainExtension": { "displayName": ["ChainExtension"], "type": 16 }, "hash": { "displayName": ["Hash"], "type": 14 }, "maxEventTopics": 4, "timestamp": { "displayName": ["Timestamp"], "type": 15 } }, "events": [], "lang_error": { "displayName": ["ink", "LangError"], "type": 7 }, "messages": [{ "args": [], "default": false, "docs": [], "label": "get_accumulative_reward_pool", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x71ebcde6" }, { "args": [{ "label": "account_id", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "amount", "type": { "displayName": ["Balance"], "type": 3 } }], "default": false, "docs": [], "label": "pay_node_reward", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x2f0dd006" }, { "args": [], "default": false, "docs": [], "label": "get_merchant_volume", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x3e3207be" }, { "args": [{ "label": "session_index", "type": { "displayName": ["u32"], "type": 4 } }], "default": false, "docs": [], "label": "get_session_volume", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0x91894472" }, { "args": [{ "label": "session_index", "type": { "displayName": ["u32"], "type": 4 } }], "default": false, "docs": [], "label": "update_pool_and_retrieve", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x8a1783cd" }, { "args": [{ "label": "amount", "type": { "displayName": ["Balance"], "type": 3 } }], "default": false, "docs": [], "label": "deduct_from_reward_pool", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x7df305eb" }, { "args": [], "default": false, "docs": [], "label": "get_total_volume", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 8 }, "selector": "0xe88330b2" }, { "args": [], "default": false, "docs": [], "label": "process_merchant_payment", "mutates": true, "payable": true, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0xcbdfeaf9" }, { "args": [{ "label": "user_account", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "redeemable_usdt", "type": { "displayName": ["Balance"], "type": 3 } }], "default": false, "docs": [], "label": "merchant_user_redeem_d9", "mutates": false, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 12 }, "selector": "0x152062a1" }, { "args": [{ "label": "merchant_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "change_merchant_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x1221b207" }, { "args": [{ "label": "to", "type": { "displayName": ["AccountId"], "type": 0 } }, { "label": "amount", "type": { "displayName": ["Balance"], "type": 3 } }], "default": false, "docs": [], "label": "send_to", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x651d5be0" }, { "args": [{ "label": "node_reward_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "change_node_reward_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x5cfb2c63" }, { "args": [{ "label": "amm_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "change_amm_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0x0db11b82" }, { "args": [{ "label": "main_contract", "type": { "displayName": ["AccountId"], "type": 0 } }], "default": false, "docs": [], "label": "change_main_contract", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 9 }, "selector": "0xbb530edc" }, { "args": [{ "label": "code_hash", "type": { "displayName": [], "type": 1 } }], "default": false, "docs": [], "label": "set_code", "mutates": true, "payable": false, "returnType": { "displayName": ["ink", "MessageResult"], "type": 5 }, "selector": "0x694fb50f" }] }, "storage": { "root": { "layout": { "struct": { "fields": [{ "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "admin" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "main_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "merchant_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "node_reward_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 0 } }, "name": "amm_contract" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 3 } }, "name": "merchant_volume" }, { "layout": { "root": { "layout": { "leaf": { "key": "0xd9887759", "ty": 3 } }, "root_key": "0xd9887759" } }, "name": "volume_at_index" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 4 } }, "name": "last_session" }, { "layout": { "leaf": { "key": "0x00000000", "ty": 3 } }, "name": "accumulative_reward_pool" }], "name": "MiningPool" } }, "root_key": "0x00000000" } }, "types": [{ "id": 0, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "AccountId"] } }, { "id": 1, "type": { "def": { "array": { "len": 32, "type": 2 } } } }, { "id": 2, "type": { "def": { "primitive": "u8" } } }, { "id": 3, "type": { "def": { "primitive": "u128" } } }, { "id": 4, "type": { "def": { "primitive": "u32" } } }, { "id": 5, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 6, "type": { "def": { "tuple": [] } } }, { "id": 7, "type": { "def": { "variant": { "variants": [{ "index": 1, "name": "CouldNotReadInput" }] } }, "path": ["ink_primitives", "LangError"] } }, { "id": 8, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 3 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 3 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 9, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 10 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 10 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 10, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 6 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 11 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 6 }, { "name": "E", "type": 11 }], "path": ["Result"] } }, { "id": 11, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 0, "typeName": "AccountId" }], "index": 0, "name": "OnlyCallableBy" }, { "index": 1, "name": "FailedToGetExchangeAmount" }, { "index": 2, "name": "FailedToTransferD9ToUser" }, { "index": 3, "name": "SessionPoolNotReady" }] } }, "path": ["mining_pool", "mining_pool", "Error"] } }, { "id": 12, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 13 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 7 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 13 }, { "name": "E", "type": 7 }], "path": ["Result"] } }, { "id": 13, "type": { "def": { "variant": { "variants": [{ "fields": [{ "type": 3 }], "index": 0, "name": "Ok" }, { "fields": [{ "type": 11 }], "index": 1, "name": "Err" }] } }, "params": [{ "name": "T", "type": 3 }, { "name": "E", "type": 11 }], "path": ["Result"] } }, { "id": 14, "type": { "def": { "composite": { "fields": [{ "type": 1, "typeName": "[u8; 32]" }] } }, "path": ["ink_primitives", "types", "Hash"] } }, { "id": 15, "type": { "def": { "primitive": "u64" } } }, { "id": 16, "type": { "def": { "variant": {} }, "path": ["d9_chain_extension", "D9ChainExtension"] } }], "version": "4" } };
|
|
87
|
+
|
|
88
|
+
// .papi/descriptors/src/index.ts
|
|
89
|
+
var metadatas = { ["0x05b81d038cfe33e4d5c55559161bbda14e8cca5b1beb2d4ed7d5da1544f22e90"]: d9_default };
|
|
90
|
+
var getMetadata2 = async (codeHash) => {
|
|
91
|
+
try {
|
|
92
|
+
return await metadatas[codeHash].getMetadata();
|
|
93
|
+
} catch {
|
|
94
|
+
}
|
|
95
|
+
return null;
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
ArithmeticError,
|
|
99
|
+
BalanceStatus,
|
|
100
|
+
BalancesTypesReasons,
|
|
101
|
+
DigestItem,
|
|
102
|
+
DispatchClass,
|
|
103
|
+
GrandpaEquivocation,
|
|
104
|
+
GrandpaEvent,
|
|
105
|
+
GrandpaStoredState,
|
|
106
|
+
MultiAddress,
|
|
107
|
+
Phase,
|
|
108
|
+
SessionEvent,
|
|
109
|
+
TransactionPaymentEvent,
|
|
110
|
+
TransactionPaymentReleases,
|
|
111
|
+
TransactionalError,
|
|
112
|
+
contracts_exports as contracts,
|
|
113
|
+
d9_default as d9,
|
|
114
|
+
getMetadata2 as getMetadata
|
|
115
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./chunk-7P6ASYW6.mjs";
|
|
2
|
+
|
|
3
|
+
// .papi/descriptors/src/metadataTypes.ts
|
|
4
|
+
var content = "ZQMBAQUABAEBBQAIAQEFAAwAEAAQABAADAEABCRuZXdfZGVwdGgMAQEFAQEFAQQQAQgBAQUADAEBBQAQAQEFAQEFAQEFABQBAAQ0bmV3X3RyZWFzdXJlchABAQUAEAAYABwACAAQAAgADAAgABAAJAAQACwBAQUAEAEABEhjYW5kaWRhdGVfbWV0YWRhdGEsAQEFAQAQRGJlbmVmaWNpYXJ5X3ZvdGVyECRtYWluX3Bvb2wQOGFtb3VudF90b19idXJuCDRidXJuX2NvbnRyYWN0EAEBBQEABCxkZWxlZ2F0aW9uczQBAQUBAQUBAQUBAAgkY2FuZGlkYXRlEBR2b3RlcwgBAQUBAAgQZnJvbRAIdG8QAQEFAQAEEG5hbWUoAQEFAQAEPHNoYXJpbmdfcGVyY2VudAwBAQUBAAQkbmV3X2FkbWluEAEBBQEBBQA4AQAEMG5ld19jb250cmFjdBABAQUBAQUBAQUBAQUAjAAQAJAAEACcABAApAEACBBkZXN0sBR2YWx1Z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