Skip to content

Commit

Permalink
Merge pull request 0xProject#2751 from 0xProject/chore/order-utils/4.0.1
Browse files Browse the repository at this point in the history
[WIP] chore: [order-utils] adding version to sphix decorator
  • Loading branch information
L-Kov authored Apr 24, 2021
2 parents 8062d72 + 0f6c5ae commit 53b5bb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ERC721AssetData(NamedTuple):
"""Token identifier."""


@deprecated(reason='use `"0x"+encode_erc20().hex()` instead')
@deprecated(reason='use `"0x"+encode_erc20().hex()` instead', version="4.0.0")
def encode_erc20_asset_data(token_address: str) -> str:
"""Encode an ERC20 token address into an asset data string.
Expand Down Expand Up @@ -107,7 +107,7 @@ def decode_erc20_asset_data(asset_data: str) -> ERC20AssetData:
)


@deprecated(reason='use `"0x"+encode_erc721().hex()` instead')
@deprecated(reason='use `"0x"+encode_erc721().hex()` instead', version="4.0.0")
def encode_erc721_asset_data(token_address: str, token_id: int) -> str:
"""Encode an ERC721 asset data hex string.
Expand Down

0 comments on commit 53b5bb1

Please sign in to comment.