MCPcopy Create free account

hub / github.com/CityOfZion/neo-storm / functions

Functions167 in github.com/CityOfZion/neo-storm

FunctionGetBalance
GetBalance returns the balance of for the given account and asset id.
interop/account/account.go:21
FunctionGetBlock
GetBlock returns the block found by the given hash or index.
interop/blockchain/blockchain.go:26
FunctionGetConsensusData
GetConsensusData returns the consensus data of the given header.
interop/header/header.go:40
FunctionGetContract
GetContract returns the contract found by the given script hash.
interop/blockchain/blockchain.go:36
FunctionGetData
GetData returns the data of the given attribute.
interop/attribute/attribute.go:15
FunctionGetHash
GetHash returns the hash of the given header.
interop/header/header.go:15
FunctionGetHash
GetHash returns the hash of the given input.
interop/input/input.go:10
FunctionGetHash
GetHash returns the hash of the given transaction.
interop/transaction/transaction.go:16
FunctionGetHeader
GetHeader returns the header found by the given hash or index.
interop/blockchain/blockchain.go:21
FunctionGetHeight
Package blockchain provides function signatures that can be used inside smart contracts that are written in the neo-storm framework. GetHeight returns
interop/blockchain/blockchain.go:16
FunctionGetIndex
GetIndex returns the index of the given header.
interop/header/header.go:10
FunctionGetIndex
GetIndex returns the index of the given input.
interop/input/input.go:15
FunctionGetInputs
GetInputs returns the inputs of the given transaction.
interop/transaction/transaction.go:43
FunctionGetIssuer
GetIssuer returns the issuer of the given asset.
interop/asset/asset.go:45
FunctionGetMerkleRoot
GetMerkleRoot returns the merkle root of the given header.
interop/header/header.go:35
FunctionGetNextConsensus
GetNextConsensus returns the next consensus of the given header.
interop/header/header.go:45
FunctionGetOutputs
GetOutputs returns the outputs of the given transaction.
interop/transaction/transaction.go:48
FunctionGetOwner
GetOwner returns the owner of the given asset.
interop/asset/asset.go:35
FunctionGetPrecision
GetPrecision returns the precision of the given asset.
interop/asset/asset.go:30
FunctionGetPrevHash
GetPrevHash returns the previous hash of the given header.
interop/header/header.go:20
FunctionGetReferences
FIXME: What is the correct return type for this? GetReferences returns a slice of references for the given transaction.
interop/transaction/transaction.go:32
FunctionGetScript
GetScript returns the script of the given contract.
interop/contract/contract.go:12
FunctionGetScriptHash
GetScriptHash returns the script hash of the given output.
interop/output/output.go:20
FunctionGetScriptHash
GetScripHash returns the script hash of the given account.
interop/account/account.go:10
FunctionGetStorageContext
GetStorageContext returns the storage context for the given contract.
interop/contract/contract.go:22
FunctionGetTime
GetTime returns the timestamp of the most recent block.
interop/runtime/runtime.go:20
FunctionGetTimestamp
GetTimestamp returns the timestamp of the given header.
interop/header/header.go:25
FunctionGetTransaction
GetTransaction returns the transaction found by the given hash.
interop/blockchain/blockchain.go:31
FunctionGetTransaction
GetTransaction returns a transaction from the given a block hash of the transaction.
interop/block/block.go:23
FunctionGetTransactionCount
GetTransactionCount return the number of recorded transactions in the given block.
interop/block/block.go:12
FunctionGetTransactions
GetTransactions returns a slice of transactions recorded in the given block.
interop/block/block.go:17
FunctionGetType
GetType returns the type of the given transaction.
interop/transaction/transaction.go:21
FunctionGetUnspentCoins
FIXME: What is the correct return type for this? GetUnspentCoins returns the unspent coins for the given transaction.
interop/transaction/transaction.go:38
FunctionGetUsage
GetUsage returns the usage of the given attribute.
interop/attribute/attribute.go:10
FunctionGetValidators
GetValidators returns a slice of validator addresses.
interop/blockchain/blockchain.go:46
FunctionGetValue
GetValue returns the value of the given output.
interop/output/output.go:15
FunctionGetVersion
GetVersion returns the version of the given header.
interop/header/header.go:30
FunctionGetVotes
GetVotes returns the votes of the given account which should be a slice of public key raw bytes.
interop/account/account.go:16
FunctionHash160
Hash160 computes the sha256 + ripemd160 of b.
interop/crypto/crypto.go:17
FunctionHash256
Hash256 computes the sha256^2 hash of b.
interop/crypto/crypto.go:22
FunctionIsPayable
IsPayable returns whether the given contract is payable.
interop/contract/contract.go:17
FunctionKey
TODO: Better description for this. Key returns the iterator key.
interop/iterator/iterator.go:16
FunctionMain
(operation string, args []interface{})
examples/storage/storage.go:7
FunctionMain
()
examples/engine/engine.go:8
FunctionMain
()
examples/iterator/iterator.go:9
FunctionMain
Main function = contract entry
examples/token/token.go:30
FunctionMain
(operation string, args []interface{})
examples/runtime/runtime.go:11
FunctionMigrate
Migrate migrates a new contract. @FIXME What is the type of the returnType here?
interop/contract/contract.go:42
FunctionNext
Next returns the next item in the iteration.
interop/enumerator/enumerator.go:17
FunctionRenew
Renew renews the existance of an asset by the given years.
interop/asset/asset.go:53
FunctionSHA1
Package crypto provides function signatures that can be used inside smart contracts that are written in the neo-storm framework. SHA1 computes the sha
interop/crypto/crypto.go:7
FunctionSHA256
SHA256 computes the sha256 hash of b.
interop/crypto/crypto.go:12
FunctionSerialize
Serialize serializes and item into a bytearray.
interop/runtime/runtime.go:41
FunctionTestArrayReverse
(t *testing.T)
compiler/emit_test.go:9
FunctionTestCommand_InitSmartContract
(t *testing.T)
cli/main_test.go:26
FunctionTestExamplesFolder
(t *testing.T)
compiler/compiler_test.go:14
FunctionValue
Value returns the enumerator value.
interop/enumerator/enumerator.go:22
MethodVisit
(node ast.Node)
compiler/codegen.go:202
MethodanalyzeVoidCalls
analyzeVoidCalls will check for functions that are not assigned and therefore we need to cleanup the return value from the stack.
compiler/func_scope.go:51
FunctioncontractCompile
(ctx *cli.Context)
cli/main.go:142
FunctioncontractTestInvoke
(ctx *cli.Context)
cli/main.go:160
Functiongopath
()
compiler/compiler.go:131
Functioninit
()
compiler/compiler.go:139
Functioninit
()
cli/main_test.go:21
FunctioninitSmartContract
initSmartContract initializes a given directory with some boiler plate code.
cli/main.go:104
Functioninspect
(ctx *cli.Context)
cli/main.go:249
Functionmain
()
cli/main.go:38
← previous101–167 of 167, ranked by callers