pub struct DummyTransferModule { /* private fields */ }

Implementations

Trait Implementations

This function should enable sending ibc fungible tokens from one account to another

This function to enable minting ibc tokens to a user account

This function should enable burning of minted tokens in a user account

Stores the given channel_end at a path associated with the port_id and channel_id.

Called upon channel identifier creation (Init or Try message processing). Increases the counter which keeps track of how many channels have been created. Should never fail. Read more

Returns the ChannelEnd for the given port_id and chan_id.

Returns the ConnectionState for the given identifier connection_id.

Returns the ClientState for the given identifier client_id. Necessary dependency towards proof verification. Read more

A hashing function for packet commitments

Returns the current height of the local chain.

Returns the ConsensusState of the host (local) chain at a specific height.

Returns the pending ConsensusState of the host (local) chain.

Returns the time when the client state for the given ClientId was updated with a header for the given Height

Returns the height when the client state for the given ClientId was updated with a header for the given Height

Returns a counter on the number of channel ids have been created thus far. The value of this counter should increase only via method ChannelKeeper::increase_channel_counter. Read more

Returns the maximum expected time per block

Compute the commitment for a packet. Note that the absence of timeout_height is treated as {revision_number: 0, revision_height: 0} to be consistent with ibc-go, where this value is used to mean “no timeout height”: https://github.com/cosmos/ibc-go/blob/04791984b3d6c83f704c4f058e6ca0038d155d91/modules/core/04-channel/keeper/packet.go#L206 Read more

Returns the current timestamp of the local chain.

Calculates the block delay period using the connection’s delay period and the maximum expected time per block. Read more

Formats the value using the given formatter. Read more

get_port returns the portID for the transfer module.

Returns the escrow account id for a port and channel combination

Returns true iff send is enabled.

Returns true iff receive is enabled.

Returns a hash of the prefixed denom. Implement only if the host chain supports hashed denominations. Read more

Return the module_id associated with a given port_id

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more