Documentation ¶
Index ¶
- type ApiError
- type Config
- type Export
- type ExportTransactionRequest
- type ExportTransactionResponse
- type GenerateAccessTokenRequest
- type GetProjectsResponse
- type LoginRequest
- type LogoutResponse
- type NetworkData
- type NetworkResponse
- type NetworksResponse
- type ProjectRequest
- type ProjectResponse
- type RegisterRequest
- type TokenResponse
- type TransactionData
- type UploadContractsRequest
- type UploadContractsResponse
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.0
type Config struct { OptimizationsUsed *bool `json:"optimizations_used,omitempty"` OptimizationsCount *int `json:"optimizations_count,omitempty"` EvmVersion *string `json:"evm_version,omitempty"` }
func ParseBuidlerConfig ¶ added in v0.9.0
func ParseNewTruffleConfig ¶ added in v0.4.0
func ParseOldTruffleConfig ¶ added in v0.4.0
type Export ¶ added in v0.6.0
type Export struct { ID string `json:"id"` Hash string `json:"hash"` BlockHash string `json:"block_hash"` BlockNumber int64 `json:"block_number"` From string `json:"from"` Gas int64 `json:"gas"` GasPrice int64 `json:"gas_price"` Input string `json:"input"` Nonce int64 `json:"nonce"` To *string `json:"to"` Value string `json:"value"` Status bool `json:"status"` }
type ExportTransactionRequest ¶ added in v0.6.0
type ExportTransactionRequest struct { NetworkData NetworkData `json:"network_data"` TransactionData TransactionData `json:"transaction_data"` ContractsData UploadContractsRequest `json:"contracts_data"` }
type ExportTransactionResponse ¶ added in v0.6.0
type ExportTransactionResponse struct { Export *Export `json:"export"` Contracts []providers.ApiContract `json:"contracts"` Error *ApiError `json:"error"` }
type GenerateAccessTokenRequest ¶ added in v0.8.0
type GenerateAccessTokenRequest struct {
Name string `json:"name"`
}
type GetProjectsResponse ¶
type LoginRequest ¶
type LogoutResponse ¶ added in v0.8.0
type LogoutResponse struct {
Error *ApiError `json:"error"`
}
type NetworkData ¶ added in v0.6.0
type NetworkData struct { Name string `json:"name"` NetworkId string `json:"network_id"` ForkedNetwork string `json:"forked_network"` ChainConfig *params.ChainConfig `json:"chain_config"` }
type NetworkResponse ¶ added in v0.8.0
type NetworksResponse ¶ added in v0.8.0
type NetworksResponse []*NetworkResponse
type ProjectRequest ¶
type ProjectRequest struct {
Name string `json:"name"`
}
func (ProjectRequest) Valid ¶
func (r ProjectRequest) Valid() bool
type ProjectResponse ¶
type RegisterRequest ¶
type RegisterRequest struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Username string `json:"username"` Email string `json:"email"` Password string `json:"password"` }
func (RegisterRequest) Valid ¶
func (r RegisterRequest) Valid() bool
type TokenResponse ¶
type TransactionData ¶ added in v0.6.0
type TransactionData struct { Transaction types.Transaction `json:"transaction"` State *model.TransactionState `json:"state"` Status bool `json:"status"` }
type UploadContractsRequest ¶
type UploadContractsResponse ¶
type UploadContractsResponse struct { Contracts []providers.ApiContract `json:"contracts"` Error *ApiError `json:"error"` }
type UserResponse ¶
Click to show internal directories.
Click to hide internal directories.