Documentation ¶
Overview ¶
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. * * The ontology is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The ontology is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with The ontology. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransaction ¶
func NewTransaction(tx *types.Transaction, height uint32) *transaction
func StartServer ¶
func StartServer(cfg *config.GraphQLConfig)
Types ¶
type Addr ¶
func (Addr) ImplementsGraphQLType ¶
func (Addr) MarshalJSON ¶
func (*Addr) UnmarshalGraphQL ¶
type H256 ¶
func (H256) ImplementsGraphQLType ¶
func (H256) MarshalJSON ¶
func (*H256) UnmarshalGraphQL ¶
type PubKey ¶
type PubKey string
func (PubKey) ImplementsGraphQLType ¶
func (PubKey) MarshalJSON ¶
func (*PubKey) UnmarshalGraphQL ¶
type TxPayload ¶
type TxPayload struct {
// contains filtered or unexported fields
}
func NewTxPayload ¶
func (*TxPayload) ToDeployCode ¶
func (*TxPayload) ToInvokeCode ¶
type TxType ¶
type TxType string
const DEPLOY_NEO TxType = "DEPLOY_NEO"
const DEPLOY_WASM TxType = "DEPLOY_WASM"
const INVOKE_NEO TxType = "INVOKE_NEO"
const INVOKE_WASM TxType = "INVOKE_WASM"
type Uint32 ¶
type Uint32 uint32