Closed manoranjith closed 3 years ago
Sub task of #192.
Add an API to deploy new ERC20 adjudicator contracts and another to register new currencies when new ERC20 adjudicator contracts are already deployed.
In case of deploy, the API should
Symbol
Decimals
In case of register token, it should return an error if
symbol
decimals
Motivation / Context
Sub task of #192.
Description
Add an API to deploy new ERC20 adjudicator contracts and another to register new currencies when new ERC20 adjudicator contracts are already deployed.
Relates to
192.
Testing
In case of deploy, the API should
Symbol
andDecimals
can be read from the token contract. If not, should return an error.In case of register token, it should return an error if
symbol
anddecimals
cannot be read from the token contract.Thread Safety