Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CityOfZion/neo-storm
/ functions
Functions
167 in github.com/CityOfZion/neo-storm
⨍
Functions
167
◇
Types & classes
21
Function
GetBalance
GetBalance returns the balance of for the given account and asset id.
interop/account/account.go:21
Function
GetBlock
GetBlock returns the block found by the given hash or index.
interop/blockchain/blockchain.go:26
Function
GetConsensusData
GetConsensusData returns the consensus data of the given header.
interop/header/header.go:40
Function
GetContract
GetContract returns the contract found by the given script hash.
interop/blockchain/blockchain.go:36
Function
GetData
GetData returns the data of the given attribute.
interop/attribute/attribute.go:15
Function
GetHash
GetHash returns the hash of the given header.
interop/header/header.go:15
Function
GetHash
GetHash returns the hash of the given input.
interop/input/input.go:10
Function
GetHash
GetHash returns the hash of the given transaction.
interop/transaction/transaction.go:16
Function
GetHeader
GetHeader returns the header found by the given hash or index.
interop/blockchain/blockchain.go:21
Function
GetHeight
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
Function
GetIndex
GetIndex returns the index of the given header.
interop/header/header.go:10
Function
GetIndex
GetIndex returns the index of the given input.
interop/input/input.go:15
Function
GetInputs
GetInputs returns the inputs of the given transaction.
interop/transaction/transaction.go:43
Function
GetIssuer
GetIssuer returns the issuer of the given asset.
interop/asset/asset.go:45
Function
GetMerkleRoot
GetMerkleRoot returns the merkle root of the given header.
interop/header/header.go:35
Function
GetNextConsensus
GetNextConsensus returns the next consensus of the given header.
interop/header/header.go:45
Function
GetOutputs
GetOutputs returns the outputs of the given transaction.
interop/transaction/transaction.go:48
Function
GetOwner
GetOwner returns the owner of the given asset.
interop/asset/asset.go:35
Function
GetPrecision
GetPrecision returns the precision of the given asset.
interop/asset/asset.go:30
Function
GetPrevHash
GetPrevHash returns the previous hash of the given header.
interop/header/header.go:20
Function
GetReferences
FIXME: What is the correct return type for this? GetReferences returns a slice of references for the given transaction.
interop/transaction/transaction.go:32
Function
GetScript
GetScript returns the script of the given contract.
interop/contract/contract.go:12
Function
GetScriptHash
GetScriptHash returns the script hash of the given output.
interop/output/output.go:20
Function
GetScriptHash
GetScripHash returns the script hash of the given account.
interop/account/account.go:10
Function
GetStorageContext
GetStorageContext returns the storage context for the given contract.
interop/contract/contract.go:22
Function
GetTime
GetTime returns the timestamp of the most recent block.
interop/runtime/runtime.go:20
Function
GetTimestamp
GetTimestamp returns the timestamp of the given header.
interop/header/header.go:25
Function
GetTransaction
GetTransaction returns the transaction found by the given hash.
interop/blockchain/blockchain.go:31
Function
GetTransaction
GetTransaction returns a transaction from the given a block hash of the transaction.
interop/block/block.go:23
Function
GetTransactionCount
GetTransactionCount return the number of recorded transactions in the given block.
interop/block/block.go:12
Function
GetTransactions
GetTransactions returns a slice of transactions recorded in the given block.
interop/block/block.go:17
Function
GetType
GetType returns the type of the given transaction.
interop/transaction/transaction.go:21
Function
GetUnspentCoins
FIXME: What is the correct return type for this? GetUnspentCoins returns the unspent coins for the given transaction.
interop/transaction/transaction.go:38
Function
GetUsage
GetUsage returns the usage of the given attribute.
interop/attribute/attribute.go:10
Function
GetValidators
GetValidators returns a slice of validator addresses.
interop/blockchain/blockchain.go:46
Function
GetValue
GetValue returns the value of the given output.
interop/output/output.go:15
Function
GetVersion
GetVersion returns the version of the given header.
interop/header/header.go:30
Function
GetVotes
GetVotes returns the votes of the given account which should be a slice of public key raw bytes.
interop/account/account.go:16
Function
Hash160
Hash160 computes the sha256 + ripemd160 of b.
interop/crypto/crypto.go:17
Function
Hash256
Hash256 computes the sha256^2 hash of b.
interop/crypto/crypto.go:22
Function
IsPayable
IsPayable returns whether the given contract is payable.
interop/contract/contract.go:17
Function
Key
TODO: Better description for this. Key returns the iterator key.
interop/iterator/iterator.go:16
Function
Main
(operation string, args []interface{})
examples/storage/storage.go:7
Function
Main
()
examples/engine/engine.go:8
Function
Main
()
examples/iterator/iterator.go:9
Function
Main
Main function = contract entry
examples/token/token.go:30
Function
Main
(operation string, args []interface{})
examples/runtime/runtime.go:11
Function
Migrate
Migrate migrates a new contract. @FIXME What is the type of the returnType here?
interop/contract/contract.go:42
Function
Next
Next returns the next item in the iteration.
interop/enumerator/enumerator.go:17
Function
Renew
Renew renews the existance of an asset by the given years.
interop/asset/asset.go:53
Function
SHA1
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
Function
SHA256
SHA256 computes the sha256 hash of b.
interop/crypto/crypto.go:12
Function
Serialize
Serialize serializes and item into a bytearray.
interop/runtime/runtime.go:41
Function
TestArrayReverse
(t *testing.T)
compiler/emit_test.go:9
Function
TestCommand_InitSmartContract
(t *testing.T)
cli/main_test.go:26
Function
TestExamplesFolder
(t *testing.T)
compiler/compiler_test.go:14
Function
Value
Value returns the enumerator value.
interop/enumerator/enumerator.go:22
Method
Visit
(node ast.Node)
compiler/codegen.go:202
Method
analyzeVoidCalls
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
Function
contractCompile
(ctx *cli.Context)
cli/main.go:142
Function
contractTestInvoke
(ctx *cli.Context)
cli/main.go:160
Function
gopath
()
compiler/compiler.go:131
Function
init
()
compiler/compiler.go:139
Function
init
()
cli/main_test.go:21
Function
initSmartContract
initSmartContract initializes a given directory with some boiler plate code.
cli/main.go:104
Function
inspect
(ctx *cli.Context)
cli/main.go:249
Function
main
()
cli/main.go:38
← previous
101–167 of 167, ranked by callers