read-history
Utility tool for reading the history of passport changes.
Usage
Usage of ./read-history
:
-backendurl string
backend URL (simulated backend used if empty)
-ftype string
the data type of fact (txdata, string, bytes, address, uint, int, bool, ipfs)
-ipfsurl string
IPFS node address (default "https://ipfs.infura.io:5001")
-out string
save retrieved data to the specified file
-passportaddr value
Ethereum address of passport contract
-txhash value
the transaction hash to read history value from
-verbosity int
log verbosity (0-9) (default 2)
-vmodule string
log verbosity pattern
When the -ftype
and -txhash
options are omitted, the entire change history is returned.
Specifying the parameters -ftype
and -txhash
allows you to read the value of the specified type from the specified transaction.
Examples