c-layer / contracts

C-Layer Ethereum monorepo
MIT License
73 stars 14 forks source link

Accessing exceptions list of lock rule #7

Closed quinoah closed 4 years ago

quinoah commented 4 years ago

It could be useful if the core token function could return the list of exceptions (lockExceptions address[]) allowed to bypass the lock rule, as set in defineLock, in addition to the start and end of the rule (lock uint256[2]).

sirhill commented 4 years ago

I've added this feature in the v1.1.0 release of the C-Layer. It's not gas optimal but it will definitely help for now to manage the locking capabilities for an issuer.

It's already available on the master branch.