diff --git a/x/tokenfactory/README.md b/x/tokenfactory/README.md index cd49e084ef8..4d011d21c71 100644 --- a/x/tokenfactory/README.md +++ b/x/tokenfactory/README.md @@ -44,6 +44,7 @@ message MsgCreateDenom { - Add denom to the `CreatorPrefixStore`, where a state of denoms created per creator is kept. +![Schema](/x/tokenfactory/images/CreateDenom.png) ### Mint Minting of a specific denom is only allowed for the current admin. @@ -66,6 +67,7 @@ message MsgMint { - Check that the sender of the message is the admin of the denom - Mint designated amount of tokens for the denom via `bank` module +![Schema](/x/tokenfactory/images/Mint.png) ### Burn Burning of a specific denom is only allowed for the current admin. @@ -88,6 +90,7 @@ message MsgBurn { - Check that the sender of the message is the admin of the denom - Burn designated amount of tokens for the denom via `bank` module +![Schema](/x/tokenfactory/images/Burn.png) ### ChangeAdmin Change the admin of a denom. Note, this is only allowed to be called by the current admin of the denom. @@ -100,6 +103,7 @@ message MsgChangeAdmin { } ``` +![Schema](/x/tokenfactory/images/ChangeAdmin.png) ### SetDenomMetadata Setting of metadata for a specific denom is only allowed for the admin of the denom. @@ -117,6 +121,7 @@ message MsgChangeAdmin { - Check that sender of the message is the admin of denom - Modify `AuthorityMetadata` state entry to change the admin of the denom +![Schema](/x/tokenfactory/images/SetDenomMetadata.png) ## Expectations from the chain The chain's bech32 prefix for addresses can be at most 16 characters long. diff --git a/x/tokenfactory/images/Burn.png b/x/tokenfactory/images/Burn.png new file mode 100644 index 00000000000..7e4e7654eb7 Binary files /dev/null and b/x/tokenfactory/images/Burn.png differ diff --git a/x/tokenfactory/images/ChangeAdmin.png b/x/tokenfactory/images/ChangeAdmin.png new file mode 100644 index 00000000000..7be84ab7aa6 Binary files /dev/null and b/x/tokenfactory/images/ChangeAdmin.png differ diff --git a/x/tokenfactory/images/CreateDenom.png b/x/tokenfactory/images/CreateDenom.png new file mode 100644 index 00000000000..8dcee73e6bf Binary files /dev/null and b/x/tokenfactory/images/CreateDenom.png differ diff --git a/x/tokenfactory/images/Mint.png b/x/tokenfactory/images/Mint.png new file mode 100644 index 00000000000..a0e6e763078 Binary files /dev/null and b/x/tokenfactory/images/Mint.png differ diff --git a/x/tokenfactory/images/SetDenomMetadata.png b/x/tokenfactory/images/SetDenomMetadata.png new file mode 100644 index 00000000000..0a553da9fad Binary files /dev/null and b/x/tokenfactory/images/SetDenomMetadata.png differ