Merge pull request #2648 from 0xProject/fix/ethereum-types/ConstructorAbi-payable
`@0x/ethereum-types`: Make `ConstructorAbi.payable` optional.
This commit is contained in:
commit
78170b26e9
@ -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": [
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user