Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearWatchedAddresses ¶
Types ¶
type ContractDeployed ¶
type ContractDeployed struct { Address string `json:"address"` TransactionHash string `json:"txHash"` BlockNumber int `json:"blockNumber"` BlockHash string `json:"blockHash"` }
func Create2Contract ¶
func Create2Contract(contractName string, salt string) (*ContractDeployed, error)
func DeployContract ¶
func DeployContract() (*ContractDeployed, error)
func DeploySLVContract ¶
func DeploySLVContract() (*ContractDeployed, error)
type ContractDestroyed ¶
type ContractDestroyed struct {
BlockNumber int64 `json:"blockNumber"`
}
func DestroyContract ¶
func DestroyContract(addr string) (*ContractDestroyed, error)
func DestroySLVContract ¶
func DestroySLVContract(addr string) (*ContractDestroyed, error)
type CountIncremented ¶
type CountIncremented struct {
BlockNumber int64 `json:"blockNumber"`
}
func IncrementCount ¶
func IncrementCount(addr string, count string) (*CountIncremented, error)
type StorageKey ¶
type StorageKey struct {
Key string `json:"key"`
}
func GetStorageSlotKey ¶
func GetStorageSlotKey(contract string, label string) (*StorageKey, error)
Click to show internal directories.
Click to hide internal directories.