mattlockyer / composables-998

An implementation and documentation repo for developing the ERC-998 standard for Ethereum.
MIT License
103 stars 64 forks source link

Added a call in transferChild to approve because this is required for… #14

Closed mudgen closed 6 years ago

mudgen commented 6 years ago

Added a call in transferChild to approve because this is required for older contracts like cryptokitties.

Replaced a regular call to isApprovedOrOwnerOf with a staticcall to prevent any state from changing in that call.