concordium-std-derive 6.0.0

Procedural macros to generate concordium type constants from strings, that makes writing smart contracts on the Concordium blockchain easier.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
 //! Ensure that the macros generate compilable code.

use concordium_contracts_common::*;
use concordium_std_derive::*;

const ACC: AccountAddress = account_address!("3kBx2h5Y2veb4hZgAJWPrr8RyQESKm5TjzF3ti1QQ4VSYLwK1G", "3kBx2h5Y2veb4hZgAJWPrr8RyQESKm5TjzF3ti1QQ4VSYLwK1G");

fn f() {
    println!("{:?}", ACC.to_string());
}

fn main() {}