Hello,

Sign up to join our community!

Welcome Back,

Please login to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

bog8304552146 activity

bog8304552146 commented on I'm a bit confused by what you wrote ? How exactly does your first struct look like?

These is the entire set #[derive(TypeAbi, TopEncode, TopDecode, ManagedVecItem, NestedEncode, NestedDecode)] pub struct VariableContractSettings { pub token_id: TokenIdentifier, pub min_amount: BigUint, pub pull_items: ManagedVec>, } #[derive(TypeAbi, TopEncode, TopDecode, ManagedVecItem, NestedEncode, NestedDecode)] pub struct Pull { pub id: u32, pub locking_time_span: u64, pub apy_configuration: ManagedVec, } #[derive(TypeAbi, TopEncode, TopDecode, ManagedVecItem, NestedEncode, NestedDecode)] pub struct ApyConfiguration { pub id: u32, pub apy: u64, pub start_timestamp: u64, pub end_timestamp: u64, }