fadroma

Module scrt

Source
Expand description

Secret Network specific utilities and contracts that are commonly used when developing smart contracts for it. Feature flag: scrt

Modules§

permit
Authentication using SNIP-24 query permits. Feature flag: permit
snip20
Feature flag: snip20
vk
Viewing key authentication. Feature flag: vk

Constants§

BLOCK_SIZE
Default Secret Network message padding size.

Traits§

ResponseExt

Functions§

space_pad
Take a Vec<u8> and pad it up to a multiple of block_size using spaces at the end.
to_cosmos_msg
Creates a new WasmMsg::Execute using the provided msg and padding it to BLOCK_SIZE.