Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(developer): PSP22 fungible example contract #306

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pop-api/src/v0/fungibles/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use ink::prelude::string::String;

/// The PSP22 trait.
#[ink::trait_definition]
pub trait Psp22 {
pub trait PSP22 {
/// Returns the total token supply.
#[ink(message)]
fn total_supply(&self) -> Balance;
Expand Down Expand Up @@ -82,7 +82,7 @@ pub trait Psp22 {

/// The PSP22 Metadata trait.
#[ink::trait_definition]
pub trait Psp22Metadata {
pub trait PSP22Metadata {
/// Returns the token name.
#[ink(message)]
fn token_name(&self) -> Option<String>;
Expand All @@ -98,7 +98,7 @@ pub trait Psp22Metadata {

/// The PSP22 Mintable trait.
#[ink::trait_definition]
pub trait Psp22Mintable {
pub trait PSP22Mintable {
/// Creates `value` amount of tokens and assigns them to `account`, increasing the total supply.
///
/// # Parameters
Expand All @@ -110,7 +110,7 @@ pub trait Psp22Mintable {

/// The PSP22 Burnable trait.
#[ink::trait_definition]
pub trait Psp22Burnable {
pub trait PSP22Burnable {
/// Destroys `value` amount of tokens from `account`, reducing the total supply.
///
/// # Parameters
Expand Down
Loading