ehrIndexer

package
v0.0.0-...-4eea697 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EhrIndexerABI = EhrIndexerMetaData.ABI

EhrIndexerABI is the input ABI used to generate the binding from. Deprecated: Use EhrIndexerMetaData.ABI instead.

View Source
var EhrIndexerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_accessStore\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_users\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"accessStore\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structIDocs.AddEhrDocParams\",\"name\":\"p\",\"type\":\"tuple\"}],\"name\":\"addEhrDoc\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowedChange\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"ehrId\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"docBaseUIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"deleteDoc\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"docCIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"docCIDEncr\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"docGroupAddDoc\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"groupIDHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structDocGroups.DocGroupCreateParams\",\"name\":\"p\",\"type\":\"tuple\"}],\"name\":\"docGroupCreate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIdHash\",\"type\":\"bytes32\"}],\"name\":\"docGroupGetAttrs\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"groupIdHash\",\"type\":\"bytes32\"}],\"name\":\"docGroupGetDocs\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ehrIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ehrSubject\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"ehrID\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"}],\"name\":\"getDocByTime\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"isLast\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIDocs.DocumentMeta\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"ehrId\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"docBaseUIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"}],\"name\":\"getDocByVersion\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"isLast\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIDocs.DocumentMeta\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"UIDHash\",\"type\":\"bytes32\"}],\"name\":\"getDocLastByBaseID\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"isLast\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIDocs.DocumentMeta\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"}],\"name\":\"getEhrDocs\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"isLast\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIDocs.DocumentMeta[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"userIDHash\",\"type\":\"bytes32\"}],\"name\":\"getEhrUser\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"ehrId\",\"type\":\"bytes32\"},{\"internalType\":\"enumIDocs.Type\",\"name\":\"docType\",\"type\":\"uint8\"}],\"name\":\"getLastEhrDocByType\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIDocs.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"id\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"version\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"isLast\",\"type\":\"bool\"},{\"components\":[{\"internalType\":\"enumAttributes.Code\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"internalType\":\"structAttributes.Attribute[]\",\"name\":\"attrs\",\"type\":\"tuple[]\"}],\"internalType\":\"structIDocs.DocumentMeta\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"accessID\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"enumIAccessStore.AccessKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"idHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"idEncr\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"keyEncr\",\"type\":\"bytes\"},{\"internalType\":\"enumIAccessStore.AccessLevel\",\"name\":\"level\",\"type\":\"uint8\"}],\"internalType\":\"structIAccessStore.Access\",\"name\":\"a\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"setAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setAllowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"subjectKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"ehrId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"setEhrSubject\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"IDHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"ehrId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"setEhrUser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"users\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

EhrIndexerMetaData contains all meta data concerning the EhrIndexer contract.

Functions

This section is empty.

Types

type AttributesAttribute

type AttributesAttribute struct {
	Code  uint8
	Value []byte
}

AttributesAttribute is an auto generated low-level Go binding around an user-defined struct.

type DocGroupsDocGroupCreateParams

type DocGroupsDocGroupCreateParams struct {
	GroupIDHash [32]byte
	Attrs       []AttributesAttribute
	Signer      common.Address
	Deadline    *big.Int
	Signature   []byte
}

DocGroupsDocGroupCreateParams is an auto generated low-level Go binding around an user-defined struct.

type EhrIndexer

type EhrIndexer struct {
	EhrIndexerCaller     // Read-only binding to the contract
	EhrIndexerTransactor // Write-only binding to the contract
	EhrIndexerFilterer   // Log filterer for contract events
}

EhrIndexer is an auto generated Go binding around an Ethereum contract.

func NewEhrIndexer

func NewEhrIndexer(address common.Address, backend bind.ContractBackend) (*EhrIndexer, error)

NewEhrIndexer creates a new instance of EhrIndexer, bound to a specific deployed contract.

type EhrIndexerCaller

type EhrIndexerCaller struct {
	// contains filtered or unexported fields
}

EhrIndexerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewEhrIndexerCaller

func NewEhrIndexerCaller(address common.Address, caller bind.ContractCaller) (*EhrIndexerCaller, error)

NewEhrIndexerCaller creates a new read-only instance of EhrIndexer, bound to a specific deployed contract.

func (*EhrIndexerCaller) AccessStore

func (_EhrIndexer *EhrIndexerCaller) AccessStore(opts *bind.CallOpts) (common.Address, error)

AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.

Solidity: function accessStore() view returns(address)

func (*EhrIndexerCaller) AllowedChange

func (_EhrIndexer *EhrIndexerCaller) AllowedChange(opts *bind.CallOpts, arg0 common.Address) (bool, error)

AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.

Solidity: function allowedChange(address ) view returns(bool)

func (*EhrIndexerCaller) DocGroupGetAttrs

func (_EhrIndexer *EhrIndexerCaller) DocGroupGetAttrs(opts *bind.CallOpts, groupIdHash [32]byte) ([]AttributesAttribute, error)

DocGroupGetAttrs is a free data retrieval call binding the contract method 0x891c952e.

Solidity: function docGroupGetAttrs(bytes32 groupIdHash) view returns((uint8,bytes)[])

func (*EhrIndexerCaller) DocGroupGetDocs

func (_EhrIndexer *EhrIndexerCaller) DocGroupGetDocs(opts *bind.CallOpts, groupIdHash [32]byte) ([][]byte, error)

DocGroupGetDocs is a free data retrieval call binding the contract method 0x88216834.

Solidity: function docGroupGetDocs(bytes32 groupIdHash) view returns(bytes[])

func (*EhrIndexerCaller) EhrIndex

func (_EhrIndexer *EhrIndexerCaller) EhrIndex(opts *bind.CallOpts) (common.Address, error)

EhrIndex is a free data retrieval call binding the contract method 0x98655acb.

Solidity: function ehrIndex() view returns(address)

func (*EhrIndexerCaller) EhrSubject

func (_EhrIndexer *EhrIndexerCaller) EhrSubject(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)

EhrSubject is a free data retrieval call binding the contract method 0xfe1b5580.

Solidity: function ehrSubject(bytes32 ) view returns(bytes32)

func (*EhrIndexerCaller) GetDocByTime

func (_EhrIndexer *EhrIndexerCaller) GetDocByTime(opts *bind.CallOpts, ehrID [32]byte, docType uint8, timestamp uint32) (IDocsDocumentMeta, error)

GetDocByTime is a free data retrieval call binding the contract method 0x4f722b16.

Solidity: function getDocByTime(bytes32 ehrID, uint8 docType, uint32 timestamp) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCaller) GetDocByVersion

