kalvora.js 0.0.1-alpha.1 → 0.0.1-alpha.3
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 +230 -162
- package/LICENSE +202 -202
- package/NOTICE +10 -10
- package/README.md +274 -391
- package/dist/LICENSE +202 -202
- package/dist/README.md +274 -391
- package/dist/index.cjs +17294 -11701
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +23 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -11
- package/dist/proto/generated/guardian_pb.d.ts +216 -206
- package/dist/proto/generated/guardian_pb.js +50 -47
- package/dist/proto/generated/kal_api_pb.d.ts +406 -2
- package/dist/proto/generated/kal_api_pb.js +81 -39
- package/dist/proto/generated/txn_pb.d.ts +721 -128
- package/dist/proto/generated/txn_pb.js +183 -71
- package/dist/proto/generated/validator_pb.d.ts +2218 -583
- package/dist/proto/generated/validator_pb.js +322 -80
- package/dist/proto/guardian.proto +268 -266
- package/dist/proto/kal_api.proto +82 -0
- package/dist/proto/txn.proto +189 -46
- package/dist/proto/validator.proto +803 -469
- package/dist/src/adapter/index.d.ts +1 -0
- package/dist/src/adapter/index.d.ts.map +1 -1
- package/dist/src/adapter/signing-account.d.ts +19 -0
- package/dist/src/adapter/signing-account.d.ts.map +1 -0
- package/dist/src/adapter/signing-account.js +38 -0
- package/dist/src/adapter/signing-account.js.map +1 -0
- package/dist/src/adapter/wallet-adapter.d.ts +5 -1
- package/dist/src/adapter/wallet-adapter.d.ts.map +1 -1
- package/dist/src/adapter/wallet-adapter.js +81 -33
- package/dist/src/adapter/wallet-adapter.js.map +1 -1
- package/dist/src/adapter/wallet-signer.d.ts +9 -7
- package/dist/src/adapter/wallet-signer.d.ts.map +1 -1
- package/dist/src/adapter/wallet-signer.js +35 -26
- package/dist/src/adapter/wallet-signer.js.map +1 -1
- package/dist/src/adapter/walletconnect.d.ts +4 -5
- package/dist/src/adapter/walletconnect.d.ts.map +1 -1
- package/dist/src/adapter/walletconnect.js +12 -9
- package/dist/src/adapter/walletconnect.js.map +1 -1
- package/dist/src/allowance/transaction.d.ts +3 -2
- package/dist/src/allowance/transaction.d.ts.map +1 -1
- package/dist/src/allowance/transaction.js +4 -4
- package/dist/src/allowance/transaction.js.map +1 -1
- package/dist/src/api/validator/base-fee/service.d.ts +1 -1
- package/dist/src/api/validator/base-fee/service.d.ts.map +1 -1
- package/dist/src/api/validator/base-fee/service.js +2 -2
- package/dist/src/api/validator/base-fee/service.js.map +1 -1
- package/dist/src/client/index.d.ts +1 -1
- package/dist/src/client/index.d.ts.map +1 -1
- package/dist/src/client/index.js +1 -1
- package/dist/src/client/index.js.map +1 -1
- package/dist/src/client/kalvora-client.d.ts +2 -1
- package/dist/src/client/kalvora-client.d.ts.map +1 -1
- package/dist/src/client/kalvora-client.js +3 -1
- package/dist/src/client/kalvora-client.js.map +1 -1
- package/dist/src/client/networks.d.ts +6 -0
- package/dist/src/client/networks.d.ts.map +1 -1
- package/dist/src/client/networks.js +7 -0
- package/dist/src/client/networks.js.map +1 -1
- package/dist/src/coin-txn/index.d.ts +1 -1
- package/dist/src/coin-txn/index.d.ts.map +1 -1
- package/dist/src/coin-txn/index.js +1 -1
- package/dist/src/coin-txn/index.js.map +1 -1
- package/dist/src/coin-txn/transaction.d.ts +7 -1
- package/dist/src/coin-txn/transaction.d.ts.map +1 -1
- package/dist/src/coin-txn/transaction.js +77 -76
- package/dist/src/coin-txn/transaction.js.map +1 -1
- package/dist/src/compliance/transaction.d.ts +2 -1
- package/dist/src/compliance/transaction.d.ts.map +1 -1
- package/dist/src/compliance/transaction.js +4 -4
- package/dist/src/compliance/transaction.js.map +1 -1
- package/dist/src/contract/create/transaction.d.ts +4 -20
- package/dist/src/contract/create/transaction.d.ts.map +1 -1
- package/dist/src/contract/create/transaction.js +152 -30
- package/dist/src/contract/create/transaction.js.map +1 -1
- package/dist/src/contract/shared/types.d.ts +23 -10
- package/dist/src/contract/shared/types.d.ts.map +1 -1
- package/dist/src/contract/shared/utils.d.ts +17 -9
- package/dist/src/contract/shared/utils.d.ts.map +1 -1
- package/dist/src/contract/shared/utils.js +104 -8
- package/dist/src/contract/shared/utils.js.map +1 -1
- package/dist/src/contract/update/transaction.d.ts.map +1 -1
- package/dist/src/contract/update/transaction.js +10 -9
- package/dist/src/contract/update/transaction.js.map +1 -1
- package/dist/src/delegated-voting/transaction.d.ts +2 -1
- package/dist/src/delegated-voting/transaction.d.ts.map +1 -1
- package/dist/src/delegated-voting/transaction.js +5 -5
- package/dist/src/delegated-voting/transaction.js.map +1 -1
- package/dist/src/expense-ratio/transaction.d.ts +5 -4
- package/dist/src/expense-ratio/transaction.d.ts.map +1 -1
- package/dist/src/expense-ratio/transaction.js +8 -7
- package/dist/src/expense-ratio/transaction.js.map +1 -1
- package/dist/src/grpc/api/validator-api-client.d.ts +5 -2
- package/dist/src/grpc/api/validator-api-client.d.ts.map +1 -1
- package/dist/src/grpc/api/validator-api-client.js +26 -4
- package/dist/src/grpc/api/validator-api-client.js.map +1 -1
- package/dist/src/grpc/client-factory.d.ts.map +1 -1
- package/dist/src/grpc/client-factory.js +12 -4
- package/dist/src/grpc/client-factory.js.map +1 -1
- package/dist/src/grpc/transaction/transaction-client.d.ts.map +1 -1
- package/dist/src/grpc/transaction/transaction-client.js +12 -5
- package/dist/src/grpc/transaction/transaction-client.js.map +1 -1
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts +1 -1
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts.map +1 -1
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js +1 -2
- package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js.map +1 -1
- package/dist/src/items/guards.d.ts +18 -0
- package/dist/src/items/guards.d.ts.map +1 -0
- package/dist/src/items/guards.js +46 -0
- package/dist/src/items/guards.js.map +1 -0
- package/dist/src/items/index.d.ts +2 -1
- package/dist/src/items/index.d.ts.map +1 -1
- package/dist/src/items/index.js +2 -1
- package/dist/src/items/index.js.map +1 -1
- package/dist/src/items/item-fee.d.ts +9 -0
- package/dist/src/items/item-fee.d.ts.map +1 -0
- package/dist/src/items/item-fee.js +21 -0
- package/dist/src/items/item-fee.js.map +1 -0
- package/dist/src/items/transaction.d.ts +14 -3
- package/dist/src/items/transaction.d.ts.map +1 -1
- package/dist/src/items/transaction.js +88 -29
- package/dist/src/items/transaction.js.map +1 -1
- package/dist/src/mint/index.d.ts +1 -1
- package/dist/src/mint/index.d.ts.map +1 -1
- package/dist/src/mint/index.js +1 -1
- package/dist/src/mint/index.js.map +1 -1
- package/dist/src/mint/transaction.d.ts +6 -4
- package/dist/src/mint/transaction.d.ts.map +1 -1
- package/dist/src/mint/transaction.js +37 -8
- package/dist/src/mint/transaction.js.map +1 -1
- package/dist/src/proposal/governance.d.ts +57 -0
- package/dist/src/proposal/governance.d.ts.map +1 -0
- package/dist/src/proposal/governance.js +174 -0
- package/dist/src/proposal/governance.js.map +1 -0
- package/dist/src/proposal/index.d.ts +2 -0
- package/dist/src/proposal/index.d.ts.map +1 -1
- package/dist/src/proposal/index.js +2 -0
- package/dist/src/proposal/index.js.map +1 -1
- package/dist/src/proposal/shape.d.ts +37 -0
- package/dist/src/proposal/shape.d.ts.map +1 -0
- package/dist/src/proposal/shape.js +147 -0
- package/dist/src/proposal/shape.js.map +1 -0
- package/dist/src/proposal/transaction.d.ts +5 -1
- package/dist/src/proposal/transaction.d.ts.map +1 -1
- package/dist/src/proposal/transaction.js +15 -7
- package/dist/src/proposal/transaction.js.map +1 -1
- package/dist/src/proposal-cancel/transaction.d.ts +5 -1
- package/dist/src/proposal-cancel/transaction.d.ts.map +1 -1
- package/dist/src/proposal-cancel/transaction.js +7 -5
- package/dist/src/proposal-cancel/transaction.js.map +1 -1
- package/dist/src/protocol/contract-id.d.ts +108 -0
- package/dist/src/protocol/contract-id.d.ts.map +1 -0
- package/dist/src/protocol/contract-id.js +237 -0
- package/dist/src/protocol/contract-id.js.map +1 -0
- package/dist/src/protocol/guardian-names.d.ts +13 -14
- package/dist/src/protocol/guardian-names.d.ts.map +1 -1
- package/dist/src/protocol/guardian-names.js +7 -8
- package/dist/src/protocol/guardian-names.js.map +1 -1
- package/dist/src/protocol/index.d.ts +5 -5
- package/dist/src/protocol/index.js +5 -5
- package/dist/src/query/api-client.d.ts +70 -15
- package/dist/src/query/api-client.d.ts.map +1 -1
- package/dist/src/query/api-client.js +256 -52
- package/dist/src/query/api-client.js.map +1 -1
- package/dist/src/query/decoders.d.ts +11 -2
- package/dist/src/query/decoders.d.ts.map +1 -1
- package/dist/src/query/decoders.js +46 -8
- package/dist/src/query/decoders.js.map +1 -1
- package/dist/src/query/events.d.ts +48 -0
- package/dist/src/query/events.d.ts.map +1 -0
- package/dist/src/query/events.js +88 -0
- package/dist/src/query/events.js.map +1 -0
- package/dist/src/query/guardian-client.js +2 -2
- package/dist/src/query/guardian-client.js.map +1 -1
- package/dist/src/query/index.d.ts +3 -1
- package/dist/src/query/index.d.ts.map +1 -1
- package/dist/src/query/index.js +3 -1
- package/dist/src/query/index.js.map +1 -1
- package/dist/src/query/keys.d.ts +14 -0
- package/dist/src/query/keys.d.ts.map +1 -0
- package/dist/src/query/keys.js +57 -0
- package/dist/src/query/keys.js.map +1 -0
- package/dist/src/query/validator-client.d.ts +8 -6
- package/dist/src/query/validator-client.d.ts.map +1 -1
- package/dist/src/query/validator-client.js +15 -13
- package/dist/src/query/validator-client.js.map +1 -1
- package/dist/src/revoke/index.d.ts +1 -1
- package/dist/src/revoke/index.d.ts.map +1 -1
- package/dist/src/revoke/index.js +1 -1
- package/dist/src/revoke/index.js.map +1 -1
- package/dist/src/revoke/transaction.d.ts +12 -15
- package/dist/src/revoke/transaction.d.ts.map +1 -1
- package/dist/src/revoke/transaction.js +13 -15
- package/dist/src/revoke/transaction.js.map +1 -1
- package/dist/src/shared/crypto/address-utils.d.ts +5 -0
- package/dist/src/shared/crypto/address-utils.d.ts.map +1 -1
- package/dist/src/shared/crypto/address-utils.js +14 -0
- package/dist/src/shared/crypto/address-utils.js.map +1 -1
- package/dist/src/shared/crypto/falcon-address.d.ts +28 -0
- package/dist/src/shared/crypto/falcon-address.d.ts.map +1 -0
- package/dist/src/shared/crypto/falcon-address.js +88 -0
- package/dist/src/shared/crypto/falcon-address.js.map +1 -0
- package/dist/src/shared/fee-calculators/proof-layout.d.ts +23 -0
- package/dist/src/shared/fee-calculators/proof-layout.d.ts.map +1 -0
- package/dist/src/shared/fee-calculators/proof-layout.js +75 -0
- package/dist/src/shared/fee-calculators/proof-layout.js.map +1 -0
- package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts +12 -2
- package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts.map +1 -1
- package/dist/src/shared/fee-calculators/universal-fee-calculator.js +264 -560
- package/dist/src/shared/fee-calculators/universal-fee-calculator.js.map +1 -1
- package/dist/src/shared/network/chain-id.d.ts +4 -0
- package/dist/src/shared/network/chain-id.d.ts.map +1 -0
- package/dist/src/shared/network/chain-id.js +12 -0
- package/dist/src/shared/network/chain-id.js.map +1 -0
- package/dist/src/shared/network/constants.d.ts +7 -7
- package/dist/src/shared/network/constants.d.ts.map +1 -1
- package/dist/src/shared/network/constants.js +9 -10
- package/dist/src/shared/network/constants.js.map +1 -1
- package/dist/src/shared/protobuf/index.d.ts +1 -1
- package/dist/src/shared/protobuf/index.d.ts.map +1 -1
- package/dist/src/shared/tx/base.d.ts +5 -1
- package/dist/src/shared/tx/base.d.ts.map +1 -1
- package/dist/src/shared/tx/base.js +18 -5
- package/dist/src/shared/tx/base.js.map +1 -1
- package/dist/src/shared/tx/standard.d.ts +18 -8
- package/dist/src/shared/tx/standard.d.ts.map +1 -1
- package/dist/src/shared/tx/standard.js +39 -13
- package/dist/src/shared/tx/standard.js.map +1 -1
- package/dist/src/shared/utils/unified-amount-conversion.d.ts +7 -8
- package/dist/src/shared/utils/unified-amount-conversion.d.ts.map +1 -1
- package/dist/src/shared/utils/unified-amount-conversion.js +31 -56
- package/dist/src/shared/utils/unified-amount-conversion.js.map +1 -1
- package/dist/src/shared/utils/validation.d.ts +2 -3
- package/dist/src/shared/utils/validation.d.ts.map +1 -1
- package/dist/src/shared/utils/validation.js +7 -29
- package/dist/src/shared/utils/validation.js.map +1 -1
- package/dist/src/sign/builder.d.ts +18 -0
- package/dist/src/sign/builder.d.ts.map +1 -0
- package/dist/src/sign/builder.js +28 -0
- package/dist/src/sign/builder.js.map +1 -0
- package/dist/src/sign/context.d.ts +21 -0
- package/dist/src/sign/context.d.ts.map +1 -0
- package/dist/src/sign/context.js +73 -0
- package/dist/src/sign/context.js.map +1 -0
- package/dist/src/sign/finalize.d.ts +33 -5
- package/dist/src/sign/finalize.d.ts.map +1 -1
- package/dist/src/sign/finalize.js +289 -32
- package/dist/src/sign/finalize.js.map +1 -1
- package/dist/src/sign/index.d.ts +3 -1
- package/dist/src/sign/index.d.ts.map +1 -1
- package/dist/src/sign/index.js +3 -1
- package/dist/src/sign/index.js.map +1 -1
- package/dist/src/sign/resources.d.ts +13 -0
- package/dist/src/sign/resources.d.ts.map +1 -0
- package/dist/src/sign/resources.js +197 -0
- package/dist/src/sign/resources.js.map +1 -0
- package/dist/src/sign/signer.d.ts +9 -1
- package/dist/src/sign/signer.d.ts.map +1 -1
- package/dist/src/sign/signer.js.map +1 -1
- package/dist/src/smart-contracts/deploy/transaction.d.ts +2 -1
- package/dist/src/smart-contracts/deploy/transaction.d.ts.map +1 -1
- package/dist/src/smart-contracts/deploy/transaction.js +3 -4
- package/dist/src/smart-contracts/deploy/transaction.js.map +1 -1
- package/dist/src/smart-contracts/execute/index.d.ts +1 -0
- package/dist/src/smart-contracts/execute/index.d.ts.map +1 -1
- package/dist/src/smart-contracts/execute/index.js +1 -0
- package/dist/src/smart-contracts/execute/index.js.map +1 -1
- package/dist/src/smart-contracts/execute/transaction.d.ts +5 -1
- package/dist/src/smart-contracts/execute/transaction.d.ts.map +1 -1
- package/dist/src/smart-contracts/execute/transaction.js +7 -5
- package/dist/src/smart-contracts/execute/transaction.js.map +1 -1
- package/dist/src/smart-contracts/instantiate/index.d.ts +1 -0
- package/dist/src/smart-contracts/instantiate/index.d.ts.map +1 -1
- package/dist/src/smart-contracts/instantiate/index.js +1 -0
- package/dist/src/smart-contracts/instantiate/index.js.map +1 -1
- package/dist/src/smart-contracts/instantiate/transaction.d.ts +5 -1
- package/dist/src/smart-contracts/instantiate/transaction.d.ts.map +1 -1
- package/dist/src/smart-contracts/instantiate/transaction.js +7 -5
- package/dist/src/smart-contracts/instantiate/transaction.js.map +1 -1
- package/dist/src/smart-contracts/shared/allowances.d.ts +18 -0
- package/dist/src/smart-contracts/shared/allowances.d.ts.map +1 -0
- package/dist/src/smart-contracts/shared/allowances.js +42 -0
- package/dist/src/smart-contracts/shared/allowances.js.map +1 -0
- package/dist/src/smart-contracts/shared/base.d.ts +2 -14
- package/dist/src/smart-contracts/shared/base.d.ts.map +1 -1
- package/dist/src/smart-contracts/shared/base.js +14 -24
- package/dist/src/smart-contracts/shared/base.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts +2 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bootstrapping/utils.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts +4 -6
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js +7 -25
- package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts +5 -4
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts +7 -6
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js +2 -2
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts +2 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/swap.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/types.d.ts +2 -2
- package/dist/src/smart-contracts/use-cases/dex/types.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/utils.d.ts +2 -1
- package/dist/src/smart-contracts/use-cases/dex/utils.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/dex/utils.js +1 -1
- package/dist/src/smart-contracts/use-cases/dex/utils.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/stake.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts +3 -2
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.js.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/utils.d.ts +2 -1
- package/dist/src/smart-contracts/use-cases/staking/utils.d.ts.map +1 -1
- package/dist/src/smart-contracts/use-cases/staking/utils.js.map +1 -1
- package/dist/src/types/index.d.ts +9 -1
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/validator-ops/index.d.ts +1 -1
- package/dist/src/validator-ops/index.d.ts.map +1 -1
- package/dist/src/validator-ops/index.js.map +1 -1
- package/dist/src/validator-ops/transaction.d.ts +26 -252
- package/dist/src/validator-ops/transaction.d.ts.map +1 -1
- package/dist/src/validator-ops/transaction.js +165 -311
- package/dist/src/validator-ops/transaction.js.map +1 -1
- package/dist/src/vote/transaction.d.ts +10 -1
- package/dist/src/vote/transaction.d.ts.map +1 -1
- package/dist/src/vote/transaction.js +42 -7
- package/dist/src/vote/transaction.js.map +1 -1
- package/dist/src/wallet-creation/falcon.d.ts +40 -0
- package/dist/src/wallet-creation/falcon.d.ts.map +1 -0
- package/dist/src/wallet-creation/falcon.js +82 -0
- package/dist/src/wallet-creation/falcon.js.map +1 -0
- package/dist/src/wallet-creation/index.d.ts +1 -0
- package/dist/src/wallet-creation/index.d.ts.map +1 -1
- package/dist/src/wallet-creation/index.js +1 -0
- package/dist/src/wallet-creation/index.js.map +1 -1
- package/dist/src/wallet-creation/shared.js +7 -7
- package/dist/src/wallet-registration/index.d.ts +16 -0
- package/dist/src/wallet-registration/index.d.ts.map +1 -0
- package/dist/src/wallet-registration/index.js +28 -0
- package/dist/src/wallet-registration/index.js.map +1 -0
- package/dist/src/wallet-registration/policy.d.ts +11 -0
- package/dist/src/wallet-registration/policy.d.ts.map +1 -0
- package/dist/src/wallet-registration/policy.js +78 -0
- package/dist/src/wallet-registration/policy.js.map +1 -0
- package/dist/wallet.d.ts +3 -3
- package/dist/wallet.d.ts.map +1 -1
- package/dist/wallet.js +3 -3
- package/dist/wallet.js.map +1 -1
- package/package.json +130 -129
- package/dist/src/quash/index.d.ts +0 -2
- package/dist/src/quash/index.d.ts.map +0 -1
- package/dist/src/quash/index.js +0 -2
- package/dist/src/quash/index.js.map +0 -1
- package/dist/src/quash/transaction.d.ts +0 -124
- package/dist/src/quash/transaction.d.ts.map +0 -1
- package/dist/src/quash/transaction.js +0 -118
- package/dist/src/quash/transaction.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,162 +1,230 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project are documented here. The format follows
|
|
4
|
-
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
|
-
[Semantic Versioning](https://semver.org/). While the version is `0.0.x`, any
|
|
6
|
-
release may change APIs; pin an exact version.
|
|
7
|
-
|
|
8
|
-
## [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **Breaking:**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
`
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
`
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
`
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
- **Breaking
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
`
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
- `
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
`
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
|
+
[Semantic Versioning](https://semver.org/). While the version is `0.0.x`, any
|
|
6
|
+
release may change APIs; pin an exact version.
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.0.1-alpha.3] — prerelease
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Migrate fresh-genesis wallets to registered Falcon addresses. Derive the wire chain ID from the network name and final genesis hash. The SDK supports registrations, single-key and policy spends, sponsorship and two-role validator assignments.
|
|
15
|
+
- Add registry and governance queries, signed response verification, V2 wallet-created contract IDs, typed grants and safe sends. See the [implementation overview and acceptance status](./docs/protocol-migration-overview-2026-11-25.md).
|
|
16
|
+
- Correct Coin amount and fee conversion for nondecimal denominations and large values. Verify the default-zero vanity nonce on wallet-created contracts, validate recipient and nested proof shapes, and preserve the order of governance results when v35 closes multiple steps in one block. Unary RPCs honor configured deadlines during submission and receipt recovery.
|
|
17
|
+
|
|
18
|
+
- **Breaking:** remove Quash APIs and retired restricted-key delay/quash and
|
|
19
|
+
contract quash-threshold fields. Legacy signed transactions must be rebuilt
|
|
20
|
+
and signed again.
|
|
21
|
+
- **Breaking:** smart-contract execute/instantiate allowances use a finite
|
|
22
|
+
uint256 `allowedAmount` or the exact string `"unlimited"`. Omitted lists
|
|
23
|
+
and unlisted tokens have zero caller-wallet spending budget.
|
|
24
|
+
- Processing-result decoders require explicit `TXNStatusFees.status` presence;
|
|
25
|
+
transaction polling ignores hash-only rows. Receipt polling does not verify
|
|
26
|
+
block finality evidence.
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- Canonical offline/multisig signing and hashing helpers, sponsor signing
|
|
31
|
+
bytes, and explicit transaction-context overrides. See
|
|
32
|
+
[transaction signing](./src/sign/README.md).
|
|
33
|
+
- Optional BLS attestation key input for validator registration, with key/proof
|
|
34
|
+
byte-length validation.
|
|
35
|
+
|
|
36
|
+
## [0.0.1-alpha.2] — 2026-10-01
|
|
37
|
+
|
|
38
|
+
Checksummed contract IDs, executable governance proposals, and the re-issued
|
|
39
|
+
`kal_guardian` proto.
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- **Breaking:** `guardian.proto` is updated to the re-issued bridge guardian
|
|
44
|
+
proto. Its package is now `kal_guardian`, so `GuardianService.typeName` and
|
|
45
|
+
`KalvoraRpcError.service` for guardian calls are
|
|
46
|
+
`kal_guardian.GuardianService`; callers passing their own `transport` send
|
|
47
|
+
`/kal_guardian.GuardianService/*` (the default transport still sends the
|
|
48
|
+
Envoy alias `/guardian/*`). The generated Kalvora-side names drop the former
|
|
49
|
+
network name: messages `KalPayload`, `KalContractPayload`, `KalMintPayload`,
|
|
50
|
+
`KalReleasePayload`, `KalRefundPayload`; fields `kalContractId`,
|
|
51
|
+
`kalWalletAddress`, `kalKey`, `kalPayloads`, `kalPayload`. `NETWORK_TYPE`
|
|
52
|
+
gains `KALVORA` (`0`), `ETHEREUM` (`2`) and `ZERA` (`3`).
|
|
53
|
+
`NETWORK_TYPE_KALVORA` is unchanged (`0`); `GUARDIAN_KALVORA_PAYLOAD_CASE`
|
|
54
|
+
is now `'kalPayload'`. The `KalvoraGuardian*Payload` aliases keep working.
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
|
|
58
|
+
- Contract-id helpers: `deriveGenesisContractId`, `deriveOrdinaryContractId`,
|
|
59
|
+
`deriveContractDataHash`, `encodeContractId`, `isCanonicalContractId`,
|
|
60
|
+
`decodeContractId`, `GENESIS_CONTRACT_IDS`, and `GENESIS_CONTRACT_NONCES`.
|
|
61
|
+
`buildContractTXN` derives the id from `vanityNonce`. See
|
|
62
|
+
[Contract IDs](./docs/guides/contract-ids.md).
|
|
63
|
+
- `buildGovernanceProposalTXN` (`buildGovernanceProposal`) for proposals that
|
|
64
|
+
carry transactions, plus `applyProposalStageFee` and
|
|
65
|
+
`FORBIDDEN_OPTION_WORDS`. Usage, including a coin transfer attachment, is
|
|
66
|
+
in [src/proposal/README.md](./src/proposal/README.md).
|
|
67
|
+
- Query helpers: `getContractItem`, `acceptSmartContractEvent`,
|
|
68
|
+
`verifySmartContractEventSignature`, `nextSmartContractEventSearchStart`.
|
|
69
|
+
`getContractSupply` also returns `circulation`.
|
|
70
|
+
- `itemFeeParts` and `parseUint256`. Builder aliases `buildCoinTransfer`,
|
|
71
|
+
`buildInstrumentContract`, `buildItemMint`, `buildNftTransfer`,
|
|
72
|
+
`buildSbtBurn`, `buildRevoke`, and signed `buildMint`.
|
|
73
|
+
- The 2026-09-30 SDK audit is recorded in
|
|
74
|
+
[docs/audit-2026-09-30.md](./docs/audit-2026-09-30.md).
|
|
75
|
+
|
|
76
|
+
## [0.0.1-alpha.1] — 2026-09-29
|
|
77
|
+
|
|
78
|
+
Documentation cleanup, a rewritten README, and a few SDK-only renames. Key
|
|
79
|
+
derivation and every derived address are byte-identical to 0.0.1-alpha.0.
|
|
80
|
+
|
|
81
|
+
Earlier builds (`0.1.0` and `0.0.1-alpha.0`) are withdrawn from npm and
|
|
82
|
+
replaced by this release.
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
|
|
86
|
+
- **Breaking:** the Solana bridge lock options (`LockSplOptions`,
|
|
87
|
+
`LockSolOptions`, `LockToken2022Options` and the token-type routed lock)
|
|
88
|
+
take `kalvoraAddress`, and `BurnWrappedOptions` takes `kalvoraRecipient`.
|
|
89
|
+
The value is Borsh-encoded positionally, so the instruction bytes are
|
|
90
|
+
unchanged (pinned by golden tests).
|
|
91
|
+
- **Breaking:** `releaseKalvora`, `mintSol`, `createSol` and their `*AndSend`
|
|
92
|
+
variants name their first parameter `toKalvoraAddress` (positional; only the
|
|
93
|
+
name and the "is required" error message change).
|
|
94
|
+
- **Breaking:** the root type export for the Kalvora-bound guardian payload is
|
|
95
|
+
`KalvoraGuardianPayload`, and `guardianBridge` exports
|
|
96
|
+
`KalvoraGuardianPayload`, `KalvoraGuardianContractPayload`,
|
|
97
|
+
`KalvoraGuardianMintPayload`, `KalvoraGuardianReleasePayload` and
|
|
98
|
+
`KalvoraGuardianRefundPayload` in place of the generated message names. The
|
|
99
|
+
generated bindings are still available under `proto.guardian`.
|
|
100
|
+
- **Breaking:** the Kalvora-side bridge namespace inside the bridge use-case
|
|
101
|
+
module is `kalvora`.
|
|
102
|
+
- The README quick start now creates a standard Kalvora address (base58 of the
|
|
103
|
+
raw public key, no `hashTypes`) instead of a legacy hashed address.
|
|
104
|
+
- Documentation: the README is rewritten; guides, module READMEs, TSDoc and
|
|
105
|
+
examples describe wire values through named constants; the migration guide
|
|
106
|
+
for the SDK this project was derived from is removed.
|
|
107
|
+
|
|
108
|
+
### Added
|
|
109
|
+
|
|
110
|
+
- Wallet protocol constants, exported from the package root and pinned by
|
|
111
|
+
tests: `KALVORA_INJECTED_PROVIDER_KEY`, `KALVORA_PROVIDER_FLAG`,
|
|
112
|
+
`KALVORA_PROVIDER_METHODS`, `KALVORA_DEEP_LINK_SCHEME`,
|
|
113
|
+
`KALVORA_DEFAULT_DEEP_LINK` and `KALVORA_DEEP_LINK_PARAMS`. The adapter and
|
|
114
|
+
signers use them; their values are unchanged.
|
|
115
|
+
- `LEGACY_TXN_TYPE_PREFIX`, the pre-rename transaction package prefix that
|
|
116
|
+
serialized envelopes may still carry.
|
|
117
|
+
- Guardian protocol names: `NETWORK_TYPE_KALVORA` (equal to the guardian
|
|
118
|
+
enum's Kalvora value, `0`) and `GUARDIAN_KALVORA_PAYLOAD_CASE`.
|
|
119
|
+
- `BRIDGE_FUNCTIONS`: the bridge proxy contract's function names, used by the
|
|
120
|
+
Kalvora-side bridge builders.
|
|
121
|
+
|
|
122
|
+
## [0.0.1-alpha.0] — withdrawn (alpha pre-release)
|
|
123
|
+
|
|
124
|
+
Renumbered kalvora.js as an **alpha**, made Ed25519 HD derivation standard
|
|
125
|
+
SLIP-0010, and switched the SDK to the official Kalvora protos (`txn.proto`,
|
|
126
|
+
`validator.proto`, `kal_api.proto`).
|
|
127
|
+
|
|
128
|
+
The version went *down* from 0.1.0 on purpose: 0.1.0 was an earlier
|
|
129
|
+
pre-release, published before the key derivation and wire protocol were
|
|
130
|
+
settled, and has been withdrawn; everything it added is part of the `0.0.x`
|
|
131
|
+
line. The `0.0.x` line carries no compatibility promise between releases.
|
|
132
|
+
|
|
133
|
+
### Changed
|
|
134
|
+
|
|
135
|
+
- **Breaking (keys): Ed25519 HD derivation is now standard
|
|
136
|
+
[SLIP-0010](https://github.com/satoshilabs/slips/blob/master/slip-0010.md).**
|
|
137
|
+
It previously used the Ed448-style scheme — master key `"Kalvora seed"` and
|
|
138
|
+
a child step over little-endian `index || key` — which was described as
|
|
139
|
+
SLIP-0010 but was not. It now uses the `"ed25519 seed"`
|
|
140
|
+
master key and `0x00 || key || ser32BE(index)`, so every SLIP-0010 wallet
|
|
141
|
+
derives the same Ed25519 key from the same seed and path. **The same
|
|
142
|
+
mnemonic now gives a different Ed25519 address**: the BIP-39 test
|
|
143
|
+
mnemonic's first address changes from
|
|
144
|
+
`Hb6KH2BhgcjCYnc3JwDU1VNfbLds2yfMDMVwZGUWSunE` to
|
|
145
|
+
`35q7SEc9HVV7Gd9oVKCnZjPMxpLrH9DftTcBUyHahTZP`. No Kalvora wallet had
|
|
146
|
+
shipped on the old scheme, so there is no legacy option.
|
|
147
|
+
- **Breaking:** an Ed25519 derivation path with an unhardened segment now
|
|
148
|
+
throws, since SLIP-0010 defines only hardened Ed25519 children. Every path
|
|
149
|
+
the SDK builds itself is already fully hardened.
|
|
150
|
+
- **Ed448 derivation is unchanged.** SLIP-0010 does not define Ed448 and no
|
|
151
|
+
other standard does, so Ed448 keeps Kalvora's scheme byte for byte, now
|
|
152
|
+
pinned by reference vectors. See
|
|
153
|
+
[docs/guides/hd-derivation.md](./docs/guides/hd-derivation.md).
|
|
154
|
+
|
|
155
|
+
- **Breaking:** protobuf packages moved to the official `kal_txn`,
|
|
156
|
+
`kal_api`, `kal_validator` packages. Every generated `$typeName` /
|
|
157
|
+
`typeName` changes accordingly (e.g. `kal_txn.CoinTXN`), as do
|
|
158
|
+
`SerializedTransaction.type`, `SMART_SWAP_TRANSACTION_TYPE`
|
|
159
|
+
(`kal_txn.SmartContractExecuteTXN`) and `KalvoraRpcError.service`. The
|
|
160
|
+
guardian service keeps its own proto package (the guardian proto was not
|
|
161
|
+
re-issued).
|
|
162
|
+
- **Breaking (wire):** fully qualified gRPC paths are now
|
|
163
|
+
`/kal_api.APIService/*`, `/kal_txn.TXNService/*`,
|
|
164
|
+
`/kal_validator.ValidatorService/*`. The default transport still sends the
|
|
165
|
+
Envoy aliases `/api/*`, `/txn/*`, `/validator/*`, `/guardian/*`
|
|
166
|
+
(unchanged); only callers passing their own `transport` send the fully
|
|
167
|
+
qualified path. Nodes and their Envoy routes must serve the `kal_*`
|
|
168
|
+
services.
|
|
169
|
+
- **Breaking:** the API proto file is now `proto/kal_api.proto` and its
|
|
170
|
+
bindings `proto/generated/kal_api_pb.js` (was `api.proto` / `api_pb.js`);
|
|
171
|
+
`dist/proto/` ships `kal_api.proto` and now also `guardian.proto`.
|
|
172
|
+
- Proto sources are committed byte-identical to the official release (CRLF
|
|
173
|
+
line endings, no repo-local options; `proto/.gitattributes` disables
|
|
174
|
+
line-ending conversion). `proto:sync` / `proto:check` accept the official
|
|
175
|
+
flat release or a kalvora-indexer checkout, no longer normalise trailing
|
|
176
|
+
newlines, and treat `guardian.proto` as optional.
|
|
177
|
+
- `deserializeTransaction` and `getSchemaForTypeName` accept type names with
|
|
178
|
+
the pre-rename transaction package prefix (message bytes are unchanged by
|
|
179
|
+
the rename); the Smart Swap facade accepts such an envelope for
|
|
180
|
+
`SmartContractExecuteTXN` and reports it as `kal_txn`.
|
|
181
|
+
- **Breaking:** native token symbol is `KALV` everywhere. `KALVORA_SYMBOL`
|
|
182
|
+
(and therefore `wallet.symbol` on created wallets) changes from `KAL` to
|
|
183
|
+
`KALV`, matching `KALVORA_NETWORKS.protonet.nativeSymbol`;
|
|
184
|
+
`TransactionFormatter.formatAmount` defaults to `KALV`, and the internal
|
|
185
|
+
`formatAmount` helper labels the native token `KALV` instead of slicing the
|
|
186
|
+
contract ID. The `KAL`+Base58 contract-ID prefix is unchanged.
|
|
187
|
+
- **Breaking (default endpoint):** the default gRPC-Web origin is now
|
|
188
|
+
`https://kal-proto.visiondynamics.ch` (Envoy, port 443), replacing
|
|
189
|
+
`kal-protonet.visiondynamics.ch`, in `createClient`, `PROTONET_GRPC_CONFIG`,
|
|
190
|
+
`KALVORA_PROTONET_ENDPOINT`, the `protonet` network preset, examples and
|
|
191
|
+
docs. Callers passing an explicit `host`/`endpoint` are unaffected.
|
|
192
|
+
|
|
193
|
+
### Added
|
|
194
|
+
|
|
195
|
+
- `kalvora.js/wallet`: the wallet surface on its own (mnemonics, HD
|
|
196
|
+
derivation, key pairs, address encoding), depending only on
|
|
197
|
+
`@noble/curves`, `@noble/hashes`, `bip39`, and `bs58`, with no network or
|
|
198
|
+
protobuf code. ESM-only; the same exports remain on the main entry.
|
|
199
|
+
- `deriveHDPrivateKey(seed, path?, keyType?)`: the 32-byte key at a path and
|
|
200
|
+
nothing else, zeroing every intermediate node. Defaults to Ed25519 at
|
|
201
|
+
`m/44'/5258'/0'/0'/0'`.
|
|
202
|
+
- `docs/guides/hd-derivation.md`: the byte-level derivation spec for both key
|
|
203
|
+
types, with reference vectors; the SLIP-0010 Ed25519 test vector 1 and the
|
|
204
|
+
Kalvora vectors are checked in `hd-derivation-vectors.test.ts`.
|
|
205
|
+
|
|
206
|
+
- `TextGovernanceProposalInput.proposalType` (`ProposalType`, field 11).
|
|
207
|
+
Defaults to `ProposalType.NONE`, which is not encoded, so existing proposals
|
|
208
|
+
are byte-identical; the v1 golden vector is unchanged.
|
|
209
|
+
- `ProposalLedgerView.statuses` (`ProposalStatusView[]`) from
|
|
210
|
+
`ProposalLedgerResponse.proposal_statuses`, with the pre-governance phase,
|
|
211
|
+
outcome, window dates, fees, `promotionPending` and the contract's
|
|
212
|
+
`PreGovernance` policy.
|
|
213
|
+
- `TransactionResult.proposalIdentifier` (`TXNStatusFees.proposal_identifier`).
|
|
214
|
+
- `CheckpointInfo.fileHash`, `publicKey` and `signature` (returned as
|
|
215
|
+
received; not verified by the SDK).
|
|
216
|
+
- Exports: `ProposalType`, `PROPOSAL_PHASE`, `PRE_GOVERNANCE_OUTCOME`,
|
|
217
|
+
`ProposalStatusView`, `normalizeTransactionTypeName`.
|
|
218
|
+
- New protocol fields are available through the raw bindings (`proto.*`):
|
|
219
|
+
`NFT.parameters/expiry/valid_from`, `Voter.phase`, `Proposal` fields 19–25,
|
|
220
|
+
`ProposalResult.pre_governance`.
|
|
221
|
+
|
|
222
|
+
### Removed
|
|
223
|
+
|
|
224
|
+
- **Breaking:** `ValidatorInfoInput.stakedContractIds`. `Validator` field 5
|
|
225
|
+
(`staked_contract_ids`) is reserved because staking is KALV-only; passing the
|
|
226
|
+
option now throws instead of being silently dropped.
|
|
227
|
+
- **Breaking:** `StakeMultipliers` message (`proto.validator`).
|
|
228
|
+
- **Breaking:** the governance auth message is now `KalGovernanceAuth`;
|
|
229
|
+
`ProcessLedger.cycle_contract_ids` changed from `bytes` to `string`
|
|
230
|
+
(canonical Base58 contract IDs). Neither was used by the typed API.
|