Skip to content

Commit

Permalink
Merge branch 'main' into dev_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kyomano authored Apr 19, 2024
2 parents 04758d2 + 905564f commit e02605d
Show file tree
Hide file tree
Showing 7 changed files with 683 additions and 215 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,4 @@ jobs:
deno-version: v1.x

- name: Build step
run: "deno task build" # 📝 Update the build command(s) if necessary

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "btcstamps"
entrypoint: "main.ts" # 📝 Update the entrypoint if necessary
root: "." # 📝 Update the root if necessary
run: "deno task build"
7 changes: 7 additions & 0 deletions globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ interface SRC20Balance {
amt: number;
block_time: Date;
last_update: number;
deploy_img: string;
}

interface Src20Detail {
Expand Down Expand Up @@ -201,6 +202,11 @@ export interface Src20BalanceResponseBody {
data: Src20Detail[];
}

export interface Src20SnapshotResponseBody extends Pagination {
snapshot_block: number;
data: Src20Detail[];
}

export interface PaginatedBalanceResponseBody extends Pagination {
last_block: number;
btc: BtcInfo;
Expand Down Expand Up @@ -283,6 +289,7 @@ export interface TxHandlerContext extends HandlerContext {
export interface TickHandlerContext extends HandlerContext {
params: {
tick: string | number;
op?: string; // future use for mint/transfer deploy is defined in routes
};
}

Expand Down
Loading

0 comments on commit e02605d

Please sign in to comment.