forked from TrueCloudLab/neoneo-go
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
|
||||
|
||||
import (
|
||||
"github.com/CityOfZion/neo-go-sc/interop/runtime"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/util"
|
||||
"github.com/CityOfZion/neo-storm/interop/runtime"
|
||||
"github.com/CityOfZion/neo-storm/interop/util"
|
||||
)
|
||||
|
||||
// Check if the invoker of the contract is the specified owner
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package storage_contract
|
||||
|
||||
import (
|
||||
"github.com/CityOfZion/neo-go-sc/interop/storage"
|
||||
"github.com/CityOfZion/neo-storm/interop/storage"
|
||||
)
|
||||
|
||||
func Main(operation string, args []interface{}) interface{} {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package account
|
||||
|
||||
// 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.
|
||||
type Account struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package asset
|
||||
|
||||
// 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.
|
||||
type Asset struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package attribute
|
||||
|
||||
// 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.
|
||||
type Attribute struct{}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
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
|
||||
// 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.
|
||||
type Block struct{}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
package blockchain
|
||||
|
||||
import (
|
||||
"github.com/CityOfZion/neo-go-sc/interop/account"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/asset"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/block"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/contract"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/header"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/transaction"
|
||||
"github.com/CityOfZion/neo-storm/interop/account"
|
||||
"github.com/CityOfZion/neo-storm/interop/asset"
|
||||
"github.com/CityOfZion/neo-storm/interop/block"
|
||||
"github.com/CityOfZion/neo-storm/interop/contract"
|
||||
"github.com/CityOfZion/neo-storm/interop/header"
|
||||
"github.com/CityOfZion/neo-storm/interop/transaction"
|
||||
)
|
||||
|
||||
// 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.
|
||||
func GetHeight() int {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package contract
|
||||
|
||||
// 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.
|
||||
type Contract struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package header
|
||||
|
||||
// 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.
|
||||
type Header struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package input
|
||||
|
||||
// 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.
|
||||
type Input struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package output
|
||||
|
||||
// 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.
|
||||
type Output struct{}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package runtime
|
||||
|
||||
// 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.
|
||||
func CheckWitness(hash []byte) bool {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package storage
|
||||
|
||||
// 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
|
||||
type Context struct{}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package transaction
|
||||
|
||||
import (
|
||||
"github.com/CityOfZion/neo-go-sc/interop/attribute"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/input"
|
||||
"github.com/CityOfZion/neo-go-sc/interop/output"
|
||||
"github.com/CityOfZion/neo-storm/interop/attribute"
|
||||
"github.com/CityOfZion/neo-storm/interop/input"
|
||||
"github.com/CityOfZion/neo-storm/interop/output"
|
||||
)
|
||||
|
||||
// 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.
|
||||
type Transaction struct{}
|
||||
|
|
Loading…
Reference in a new issue