approve_controller_v_2

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressNFT1155ApproveListUsingGET1Forbidden

type AddressNFT1155ApproveListUsingGET1Forbidden struct {
}

AddressNFT1155ApproveListUsingGET1Forbidden handles this case with default header values.

Forbidden

func NewAddressNFT1155ApproveListUsingGET1Forbidden

func NewAddressNFT1155ApproveListUsingGET1Forbidden() *AddressNFT1155ApproveListUsingGET1Forbidden

NewAddressNFT1155ApproveListUsingGET1Forbidden creates a AddressNFT1155ApproveListUsingGET1Forbidden with default headers values

func (*AddressNFT1155ApproveListUsingGET1Forbidden) Error

type AddressNFT1155ApproveListUsingGET1NotFound

type AddressNFT1155ApproveListUsingGET1NotFound struct {
}

AddressNFT1155ApproveListUsingGET1NotFound handles this case with default header values.

Not Found

func NewAddressNFT1155ApproveListUsingGET1NotFound

func NewAddressNFT1155ApproveListUsingGET1NotFound() *AddressNFT1155ApproveListUsingGET1NotFound

NewAddressNFT1155ApproveListUsingGET1NotFound creates a AddressNFT1155ApproveListUsingGET1NotFound with default headers values

func (*AddressNFT1155ApproveListUsingGET1NotFound) Error

type AddressNFT1155ApproveListUsingGET1OK

type AddressNFT1155ApproveListUsingGET1OK struct {
	Payload *models.ResponseWrapperListApproveNFT1155ListResponse
}

AddressNFT1155ApproveListUsingGET1OK handles this case with default header values.

OK

func NewAddressNFT1155ApproveListUsingGET1OK

func NewAddressNFT1155ApproveListUsingGET1OK() *AddressNFT1155ApproveListUsingGET1OK

NewAddressNFT1155ApproveListUsingGET1OK creates a AddressNFT1155ApproveListUsingGET1OK with default headers values

func (*AddressNFT1155ApproveListUsingGET1OK) Error

func (*AddressNFT1155ApproveListUsingGET1OK) GetPayload

type AddressNFT1155ApproveListUsingGET1Params

type AddressNFT1155ApproveListUsingGET1Params struct {

	/*Authorization
	  Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)

	*/
	Authorization *string
	/*Addresses
	  contract address

	*/
	Addresses string
	/*ChainID
	  chain id

	*/
	ChainID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressNFT1155ApproveListUsingGET1Params contains all the parameters to send to the API endpoint for the address n f t1155 approve list using g e t 1 operation typically these are written to a http.Request

func NewAddressNFT1155ApproveListUsingGET1Params

func NewAddressNFT1155ApproveListUsingGET1Params() *AddressNFT1155ApproveListUsingGET1Params

NewAddressNFT1155ApproveListUsingGET1Params creates a new AddressNFT1155ApproveListUsingGET1Params object with the default values initialized.

func NewAddressNFT1155ApproveListUsingGET1ParamsWithContext

func NewAddressNFT1155ApproveListUsingGET1ParamsWithContext(ctx context.Context) *AddressNFT1155ApproveListUsingGET1Params

NewAddressNFT1155ApproveListUsingGET1ParamsWithContext creates a new AddressNFT1155ApproveListUsingGET1Params object with the default values initialized, and the ability to set a context for a request

func NewAddressNFT1155ApproveListUsingGET1ParamsWithHTTPClient

func NewAddressNFT1155ApproveListUsingGET1ParamsWithHTTPClient(client *http.Client) *AddressNFT1155ApproveListUsingGET1Params

NewAddressNFT1155ApproveListUsingGET1ParamsWithHTTPClient creates a new AddressNFT1155ApproveListUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddressNFT1155ApproveListUsingGET1ParamsWithTimeout

func NewAddressNFT1155ApproveListUsingGET1ParamsWithTimeout(timeout time.Duration) *AddressNFT1155ApproveListUsingGET1Params

NewAddressNFT1155ApproveListUsingGET1ParamsWithTimeout creates a new AddressNFT1155ApproveListUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AddressNFT1155ApproveListUsingGET1Params) SetAddresses

func (o *AddressNFT1155ApproveListUsingGET1Params) SetAddresses(addresses string)

SetAddresses adds the addresses to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) SetAuthorization

func (o *AddressNFT1155ApproveListUsingGET1Params) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) SetChainID

func (o *AddressNFT1155ApproveListUsingGET1Params) SetChainID(chainID string)

SetChainID adds the chainId to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) SetContext

SetContext adds the context to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) SetHTTPClient

func (o *AddressNFT1155ApproveListUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) SetTimeout

SetTimeout adds the timeout to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithAddresses

WithAddresses adds the addresses to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithAuthorization

WithAuthorization adds the authorization to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithChainID

