Unverified Commit 3f33c655 authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Remove pub prefix for pub trait (#542)

parent 0b1be71a
Pipeline #112050 failed with stages
in 3 minutes and 29 seconds
......@@ -402,15 +402,15 @@ use ink_lang as ink;
pub trait BaseErc20 {
/// Creates a new ERC-20 contract and initializes it with the initial supply for the instantiator.
#[ink(constructor)]
pub fn new(initial_supply: Balance) -> Self;
fn new(initial_supply: Balance) -> Self;
/// Returns the total supply.
#[ink(message)]
pub fn total_supply(&self) -> Balance;
fn total_supply(&self) -> Balance;
/// Transfers `amount` from caller to `to`.
#[ink(message, payable)]
pub fn transfer(&mut self, to: AccountId, amount: Balance);
fn transfer(&mut self, to: AccountId, amount: Balance);
}
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment