Type Alias nft_pixelboard_state::metafns::State

source ·
pub type State = NFTPixelboardState;

Aliased Type§

struct State {
    pub owner: ActorId,
    pub block_side_length: u16,
    pub pixel_price: u128,
    pub resolution: Resolution,
    pub commission_percentage: u8,
    pub painting: Vec<u8>,
    pub rectangles_by_token_ids: Vec<(U256, Rectangle)>,
    pub tokens_by_rectangles: Vec<(Rectangle, TokenInfo)>,
    pub ft_program: ActorId,
    pub nft_program: ActorId,
    pub txs: Vec<(ActorId, (u64, NFTPixelboardAction))>,
    pub tx_id: u64,
}

Fields§

§owner: ActorId§block_side_length: u16§pixel_price: u128§resolution: Resolution§commission_percentage: u8§painting: Vec<u8>§rectangles_by_token_ids: Vec<(U256, Rectangle)>§tokens_by_rectangles: Vec<(Rectangle, TokenInfo)>§ft_program: ActorId§nft_program: ActorId§txs: Vec<(ActorId, (u64, NFTPixelboardAction))>§tx_id: u64