Crates.io | modifier_macro |
lib.rs | modifier_macro |
version | 0.1.2 |
source | src |
created_at | 2022-02-24 14:53:25.960518 |
updated_at | 2022-02-24 15:08:54.735714 |
description | experimental function modifiers from solidity for cosmwasm |
homepage | |
repository | |
max_upload_size | |
id | 538556 |
size | 2,975 |
Experimental implementation of function modifier on cosmwasm.
in ~/cargo/config
[net]
git-fetch-with-cli = true
in cargo.toml
[dependencies]
modifier_macro = "0.1.2"
use modifier_macro::modifier;
#[modifier(onlyOwner)]
fn main() {
println!("Hello, world!");
}