@oobe-protocol-labs/synapse-sap-sdk 0.13.0 → 0.15.0
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/dist/cjs/accounts/index.js +286 -0
- package/dist/cjs/accounts/index.js.map +1 -0
- package/dist/cjs/client.js +125 -0
- package/dist/cjs/client.js.map +1 -0
- package/dist/cjs/constants/seeds.js +9 -9
- package/dist/cjs/constants/seeds.js.map +1 -1
- package/dist/cjs/constants.js +66 -0
- package/dist/cjs/constants.js.map +1 -0
- package/dist/cjs/errors.js +260 -0
- package/dist/cjs/errors.js.map +1 -0
- package/dist/cjs/events/index.js +37 -123
- package/dist/cjs/events/index.js.map +1 -1
- package/dist/cjs/idlTypes.js +4 -0
- package/dist/cjs/idlTypes.js.map +1 -0
- package/dist/cjs/index.js +75 -241
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/instructions/agent.js +90 -0
- package/dist/cjs/instructions/agent.js.map +1 -0
- package/dist/cjs/instructions/attestation.js +113 -0
- package/dist/cjs/instructions/attestation.js.map +1 -0
- package/dist/cjs/instructions/digest.js +29 -0
- package/dist/cjs/instructions/digest.js.map +1 -0
- package/dist/cjs/instructions/dispute.js +117 -0
- package/dist/cjs/instructions/dispute.js.map +1 -0
- package/dist/cjs/instructions/escrow.js +102 -0
- package/dist/cjs/instructions/escrow.js.map +1 -0
- package/dist/cjs/instructions/global.js +29 -0
- package/dist/cjs/instructions/global.js.map +1 -0
- package/dist/cjs/instructions/index.js +31 -0
- package/dist/cjs/instructions/index.js.map +1 -0
- package/dist/cjs/instructions/indexing.js +222 -0
- package/dist/cjs/instructions/indexing.js.map +1 -0
- package/dist/cjs/instructions/misc.js +74 -0
- package/dist/cjs/instructions/misc.js.map +1 -0
- package/dist/cjs/instructions/session.js +90 -0
- package/dist/cjs/instructions/session.js.map +1 -0
- package/dist/cjs/instructions/staking.js +133 -0
- package/dist/cjs/instructions/staking.js.map +1 -0
- package/dist/cjs/instructions/subscription.js +81 -0
- package/dist/cjs/instructions/subscription.js.map +1 -0
- package/dist/cjs/instructions/tools.js +110 -0
- package/dist/cjs/instructions/tools.js.map +1 -0
- package/dist/cjs/instructions/vault.js +107 -0
- package/dist/cjs/instructions/vault.js.map +1 -0
- package/dist/cjs/pdas/index.js +120 -0
- package/dist/cjs/pdas/index.js.map +1 -0
- package/dist/cjs/registries/fairscale.js +1 -1
- package/dist/cjs/registries/fairscale.js.map +1 -1
- package/dist/cjs/registries/metaplex-bridge.js +1 -1
- package/dist/cjs/registries/metaplex-bridge.js.map +1 -1
- package/dist/cjs/types.js +45 -0
- package/dist/cjs/types.js.map +1 -0
- package/dist/cjs/utils/escrow-validation.js +1 -1
- package/dist/cjs/utils/escrow-validation.js.map +1 -1
- package/dist/cjs/utils/index.js +32 -83
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/merchant-validator.js +5 -5
- package/dist/cjs/utils/merchant-validator.js.map +1 -1
- package/dist/cjs/utils/validate.js +236 -0
- package/dist/cjs/utils/validate.js.map +1 -0
- package/dist/cjs/utils/volume-curve.js +1 -1
- package/dist/cjs/utils/volume-curve.js.map +1 -1
- package/dist/esm/accounts/index.d.ts +11 -0
- package/dist/esm/accounts/index.d.ts.map +1 -0
- package/dist/esm/accounts/index.js +273 -0
- package/dist/esm/accounts/index.js.map +1 -0
- package/dist/esm/client.d.ts +55 -0
- package/dist/esm/client.d.ts.map +1 -0
- package/dist/esm/client.js +87 -0
- package/dist/esm/client.js.map +1 -0
- package/dist/esm/constants/addresses.d.ts +117 -0
- package/dist/esm/constants/addresses.d.ts.map +1 -0
- package/dist/esm/constants/index.d.ts +31 -0
- package/dist/esm/constants/index.d.ts.map +1 -0
- package/dist/esm/constants/limits.d.ts +149 -0
- package/dist/esm/constants/limits.d.ts.map +1 -0
- package/{src/constants/network.ts → dist/esm/constants/network.d.ts} +23 -31
- package/dist/esm/constants/network.d.ts.map +1 -0
- package/{src/constants/payments.ts → dist/esm/constants/payments.d.ts} +11 -35
- package/dist/esm/constants/payments.d.ts.map +1 -0
- package/{src/constants/programs.ts → dist/esm/constants/programs.d.ts} +6 -20
- package/dist/esm/constants/programs.d.ts.map +1 -0
- package/dist/esm/constants/seeds.d.ts +80 -0
- package/dist/esm/constants/seeds.d.ts.map +1 -0
- package/dist/esm/constants/seeds.js +9 -9
- package/dist/esm/constants/seeds.js.map +1 -1
- package/dist/esm/constants.d.ts +39 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +41 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/core/client.d.ts +452 -0
- package/dist/esm/core/client.d.ts.map +1 -0
- package/dist/esm/core/connection.d.ts +305 -0
- package/dist/esm/core/connection.d.ts.map +1 -0
- package/{src/core/index.ts → dist/esm/core/index.d.ts} +1 -1
- package/dist/esm/core/index.d.ts.map +1 -0
- package/dist/esm/errors/index.d.ts +276 -0
- package/dist/esm/errors/index.d.ts.map +1 -0
- package/dist/esm/errors.d.ts +119 -0
- package/dist/esm/errors.d.ts.map +1 -0
- package/dist/esm/errors.js +252 -0
- package/dist/esm/errors.js.map +1 -0
- package/dist/esm/events/geyser.d.ts +150 -0
- package/dist/esm/events/geyser.d.ts.map +1 -0
- package/dist/esm/events/index.d.ts +17 -0
- package/dist/esm/events/index.d.ts.map +1 -0
- package/dist/esm/events/index.js +34 -122
- package/dist/esm/events/index.js.map +1 -1
- package/{src/idl/index.ts → dist/esm/idl/index.d.ts} +9 -15
- package/dist/esm/idl/index.d.ts.map +1 -0
- package/dist/esm/idlTypes.d.ts +925 -0
- package/dist/esm/idlTypes.d.ts.map +1 -0
- package/dist/esm/idlTypes.js +3 -0
- package/dist/esm/idlTypes.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +15 -88
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/instructions/agent.d.ts +71 -0
- package/dist/esm/instructions/agent.d.ts.map +1 -0
- package/dist/esm/instructions/agent.js +86 -0
- package/dist/esm/instructions/agent.js.map +1 -0
- package/dist/esm/instructions/attestation.d.ts +76 -0
- package/dist/esm/instructions/attestation.d.ts.map +1 -0
- package/dist/esm/instructions/attestation.js +109 -0
- package/dist/esm/instructions/attestation.js.map +1 -0
- package/dist/esm/instructions/digest.d.ts +20 -0
- package/dist/esm/instructions/digest.d.ts.map +1 -0
- package/dist/esm/instructions/digest.js +25 -0
- package/dist/esm/instructions/digest.js.map +1 -0
- package/dist/esm/instructions/dispute.d.ts +81 -0
- package/dist/esm/instructions/dispute.d.ts.map +1 -0
- package/dist/esm/instructions/dispute.js +113 -0
- package/dist/esm/instructions/dispute.js.map +1 -0
- package/dist/esm/instructions/escrow.d.ts +79 -0
- package/dist/esm/instructions/escrow.d.ts.map +1 -0
- package/dist/esm/instructions/escrow.js +98 -0
- package/dist/esm/instructions/escrow.js.map +1 -0
- package/dist/esm/instructions/global.d.ts +14 -0
- package/dist/esm/instructions/global.d.ts.map +1 -0
- package/dist/esm/instructions/global.js +25 -0
- package/dist/esm/instructions/global.js.map +1 -0
- package/dist/esm/instructions/index.d.ts +14 -0
- package/dist/esm/instructions/index.d.ts.map +1 -0
- package/dist/esm/instructions/index.js +15 -0
- package/dist/esm/instructions/index.js.map +1 -0
- package/dist/esm/instructions/indexing.d.ts +150 -0
- package/dist/esm/instructions/indexing.d.ts.map +1 -0
- package/dist/esm/instructions/indexing.js +218 -0
- package/dist/esm/instructions/indexing.js.map +1 -0
- package/dist/esm/instructions/memory.d.ts +8 -0
- package/dist/esm/instructions/memory.d.ts.map +1 -0
- package/dist/esm/instructions/memory.js +234 -0
- package/dist/esm/instructions/memory.js.map +1 -0
- package/dist/esm/instructions/misc.d.ts +50 -0
- package/dist/esm/instructions/misc.d.ts.map +1 -0
- package/dist/esm/instructions/misc.js +70 -0
- package/dist/esm/instructions/misc.js.map +1 -0
- package/dist/esm/instructions/session.d.ts +57 -0
- package/dist/esm/instructions/session.d.ts.map +1 -0
- package/dist/esm/instructions/session.js +86 -0
- package/dist/esm/instructions/session.js.map +1 -0
- package/dist/esm/instructions/staking.d.ts +85 -0
- package/dist/esm/instructions/staking.d.ts.map +1 -0
- package/dist/esm/instructions/staking.js +129 -0
- package/dist/esm/instructions/staking.js.map +1 -0
- package/dist/esm/instructions/subscription.d.ts +50 -0
- package/dist/esm/instructions/subscription.d.ts.map +1 -0
- package/dist/esm/instructions/subscription.js +77 -0
- package/dist/esm/instructions/subscription.js.map +1 -0
- package/dist/esm/instructions/tools.d.ts +88 -0
- package/dist/esm/instructions/tools.d.ts.map +1 -0
- package/dist/esm/instructions/tools.js +106 -0
- package/dist/esm/instructions/tools.js.map +1 -0
- package/dist/esm/instructions/vault.d.ts +84 -0
- package/dist/esm/instructions/vault.d.ts.map +1 -0
- package/dist/esm/instructions/vault.js +103 -0
- package/dist/esm/instructions/vault.js.map +1 -0
- package/dist/esm/modules/agent.d.ts +166 -0
- package/dist/esm/modules/agent.d.ts.map +1 -0
- package/dist/esm/modules/attestation.d.ts +96 -0
- package/dist/esm/modules/attestation.d.ts.map +1 -0
- package/dist/esm/modules/base.d.ts +161 -0
- package/dist/esm/modules/base.d.ts.map +1 -0
- package/dist/esm/modules/escrow-v2.d.ts +169 -0
- package/dist/esm/modules/escrow-v2.d.ts.map +1 -0
- package/dist/esm/modules/feedback.d.ts +105 -0
- package/dist/esm/modules/feedback.d.ts.map +1 -0
- package/{src/modules/index.ts → dist/esm/modules/index.d.ts} +1 -1
- package/dist/esm/modules/index.d.ts.map +1 -0
- package/dist/esm/modules/indexing.d.ts +200 -0
- package/dist/esm/modules/indexing.d.ts.map +1 -0
- package/dist/esm/modules/ledger.d.ts +150 -0
- package/dist/esm/modules/ledger.d.ts.map +1 -0
- package/dist/esm/modules/receipt.d.ts +77 -0
- package/dist/esm/modules/receipt.d.ts.map +1 -0
- package/dist/esm/modules/staking.d.ts +51 -0
- package/dist/esm/modules/staking.d.ts.map +1 -0
- package/dist/esm/modules/subscription.d.ts +33 -0
- package/dist/esm/modules/subscription.d.ts.map +1 -0
- package/dist/esm/modules/tools.d.ts +182 -0
- package/dist/esm/modules/tools.d.ts.map +1 -0
- package/dist/esm/modules/vault.d.ts +240 -0
- package/dist/esm/modules/vault.d.ts.map +1 -0
- package/dist/esm/parser/client.d.ts +123 -0
- package/dist/esm/parser/client.d.ts.map +1 -0
- package/dist/esm/parser/complete.d.ts +90 -0
- package/dist/esm/parser/complete.d.ts.map +1 -0
- package/{src/parser/index.ts → dist/esm/parser/index.d.ts} +6 -37
- package/dist/esm/parser/index.d.ts.map +1 -0
- package/dist/esm/parser/inner.d.ts +114 -0
- package/dist/esm/parser/inner.d.ts.map +1 -0
- package/{src/parser/instructions.ts → dist/esm/parser/instructions.d.ts} +4 -63
- package/dist/esm/parser/instructions.d.ts.map +1 -0
- package/dist/esm/parser/transaction.d.ts +77 -0
- package/dist/esm/parser/transaction.d.ts.map +1 -0
- package/dist/esm/parser/types.d.ts +154 -0
- package/dist/esm/parser/types.d.ts.map +1 -0
- package/{src/pda/index.ts → dist/esm/pda/index.d.ts} +33 -442
- package/dist/esm/pda/index.d.ts.map +1 -0
- package/dist/esm/pdas/index.d.ts +37 -0
- package/dist/esm/pdas/index.d.ts.map +1 -0
- package/dist/esm/pdas/index.js +101 -0
- package/dist/esm/pdas/index.js.map +1 -0
- package/dist/esm/plugin/index.d.ts +171 -0
- package/dist/esm/plugin/index.d.ts.map +1 -0
- package/dist/esm/plugin/protocols.d.ts +152 -0
- package/dist/esm/plugin/protocols.d.ts.map +1 -0
- package/dist/esm/plugin/schemas.d.ts +829 -0
- package/dist/esm/plugin/schemas.d.ts.map +1 -0
- package/dist/esm/postgres/adapter.d.ts +355 -0
- package/dist/esm/postgres/adapter.d.ts.map +1 -0
- package/dist/esm/postgres/index.d.ts +24 -0
- package/dist/esm/postgres/index.d.ts.map +1 -0
- package/dist/esm/postgres/serializers.d.ts +30 -0
- package/dist/esm/postgres/serializers.d.ts.map +1 -0
- package/dist/esm/postgres/sync.d.ts +156 -0
- package/dist/esm/postgres/sync.d.ts.map +1 -0
- package/dist/esm/postgres/types.d.ts +167 -0
- package/dist/esm/postgres/types.d.ts.map +1 -0
- package/dist/esm/registries/builder.d.ts +340 -0
- package/dist/esm/registries/builder.d.ts.map +1 -0
- package/dist/esm/registries/discovery.d.ts +333 -0
- package/dist/esm/registries/discovery.d.ts.map +1 -0
- package/dist/esm/registries/fairscale.d.ts +680 -0
- package/dist/esm/registries/fairscale.d.ts.map +1 -0
- package/dist/esm/registries/fairscale.js +1 -1
- package/dist/esm/registries/fairscale.js.map +1 -1
- package/dist/esm/registries/index.d.ts +52 -0
- package/dist/esm/registries/index.d.ts.map +1 -0
- package/dist/esm/registries/metaplex-bridge.d.ts +489 -0
- package/dist/esm/registries/metaplex-bridge.d.ts.map +1 -0
- package/dist/esm/registries/metaplex-bridge.js +1 -1
- package/dist/esm/registries/metaplex-bridge.js.map +1 -1
- package/dist/esm/registries/session.d.ts +323 -0
- package/dist/esm/registries/session.d.ts.map +1 -0
- package/dist/esm/registries/x402.d.ts +530 -0
- package/dist/esm/registries/x402.d.ts.map +1 -0
- package/dist/esm/types/accounts.d.ts +765 -0
- package/dist/esm/types/accounts.d.ts.map +1 -0
- package/dist/esm/types/common.d.ts +166 -0
- package/dist/esm/types/common.d.ts.map +1 -0
- package/dist/esm/types/endpoint.d.ts +161 -0
- package/dist/esm/types/endpoint.d.ts.map +1 -0
- package/dist/esm/types/enums.d.ts +353 -0
- package/dist/esm/types/enums.d.ts.map +1 -0
- package/dist/esm/types/index.d.ts +29 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/instructions.d.ts +400 -0
- package/dist/esm/types/instructions.d.ts.map +1 -0
- package/dist/esm/types.d.ts +236 -0
- package/dist/esm/types.d.ts.map +1 -0
- package/dist/esm/types.js +40 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/utils/anchor-errors.d.ts +61 -0
- package/dist/esm/utils/anchor-errors.d.ts.map +1 -0
- package/dist/esm/utils/endpoint-validator.d.ts +110 -0
- package/dist/esm/utils/endpoint-validator.d.ts.map +1 -0
- package/dist/esm/utils/escrow-validation.d.ts +145 -0
- package/dist/esm/utils/escrow-validation.d.ts.map +1 -0
- package/dist/esm/utils/escrow-validation.js +1 -1
- package/dist/esm/utils/escrow-validation.js.map +1 -1
- package/{src/utils/hash.ts → dist/esm/utils/hash.d.ts} +4 -42
- package/dist/esm/utils/hash.d.ts.map +1 -0
- package/dist/esm/utils/index.d.ts +6 -0
- package/dist/esm/utils/index.d.ts.map +1 -0
- package/dist/esm/utils/index.js +16 -33
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/merchant-validator.d.ts +176 -0
- package/dist/esm/utils/merchant-validator.d.ts.map +1 -0
- package/dist/esm/utils/merchant-validator.js +1 -1
- package/dist/esm/utils/merchant-validator.js.map +1 -1
- package/dist/esm/utils/network-normalizer.d.ts +120 -0
- package/dist/esm/utils/network-normalizer.d.ts.map +1 -0
- package/dist/esm/utils/priority-fee.d.ts +205 -0
- package/dist/esm/utils/priority-fee.d.ts.map +1 -0
- package/dist/esm/utils/rpc-strategy.d.ts +172 -0
- package/dist/esm/utils/rpc-strategy.d.ts.map +1 -0
- package/dist/esm/utils/schemas.d.ts +351 -0
- package/dist/esm/utils/schemas.d.ts.map +1 -0
- package/{src/utils/serialization.ts → dist/esm/utils/serialization.d.ts} +3 -32
- package/dist/esm/utils/serialization.d.ts.map +1 -0
- package/dist/esm/utils/validate.d.ts +66 -0
- package/dist/esm/utils/validate.d.ts.map +1 -0
- package/dist/esm/utils/validate.js +221 -0
- package/dist/esm/utils/validate.js.map +1 -0
- package/{src/utils/validation.ts → dist/esm/utils/validation.d.ts} +2 -9
- package/dist/esm/utils/validation.d.ts.map +1 -0
- package/{src/utils/volume-curve.ts → dist/esm/utils/volume-curve.d.ts} +2 -73
- package/dist/esm/utils/volume-curve.d.ts.map +1 -0
- package/dist/esm/utils/volume-curve.js +1 -1
- package/dist/esm/utils/volume-curve.js.map +1 -1
- package/dist/esm/utils/x402-direct.d.ts +114 -0
- package/dist/esm/utils/x402-direct.d.ts.map +1 -0
- package/dist/types/constants/seeds.d.ts +2 -0
- package/dist/types/constants/seeds.d.ts.map +1 -1
- package/dist/types/core/client.d.ts +21 -6
- package/dist/types/core/client.d.ts.map +1 -1
- package/dist/types/errors/index.d.ts +59 -0
- package/dist/types/errors/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/agent.d.ts +9 -19
- package/dist/types/modules/agent.d.ts.map +1 -1
- package/dist/types/modules/attestation.d.ts.map +1 -1
- package/dist/types/modules/base.d.ts +54 -0
- package/dist/types/modules/base.d.ts.map +1 -1
- package/dist/types/modules/escrow-v2.d.ts +117 -1
- package/dist/types/modules/escrow-v2.d.ts.map +1 -1
- package/dist/types/modules/index.d.ts +1 -2
- package/dist/types/modules/index.d.ts.map +1 -1
- package/dist/types/modules/receipt.d.ts +14 -0
- package/dist/types/modules/receipt.d.ts.map +1 -1
- package/dist/types/modules/subscription.d.ts.map +1 -1
- package/dist/types/modules/tools.d.ts +0 -10
- package/dist/types/modules/tools.d.ts.map +1 -1
- package/dist/types/modules/vault.d.ts.map +1 -1
- package/dist/types/pda/index.d.ts +17 -0
- package/dist/types/pda/index.d.ts.map +1 -1
- package/dist/types/plugin/index.d.ts.map +1 -1
- package/dist/types/registries/builder.d.ts +2 -9
- package/dist/types/registries/builder.d.ts.map +1 -1
- package/dist/types/registries/metaplex-bridge.d.ts.map +1 -1
- package/dist/types/registries/session.d.ts +3 -9
- package/dist/types/registries/session.d.ts.map +1 -1
- package/dist/types/registries/x402.d.ts +2 -9
- package/dist/types/registries/x402.d.ts.map +1 -1
- package/dist/types/types/accounts.d.ts +52 -0
- package/dist/types/types/accounts.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/utils/rpc-strategy.d.ts +7 -0
- package/dist/types/utils/rpc-strategy.d.ts.map +1 -1
- package/package.json +59 -183
- package/src/constants/addresses.ts +0 -162
- package/src/constants/index.ts +0 -69
- package/src/constants/limits.ts +0 -165
- package/src/constants/seeds.ts +0 -85
- package/src/core/client.ts +0 -583
- package/src/core/connection.ts +0 -461
- package/src/errors/index.ts +0 -346
- package/src/events/geyser.ts +0 -384
- package/src/events/index.ts +0 -335
- package/src/events/yellowstone.d.ts +0 -7
- package/src/idl/synapse_agent_sap.json +0 -14595
- package/src/index.ts +0 -421
- package/src/modules/agent.ts +0 -319
- package/src/modules/attestation.ts +0 -168
- package/src/modules/base.ts +0 -247
- package/src/modules/escrow-v2.ts +0 -871
- package/src/modules/escrow.ts +0 -439
- package/src/modules/feedback.ts +0 -186
- package/src/modules/indexing.ts +0 -444
- package/src/modules/ledger.ts +0 -262
- package/src/modules/receipt.ts +0 -212
- package/src/modules/staking.ts +0 -223
- package/src/modules/subscription.ts +0 -147
- package/src/modules/tools.ts +0 -454
- package/src/modules/vault.ts +0 -558
- package/src/parser/client.ts +0 -211
- package/src/parser/complete.ts +0 -232
- package/src/parser/inner.ts +0 -255
- package/src/parser/transaction.ts +0 -200
- package/src/parser/types.ts +0 -182
- package/src/plugin/index.ts +0 -1224
- package/src/plugin/protocols.ts +0 -404
- package/src/plugin/schemas.ts +0 -941
- package/src/postgres/adapter.ts +0 -904
- package/src/postgres/index.ts +0 -59
- package/src/postgres/schema.sql +0 -683
- package/src/postgres/serializers.ts +0 -485
- package/src/postgres/sync.ts +0 -340
- package/src/postgres/types.ts +0 -245
- package/src/registries/builder.ts +0 -607
- package/src/registries/discovery.ts +0 -572
- package/src/registries/fairscale.ts +0 -1278
- package/src/registries/index.ts +0 -143
- package/src/registries/metaplex-bridge.ts +0 -1199
- package/src/registries/session.ts +0 -613
- package/src/registries/x402.ts +0 -1048
- package/src/types/accounts.ts +0 -858
- package/src/types/common.ts +0 -187
- package/src/types/endpoint.ts +0 -181
- package/src/types/enums.ts +0 -333
- package/src/types/index.ts +0 -121
- package/src/types/instructions.ts +0 -453
- package/src/utils/anchor-errors.ts +0 -461
- package/src/utils/endpoint-validator.ts +0 -300
- package/src/utils/escrow-validation.ts +0 -301
- package/src/utils/index.ts +0 -118
- package/src/utils/merchant-validator.ts +0 -359
- package/src/utils/network-normalizer.ts +0 -240
- package/src/utils/priority-fee.ts +0 -325
- package/src/utils/rpc-strategy.ts +0 -322
- package/src/utils/schemas.ts +0 -359
- package/src/utils/x402-direct.ts +0 -370
- /package/dist/{types → esm}/modules/escrow.d.ts +0 -0
- /package/dist/{types → esm}/modules/escrow.d.ts.map +0 -0
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module types/instructions
|
|
3
|
-
* @description Instruction argument DTOs and helper enumerations.
|
|
4
|
-
*
|
|
5
|
-
* These interfaces map 1:1 to the Anchor instruction argument structs.
|
|
6
|
-
* Use them when calling SDK module methods.
|
|
7
|
-
*
|
|
8
|
-
* @category Types
|
|
9
|
-
* @since v0.1.0
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import type { PublicKey } from "@solana/web3.js";
|
|
13
|
-
import type BN from "bn.js";
|
|
14
|
-
import type { Capability, PricingTier, VolumeCurveBreakpoint } from "./common";
|
|
15
|
-
|
|
16
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
17
|
-
// Agent Instructions
|
|
18
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @interface RegisterAgentArgs
|
|
22
|
-
* @description Arguments for the `registerAgent` instruction.
|
|
23
|
-
*
|
|
24
|
-
* Creates a new on-chain agent identity with the given profile,
|
|
25
|
-
* capabilities, pricing tiers, and protocol support.
|
|
26
|
-
*
|
|
27
|
-
* @category Types
|
|
28
|
-
* @since v0.1.0
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* import { TokenType } from "@synapse-sap/sdk";
|
|
33
|
-
*
|
|
34
|
-
* const args: RegisterAgentArgs = {
|
|
35
|
-
* name: "My Agent",
|
|
36
|
-
* description: "A helpful Solana agent",
|
|
37
|
-
* capabilities: [{ id: "jupiter:swap", description: null, protocolId: "jupiter", version: "1.0" }],
|
|
38
|
-
* pricing: [],
|
|
39
|
-
* protocols: ["solana-agent-protocol"],
|
|
40
|
-
* };
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
export interface RegisterAgentArgs {
|
|
44
|
-
/** Agent display name. */
|
|
45
|
-
readonly name: string;
|
|
46
|
-
/** Agent description. */
|
|
47
|
-
readonly description: string;
|
|
48
|
-
/** Capabilities the agent exposes. */
|
|
49
|
-
readonly capabilities: Capability[];
|
|
50
|
-
/** Pricing tiers for the agent's services. */
|
|
51
|
-
readonly pricing: PricingTier[];
|
|
52
|
-
/** Supported protocol identifiers. */
|
|
53
|
-
readonly protocols: string[];
|
|
54
|
-
/** Optional off-chain agent identifier. */
|
|
55
|
-
readonly agentId?: string | null;
|
|
56
|
-
/** Optional URI to extended metadata. */
|
|
57
|
-
readonly agentUri?: string | null;
|
|
58
|
-
/** Optional x402 payment endpoint. */
|
|
59
|
-
readonly x402Endpoint?: string | null;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @interface UpdateAgentArgs
|
|
64
|
-
* @description Arguments for the `updateAgent` instruction.
|
|
65
|
-
*
|
|
66
|
-
* All fields are optional — pass only the fields you want to change.
|
|
67
|
-
* `null` values are ignored on-chain.
|
|
68
|
-
*
|
|
69
|
-
* @category Types
|
|
70
|
-
* @since v0.1.0
|
|
71
|
-
*/
|
|
72
|
-
export interface UpdateAgentArgs {
|
|
73
|
-
readonly name?: string | null;
|
|
74
|
-
readonly description?: string | null;
|
|
75
|
-
readonly capabilities?: Capability[] | null;
|
|
76
|
-
readonly pricing?: PricingTier[] | null;
|
|
77
|
-
readonly protocols?: string[] | null;
|
|
78
|
-
readonly agentId?: string | null;
|
|
79
|
-
readonly agentUri?: string | null;
|
|
80
|
-
readonly x402Endpoint?: string | null;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
84
|
-
// Feedback Instructions
|
|
85
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @interface GiveFeedbackArgs
|
|
89
|
-
* @description Arguments for the `giveFeedback` instruction.
|
|
90
|
-
*
|
|
91
|
-
* Submits a reputation score and tag for the target agent.
|
|
92
|
-
* Each reviewer can only submit one feedback per agent.
|
|
93
|
-
*
|
|
94
|
-
* @category Types
|
|
95
|
-
* @since v0.1.0
|
|
96
|
-
*/
|
|
97
|
-
export interface GiveFeedbackArgs {
|
|
98
|
-
/** Reputation score (1–100). */
|
|
99
|
-
readonly score: number;
|
|
100
|
-
/** Freeform tag / category for the feedback. */
|
|
101
|
-
readonly tag: string;
|
|
102
|
-
/** Optional SHA-256 hash of an off-chain comment. */
|
|
103
|
-
readonly commentHash?: number[] | null; // [u8; 32]
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @interface UpdateFeedbackArgs
|
|
108
|
-
* @description Arguments for the `updateFeedback` instruction.
|
|
109
|
-
*
|
|
110
|
-
* Allows the original reviewer to revise their score and/or tag.
|
|
111
|
-
*
|
|
112
|
-
* @category Types
|
|
113
|
-
* @since v0.1.0
|
|
114
|
-
*/
|
|
115
|
-
export interface UpdateFeedbackArgs {
|
|
116
|
-
/** Updated reputation score (1–100). */
|
|
117
|
-
readonly newScore: number;
|
|
118
|
-
/** Updated tag (optional). */
|
|
119
|
-
readonly newTag?: string | null;
|
|
120
|
-
/** Updated off-chain comment hash (optional). */
|
|
121
|
-
readonly commentHash?: number[] | null; // [u8; 32]
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
125
|
-
// Tool Instructions
|
|
126
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @interface PublishToolArgs
|
|
130
|
-
* @description Arguments for the `publishTool` instruction.
|
|
131
|
-
*
|
|
132
|
-
* Registers a new tool descriptor on-chain with hashed metadata.
|
|
133
|
-
* Hash fields are SHA-256 digests of the corresponding off-chain content.
|
|
134
|
-
*
|
|
135
|
-
* @category Types
|
|
136
|
-
* @since v0.1.0
|
|
137
|
-
*/
|
|
138
|
-
export interface PublishToolArgs {
|
|
139
|
-
/** Human-readable tool name. */
|
|
140
|
-
readonly toolName: string;
|
|
141
|
-
/** SHA-256 hash of the tool name (PDA seed). */
|
|
142
|
-
readonly toolNameHash: number[]; // [u8; 32]
|
|
143
|
-
/** SHA-256 hash of the protocol identifier. */
|
|
144
|
-
readonly protocolHash: number[]; // [u8; 32]
|
|
145
|
-
/** SHA-256 hash of the tool description. */
|
|
146
|
-
readonly descriptionHash: number[]; // [u8; 32]
|
|
147
|
-
/** SHA-256 hash of the input JSON schema. */
|
|
148
|
-
readonly inputSchemaHash: number[]; // [u8; 32]
|
|
149
|
-
/** SHA-256 hash of the output JSON schema. */
|
|
150
|
-
readonly outputSchemaHash: number[];// [u8; 32]
|
|
151
|
-
/** HTTP method discriminant index. */
|
|
152
|
-
readonly httpMethod: number;
|
|
153
|
-
/** Tool category discriminant index. */
|
|
154
|
-
readonly category: number;
|
|
155
|
-
/** Total number of parameters. */
|
|
156
|
-
readonly paramsCount: number;
|
|
157
|
-
/** Number of required parameters. */
|
|
158
|
-
readonly requiredParams: number;
|
|
159
|
-
/** Whether the tool is a compound (multi-step) operation. */
|
|
160
|
-
readonly isCompound: boolean;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* @interface UpdateToolArgs
|
|
165
|
-
* @description Arguments for the `updateTool` instruction.
|
|
166
|
-
*
|
|
167
|
-
* All fields are optional — only pass the fields to update.
|
|
168
|
-
*
|
|
169
|
-
* @category Types
|
|
170
|
-
* @since v0.1.0
|
|
171
|
-
*/
|
|
172
|
-
export interface UpdateToolArgs {
|
|
173
|
-
readonly descriptionHash?: number[] | null;
|
|
174
|
-
readonly inputSchemaHash?: number[] | null;
|
|
175
|
-
readonly outputSchemaHash?: number[] | null;
|
|
176
|
-
readonly httpMethod?: number | null;
|
|
177
|
-
readonly category?: number | null;
|
|
178
|
-
readonly paramsCount?: number | null;
|
|
179
|
-
readonly requiredParams?: number | null;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @interface InscribeToolSchemaArgs
|
|
184
|
-
* @description Arguments for the `inscribeToolSchema` instruction.
|
|
185
|
-
*
|
|
186
|
-
* Writes a tool’s JSON schema (input, output, or description) on-chain
|
|
187
|
-
* as an inscription, with optional compression.
|
|
188
|
-
*
|
|
189
|
-
* @category Types
|
|
190
|
-
* @since v0.1.0
|
|
191
|
-
* @see {@link SchemaType} for schema type discriminants.
|
|
192
|
-
* @see {@link CompressionType} for compression discriminants.
|
|
193
|
-
*/
|
|
194
|
-
export interface InscribeToolSchemaArgs {
|
|
195
|
-
/** Schema type discriminant (input / output / description). */
|
|
196
|
-
readonly schemaType: number;
|
|
197
|
-
/** Raw (optionally compressed) schema bytes. */
|
|
198
|
-
readonly schemaData: Buffer;
|
|
199
|
-
/** SHA-256 hash of the uncompressed schema. */
|
|
200
|
-
readonly schemaHash: number[]; // [u8; 32]
|
|
201
|
-
/** Compression algorithm discriminant. */
|
|
202
|
-
readonly compression: number;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
206
|
-
// Memory Vault Instructions
|
|
207
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* @interface InscribeMemoryArgs
|
|
211
|
-
* @description Arguments for the `inscribeMemory` instruction.
|
|
212
|
-
*
|
|
213
|
-
* Writes an encrypted memory fragment into a vault session.
|
|
214
|
-
* Supports multi-fragment inscriptions and epoch-based partitioning.
|
|
215
|
-
*
|
|
216
|
-
* @category Types
|
|
217
|
-
* @since v0.1.0
|
|
218
|
-
*/
|
|
219
|
-
export interface InscribeMemoryArgs {
|
|
220
|
-
/** Sequence number within the session. */
|
|
221
|
-
readonly sequence: number;
|
|
222
|
-
/** NaCl-encrypted payload. */
|
|
223
|
-
readonly encryptedData: Buffer;
|
|
224
|
-
/** Encryption nonce (12 bytes). */
|
|
225
|
-
readonly nonce: number[]; // [u8; 12]
|
|
226
|
-
/** SHA-256 hash of the plaintext content. */
|
|
227
|
-
readonly contentHash: number[];// [u8; 32]
|
|
228
|
-
/** Total fragments in this inscription. */
|
|
229
|
-
readonly totalFragments: number;
|
|
230
|
-
/** Zero-based index of this fragment. */
|
|
231
|
-
readonly fragmentIndex: number;
|
|
232
|
-
/** Compression algorithm discriminant. */
|
|
233
|
-
readonly compression: number;
|
|
234
|
-
/** Target epoch index. */
|
|
235
|
-
readonly epochIndex: number;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @interface CompactInscribeArgs
|
|
240
|
-
* @description Arguments for the `compactInscribe` instruction.
|
|
241
|
-
*
|
|
242
|
-
* A simplified inscription variant that omits fragmentation and epoch
|
|
243
|
-
* fields — ideal for small, single-fragment payloads.
|
|
244
|
-
*
|
|
245
|
-
* @category Types
|
|
246
|
-
* @since v0.1.0
|
|
247
|
-
*/
|
|
248
|
-
export interface CompactInscribeArgs {
|
|
249
|
-
/** Sequence number within the session. */
|
|
250
|
-
readonly sequence: number;
|
|
251
|
-
/** NaCl-encrypted payload. */
|
|
252
|
-
readonly encryptedData: Buffer;
|
|
253
|
-
/** Encryption nonce (12 bytes). */
|
|
254
|
-
readonly nonce: number[]; // [u8; 12]
|
|
255
|
-
/** SHA-256 hash of the plaintext content. */
|
|
256
|
-
readonly contentHash: number[]; // [u8; 32]
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
260
|
-
// Escrow Instructions
|
|
261
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @interface CreateEscrowArgs
|
|
265
|
-
* @description Arguments for the `createEscrow` instruction.
|
|
266
|
-
*
|
|
267
|
-
* Creates a pre-funded escrow account for micropayments to an agent,
|
|
268
|
-
* optionally with volume-based discount breakpoints.
|
|
269
|
-
*
|
|
270
|
-
* @category Types
|
|
271
|
-
* @since v0.1.0
|
|
272
|
-
* @deprecated Since v0.7.0 — Use {@link CreateEscrowV2Args} for V2 escrows.
|
|
273
|
-
* @see {@link VolumeCurveBreakpoint} for discount curve details.
|
|
274
|
-
*/
|
|
275
|
-
export interface CreateEscrowArgs {
|
|
276
|
-
/** Base price per call in token base units. */
|
|
277
|
-
readonly pricePerCall: BN;
|
|
278
|
-
/** Maximum number of calls the escrow should fund. */
|
|
279
|
-
readonly maxCalls: BN;
|
|
280
|
-
/** Initial deposit amount. */
|
|
281
|
-
readonly initialDeposit: BN;
|
|
282
|
-
/** Unix timestamp when the escrow expires. */
|
|
283
|
-
readonly expiresAt: BN;
|
|
284
|
-
/** Volume discount breakpoints (pass `[]` for none). */
|
|
285
|
-
readonly volumeCurve: VolumeCurveBreakpoint[];
|
|
286
|
-
/** SPL token mint (pass `null` for native SOL). */
|
|
287
|
-
readonly tokenMint: PublicKey | null;
|
|
288
|
-
/** Decimal places for the token. */
|
|
289
|
-
readonly tokenDecimals: number;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
293
|
-
// Attestation Instructions
|
|
294
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* @interface CreateAttestationArgs
|
|
298
|
-
* @description Arguments for the `createAttestation` instruction.
|
|
299
|
-
*
|
|
300
|
-
* Issues a web-of-trust attestation for a target agent.
|
|
301
|
-
*
|
|
302
|
-
* @category Types
|
|
303
|
-
* @since v0.1.0
|
|
304
|
-
*/
|
|
305
|
-
export interface CreateAttestationArgs {
|
|
306
|
-
/** Freeform attestation type (e.g. `"kyc"`, `"audit"`). */
|
|
307
|
-
readonly attestationType: string;
|
|
308
|
-
/** SHA-256 hash of off-chain attestation metadata. */
|
|
309
|
-
readonly metadataHash: number[]; // [u8; 32]
|
|
310
|
-
/** Unix timestamp when the attestation expires. */
|
|
311
|
-
readonly expiresAt: BN;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
315
|
-
// Permission & Schema Helpers
|
|
316
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @name DelegatePermission
|
|
320
|
-
* @description Bitmask constants for vault delegate permissions.
|
|
321
|
-
*
|
|
322
|
-
* Combine with bitwise OR to grant multiple permissions.
|
|
323
|
-
*
|
|
324
|
-
* | Bit | Value | Permission |
|
|
325
|
-
* | --- | ----- | ------------------- |
|
|
326
|
-
* | 0 | 1 | Inscribe memories |
|
|
327
|
-
* | 1 | 2 | Close sessions |
|
|
328
|
-
* | 2 | 4 | Open sessions |
|
|
329
|
-
* | — | 7 | All permissions |
|
|
330
|
-
*
|
|
331
|
-
* @category Types
|
|
332
|
-
* @since v0.1.0
|
|
333
|
-
*
|
|
334
|
-
* @example
|
|
335
|
-
* ```ts
|
|
336
|
-
* import { DelegatePermission } from "@synapse-sap/sdk";
|
|
337
|
-
*
|
|
338
|
-
* // Grant inscribe + open session
|
|
339
|
-
* const perms = DelegatePermission.Inscribe | DelegatePermission.OpenSession;
|
|
340
|
-
* ```
|
|
341
|
-
*/
|
|
342
|
-
export const DelegatePermission = {
|
|
343
|
-
Inscribe: 1,
|
|
344
|
-
CloseSession: 2,
|
|
345
|
-
OpenSession: 4,
|
|
346
|
-
All: 7,
|
|
347
|
-
} as const;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @name DelegatePermissionBit
|
|
351
|
-
* @description Union of valid {@link DelegatePermission} bit values.
|
|
352
|
-
*/
|
|
353
|
-
export type DelegatePermissionBit =
|
|
354
|
-
(typeof DelegatePermission)[keyof typeof DelegatePermission];
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* @name SchemaType
|
|
358
|
-
* @description Numeric discriminants for tool schema types.
|
|
359
|
-
*
|
|
360
|
-
* Used in the `inscribeToolSchema` instruction to specify which schema
|
|
361
|
-
* is being written on-chain.
|
|
362
|
-
*
|
|
363
|
-
* @category Types
|
|
364
|
-
* @since v0.1.0
|
|
365
|
-
*
|
|
366
|
-
* @example
|
|
367
|
-
* ```ts
|
|
368
|
-
* import { SchemaType } from "@synapse-sap/sdk";
|
|
369
|
-
*
|
|
370
|
-
* const args = { schemaType: SchemaType.Input, ... };
|
|
371
|
-
* ```
|
|
372
|
-
*/
|
|
373
|
-
export const SchemaType = {
|
|
374
|
-
Input: 0,
|
|
375
|
-
Output: 1,
|
|
376
|
-
Description: 2,
|
|
377
|
-
} as const;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* @name SchemaTypeValue
|
|
381
|
-
* @description Union of valid {@link SchemaType} discriminant values.
|
|
382
|
-
*/
|
|
383
|
-
export type SchemaTypeValue = (typeof SchemaType)[keyof typeof SchemaType];
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* @name CompressionType
|
|
387
|
-
* @description Numeric discriminants for compression algorithms.
|
|
388
|
-
*
|
|
389
|
-
* Used in inscription instructions to declare the compression format
|
|
390
|
-
* of the payload so consumers can decompress correctly.
|
|
391
|
-
*
|
|
392
|
-
* @category Types
|
|
393
|
-
* @since v0.1.0
|
|
394
|
-
*
|
|
395
|
-
* @example
|
|
396
|
-
* ```ts
|
|
397
|
-
* import { CompressionType } from "@synapse-sap/sdk";
|
|
398
|
-
*
|
|
399
|
-
* const args = { compression: CompressionType.Gzip, ... };
|
|
400
|
-
* ```
|
|
401
|
-
*/
|
|
402
|
-
export const CompressionType = {
|
|
403
|
-
None: 0,
|
|
404
|
-
Deflate: 1,
|
|
405
|
-
Gzip: 2,
|
|
406
|
-
Brotli: 3,
|
|
407
|
-
} as const;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @name CompressionTypeValue
|
|
411
|
-
* @description Union of valid {@link CompressionType} discriminant values.
|
|
412
|
-
*/
|
|
413
|
-
export type CompressionTypeValue =
|
|
414
|
-
(typeof CompressionType)[keyof typeof CompressionType];
|
|
415
|
-
|
|
416
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
417
|
-
// Escrow V2 Instructions (V2.1)
|
|
418
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* @interface CreateEscrowV2Args
|
|
422
|
-
* @description Arguments for the `createEscrowV2` instruction.
|
|
423
|
-
* @category Types
|
|
424
|
-
* @since v0.5.0
|
|
425
|
-
*/
|
|
426
|
-
export interface CreateEscrowV2Args {
|
|
427
|
-
readonly escrowNonce: BN;
|
|
428
|
-
readonly pricePerCall: BN;
|
|
429
|
-
readonly maxCalls: BN;
|
|
430
|
-
readonly initialDeposit: BN;
|
|
431
|
-
readonly expiresAt: BN;
|
|
432
|
-
readonly volumeCurve: VolumeCurveBreakpoint[];
|
|
433
|
-
readonly tokenMint: PublicKey | null;
|
|
434
|
-
readonly tokenDecimals: number;
|
|
435
|
-
/** 0=SelfReport, 1=CoSigned, 2=DisputeWindow */
|
|
436
|
-
readonly settlementSecurity: number;
|
|
437
|
-
readonly disputeWindowSlots: BN;
|
|
438
|
-
readonly coSigner: PublicKey | null;
|
|
439
|
-
readonly arbiter: PublicKey | null;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* @interface CreateSubscriptionArgs
|
|
444
|
-
* @description Arguments for the `createSubscription` instruction.
|
|
445
|
-
* @category Types
|
|
446
|
-
* @since v0.5.0
|
|
447
|
-
*/
|
|
448
|
-
export interface CreateSubscriptionArgs {
|
|
449
|
-
readonly subId: BN;
|
|
450
|
-
readonly pricePerInterval: BN;
|
|
451
|
-
readonly billingInterval: number;
|
|
452
|
-
readonly initialFund: BN;
|
|
453
|
-
}
|