@win-trader/bindings 0.0.1 → 0.0.2
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/mock-token/dist/index.d.ts +71 -45
- package/mock-token/dist/index.js +25 -4
- package/package.json +1 -1
|
@@ -4,6 +4,20 @@ import type { u32, u64, i128, Option } from "@stellar/stellar-sdk/contract";
|
|
|
4
4
|
export * from "@stellar/stellar-sdk";
|
|
5
5
|
export * as contract from "@stellar/stellar-sdk/contract";
|
|
6
6
|
export * as rpc from "@stellar/stellar-sdk/rpc";
|
|
7
|
+
export declare const MockTokenError: {
|
|
8
|
+
1: {
|
|
9
|
+
message: string;
|
|
10
|
+
};
|
|
11
|
+
2: {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
3: {
|
|
15
|
+
message: string;
|
|
16
|
+
};
|
|
17
|
+
4: {
|
|
18
|
+
message: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
7
21
|
export interface OwnerTokensKey {
|
|
8
22
|
index: u32;
|
|
9
23
|
owner: string;
|
|
@@ -1212,7 +1226,8 @@ export interface Client {
|
|
|
1212
1226
|
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1213
1227
|
/**
|
|
1214
1228
|
* Construct and simulate a mint transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1215
|
-
*
|
|
1229
|
+
* Public faucet mint. Once protocol restrictions are activated, each
|
|
1230
|
+
* address can mint at most 5,000 test USDC cumulatively.
|
|
1216
1231
|
*/
|
|
1217
1232
|
mint: ({ to, amount }: {
|
|
1218
1233
|
to: string;
|
|
@@ -1292,25 +1307,6 @@ export interface Client {
|
|
|
1292
1307
|
decimals: (options?: MethodOptions) => Promise<AssembledTransaction<u32>>;
|
|
1293
1308
|
/**
|
|
1294
1309
|
* Construct and simulate a transfer transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1295
|
-
* Transfers `amount` of tokens from `from` to `to`.
|
|
1296
|
-
*
|
|
1297
|
-
* # Arguments
|
|
1298
|
-
*
|
|
1299
|
-
* * `e` - Access to Soroban environment.
|
|
1300
|
-
* * `from` - The address holding the tokens.
|
|
1301
|
-
* * `to` - The address receiving the transferred tokens.
|
|
1302
|
-
* * `amount` - The amount of tokens to be transferred.
|
|
1303
|
-
*
|
|
1304
|
-
* # Errors
|
|
1305
|
-
*
|
|
1306
|
-
* * [`FungibleTokenError::InsufficientBalance`] - When attempting to
|
|
1307
|
-
* transfer more tokens than `from` current balance.
|
|
1308
|
-
* * [`FungibleTokenError::LessThanZero`] - When `amount < 0`.
|
|
1309
|
-
*
|
|
1310
|
-
* # Events
|
|
1311
|
-
*
|
|
1312
|
-
* * topics - `["transfer", from: Address, to: Address]`
|
|
1313
|
-
* * data - `[to_muxed_id: Option<u64>, amount: i128]`
|
|
1314
1310
|
*/
|
|
1315
1311
|
transfer: ({ from, to, amount }: {
|
|
1316
1312
|
from: string;
|
|
@@ -1363,6 +1359,16 @@ export interface Client {
|
|
|
1363
1359
|
from: string;
|
|
1364
1360
|
amount: i128;
|
|
1365
1361
|
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Construct and simulate a admin_mint transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1364
|
+
* Admin-only mint for deployment seeding and simulations. This bypasses
|
|
1365
|
+
* the public faucet cap and must not be exposed as a user faucet path.
|
|
1366
|
+
*/
|
|
1367
|
+
admin_mint: ({ admin, to, amount }: {
|
|
1368
|
+
admin: string;
|
|
1369
|
+
to: string;
|
|
1370
|
+
amount: i128;
|
|
1371
|
+
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1366
1372
|
/**
|
|
1367
1373
|
* Construct and simulate a initialize transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1368
1374
|
* Deploy and configure the mock token.
|
|
@@ -1382,33 +1388,14 @@ export interface Client {
|
|
|
1382
1388
|
* * `e` - Access to the Soroban environment.
|
|
1383
1389
|
*/
|
|
1384
1390
|
total_supply: (options?: MethodOptions) => Promise<AssembledTransaction<i128>>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Construct and simulate a public_minted transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1393
|
+
*/
|
|
1394
|
+
public_minted: ({ account }: {
|
|
1395
|
+
account: string;
|
|
1396
|
+
}, options?: MethodOptions) => Promise<AssembledTransaction<i128>>;
|
|
1385
1397
|
/**
|
|
1386
1398
|
* Construct and simulate a transfer_from transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1387
|
-
* Transfers `amount` of tokens from `from` to `to` using the
|
|
1388
|
-
* allowance mechanism. `amount` is then deducted from `spender`
|
|
1389
|
-
* allowance.
|
|
1390
|
-
*
|
|
1391
|
-
* # Arguments
|
|
1392
|
-
*
|
|
1393
|
-
* * `e` - Access to Soroban environment.
|
|
1394
|
-
* * `spender` - The address authorizing the transfer, and having its
|
|
1395
|
-
* allowance consumed during the transfer.
|
|
1396
|
-
* * `from` - The address holding the tokens which will be transferred.
|
|
1397
|
-
* * `to` - The address receiving the transferred tokens.
|
|
1398
|
-
* * `amount` - The amount of tokens to be transferred.
|
|
1399
|
-
*
|
|
1400
|
-
* # Errors
|
|
1401
|
-
*
|
|
1402
|
-
* * [`FungibleTokenError::InsufficientBalance`] - When attempting to
|
|
1403
|
-
* transfer more tokens than `from` current balance.
|
|
1404
|
-
* * [`FungibleTokenError::LessThanZero`] - When `amount < 0`.
|
|
1405
|
-
* * [`FungibleTokenError::InsufficientAllowance`] - When attempting to
|
|
1406
|
-
* transfer more tokens than `spender` current allowance.
|
|
1407
|
-
*
|
|
1408
|
-
* # Events
|
|
1409
|
-
*
|
|
1410
|
-
* * topics - `["transfer", from: Address, to: Address]`
|
|
1411
|
-
* * data - `[amount: i128]`
|
|
1412
1399
|
*/
|
|
1413
1400
|
transfer_from: ({ spender, from, to, amount }: {
|
|
1414
1401
|
spender: string;
|
|
@@ -1416,6 +1403,38 @@ export interface Client {
|
|
|
1416
1403
|
to: string;
|
|
1417
1404
|
amount: i128;
|
|
1418
1405
|
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Construct and simulate a public_mint_cap transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1408
|
+
*/
|
|
1409
|
+
public_mint_cap: (options?: MethodOptions) => Promise<AssembledTransaction<i128>>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Construct and simulate a configure_protocol transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1412
|
+
* Activate protocol-only transfer mode and mark the two perps contracts
|
|
1413
|
+
* that may receive from users and pay back to users.
|
|
1414
|
+
*/
|
|
1415
|
+
configure_protocol: ({ admin, vault, position_manager }: {
|
|
1416
|
+
admin: string;
|
|
1417
|
+
vault: string;
|
|
1418
|
+
position_manager: string;
|
|
1419
|
+
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Construct and simulate a restrictions_active transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1422
|
+
*/
|
|
1423
|
+
restrictions_active: (options?: MethodOptions) => Promise<AssembledTransaction<boolean>>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Construct and simulate a is_protocol_contract transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1426
|
+
*/
|
|
1427
|
+
is_protocol_contract: ({ contract }: {
|
|
1428
|
+
contract: string;
|
|
1429
|
+
}, options?: MethodOptions) => Promise<AssembledTransaction<boolean>>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Construct and simulate a set_protocol_contract transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
|
|
1432
|
+
*/
|
|
1433
|
+
set_protocol_contract: ({ admin, contract, allowed }: {
|
|
1434
|
+
admin: string;
|
|
1435
|
+
contract: string;
|
|
1436
|
+
allowed: boolean;
|
|
1437
|
+
}, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
|
|
1419
1438
|
}
|
|
1420
1439
|
export declare class Client extends ContractClient {
|
|
1421
1440
|
readonly options: ContractClientOptions;
|
|
@@ -1441,8 +1460,15 @@ export declare class Client extends ContractClient {
|
|
|
1441
1460
|
transfer: (json: string) => AssembledTransaction<null>;
|
|
1442
1461
|
allowance: (json: string) => AssembledTransaction<bigint>;
|
|
1443
1462
|
burn_from: (json: string) => AssembledTransaction<null>;
|
|
1463
|
+
admin_mint: (json: string) => AssembledTransaction<null>;
|
|
1444
1464
|
initialize: (json: string) => AssembledTransaction<null>;
|
|
1445
1465
|
total_supply: (json: string) => AssembledTransaction<bigint>;
|
|
1466
|
+
public_minted: (json: string) => AssembledTransaction<bigint>;
|
|
1446
1467
|
transfer_from: (json: string) => AssembledTransaction<null>;
|
|
1468
|
+
public_mint_cap: (json: string) => AssembledTransaction<bigint>;
|
|
1469
|
+
configure_protocol: (json: string) => AssembledTransaction<null>;
|
|
1470
|
+
restrictions_active: (json: string) => AssembledTransaction<boolean>;
|
|
1471
|
+
is_protocol_contract: (json: string) => AssembledTransaction<boolean>;
|
|
1472
|
+
set_protocol_contract: (json: string) => AssembledTransaction<null>;
|
|
1447
1473
|
};
|
|
1448
1474
|
}
|
package/mock-token/dist/index.js
CHANGED
|
@@ -7,6 +7,12 @@ if (typeof window !== "undefined") {
|
|
|
7
7
|
//@ts-ignore Buffer exists
|
|
8
8
|
window.Buffer = window.Buffer || Buffer;
|
|
9
9
|
}
|
|
10
|
+
export const MockTokenError = {
|
|
11
|
+
1: { message: "AlreadyInitialized" },
|
|
12
|
+
2: { message: "Unauthorized" },
|
|
13
|
+
3: { message: "MintCapExceeded" },
|
|
14
|
+
4: { message: "TransferRestricted" }
|
|
15
|
+
};
|
|
10
16
|
export const NonFungibleTokenError = {
|
|
11
17
|
/**
|
|
12
18
|
* Indicates a non-existent `token_id`.
|
|
@@ -486,18 +492,26 @@ export class Client extends ContractClient {
|
|
|
486
492
|
}
|
|
487
493
|
constructor(options) {
|
|
488
494
|
super(new ContractSpec(["AAAAAAAAAglEZXN0cm95cyBgYW1vdW50YCBvZiB0b2tlbnMgZnJvbSBgZnJvbWAuIFVwZGF0ZXMgdGhlIHRvdGFsCnN1cHBseSBhY2NvcmRpbmdseS4KCiMgQXJndW1lbnRzCgoqIGBlYCAtIEFjY2VzcyB0byB0aGUgU29yb2JhbiBlbnZpcm9ubWVudC4KKiBgZnJvbWAgLSBUaGUgYWNjb3VudCB3aG9zZSB0b2tlbnMgYXJlIGRlc3Ryb3llZC4KKiBgYW1vdW50YCAtIFRoZSBhbW91bnQgb2YgdG9rZW5zIHRvIGJ1cm4uCgojIEVycm9ycwoKKiBbYGNyYXRlOjpmdW5naWJsZTo6RnVuZ2libGVUb2tlbkVycm9yOjpJbnN1ZmZpY2llbnRCYWxhbmNlYF0gLSBXaGVuCmF0dGVtcHRpbmcgdG8gYnVybiBtb3JlIHRva2VucyB0aGFuIGBmcm9tYCBjdXJyZW50IGJhbGFuY2UuCiogW2BjcmF0ZTo6ZnVuZ2libGU6OkZ1bmdpYmxlVG9rZW5FcnJvcjo6TGVzc1RoYW5aZXJvYF0gLSBXaGVuIGBhbW91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2YKYE5vbkZ1bmdpYmxlVG9rZW5gAAAAAAAAABdORlRFbnVtZXJhYmxlU3RvcmFnZUtleQAAAAAFAAAAAAAAAAAAAAALVG90YWxTdXBwbHkAAAAAAQAAAAAAAAALT3duZXJUb2tlbnMAAAAAAQAAB9AAAAAOT3duZXJUb2tlbnNLZXkAAAAAAAEAAAAAAAAAEE93bmVyVG9rZW5zSW5kZXgAAAABAAAABAAAAAEAAAAAAAAADEdsb2JhbFRva2VucwAAAAEAAAAEAAAAAQAAAAAAAAARR2xvYmFsVG9rZW5zSW5kZXgAAAAAAAABAAAABA==",
|
|
503
517
|
"AAAABQAAADFFdmVudCBlbWl0dGVkIHdoZW4gY29uc2VjdXRpdmUgdG9rZW5zIGFyZSBtaW50ZWQuAAAAAAAAAAAAAA9Db25zZWN1dGl2ZU1pbnQAAAAAAQAAABBjb25zZWN1dGl2ZV9taW50AAAAAwAAAAAAAAACdG8AAAAAABMAAAABAAAAAAAAAA1mcm9tX3Rva2VuX2lkAAAAAAAABAAAAAAAAAAAAAAAC3RvX3Rva2VuX2lkAAAAAAQAAAAAAAAAAg==",
|
|
@@ -628,8 +642,15 @@ export class Client extends ContractClient {
|
|
|
628
642
|
transfer: (this.txFromJSON),
|
|
629
643
|
allowance: (this.txFromJSON),
|
|
630
644
|
burn_from: (this.txFromJSON),
|
|
645
|
+
admin_mint: (this.txFromJSON),
|
|
631
646
|
initialize: (this.txFromJSON),
|
|
632
647
|
total_supply: (this.txFromJSON),
|
|
633
|
-
|
|
648
|
+
public_minted: (this.txFromJSON),
|
|
649
|
+
transfer_from: (this.txFromJSON),
|
|
650
|
+
public_mint_cap: (this.txFromJSON),
|
|
651
|
+
configure_protocol: (this.txFromJSON),
|
|
652
|
+
restrictions_active: (this.txFromJSON),
|
|
653
|
+
is_protocol_contract: (this.txFromJSON),
|
|
654
|
+
set_protocol_contract: (this.txFromJSON)
|
|
634
655
|
};
|
|
635
656
|
}
|