feat(schema/indexer): add address codec param (#21361)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package addressutil
|
||||
|
||||
type AddressCodec interface {
|
||||
// StringToBytes decodes text to bytes
|
||||
StringToBytes(text string) ([]byte, error)
|
||||
// BytesToString encodes bytes to text
|
||||
BytesToString(bz []byte) (string, error)
|
||||
}
|
||||
Reference in New Issue
Block a user