---
# System prepended metadata

title: Untitled

---

Smart contract for  elrond


pub struct Pool<M: ManagedTypeApi> {
    pub staking_id: String, (initial owner)
    pub owner: Address,
    pub total_staked: BigUint<M>,
    pub zoidsters: u32,
    pub name: String,
    pub status: i8
}

pub struct Staking<M: ManagedTypeApi> {
    pub pool_id: String,
    pub staked_amount: BigUint<M>,
    pub timestamp: u64,
    pub months: u16,
    pub is_pool: bool, // base for pool
    pub owner: Address
}
    
    
Init
- [ ] token id
- [ ] pool limit
- [ ] set pools open
- [ ] set staking open

Statues
- [ ] pools open
- [ ] staking open


Whitelist(only owner)
- [ ] add
- [ ] get
- [ ] remove

Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    Pools
- [ ] set pools limit
- [ ] get pools limit
- [ ] set pool minimum amount
- [ ] get pools
    
    

Staking