Implement selectable deployment

This commit is contained in:
nolash
2021-06-05 08:45:37 +02:00
parent 093fcbccd5
commit aeebdd348b
7 changed files with 88 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@@ -42,6 +42,11 @@ class DemurrageToken(ERC20):
__abi = {}
__bytecode = {}
valid_modes = [
'MultiNocap',
'SingleNocap',
'MultiCap',
]
def constructor(self, sender_address, settings, redistribute=True, cap=0, tx_format=TxFormat.JSONRPC):
if int(cap) < 0: