# README
Smart contract Golang Binding
When changes are made to the smart contracts function signatures it is necessary to regenerate the Golang bindings so that the core projects stays compatible. For more info check the Smart Contract Readme.
To generate a contract.go from an ABI
- Go to https://geth.ethereum.org/downloads/ and download the most recent Geth & Tools
- Copy "abigen" to $GOPATH/bin
- Run
$GOPATH/bin/abigen --abi [ABI FILE] --pkg wallet --type [name of contract] --out [output file]
Example:
$GOPATH/bin/abigen --abi ~/Projects/Proxeus/wallet-blockchain/DocumentRegistry.abi --pkg wallet --type DocumentRegistry --out ~/Projects/Proxeus/wallet-blockchain/documentRegistry.go
# Functions
Returns an hex string representation of a message to be used for login challenge.
No description provided by the author
FreeXES sends testnet XES to given wallet address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewToken creates a new instance of Token, bound to a specific deployed contract.
No description provided by the author
Verifies if the given signature matches the provided challenge and returns the address of the wallet that made the signature.
# Constants
ProxeusFSABI is the input ABI used to generate the binding from.
TokenABI is the input ABI used to generate the binding from.
XesMainTokenABI is the input ABI used to generate the binding from.
# Variables
Special error returned when signature verification fails.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ProxeusFSFileSignedEvent represents a FileSignedEvent event raised by the ProxeusFS contract.
No description provided by the author
Token is an auto generated Go binding around an Ethereum contract.
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
XesMainTokenTransfer represents a Transfer event raised by the XesMainToken contract.