Skip to content

Commit

Permalink
feat: use factories for token operations
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneWallet committed Feb 29, 2024
1 parent 14cc8e1 commit 647efb2
Show file tree
Hide file tree
Showing 7 changed files with 430 additions and 798 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ steps:
num_decimals: 3
can_upgrade: true
can_add_special_roles: true
can_mint: true
can_burn: true

- type: Python
module_path: ./integration_tests/token_management/scripts/checks.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ steps:
sender: thomas
token_identifier: "%ThomasMeta.identifier"
amount: 100000000 # 100,000.000 TMT
name: "Beautiful Meta"
royalties: 750
hash: "00"
attributes: "metadata:ipfsCID/song.json;tags:song,beautiful,music"
uris:
- https://mypng.com/1
- https://ThomasMetajpg.com/1
4 changes: 2 additions & 2 deletions integration_tests/token_management/scripts/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"JeanToken": {
"IsPaused": False,
"CanUpgrade": True,
"CanMint": True,
"CanBurn": True,
"CanMint": False,
"CanBurn": False,
"CanChangeOwner": False,
"CanPause": False,
"CanFreeze": False,
Expand Down
Loading

0 comments on commit 647efb2

Please sign in to comment.