func (m *ContractInfo) UnmarshalBinary(b []byte) error {
	var res ContractInfo
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
UnmarshalBinary interface implementation
package models
import (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type ContractInfo struct {
	Address string `json:"address,omitempty"`
	CodeID string `json:"code_id,omitempty"`
	InitMsg string `json:"init_msg,omitempty"`
	Migratable bool `json:"migratable,omitempty"`
	Owner string `json:"owner,omitempty"`
}
func (m *ContractInfo) Validate(formats strfmt.Registry) error {
	return nil
}
func (m *ContractInfo) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}