@typemove/iota 1.13.4 → 1.13.5-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.
@@ -115,12 +115,18 @@ export declare namespace auth_context {
115
115
  }
116
116
  namespace builder {
117
117
  function digest(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
118
+ function intentTxDataBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
119
+ function signingDigest(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
118
120
  function txCommands(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
121
+ function txDataBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
119
122
  function txInputs(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
120
123
  }
121
124
  namespace view {
122
125
  function digest(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
126
+ function intentTxDataBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
127
+ function signingDigest(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
123
128
  function txCommands(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
129
+ function txDataBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
124
130
  function txInputs(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
125
131
  }
126
132
  }
@@ -2018,6 +2024,73 @@ export declare namespace hmac {
2018
2024
  function hmacSha3256(client: IotaClient, args: [string, string]): Promise<TypedDevInspectResults<[number[]]>>;
2019
2025
  }
2020
2026
  }
2027
+ export declare namespace intent {
2028
+ interface Intent {
2029
+ scope: number;
2030
+ version: number;
2031
+ app_id: number;
2032
+ }
2033
+ namespace Intent {
2034
+ const TYPE_QNAME = "0x2::intent::Intent";
2035
+ function type(): TypeDescriptor<Intent>;
2036
+ }
2037
+ type IntentInstance = TypedEventInstance<Intent> & {
2038
+ data_decoded: Intent;
2039
+ type_arguments: [];
2040
+ };
2041
+ namespace builder {
2042
+ function appId(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
2043
+ function appIdConsensus(tx: Transaction, args: []): TransactionArgument & [];
2044
+ function appIdIota(tx: Transaction, args: []): TransactionArgument & [];
2045
+ function iotaPersonalMessage(tx: Transaction, args: []): TransactionArgument & [];
2046
+ function iotaTransaction(tx: Transaction, args: []): TransactionArgument & [];
2047
+ function new$(tx: Transaction, args: [
2048
+ number | TransactionArgument,
2049
+ number | TransactionArgument,
2050
+ number | TransactionArgument
2051
+ ]): TransactionArgument & [
2052
+ TransactionArgument,
2053
+ TransactionArgument,
2054
+ TransactionArgument
2055
+ ];
2056
+ function scope(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
2057
+ function scopeAuthorityCapabilities(tx: Transaction, args: []): TransactionArgument & [];
2058
+ function scopeBridgeEventDeprecated(tx: Transaction, args: []): TransactionArgument & [];
2059
+ function scopeCheckpointSummary(tx: Transaction, args: []): TransactionArgument & [];
2060
+ function scopeConsensusBlock(tx: Transaction, args: []): TransactionArgument & [];
2061
+ function scopeDiscoveryPeers(tx: Transaction, args: []): TransactionArgument & [];
2062
+ function scopePersonalMessage(tx: Transaction, args: []): TransactionArgument & [];
2063
+ function scopeProofOfPossession(tx: Transaction, args: []): TransactionArgument & [];
2064
+ function scopeSenderSignedTransaction(tx: Transaction, args: []): TransactionArgument & [];
2065
+ function scopeTransactionData(tx: Transaction, args: []): TransactionArgument & [];
2066
+ function scopeTransactionEffects(tx: Transaction, args: []): TransactionArgument & [];
2067
+ function toBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
2068
+ function version(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
2069
+ function versionV0(tx: Transaction, args: []): TransactionArgument & [];
2070
+ }
2071
+ namespace view {
2072
+ function appId(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
2073
+ function appIdConsensus(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2074
+ function appIdIota(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2075
+ function iotaPersonalMessage(client: IotaClient, args: []): Promise<TypedDevInspectResults<[intent.Intent]>>;
2076
+ function iotaTransaction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[intent.Intent]>>;
2077
+ function new$(client: IotaClient, args: [number, number, number]): Promise<TypedDevInspectResults<[intent.Intent]>>;
2078
+ function scope(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
2079
+ function scopeAuthorityCapabilities(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2080
+ function scopeBridgeEventDeprecated(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2081
+ function scopeCheckpointSummary(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2082
+ function scopeConsensusBlock(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2083
+ function scopeDiscoveryPeers(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2084
+ function scopePersonalMessage(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2085
+ function scopeProofOfPossession(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2086
+ function scopeSenderSignedTransaction(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2087
+ function scopeTransactionData(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2088
+ function scopeTransactionEffects(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2089
+ function toBytes(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number[]]>>;
2090
+ function version(client: IotaClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
2091
+ function versionV0(client: IotaClient, args: []): Promise<TypedDevInspectResults<[number]>>;
2092
+ }
2093
+ }
2021
2094
  export declare namespace iota {
2022
2095
  interface IOTA {
2023
2096
  dummy_field: boolean;
@@ -3006,6 +3079,14 @@ export declare namespace priority_queue {
3006
3079
  function priorities<T0 = any>(client: IotaClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint[]]>>;
3007
3080
  }
3008
3081
  }
3082
+ export declare namespace protocol_config {
3083
+ namespace builder {
3084
+ function isFeatureEnabled(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
3085
+ }
3086
+ namespace view {
3087
+ function isFeatureEnabled(client: IotaClient, args: [string[]]): Promise<TypedDevInspectResults<[boolean]>>;
3088
+ }
3089
+ }
3009
3090
  export declare namespace prover {
3010
3091
  namespace builder { }
3011
3092
  namespace view { }
@@ -4167,14 +4248,22 @@ export declare namespace tx_context {
4167
4248
  function epoch(tx: Transaction, args: []): TransactionArgument & [];
4168
4249
  function epochTimestampMs(tx: Transaction, args: []): TransactionArgument & [];
4169
4250
  function freshObjectAddress(tx: Transaction, args: []): TransactionArgument & [];
4251
+ function gasBudget(tx: Transaction, args: []): TransactionArgument & [];
4252
+ function gasPrice(tx: Transaction, args: []): TransactionArgument & [];
4253
+ function referenceGasPrice(tx: Transaction, args: []): TransactionArgument & [];
4170
4254
  function sender(tx: Transaction, args: []): TransactionArgument & [];
4255
+ function sponsor(tx: Transaction, args: []): TransactionArgument & [];
4171
4256
  }
4172
4257
  namespace view {
4173
4258
  function digest(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
4174
4259
  function epoch(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
4175
4260
  function epochTimestampMs(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
4176
4261
  function freshObjectAddress(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
4262
+ function gasBudget(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
4263
+ function gasPrice(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
4264
+ function referenceGasPrice(client: IotaClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
4177
4265
  function sender(client: IotaClient, args: []): Promise<TypedDevInspectResults<[string]>>;
4266
+ function sponsor(client: IotaClient, args: []): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
4178
4267
  }
4179
4268
  }
4180
4269
  export declare namespace types {