slashing_sol

package
v0.0.0-...-7b0d77e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

README

go-daily-abi

Read tutorial inside slashing_contract_solidity_structs.go file

Prerequisites
solc

sudo add-apt-repository ppa:ethereum/ethereum sudo apt-get update sudo apt-get install solc

abigen (needed only if implementing client)

go get -u github.com/ethereum/go-ethereum cd $GOPATH/pkg/mod/github.com/ethereum/go-ethereum/ make make devtools

Create SC ABI

run

solc --abi --overwrite --optimize slashing_contract_interface.sol --output-dir .
Create SC go class

run

abigen --abi=SlashingInterface.abi --pkg=dailySlashingClient --out=slashing_contract_interface.go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DailySlashingClientMetaData = "" /* 1142-byte string literal not displayed */

Functions

This section is empty.

Types

type CommitDoubleVotingProofArgs

type CommitDoubleVotingProofArgs struct {
	VoteA []byte
	VoteB []byte
}

type ValidatorArg

type ValidatorArg struct {
	Validator common.Address
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL