Corrects proof writing to address declarator.
This commit is contained in:
parent
92f82b6057
commit
9743428429
@ -108,27 +108,7 @@ if __name__ == '__main__':
|
|||||||
write_metadata(token_immutable_proof_writer, token_proof_data)
|
write_metadata(token_immutable_proof_writer, token_proof_data)
|
||||||
write_to_declarator(contract_address=args.address_declarator,
|
write_to_declarator(contract_address=args.address_declarator,
|
||||||
contract_wrapper=contract_wrapper,
|
contract_wrapper=contract_wrapper,
|
||||||
proof=identifier,
|
proof=hashed_token_proof,
|
||||||
rpc=rpc,
|
rpc=rpc,
|
||||||
signer_address=args.signer_address,
|
signer_address=args.signer_address,
|
||||||
token_address=args.e)
|
token_address=args.e)
|
||||||
|
|
||||||
hashed_token_proof = hash_proof(args.token_symbol.encode('utf-8'))
|
|
||||||
identifier = bytes.fromhex(hashed_token_proof)
|
|
||||||
token_immutable_proof_writer = MetadataRequestsHandler(cic_type=MetadataPointer.NONE, identifier=identifier)
|
|
||||||
write_metadata(token_immutable_proof_writer, token_proof_data)
|
|
||||||
write_to_declarator(contract_address=args.address_declarator,
|
|
||||||
contract_wrapper=contract_wrapper,
|
|
||||||
proof=identifier,
|
|
||||||
rpc=rpc,
|
|
||||||
signer_address=args.signer_address,
|
|
||||||
token_address=args.e)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user