func (_EhrIndexer *EhrIndexerCaller) GetDocByVersion(opts *bind.CallOpts, ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte) (IDocsDocumentMeta, error)

GetDocByVersion is a free data retrieval call binding the contract method 0x179fcacf.

Solidity: function getDocByVersion(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCaller) GetDocLastByBaseID

func (_EhrIndexer *EhrIndexerCaller) GetDocLastByBaseID(opts *bind.CallOpts, userIDHash [32]byte, docType uint8, UIDHash [32]byte) (IDocsDocumentMeta, error)

GetDocLastByBaseID is a free data retrieval call binding the contract method 0x949c8e77.

Solidity: function getDocLastByBaseID(bytes32 userIDHash, uint8 docType, bytes32 UIDHash) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCaller) GetEhrDocs

func (_EhrIndexer *EhrIndexerCaller) GetEhrDocs(opts *bind.CallOpts, userIDHash [32]byte, docType uint8) ([]IDocsDocumentMeta, error)

GetEhrDocs is a free data retrieval call binding the contract method 0xeec6b331.

Solidity: function getEhrDocs(bytes32 userIDHash, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[])[])

func (*EhrIndexerCaller) GetEhrUser

func (_EhrIndexer *EhrIndexerCaller) GetEhrUser(opts *bind.CallOpts, userIDHash [32]byte) ([32]byte, error)

GetEhrUser is a free data retrieval call binding the contract method 0xf228d6f0.

Solidity: function getEhrUser(bytes32 userIDHash) view returns(bytes32)

func (*EhrIndexerCaller) GetLastEhrDocByType

