Skip to content

Commit

Permalink
Merge pull request #24 from Once-Upon/expanding-context-actions
Browse files Browse the repository at this point in the history
Added support for CryptoPunks, Leeroy, and Fren.pet context actions
  • Loading branch information
pcowgill authored Nov 30, 2023
2 parents 58c759e + b060cc1 commit e5f18fb
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 39 additions & 5 deletions src/types/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,52 @@ export type ContextAction =
| 'deployed'
| 'minted'
| 'swapped'
| 'wrapped'
| 'sent'
| 'received'
| 'unwrapped'
| 'registered'
| 'renewed'
| 'committed to'
| 'received airdrop'
| 'gave access to'
| 'interacted with'
| 'sent message'
| 'set reverse ens to';
// WETH
| 'wrapped'
| 'unwrapped'
// ENS
| 'registered'
| 'renewed'
| 'set reverse ens to'
// CryptoPunks
| 'minted punk'
| 'listed punk'
| 'withdrew bid for'
| 'bid on punk'
| 'withdrew from contract'
| 'bought punk'
| 'transferred punk'
| 'unlisted punk'
// Leeroy
| 'tipped'
| 'updated user details'
| 'replied to'
| 'reposted'
| 'registered username'
| 'followed'
| 'unfollowed'
| 'posted'
// fren.pet
| 'set pet name'
| 'bought accessory'
| 'attacked'
| 'redeemed'
| 'bonk revealed'
| 'wheel revealed'
| 'wheel committed'
| 'killed'
| 'minted'
| 'redeemed'
| 'sold item'
| 'joined dice game'
| 'dice game settled';

export type ContextSummaryVariableType =
| string
Expand Down

0 comments on commit e5f18fb

Please sign in to comment.