Technical reference for the IBC Rate Limit module
Parameter | Type | Description |
---|---|---|
contract_address | string | Address of the CosmWasm contract that handles rate limiting decisions. Empty string disables rate limiting. |
authority
: Governance authority addressparams
: New module parameters containing the contract addressbad_revert
Attributes:
module
: rate-limited-ibc
failure_type
: Type of failure (acknowledgment
or timeout
)packet
: The IBC packet dataacknowledgement
: The acknowledgement data (only present for acknowledgment failures)Error | Code | Description |
---|---|---|
ErrRateLimitExceeded | 2 | Returned when the contract rejects a transfer due to rate limits |
ErrBadMessage | 3 | Returned for malformed packet data |
ErrContractError | 4 | Returned for other contract execution errors |
contract_address
is empty, all transfers proceed without rate limitingErrRateLimitExceeded
ErrContractError
undo_send
for timeouts and error acknowledgments