Merge pull request #2648 from 0xProject/fix/ethereum-types/ConstructorAbi-payable

`@0x/ethereum-types`: Make `ConstructorAbi.payable` optional.
This commit is contained in:
Lawrence Forman 2020-07-30 16:29:47 -04:00 committed by GitHub
commit 78170b26e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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", "version": "3.2.0",
"changes": [ "changes": [

View File

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