You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add address query endpoint and cli for query an address that can be used as source and destination is derived according to the given name, module name, and address type.
Problem Definition
The budget source address and destination address can be used after designating an address that does not yet exist. However, since it is difficult for users to derive the address as a code, it is necessary to provide an address endpoint that can be easily derived for this purpose.
Proposal
// AddressType enumerates the available types of a address.enumAddressType {
option(gogoproto.goproto_enum_prefix)=false;
// ADDRESS_TYPE_32_BYTES defines the 32 bytes length address type of ADR 028.ADDRESS_TYPE_32_BYTES=0 [(gogoproto.enumvalue_customname) = "AddressType32Bytes"];
// ADDRESS_TYPE_20_BYTES defines the default 20 bytes length address type.ADDRESS_TYPE_20_BYTES=1 [(gogoproto.enumvalue_customname) = "AddressType20Bytes"];
}
// QueryAddressesRequest is the request type for the Query/Addresses RPC method.messageQueryAddressesRequest {
// The Address Type, default 0 for ADDRESS_TYPE_32_BYTES or 1 for ADDRESS_TYPE_20_BYTESAddressTypetype=1;
// The module name to be used for address derivation, default is budget.stringmodule_name=2;
// The name to be used for address derivation.stringname=3;
}
// QueryAddressesResponse is the response type for the Query/Addresses RPC method.messageQueryAddressesResponse {
stringaddress=1;
}
Summary
add address query endpoint and cli for query an address that can be used as source and destination is derived according to the given name, module name, and address type.
Problem Definition
The budget source address and destination address can be used after designating an address that does not yet exist. However, since it is difficult for users to derive the address as a code, it is necessary to provide an address endpoint that can be easily derived for this purpose.
Proposal
Tasks
address
/cosmos/budget/v1beta1/addresses
References
For Admin Use
The text was updated successfully, but these errors were encountered: