kalvora.js 0.0.1-alpha.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/CHANGELOG.md +162 -0
- package/LICENSE +202 -0
- package/NOTICE +10 -0
- package/README.md +391 -0
- package/dist/LICENSE +202 -0
- package/dist/README.md +391 -0
- package/dist/index.cjs +78254 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +125 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +125 -0
- package/dist/proto/generated/google/protobuf/empty_pb.d.ts +63 -0
- package/dist/proto/generated/google/protobuf/empty_pb.js +49 -0
- package/dist/proto/generated/google/protobuf/timestamp_pb.d.ts +163 -0
- package/dist/proto/generated/google/protobuf/timestamp_pb.js +49 -0
- package/dist/proto/generated/guardian_pb.d.ts +1229 -0
- package/dist/proto/generated/guardian_pb.js +255 -0
- package/dist/proto/generated/kal_api_pb.d.ts +1350 -0
- package/dist/proto/generated/kal_api_pb.js +324 -0
- package/dist/proto/generated/txn_pb.d.ts +3653 -0
- package/dist/proto/generated/txn_pb.js +622 -0
- package/dist/proto/generated/validator_pb.d.ts +2385 -0
- package/dist/proto/generated/validator_pb.js +528 -0
- package/dist/proto/guardian.proto +266 -0
- package/dist/proto/kal_api.proto +289 -0
- package/dist/proto/txn.proto +718 -0
- package/dist/proto/validator.proto +469 -0
- package/dist/src/adapter/constants.d.ts +80 -0
- package/dist/src/adapter/constants.d.ts.map +1 -0
- package/dist/src/adapter/constants.js +89 -0
- package/dist/src/adapter/constants.js.map +1 -0
- package/dist/src/adapter/index.d.ts +45 -0
- package/dist/src/adapter/index.d.ts.map +1 -0
- package/dist/src/adapter/index.js +71 -0
- package/dist/src/adapter/index.js.map +1 -0
- package/dist/src/adapter/serialization.d.ts +94 -0
- package/dist/src/adapter/serialization.d.ts.map +1 -0
- package/dist/src/adapter/serialization.js +175 -0
- package/dist/src/adapter/serialization.js.map +1 -0
- package/dist/src/adapter/wallet-adapter.d.ts +230 -0
- package/dist/src/adapter/wallet-adapter.d.ts.map +1 -0
- package/dist/src/adapter/wallet-adapter.js +792 -0
- package/dist/src/adapter/wallet-adapter.js.map +1 -0
- package/dist/src/adapter/wallet-signer.d.ts +115 -0
- package/dist/src/adapter/wallet-signer.d.ts.map +1 -0
- package/dist/src/adapter/wallet-signer.js +357 -0
- package/dist/src/adapter/wallet-signer.js.map +1 -0
- package/dist/src/adapter/walletconnect.d.ts +148 -0
- package/dist/src/adapter/walletconnect.d.ts.map +1 -0
- package/dist/src/adapter/walletconnect.js +188 -0
- package/dist/src/adapter/walletconnect.js.map +1 -0
- package/dist/src/allowance/index.d.ts +2 -0
- package/dist/src/allowance/index.d.ts.map +1 -0
- package/dist/src/allowance/index.js +2 -0
- package/dist/src/allowance/index.js.map +1 -0
- package/dist/src/allowance/transaction.d.ts +227 -0
- package/dist/src/allowance/transaction.d.ts.map +1 -0
- package/dist/src/allowance/transaction.js +296 -0
- package/dist/src/allowance/transaction.js.map +1 -0
- package/dist/src/api/handler/fee-info/service.d.ts +126 -0
- package/dist/src/api/handler/fee-info/service.d.ts.map +1 -0
- package/dist/src/api/handler/fee-info/service.js +255 -0
- package/dist/src/api/handler/fee-info/service.js.map +1 -0
- package/dist/src/api/handler/index.d.ts +10 -0
- package/dist/src/api/handler/index.d.ts.map +1 -0
- package/dist/src/api/handler/index.js +14 -0
- package/dist/src/api/handler/index.js.map +1 -0
- package/dist/src/api/handler/nonce/service.d.ts +37 -0
- package/dist/src/api/handler/nonce/service.d.ts.map +1 -0
- package/dist/src/api/handler/nonce/service.js +64 -0
- package/dist/src/api/handler/nonce/service.js.map +1 -0
- package/dist/src/api/handler/token-info/service.d.ts +123 -0
- package/dist/src/api/handler/token-info/service.d.ts.map +1 -0
- package/dist/src/api/handler/token-info/service.js +218 -0
- package/dist/src/api/handler/token-info/service.js.map +1 -0
- package/dist/src/api/shared/indexer-utils.d.ts +14 -0
- package/dist/src/api/shared/indexer-utils.d.ts.map +1 -0
- package/dist/src/api/shared/indexer-utils.js +19 -0
- package/dist/src/api/shared/indexer-utils.js.map +1 -0
- package/dist/src/api/validator/balance/index.d.ts +8 -0
- package/dist/src/api/validator/balance/index.d.ts.map +1 -0
- package/dist/src/api/validator/balance/index.js +7 -0
- package/dist/src/api/validator/balance/index.js.map +1 -0
- package/dist/src/api/validator/balance/service.d.ts +42 -0
- package/dist/src/api/validator/balance/service.d.ts.map +1 -0
- package/dist/src/api/validator/balance/service.js +93 -0
- package/dist/src/api/validator/balance/service.js.map +1 -0
- package/dist/src/api/validator/base-fee/index.d.ts +8 -0
- package/dist/src/api/validator/base-fee/index.d.ts.map +1 -0
- package/dist/src/api/validator/base-fee/index.js +7 -0
- package/dist/src/api/validator/base-fee/index.js.map +1 -0
- package/dist/src/api/validator/base-fee/service.d.ts +39 -0
- package/dist/src/api/validator/base-fee/service.d.ts.map +1 -0
- package/dist/src/api/validator/base-fee/service.js +45 -0
- package/dist/src/api/validator/base-fee/service.js.map +1 -0
- package/dist/src/api/validator/fee-info/index.d.ts +7 -0
- package/dist/src/api/validator/fee-info/index.d.ts.map +1 -0
- package/dist/src/api/validator/fee-info/index.js +7 -0
- package/dist/src/api/validator/fee-info/index.js.map +1 -0
- package/dist/src/api/validator/fee-info/request.d.ts +25 -0
- package/dist/src/api/validator/fee-info/request.d.ts.map +1 -0
- package/dist/src/api/validator/fee-info/request.js +92 -0
- package/dist/src/api/validator/fee-info/request.js.map +1 -0
- package/dist/src/api/validator/nonce/index.d.ts +7 -0
- package/dist/src/api/validator/nonce/index.d.ts.map +1 -0
- package/dist/src/api/validator/nonce/index.js +7 -0
- package/dist/src/api/validator/nonce/index.js.map +1 -0
- package/dist/src/api/validator/nonce/service.d.ts +18 -0
- package/dist/src/api/validator/nonce/service.d.ts.map +1 -0
- package/dist/src/api/validator/nonce/service.js +51 -0
- package/dist/src/api/validator/nonce/service.js.map +1 -0
- package/dist/src/client/index.d.ts +8 -0
- package/dist/src/client/index.d.ts.map +1 -0
- package/dist/src/client/index.js +8 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/kalvora-client.d.ts +117 -0
- package/dist/src/client/kalvora-client.d.ts.map +1 -0
- package/dist/src/client/kalvora-client.js +112 -0
- package/dist/src/client/kalvora-client.js.map +1 -0
- package/dist/src/client/networks.d.ts +48 -0
- package/dist/src/client/networks.d.ts.map +1 -0
- package/dist/src/client/networks.js +41 -0
- package/dist/src/client/networks.js.map +1 -0
- package/dist/src/coin-txn/index.d.ts +9 -0
- package/dist/src/coin-txn/index.d.ts.map +1 -0
- package/dist/src/coin-txn/index.js +9 -0
- package/dist/src/coin-txn/index.js.map +1 -0
- package/dist/src/coin-txn/transaction.d.ts +94 -0
- package/dist/src/coin-txn/transaction.d.ts.map +1 -0
- package/dist/src/coin-txn/transaction.js +341 -0
- package/dist/src/coin-txn/transaction.js.map +1 -0
- package/dist/src/compliance/index.d.ts +2 -0
- package/dist/src/compliance/index.d.ts.map +1 -0
- package/dist/src/compliance/index.js +2 -0
- package/dist/src/compliance/index.js.map +1 -0
- package/dist/src/compliance/transaction.d.ts +150 -0
- package/dist/src/compliance/transaction.d.ts.map +1 -0
- package/dist/src/compliance/transaction.js +183 -0
- package/dist/src/compliance/transaction.js.map +1 -0
- package/dist/src/contract/create/index.d.ts +8 -0
- package/dist/src/contract/create/index.d.ts.map +1 -0
- package/dist/src/contract/create/index.js +7 -0
- package/dist/src/contract/create/index.js.map +1 -0
- package/dist/src/contract/create/transaction.d.ts +47 -0
- package/dist/src/contract/create/transaction.d.ts.map +1 -0
- package/dist/src/contract/create/transaction.js +137 -0
- package/dist/src/contract/create/transaction.js.map +1 -0
- package/dist/src/contract/index.d.ts +34 -0
- package/dist/src/contract/index.d.ts.map +1 -0
- package/dist/src/contract/index.js +34 -0
- package/dist/src/contract/index.js.map +1 -0
- package/dist/src/contract/shared/index.d.ts +6 -0
- package/dist/src/contract/shared/index.d.ts.map +1 -0
- package/dist/src/contract/shared/index.js +6 -0
- package/dist/src/contract/shared/index.js.map +1 -0
- package/dist/src/contract/shared/types.d.ts +114 -0
- package/dist/src/contract/shared/types.d.ts.map +1 -0
- package/dist/src/contract/shared/types.js +5 -0
- package/dist/src/contract/shared/types.js.map +1 -0
- package/dist/src/contract/shared/utils.d.ts +111 -0
- package/dist/src/contract/shared/utils.d.ts.map +1 -0
- package/dist/src/contract/shared/utils.js +182 -0
- package/dist/src/contract/shared/utils.js.map +1 -0
- package/dist/src/contract/update/index.d.ts +8 -0
- package/dist/src/contract/update/index.d.ts.map +1 -0
- package/dist/src/contract/update/index.js +7 -0
- package/dist/src/contract/update/index.js.map +1 -0
- package/dist/src/contract/update/transaction.d.ts +45 -0
- package/dist/src/contract/update/transaction.d.ts.map +1 -0
- package/dist/src/contract/update/transaction.js +123 -0
- package/dist/src/contract/update/transaction.js.map +1 -0
- package/dist/src/delegated-voting/index.d.ts +2 -0
- package/dist/src/delegated-voting/index.d.ts.map +1 -0
- package/dist/src/delegated-voting/index.js +2 -0
- package/dist/src/delegated-voting/index.js.map +1 -0
- package/dist/src/delegated-voting/transaction.d.ts +127 -0
- package/dist/src/delegated-voting/transaction.d.ts.map +1 -0
- package/dist/src/delegated-voting/transaction.js +195 -0
- package/dist/src/delegated-voting/transaction.js.map +1 -0
- package/dist/src/expense-ratio/index.d.ts +2 -0
- package/dist/src/expense-ratio/index.d.ts.map +1 -0
- package/dist/src/expense-ratio/index.js +2 -0
- package/dist/src/expense-ratio/index.js.map +1 -0
- package/dist/src/expense-ratio/transaction.d.ts +94 -0
- package/dist/src/expense-ratio/transaction.d.ts.map +1 -0
- package/dist/src/expense-ratio/transaction.js +122 -0
- package/dist/src/expense-ratio/transaction.js.map +1 -0
- package/dist/src/grpc/api/validator-api-client.d.ts +32 -0
- package/dist/src/grpc/api/validator-api-client.d.ts.map +1 -0
- package/dist/src/grpc/api/validator-api-client.js +61 -0
- package/dist/src/grpc/api/validator-api-client.js.map +1 -0
- package/dist/src/grpc/client-factory.d.ts +12 -0
- package/dist/src/grpc/client-factory.d.ts.map +1 -0
- package/dist/src/grpc/client-factory.js +248 -0
- package/dist/src/grpc/client-factory.js.map +1 -0
- package/dist/src/grpc/errors.d.ts +79 -0
- package/dist/src/grpc/errors.d.ts.map +1 -0
- package/dist/src/grpc/errors.js +108 -0
- package/dist/src/grpc/errors.js.map +1 -0
- package/dist/src/grpc/index.d.ts +21 -0
- package/dist/src/grpc/index.d.ts.map +1 -0
- package/dist/src/grpc/index.js +20 -0
- package/dist/src/grpc/index.js.map +1 -0
- package/dist/src/grpc/transaction/transaction-client.d.ts +97 -0
- package/dist/src/grpc/transaction/transaction-client.d.ts.map +1 -0
- package/dist/src/grpc/transaction/transaction-client.js +142 -0
- package/dist/src/grpc/transaction/transaction-client.js.map +1 -0
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts +2 -0
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts.map +1 -0
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js +213 -0
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js.map +1 -0
- package/dist/src/items/index.d.ts +7 -0
- package/dist/src/items/index.d.ts.map +1 -0
- package/dist/src/items/index.js +7 -0
- package/dist/src/items/index.js.map +1 -0
- package/dist/src/items/transaction.d.ts +132 -0
- package/dist/src/items/transaction.d.ts.map +1 -0
- package/dist/src/items/transaction.js +276 -0
- package/dist/src/items/transaction.js.map +1 -0
- package/dist/src/mint/index.d.ts +2 -0
- package/dist/src/mint/index.d.ts.map +1 -0
- package/dist/src/mint/index.js +2 -0
- package/dist/src/mint/index.js.map +1 -0
- package/dist/src/mint/transaction.d.ts +128 -0
- package/dist/src/mint/transaction.d.ts.map +1 -0
- package/dist/src/mint/transaction.js +118 -0
- package/dist/src/mint/transaction.js.map +1 -0
- package/dist/src/proposal/index.d.ts +3 -0
- package/dist/src/proposal/index.d.ts.map +1 -0
- package/dist/src/proposal/index.js +3 -0
- package/dist/src/proposal/index.js.map +1 -0
- package/dist/src/proposal/transaction.d.ts +95 -0
- package/dist/src/proposal/transaction.d.ts.map +1 -0
- package/dist/src/proposal/transaction.js +321 -0
- package/dist/src/proposal/transaction.js.map +1 -0
- package/dist/src/proposal-cancel/index.d.ts +2 -0
- package/dist/src/proposal-cancel/index.d.ts.map +1 -0
- package/dist/src/proposal-cancel/index.js +2 -0
- package/dist/src/proposal-cancel/index.js.map +1 -0
- package/dist/src/proposal-cancel/transaction.d.ts +31 -0
- package/dist/src/proposal-cancel/transaction.d.ts.map +1 -0
- package/dist/src/proposal-cancel/transaction.js +98 -0
- package/dist/src/proposal-cancel/transaction.js.map +1 -0
- package/dist/src/protocol/guardian-names.d.ts +35 -0
- package/dist/src/protocol/guardian-names.d.ts.map +1 -0
- package/dist/src/protocol/guardian-names.js +25 -0
- package/dist/src/protocol/guardian-names.js.map +1 -0
- package/dist/src/protocol/index.d.ts +36 -0
- package/dist/src/protocol/index.d.ts.map +1 -0
- package/dist/src/protocol/index.js +36 -0
- package/dist/src/protocol/index.js.map +1 -0
- package/dist/src/quash/index.d.ts +2 -0
- package/dist/src/quash/index.d.ts.map +1 -0
- package/dist/src/quash/index.js +2 -0
- package/dist/src/quash/index.js.map +1 -0
- package/dist/src/quash/transaction.d.ts +124 -0
- package/dist/src/quash/transaction.d.ts.map +1 -0
- package/dist/src/quash/transaction.js +118 -0
- package/dist/src/quash/transaction.js.map +1 -0
- package/dist/src/query/api-client.d.ts +368 -0
- package/dist/src/query/api-client.d.ts.map +1 -0
- package/dist/src/query/api-client.js +497 -0
- package/dist/src/query/api-client.js.map +1 -0
- package/dist/src/query/decoders.d.ts +184 -0
- package/dist/src/query/decoders.d.ts.map +1 -0
- package/dist/src/query/decoders.js +257 -0
- package/dist/src/query/decoders.js.map +1 -0
- package/dist/src/query/guardian-client.d.ts +73 -0
- package/dist/src/query/guardian-client.d.ts.map +1 -0
- package/dist/src/query/guardian-client.js +90 -0
- package/dist/src/query/guardian-client.js.map +1 -0
- package/dist/src/query/index.d.ts +16 -0
- package/dist/src/query/index.d.ts.map +1 -0
- package/dist/src/query/index.js +16 -0
- package/dist/src/query/index.js.map +1 -0
- package/dist/src/query/validator-client.d.ts +95 -0
- package/dist/src/query/validator-client.d.ts.map +1 -0
- package/dist/src/query/validator-client.js +116 -0
- package/dist/src/query/validator-client.js.map +1 -0
- package/dist/src/revoke/index.d.ts +2 -0
- package/dist/src/revoke/index.d.ts.map +1 -0
- package/dist/src/revoke/index.js +2 -0
- package/dist/src/revoke/index.js.map +1 -0
- package/dist/src/revoke/transaction.d.ts +123 -0
- package/dist/src/revoke/transaction.d.ts.map +1 -0
- package/dist/src/revoke/transaction.js +125 -0
- package/dist/src/revoke/transaction.js.map +1 -0
- package/dist/src/shared/crypto/address-utils.d.ts +71 -0
- package/dist/src/shared/crypto/address-utils.d.ts.map +1 -0
- package/dist/src/shared/crypto/address-utils.js +305 -0
- package/dist/src/shared/crypto/address-utils.js.map +1 -0
- package/dist/src/shared/crypto/constants.d.ts +29 -0
- package/dist/src/shared/crypto/constants.d.ts.map +1 -0
- package/dist/src/shared/crypto/constants.js +53 -0
- package/dist/src/shared/crypto/constants.js.map +1 -0
- package/dist/src/shared/crypto/signature-utils.d.ts +14 -0
- package/dist/src/shared/crypto/signature-utils.d.ts.map +1 -0
- package/dist/src/shared/crypto/signature-utils.js +40 -0
- package/dist/src/shared/crypto/signature-utils.js.map +1 -0
- package/dist/src/shared/fee-calculators/base-fee-constants.d.ts +33 -0
- package/dist/src/shared/fee-calculators/base-fee-constants.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/base-fee-constants.js +45 -0
- package/dist/src/shared/fee-calculators/base-fee-constants.js.map +1 -0
- package/dist/src/shared/fee-calculators/contract-fee-constants.d.ts +53 -0
- package/dist/src/shared/fee-calculators/contract-fee-constants.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/contract-fee-constants.js +73 -0
- package/dist/src/shared/fee-calculators/contract-fee-constants.js.map +1 -0
- package/dist/src/shared/fee-calculators/contract-fee-service.d.ts +60 -0
- package/dist/src/shared/fee-calculators/contract-fee-service.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/contract-fee-service.js +171 -0
- package/dist/src/shared/fee-calculators/contract-fee-service.js.map +1 -0
- package/dist/src/shared/fee-calculators/denomination-fallback.d.ts +41 -0
- package/dist/src/shared/fee-calculators/denomination-fallback.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/denomination-fallback.js +83 -0
- package/dist/src/shared/fee-calculators/denomination-fallback.js.map +1 -0
- package/dist/src/shared/fee-calculators/exchange-rate-service.d.ts +26 -0
- package/dist/src/shared/fee-calculators/exchange-rate-service.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/exchange-rate-service.js +62 -0
- package/dist/src/shared/fee-calculators/exchange-rate-service.js.map +1 -0
- package/dist/src/shared/fee-calculators/types.d.ts +81 -0
- package/dist/src/shared/fee-calculators/types.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/types.js +7 -0
- package/dist/src/shared/fee-calculators/types.js.map +1 -0
- package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts +144 -0
- package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/universal-fee-calculator.js +900 -0
- package/dist/src/shared/fee-calculators/universal-fee-calculator.js.map +1 -0
- package/dist/src/shared/monitoring/health-check.d.ts +37 -0
- package/dist/src/shared/monitoring/health-check.d.ts.map +1 -0
- package/dist/src/shared/monitoring/health-check.js +152 -0
- package/dist/src/shared/monitoring/health-check.js.map +1 -0
- package/dist/src/shared/monitoring/index.d.ts +9 -0
- package/dist/src/shared/monitoring/index.d.ts.map +1 -0
- package/dist/src/shared/monitoring/index.js +9 -0
- package/dist/src/shared/monitoring/index.js.map +1 -0
- package/dist/src/shared/monitoring/logger.d.ts +42 -0
- package/dist/src/shared/monitoring/logger.d.ts.map +1 -0
- package/dist/src/shared/monitoring/logger.js +185 -0
- package/dist/src/shared/monitoring/logger.js.map +1 -0
- package/dist/src/shared/monitoring/metrics.d.ts +33 -0
- package/dist/src/shared/monitoring/metrics.d.ts.map +1 -0
- package/dist/src/shared/monitoring/metrics.js +105 -0
- package/dist/src/shared/monitoring/metrics.js.map +1 -0
- package/dist/src/shared/network/constants.d.ts +34 -0
- package/dist/src/shared/network/constants.d.ts.map +1 -0
- package/dist/src/shared/network/constants.js +46 -0
- package/dist/src/shared/network/constants.js.map +1 -0
- package/dist/src/shared/protobuf/index.d.ts +18 -0
- package/dist/src/shared/protobuf/index.d.ts.map +1 -0
- package/dist/src/shared/protobuf/index.js +10 -0
- package/dist/src/shared/protobuf/index.js.map +1 -0
- package/dist/src/shared/tx/base.d.ts +24 -0
- package/dist/src/shared/tx/base.d.ts.map +1 -0
- package/dist/src/shared/tx/base.js +57 -0
- package/dist/src/shared/tx/base.js.map +1 -0
- package/dist/src/shared/tx/standard.d.ts +198 -0
- package/dist/src/shared/tx/standard.d.ts.map +1 -0
- package/dist/src/shared/tx/standard.js +283 -0
- package/dist/src/shared/tx/standard.js.map +1 -0
- package/dist/src/shared/utils/amount-utils.d.ts +110 -0
- package/dist/src/shared/utils/amount-utils.d.ts.map +1 -0
- package/dist/src/shared/utils/amount-utils.js +237 -0
- package/dist/src/shared/utils/amount-utils.js.map +1 -0
- package/dist/src/shared/utils/byte-utils.d.ts +127 -0
- package/dist/src/shared/utils/byte-utils.d.ts.map +1 -0
- package/dist/src/shared/utils/byte-utils.js +220 -0
- package/dist/src/shared/utils/byte-utils.js.map +1 -0
- package/dist/src/shared/utils/error-handler.d.ts +65 -0
- package/dist/src/shared/utils/error-handler.d.ts.map +1 -0
- package/dist/src/shared/utils/error-handler.js +157 -0
- package/dist/src/shared/utils/error-handler.js.map +1 -0
- package/dist/src/shared/utils/formatting.d.ts +133 -0
- package/dist/src/shared/utils/formatting.d.ts.map +1 -0
- package/dist/src/shared/utils/formatting.js +190 -0
- package/dist/src/shared/utils/formatting.js.map +1 -0
- package/dist/src/shared/utils/grpc-config-utils.d.ts +8 -0
- package/dist/src/shared/utils/grpc-config-utils.d.ts.map +1 -0
- package/dist/src/shared/utils/grpc-config-utils.js +11 -0
- package/dist/src/shared/utils/grpc-config-utils.js.map +1 -0
- package/dist/src/shared/utils/performance-benchmark.d.ts +136 -0
- package/dist/src/shared/utils/performance-benchmark.d.ts.map +1 -0
- package/dist/src/shared/utils/performance-benchmark.js +274 -0
- package/dist/src/shared/utils/performance-benchmark.js.map +1 -0
- package/dist/src/shared/utils/protobuf-utils.d.ts +39 -0
- package/dist/src/shared/utils/protobuf-utils.d.ts.map +1 -0
- package/dist/src/shared/utils/protobuf-utils.js +103 -0
- package/dist/src/shared/utils/protobuf-utils.js.map +1 -0
- package/dist/src/shared/utils/testing-defaults/grpc-config.d.ts +12 -0
- package/dist/src/shared/utils/testing-defaults/grpc-config.d.ts.map +1 -0
- package/dist/src/shared/utils/testing-defaults/grpc-config.js +16 -0
- package/dist/src/shared/utils/testing-defaults/grpc-config.js.map +1 -0
- package/dist/src/shared/utils/testing-defaults/index.d.ts +8 -0
- package/dist/src/shared/utils/testing-defaults/index.d.ts.map +1 -0
- package/dist/src/shared/utils/testing-defaults/index.js +8 -0
- package/dist/src/shared/utils/testing-defaults/index.js.map +1 -0
- package/dist/src/shared/utils/token-config.d.ts +31 -0
- package/dist/src/shared/utils/token-config.d.ts.map +1 -0
- package/dist/src/shared/utils/token-config.js +56 -0
- package/dist/src/shared/utils/token-config.js.map +1 -0
- package/dist/src/shared/utils/token-info.d.ts +101 -0
- package/dist/src/shared/utils/token-info.d.ts.map +1 -0
- package/dist/src/shared/utils/token-info.js +203 -0
- package/dist/src/shared/utils/token-info.js.map +1 -0
- package/dist/src/shared/utils/transaction-utils.d.ts +200 -0
- package/dist/src/shared/utils/transaction-utils.d.ts.map +1 -0
- package/dist/src/shared/utils/transaction-utils.js +293 -0
- package/dist/src/shared/utils/transaction-utils.js.map +1 -0
- package/dist/src/shared/utils/unified-amount-conversion.d.ts +65 -0
- package/dist/src/shared/utils/unified-amount-conversion.d.ts.map +1 -0
- package/dist/src/shared/utils/unified-amount-conversion.js +146 -0
- package/dist/src/shared/utils/unified-amount-conversion.js.map +1 -0
- package/dist/src/shared/utils/validation.d.ts +119 -0
- package/dist/src/shared/utils/validation.d.ts.map +1 -0
- package/dist/src/shared/utils/validation.js +540 -0
- package/dist/src/shared/utils/validation.js.map +1 -0
- package/dist/src/sign/finalize.d.ts +82 -0
- package/dist/src/sign/finalize.d.ts.map +1 -0
- package/dist/src/sign/finalize.js +216 -0
- package/dist/src/sign/finalize.js.map +1 -0
- package/dist/src/sign/index.d.ts +19 -0
- package/dist/src/sign/index.d.ts.map +1 -0
- package/dist/src/sign/index.js +21 -0
- package/dist/src/sign/index.js.map +1 -0
- package/dist/src/sign/signer.d.ts +71 -0
- package/dist/src/sign/signer.d.ts.map +1 -0
- package/dist/src/sign/signer.js +65 -0
- package/dist/src/sign/signer.js.map +1 -0
- package/dist/src/smart-contracts/deploy/index.d.ts +5 -0
- package/dist/src/smart-contracts/deploy/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/deploy/index.js +5 -0
- package/dist/src/smart-contracts/deploy/index.js.map +1 -0
- package/dist/src/smart-contracts/deploy/transaction.d.ts +54 -0
- package/dist/src/smart-contracts/deploy/transaction.d.ts.map +1 -0
- package/dist/src/smart-contracts/deploy/transaction.js +116 -0
- package/dist/src/smart-contracts/deploy/transaction.js.map +1 -0
- package/dist/src/smart-contracts/execute/index.d.ts +5 -0
- package/dist/src/smart-contracts/execute/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/execute/index.js +5 -0
- package/dist/src/smart-contracts/execute/index.js.map +1 -0
- package/dist/src/smart-contracts/execute/transaction.d.ts +60 -0
- package/dist/src/smart-contracts/execute/transaction.d.ts.map +1 -0
- package/dist/src/smart-contracts/execute/transaction.js +88 -0
- package/dist/src/smart-contracts/execute/transaction.js.map +1 -0
- package/dist/src/smart-contracts/instantiate/index.d.ts +6 -0
- package/dist/src/smart-contracts/instantiate/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/instantiate/index.js +6 -0
- package/dist/src/smart-contracts/instantiate/index.js.map +1 -0
- package/dist/src/smart-contracts/instantiate/transaction.d.ts +43 -0
- package/dist/src/smart-contracts/instantiate/transaction.d.ts.map +1 -0
- package/dist/src/smart-contracts/instantiate/transaction.js +72 -0
- package/dist/src/smart-contracts/instantiate/transaction.js.map +1 -0
- package/dist/src/smart-contracts/shared/base.d.ts +29 -0
- package/dist/src/smart-contracts/shared/base.d.ts.map +1 -0
- package/dist/src/smart-contracts/shared/base.js +70 -0
- package/dist/src/smart-contracts/shared/base.js.map +1 -0
- package/dist/src/smart-contracts/shared/parameters.d.ts +26 -0
- package/dist/src/smart-contracts/shared/parameters.d.ts.map +1 -0
- package/dist/src/smart-contracts/shared/parameters.js +32 -0
- package/dist/src/smart-contracts/shared/parameters.js.map +1 -0
- package/dist/src/smart-contracts/shared/validation.d.ts +6 -0
- package/dist/src/smart-contracts/shared/validation.d.ts.map +1 -0
- package/dist/src/smart-contracts/shared/validation.js +13 -0
- package/dist/src/smart-contracts/shared/validation.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/index.d.ts +25 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/index.js +30 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.d.ts +7 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.js +7 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts +23 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.js +39 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts +27 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.js +51 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts +22 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.js +43 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/types.d.ts +60 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/types.js +8 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/types.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts +131 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.js +87 -0
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/index.d.ts +49 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/index.js +59 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts +150 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js +505 -0
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/index.d.ts +68 -0
- package/dist/src/smart-contracts/use-cases/bridge/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/index.js +83 -0
- package/dist/src/smart-contracts/use-cases/bridge/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.d.ts +36 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.js +53 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.d.ts +10 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.js +17 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts +65 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.js +130 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts +81 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js +187 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.d.ts +82 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.js +7 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts +49 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.js +80 -0
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/constants.d.ts +84 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/constants.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/constants.js +82 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/constants.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/index.d.ts +58 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/index.js +90 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.d.ts +26 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.js +59 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.d.ts +29 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.js +50 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.d.ts +14 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.js +31 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.d.ts +70 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.js +212 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.d.ts +60 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.js +288 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.d.ts +54 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.js +186 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.d.ts +96 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.js +406 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.d.ts +34 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.js +55 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/types.d.ts +377 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/types.js +9 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/types.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/utils.d.ts +121 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/utils.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/utils.js +219 -0
- package/dist/src/smart-contracts/use-cases/bridge/solana/utils.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/index.d.ts +58 -0
- package/dist/src/smart-contracts/use-cases/dex/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/index.js +73 -0
- package/dist/src/smart-contracts/use-cases/dex/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts +34 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.js +68 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts +35 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.js +69 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/index.d.ts +11 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/index.js +11 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts +40 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.js +76 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts +38 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.js +70 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts +37 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.js +60 -0
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/types.d.ts +130 -0
- package/dist/src/smart-contracts/use-cases/dex/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/types.js +11 -0
- package/dist/src/smart-contracts/use-cases/dex/types.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/utils.d.ts +52 -0
- package/dist/src/smart-contracts/use-cases/dex/utils.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/dex/utils.js +79 -0
- package/dist/src/smart-contracts/use-cases/dex/utils.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/index.d.ts +35 -0
- package/dist/src/smart-contracts/use-cases/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/index.js +35 -0
- package/dist/src/smart-contracts/use-cases/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/index.d.ts +67 -0
- package/dist/src/smart-contracts/use-cases/staking/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/index.js +84 -0
- package/dist/src/smart-contracts/use-cases/staking/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/index.d.ts +12 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/index.js +12 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts +36 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.js +57 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts +33 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.js +49 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts +33 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.js +49 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts +36 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.js +59 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts +36 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.js +57 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts +36 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.js +57 -0
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/types.d.ts +76 -0
- package/dist/src/smart-contracts/use-cases/staking/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/types.js +10 -0
- package/dist/src/smart-contracts/use-cases/staking/types.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/utils.d.ts +27 -0
- package/dist/src/smart-contracts/use-cases/staking/utils.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/staking/utils.js +44 -0
- package/dist/src/smart-contracts/use-cases/staking/utils.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.d.ts +26 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.js +107 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.d.ts +18 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.js +37 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.js.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.d.ts +126 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.d.ts.map +1 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.js +10 -0
- package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.js.map +1 -0
- package/dist/src/types/index.d.ts +240 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +110 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/validator-ops/index.d.ts +2 -0
- package/dist/src/validator-ops/index.d.ts.map +1 -0
- package/dist/src/validator-ops/index.js +2 -0
- package/dist/src/validator-ops/index.js.map +1 -0
- package/dist/src/validator-ops/transaction.d.ts +312 -0
- package/dist/src/validator-ops/transaction.d.ts.map +1 -0
- package/dist/src/validator-ops/transaction.js +416 -0
- package/dist/src/validator-ops/transaction.js.map +1 -0
- package/dist/src/vote/index.d.ts +5 -0
- package/dist/src/vote/index.d.ts.map +1 -0
- package/dist/src/vote/index.js +5 -0
- package/dist/src/vote/index.js.map +1 -0
- package/dist/src/vote/transaction.d.ts +70 -0
- package/dist/src/vote/transaction.d.ts.map +1 -0
- package/dist/src/vote/transaction.js +140 -0
- package/dist/src/vote/transaction.js.map +1 -0
- package/dist/src/wallet-creation/constants.d.ts +58 -0
- package/dist/src/wallet-creation/constants.d.ts.map +1 -0
- package/dist/src/wallet-creation/constants.js +113 -0
- package/dist/src/wallet-creation/constants.js.map +1 -0
- package/dist/src/wallet-creation/crypto-core.d.ts +178 -0
- package/dist/src/wallet-creation/crypto-core.d.ts.map +1 -0
- package/dist/src/wallet-creation/crypto-core.js +516 -0
- package/dist/src/wallet-creation/crypto-core.js.map +1 -0
- package/dist/src/wallet-creation/errors.d.ts +58 -0
- package/dist/src/wallet-creation/errors.d.ts.map +1 -0
- package/dist/src/wallet-creation/errors.js +89 -0
- package/dist/src/wallet-creation/errors.js.map +1 -0
- package/dist/src/wallet-creation/hash-utils.d.ts +38 -0
- package/dist/src/wallet-creation/hash-utils.d.ts.map +1 -0
- package/dist/src/wallet-creation/hash-utils.js +147 -0
- package/dist/src/wallet-creation/hash-utils.js.map +1 -0
- package/dist/src/wallet-creation/hd-utils.d.ts +45 -0
- package/dist/src/wallet-creation/hd-utils.d.ts.map +1 -0
- package/dist/src/wallet-creation/hd-utils.js +110 -0
- package/dist/src/wallet-creation/hd-utils.js.map +1 -0
- package/dist/src/wallet-creation/index.d.ts +11 -0
- package/dist/src/wallet-creation/index.d.ts.map +1 -0
- package/dist/src/wallet-creation/index.js +21 -0
- package/dist/src/wallet-creation/index.js.map +1 -0
- package/dist/src/wallet-creation/shared.d.ts +60 -0
- package/dist/src/wallet-creation/shared.d.ts.map +1 -0
- package/dist/src/wallet-creation/shared.js +127 -0
- package/dist/src/wallet-creation/shared.js.map +1 -0
- package/dist/src/wallet-creation/wallet-factory.d.ts +107 -0
- package/dist/src/wallet-creation/wallet-factory.d.ts.map +1 -0
- package/dist/src/wallet-creation/wallet-factory.js +298 -0
- package/dist/src/wallet-creation/wallet-factory.js.map +1 -0
- package/dist/wallet.d.ts +17 -0
- package/dist/wallet.d.ts.map +1 -0
- package/dist/wallet.js +17 -0
- package/dist/wallet.js.map +1 -0
- package/package.json +129 -0
|
@@ -0,0 +1,1350 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=.js,keep_empty_files=true"
|
|
2
|
+
// @generated from file kal_api.proto (package kal_api, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Block, Proposal } from "./validator_pb.js";
|
|
8
|
+
import type { CONTRACT_FEE_TYPE, ContractFees, InstrumentContract, PreGovernance, PublicKey, TRANSACTION_TYPE } from "./txn_pb.js";
|
|
9
|
+
import type { Timestamp } from "./google/protobuf/timestamp_pb.js";
|
|
10
|
+
import type { EmptySchema } from "./google/protobuf/empty_pb.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file kal_api.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_kal_api: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message kal_api.GetAllAuthorizedFeesResponse
|
|
19
|
+
*/
|
|
20
|
+
export declare type GetAllAuthorizedFeesResponse = Message<"kal_api.GetAllAuthorizedFeesResponse"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: repeated kal_api.AuthorizedFee authorized_fees = 1;
|
|
23
|
+
*/
|
|
24
|
+
authorizedFees: AuthorizedFee[];
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message kal_api.GetAllAuthorizedFeesResponse.
|
|
29
|
+
* Use `create(GetAllAuthorizedFeesResponseSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const GetAllAuthorizedFeesResponseSchema: GenMessage<GetAllAuthorizedFeesResponse>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message kal_api.AuthorizedFee
|
|
35
|
+
*/
|
|
36
|
+
export declare type AuthorizedFee = Message<"kal_api.AuthorizedFee"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string contract_id = 1;
|
|
39
|
+
*/
|
|
40
|
+
contractId: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string allowed_fees = 2;
|
|
44
|
+
*/
|
|
45
|
+
allowedFees: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string used_fees = 3;
|
|
49
|
+
*/
|
|
50
|
+
usedFees: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message kal_api.AuthorizedFee.
|
|
55
|
+
* Use `create(AuthorizedFeeSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export declare const AuthorizedFeeSchema: GenMessage<AuthorizedFee>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* TOTAL BALANCE
|
|
61
|
+
*
|
|
62
|
+
* @generated from message kal_api.TotalBalanceRequest
|
|
63
|
+
*/
|
|
64
|
+
export declare type TotalBalanceRequest = Message<"kal_api.TotalBalanceRequest"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: bytes wallet_address = 1;
|
|
67
|
+
*/
|
|
68
|
+
walletAddress: Uint8Array;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: bool encoded = 2;
|
|
72
|
+
*/
|
|
73
|
+
encoded: boolean;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message kal_api.TotalBalanceRequest.
|
|
78
|
+
* Use `create(TotalBalanceRequestSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const TotalBalanceRequestSchema: GenMessage<TotalBalanceRequest>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message kal_api.TotalBalanceResponse
|
|
84
|
+
*/
|
|
85
|
+
export declare type TotalBalanceResponse = Message<"kal_api.TotalBalanceResponse"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: repeated kal_api.BalanceResponse balances = 1;
|
|
88
|
+
*/
|
|
89
|
+
balances: BalanceResponse[];
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message kal_api.TotalBalanceResponse.
|
|
94
|
+
* Use `create(TotalBalanceResponseSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const TotalBalanceResponseSchema: GenMessage<TotalBalanceResponse>;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* PROPOSAL LEDGER
|
|
100
|
+
*
|
|
101
|
+
* @generated from message kal_api.ProposalLedgerRequest
|
|
102
|
+
*/
|
|
103
|
+
export declare type ProposalLedgerRequest = Message<"kal_api.ProposalLedgerRequest"> & {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: kal_api.DATABASE_TYPE type = 1;
|
|
106
|
+
*/
|
|
107
|
+
type: DATABASE_TYPE;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* proposal_id or ledger_id
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string key = 2;
|
|
113
|
+
*/
|
|
114
|
+
key: string;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message kal_api.ProposalLedgerRequest.
|
|
119
|
+
* Use `create(ProposalLedgerRequestSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export declare const ProposalLedgerRequestSchema: GenMessage<ProposalLedgerRequest>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from message kal_api.ProposalLedgerResponse
|
|
125
|
+
*/
|
|
126
|
+
export declare type ProposalLedgerResponse = Message<"kal_api.ProposalLedgerResponse"> & {
|
|
127
|
+
/**
|
|
128
|
+
* proposal_id or ledger_id
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: repeated string ledger_keys = 1;
|
|
131
|
+
*/
|
|
132
|
+
ledgerKeys: string[];
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* string of proposal ledger
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: repeated string ledger_values = 2;
|
|
138
|
+
*/
|
|
139
|
+
ledgerValues: string[];
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* proposal_id or ledger_id
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: repeated string proposal_keys = 3;
|
|
145
|
+
*/
|
|
146
|
+
proposalKeys: string[];
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* string of proposal ledger
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: repeated string proposal_values = 4;
|
|
152
|
+
*/
|
|
153
|
+
proposalValues: string[];
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* proposal_id or ledger_id
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: repeated string wallets_keys = 5;
|
|
159
|
+
*/
|
|
160
|
+
walletsKeys: string[];
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: repeated string wallets_values = 6;
|
|
164
|
+
*/
|
|
165
|
+
walletsValues: string[];
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: repeated string temp_keys = 7;
|
|
169
|
+
*/
|
|
170
|
+
tempKeys: string[];
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: repeated string temp_values = 8;
|
|
174
|
+
*/
|
|
175
|
+
tempValues: string[];
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: repeated string voted_keys = 9;
|
|
179
|
+
*/
|
|
180
|
+
votedKeys: string[];
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: repeated string voted_values = 10;
|
|
184
|
+
*/
|
|
185
|
+
votedValues: string[];
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: repeated kal_api.ProposalStatus proposal_statuses = 11;
|
|
189
|
+
*/
|
|
190
|
+
proposalStatuses: ProposalStatus[];
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message kal_api.ProposalLedgerResponse.
|
|
195
|
+
* Use `create(ProposalLedgerResponseSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const ProposalLedgerResponseSchema: GenMessage<ProposalLedgerResponse>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message kal_api.ProposalStatus
|
|
201
|
+
*/
|
|
202
|
+
export declare type ProposalStatus = Message<"kal_api.ProposalStatus"> & {
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: bytes proposal_id = 1;
|
|
205
|
+
*/
|
|
206
|
+
proposalId: Uint8Array;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: kal_validator.Proposal proposal = 2;
|
|
210
|
+
*/
|
|
211
|
+
proposal?: Proposal;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: optional kal_txn.PreGovernance pre_governance = 3;
|
|
215
|
+
*/
|
|
216
|
+
preGovernance?: PreGovernance;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: bool promotion_pending = 4;
|
|
220
|
+
*/
|
|
221
|
+
promotionPending: boolean;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message kal_api.ProposalStatus.
|
|
226
|
+
* Use `create(ProposalStatusSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const ProposalStatusSchema: GenMessage<ProposalStatus>;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Block
|
|
232
|
+
*
|
|
233
|
+
* @generated from message kal_api.BlockRequest
|
|
234
|
+
*/
|
|
235
|
+
export declare type BlockRequest = Message<"kal_api.BlockRequest"> & {
|
|
236
|
+
/**
|
|
237
|
+
* @generated from oneof kal_api.BlockRequest.payload
|
|
238
|
+
*/
|
|
239
|
+
payload: {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: uint64 block_height = 1;
|
|
242
|
+
*/
|
|
243
|
+
value: bigint;
|
|
244
|
+
case: "blockHeight";
|
|
245
|
+
} | {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: string block_hash = 2;
|
|
248
|
+
*/
|
|
249
|
+
value: string;
|
|
250
|
+
case: "blockHash";
|
|
251
|
+
} | { case: undefined; value?: undefined };
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: bool encoded = 3;
|
|
255
|
+
*/
|
|
256
|
+
encoded: boolean;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message kal_api.BlockRequest.
|
|
261
|
+
* Use `create(BlockRequestSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export declare const BlockRequestSchema: GenMessage<BlockRequest>;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @generated from message kal_api.BlockResponse
|
|
267
|
+
*/
|
|
268
|
+
export declare type BlockResponse = Message<"kal_api.BlockResponse"> & {
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: kal_validator.Block block = 1;
|
|
271
|
+
*/
|
|
272
|
+
block?: Block;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message kal_api.BlockResponse.
|
|
277
|
+
* Use `create(BlockResponseSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export declare const BlockResponseSchema: GenMessage<BlockResponse>;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* NONCE
|
|
283
|
+
*
|
|
284
|
+
* @generated from message kal_api.NonceRequest
|
|
285
|
+
*/
|
|
286
|
+
export declare type NonceRequest = Message<"kal_api.NonceRequest"> & {
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: bytes wallet_address = 1;
|
|
289
|
+
*/
|
|
290
|
+
walletAddress: Uint8Array;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: bool encoded = 3;
|
|
294
|
+
*/
|
|
295
|
+
encoded: boolean;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Describes the message kal_api.NonceRequest.
|
|
300
|
+
* Use `create(NonceRequestSchema)` to create a new message.
|
|
301
|
+
*/
|
|
302
|
+
export declare const NonceRequestSchema: GenMessage<NonceRequest>;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @generated from message kal_api.NonceResponse
|
|
306
|
+
*/
|
|
307
|
+
export declare type NonceResponse = Message<"kal_api.NonceResponse"> & {
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: uint64 nonce = 1;
|
|
310
|
+
*/
|
|
311
|
+
nonce: bigint;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message kal_api.NonceResponse.
|
|
316
|
+
* Use `create(NonceResponseSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const NonceResponseSchema: GenMessage<NonceResponse>;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* BALANCE
|
|
322
|
+
*
|
|
323
|
+
* @generated from message kal_api.BalanceRequest
|
|
324
|
+
*/
|
|
325
|
+
export declare type BalanceRequest = Message<"kal_api.BalanceRequest"> & {
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: bytes wallet_address = 1;
|
|
328
|
+
*/
|
|
329
|
+
walletAddress: Uint8Array;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: string contract_id = 2;
|
|
333
|
+
*/
|
|
334
|
+
contractId: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: bool encoded = 3;
|
|
338
|
+
*/
|
|
339
|
+
encoded: boolean;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Describes the message kal_api.BalanceRequest.
|
|
344
|
+
* Use `create(BalanceRequestSchema)` to create a new message.
|
|
345
|
+
*/
|
|
346
|
+
export declare const BalanceRequestSchema: GenMessage<BalanceRequest>;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @generated from message kal_api.BalanceResponse
|
|
350
|
+
*/
|
|
351
|
+
export declare type BalanceResponse = Message<"kal_api.BalanceResponse"> & {
|
|
352
|
+
/**
|
|
353
|
+
* @generated from field: string balance = 1;
|
|
354
|
+
*/
|
|
355
|
+
balance: string;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: string denomination = 2;
|
|
359
|
+
*/
|
|
360
|
+
denomination: string;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* 1000000000000000000 = $1.00 (1,000,000,000,000,000,000)
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: string rate = 3;
|
|
366
|
+
*/
|
|
367
|
+
rate: string;
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Describes the message kal_api.BalanceResponse.
|
|
372
|
+
* Use `create(BalanceResponseSchema)` to create a new message.
|
|
373
|
+
*/
|
|
374
|
+
export declare const BalanceResponseSchema: GenMessage<BalanceResponse>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* CONTRACT
|
|
378
|
+
*
|
|
379
|
+
* @generated from message kal_api.ContractRequest
|
|
380
|
+
*/
|
|
381
|
+
export declare type ContractRequest = Message<"kal_api.ContractRequest"> & {
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: string contract_id = 1;
|
|
384
|
+
*/
|
|
385
|
+
contractId: string;
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message kal_api.ContractRequest.
|
|
390
|
+
* Use `create(ContractRequestSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export declare const ContractRequestSchema: GenMessage<ContractRequest>;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from message kal_api.ContractResponse
|
|
396
|
+
*/
|
|
397
|
+
export declare type ContractResponse = Message<"kal_api.ContractResponse"> & {
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: kal_txn.InstrumentContract contract = 1;
|
|
400
|
+
*/
|
|
401
|
+
contract?: InstrumentContract;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
405
|
+
*/
|
|
406
|
+
timestamp?: Timestamp;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: kal_txn.PublicKey public_key = 3;
|
|
410
|
+
*/
|
|
411
|
+
publicKey?: PublicKey;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: bytes signature = 4;
|
|
415
|
+
*/
|
|
416
|
+
signature: Uint8Array;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Describes the message kal_api.ContractResponse.
|
|
421
|
+
* Use `create(ContractResponseSchema)` to create a new message.
|
|
422
|
+
*/
|
|
423
|
+
export declare const ContractResponseSchema: GenMessage<ContractResponse>;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* CONTRACT FEE
|
|
427
|
+
*
|
|
428
|
+
* @generated from message kal_api.ContractFeeRequest
|
|
429
|
+
*/
|
|
430
|
+
export declare type ContractFeeRequest = Message<"kal_api.ContractFeeRequest"> & {
|
|
431
|
+
/**
|
|
432
|
+
* @generated from field: string contract_id = 1;
|
|
433
|
+
*/
|
|
434
|
+
contractId: string;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Describes the message kal_api.ContractFeeRequest.
|
|
439
|
+
* Use `create(ContractFeeRequestSchema)` to create a new message.
|
|
440
|
+
*/
|
|
441
|
+
export declare const ContractFeeRequestSchema: GenMessage<ContractFeeRequest>;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message kal_api.ContractFeeResponse
|
|
445
|
+
*/
|
|
446
|
+
export declare type ContractFeeResponse = Message<"kal_api.ContractFeeResponse"> & {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: kal_txn.CONTRACT_FEE_TYPE contract_fee_type = 1;
|
|
449
|
+
*/
|
|
450
|
+
contractFeeType: CONTRACT_FEE_TYPE;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @generated from field: repeated string allowed_fee_instrument = 2;
|
|
454
|
+
*/
|
|
455
|
+
allowedFeeInstrument: string[];
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: string fee = 3;
|
|
459
|
+
*/
|
|
460
|
+
fee: string;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Describes the message kal_api.ContractFeeResponse.
|
|
465
|
+
* Use `create(ContractFeeResponseSchema)` to create a new message.
|
|
466
|
+
*/
|
|
467
|
+
export declare const ContractFeeResponseSchema: GenMessage<ContractFeeResponse>;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* BASE FEE
|
|
471
|
+
*
|
|
472
|
+
* @generated from message kal_api.BaseFeeRequest
|
|
473
|
+
*/
|
|
474
|
+
export declare type BaseFeeRequest = Message<"kal_api.BaseFeeRequest"> & {
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: optional kal_txn.PublicKey public_key = 1;
|
|
477
|
+
*/
|
|
478
|
+
publicKey?: PublicKey;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: kal_txn.TRANSACTION_TYPE txn_type = 2;
|
|
482
|
+
*/
|
|
483
|
+
txnType: TRANSACTION_TYPE;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Describes the message kal_api.BaseFeeRequest.
|
|
488
|
+
* Use `create(BaseFeeRequestSchema)` to create a new message.
|
|
489
|
+
*/
|
|
490
|
+
export declare const BaseFeeRequestSchema: GenMessage<BaseFeeRequest>;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @generated from message kal_api.BaseFeeResponse
|
|
494
|
+
*/
|
|
495
|
+
export declare type BaseFeeResponse = Message<"kal_api.BaseFeeResponse"> & {
|
|
496
|
+
/**
|
|
497
|
+
* 1000000000000000000 = $1.00 (1,000,000,000,000,000,000)
|
|
498
|
+
*
|
|
499
|
+
* @generated from field: string key_fee = 1;
|
|
500
|
+
*/
|
|
501
|
+
keyFee: string;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* 1000000000000000000 = $1.00 (1,000,000,000,000,000,000)
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: string byte_fee = 2;
|
|
507
|
+
*/
|
|
508
|
+
byteFee: string;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* 1000000000000000000 = $1.00 (1,000,000,000,000,000,000)
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: string new_wallet_fee = 3;
|
|
514
|
+
*/
|
|
515
|
+
newWalletFee: string;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Describes the message kal_api.BaseFeeResponse.
|
|
520
|
+
* Use `create(BaseFeeResponseSchema)` to create a new message.
|
|
521
|
+
*/
|
|
522
|
+
export declare const BaseFeeResponseSchema: GenMessage<BaseFeeResponse>;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* AUTHORIZED TOKEN
|
|
526
|
+
*
|
|
527
|
+
* @generated from message kal_api.TokenFeeInfo
|
|
528
|
+
*/
|
|
529
|
+
export declare type TokenFeeInfo = Message<"kal_api.TokenFeeInfo"> & {
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: string contract_id = 1;
|
|
532
|
+
*/
|
|
533
|
+
contractId: string;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* 1000000000000000000 = $1.00 (1,000,000,000,000,000,000)
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: string rate = 2;
|
|
539
|
+
*/
|
|
540
|
+
rate: string;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: bool authorized = 3;
|
|
544
|
+
*/
|
|
545
|
+
authorized: boolean;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: string denomination = 4;
|
|
549
|
+
*/
|
|
550
|
+
denomination: string;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: optional kal_txn.ContractFees contract_fees = 5;
|
|
554
|
+
*/
|
|
555
|
+
contractFees?: ContractFees;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: string allowed_fees = 6;
|
|
559
|
+
*/
|
|
560
|
+
allowedFees: string;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: string used_fees = 7;
|
|
564
|
+
*/
|
|
565
|
+
usedFees: string;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message kal_api.TokenFeeInfo.
|
|
570
|
+
* Use `create(TokenFeeInfoSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export declare const TokenFeeInfoSchema: GenMessage<TokenFeeInfo>;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from message kal_api.TokenFeeInfoRequest
|
|
576
|
+
*/
|
|
577
|
+
export declare type TokenFeeInfoRequest = Message<"kal_api.TokenFeeInfoRequest"> & {
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: repeated string contract_ids = 1;
|
|
580
|
+
*/
|
|
581
|
+
contractIds: string[];
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Describes the message kal_api.TokenFeeInfoRequest.
|
|
586
|
+
* Use `create(TokenFeeInfoRequestSchema)` to create a new message.
|
|
587
|
+
*/
|
|
588
|
+
export declare const TokenFeeInfoRequestSchema: GenMessage<TokenFeeInfoRequest>;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @generated from message kal_api.TokenFeeInfoResponse
|
|
592
|
+
*/
|
|
593
|
+
export declare type TokenFeeInfoResponse = Message<"kal_api.TokenFeeInfoResponse"> & {
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: repeated kal_api.TokenFeeInfo tokens = 1;
|
|
596
|
+
*/
|
|
597
|
+
tokens: TokenFeeInfo[];
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Describes the message kal_api.TokenFeeInfoResponse.
|
|
602
|
+
* Use `create(TokenFeeInfoResponseSchema)` to create a new message.
|
|
603
|
+
*/
|
|
604
|
+
export declare const TokenFeeInfoResponseSchema: GenMessage<TokenFeeInfoResponse>;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* ITEM BALANCE
|
|
608
|
+
*
|
|
609
|
+
* @generated from message kal_api.Item
|
|
610
|
+
*/
|
|
611
|
+
export declare type Item = Message<"kal_api.Item"> & {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: string contract_id = 1;
|
|
614
|
+
*/
|
|
615
|
+
contractId: string;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @generated from field: string item_id = 2;
|
|
619
|
+
*/
|
|
620
|
+
itemId: string;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Describes the message kal_api.Item.
|
|
625
|
+
* Use `create(ItemSchema)` to create a new message.
|
|
626
|
+
*/
|
|
627
|
+
export declare const ItemSchema: GenMessage<Item>;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @generated from message kal_api.ItemRequest
|
|
631
|
+
*/
|
|
632
|
+
export declare type ItemRequest = Message<"kal_api.ItemRequest"> & {
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: bytes wallet_address = 1;
|
|
635
|
+
*/
|
|
636
|
+
walletAddress: Uint8Array;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @generated from field: bool encoded = 2;
|
|
640
|
+
*/
|
|
641
|
+
encoded: boolean;
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Describes the message kal_api.ItemRequest.
|
|
646
|
+
* Use `create(ItemRequestSchema)` to create a new message.
|
|
647
|
+
*/
|
|
648
|
+
export declare const ItemRequestSchema: GenMessage<ItemRequest>;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @generated from message kal_api.ItemResponse
|
|
652
|
+
*/
|
|
653
|
+
export declare type ItemResponse = Message<"kal_api.ItemResponse"> & {
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: repeated kal_api.Item items = 1;
|
|
656
|
+
*/
|
|
657
|
+
items: Item[];
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Describes the message kal_api.ItemResponse.
|
|
662
|
+
* Use `create(ItemResponseSchema)` to create a new message.
|
|
663
|
+
*/
|
|
664
|
+
export declare const ItemResponseSchema: GenMessage<ItemResponse>;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* DENOMINATION
|
|
668
|
+
*
|
|
669
|
+
* @generated from message kal_api.DenominationRequest
|
|
670
|
+
*/
|
|
671
|
+
export declare type DenominationRequest = Message<"kal_api.DenominationRequest"> & {
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: string contract_id = 1;
|
|
674
|
+
*/
|
|
675
|
+
contractId: string;
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Describes the message kal_api.DenominationRequest.
|
|
680
|
+
* Use `create(DenominationRequestSchema)` to create a new message.
|
|
681
|
+
*/
|
|
682
|
+
export declare const DenominationRequestSchema: GenMessage<DenominationRequest>;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @generated from message kal_api.DenominationResponse
|
|
686
|
+
*/
|
|
687
|
+
export declare type DenominationResponse = Message<"kal_api.DenominationResponse"> & {
|
|
688
|
+
/**
|
|
689
|
+
* @generated from field: string denomination = 1;
|
|
690
|
+
*/
|
|
691
|
+
denomination: string;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Describes the message kal_api.DenominationResponse.
|
|
696
|
+
* Use `create(DenominationResponseSchema)` to create a new message.
|
|
697
|
+
*/
|
|
698
|
+
export declare const DenominationResponseSchema: GenMessage<DenominationResponse>;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* DATABASE
|
|
702
|
+
*
|
|
703
|
+
* @generated from message kal_api.DatabaseRequest
|
|
704
|
+
*/
|
|
705
|
+
export declare type DatabaseRequest = Message<"kal_api.DatabaseRequest"> & {
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: kal_api.DATABASE_TYPE type = 1;
|
|
708
|
+
*/
|
|
709
|
+
type: DATABASE_TYPE;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @generated from field: string key = 2;
|
|
713
|
+
*/
|
|
714
|
+
key: string;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Describes the message kal_api.DatabaseRequest.
|
|
719
|
+
* Use `create(DatabaseRequestSchema)` to create a new message.
|
|
720
|
+
*/
|
|
721
|
+
export declare const DatabaseRequestSchema: GenMessage<DatabaseRequest>;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @generated from message kal_api.DatabaseResponse
|
|
725
|
+
*/
|
|
726
|
+
export declare type DatabaseResponse = Message<"kal_api.DatabaseResponse"> & {
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: string value = 1;
|
|
729
|
+
*/
|
|
730
|
+
value: string;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Describes the message kal_api.DatabaseResponse.
|
|
735
|
+
* Use `create(DatabaseResponseSchema)` to create a new message.
|
|
736
|
+
*/
|
|
737
|
+
export declare const DatabaseResponseSchema: GenMessage<DatabaseResponse>;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @generated from message kal_api.ActivityRequest
|
|
741
|
+
*/
|
|
742
|
+
export declare type ActivityRequest = Message<"kal_api.ActivityRequest"> & {
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: string smart_contract_id = 1;
|
|
745
|
+
*/
|
|
746
|
+
smartContractId: string;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: uint64 instance = 2;
|
|
750
|
+
*/
|
|
751
|
+
instance: bigint;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @generated from field: kal_api.CONFIRMATION_LEVEL level = 3;
|
|
755
|
+
*/
|
|
756
|
+
level: CONFIRMATION_LEVEL;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @generated from field: string host = 4;
|
|
760
|
+
*/
|
|
761
|
+
host: string;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @generated from field: int32 port = 5;
|
|
765
|
+
*/
|
|
766
|
+
port: number;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* true = subscribe, false = unsubscribe
|
|
770
|
+
*
|
|
771
|
+
* @generated from field: bool subscribe = 6;
|
|
772
|
+
*/
|
|
773
|
+
subscribe: boolean;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: kal_txn.PublicKey public_key = 7;
|
|
777
|
+
*/
|
|
778
|
+
publicKey?: PublicKey;
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: bytes signature = 8;
|
|
782
|
+
*/
|
|
783
|
+
signature: Uint8Array;
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @generated from field: uint64 nonce = 9;
|
|
787
|
+
*/
|
|
788
|
+
nonce: bigint;
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Describes the message kal_api.ActivityRequest.
|
|
793
|
+
* Use `create(ActivityRequestSchema)` to create a new message.
|
|
794
|
+
*/
|
|
795
|
+
export declare const ActivityRequestSchema: GenMessage<ActivityRequest>;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @generated from message kal_api.SmartContractEventsResponse
|
|
799
|
+
*/
|
|
800
|
+
export declare type SmartContractEventsResponse = Message<"kal_api.SmartContractEventsResponse"> & {
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
*
|
|
804
|
+
* @generated from field: string smart_contract = 1;
|
|
805
|
+
*/
|
|
806
|
+
smartContract: string;
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
*
|
|
811
|
+
* @generated from field: uint64 instance = 2;
|
|
812
|
+
*/
|
|
813
|
+
instance: bigint;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
*
|
|
818
|
+
* @generated from field: uint64 gas_used = 3;
|
|
819
|
+
*/
|
|
820
|
+
gasUsed: bigint;
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
*
|
|
824
|
+
*
|
|
825
|
+
* @generated from field: uint64 gas_approved = 4;
|
|
826
|
+
*/
|
|
827
|
+
gasApproved: bigint;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: string storage_fee = 5;
|
|
833
|
+
*/
|
|
834
|
+
storageFee: string;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
*
|
|
839
|
+
* @generated from field: kal_txn.PublicKey caller = 6;
|
|
840
|
+
*/
|
|
841
|
+
caller?: PublicKey;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
*
|
|
846
|
+
* @generated from field: repeated string event_data = 7;
|
|
847
|
+
*/
|
|
848
|
+
eventData: string[];
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
*
|
|
852
|
+
*
|
|
853
|
+
* @generated from field: string function = 8;
|
|
854
|
+
*/
|
|
855
|
+
function: string;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
*
|
|
860
|
+
* @generated from field: uint64 block_height = 9;
|
|
861
|
+
*/
|
|
862
|
+
blockHeight: bigint;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* block timestamp
|
|
866
|
+
*
|
|
867
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 10;
|
|
868
|
+
*/
|
|
869
|
+
timestamp?: Timestamp;
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
*
|
|
874
|
+
* @generated from field: string block_hash = 11;
|
|
875
|
+
*/
|
|
876
|
+
blockHash: string;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* in hex string
|
|
880
|
+
*
|
|
881
|
+
* @generated from field: string txn_hash = 12;
|
|
882
|
+
*/
|
|
883
|
+
txnHash: string;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* validator public key
|
|
887
|
+
*
|
|
888
|
+
* @generated from field: kal_txn.PublicKey public_key = 13;
|
|
889
|
+
*/
|
|
890
|
+
publicKey?: PublicKey;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* validator signature
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: bytes signature = 14;
|
|
896
|
+
*/
|
|
897
|
+
signature: Uint8Array;
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Describes the message kal_api.SmartContractEventsResponse.
|
|
902
|
+
* Use `create(SmartContractEventsResponseSchema)` to create a new message.
|
|
903
|
+
*/
|
|
904
|
+
export declare const SmartContractEventsResponseSchema: GenMessage<SmartContractEventsResponse>;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* @generated from message kal_api.SmartContractEventsSearchRequest
|
|
908
|
+
*/
|
|
909
|
+
export declare type SmartContractEventsSearchRequest = Message<"kal_api.SmartContractEventsSearchRequest"> & {
|
|
910
|
+
/**
|
|
911
|
+
* @generated from field: string smart_contract_id = 1;
|
|
912
|
+
*/
|
|
913
|
+
smartContractId: string;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* @generated from field: google.protobuf.Timestamp search_start = 2;
|
|
917
|
+
*/
|
|
918
|
+
searchStart?: Timestamp;
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Describes the message kal_api.SmartContractEventsSearchRequest.
|
|
923
|
+
* Use `create(SmartContractEventsSearchRequestSchema)` to create a new message.
|
|
924
|
+
*/
|
|
925
|
+
export declare const SmartContractEventsSearchRequestSchema: GenMessage<SmartContractEventsSearchRequest>;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* @generated from message kal_api.SmartContractEventsSearchResponse
|
|
929
|
+
*/
|
|
930
|
+
export declare type SmartContractEventsSearchResponse = Message<"kal_api.SmartContractEventsSearchResponse"> & {
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: repeated kal_api.SmartContractEventsResponse events = 1;
|
|
933
|
+
*/
|
|
934
|
+
events: SmartContractEventsResponse[];
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* validator public key
|
|
938
|
+
*
|
|
939
|
+
* @generated from field: kal_txn.PublicKey public_key = 13;
|
|
940
|
+
*/
|
|
941
|
+
publicKey?: PublicKey;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* validator signature
|
|
945
|
+
*
|
|
946
|
+
* @generated from field: bytes signature = 14;
|
|
947
|
+
*/
|
|
948
|
+
signature: Uint8Array;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Describes the message kal_api.SmartContractEventsSearchResponse.
|
|
953
|
+
* Use `create(SmartContractEventsSearchResponseSchema)` to create a new message.
|
|
954
|
+
*/
|
|
955
|
+
export declare const SmartContractEventsSearchResponseSchema: GenMessage<SmartContractEventsSearchResponse>;
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @generated from message kal_api.SmartContractEventManagementTemp
|
|
959
|
+
*/
|
|
960
|
+
export declare type SmartContractEventManagementTemp = Message<"kal_api.SmartContractEventManagementTemp"> & {
|
|
961
|
+
/**
|
|
962
|
+
* @generated from field: repeated string event_keys = 1;
|
|
963
|
+
*/
|
|
964
|
+
eventKeys: string[];
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* @generated from field: repeated string smart_contract_ids = 2;
|
|
968
|
+
*/
|
|
969
|
+
smartContractIds: string[];
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Describes the message kal_api.SmartContractEventManagementTemp.
|
|
974
|
+
* Use `create(SmartContractEventManagementTempSchema)` to create a new message.
|
|
975
|
+
*/
|
|
976
|
+
export declare const SmartContractEventManagementTempSchema: GenMessage<SmartContractEventManagementTemp>;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* @generated from message kal_api.SmartContractEventManagement
|
|
980
|
+
*/
|
|
981
|
+
export declare type SmartContractEventManagement = Message<"kal_api.SmartContractEventManagement"> & {
|
|
982
|
+
/**
|
|
983
|
+
* @generated from field: map<string, google.protobuf.Timestamp> events = 1;
|
|
984
|
+
*/
|
|
985
|
+
events: { [key: string]: Timestamp };
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Describes the message kal_api.SmartContractEventManagement.
|
|
990
|
+
* Use `create(SmartContractEventManagementSchema)` to create a new message.
|
|
991
|
+
*/
|
|
992
|
+
export declare const SmartContractEventManagementSchema: GenMessage<SmartContractEventManagement>;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* @generated from message kal_api.SmartContractSubscription
|
|
996
|
+
*/
|
|
997
|
+
export declare type SmartContractSubscription = Message<"kal_api.SmartContractSubscription"> & {
|
|
998
|
+
/**
|
|
999
|
+
* @generated from field: map<string, kal_api.Subscriber> subscibers = 1;
|
|
1000
|
+
*/
|
|
1001
|
+
subscibers: { [key: string]: Subscriber };
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Describes the message kal_api.SmartContractSubscription.
|
|
1006
|
+
* Use `create(SmartContractSubscriptionSchema)` to create a new message.
|
|
1007
|
+
*/
|
|
1008
|
+
export declare const SmartContractSubscriptionSchema: GenMessage<SmartContractSubscription>;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from message kal_api.Subscriber
|
|
1012
|
+
*/
|
|
1013
|
+
export declare type Subscriber = Message<"kal_api.Subscriber"> & {
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from field: kal_api.CONFIRMATION_LEVEL level = 1;
|
|
1016
|
+
*/
|
|
1017
|
+
level: CONFIRMATION_LEVEL;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* @generated from field: string host = 2;
|
|
1021
|
+
*/
|
|
1022
|
+
host: string;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from field: int32 port = 3;
|
|
1026
|
+
*/
|
|
1027
|
+
port: number;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Describes the message kal_api.Subscriber.
|
|
1032
|
+
* Use `create(SubscriberSchema)` to create a new message.
|
|
1033
|
+
*/
|
|
1034
|
+
export declare const SubscriberSchema: GenMessage<Subscriber>;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* @generated from message kal_api.WalletChange
|
|
1038
|
+
*/
|
|
1039
|
+
export declare type WalletChange = Message<"kal_api.WalletChange"> & {
|
|
1040
|
+
/**
|
|
1041
|
+
* @generated from field: bytes wallet_address = 1;
|
|
1042
|
+
*/
|
|
1043
|
+
walletAddress: Uint8Array;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* @generated from field: repeated string contract_ids = 2;
|
|
1047
|
+
*/
|
|
1048
|
+
contractIds: string[];
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from field: repeated string old_balances = 3;
|
|
1052
|
+
*/
|
|
1053
|
+
oldBalances: string[];
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @generated from field: repeated string new_balances = 4;
|
|
1057
|
+
*/
|
|
1058
|
+
newBalances: string[];
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Describes the message kal_api.WalletChange.
|
|
1063
|
+
* Use `create(WalletChangeSchema)` to create a new message.
|
|
1064
|
+
*/
|
|
1065
|
+
export declare const WalletChangeSchema: GenMessage<WalletChange>;
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* @generated from enum kal_api.CONFIRMATION_LEVEL
|
|
1069
|
+
*/
|
|
1070
|
+
export enum CONFIRMATION_LEVEL {
|
|
1071
|
+
/**
|
|
1072
|
+
* @generated from enum value: PROCESSED = 0;
|
|
1073
|
+
*/
|
|
1074
|
+
PROCESSED = 0,
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* @generated from enum value: FINALIZED = 1;
|
|
1078
|
+
*/
|
|
1079
|
+
FINALIZED = 1,
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated from enum value: CONFIRMED = 2;
|
|
1083
|
+
*/
|
|
1084
|
+
CONFIRMED = 2,
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Describes the enum kal_api.CONFIRMATION_LEVEL.
|
|
1089
|
+
*/
|
|
1090
|
+
export declare const CONFIRMATION_LEVELSchema: GenEnum<CONFIRMATION_LEVEL>;
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from enum kal_api.DATABASE_TYPE
|
|
1094
|
+
*/
|
|
1095
|
+
export enum DATABASE_TYPE {
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from enum value: UNKNOWN = 0;
|
|
1098
|
+
*/
|
|
1099
|
+
UNKNOWN = 0,
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from enum value: CONTRACTS = 1;
|
|
1103
|
+
*/
|
|
1104
|
+
CONTRACTS = 1,
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* @generated from enum value: HASH_INDEX = 2;
|
|
1108
|
+
*/
|
|
1109
|
+
HASH_INDEX = 2,
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated from enum value: CONTRACT_SUPPLY = 3;
|
|
1113
|
+
*/
|
|
1114
|
+
CONTRACT_SUPPLY = 3,
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from enum value: SMART_CONTRACTS = 4;
|
|
1118
|
+
*/
|
|
1119
|
+
SMART_CONTRACTS = 4,
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* @generated from enum value: VALIDATORS = 5;
|
|
1123
|
+
*/
|
|
1124
|
+
VALIDATORS = 5,
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @generated from enum value: BLOCKS = 6;
|
|
1128
|
+
*/
|
|
1129
|
+
BLOCKS = 6,
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @generated from enum value: HEADERS = 7;
|
|
1133
|
+
*/
|
|
1134
|
+
HEADERS = 7,
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from enum value: TRANSACTIONS = 8;
|
|
1138
|
+
*/
|
|
1139
|
+
TRANSACTIONS = 8,
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* @generated from enum value: CONTRACT_ITEMS = 9;
|
|
1143
|
+
*/
|
|
1144
|
+
CONTRACT_ITEMS = 9,
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* @generated from enum value: VALIDATOR_UNBONDING = 10;
|
|
1148
|
+
*/
|
|
1149
|
+
VALIDATOR_UNBONDING = 10,
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from enum value: PROPOSAL_LEDGER = 11;
|
|
1153
|
+
*/
|
|
1154
|
+
PROPOSAL_LEDGER = 11,
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from enum value: PROPOSALS = 12;
|
|
1158
|
+
*/
|
|
1159
|
+
PROPOSALS = 12,
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* @generated from enum value: CURRENCY_EQUIVALENTS = 13;
|
|
1163
|
+
*/
|
|
1164
|
+
CURRENCY_EQUIVALENTS = 13,
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from enum value: EXPENSE_RATIO = 14;
|
|
1168
|
+
*/
|
|
1169
|
+
EXPENSE_RATIO = 14,
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @generated from enum value: ATTESTATION = 15;
|
|
1173
|
+
*/
|
|
1174
|
+
ATTESTATION = 15,
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from enum value: CONFIRMED_BLOCKS = 16;
|
|
1178
|
+
*/
|
|
1179
|
+
CONFIRMED_BLOCKS = 16,
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Describes the enum kal_api.DATABASE_TYPE.
|
|
1184
|
+
*/
|
|
1185
|
+
export declare const DATABASE_TYPESchema: GenEnum<DATABASE_TYPE>;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* @generated from enum kal_api.PROPOSAL_TYPE
|
|
1189
|
+
*/
|
|
1190
|
+
export enum PROPOSAL_TYPE {
|
|
1191
|
+
/**
|
|
1192
|
+
* @generated from enum value: ALL_PROPOSALS = 0;
|
|
1193
|
+
*/
|
|
1194
|
+
ALL_PROPOSALS = 0,
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* @generated from enum value: ALL_LEDGERS = 1;
|
|
1198
|
+
*/
|
|
1199
|
+
ALL_LEDGERS = 1,
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* @generated from enum value: PROPOSAL_BY_ID = 2;
|
|
1203
|
+
*/
|
|
1204
|
+
PROPOSAL_BY_ID = 2,
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @generated from enum value: LEDGER_BY_ID = 3;
|
|
1208
|
+
*/
|
|
1209
|
+
LEDGER_BY_ID = 3,
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Describes the enum kal_api.PROPOSAL_TYPE.
|
|
1214
|
+
*/
|
|
1215
|
+
export declare const PROPOSAL_TYPESchema: GenEnum<PROPOSAL_TYPE>;
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* @generated from service kal_api.APIService
|
|
1219
|
+
*/
|
|
1220
|
+
export declare const APIService: GenService<{
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from rpc kal_api.APIService.Balance
|
|
1223
|
+
*/
|
|
1224
|
+
balance: {
|
|
1225
|
+
methodKind: "unary";
|
|
1226
|
+
input: typeof BalanceRequestSchema;
|
|
1227
|
+
output: typeof BalanceResponseSchema;
|
|
1228
|
+
},
|
|
1229
|
+
/**
|
|
1230
|
+
* @generated from rpc kal_api.APIService.Nonce
|
|
1231
|
+
*/
|
|
1232
|
+
nonce: {
|
|
1233
|
+
methodKind: "unary";
|
|
1234
|
+
input: typeof NonceRequestSchema;
|
|
1235
|
+
output: typeof NonceResponseSchema;
|
|
1236
|
+
},
|
|
1237
|
+
/**
|
|
1238
|
+
* @generated from rpc kal_api.APIService.ContractFee
|
|
1239
|
+
*/
|
|
1240
|
+
contractFee: {
|
|
1241
|
+
methodKind: "unary";
|
|
1242
|
+
input: typeof ContractFeeRequestSchema;
|
|
1243
|
+
output: typeof ContractFeeResponseSchema;
|
|
1244
|
+
},
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from rpc kal_api.APIService.BaseFee
|
|
1247
|
+
*/
|
|
1248
|
+
baseFee: {
|
|
1249
|
+
methodKind: "unary";
|
|
1250
|
+
input: typeof BaseFeeRequestSchema;
|
|
1251
|
+
output: typeof BaseFeeResponseSchema;
|
|
1252
|
+
},
|
|
1253
|
+
/**
|
|
1254
|
+
* @generated from rpc kal_api.APIService.GetTokenFeeInfo
|
|
1255
|
+
*/
|
|
1256
|
+
getTokenFeeInfo: {
|
|
1257
|
+
methodKind: "unary";
|
|
1258
|
+
input: typeof TokenFeeInfoRequestSchema;
|
|
1259
|
+
output: typeof TokenFeeInfoResponseSchema;
|
|
1260
|
+
},
|
|
1261
|
+
/**
|
|
1262
|
+
* @generated from rpc kal_api.APIService.Items
|
|
1263
|
+
*/
|
|
1264
|
+
items: {
|
|
1265
|
+
methodKind: "unary";
|
|
1266
|
+
input: typeof ItemRequestSchema;
|
|
1267
|
+
output: typeof ItemResponseSchema;
|
|
1268
|
+
},
|
|
1269
|
+
/**
|
|
1270
|
+
* @generated from rpc kal_api.APIService.Denomination
|
|
1271
|
+
*/
|
|
1272
|
+
denomination: {
|
|
1273
|
+
methodKind: "unary";
|
|
1274
|
+
input: typeof DenominationRequestSchema;
|
|
1275
|
+
output: typeof DenominationResponseSchema;
|
|
1276
|
+
},
|
|
1277
|
+
/**
|
|
1278
|
+
* @generated from rpc kal_api.APIService.Database
|
|
1279
|
+
*/
|
|
1280
|
+
database: {
|
|
1281
|
+
methodKind: "unary";
|
|
1282
|
+
input: typeof DatabaseRequestSchema;
|
|
1283
|
+
output: typeof DatabaseResponseSchema;
|
|
1284
|
+
},
|
|
1285
|
+
/**
|
|
1286
|
+
* @generated from rpc kal_api.APIService.Block
|
|
1287
|
+
*/
|
|
1288
|
+
block: {
|
|
1289
|
+
methodKind: "unary";
|
|
1290
|
+
input: typeof BlockRequestSchema;
|
|
1291
|
+
output: typeof BlockResponseSchema;
|
|
1292
|
+
},
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from rpc kal_api.APIService.ProposalLedger
|
|
1295
|
+
*/
|
|
1296
|
+
proposalLedger: {
|
|
1297
|
+
methodKind: "unary";
|
|
1298
|
+
input: typeof ProposalLedgerRequestSchema;
|
|
1299
|
+
output: typeof ProposalLedgerResponseSchema;
|
|
1300
|
+
},
|
|
1301
|
+
/**
|
|
1302
|
+
* @generated from rpc kal_api.APIService.SmartContractActivityRequest
|
|
1303
|
+
*/
|
|
1304
|
+
smartContractActivityRequest: {
|
|
1305
|
+
methodKind: "unary";
|
|
1306
|
+
input: typeof ActivityRequestSchema;
|
|
1307
|
+
output: typeof EmptySchema;
|
|
1308
|
+
},
|
|
1309
|
+
/**
|
|
1310
|
+
* @generated from rpc kal_api.APIService.SmartContractEvents
|
|
1311
|
+
*/
|
|
1312
|
+
smartContractEvents: {
|
|
1313
|
+
methodKind: "unary";
|
|
1314
|
+
input: typeof SmartContractEventsResponseSchema;
|
|
1315
|
+
output: typeof EmptySchema;
|
|
1316
|
+
},
|
|
1317
|
+
/**
|
|
1318
|
+
* @generated from rpc kal_api.APIService.Contract
|
|
1319
|
+
*/
|
|
1320
|
+
contract: {
|
|
1321
|
+
methodKind: "unary";
|
|
1322
|
+
input: typeof ContractRequestSchema;
|
|
1323
|
+
output: typeof ContractResponseSchema;
|
|
1324
|
+
},
|
|
1325
|
+
/**
|
|
1326
|
+
* @generated from rpc kal_api.APIService.SmartContractEventsSearch
|
|
1327
|
+
*/
|
|
1328
|
+
smartContractEventsSearch: {
|
|
1329
|
+
methodKind: "unary";
|
|
1330
|
+
input: typeof SmartContractEventsSearchRequestSchema;
|
|
1331
|
+
output: typeof SmartContractEventsSearchResponseSchema;
|
|
1332
|
+
},
|
|
1333
|
+
/**
|
|
1334
|
+
* @generated from rpc kal_api.APIService.TotalBalance
|
|
1335
|
+
*/
|
|
1336
|
+
totalBalance: {
|
|
1337
|
+
methodKind: "unary";
|
|
1338
|
+
input: typeof TotalBalanceRequestSchema;
|
|
1339
|
+
output: typeof TotalBalanceResponseSchema;
|
|
1340
|
+
},
|
|
1341
|
+
/**
|
|
1342
|
+
* @generated from rpc kal_api.APIService.GetAllAuthorizedFees
|
|
1343
|
+
*/
|
|
1344
|
+
getAllAuthorizedFees: {
|
|
1345
|
+
methodKind: "unary";
|
|
1346
|
+
input: typeof EmptySchema;
|
|
1347
|
+
output: typeof GetAllAuthorizedFeesResponseSchema;
|
|
1348
|
+
},
|
|
1349
|
+
}>;
|
|
1350
|
+
|