WithChainID adds the chainID to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithContext

WithContext adds the context to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the address n f t1155 approve list using g e t 1 params

func (*AddressNFT1155ApproveListUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressNFT1155ApproveListUsingGET1Reader

type AddressNFT1155ApproveListUsingGET1Reader struct {
	// contains filtered or unexported fields
}

AddressNFT1155ApproveListUsingGET1Reader is a Reader for the AddressNFT1155ApproveListUsingGET1 structure.

func (*AddressNFT1155ApproveListUsingGET1Reader) ReadResponse

func (o *AddressNFT1155ApproveListUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressNFT1155ApproveListUsingGET1Unauthorized

type AddressNFT1155ApproveListUsingGET1Unauthorized struct {
}

AddressNFT1155ApproveListUsingGET1Unauthorized handles this case with default header values.

Unauthorized

func NewAddressNFT1155ApproveListUsingGET1Unauthorized

func NewAddressNFT1155ApproveListUsingGET1Unauthorized() *AddressNFT1155ApproveListUsingGET1Unauthorized

NewAddressNFT1155ApproveListUsingGET1Unauthorized creates a AddressNFT1155ApproveListUsingGET1Unauthorized with default headers values

func (*AddressNFT1155ApproveListUsingGET1Unauthorized) Error

type AddressNFT721ApproveListUsingGET1Forbidden

type AddressNFT721ApproveListUsingGET1Forbidden struct {
}

AddressNFT721ApproveListUsingGET1Forbidden handles this case with default header values.

Forbidden

func NewAddressNFT721ApproveListUsingGET1Forbidden

func NewAddressNFT721ApproveListUsingGET1Forbidden() *AddressNFT721ApproveListUsingGET1Forbidden

NewAddressNFT721ApproveListUsingGET1Forbidden creates a AddressNFT721ApproveListUsingGET1Forbidden with default headers values

func (*AddressNFT721ApproveListUsingGET1Forbidden) Error

type AddressNFT721ApproveListUsingGET1NotFound

type AddressNFT721ApproveListUsingGET1NotFound struct {
}

AddressNFT721ApproveListUsingGET1NotFound handles this case with default header values.

Not Found

func NewAddressNFT721ApproveListUsingGET1NotFound

func NewAddressNFT721ApproveListUsingGET1NotFound() *AddressNFT721ApproveListUsingGET1NotFound

NewAddressNFT721ApproveListUsingGET1NotFound creates a AddressNFT721ApproveListUsingGET1NotFound with default headers values

func (*AddressNFT721ApproveListUsingGET1NotFound) Error

type AddressNFT721ApproveListUsingGET1OK

type AddressNFT721ApproveListUsingGET1OK struct {
	Payload *models.ResponseWrapperListApproveNFTListResponse
}

AddressNFT721ApproveListUsingGET1OK handles this case with default header values.

OK

func NewAddressNFT721ApproveListUsingGET1OK

func NewAddressNFT721ApproveListUsingGET1OK() *AddressNFT721ApproveListUsingGET1OK

NewAddressNFT721ApproveListUsingGET1OK creates a AddressNFT721ApproveListUsingGET1OK with default headers values

func (*AddressNFT721ApproveListUsingGET1OK) Error

func (*AddressNFT721ApproveListUsingGET1OK) GetPayload

type AddressNFT721ApproveListUsingGET1Params

type AddressNFT721ApproveListUsingGET1Params struct {

	/*Authorization
	  Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)

	*/
	Authorization *string
	/*Addresses
	  contract address

	*/
	Addresses string
	/*ChainID
	  chain id

	*/
	ChainID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressNFT721ApproveListUsingGET1Params contains all the parameters to send to the API endpoint for the address n f t721 approve list using g e t 1 operation typically these are written to a http.Request

func NewAddressNFT721ApproveListUsingGET1Params

func NewAddressNFT721ApproveListUsingGET1Params() *AddressNFT721ApproveListUsingGET1Params

NewAddressNFT721ApproveListUsingGET1Params creates a new AddressNFT721ApproveListUsingGET1Params object with the default values initialized.

func NewAddressNFT721ApproveListUsingGET1ParamsWithContext

func NewAddressNFT721ApproveListUsingGET1ParamsWithContext(ctx context.Context) *AddressNFT721ApproveListUsingGET1Params

NewAddressNFT721ApproveListUsingGET1ParamsWithContext creates a new AddressNFT721ApproveListUsingGET1Params object with the default values initialized, and the ability to set a context for a request

func NewAddressNFT721ApproveListUsingGET1ParamsWithHTTPClient

func NewAddressNFT721ApproveListUsingGET1ParamsWithHTTPClient(client *http.Client) *AddressNFT721ApproveListUsingGET1Params

NewAddressNFT721ApproveListUsingGET1ParamsWithHTTPClient creates a new AddressNFT721ApproveListUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddressNFT721ApproveListUsingGET1ParamsWithTimeout

func NewAddressNFT721ApproveListUsingGET1ParamsWithTimeout(timeout time.Duration) *AddressNFT721ApproveListUsingGET1Params

NewAddressNFT721ApproveListUsingGET1ParamsWithTimeout creates a new AddressNFT721ApproveListUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AddressNFT721ApproveListUsingGET1Params) SetAddresses

func (o *AddressNFT721ApproveListUsingGET1Params) SetAddresses(addresses string)

SetAddresses adds the addresses to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) SetAuthorization

func (o *AddressNFT721ApproveListUsingGET1Params) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) SetChainID