func (_EhrIndexer *EhrIndexerCaller) GetLastEhrDocByType(opts *bind.CallOpts, ehrId [32]byte, docType uint8) (IDocsDocumentMeta, error)

GetLastEhrDocByType is a free data retrieval call binding the contract method 0x15dbcf1a.

Solidity: function getLastEhrDocByType(bytes32 ehrId, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCaller) Users

func (_EhrIndexer *EhrIndexerCaller) Users(opts *bind.CallOpts) (common.Address, error)

Users is a free data retrieval call binding the contract method 0xf2020275.

Solidity: function users() view returns(address)

type EhrIndexerCallerRaw

type EhrIndexerCallerRaw struct {
	Contract *EhrIndexerCaller // Generic read-only contract binding to access the raw methods on
}

EhrIndexerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*EhrIndexerCallerRaw) Call

func (_EhrIndexer *EhrIndexerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type EhrIndexerCallerSession

type EhrIndexerCallerSession struct {
	Contract *EhrIndexerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

EhrIndexerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*EhrIndexerCallerSession) AccessStore

func (_EhrIndexer *EhrIndexerCallerSession) AccessStore() (common.Address, error)

AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.

Solidity: function accessStore() view returns(address)

func (*EhrIndexerCallerSession) AllowedChange

func (_EhrIndexer *EhrIndexerCallerSession) AllowedChange(arg0 common.Address) (bool, error)

AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.

Solidity: function allowedChange(address ) view returns(bool)

func (*EhrIndexerCallerSession) DocGroupGetAttrs

func (_EhrIndexer *EhrIndexerCallerSession) DocGroupGetAttrs(groupIdHash [32]byte) ([]AttributesAttribute, error)

DocGroupGetAttrs is a free data retrieval call binding the contract method 0x891c952e.

Solidity: function docGroupGetAttrs(bytes32 groupIdHash) view returns((uint8,bytes)[])

func (*EhrIndexerCallerSession) DocGroupGetDocs

func (_EhrIndexer *EhrIndexerCallerSession) DocGroupGetDocs(groupIdHash [32]byte) ([][]byte, error)

DocGroupGetDocs is a free data retrieval call binding the contract method 0x88216834.

Solidity: function docGroupGetDocs(bytes32 groupIdHash) view returns(bytes[])

func (*EhrIndexerCallerSession) EhrIndex

func (_EhrIndexer *EhrIndexerCallerSession) EhrIndex() (common.Address, error)

EhrIndex is a free data retrieval call binding the contract method 0x98655acb.

Solidity: function ehrIndex() view returns(address)

func (*EhrIndexerCallerSession) EhrSubject

func (_EhrIndexer *EhrIndexerCallerSession) EhrSubject(arg0 [32]byte) ([32]byte, error)

EhrSubject is a free data retrieval call binding the contract method 0xfe1b5580.

Solidity: function ehrSubject(bytes32 ) view returns(bytes32)

func (*EhrIndexerCallerSession) GetDocByTime

func (_EhrIndexer *EhrIndexerCallerSession) GetDocByTime(ehrID [32]byte, docType uint8, timestamp uint32) (IDocsDocumentMeta, error)

GetDocByTime is a free data retrieval call binding the contract method 0x4f722b16.

Solidity: function getDocByTime(bytes32 ehrID, uint8 docType, uint32 timestamp) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCallerSession) GetDocByVersion

func (_EhrIndexer *EhrIndexerCallerSession) GetDocByVersion(ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte) (IDocsDocumentMeta, error)

GetDocByVersion is a free data retrieval call binding the contract method 0x179fcacf.

Solidity: function getDocByVersion(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCallerSession) GetDocLastByBaseID

func (_EhrIndexer *EhrIndexerCallerSession) GetDocLastByBaseID(userIDHash [32]byte, docType uint8, UIDHash [32]byte) (IDocsDocumentMeta, error)

GetDocLastByBaseID is a free data retrieval call binding the contract method 0x949c8e77.

Solidity: function getDocLastByBaseID(bytes32 userIDHash, uint8 docType, bytes32 UIDHash) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCallerSession) GetEhrDocs

