Added ABI printout
This commit is contained in:
parent
5335845163
commit
eb049462e8
|
@ -57,5 +57,5 @@ def submit(addr: address):
|
|||
self.approved_addrs[addr] = 1
|
||||
return(1: bool)
|
||||
|
||||
def check(addr: address):
|
||||
def const check(addr: address):
|
||||
return(self.approved_addrs[addr]:bool)
|
||||
|
|
|
@ -120,3 +120,4 @@ print('Send %d wei to %s' % (t.startgas * t.gasprice,
|
|||
|
||||
print('Contract address: 0x'+utils.encode_hex(utils.mk_contract_address(t.sender, 0)))
|
||||
print('Code: 0x'+utils.encode_hex(rlp.encode(t)))
|
||||
print('ABI declaration: '+repr(serpent.mk_full_signature('check_for_impurity.se')))
|
||||
|
|
Loading…
Reference in New Issue