func (o *AddressNFT721ApproveListUsingGET1Params) SetChainID(chainID string)

SetChainID adds the chainId to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) SetContext

SetContext adds the context to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) SetHTTPClient

func (o *AddressNFT721ApproveListUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) SetTimeout

func (o *AddressNFT721ApproveListUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithAddresses

WithAddresses adds the addresses to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithAuthorization

WithAuthorization adds the authorization to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithChainID

WithChainID adds the chainID to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithContext

WithContext adds the context to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the address n f t721 approve list using g e t 1 params

func (*AddressNFT721ApproveListUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressNFT721ApproveListUsingGET1Reader

type AddressNFT721ApproveListUsingGET1Reader struct {
	// contains filtered or unexported fields
}

AddressNFT721ApproveListUsingGET1Reader is a Reader for the AddressNFT721ApproveListUsingGET1 structure.

func (*AddressNFT721ApproveListUsingGET1Reader) ReadResponse

func (o *AddressNFT721ApproveListUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressNFT721ApproveListUsingGET1Unauthorized

type AddressNFT721ApproveListUsingGET1Unauthorized struct {
}

AddressNFT721ApproveListUsingGET1Unauthorized handles this case with default header values.

Unauthorized

func NewAddressNFT721ApproveListUsingGET1Unauthorized

func NewAddressNFT721ApproveListUsingGET1Unauthorized() *AddressNFT721ApproveListUsingGET1Unauthorized

NewAddressNFT721ApproveListUsingGET1Unauthorized creates a AddressNFT721ApproveListUsingGET1Unauthorized with default headers values

func (*AddressNFT721ApproveListUsingGET1Unauthorized) Error

type AddressTokenApproveListUsingGET1Forbidden

type AddressTokenApproveListUsingGET1Forbidden struct {
}

AddressTokenApproveListUsingGET1Forbidden handles this case with default header values.

Forbidden

func NewAddressTokenApproveListUsingGET1Forbidden

func NewAddressTokenApproveListUsingGET1Forbidden() *AddressTokenApproveListUsingGET1Forbidden

NewAddressTokenApproveListUsingGET1Forbidden creates a AddressTokenApproveListUsingGET1Forbidden with default headers values

func (*AddressTokenApproveListUsingGET1Forbidden) Error

type AddressTokenApproveListUsingGET1NotFound

type AddressTokenApproveListUsingGET1NotFound struct {
}

AddressTokenApproveListUsingGET1NotFound handles this case with default header values.

Not Found

func NewAddressTokenApproveListUsingGET1NotFound

func NewAddressTokenApproveListUsingGET1NotFound() *AddressTokenApproveListUsingGET1NotFound

NewAddressTokenApproveListUsingGET1NotFound creates a AddressTokenApproveListUsingGET1NotFound with default headers values

func (*AddressTokenApproveListUsingGET1NotFound) Error

type AddressTokenApproveListUsingGET1OK

type AddressTokenApproveListUsingGET1OK struct {
	Payload *models.ResponseWrapperListApproveTokenOutListResponse
}

AddressTokenApproveListUsingGET1OK handles this case with default header values.

OK

func NewAddressTokenApproveListUsingGET1OK

func NewAddressTokenApproveListUsingGET1OK() *AddressTokenApproveListUsingGET1OK

NewAddressTokenApproveListUsingGET1OK creates a AddressTokenApproveListUsingGET1OK with default headers values

func (*AddressTokenApproveListUsingGET1OK) Error

func (*AddressTokenApproveListUsingGET1OK) GetPayload

type AddressTokenApproveListUsingGET1Params

type AddressTokenApproveListUsingGET1Params struct {

	/*Authorization
	  Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)

	*/
	Authorization *string
	/*Addresses
	  contract address

	*/
	Addresses string
	/*ChainID
	  chain id

	*/
	ChainID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressTokenApproveListUsingGET1Params contains all the parameters to send to the API endpoint for the address token approve list using g e t 1 operation typically these are written to a http.Request

func NewAddressTokenApproveListUsingGET1Params

func NewAddressTokenApproveListUsingGET1Params() *AddressTokenApproveListUsingGET1Params

NewAddressTokenApproveListUsingGET1Params creates a new AddressTokenApproveListUsingGET1Params object with the default values initialized.

func NewAddressTokenApproveListUsingGET1ParamsWithContext

func NewAddressTokenApproveListUsingGET1ParamsWithContext(ctx context.Context) *AddressTokenApproveListUsingGET1Params

NewAddressTokenApproveListUsingGET1ParamsWithContext creates a new AddressTokenApproveListUsingGET1Params object with the default values initialized, and the ability to set a context for a request

func NewAddressTokenApproveListUsingGET1ParamsWithHTTPClient

func NewAddressTokenApproveListUsingGET1ParamsWithHTTPClient(client *http.Client) *AddressTokenApproveListUsingGET1Params

NewAddressTokenApproveListUsingGET1ParamsWithHTTPClient creates a new AddressTokenApproveListUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddressTokenApproveListUsingGET1ParamsWithTimeout

func NewAddressTokenApproveListUsingGET1ParamsWithTimeout(timeout time.Duration) *AddressTokenApproveListUsingGET1Params

NewAddressTokenApproveListUsingGET1ParamsWithTimeout creates a new AddressTokenApproveListUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AddressTokenApproveListUsingGET1Params) SetAddresses

func (o *AddressTokenApproveListUsingGET1Params) SetAddresses(addresses string)

SetAddresses adds the addresses to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) SetAuthorization

func (o *AddressTokenApproveListUsingGET1Params) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) SetChainID

func (o *AddressTokenApproveListUsingGET1Params) SetChainID(chainID string)

SetChainID adds the chainId to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) SetContext