func (_EhrIndexer *EhrIndexerCallerSession) GetEhrDocs(userIDHash [32]byte, docType uint8) ([]IDocsDocumentMeta, error)

GetEhrDocs is a free data retrieval call binding the contract method 0xeec6b331.

Solidity: function getEhrDocs(bytes32 userIDHash, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[])[])

func (*EhrIndexerCallerSession) GetEhrUser

func (_EhrIndexer *EhrIndexerCallerSession) GetEhrUser(userIDHash [32]byte) ([32]byte, error)

GetEhrUser is a free data retrieval call binding the contract method 0xf228d6f0.

Solidity: function getEhrUser(bytes32 userIDHash) view returns(bytes32)

func (*EhrIndexerCallerSession) GetLastEhrDocByType

func (_EhrIndexer *EhrIndexerCallerSession) GetLastEhrDocByType(ehrId [32]byte, docType uint8) (IDocsDocumentMeta, error)

GetLastEhrDocByType is a free data retrieval call binding the contract method 0x15dbcf1a.

Solidity: function getLastEhrDocByType(bytes32 ehrId, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerCallerSession) Users

func (_EhrIndexer *EhrIndexerCallerSession) Users() (common.Address, error)

Users is a free data retrieval call binding the contract method 0xf2020275.

Solidity: function users() view returns(address)

type EhrIndexerFilterer

type EhrIndexerFilterer struct {
	// contains filtered or unexported fields
}

EhrIndexerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewEhrIndexerFilterer

func NewEhrIndexerFilterer(address common.Address, filterer bind.ContractFilterer) (*EhrIndexerFilterer, error)

NewEhrIndexerFilterer creates a new log filterer instance of EhrIndexer, bound to a specific deployed contract.

type EhrIndexerRaw

type EhrIndexerRaw struct {
	Contract *EhrIndexer // Generic contract binding to access the raw methods on
}

EhrIndexerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*EhrIndexerRaw) Call

func (_EhrIndexer *EhrIndexerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*EhrIndexerRaw) Transact

func (_EhrIndexer *EhrIndexerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*EhrIndexerRaw) Transfer

