@sentio/sdk 2.61.1-rc.1 → 2.62.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.
Files changed (45) hide show
  1. package/lib/aptos/builtin/0x1.d.ts +31 -0
  2. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  3. package/lib/aptos/builtin/0x1.js +62 -1
  4. package/lib/aptos/builtin/0x1.js.map +1 -1
  5. package/lib/iota/builtin/0x1.d.ts +65 -110
  6. package/lib/iota/builtin/0x1.d.ts.map +1 -1
  7. package/lib/iota/builtin/0x1.js.map +1 -1
  8. package/lib/iota/builtin/0x2.d.ts +595 -853
  9. package/lib/iota/builtin/0x2.d.ts.map +1 -1
  10. package/lib/iota/builtin/0x2.js.map +1 -1
  11. package/lib/iota/builtin/0x3.d.ts +289 -405
  12. package/lib/iota/builtin/0x3.d.ts.map +1 -1
  13. package/lib/iota/builtin/0x3.js +42 -1
  14. package/lib/iota/builtin/0x3.js.map +1 -1
  15. package/lib/sui/builtin/0x1.d.ts +10 -0
  16. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  17. package/lib/sui/builtin/0x1.js +109 -1
  18. package/lib/sui/builtin/0x1.js.map +1 -1
  19. package/lib/sui/builtin/0x2.d.ts +109 -0
  20. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  21. package/lib/sui/builtin/0x2.js +437 -1
  22. package/lib/sui/builtin/0x2.js.map +1 -1
  23. package/lib/sui/builtin/0x3.d.ts +4 -0
  24. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  25. package/lib/sui/builtin/0x3.js +41 -1
  26. package/lib/sui/builtin/0x3.js.map +1 -1
  27. package/lib/testing/test-processor-server.d.ts.map +1 -1
  28. package/lib/testing/test-processor-server.js +2 -2
  29. package/lib/testing/test-processor-server.js.map +1 -1
  30. package/lib/testing/test-provider.js +2 -2
  31. package/package.json +16 -16
  32. package/src/aptos/abis/0x1.json +111 -9
  33. package/src/aptos/builtin/0x1.ts +118 -1
  34. package/src/iota/abis/0x3.json +70 -0
  35. package/src/iota/builtin/0x1.ts +65 -110
  36. package/src/iota/builtin/0x2.ts +595 -853
  37. package/src/iota/builtin/0x3.ts +341 -404
  38. package/src/sui/abis/0x1.json +123 -0
  39. package/src/sui/abis/0x2.json +607 -32
  40. package/src/sui/abis/0x3.json +52 -0
  41. package/src/sui/builtin/0x1.ts +153 -1
  42. package/src/sui/builtin/0x2.ts +708 -44
  43. package/src/sui/builtin/0x3.ts +57 -1
  44. package/src/testing/test-processor-server.ts +2 -2
  45. package/src/testing/test-provider.ts +2 -2
@@ -885,6 +885,7 @@ export declare class stake extends AptosBaseProcessor {
885
885
  onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.AddStakeEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
886
886
  onEventDistributeRewards(func: (event: stake.DistributeRewardsInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeRewardsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
887
887
  onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeRewardsEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
888
+ onEventDistributeTransactionFee(func: (event: stake.DistributeTransactionFeeInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeTransactionFeeInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
888
889
  onEventIncreaseLockup(func: (event: stake.IncreaseLockupInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IncreaseLockupInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
889
890
  onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IncreaseLockupEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
890
891
  onEventIndividualValidatorPerformance(func: (event: stake.IndividualValidatorPerformanceInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IndividualValidatorPerformanceInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
@@ -970,6 +971,18 @@ export declare namespace stake {
970
971
  data_decoded: DistributeRewardsEvent;
971
972
  type_arguments: [];
972
973
  };
974
+ interface DistributeTransactionFee {
975
+ pool_address: MoveAddressType;
976
+ fee_amount: bigint;
977
+ }
978
+ namespace DistributeTransactionFee {
979
+ const TYPE_QNAME = "0x1::stake::DistributeTransactionFee";
980
+ function type(): TypeDescriptor<DistributeTransactionFee>;
981
+ }
982
+ type DistributeTransactionFeeInstance = TypedEventInstance<DistributeTransactionFee> & {
983
+ data_decoded: DistributeTransactionFee;
984
+ type_arguments: [];
985
+ };
973
986
  interface IncreaseLockup {
974
987
  pool_address: MoveAddressType;
975
988
  old_locked_until_secs: bigint;
@@ -1059,6 +1072,13 @@ export declare namespace stake {
1059
1072
  const TYPE_QNAME = "0x1::stake::OwnerCapability";
1060
1073
  function type(): TypeDescriptor<OwnerCapability>;
1061
1074
  }
1075
+ interface PendingTransactionFee {
1076
+ pending_fee_by_validator: big_ordered_map.BigOrderedMap<bigint, aggregator_v2.Aggregator<bigint>>;
1077
+ }
1078
+ namespace PendingTransactionFee {
1079
+ const TYPE_QNAME = "0x1::stake::PendingTransactionFee";
1080
+ function type(): TypeDescriptor<PendingTransactionFee>;
1081
+ }
1062
1082
  interface ReactivateStake {
1063
1083
  pool_address: MoveAddressType;
1064
1084
  amount: bigint;
@@ -1382,6 +1402,7 @@ export declare namespace stake {
1382
1402
  function getOperator(client: Aptos, request: {
1383
1403
  functionArguments: [MoveAddressType];
1384
1404
  }, version?: bigint): Promise<[MoveAddressType]>;
1405
+ function getPendingTransactionFee(client: Aptos, version?: bigint): Promise<[bigint[]]>;
1385
1406
  function getRemainingLockupSecs(client: Aptos, request: {
1386
1407
  functionArguments: [MoveAddressType];
1387
1408
  }, version?: bigint): Promise<[bigint]>;
@@ -6921,6 +6942,13 @@ export declare namespace staking_contract {
6921
6942
  data_decoded: ResetLockupEvent;
6922
6943
  type_arguments: [];
6923
6944
  };
6945
+ interface Staker {
6946
+ staker: MoveAddressType;
6947
+ }
6948
+ namespace Staker {
6949
+ const TYPE_QNAME = "0x1::staking_contract::Staker";
6950
+ function type(): TypeDescriptor<Staker>;
6951
+ }
6924
6952
  interface StakingContract {
6925
6953
  principal: bigint;
6926
6954
  pool_address: MoveAddressType;
@@ -7124,6 +7152,9 @@ export declare namespace staking_contract {
7124
7152
  function stakePoolAddress(client: Aptos, request: {
7125
7153
  functionArguments: [MoveAddressType, MoveAddressType];
7126
7154
  }, version?: bigint): Promise<[MoveAddressType]>;
7155
+ function stakerAddress(client: Aptos, request: {
7156
+ functionArguments: [MoveAddressType];
7157
+ }, version?: bigint): Promise<[option.Option<MoveAddressType>]>;
7127
7158
  function stakingContractAmounts(client: Aptos, request: {
7128
7159
  functionArguments: [MoveAddressType, MoveAddressType];
7129
7160
  }, version?: bigint): Promise<[bigint, bigint, bigint]>;