Docs.rs
boot-plus-0.1.1
boot-plus 0.1.1
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
CyberHoward
Dependencies
anyhow ^1.0
normal
boot-core ^0.1.1
normal
cosmwasm-std ^1.1
normal
cw-multi-test ^0.15.0
normal
cw1-whitelist ^0.15.1
normal
cw20 ^0.15.0
normal
cw20-base ^0.15.0
normal
serde ^1.0
normal
dotenv ^0.15.0
dev
env_logger ^0.9.0
dev
log ^0.4.14
dev
tokio ^1.19.1
dev
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Cw20
Methods
balance
create_new
new
send
test_generic
transfer
upload_required
In boot_plus
?
Type Definition
boot_plus
::
Cw20
source
·
[
−
]
pub type Cw20<Chain> =
CwPlusContract
<Chain,
ExecuteMsg
,
InstantiateMsg
,
QueryMsg
,
Empty
>;
Implementations
source
impl<Chain:
TxHandler
+
Clone
>
Cw20
<Chain>
where
TxResponse
<Chain>:
IndexResponse
,
source
pub fn
new
(id: &
str
, chain:
&
Chain) -> Self
source
pub fn
send
(
&self,
msg:
Binary
,
amount:
u128
,
contract:
String
) ->
Result
<
TxResponse
<Chain>,
BootError
>
source
pub fn
transfer
(
&self,
amount:
u128
,
recipient:
String
) ->
Result
<
TxResponse
<Chain>,
BootError
>
source
pub fn
create_new
<T:
Into
<
Uint128
>>(
&self,
minter: &
Addr
,
balance: T
) ->
Result
<
TxResponse
<Chain>,
BootError
>
source
pub fn
balance
(&self, address: &
Addr
) ->
Result
<
Uint128
,
BootError
>
source
pub fn
test_generic
(&self, sender: &
Addr
) ->
Result
<
()
,
BootError
>
source
impl
Cw20
<
Daemon
>
source
pub fn
upload_required
(&self) ->
Result
<
bool
,
BootError
>