Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
simke9445 committed Feb 21, 2024
1 parent 69d89a0 commit 06f8e2a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/types/contracts/warp_account_tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export module warp_account_tracker {
}
| {
free_funding_account: FreeFundingAccountMsg;
}
| {
update_config: UpdateConfigMsg;
};
export type Uint64 = string;
export interface TakeJobAccountMsg {
Expand All @@ -50,6 +53,9 @@ export module warp_account_tracker {
account_owner_addr: string;
job_id: Uint64;
}
export interface UpdateConfigMsg {
admin?: string | null;
}
export type AccountStatus = 'free' | 'taken';
export interface FundingAccountResponse {
funding_account?: FundingAccount | null;
Expand Down
6 changes: 6 additions & 0 deletions src/types/contracts/warp_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export module warp_controller {
cancellation_fee_rate: Uint64;
creation_fee_max: Uint128;
creation_fee_min: Uint128;
duration_days_limit: Uint64;
duration_days_max: Uint64;
duration_days_min: Uint64;
fee_collector: Addr;
Expand Down Expand Up @@ -52,6 +53,9 @@ export module warp_controller {
}
| {
migrate_finished_jobs: MigrateJobsMsg;
}
| {
create_funding_account: CreateFundingAccountMsg;
};
export type WarpMsg =
| {
Expand Down Expand Up @@ -356,6 +360,7 @@ export module warp_controller {
cancellation_fee_rate?: Uint64 | null;
creation_fee_max?: Uint128 | null;
creation_fee_min?: Uint128 | null;
duration_days_limit?: Uint64 | null;
duration_days_max?: Uint64 | null;
duration_days_min?: Uint64 | null;
fee_collector?: string | null;
Expand Down Expand Up @@ -384,6 +389,7 @@ export module warp_controller {
cancellation_fee_rate: Uint64;
creation_fee_max: Uint128;
creation_fee_min: Uint128;
duration_days_limit: Uint64;
duration_days_max: Uint64;
duration_days_min: Uint64;
fee_collector?: string | null;
Expand Down

0 comments on commit 06f8e2a

Please sign in to comment.