Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABI2Swagger ¶
type ABI2Swagger struct {
// contains filtered or unexported fields
}
ABI2Swagger is the main entry point for conversion
func NewABI2Swagger ¶
func NewABI2Swagger(conf *ABI2SwaggerConf) *ABI2Swagger
NewABI2Swagger constructor
func (*ABI2Swagger) Gen4Factory ¶
func (c *ABI2Swagger) Gen4Factory(basePath, name string, factoryOnly, externalRegistry bool, abi *abi.ABI, devdocsJSON string) *spec.Swagger
Gen4Factory generates OpenAPI for a contract factory, with a constructor, and child methods on any address
func (*ABI2Swagger) Gen4Instance ¶
func (c *ABI2Swagger) Gen4Instance(basePath, name string, abi *abi.ABI, devdocsJSON string) *spec.Swagger
Gen4Instance generates OpenAPI for a single contract instance with an address
Click to show internal directories.
Click to hide internal directories.