bindings

package
v0.0.38 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC20AllowanceRequest

type ERC20AllowanceRequest struct {
	ContractAddress string `json:"contract_address"`
	Owner           string `json:"owner"`
	Spender         string `json:"spender"`
}

type ERC20AllowanceResponse

type ERC20AllowanceResponse struct {
	Allowance *sdk.Int `json:"allowance"`
}

type ERC20ApprovePayloadRequest

type ERC20ApprovePayloadRequest struct {
	Spender string   `json:"spender"`
	Amount  *sdk.Int `json:"amount"`
}

type ERC20BalanceRequest

type ERC20BalanceRequest struct {
	ContractAddress string `json:"contract_address"`
	Account         string `json:"account"`
}

type ERC20BalanceResponse

type ERC20BalanceResponse struct {
	Balance *sdk.Int `json:"balance"`
}

type ERC20TokenInfoRequest

type ERC20TokenInfoRequest struct {
	ContractAddress string `json:"contract_address"`
	Caller          string `json:"caller"`
}

type ERC20TokenInfoResponse

type ERC20TokenInfoResponse struct {
	Name        string   `json:"name"`
	Symbol      string   `json:"symbol"`
	Decimals    byte     `json:"decimals"`
	TotalSupply *sdk.Int `json:"total_supply"`
}

type ERC20TransferFromPayloadRequest

type ERC20TransferFromPayloadRequest struct {
	Owner     string   `json:"owner"`
	Recipient string   `json:"recipient"`
	Amount    *sdk.Int `json:"amount"`
}

type ERC20TransferPayloadRequest

type ERC20TransferPayloadRequest struct {
	Recipient string   `json:"recipient"`
	Amount    *sdk.Int `json:"amount"`
}

type ERC721ApprovePayloadRequest

type ERC721ApprovePayloadRequest struct {
	Spender string `json:"spender"`
	TokenID string `json:"token_id"`
}

type ERC721ApprovedRequest

type ERC721ApprovedRequest struct {
	Caller          string `json:"caller"`
	ContractAddress string `json:"contract_address"`
	TokenID         string `json:"token_id"`
}

type ERC721ApprovedResponse

type ERC721ApprovedResponse struct {
	Approved string `json:"approved"`
}

type ERC721IsApprovedForAllRequest

type ERC721IsApprovedForAllRequest struct {
	Caller          string `json:"caller"`
	ContractAddress string `json:"contract_address"`
	Owner           string `json:"owner"`
	Operator        string `json:"operator"`
}

type ERC721IsApprovedForAllResponse

type ERC721IsApprovedForAllResponse struct {
	IsApproved bool `json:"is_approved"`
}

type ERC721NameSymbolRequest

type ERC721NameSymbolRequest struct {
	Caller          string `json:"caller"`
	ContractAddress string `json:"contract_address"`
}

type ERC721NameSymbolResponse

type ERC721NameSymbolResponse struct {
	Name   string `json:"name"`
	Symbol string `json:"symbol"`
}

type ERC721OwnerRequest

type ERC721OwnerRequest struct {
	Caller          string `json:"caller"`
	ContractAddress string `json:"contract_address"`
	TokenID         string `json:"token_id"`
}

type ERC721OwnerResponse

type ERC721OwnerResponse struct {
	Owner string `json:"owner"`
}

type ERC721SetApprovalAllPayloadRequest

type ERC721SetApprovalAllPayloadRequest struct {
	To       string `json:"to"`
	Approved bool   `json:"approved"`
}

type ERC721TransferPayloadRequest

type ERC721TransferPayloadRequest struct {
	From      string `json:"from"`
	Recipient string `json:"recipient"`
	TokenID   string `json:"token_id"`
}

type ERC721UriRequest

type ERC721UriRequest struct {
	Caller          string `json:"caller"`
	ContractAddress string `json:"contract_address"`
	TokenID         string `json:"token_id"`
}

type ERC721UriResponse

type ERC721UriResponse struct {
	Uri string `json:"uri"`
}

type ERCPayloadResponse

type ERCPayloadResponse struct {
	EncodedPayload string `json:"encoded_payload"`
}

type GetEvmAddressRequest

type GetEvmAddressRequest struct {
	SeiAddress string `json:"sei_address"`
}

type GetEvmAddressResponse

type GetEvmAddressResponse struct {
	EvmAddress string `json:"evm_address"`
	Associated bool   `json:"associated"`
}

type GetSeiAddressRequest

type GetSeiAddressRequest struct {
	EvmAddress string `json:"evm_address"`
}

type GetSeiAddressResponse

type GetSeiAddressResponse struct {
	SeiAddress string `json:"sei_address"`
	Associated bool   `json:"associated"`
}

type SeiEVMQuery

type SeiEVMQuery struct {
	StaticCall                  *StaticCallRequest                  `json:"static_call,omitempty"`
	ERC20TransferPayload        *ERC20TransferPayloadRequest        `json:"erc20_transfer_payload,omitempty"`
	ERC20TransferFromPayload    *ERC20TransferFromPayloadRequest    `json:"erc20_transfer_from_payload,omitempty"`
	ERC20ApprovePayload         *ERC20ApprovePayloadRequest         `json:"erc20_approve_payload,omitempty"`
	ERC20Allowance              *ERC20AllowanceRequest              `json:"erc20_allowance,omitempty"`
	ERC20TokenInfo              *ERC20TokenInfoRequest              `json:"erc20_token_info,omitempty"`
	ERC20Balance                *ERC20BalanceRequest                `json:"erc20_balance,omitempty"`
	ERC721Owner                 *ERC721OwnerRequest                 `json:"erc721_owner,omitempty"`
	ERC721TransferPayload       *ERC721TransferPayloadRequest       `json:"erc721_transfer_payload,omitempty"`
	ERC721ApprovePayload        *ERC721ApprovePayloadRequest        `json:"erc721_approve_payload,omitempty"`
	ERC721SetApprovalAllPayload *ERC721SetApprovalAllPayloadRequest `json:"erc721_set_approval_all_payload,omitempty"`
	ERC721Approved              *ERC721ApprovedRequest              `json:"erc721_approved,omitempty"`
	ERC721IsApprovedForAll      *ERC721IsApprovedForAllRequest      `json:"erc721_is_approved_for_all,omitempty"`
	ERC721NameSymbol            *ERC721NameSymbolRequest            `json:"erc721_name_symbol,omitempty"`
	ERC721Uri                   *ERC721UriRequest                   `json:"erc721_uri,omitempty"`
	GetEvmAddress               *GetEvmAddressRequest               `json:"get_evm_address,omitempty"`
	GetSeiAddress               *GetSeiAddressRequest               `json:"get_sei_address,omitempty"`
}

type StaticCallRequest

type StaticCallRequest struct {
	From string `json:"from"`
	To   string `json:"to"`
	Data []byte `json:"data"`
}

type StaticCallResponse

type StaticCallResponse struct {
	EncodedData string `json:"encoded_data"`
}

Jump to

Keyboard shortcuts

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