Support nonpayable Solidity modifier in ABI.
This commit is contained in:
parent
693094e97c
commit
adc8d3d9ae
@ -606,6 +606,10 @@ function parseModifiers(value: string, params: any): void {
|
||||
params.payable = true;
|
||||
params.stateMutability = "payable";
|
||||
break;
|
||||
case "nonpayable":
|
||||
params.payable = false;
|
||||
params.stateMutability = "nonpayable";
|
||||
break;
|
||||
case "pure":
|
||||
params.constant = true;
|
||||
params.stateMutability = "pure";
|
||||
|
Loading…
Reference in New Issue
Block a user