Skip to content

faramozzayw/sorotools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Events:

#[contracttype]
#[derive(Clone, Event)]
pub struct Transfer {
    #[topic]
    pub from: Address,
    #[topic]
    pub to: Address,
    #[topic]
    pub token: Address,
    pub value: u128,
}

pub fn transfer(env: Env, from: Address, to: Address, token: Address, value: u128) {
    Transfer {
        from,
        to,
        token,
        value,
    }
    .publish(&env);
}

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages