We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[ink::contract_ref]
1 parent 2e5bc93 commit bdc6407Copy full SHA for bdc6407
docs/macros-attributes/contract_ref.md
@@ -31,11 +31,11 @@ inferred from the root contract.
31
```rust
32
#[ink::contract_ref(abi = "sol")]
33
pub trait Erc20 {
34
- Returns the total supply of the ERC-20 smart contract.
+ /// Returns the total supply of the ERC-20 smart contract.
35
#[ink(message)]
36
fn total_supply(&self) -> ink::U256;
37
38
- Transfers balance from the caller to the given address.
+ /// Transfers balance from the caller to the given address.
39
40
fn transfer(&mut self, amount: ink::U256, to: ink::Address) -> bool;
41
0 commit comments