diff --git a/cic/meta.py b/cic/meta.py index 3deb634..3263dfe 100644 --- a/cic/meta.py +++ b/cic/meta.py @@ -56,7 +56,7 @@ class Meta(Data): def reference(self, token_address): token_address_bytes = bytes.fromhex(strip_0x(token_address)) - return generate_metadata_pointer(token_address_bytes, MetadataPointer.TOKEN) + return generate_metadata_pointer(token_address_bytes, MetadataPointer.TOKEN_META) def asdict(self): @@ -91,6 +91,6 @@ class Meta(Data): class MetadataWriter(OutputWriter): def write(self, k, v): - rq = MetadataRequestsHandler(MetadataPointer.TOKEN, bytes.fromhex(k)) + rq = MetadataRequestsHandler(MetadataPointer.TOKEN_META, bytes.fromhex(k)) return rq.create(json.loads(v.decode('utf-8'))) diff --git a/requirements.txt b/requirements.txt index 480ca58..8cfa0e6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ funga-eth>=0.5.0a1,<0.6.0 -cic-types>=0.2.0a3,<=0.2.0 +cic-types>=0.2.0a4,<=0.2.0 confini>=0.4.2rc3,<0.5.0 chainlib>=0.0.10a1,<0.1.0 cbor2==5.4.1