SetContext adds the context to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) SetHTTPClient

func (o *AddressTokenApproveListUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) SetTimeout

func (o *AddressTokenApproveListUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithAddresses

WithAddresses adds the addresses to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithAuthorization

WithAuthorization adds the authorization to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithChainID

WithChainID adds the chainID to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithContext

WithContext adds the context to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the address token approve list using g e t 1 params

func (*AddressTokenApproveListUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressTokenApproveListUsingGET1Reader

type AddressTokenApproveListUsingGET1Reader struct {
	// contains filtered or unexported fields
}

AddressTokenApproveListUsingGET1Reader is a Reader for the AddressTokenApproveListUsingGET1 structure.

func (*AddressTokenApproveListUsingGET1Reader) ReadResponse

func (o *AddressTokenApproveListUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressTokenApproveListUsingGET1Unauthorized

type AddressTokenApproveListUsingGET1Unauthorized struct {
}

AddressTokenApproveListUsingGET1Unauthorized handles this case with default header values.

Unauthorized

func NewAddressTokenApproveListUsingGET1Unauthorized

func NewAddressTokenApproveListUsingGET1Unauthorized() *AddressTokenApproveListUsingGET1Unauthorized

NewAddressTokenApproveListUsingGET1Unauthorized creates a AddressTokenApproveListUsingGET1Unauthorized with default headers values

func (*AddressTokenApproveListUsingGET1Unauthorized) Error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for approve controller v 2 API

func (*Client) AddressNFT1155ApproveListUsingGET1

func (a *Client) AddressNFT1155ApproveListUsingGET1(params *AddressNFT1155ApproveListUsingGET1Params) (*AddressNFT1155ApproveListUsingGET1OK, error)

AddressNFT1155ApproveListUsingGET1 returns the e r c 1155 approvals of an e o a address and associated risk items

Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.

func (*Client) AddressNFT721ApproveListUsingGET1

func (a *Client) AddressNFT721ApproveListUsingGET1(params *AddressNFT721ApproveListUsingGET1Params) (*AddressNFT721ApproveListUsingGET1OK, error)

AddressNFT721ApproveListUsingGET1 returns the e r c 721 approvals of an e o a address and associated risk items

Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.

func (*Client) AddressTokenApproveListUsingGET1

func (a *Client) AddressTokenApproveListUsingGET1(params *AddressTokenApproveListUsingGET1Params) (*AddressTokenApproveListUsingGET1OK, error)

AddressTokenApproveListUsingGET1 returns the e r c 20 approvals of an e o a address and associated risk items

Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AddressNFT1155ApproveListUsingGET1(params *AddressNFT1155ApproveListUsingGET1Params) (*AddressNFT1155ApproveListUsingGET1OK, error)

	AddressNFT721ApproveListUsingGET1(params *AddressNFT721ApproveListUsingGET1Params) (*AddressNFT721ApproveListUsingGET1OK, error)

	AddressTokenApproveListUsingGET1(params *AddressTokenApproveListUsingGET1Params) (*AddressTokenApproveListUsingGET1OK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new approve controller v 2 API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL