@taquito/contracts-library 19.2.1 → 20.0.0-RC.1

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.
@@ -85,5 +85,8 @@ class ReadWrapperContractsLibrary {
85
85
  getLiveBlocks(block) {
86
86
  return this.readProvider.getLiveBlocks(block);
87
87
  }
88
+ getAdaptiveIssuanceLaunchCycle(block) {
89
+ return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
90
+ }
88
91
  }
89
92
  exports.ReadWrapperContractsLibrary = ReadWrapperContractsLibrary;
@@ -59,6 +59,31 @@ class RpcWrapperContractsLibrary {
59
59
  return this.rpc.getBalance(address, { block });
60
60
  });
61
61
  }
62
+ getFullBalance(address, { block } = rpc_1.defaultRPCOptions) {
63
+ return __awaiter(this, void 0, void 0, function* () {
64
+ return this.rpc.getFullBalance(address, { block });
65
+ });
66
+ }
67
+ getStakedBalance(address, { block } = rpc_1.defaultRPCOptions) {
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ return this.rpc.getStakedBalance(address, { block });
70
+ });
71
+ }
72
+ getUnstakedFinalizableBalance(address, { block } = rpc_1.defaultRPCOptions) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ return this.rpc.getUnstakedFinalizableBalance(address, { block });
75
+ });
76
+ }
77
+ getUnstakedFrozenBalance(address, { block } = rpc_1.defaultRPCOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ return this.rpc.getUnstakedFrozenBalance(address, { block });
80
+ });
81
+ }
82
+ getUnstakeRequests(address, { block } = rpc_1.defaultRPCOptions) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ return this.rpc.getUnstakeRequests(address, { block });
85
+ });
86
+ }
62
87
  getBlockHash({ block } = rpc_1.defaultRPCOptions) {
63
88
  return __awaiter(this, void 0, void 0, function* () {
64
89
  return this.rpc.getBlockHash({ block });
@@ -104,6 +129,11 @@ class RpcWrapperContractsLibrary {
104
129
  return this.rpc.getBigMapExpr(id, expr, { block });
105
130
  });
106
131
  }
132
+ getAllDelegates(args, { block } = rpc_1.defaultRPCOptions) {
133
+ return __awaiter(this, void 0, void 0, function* () {
134
+ return this.rpc.getAllDelegates(args, { block });
135
+ });
136
+ }
107
137
  getDelegates(address, { block } = rpc_1.defaultRPCOptions) {
108
138
  return __awaiter(this, void 0, void 0, function* () {
109
139
  return this.rpc.getDelegates(address, { block });
@@ -144,11 +174,6 @@ class RpcWrapperContractsLibrary {
144
174
  return this.rpc.getAttestationRights(args, { block });
145
175
  });
146
176
  }
147
- getEndorsingRights(args, { block } = rpc_1.defaultRPCOptions) {
148
- return __awaiter(this, void 0, void 0, function* () {
149
- return this.rpc.getEndorsingRights(args, { block });
150
- });
151
- }
152
177
  getBallotList({ block } = rpc_1.defaultRPCOptions) {
153
178
  return __awaiter(this, void 0, void 0, function* () {
154
179
  return this.rpc.getBallotList({ block });
@@ -281,6 +306,11 @@ class RpcWrapperContractsLibrary {
281
306
  return this.rpc.getAllTicketBalances(contract, { block });
282
307
  });
283
308
  }
309
+ getAdaptiveIssuanceLaunchCycle({ block, } = rpc_1.defaultRPCOptions) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ return this.rpc.getAdaptiveIssuanceLaunchCycle({ block });
312
+ });
313
+ }
284
314
  getPendingOperations(args) {
285
315
  return __awaiter(this, void 0, void 0, function* () {
286
316
  return this.rpc.getPendingOperations(args);
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5
5
  exports.VERSION = {
6
- "commitHash": "2e05f6f865be17a1b367b284542b24ffa9823271",
7
- "version": "19.2.1"
6
+ "commitHash": "3374a558006fdf94f6a51f86c64c2bfd970d619d",
7
+ "version": "20.0.0-RC.1"
8
8
  };
@@ -122,6 +122,9 @@ class ReadWrapperContractsLibrary {
122
122
  getLiveBlocks(block) {
123
123
  return this.readProvider.getLiveBlocks(block);
124
124
  }
125
+ getAdaptiveIssuanceLaunchCycle(block) {
126
+ return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
127
+ }
125
128
  }
126
129
 
127
130
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-contracts-library.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taquito-contracts-library.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -125,6 +125,9 @@
125
125
  getLiveBlocks(block) {
126
126
  return this.readProvider.getLiveBlocks(block);
127
127
  }
128
+ getAdaptiveIssuanceLaunchCycle(block) {
129
+ return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
130
+ }
128
131
  }
129
132
 
130
133
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-contracts-library.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taquito-contracts-library.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from 'bignumber.js';
2
- import { BlockResponse, EntrypointsResponse, MichelsonV1Expression, SaplingDiffResponse, ScriptedContracts } from '@taquito/rpc';
2
+ import { BlockResponse, EntrypointsResponse, MichelsonV1Expression, SaplingDiffResponse, ScriptedContracts, AILaunchCycleResponse } from '@taquito/rpc';
3
3
  import { ContractsLibrary } from './taquito-contracts-library';
4
4
  import { BigMapQuery, BlockIdentifier, SaplingStateQuery, TzReadProvider } from '@taquito/taquito';
5
5
  export declare class ReadWrapperContractsLibrary implements TzReadProvider {
@@ -32,4 +32,5 @@ export declare class ReadWrapperContractsLibrary implements TzReadProvider {
32
32
  isAccountRevealed(publicKeyHash: string, block: BlockIdentifier): Promise<boolean>;
33
33
  getBlock(block: BlockIdentifier): Promise<BlockResponse>;
34
34
  getLiveBlocks(block: BlockIdentifier): Promise<string[]>;
35
+ getAdaptiveIssuanceLaunchCycle(block: BlockIdentifier): Promise<AILaunchCycleResponse>;
35
36
  }
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from 'bignumber.js';
2
- import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, BallotListResponse, BallotsResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EndorsingRightsQueryArguments, EndorsingRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, MichelsonV1Expression, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RpcClientInterface, RPCOptions, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam } from '@taquito/rpc';
2
+ import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, MichelsonV1Expression, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RpcClientInterface, RPCOptions, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from '@taquito/rpc';
3
3
  import { ContractsLibrary } from './taquito-contracts-library';
4
4
  /**
5
5
  * @deprecated RpcWrapperContractsLibrary has been deprecated in favor of ReadWrapperContractsLibrary
@@ -12,6 +12,11 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
12
12
  getContract(address: string, { block }?: RPCOptions): Promise<ContractResponse>;
13
13
  getEntrypoints(contract: string, { block }?: RPCOptions): Promise<EntrypointsResponse>;
14
14
  getBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
15
+ getFullBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
16
+ getStakedBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
17
+ getUnstakedFinalizableBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
18
+ getUnstakedFrozenBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
19
+ getUnstakeRequests(address: string, { block }?: RPCOptions): Promise<UnstakeRequestsResponse>;
15
20
  getBlockHash({ block }?: RPCOptions): Promise<string>;
16
21
  getLiveBlocks({ block }?: RPCOptions): Promise<string[]>;
17
22
  getStorage(address: string, { block }?: RPCOptions): Promise<MichelsonV1Expression>;
@@ -21,6 +26,7 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
21
26
  getDelegate(address: string, { block }?: RPCOptions): Promise<DelegateResponse>;
22
27
  getBigMapKey(address: string, key: BigMapKey, { block }?: RPCOptions): Promise<MichelsonV1Expression>;
23
28
  getBigMapExpr(id: string, expr: string, { block }?: RPCOptions): Promise<BigMapResponse>;
29
+ getAllDelegates(args: AllDelegatesQueryArguments, { block }?: RPCOptions): Promise<string[]>;
24
30
  getDelegates(address: string, { block }?: RPCOptions): Promise<DelegatesResponse>;
25
31
  getVotingInfo(address: string, { block }?: RPCOptions): Promise<VotingInfoResponse>;
26
32
  getConstants({ block }?: RPCOptions): Promise<ConstantsResponse>;
@@ -29,7 +35,6 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
29
35
  getBlockMetadata({ block }?: RPCOptions): Promise<BlockMetadata>;
30
36
  getBakingRights(args: BakingRightsQueryArguments, { block }?: RPCOptions): Promise<BakingRightsResponse>;
31
37
  getAttestationRights(args: AttestationRightsQueryArguments, { block }?: RPCOptions): Promise<AttestationRightsResponse>;
32
- getEndorsingRights(args: EndorsingRightsQueryArguments, { block }?: RPCOptions): Promise<EndorsingRightsResponse>;
33
38
  getBallotList({ block }?: RPCOptions): Promise<BallotListResponse>;
34
39
  getBallots({ block }?: RPCOptions): Promise<BallotsResponse>;
35
40
  getCurrentProposal({ block, }?: RPCOptions): Promise<CurrentProposalResponse>;
@@ -59,5 +64,6 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
59
64
  getStoragePaidSpace(contract: string, { block }?: RPCOptions): Promise<string>;
60
65
  getTicketBalance(contract: string, ticket: TicketTokenParams, { block }?: RPCOptions): Promise<string>;
61
66
  getAllTicketBalances(contract: string, { block }?: RPCOptions): Promise<AllTicketBalances>;
67
+ getAdaptiveIssuanceLaunchCycle({ block, }?: RPCOptions): Promise<AILaunchCycleResponse>;
62
68
  getPendingOperations(args: PendingOperationsQueryArguments): Promise<PendingOperationsV1 | PendingOperationsV2>;
63
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/contracts-library",
3
- "version": "19.2.1",
3
+ "version": "20.0.0-RC.1",
4
4
  "description": "Can be used as an extension on the TezosToolkit to provide contracts data",
5
5
  "keywords": [
6
6
  "tezos"
@@ -67,10 +67,10 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@taquito/core": "^19.2.1",
71
- "@taquito/rpc": "^19.2.1",
72
- "@taquito/taquito": "^19.2.1",
73
- "@taquito/utils": "^19.2.1",
70
+ "@taquito/core": "^20.0.0-RC.1",
71
+ "@taquito/rpc": "^20.0.0-RC.1",
72
+ "@taquito/taquito": "^20.0.0-RC.1",
73
+ "@taquito/utils": "^20.0.0-RC.1",
74
74
  "bignumber.js": "^9.1.2"
75
75
  },
76
76
  "devDependencies": {
@@ -101,5 +101,5 @@
101
101
  "ts-toolbelt": "^9.6.0",
102
102
  "typescript": "~5.2.2"
103
103
  },
104
- "gitHead": "3b9dbecb374ffd8136f494ae0817b2d1d530f8d9"
104
+ "gitHead": "410beab39d1745d4d8c00e92cddf3d1f143ee4bd"
105
105
  }