feat(schema/indexer): add address codec param (#21361)

This commit is contained in:
Aaron Craelius
2024-08-20 15:01:29 +00:00
committed by GitHub
parent da27d8b9a1
commit 08a3da44b1
5 changed files with 97 additions and 0 deletions
+8
View File
@@ -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)
}