@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +113 -52
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* GrantType enumerates the four typed payload variants of the unified grant
|
|
7
|
+
* registry. The session-key variant preserves the legacy x/session model;
|
|
8
|
+
* the other three are introduced by the delegated-authorization-registry
|
|
9
|
+
* refactor and ship in subsequent phases (P3 RecurringPull, P4
|
|
10
|
+
* SpendingAllowance, P5 ScheduledOneshot).
|
|
11
|
+
*/
|
|
12
|
+
export declare enum GrantType {
|
|
13
|
+
GRANT_TYPE_UNSPECIFIED = 0,
|
|
14
|
+
GRANT_TYPE_SESSION_KEY = 1,
|
|
15
|
+
GRANT_TYPE_RECURRING_PULL = 2,
|
|
16
|
+
GRANT_TYPE_SPENDING_ALLOWANCE = 3,
|
|
17
|
+
GRANT_TYPE_SCHEDULED_ONESHOT = 4,
|
|
18
|
+
UNRECOGNIZED = -1
|
|
19
|
+
}
|
|
20
|
+
export declare const GrantTypeAmino: typeof GrantType;
|
|
21
|
+
export declare function grantTypeFromJSON(object: any): GrantType;
|
|
22
|
+
export declare function grantTypeToJSON(object: GrantType): string;
|
|
23
|
+
/**
|
|
24
|
+
* GrantStatus is the state-machine label for a grant. Terminal states
|
|
25
|
+
* (REVOKED, DECLINED, COMPLETED, FIRED) are absorbing — once entered, the
|
|
26
|
+
* grant is never re-activated; the granter must create a new grant.
|
|
27
|
+
*/
|
|
28
|
+
export declare enum GrantStatus {
|
|
29
|
+
GRANT_STATUS_UNSPECIFIED = 0,
|
|
30
|
+
GRANT_STATUS_ACTIVE = 1,
|
|
31
|
+
GRANT_STATUS_PAUSED_INSUFFICIENT_FUNDS = 2,
|
|
32
|
+
GRANT_STATUS_DECLINED = 3,
|
|
33
|
+
GRANT_STATUS_REVOKED = 4,
|
|
34
|
+
GRANT_STATUS_COMPLETED = 5,
|
|
35
|
+
GRANT_STATUS_FIRED = 6,
|
|
36
|
+
UNRECOGNIZED = -1
|
|
37
|
+
}
|
|
38
|
+
export declare const GrantStatusAmino: typeof GrantStatus;
|
|
39
|
+
export declare function grantStatusFromJSON(object: any): GrantStatus;
|
|
40
|
+
export declare function grantStatusToJSON(object: GrantStatus): string;
|
|
41
|
+
/**
|
|
42
|
+
* Grant is the unified record for every delegated-authorization primitive
|
|
43
|
+
* in x/session. One record carries the shared lifecycle fields (id,
|
|
44
|
+
* granter, grantee, status, expires_at, note) and exactly one of the four
|
|
45
|
+
* typed payloads.
|
|
46
|
+
* @name Grant
|
|
47
|
+
* @package sparkdream.session.v1
|
|
48
|
+
* @see proto type: sparkdream.session.v1.Grant
|
|
49
|
+
*/
|
|
50
|
+
export interface Grant {
|
|
51
|
+
id: bigint;
|
|
52
|
+
granter: string;
|
|
53
|
+
grantee: string;
|
|
54
|
+
type: GrantType;
|
|
55
|
+
status: GrantStatus;
|
|
56
|
+
createdAt: Date;
|
|
57
|
+
expiresAt: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Human-readable purpose (256-char cap enforced at validation time).
|
|
60
|
+
*/
|
|
61
|
+
note: string;
|
|
62
|
+
sessionKey?: SessionKeyPayload;
|
|
63
|
+
recurringPull?: RecurringPullPayload;
|
|
64
|
+
spendingAllowance?: SpendingAllowancePayload;
|
|
65
|
+
scheduledOneshot?: ScheduledOneshotPayload;
|
|
66
|
+
}
|
|
67
|
+
export interface GrantProtoMsg {
|
|
68
|
+
typeUrl: "/sparkdream.session.v1.Grant";
|
|
69
|
+
value: Uint8Array;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Grant is the unified record for every delegated-authorization primitive
|
|
73
|
+
* in x/session. One record carries the shared lifecycle fields (id,
|
|
74
|
+
* granter, grantee, status, expires_at, note) and exactly one of the four
|
|
75
|
+
* typed payloads.
|
|
76
|
+
* @name GrantAmino
|
|
77
|
+
* @package sparkdream.session.v1
|
|
78
|
+
* @see proto type: sparkdream.session.v1.Grant
|
|
79
|
+
*/
|
|
80
|
+
export interface GrantAmino {
|
|
81
|
+
id?: string;
|
|
82
|
+
granter?: string;
|
|
83
|
+
grantee?: string;
|
|
84
|
+
type?: GrantType;
|
|
85
|
+
status?: GrantStatus;
|
|
86
|
+
created_at?: string;
|
|
87
|
+
expires_at?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Human-readable purpose (256-char cap enforced at validation time).
|
|
90
|
+
*/
|
|
91
|
+
note?: string;
|
|
92
|
+
session_key?: SessionKeyPayloadAmino;
|
|
93
|
+
recurring_pull?: RecurringPullPayloadAmino;
|
|
94
|
+
spending_allowance?: SpendingAllowancePayloadAmino;
|
|
95
|
+
scheduled_oneshot?: ScheduledOneshotPayloadAmino;
|
|
96
|
+
}
|
|
97
|
+
export interface GrantAminoMsg {
|
|
98
|
+
type: "/sparkdream.session.v1.Grant";
|
|
99
|
+
value: GrantAmino;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* SessionKeyPayload preserves the current x/session model: a scoped
|
|
103
|
+
* message-type allowlist with a SPARK spend-limit budget, an exec-count
|
|
104
|
+
* cap, and the per-session usage counters.
|
|
105
|
+
* @name SessionKeyPayload
|
|
106
|
+
* @package sparkdream.session.v1
|
|
107
|
+
* @see proto type: sparkdream.session.v1.SessionKeyPayload
|
|
108
|
+
*/
|
|
109
|
+
export interface SessionKeyPayload {
|
|
110
|
+
allowedMsgTypes: string[];
|
|
111
|
+
spendLimit: Coin;
|
|
112
|
+
spent: Coin;
|
|
113
|
+
maxExecCount: bigint;
|
|
114
|
+
execCount: bigint;
|
|
115
|
+
lastUsedAt: Date;
|
|
116
|
+
/**
|
|
117
|
+
* If true, this session key may include MsgRevokeGrant in
|
|
118
|
+
* allowed_msg_types, scoped to grants owned by the same granter. Default
|
|
119
|
+
* false. Lands with P6's universal MsgRevokeGrant; reserved here so the
|
|
120
|
+
* proto wire shape is locked at P1.
|
|
121
|
+
*/
|
|
122
|
+
allowSelfRevoke: boolean;
|
|
123
|
+
}
|
|
124
|
+
export interface SessionKeyPayloadProtoMsg {
|
|
125
|
+
typeUrl: "/sparkdream.session.v1.SessionKeyPayload";
|
|
126
|
+
value: Uint8Array;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* SessionKeyPayload preserves the current x/session model: a scoped
|
|
130
|
+
* message-type allowlist with a SPARK spend-limit budget, an exec-count
|
|
131
|
+
* cap, and the per-session usage counters.
|
|
132
|
+
* @name SessionKeyPayloadAmino
|
|
133
|
+
* @package sparkdream.session.v1
|
|
134
|
+
* @see proto type: sparkdream.session.v1.SessionKeyPayload
|
|
135
|
+
*/
|
|
136
|
+
export interface SessionKeyPayloadAmino {
|
|
137
|
+
allowed_msg_types?: string[];
|
|
138
|
+
spend_limit?: CoinAmino;
|
|
139
|
+
spent?: CoinAmino;
|
|
140
|
+
max_exec_count?: string;
|
|
141
|
+
exec_count?: string;
|
|
142
|
+
last_used_at?: string;
|
|
143
|
+
/**
|
|
144
|
+
* If true, this session key may include MsgRevokeGrant in
|
|
145
|
+
* allowed_msg_types, scoped to grants owned by the same granter. Default
|
|
146
|
+
* false. Lands with P6's universal MsgRevokeGrant; reserved here so the
|
|
147
|
+
* proto wire shape is locked at P1.
|
|
148
|
+
*/
|
|
149
|
+
allow_self_revoke?: boolean;
|
|
150
|
+
}
|
|
151
|
+
export interface SessionKeyPayloadAminoMsg {
|
|
152
|
+
type: "/sparkdream.session.v1.SessionKeyPayload";
|
|
153
|
+
value: SessionKeyPayloadAmino;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* RecurringPullPayload — a granter-authorized periodic SendCoins to a
|
|
157
|
+
* grantee. The grantee invokes MsgClaimRecurringPull each period.
|
|
158
|
+
* int64 unix timestamps (start_time, last_claim_advance) mirror the
|
|
159
|
+
* existing x/commons RecurringSpend record shape to enable a future
|
|
160
|
+
* straight-shot keeper port. The msg server lands in P3.
|
|
161
|
+
* @name RecurringPullPayload
|
|
162
|
+
* @package sparkdream.session.v1
|
|
163
|
+
* @see proto type: sparkdream.session.v1.RecurringPullPayload
|
|
164
|
+
*/
|
|
165
|
+
export interface RecurringPullPayload {
|
|
166
|
+
amountPerPeriod: Coin;
|
|
167
|
+
periodSeconds: bigint;
|
|
168
|
+
startTime: bigint;
|
|
169
|
+
lastClaimAdvance: bigint;
|
|
170
|
+
claimsMade: bigint;
|
|
171
|
+
/**
|
|
172
|
+
* User-declared per-epoch ceiling (sdk.Int as string), denominated in
|
|
173
|
+
* the same denom as amount_per_period. Epoch = UTC calendar day,
|
|
174
|
+
* computed as floor(block_time.Unix() / 86400).
|
|
175
|
+
*/
|
|
176
|
+
maxPerEpoch: string;
|
|
177
|
+
}
|
|
178
|
+
export interface RecurringPullPayloadProtoMsg {
|
|
179
|
+
typeUrl: "/sparkdream.session.v1.RecurringPullPayload";
|
|
180
|
+
value: Uint8Array;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* RecurringPullPayload — a granter-authorized periodic SendCoins to a
|
|
184
|
+
* grantee. The grantee invokes MsgClaimRecurringPull each period.
|
|
185
|
+
* int64 unix timestamps (start_time, last_claim_advance) mirror the
|
|
186
|
+
* existing x/commons RecurringSpend record shape to enable a future
|
|
187
|
+
* straight-shot keeper port. The msg server lands in P3.
|
|
188
|
+
* @name RecurringPullPayloadAmino
|
|
189
|
+
* @package sparkdream.session.v1
|
|
190
|
+
* @see proto type: sparkdream.session.v1.RecurringPullPayload
|
|
191
|
+
*/
|
|
192
|
+
export interface RecurringPullPayloadAmino {
|
|
193
|
+
amount_per_period?: CoinAmino;
|
|
194
|
+
period_seconds?: string;
|
|
195
|
+
start_time?: string;
|
|
196
|
+
last_claim_advance?: string;
|
|
197
|
+
claims_made?: string;
|
|
198
|
+
/**
|
|
199
|
+
* User-declared per-epoch ceiling (sdk.Int as string), denominated in
|
|
200
|
+
* the same denom as amount_per_period. Epoch = UTC calendar day,
|
|
201
|
+
* computed as floor(block_time.Unix() / 86400).
|
|
202
|
+
*/
|
|
203
|
+
max_per_epoch?: string;
|
|
204
|
+
}
|
|
205
|
+
export interface RecurringPullPayloadAminoMsg {
|
|
206
|
+
type: "/sparkdream.session.v1.RecurringPullPayload";
|
|
207
|
+
value: RecurringPullPayloadAmino;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* SpendingAllowancePayload — a refilling per-period cap; the grantee picks
|
|
211
|
+
* the recipient and amount of each pull within the cap and (optional)
|
|
212
|
+
* whitelist. The msg server lands in P4.
|
|
213
|
+
* @name SpendingAllowancePayload
|
|
214
|
+
* @package sparkdream.session.v1
|
|
215
|
+
* @see proto type: sparkdream.session.v1.SpendingAllowancePayload
|
|
216
|
+
*/
|
|
217
|
+
export interface SpendingAllowancePayload {
|
|
218
|
+
maxPerPeriod: Coin;
|
|
219
|
+
periodSeconds: bigint;
|
|
220
|
+
currentPeriodStart: bigint;
|
|
221
|
+
spentInCurrentPeriod: Coin;
|
|
222
|
+
/**
|
|
223
|
+
* Empty = unrestricted; non-empty = whitelist.
|
|
224
|
+
*/
|
|
225
|
+
allowedRecipients: string[];
|
|
226
|
+
/**
|
|
227
|
+
* Locks denom for the grant; mismatches rejected at pull time.
|
|
228
|
+
*/
|
|
229
|
+
denom: string;
|
|
230
|
+
}
|
|
231
|
+
export interface SpendingAllowancePayloadProtoMsg {
|
|
232
|
+
typeUrl: "/sparkdream.session.v1.SpendingAllowancePayload";
|
|
233
|
+
value: Uint8Array;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* SpendingAllowancePayload — a refilling per-period cap; the grantee picks
|
|
237
|
+
* the recipient and amount of each pull within the cap and (optional)
|
|
238
|
+
* whitelist. The msg server lands in P4.
|
|
239
|
+
* @name SpendingAllowancePayloadAmino
|
|
240
|
+
* @package sparkdream.session.v1
|
|
241
|
+
* @see proto type: sparkdream.session.v1.SpendingAllowancePayload
|
|
242
|
+
*/
|
|
243
|
+
export interface SpendingAllowancePayloadAmino {
|
|
244
|
+
max_per_period?: CoinAmino;
|
|
245
|
+
period_seconds?: string;
|
|
246
|
+
current_period_start?: string;
|
|
247
|
+
spent_in_current_period?: CoinAmino;
|
|
248
|
+
/**
|
|
249
|
+
* Empty = unrestricted; non-empty = whitelist.
|
|
250
|
+
*/
|
|
251
|
+
allowed_recipients?: string[];
|
|
252
|
+
/**
|
|
253
|
+
* Locks denom for the grant; mismatches rejected at pull time.
|
|
254
|
+
*/
|
|
255
|
+
denom?: string;
|
|
256
|
+
}
|
|
257
|
+
export interface SpendingAllowancePayloadAminoMsg {
|
|
258
|
+
type: "/sparkdream.session.v1.SpendingAllowancePayload";
|
|
259
|
+
value: SpendingAllowancePayloadAmino;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* ScheduledOneshotPayload — fires once at fire_at, EndBlocker-driven. The
|
|
263
|
+
* msg server, EndBlocker fire pass, gas-deposit escrow, and retry path
|
|
264
|
+
* land in P5.
|
|
265
|
+
* @name ScheduledOneshotPayload
|
|
266
|
+
* @package sparkdream.session.v1
|
|
267
|
+
* @see proto type: sparkdream.session.v1.ScheduledOneshotPayload
|
|
268
|
+
*/
|
|
269
|
+
export interface ScheduledOneshotPayload {
|
|
270
|
+
transfer?: OneshotTransfer;
|
|
271
|
+
exec?: OneshotExec;
|
|
272
|
+
fireAt: bigint;
|
|
273
|
+
/**
|
|
274
|
+
* Captured failure reason if execution failed at fire time (Exec only).
|
|
275
|
+
*/
|
|
276
|
+
fireError: string;
|
|
277
|
+
}
|
|
278
|
+
export interface ScheduledOneshotPayloadProtoMsg {
|
|
279
|
+
typeUrl: "/sparkdream.session.v1.ScheduledOneshotPayload";
|
|
280
|
+
value: Uint8Array;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* ScheduledOneshotPayload — fires once at fire_at, EndBlocker-driven. The
|
|
284
|
+
* msg server, EndBlocker fire pass, gas-deposit escrow, and retry path
|
|
285
|
+
* land in P5.
|
|
286
|
+
* @name ScheduledOneshotPayloadAmino
|
|
287
|
+
* @package sparkdream.session.v1
|
|
288
|
+
* @see proto type: sparkdream.session.v1.ScheduledOneshotPayload
|
|
289
|
+
*/
|
|
290
|
+
export interface ScheduledOneshotPayloadAmino {
|
|
291
|
+
transfer?: OneshotTransferAmino;
|
|
292
|
+
exec?: OneshotExecAmino;
|
|
293
|
+
fire_at?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Captured failure reason if execution failed at fire time (Exec only).
|
|
296
|
+
*/
|
|
297
|
+
fire_error?: string;
|
|
298
|
+
}
|
|
299
|
+
export interface ScheduledOneshotPayloadAminoMsg {
|
|
300
|
+
type: "/sparkdream.session.v1.ScheduledOneshotPayload";
|
|
301
|
+
value: ScheduledOneshotPayloadAmino;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* OneshotTransfer dispatches a simple bank SendCoins(granter, recipient,
|
|
305
|
+
* amount) at fire time.
|
|
306
|
+
* @name OneshotTransfer
|
|
307
|
+
* @package sparkdream.session.v1
|
|
308
|
+
* @see proto type: sparkdream.session.v1.OneshotTransfer
|
|
309
|
+
*/
|
|
310
|
+
export interface OneshotTransfer {
|
|
311
|
+
recipient: string;
|
|
312
|
+
amount: Coin;
|
|
313
|
+
}
|
|
314
|
+
export interface OneshotTransferProtoMsg {
|
|
315
|
+
typeUrl: "/sparkdream.session.v1.OneshotTransfer";
|
|
316
|
+
value: Uint8Array;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* OneshotTransfer dispatches a simple bank SendCoins(granter, recipient,
|
|
320
|
+
* amount) at fire time.
|
|
321
|
+
* @name OneshotTransferAmino
|
|
322
|
+
* @package sparkdream.session.v1
|
|
323
|
+
* @see proto type: sparkdream.session.v1.OneshotTransfer
|
|
324
|
+
*/
|
|
325
|
+
export interface OneshotTransferAmino {
|
|
326
|
+
recipient?: string;
|
|
327
|
+
amount?: CoinAmino;
|
|
328
|
+
}
|
|
329
|
+
export interface OneshotTransferAminoMsg {
|
|
330
|
+
type: "/sparkdream.session.v1.OneshotTransfer";
|
|
331
|
+
value: OneshotTransferAmino;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* OneshotExec dispatches an arbitrary message at fire time, executed as
|
|
335
|
+
* if signed by the granter. Subject to the same allowed_msg_types
|
|
336
|
+
* whitelist as session keys and the same NonDelegableSessionMsgs
|
|
337
|
+
* anti-recursion denylist, both at creation and at fire time.
|
|
338
|
+
* @name OneshotExec
|
|
339
|
+
* @package sparkdream.session.v1
|
|
340
|
+
* @see proto type: sparkdream.session.v1.OneshotExec
|
|
341
|
+
*/
|
|
342
|
+
export interface OneshotExec {
|
|
343
|
+
msg?: Any;
|
|
344
|
+
/**
|
|
345
|
+
* Per-fire gas cap; the granter pre-funds gas_limit * oneshot_gas_price
|
|
346
|
+
* SPARK at MsgCreateGrant time.
|
|
347
|
+
*/
|
|
348
|
+
gasLimit: bigint;
|
|
349
|
+
}
|
|
350
|
+
export interface OneshotExecProtoMsg {
|
|
351
|
+
typeUrl: "/sparkdream.session.v1.OneshotExec";
|
|
352
|
+
value: Uint8Array;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* OneshotExec dispatches an arbitrary message at fire time, executed as
|
|
356
|
+
* if signed by the granter. Subject to the same allowed_msg_types
|
|
357
|
+
* whitelist as session keys and the same NonDelegableSessionMsgs
|
|
358
|
+
* anti-recursion denylist, both at creation and at fire time.
|
|
359
|
+
* @name OneshotExecAmino
|
|
360
|
+
* @package sparkdream.session.v1
|
|
361
|
+
* @see proto type: sparkdream.session.v1.OneshotExec
|
|
362
|
+
*/
|
|
363
|
+
export interface OneshotExecAmino {
|
|
364
|
+
msg?: AnyAmino;
|
|
365
|
+
/**
|
|
366
|
+
* Per-fire gas cap; the granter pre-funds gas_limit * oneshot_gas_price
|
|
367
|
+
* SPARK at MsgCreateGrant time.
|
|
368
|
+
*/
|
|
369
|
+
gas_limit?: string;
|
|
370
|
+
}
|
|
371
|
+
export interface OneshotExecAminoMsg {
|
|
372
|
+
type: "/sparkdream.session.v1.OneshotExec";
|
|
373
|
+
value: OneshotExecAmino;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Grant is the unified record for every delegated-authorization primitive
|
|
377
|
+
* in x/session. One record carries the shared lifecycle fields (id,
|
|
378
|
+
* granter, grantee, status, expires_at, note) and exactly one of the four
|
|
379
|
+
* typed payloads.
|
|
380
|
+
* @name Grant
|
|
381
|
+
* @package sparkdream.session.v1
|
|
382
|
+
* @see proto type: sparkdream.session.v1.Grant
|
|
383
|
+
*/
|
|
384
|
+
export declare const Grant: {
|
|
385
|
+
typeUrl: string;
|
|
386
|
+
encode(message: Grant, writer?: BinaryWriter): BinaryWriter;
|
|
387
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Grant;
|
|
388
|
+
fromPartial(object: DeepPartial<Grant>): Grant;
|
|
389
|
+
fromAmino(object: GrantAmino): Grant;
|
|
390
|
+
toAmino(message: Grant): GrantAmino;
|
|
391
|
+
fromAminoMsg(object: GrantAminoMsg): Grant;
|
|
392
|
+
fromProtoMsg(message: GrantProtoMsg): Grant;
|
|
393
|
+
toProto(message: Grant): Uint8Array;
|
|
394
|
+
toProtoMsg(message: Grant): GrantProtoMsg;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* SessionKeyPayload preserves the current x/session model: a scoped
|
|
398
|
+
* message-type allowlist with a SPARK spend-limit budget, an exec-count
|
|
399
|
+
* cap, and the per-session usage counters.
|
|
400
|
+
* @name SessionKeyPayload
|
|
401
|
+
* @package sparkdream.session.v1
|
|
402
|
+
* @see proto type: sparkdream.session.v1.SessionKeyPayload
|
|
403
|
+
*/
|
|
404
|
+
export declare const SessionKeyPayload: {
|
|
405
|
+
typeUrl: string;
|
|
406
|
+
encode(message: SessionKeyPayload, writer?: BinaryWriter): BinaryWriter;
|
|
407
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SessionKeyPayload;
|
|
408
|
+
fromPartial(object: DeepPartial<SessionKeyPayload>): SessionKeyPayload;
|
|
409
|
+
fromAmino(object: SessionKeyPayloadAmino): SessionKeyPayload;
|
|
410
|
+
toAmino(message: SessionKeyPayload): SessionKeyPayloadAmino;
|
|
411
|
+
fromAminoMsg(object: SessionKeyPayloadAminoMsg): SessionKeyPayload;
|
|
412
|
+
fromProtoMsg(message: SessionKeyPayloadProtoMsg): SessionKeyPayload;
|
|
413
|
+
toProto(message: SessionKeyPayload): Uint8Array;
|
|
414
|
+
toProtoMsg(message: SessionKeyPayload): SessionKeyPayloadProtoMsg;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* RecurringPullPayload — a granter-authorized periodic SendCoins to a
|
|
418
|
+
* grantee. The grantee invokes MsgClaimRecurringPull each period.
|
|
419
|
+
* int64 unix timestamps (start_time, last_claim_advance) mirror the
|
|
420
|
+
* existing x/commons RecurringSpend record shape to enable a future
|
|
421
|
+
* straight-shot keeper port. The msg server lands in P3.
|
|
422
|
+
* @name RecurringPullPayload
|
|
423
|
+
* @package sparkdream.session.v1
|
|
424
|
+
* @see proto type: sparkdream.session.v1.RecurringPullPayload
|
|
425
|
+
*/
|
|
426
|
+
export declare const RecurringPullPayload: {
|
|
427
|
+
typeUrl: string;
|
|
428
|
+
encode(message: RecurringPullPayload, writer?: BinaryWriter): BinaryWriter;
|
|
429
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecurringPullPayload;
|
|
430
|
+
fromPartial(object: DeepPartial<RecurringPullPayload>): RecurringPullPayload;
|
|
431
|
+
fromAmino(object: RecurringPullPayloadAmino): RecurringPullPayload;
|
|
432
|
+
toAmino(message: RecurringPullPayload): RecurringPullPayloadAmino;
|
|
433
|
+
fromAminoMsg(object: RecurringPullPayloadAminoMsg): RecurringPullPayload;
|
|
434
|
+
fromProtoMsg(message: RecurringPullPayloadProtoMsg): RecurringPullPayload;
|
|
435
|
+
toProto(message: RecurringPullPayload): Uint8Array;
|
|
436
|
+
toProtoMsg(message: RecurringPullPayload): RecurringPullPayloadProtoMsg;
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* SpendingAllowancePayload — a refilling per-period cap; the grantee picks
|
|
440
|
+
* the recipient and amount of each pull within the cap and (optional)
|
|
441
|
+
* whitelist. The msg server lands in P4.
|
|
442
|
+
* @name SpendingAllowancePayload
|
|
443
|
+
* @package sparkdream.session.v1
|
|
444
|
+
* @see proto type: sparkdream.session.v1.SpendingAllowancePayload
|
|
445
|
+
*/
|
|
446
|
+
export declare const SpendingAllowancePayload: {
|
|
447
|
+
typeUrl: string;
|
|
448
|
+
encode(message: SpendingAllowancePayload, writer?: BinaryWriter): BinaryWriter;
|
|
449
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SpendingAllowancePayload;
|
|
450
|
+
fromPartial(object: DeepPartial<SpendingAllowancePayload>): SpendingAllowancePayload;
|
|
451
|
+
fromAmino(object: SpendingAllowancePayloadAmino): SpendingAllowancePayload;
|
|
452
|
+
toAmino(message: SpendingAllowancePayload): SpendingAllowancePayloadAmino;
|
|
453
|
+
fromAminoMsg(object: SpendingAllowancePayloadAminoMsg): SpendingAllowancePayload;
|
|
454
|
+
fromProtoMsg(message: SpendingAllowancePayloadProtoMsg): SpendingAllowancePayload;
|
|
455
|
+
toProto(message: SpendingAllowancePayload): Uint8Array;
|
|
456
|
+
toProtoMsg(message: SpendingAllowancePayload): SpendingAllowancePayloadProtoMsg;
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* ScheduledOneshotPayload — fires once at fire_at, EndBlocker-driven. The
|
|
460
|
+
* msg server, EndBlocker fire pass, gas-deposit escrow, and retry path
|
|
461
|
+
* land in P5.
|
|
462
|
+
* @name ScheduledOneshotPayload
|
|
463
|
+
* @package sparkdream.session.v1
|
|
464
|
+
* @see proto type: sparkdream.session.v1.ScheduledOneshotPayload
|
|
465
|
+
*/
|
|
466
|
+
export declare const ScheduledOneshotPayload: {
|
|
467
|
+
typeUrl: string;
|
|
468
|
+
encode(message: ScheduledOneshotPayload, writer?: BinaryWriter): BinaryWriter;
|
|
469
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ScheduledOneshotPayload;
|
|
470
|
+
fromPartial(object: DeepPartial<ScheduledOneshotPayload>): ScheduledOneshotPayload;
|
|
471
|
+
fromAmino(object: ScheduledOneshotPayloadAmino): ScheduledOneshotPayload;
|
|
472
|
+
toAmino(message: ScheduledOneshotPayload): ScheduledOneshotPayloadAmino;
|
|
473
|
+
fromAminoMsg(object: ScheduledOneshotPayloadAminoMsg): ScheduledOneshotPayload;
|
|
474
|
+
fromProtoMsg(message: ScheduledOneshotPayloadProtoMsg): ScheduledOneshotPayload;
|
|
475
|
+
toProto(message: ScheduledOneshotPayload): Uint8Array;
|
|
476
|
+
toProtoMsg(message: ScheduledOneshotPayload): ScheduledOneshotPayloadProtoMsg;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* OneshotTransfer dispatches a simple bank SendCoins(granter, recipient,
|
|
480
|
+
* amount) at fire time.
|
|
481
|
+
* @name OneshotTransfer
|
|
482
|
+
* @package sparkdream.session.v1
|
|
483
|
+
* @see proto type: sparkdream.session.v1.OneshotTransfer
|
|
484
|
+
*/
|
|
485
|
+
export declare const OneshotTransfer: {
|
|
486
|
+
typeUrl: string;
|
|
487
|
+
encode(message: OneshotTransfer, writer?: BinaryWriter): BinaryWriter;
|
|
488
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OneshotTransfer;
|
|
489
|
+
fromPartial(object: DeepPartial<OneshotTransfer>): OneshotTransfer;
|
|
490
|
+
fromAmino(object: OneshotTransferAmino): OneshotTransfer;
|
|
491
|
+
toAmino(message: OneshotTransfer): OneshotTransferAmino;
|
|
492
|
+
fromAminoMsg(object: OneshotTransferAminoMsg): OneshotTransfer;
|
|
493
|
+
fromProtoMsg(message: OneshotTransferProtoMsg): OneshotTransfer;
|
|
494
|
+
toProto(message: OneshotTransfer): Uint8Array;
|
|
495
|
+
toProtoMsg(message: OneshotTransfer): OneshotTransferProtoMsg;
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* OneshotExec dispatches an arbitrary message at fire time, executed as
|
|
499
|
+
* if signed by the granter. Subject to the same allowed_msg_types
|
|
500
|
+
* whitelist as session keys and the same NonDelegableSessionMsgs
|
|
501
|
+
* anti-recursion denylist, both at creation and at fire time.
|
|
502
|
+
* @name OneshotExec
|
|
503
|
+
* @package sparkdream.session.v1
|
|
504
|
+
* @see proto type: sparkdream.session.v1.OneshotExec
|
|
505
|
+
*/
|
|
506
|
+
export declare const OneshotExec: {
|
|
507
|
+
typeUrl: string;
|
|
508
|
+
encode(message: OneshotExec, writer?: BinaryWriter): BinaryWriter;
|
|
509
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OneshotExec;
|
|
510
|
+
fromPartial(object: DeepPartial<OneshotExec>): OneshotExec;
|
|
511
|
+
fromAmino(object: OneshotExecAmino): OneshotExec;
|
|
512
|
+
toAmino(message: OneshotExec): OneshotExecAmino;
|
|
513
|
+
fromAminoMsg(object: OneshotExecAminoMsg): OneshotExec;
|
|
514
|
+
fromProtoMsg(message: OneshotExecProtoMsg): OneshotExec;
|
|
515
|
+
toProto(message: OneshotExec): Uint8Array;
|
|
516
|
+
toProtoMsg(message: OneshotExec): OneshotExecProtoMsg;
|
|
517
|
+
};
|