LemonNekoGH / easinteraction-for-cadence

Easinteraction is a tool that help users to generate code for easier contract interaction.
https://docs.easi-gen.lemonneko.moe/
MIT License
6 stars 0 forks source link

Add reference type support #33

Open LemonNekoGH opened 1 year ago

LemonNekoGH commented 1 year ago
pub contract Example {
    pub fun example(): &Int {
        let i = 10
        return &let as &Int
    }
}

The type &Int should convert to *big.Int, but now the tool will find where is a struct named &Int