@sentio/sdk 2.56.0 → 2.57.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.
- package/lib/aptos/builtin/0x1.d.ts +308 -308
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +102 -102
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +22 -22
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +12 -12
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +66 -66
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +26 -26
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/aptos/builtin/0x1.ts +539 -579
- package/src/aptos/builtin/0x3.ts +177 -191
- package/src/aptos/builtin/0x4.ts +28 -31
- package/src/sui/builtin/0x1.ts +12 -13
- package/src/sui/builtin/0x2.ts +87 -86
- package/src/sui/builtin/0x3.ts +65 -65
package/lib/sui/builtin/0x3.d.ts
CHANGED
@@ -33,10 +33,10 @@ export declare namespace genesis {
|
|
33
33
|
const TYPE_QNAME = "0x3::genesis::GenesisChainParameters";
|
34
34
|
function type(): TypeDescriptor<GenesisChainParameters>;
|
35
35
|
}
|
36
|
-
|
36
|
+
type GenesisChainParametersInstance = TypedEventInstance<GenesisChainParameters> & {
|
37
37
|
data_decoded: GenesisChainParameters;
|
38
38
|
type_arguments: [];
|
39
|
-
}
|
39
|
+
};
|
40
40
|
interface GenesisValidatorMetadata {
|
41
41
|
name: number[];
|
42
42
|
description: number[];
|
@@ -58,10 +58,10 @@ export declare namespace genesis {
|
|
58
58
|
const TYPE_QNAME = "0x3::genesis::GenesisValidatorMetadata";
|
59
59
|
function type(): TypeDescriptor<GenesisValidatorMetadata>;
|
60
60
|
}
|
61
|
-
|
61
|
+
type GenesisValidatorMetadataInstance = TypedEventInstance<GenesisValidatorMetadata> & {
|
62
62
|
data_decoded: GenesisValidatorMetadata;
|
63
63
|
type_arguments: [];
|
64
|
-
}
|
64
|
+
};
|
65
65
|
interface TokenAllocation {
|
66
66
|
recipient_address: string;
|
67
67
|
amount_mist: bigint;
|
@@ -153,10 +153,10 @@ export declare namespace staking_pool {
|
|
153
153
|
const TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiDataKey";
|
154
154
|
function type(): TypeDescriptor<FungibleStakedSuiDataKey>;
|
155
155
|
}
|
156
|
-
|
156
|
+
type FungibleStakedSuiDataKeyInstance = TypedEventInstance<FungibleStakedSuiDataKey> & {
|
157
157
|
data_decoded: FungibleStakedSuiDataKey;
|
158
158
|
type_arguments: [];
|
159
|
-
}
|
159
|
+
};
|
160
160
|
interface PoolTokenExchangeRate {
|
161
161
|
sui_amount: bigint;
|
162
162
|
pool_token_amount: bigint;
|
@@ -165,10 +165,10 @@ export declare namespace staking_pool {
|
|
165
165
|
const TYPE_QNAME = "0x3::staking_pool::PoolTokenExchangeRate";
|
166
166
|
function type(): TypeDescriptor<PoolTokenExchangeRate>;
|
167
167
|
}
|
168
|
-
|
168
|
+
type PoolTokenExchangeRateInstance = TypedEventInstance<PoolTokenExchangeRate> & {
|
169
169
|
data_decoded: PoolTokenExchangeRate;
|
170
170
|
type_arguments: [];
|
171
|
-
}
|
171
|
+
};
|
172
172
|
interface StakedSui {
|
173
173
|
id: _0x2.object$.UID;
|
174
174
|
pool_id: _0x2.object$.ID;
|
@@ -961,10 +961,10 @@ export declare namespace sui_system_state_inner {
|
|
961
961
|
const TYPE_QNAME = "0x3::sui_system_state_inner::SystemEpochInfoEvent";
|
962
962
|
function type(): TypeDescriptor<SystemEpochInfoEvent>;
|
963
963
|
}
|
964
|
-
|
964
|
+
type SystemEpochInfoEventInstance = TypedEventInstance<SystemEpochInfoEvent> & {
|
965
965
|
data_decoded: SystemEpochInfoEvent;
|
966
966
|
type_arguments: [];
|
967
|
-
}
|
967
|
+
};
|
968
968
|
interface SystemParameters {
|
969
969
|
epoch_duration_ms: bigint;
|
970
970
|
stake_subsidy_start_epoch: bigint;
|
@@ -1387,10 +1387,10 @@ export declare namespace validator {
|
|
1387
1387
|
const TYPE_QNAME = "0x3::validator::ConvertingToFungibleStakedSuiEvent";
|
1388
1388
|
function type(): TypeDescriptor<ConvertingToFungibleStakedSuiEvent>;
|
1389
1389
|
}
|
1390
|
-
|
1390
|
+
type ConvertingToFungibleStakedSuiEventInstance = TypedEventInstance<ConvertingToFungibleStakedSuiEvent> & {
|
1391
1391
|
data_decoded: ConvertingToFungibleStakedSuiEvent;
|
1392
1392
|
type_arguments: [];
|
1393
|
-
}
|
1393
|
+
};
|
1394
1394
|
interface RedeemingFungibleStakedSuiEvent {
|
1395
1395
|
pool_id: _0x2.object$.ID;
|
1396
1396
|
fungible_staked_sui_amount: bigint;
|
@@ -1400,10 +1400,10 @@ export declare namespace validator {
|
|
1400
1400
|
const TYPE_QNAME = "0x3::validator::RedeemingFungibleStakedSuiEvent";
|
1401
1401
|
function type(): TypeDescriptor<RedeemingFungibleStakedSuiEvent>;
|
1402
1402
|
}
|
1403
|
-
|
1403
|
+
type RedeemingFungibleStakedSuiEventInstance = TypedEventInstance<RedeemingFungibleStakedSuiEvent> & {
|
1404
1404
|
data_decoded: RedeemingFungibleStakedSuiEvent;
|
1405
1405
|
type_arguments: [];
|
1406
|
-
}
|
1406
|
+
};
|
1407
1407
|
interface StakingRequestEvent {
|
1408
1408
|
pool_id: _0x2.object$.ID;
|
1409
1409
|
validator_address: string;
|
@@ -1415,10 +1415,10 @@ export declare namespace validator {
|
|
1415
1415
|
const TYPE_QNAME = "0x3::validator::StakingRequestEvent";
|
1416
1416
|
function type(): TypeDescriptor<StakingRequestEvent>;
|
1417
1417
|
}
|
1418
|
-
|
1418
|
+
type StakingRequestEventInstance = TypedEventInstance<StakingRequestEvent> & {
|
1419
1419
|
data_decoded: StakingRequestEvent;
|
1420
1420
|
type_arguments: [];
|
1421
|
-
}
|
1421
|
+
};
|
1422
1422
|
interface UnstakingRequestEvent {
|
1423
1423
|
pool_id: _0x2.object$.ID;
|
1424
1424
|
validator_address: string;
|
@@ -1432,10 +1432,10 @@ export declare namespace validator {
|
|
1432
1432
|
const TYPE_QNAME = "0x3::validator::UnstakingRequestEvent";
|
1433
1433
|
function type(): TypeDescriptor<UnstakingRequestEvent>;
|
1434
1434
|
}
|
1435
|
-
|
1435
|
+
type UnstakingRequestEventInstance = TypedEventInstance<UnstakingRequestEvent> & {
|
1436
1436
|
data_decoded: UnstakingRequestEvent;
|
1437
1437
|
type_arguments: [];
|
1438
|
-
}
|
1438
|
+
};
|
1439
1439
|
interface Validator {
|
1440
1440
|
metadata: validator.ValidatorMetadata;
|
1441
1441
|
voting_power: bigint;
|
@@ -1914,10 +1914,10 @@ export declare namespace validator_set {
|
|
1914
1914
|
const TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEvent";
|
1915
1915
|
function type(): TypeDescriptor<ValidatorEpochInfoEvent>;
|
1916
1916
|
}
|
1917
|
-
|
1917
|
+
type ValidatorEpochInfoEventInstance = TypedEventInstance<ValidatorEpochInfoEvent> & {
|
1918
1918
|
data_decoded: ValidatorEpochInfoEvent;
|
1919
1919
|
type_arguments: [];
|
1920
|
-
}
|
1920
|
+
};
|
1921
1921
|
interface ValidatorEpochInfoEventV2 {
|
1922
1922
|
epoch: bigint;
|
1923
1923
|
validator_address: string;
|
@@ -1935,10 +1935,10 @@ export declare namespace validator_set {
|
|
1935
1935
|
const TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEventV2";
|
1936
1936
|
function type(): TypeDescriptor<ValidatorEpochInfoEventV2>;
|
1937
1937
|
}
|
1938
|
-
|
1938
|
+
type ValidatorEpochInfoEventV2Instance = TypedEventInstance<ValidatorEpochInfoEventV2> & {
|
1939
1939
|
data_decoded: ValidatorEpochInfoEventV2;
|
1940
1940
|
type_arguments: [];
|
1941
|
-
}
|
1941
|
+
};
|
1942
1942
|
interface ValidatorJoinEvent {
|
1943
1943
|
epoch: bigint;
|
1944
1944
|
validator_address: string;
|
@@ -1948,10 +1948,10 @@ export declare namespace validator_set {
|
|
1948
1948
|
const TYPE_QNAME = "0x3::validator_set::ValidatorJoinEvent";
|
1949
1949
|
function type(): TypeDescriptor<ValidatorJoinEvent>;
|
1950
1950
|
}
|
1951
|
-
|
1951
|
+
type ValidatorJoinEventInstance = TypedEventInstance<ValidatorJoinEvent> & {
|
1952
1952
|
data_decoded: ValidatorJoinEvent;
|
1953
1953
|
type_arguments: [];
|
1954
|
-
}
|
1954
|
+
};
|
1955
1955
|
interface ValidatorLeaveEvent {
|
1956
1956
|
epoch: bigint;
|
1957
1957
|
validator_address: string;
|
@@ -1962,10 +1962,10 @@ export declare namespace validator_set {
|
|
1962
1962
|
const TYPE_QNAME = "0x3::validator_set::ValidatorLeaveEvent";
|
1963
1963
|
function type(): TypeDescriptor<ValidatorLeaveEvent>;
|
1964
1964
|
}
|
1965
|
-
|
1965
|
+
type ValidatorLeaveEventInstance = TypedEventInstance<ValidatorLeaveEvent> & {
|
1966
1966
|
data_decoded: ValidatorLeaveEvent;
|
1967
1967
|
type_arguments: [];
|
1968
|
-
}
|
1968
|
+
};
|
1969
1969
|
interface ValidatorSet {
|
1970
1970
|
total_stake: bigint;
|
1971
1971
|
active_validators: validator.Validator[];
|