func (_EhrIndexer *EhrIndexerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type EhrIndexerSession

type EhrIndexerSession struct {
	Contract     *EhrIndexer       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

EhrIndexerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*EhrIndexerSession) AccessStore

func (_EhrIndexer *EhrIndexerSession) AccessStore() (common.Address, error)

AccessStore is a free data retrieval call binding the contract method 0x45e9ea6f.

Solidity: function accessStore() view returns(address)

func (*EhrIndexerSession) AddEhrDoc

func (_EhrIndexer *EhrIndexerSession) AddEhrDoc(p IDocsAddEhrDocParams) (*types.Transaction, error)

AddEhrDoc is a paid mutator transaction binding the contract method 0xa58c2acb.

Solidity: function addEhrDoc((uint8,bytes,bytes,uint32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerSession) AllowedChange

func (_EhrIndexer *EhrIndexerSession) AllowedChange(arg0 common.Address) (bool, error)

AllowedChange is a free data retrieval call binding the contract method 0xe9b5b29a.

Solidity: function allowedChange(address ) view returns(bool)

func (*EhrIndexerSession) DeleteDoc

func (_EhrIndexer *EhrIndexerSession) DeleteDoc(ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DeleteDoc is a paid mutator transaction binding the contract method 0x55afad99.

Solidity: function deleteDoc(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerSession) DocGroupAddDoc

func (_EhrIndexer *EhrIndexerSession) DocGroupAddDoc(groupIDHash [32]byte, docCIDHash [32]byte, docCIDEncr []byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DocGroupAddDoc is a paid mutator transaction binding the contract method 0xf850642d.

Solidity: function docGroupAddDoc(bytes32 groupIDHash, bytes32 docCIDHash, bytes docCIDEncr, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerSession) DocGroupCreate

func (_EhrIndexer *EhrIndexerSession) DocGroupCreate(p DocGroupsDocGroupCreateParams) (*types.Transaction, error)

DocGroupCreate is a paid mutator transaction binding the contract method 0xef96a5cd.

Solidity: function docGroupCreate((bytes32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerSession) DocGroupGetAttrs

func (_EhrIndexer *EhrIndexerSession) DocGroupGetAttrs(groupIdHash [32]byte) ([]AttributesAttribute, error)

DocGroupGetAttrs is a free data retrieval call binding the contract method 0x891c952e.

Solidity: function docGroupGetAttrs(bytes32 groupIdHash) view returns((uint8,bytes)[])

func (*EhrIndexerSession) DocGroupGetDocs

func (_EhrIndexer *EhrIndexerSession) DocGroupGetDocs(groupIdHash [32]byte) ([][]byte, error)

DocGroupGetDocs is a free data retrieval call binding the contract method 0x88216834.

Solidity: function docGroupGetDocs(bytes32 groupIdHash) view returns(bytes[])

func (*EhrIndexerSession) EhrIndex

func (_EhrIndexer *EhrIndexerSession) EhrIndex() (common.Address, error)

EhrIndex is a free data retrieval call binding the contract method 0x98655acb.

Solidity: function ehrIndex() view returns(address)

func (*EhrIndexerSession) EhrSubject

func (_EhrIndexer *EhrIndexerSession) EhrSubject(arg0 [32]byte) ([32]byte, error)

EhrSubject is a free data retrieval call binding the contract method 0xfe1b5580.

Solidity: function ehrSubject(bytes32 ) view returns(bytes32)

func (*EhrIndexerSession) GetDocByTime

func (_EhrIndexer *EhrIndexerSession) GetDocByTime(ehrID [32]byte, docType uint8, timestamp uint32) (IDocsDocumentMeta, error)

GetDocByTime is a free data retrieval call binding the contract method 0x4f722b16.

Solidity: function getDocByTime(bytes32 ehrID, uint8 docType, uint32 timestamp) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerSession) GetDocByVersion

func (_EhrIndexer *EhrIndexerSession) GetDocByVersion(ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte) (IDocsDocumentMeta, error)

GetDocByVersion is a free data retrieval call binding the contract method 0x179fcacf.

Solidity: function getDocByVersion(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerSession) GetDocLastByBaseID

func (_EhrIndexer *EhrIndexerSession) GetDocLastByBaseID(userIDHash [32]byte, docType uint8, UIDHash [32]byte) (IDocsDocumentMeta, error)

GetDocLastByBaseID is a free data retrieval call binding the contract method 0x949c8e77.

Solidity: function getDocLastByBaseID(bytes32 userIDHash, uint8 docType, bytes32 UIDHash) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerSession) GetEhrDocs

func (_EhrIndexer *EhrIndexerSession) GetEhrDocs(userIDHash [32]byte, docType uint8) ([]IDocsDocumentMeta, error)

GetEhrDocs is a free data retrieval call binding the contract method 0xeec6b331.

Solidity: function getEhrDocs(bytes32 userIDHash, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[])[])

func (*EhrIndexerSession) GetEhrUser

func (_EhrIndexer *EhrIndexerSession) GetEhrUser(userIDHash [32]byte) ([32]byte, error)

GetEhrUser is a free data retrieval call binding the contract method 0xf228d6f0.

Solidity: function getEhrUser(bytes32 userIDHash) view returns(bytes32)

func (*EhrIndexerSession) GetLastEhrDocByType

func (_EhrIndexer *EhrIndexerSession) GetLastEhrDocByType(ehrId [32]byte, docType uint8) (IDocsDocumentMeta, error)

GetLastEhrDocByType is a free data retrieval call binding the contract method 0x15dbcf1a.

Solidity: function getLastEhrDocByType(bytes32 ehrId, uint8 docType) view returns((uint8,bytes,bytes,uint32,bool,(uint8,bytes)[]))

func (*EhrIndexerSession) Multicall

func (_EhrIndexer *EhrIndexerSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*EhrIndexerSession) SetAccess

func (_EhrIndexer *EhrIndexerSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAccess is a paid mutator transaction binding the contract method 0x04847979.

Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerSession) SetAllowed

func (_EhrIndexer *EhrIndexerSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)

SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.

Solidity: function setAllowed(address addr, bool allowed) returns()

func (*EhrIndexerSession) SetEhrSubject

func (_EhrIndexer *EhrIndexerSession) SetEhrSubject(subjectKey [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrSubject is a paid mutator transaction binding the contract method 0x72d5313a.

Solidity: function setEhrSubject(bytes32 subjectKey, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerSession) SetEhrUser

func (_EhrIndexer *EhrIndexerSession) SetEhrUser(IDHash [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrUser is a paid mutator transaction binding the contract method 0x2f87519b.

Solidity: function setEhrUser(bytes32 IDHash, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerSession) TransferOwnership

func (_EhrIndexer *EhrIndexerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*EhrIndexerSession) Users

func (_EhrIndexer *EhrIndexerSession) Users() (common.Address, error)

Users is a free data retrieval call binding the contract method 0xf2020275.

Solidity: function users() view returns(address)

type EhrIndexerTransactor

type EhrIndexerTransactor struct {
	// contains filtered or unexported fields
}

EhrIndexerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewEhrIndexerTransactor

func NewEhrIndexerTransactor(address common.Address, transactor bind.ContractTransactor) (*EhrIndexerTransactor, error)

NewEhrIndexerTransactor creates a new write-only instance of EhrIndexer, bound to a specific deployed contract.

func (*EhrIndexerTransactor) AddEhrDoc

func (_EhrIndexer *EhrIndexerTransactor) AddEhrDoc(opts *bind.TransactOpts, p IDocsAddEhrDocParams) (*types.Transaction, error)

AddEhrDoc is a paid mutator transaction binding the contract method 0xa58c2acb.

Solidity: function addEhrDoc((uint8,bytes,bytes,uint32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerTransactor) DeleteDoc

func (_EhrIndexer *EhrIndexerTransactor) DeleteDoc(opts *bind.TransactOpts, ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DeleteDoc is a paid mutator transaction binding the contract method 0x55afad99.

Solidity: function deleteDoc(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactor) DocGroupAddDoc

func (_EhrIndexer *EhrIndexerTransactor) DocGroupAddDoc(opts *bind.TransactOpts, groupIDHash [32]byte, docCIDHash [32]byte, docCIDEncr []byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DocGroupAddDoc is a paid mutator transaction binding the contract method 0xf850642d.

Solidity: function docGroupAddDoc(bytes32 groupIDHash, bytes32 docCIDHash, bytes docCIDEncr, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactor) DocGroupCreate

DocGroupCreate is a paid mutator transaction binding the contract method 0xef96a5cd.

Solidity: function docGroupCreate((bytes32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerTransactor) Multicall

func (_EhrIndexer *EhrIndexerTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*EhrIndexerTransactor) SetAccess

func (_EhrIndexer *EhrIndexerTransactor) SetAccess(opts *bind.TransactOpts, accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAccess is a paid mutator transaction binding the contract method 0x04847979.

Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactor) SetAllowed

func (_EhrIndexer *EhrIndexerTransactor) SetAllowed(opts *bind.TransactOpts, addr common.Address, allowed bool) (*types.Transaction, error)

SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.

Solidity: function setAllowed(address addr, bool allowed) returns()

func (*EhrIndexerTransactor) SetEhrSubject

func (_EhrIndexer *EhrIndexerTransactor) SetEhrSubject(opts *bind.TransactOpts, subjectKey [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrSubject is a paid mutator transaction binding the contract method 0x72d5313a.

Solidity: function setEhrSubject(bytes32 subjectKey, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactor) SetEhrUser

func (_EhrIndexer *EhrIndexerTransactor) SetEhrUser(opts *bind.TransactOpts, IDHash [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrUser is a paid mutator transaction binding the contract method 0x2f87519b.

Solidity: function setEhrUser(bytes32 IDHash, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactor) TransferOwnership

func (_EhrIndexer *EhrIndexerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type EhrIndexerTransactorRaw

type EhrIndexerTransactorRaw struct {
	Contract *EhrIndexerTransactor // Generic write-only contract binding to access the raw methods on
}

EhrIndexerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*EhrIndexerTransactorRaw) Transact

func (_EhrIndexer *EhrIndexerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*EhrIndexerTransactorRaw) Transfer

func (_EhrIndexer *EhrIndexerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type EhrIndexerTransactorSession

type EhrIndexerTransactorSession struct {
	Contract     *EhrIndexerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

EhrIndexerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*EhrIndexerTransactorSession) AddEhrDoc

AddEhrDoc is a paid mutator transaction binding the contract method 0xa58c2acb.

Solidity: function addEhrDoc((uint8,bytes,bytes,uint32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerTransactorSession) DeleteDoc

func (_EhrIndexer *EhrIndexerTransactorSession) DeleteDoc(ehrId [32]byte, docType uint8, docBaseUIDHash [32]byte, version [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DeleteDoc is a paid mutator transaction binding the contract method 0x55afad99.

Solidity: function deleteDoc(bytes32 ehrId, uint8 docType, bytes32 docBaseUIDHash, bytes32 version, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactorSession) DocGroupAddDoc

func (_EhrIndexer *EhrIndexerTransactorSession) DocGroupAddDoc(groupIDHash [32]byte, docCIDHash [32]byte, docCIDEncr []byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

DocGroupAddDoc is a paid mutator transaction binding the contract method 0xf850642d.

Solidity: function docGroupAddDoc(bytes32 groupIDHash, bytes32 docCIDHash, bytes docCIDEncr, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactorSession) DocGroupCreate

DocGroupCreate is a paid mutator transaction binding the contract method 0xef96a5cd.

Solidity: function docGroupCreate((bytes32,(uint8,bytes)[],address,uint256,bytes) p) returns()

func (*EhrIndexerTransactorSession) Multicall

func (_EhrIndexer *EhrIndexerTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*EhrIndexerTransactorSession) SetAccess

func (_EhrIndexer *EhrIndexerTransactorSession) SetAccess(accessID [32]byte, a IAccessStoreAccess, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetAccess is a paid mutator transaction binding the contract method 0x04847979.

Solidity: function setAccess(bytes32 accessID, (uint8,bytes32,bytes,bytes,uint8) a, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactorSession) SetAllowed

func (_EhrIndexer *EhrIndexerTransactorSession) SetAllowed(addr common.Address, allowed bool) (*types.Transaction, error)

SetAllowed is a paid mutator transaction binding the contract method 0x4697f05d.

Solidity: function setAllowed(address addr, bool allowed) returns()

func (*EhrIndexerTransactorSession) SetEhrSubject

func (_EhrIndexer *EhrIndexerTransactorSession) SetEhrSubject(subjectKey [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrSubject is a paid mutator transaction binding the contract method 0x72d5313a.

Solidity: function setEhrSubject(bytes32 subjectKey, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactorSession) SetEhrUser

func (_EhrIndexer *EhrIndexerTransactorSession) SetEhrUser(IDHash [32]byte, ehrId [32]byte, signer common.Address, deadline *big.Int, signature []byte) (*types.Transaction, error)

SetEhrUser is a paid mutator transaction binding the contract method 0x2f87519b.

Solidity: function setEhrUser(bytes32 IDHash, bytes32 ehrId, address signer, uint256 deadline, bytes signature) returns()

func (*EhrIndexerTransactorSession) TransferOwnership

func (_EhrIndexer *EhrIndexerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type IAccessStoreAccess

type IAccessStoreAccess struct {
	Kind    uint8
	IdHash  [32]byte
	IdEncr  []byte
	KeyEncr []byte
	Level   uint8
}

IAccessStoreAccess is an auto generated low-level Go binding around an user-defined struct.

type IDocsAddEhrDocParams

type IDocsAddEhrDocParams struct {
	DocType   uint8
	Id        []byte
	Version   []byte
	Timestamp uint32
	Attrs     []AttributesAttribute
	Signer    common.Address
	Deadline  *big.Int
	Signature []byte
}

IDocsAddEhrDocParams is an auto generated low-level Go binding around an user-defined struct.

type IDocsDocumentMeta

type IDocsDocumentMeta struct {
	Status    uint8
	Id        []byte
	Version   []byte
	Timestamp uint32
	IsLast    bool
	Attrs     []AttributesAttribute
}

IDocsDocumentMeta is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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