-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
enhancementNew feature or improvement.New feature or improvement.investigateUnder investigation and may be a bug.Under investigation and may be a bug.v6Issues regarding v6Issues regarding v6
Description
Describe the Feature
Change the behaviour of the Typed constructor if another instance of Typed is passed as value
Code Example
const address = ..... // any address|addresssable
const type1 = Typed.address(address) // type1.value == address
const type2 = Typed.address(type1) // type2.value == address
const type3 = Typed.uint256(type1) // throws an errorMetadata
Metadata
Assignees
Labels
enhancementNew feature or improvement.New feature or improvement.investigateUnder investigation and may be a bug.Under investigation and may be a bug.v6Issues regarding v6Issues regarding v6