mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-24 19:24:35 +00:00
renamed path to match the new project name (CityOfZion/neo-storm#8)
Imported from CityOfZion/neo-storm (d022d46cd851de78ee041851a80dc34e3b3b68d1).
This commit is contained in:
parent
523789ee1c
commit
05cd2775e2
14 changed files with 25 additions and 25 deletions
|
@ -1,8 +1,8 @@
|
||||||
package runtime_contract
|
package runtime_contract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/runtime"
|
"github.com/CityOfZion/neo-storm/interop/runtime"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/util"
|
"github.com/CityOfZion/neo-storm/interop/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Check if the invoker of the contract is the specified owner
|
// Check if the invoker of the contract is the specified owner
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage_contract
|
package storage_contract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/storage"
|
"github.com/CityOfZion/neo-storm/interop/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Main(operation string, args []interface{}) interface{} {
|
func Main(operation string, args []interface{}) interface{} {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package account
|
package account
|
||||||
|
|
||||||
// Package account provides function signatures that can be used inside
|
// Package account provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Account stubs a NEO account type.
|
// Account stubs a NEO account type.
|
||||||
type Account struct{}
|
type Account struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package asset
|
package asset
|
||||||
|
|
||||||
// Package asset provides function signatures that can be used inside
|
// Package asset provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Asset stubs a NEO asset type.
|
// Asset stubs a NEO asset type.
|
||||||
type Asset struct{}
|
type Asset struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package attribute
|
package attribute
|
||||||
|
|
||||||
// Package attribute provides function signatures that can be used inside
|
// Package attribute provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Attribute stubs a NEO transaction attribute type.
|
// Attribute stubs a NEO transaction attribute type.
|
||||||
type Attribute struct{}
|
type Attribute struct{}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package block
|
package block
|
||||||
|
|
||||||
import "github.com/CityOfZion/neo-go-sc/interop/transaction"
|
import "github.com/CityOfZion/neo-storm/interop/transaction"
|
||||||
|
|
||||||
// Package block provides function signatures that can be used inside
|
// Package block provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Block stubs a NEO block type.
|
// Block stubs a NEO block type.
|
||||||
type Block struct{}
|
type Block struct{}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package blockchain
|
package blockchain
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/account"
|
"github.com/CityOfZion/neo-storm/interop/account"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/asset"
|
"github.com/CityOfZion/neo-storm/interop/asset"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/block"
|
"github.com/CityOfZion/neo-storm/interop/block"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/contract"
|
"github.com/CityOfZion/neo-storm/interop/contract"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/header"
|
"github.com/CityOfZion/neo-storm/interop/header"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/transaction"
|
"github.com/CityOfZion/neo-storm/interop/transaction"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Package blockchain provides function signatures that can be used inside
|
// Package blockchain provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// GetHeight returns the height of te block recorded in the current execution scope.
|
// GetHeight returns the height of te block recorded in the current execution scope.
|
||||||
func GetHeight() int {
|
func GetHeight() int {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package contract
|
package contract
|
||||||
|
|
||||||
// Package contract provides function signatures that can be used inside
|
// Package contract provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Contract stubs a NEO contract type.
|
// Contract stubs a NEO contract type.
|
||||||
type Contract struct{}
|
type Contract struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package header
|
package header
|
||||||
|
|
||||||
// Package header provides function signatures that can be used inside
|
// Package header provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Header stubs a NEO block header type.
|
// Header stubs a NEO block header type.
|
||||||
type Header struct{}
|
type Header struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package input
|
package input
|
||||||
|
|
||||||
// Package input provides function signatures that can be used inside
|
// Package input provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Input stubs the input of a NEO transaction.
|
// Input stubs the input of a NEO transaction.
|
||||||
type Input struct{}
|
type Input struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package output
|
package output
|
||||||
|
|
||||||
// Package output provides function signatures that can be used inside
|
// Package output provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Output stubs the output of a NEO transaction.
|
// Output stubs the output of a NEO transaction.
|
||||||
type Output struct{}
|
type Output struct{}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
// Package runtime provides function signatures that can be used inside
|
// Package runtime provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// CheckWitness verifies if the given hash is the invoker of the contract.
|
// CheckWitness verifies if the given hash is the invoker of the contract.
|
||||||
func CheckWitness(hash []byte) bool {
|
func CheckWitness(hash []byte) bool {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
// Package storage provides function signatures that can be used inside
|
// Package storage provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Context represents the storage context
|
// Context represents the storage context
|
||||||
type Context struct{}
|
type Context struct{}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package transaction
|
package transaction
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/attribute"
|
"github.com/CityOfZion/neo-storm/interop/attribute"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/input"
|
"github.com/CityOfZion/neo-storm/interop/input"
|
||||||
"github.com/CityOfZion/neo-go-sc/interop/output"
|
"github.com/CityOfZion/neo-storm/interop/output"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Package transaction provides function signatures that can be used inside
|
// Package transaction provides function signatures that can be used inside
|
||||||
// smart contracts that are written in the neo-go-sc framework.
|
// smart contracts that are written in the neo-storm framework.
|
||||||
|
|
||||||
// Transaction stubs a NEO transaction type.
|
// Transaction stubs a NEO transaction type.
|
||||||
type Transaction struct{}
|
type Transaction struct{}
|
||||||
|
|
Loading…
Reference in a new issue