Closed gnidan closed 8 months ago
Use contains object mapping style for parameters types and returns types. Force parameters to be a type wrapper around a tuple type (and allow returns to be any other kind of type)
contains
parameters
returns
Define one-of required fields internal: true xor external: true.
internal: true
external: true
Override external types contains field to also allow a contract field (for the contract in which an external function type is defined)
contract
Use
contains
object mapping style forparameters
types andreturns
types. Forceparameters
to be a type wrapper around a tuple type (and allowreturns
to be any other kind of type)Define one-of required fields
internal: true
xorexternal: true
.Override external types
contains
field to also allow acontract
field (for the contract in which an external function type is defined)