@0x/ethereum-types: Make ConstructorAbi.payable optional.

This commit is contained in:
Lawrence Forman 2020-07-30 11:30:49 -04:00
parent 82774df715
commit f966b6f4df
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,13 @@
[
{
"version": "3.3.0",
"changes": [
{
"note": "Make `payable` field in `ConstructorAbi` optional",
"pr": 2648
}
]
},
{
"version": "3.2.0",
"changes": [

View File

@ -101,7 +101,7 @@ export interface ConstructorAbi {
// from JSON files, and this value has type `string` not type `'constructor'`
type: string;
inputs: DataItem[];
payable: boolean;
payable?: boolean;
stateMutability: ConstructorStateMutability;
}