Documentation ¶
Index ¶
- Variables
- func IsRevokedClaim(rpcUrl string, contractAddress string, nonce uint64) (bool, error)
- func ProcessOnChainClaim(rpcUrl string, contractAddress string, pk string, hashIndex *big.Int, ...) (verifiable.Iden3SparseMerkleTreeProof, error)
- func RevokeOnChainClaim(rpcUrl string, contractAddress string, pk string, nonce uint64) error
- type ClaimBuilderClaimData
- type Identity
- type IdentityBaseCredentialStatus
- type IdentityBaseIdentityStateRoots
- type IdentityCaller
- func (_Identity *IdentityCaller) BuildClaim(opts *bind.CallOpts, claimData ClaimBuilderClaimData) ([8]*big.Int, error)
- func (_Identity *IdentityCaller) CalcIdentityState(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetClaimProof(opts *bind.CallOpts, claimIndexHash *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetClaimProofByRoot(opts *bind.CallOpts, claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetClaimsTreeRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetId(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetIdentityLatestState(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetIsOldStateGenesis(opts *bind.CallOpts) (bool, error)
- func (_Identity *IdentityCaller) GetLastClaimsRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetLastRevocationsRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetLastRootsRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetRevocationProof(opts *bind.CallOpts, revocationNonce uint64) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetRevocationProofByRoot(opts *bind.CallOpts, revocationNonce uint64, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetRevocationStatus(opts *bind.CallOpts, nonce uint64) (IdentityBaseCredentialStatus, error)
- func (_Identity *IdentityCaller) GetRevocationsTreeRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetRootProof(opts *bind.CallOpts, claimsTreeRoot *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetRootProofByRoot(opts *bind.CallOpts, claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCaller) GetRootsByState(opts *bind.CallOpts, state *big.Int) (OnChainIdentityRoots, error)
- func (_Identity *IdentityCaller) GetRootsTreeRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) GetSmtDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_Identity *IdentityCaller) NewClaimData(opts *bind.CallOpts) (ClaimBuilderClaimData, error)
- func (_Identity *IdentityCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type IdentityCallerRaw
- type IdentityCallerSession
- func (_Identity *IdentityCallerSession) BuildClaim(claimData ClaimBuilderClaimData) ([8]*big.Int, error)
- func (_Identity *IdentityCallerSession) CalcIdentityState() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetClaimProof(claimIndexHash *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetClaimProofByRoot(claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetClaimsTreeRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetId() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetIdentityLatestState() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetIsOldStateGenesis() (bool, error)
- func (_Identity *IdentityCallerSession) GetLastClaimsRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetLastRevocationsRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetLastRootsRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetRevocationProof(revocationNonce uint64) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetRevocationProofByRoot(revocationNonce uint64, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetRevocationStatus(nonce uint64) (IdentityBaseCredentialStatus, error)
- func (_Identity *IdentityCallerSession) GetRevocationsTreeRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetRootProof(claimsTreeRoot *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetRootProofByRoot(claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentityCallerSession) GetRootsByState(state *big.Int) (OnChainIdentityRoots, error)
- func (_Identity *IdentityCallerSession) GetRootsTreeRoot() (*big.Int, error)
- func (_Identity *IdentityCallerSession) GetSmtDepth() (*big.Int, error)
- func (_Identity *IdentityCallerSession) NewClaimData() (ClaimBuilderClaimData, error)
- func (_Identity *IdentityCallerSession) Owner() (common.Address, error)
- type IdentityFilterer
- func (_Identity *IdentityFilterer) FilterInitialized(opts *bind.FilterOpts) (*IdentityInitializedIterator, error)
- func (_Identity *IdentityFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*IdentityOwnershipTransferredIterator, error)
- func (_Identity *IdentityFilterer) ParseInitialized(log types.Log) (*IdentityInitialized, error)
- func (_Identity *IdentityFilterer) ParseOwnershipTransferred(log types.Log) (*IdentityOwnershipTransferred, error)
- func (_Identity *IdentityFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IdentityInitialized) (event.Subscription, error)
- func (_Identity *IdentityFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IdentityOwnershipTransferred, ...) (event.Subscription, error)
- type IdentityInitialized
- type IdentityInitializedIterator
- type IdentityOwnershipTransferred
- type IdentityOwnershipTransferredIterator
- type IdentityRaw
- func (_Identity *IdentityRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Identity *IdentityRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Identity *IdentityRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IdentitySession
- func (_Identity *IdentitySession) AddClaim(claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentitySession) AddClaimAndTransit(claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentitySession) AddClaimHash(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentitySession) AddClaimHashAndTransit(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentitySession) BuildClaim(claimData ClaimBuilderClaimData) ([8]*big.Int, error)
- func (_Identity *IdentitySession) CalcIdentityState() (*big.Int, error)
- func (_Identity *IdentitySession) GetClaimProof(claimIndexHash *big.Int) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetClaimProofByRoot(claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetClaimsTreeRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetId() (*big.Int, error)
- func (_Identity *IdentitySession) GetIdentityLatestState() (*big.Int, error)
- func (_Identity *IdentitySession) GetIsOldStateGenesis() (bool, error)
- func (_Identity *IdentitySession) GetLastClaimsRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetLastRevocationsRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetLastRootsRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetRevocationProof(revocationNonce uint64) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetRevocationProofByRoot(revocationNonce uint64, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetRevocationStatus(nonce uint64) (IdentityBaseCredentialStatus, error)
- func (_Identity *IdentitySession) GetRevocationsTreeRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetRootProof(claimsTreeRoot *big.Int) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetRootProofByRoot(claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
- func (_Identity *IdentitySession) GetRootsByState(state *big.Int) (OnChainIdentityRoots, error)
- func (_Identity *IdentitySession) GetRootsTreeRoot() (*big.Int, error)
- func (_Identity *IdentitySession) GetSmtDepth() (*big.Int, error)
- func (_Identity *IdentitySession) Initialize(_stateContractAddr common.Address) (*types.Transaction, error)
- func (_Identity *IdentitySession) NewClaimData() (ClaimBuilderClaimData, error)
- func (_Identity *IdentitySession) Owner() (common.Address, error)
- func (_Identity *IdentitySession) RenounceOwnership() (*types.Transaction, error)
- func (_Identity *IdentitySession) RevokeClaim(revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentitySession) RevokeClaimAndTransit(revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentitySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Identity *IdentitySession) TransitState() (*types.Transaction, error)
- type IdentityTransactor
- func (_Identity *IdentityTransactor) AddClaim(opts *bind.TransactOpts, claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) AddClaimAndTransit(opts *bind.TransactOpts, claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) AddClaimHash(opts *bind.TransactOpts, hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) AddClaimHashAndTransit(opts *bind.TransactOpts, hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) Initialize(opts *bind.TransactOpts, _stateContractAddr common.Address) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) RevokeClaim(opts *bind.TransactOpts, revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) RevokeClaimAndTransit(opts *bind.TransactOpts, revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Identity *IdentityTransactor) TransitState(opts *bind.TransactOpts) (*types.Transaction, error)
- type IdentityTransactorRaw
- type IdentityTransactorSession
- func (_Identity *IdentityTransactorSession) AddClaim(claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) AddClaimAndTransit(claim [8]*big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) AddClaimHash(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) AddClaimHashAndTransit(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) Initialize(_stateContractAddr common.Address) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) RevokeClaim(revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) RevokeClaimAndTransit(revocationNonce uint64) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Identity *IdentityTransactorSession) TransitState() (*types.Transaction, error)
- type OnChainIdentityRoots
- type SmtLibProof
Constants ¶
This section is empty.
Variables ¶
var IdentityABI = IdentityMetaData.ABI
IdentityABI is the input ABI used to generate the binding from. Deprecated: Use IdentityMetaData.ABI instead.
var IdentityMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256[8]\",\"name\":\"claim\",\"type\":\"uint256[8]\"}],\"name\":\"addClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[8]\",\"name\":\"claim\",\"type\":\"uint256[8]\"}],\"name\":\"addClaimAndTransit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hashIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"hashValue\",\"type\":\"uint256\"}],\"name\":\"addClaimHash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"hashIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"hashValue\",\"type\":\"uint256\"}],\"name\":\"addClaimHashAndTransit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"schemaHash\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"idPosition\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"expirable\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"updatable\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"merklizedRootPosition\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expirationDate\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"merklizedRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"indexDataSlotA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"indexDataSlotB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueDataSlotA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueDataSlotB\",\"type\":\"uint256\"}],\"internalType\":\"structClaimBuilder.ClaimData\",\"name\":\"claimData\",\"type\":\"tuple\"}],\"name\":\"buildClaim\",\"outputs\":[{\"internalType\":\"uint256[8]\",\"name\":\"\",\"type\":\"uint256[8]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calcIdentityState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimIndexHash\",\"type\":\"uint256\"}],\"name\":\"getClaimProof\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimIndexHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"}],\"name\":\"getClaimProofByRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getClaimsTreeRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIdentityLatestState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIsOldStateGenesis\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastClaimsRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastRevocationsRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastRootsRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"}],\"name\":\"getRevocationProof\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"}],\"name\":\"getRevocationProofByRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"name\":\"getRevocationStatus\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimsTreeRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revocationTreeRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rootOfRoots\",\"type\":\"uint256\"}],\"internalType\":\"structIdentityBase.IdentityStateRoots\",\"name\":\"issuer\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"mtp\",\"type\":\"tuple\"}],\"internalType\":\"structIdentityBase.CredentialStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRevocationsTreeRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimsTreeRoot\",\"type\":\"uint256\"}],\"name\":\"getRootProof\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimsTreeRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"}],\"name\":\"getRootProofByRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"siblings\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structSmtLib.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"}],\"name\":\"getRootsByState\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"claimsRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revocationsRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rootsRoot\",\"type\":\"uint256\"}],\"internalType\":\"structOnChainIdentity.Roots\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRootsTreeRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSmtDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stateContractAddr\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newClaimData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"schemaHash\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"idPosition\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"expirable\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"updatable\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"merklizedRootPosition\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"version\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expirationDate\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"merklizedRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"indexDataSlotA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"indexDataSlotB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueDataSlotA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valueDataSlotB\",\"type\":\"uint256\"}],\"internalType\":\"structClaimBuilder.ClaimData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"}],\"name\":\"revokeClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"revocationNonce\",\"type\":\"uint64\"}],\"name\":\"revokeClaimAndTransit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transitState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IdentityMetaData contains all meta data concerning the Identity contract.
Functions ¶
func IsRevokedClaim ¶
func ProcessOnChainClaim ¶
func ProcessOnChainClaim( rpcUrl string, contractAddress string, pk string, hashIndex *big.Int, hashValue *big.Int, ) (verifiable.Iden3SparseMerkleTreeProof, error)
ProcessOnChainClaim send transaction to blockchain and wait for the transaction to be mined and confirmed (2 blocks)
Types ¶
type ClaimBuilderClaimData ¶
type ClaimBuilderClaimData struct { SchemaHash *big.Int IdPosition uint8 Expirable bool Updatable bool MerklizedRootPosition uint8 Version uint32 Id *big.Int RevocationNonce uint64 ExpirationDate uint64 MerklizedRoot *big.Int IndexDataSlotA *big.Int IndexDataSlotB *big.Int ValueDataSlotA *big.Int ValueDataSlotB *big.Int }
ClaimBuilderClaimData is an auto generated low-level Go binding around an user-defined struct.
type Identity ¶
type Identity struct { IdentityCaller // Read-only binding to the contract IdentityTransactor // Write-only binding to the contract IdentityFilterer // Log filterer for contract events }
Identity is an auto generated Go binding around an Ethereum contract.
func NewIdentity ¶
NewIdentity creates a new instance of Identity, bound to a specific deployed contract.
type IdentityBaseCredentialStatus ¶
type IdentityBaseCredentialStatus struct { Issuer IdentityBaseIdentityStateRoots Mtp SmtLibProof }
IdentityBaseCredentialStatus is an auto generated low-level Go binding around an user-defined struct.
type IdentityBaseIdentityStateRoots ¶
type IdentityBaseIdentityStateRoots struct { State *big.Int ClaimsTreeRoot *big.Int RevocationTreeRoot *big.Int RootOfRoots *big.Int }
IdentityBaseIdentityStateRoots is an auto generated low-level Go binding around an user-defined struct.
type IdentityCaller ¶
type IdentityCaller struct {
// contains filtered or unexported fields
}
IdentityCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIdentityCaller ¶
func NewIdentityCaller(address common.Address, caller bind.ContractCaller) (*IdentityCaller, error)
NewIdentityCaller creates a new read-only instance of Identity, bound to a specific deployed contract.
func (*IdentityCaller) BuildClaim ¶
func (_Identity *IdentityCaller) BuildClaim(opts *bind.CallOpts, claimData ClaimBuilderClaimData) ([8]*big.Int, error)
BuildClaim is a free data retrieval call binding the contract method 0x73c08244.
Solidity: function buildClaim((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256) claimData) pure returns(uint256[8])
func (*IdentityCaller) CalcIdentityState ¶
CalcIdentityState is a free data retrieval call binding the contract method 0x4ddad0b3.
Solidity: function calcIdentityState() view returns(uint256)
func (*IdentityCaller) GetClaimProof ¶
func (_Identity *IdentityCaller) GetClaimProof(opts *bind.CallOpts, claimIndexHash *big.Int) (SmtLibProof, error)
GetClaimProof is a free data retrieval call binding the contract method 0xb57a40cb.
Solidity: function getClaimProof(uint256 claimIndexHash) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetClaimProofByRoot ¶
func (_Identity *IdentityCaller) GetClaimProofByRoot(opts *bind.CallOpts, claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
GetClaimProofByRoot is a free data retrieval call binding the contract method 0x310d0d5b.
Solidity: function getClaimProofByRoot(uint256 claimIndexHash, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetClaimsTreeRoot ¶
GetClaimsTreeRoot is a free data retrieval call binding the contract method 0x3df432fc.
Solidity: function getClaimsTreeRoot() view returns(uint256)
func (*IdentityCaller) GetId ¶
GetId is a free data retrieval call binding the contract method 0x5d1ca631.
Solidity: function getId() view returns(uint256)
func (*IdentityCaller) GetIdentityLatestState ¶
GetIdentityLatestState is a free data retrieval call binding the contract method 0x378c9d1a.
Solidity: function getIdentityLatestState() view returns(uint256)
func (*IdentityCaller) GetIsOldStateGenesis ¶
func (_Identity *IdentityCaller) GetIsOldStateGenesis(opts *bind.CallOpts) (bool, error)
GetIsOldStateGenesis is a free data retrieval call binding the contract method 0xf84c7c1e.
Solidity: function getIsOldStateGenesis() view returns(bool)
func (*IdentityCaller) GetLastClaimsRoot ¶
GetLastClaimsRoot is a free data retrieval call binding the contract method 0xdbd97e23.
Solidity: function getLastClaimsRoot() view returns(uint256)
func (*IdentityCaller) GetLastRevocationsRoot ¶
GetLastRevocationsRoot is a free data retrieval call binding the contract method 0x43ffbcc5.
Solidity: function getLastRevocationsRoot() view returns(uint256)
func (*IdentityCaller) GetLastRootsRoot ¶
GetLastRootsRoot is a free data retrieval call binding the contract method 0x643accb3.
Solidity: function getLastRootsRoot() view returns(uint256)
func (*IdentityCaller) GetRevocationProof ¶
func (_Identity *IdentityCaller) GetRevocationProof(opts *bind.CallOpts, revocationNonce uint64) (SmtLibProof, error)
GetRevocationProof is a free data retrieval call binding the contract method 0x26485063.
Solidity: function getRevocationProof(uint64 revocationNonce) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetRevocationProofByRoot ¶
func (_Identity *IdentityCaller) GetRevocationProofByRoot(opts *bind.CallOpts, revocationNonce uint64, root *big.Int) (SmtLibProof, error)
GetRevocationProofByRoot is a free data retrieval call binding the contract method 0xe26ecb0b.
Solidity: function getRevocationProofByRoot(uint64 revocationNonce, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetRevocationStatus ¶
func (_Identity *IdentityCaller) GetRevocationStatus(opts *bind.CallOpts, nonce uint64) (IdentityBaseCredentialStatus, error)
GetRevocationStatus is a free data retrieval call binding the contract method 0xeb62ed0e.
Solidity: function getRevocationStatus(uint64 nonce) view returns(((uint256,uint256,uint256,uint256),(uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256)))
func (*IdentityCaller) GetRevocationsTreeRoot ¶
GetRevocationsTreeRoot is a free data retrieval call binding the contract method 0x01c85c77.
Solidity: function getRevocationsTreeRoot() view returns(uint256)
func (*IdentityCaller) GetRootProof ¶
func (_Identity *IdentityCaller) GetRootProof(opts *bind.CallOpts, claimsTreeRoot *big.Int) (SmtLibProof, error)
GetRootProof is a free data retrieval call binding the contract method 0xc1e32733.
Solidity: function getRootProof(uint256 claimsTreeRoot) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetRootProofByRoot ¶
func (_Identity *IdentityCaller) GetRootProofByRoot(opts *bind.CallOpts, claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
GetRootProofByRoot is a free data retrieval call binding the contract method 0x2d5c4f25.
Solidity: function getRootProofByRoot(uint256 claimsTreeRoot, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCaller) GetRootsByState ¶
func (_Identity *IdentityCaller) GetRootsByState(opts *bind.CallOpts, state *big.Int) (OnChainIdentityRoots, error)
GetRootsByState is a free data retrieval call binding the contract method 0xb8db6871.
Solidity: function getRootsByState(uint256 state) view returns((uint256,uint256,uint256))
func (*IdentityCaller) GetRootsTreeRoot ¶
GetRootsTreeRoot is a free data retrieval call binding the contract method 0xda68a0b1.
Solidity: function getRootsTreeRoot() view returns(uint256)
func (*IdentityCaller) GetSmtDepth ¶
GetSmtDepth is a free data retrieval call binding the contract method 0x3f0c6648.
Solidity: function getSmtDepth() pure returns(uint256)
func (*IdentityCaller) NewClaimData ¶
func (_Identity *IdentityCaller) NewClaimData(opts *bind.CallOpts) (ClaimBuilderClaimData, error)
NewClaimData is a free data retrieval call binding the contract method 0x5b9c895d.
Solidity: function newClaimData() pure returns((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256))
type IdentityCallerRaw ¶
type IdentityCallerRaw struct {
Contract *IdentityCaller // Generic read-only contract binding to access the raw methods on
}
IdentityCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IdentityCallerRaw) Call ¶
func (_Identity *IdentityCallerRaw) 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 IdentityCallerSession ¶
type IdentityCallerSession struct { Contract *IdentityCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IdentityCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IdentityCallerSession) BuildClaim ¶
func (_Identity *IdentityCallerSession) BuildClaim(claimData ClaimBuilderClaimData) ([8]*big.Int, error)
BuildClaim is a free data retrieval call binding the contract method 0x73c08244.
Solidity: function buildClaim((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256) claimData) pure returns(uint256[8])
func (*IdentityCallerSession) CalcIdentityState ¶
func (_Identity *IdentityCallerSession) CalcIdentityState() (*big.Int, error)
CalcIdentityState is a free data retrieval call binding the contract method 0x4ddad0b3.
Solidity: function calcIdentityState() view returns(uint256)
func (*IdentityCallerSession) GetClaimProof ¶
func (_Identity *IdentityCallerSession) GetClaimProof(claimIndexHash *big.Int) (SmtLibProof, error)
GetClaimProof is a free data retrieval call binding the contract method 0xb57a40cb.
Solidity: function getClaimProof(uint256 claimIndexHash) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetClaimProofByRoot ¶
func (_Identity *IdentityCallerSession) GetClaimProofByRoot(claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
GetClaimProofByRoot is a free data retrieval call binding the contract method 0x310d0d5b.
Solidity: function getClaimProofByRoot(uint256 claimIndexHash, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetClaimsTreeRoot ¶
func (_Identity *IdentityCallerSession) GetClaimsTreeRoot() (*big.Int, error)
GetClaimsTreeRoot is a free data retrieval call binding the contract method 0x3df432fc.
Solidity: function getClaimsTreeRoot() view returns(uint256)
func (*IdentityCallerSession) GetId ¶
func (_Identity *IdentityCallerSession) GetId() (*big.Int, error)
GetId is a free data retrieval call binding the contract method 0x5d1ca631.
Solidity: function getId() view returns(uint256)
func (*IdentityCallerSession) GetIdentityLatestState ¶
func (_Identity *IdentityCallerSession) GetIdentityLatestState() (*big.Int, error)
GetIdentityLatestState is a free data retrieval call binding the contract method 0x378c9d1a.
Solidity: function getIdentityLatestState() view returns(uint256)
func (*IdentityCallerSession) GetIsOldStateGenesis ¶
func (_Identity *IdentityCallerSession) GetIsOldStateGenesis() (bool, error)
GetIsOldStateGenesis is a free data retrieval call binding the contract method 0xf84c7c1e.
Solidity: function getIsOldStateGenesis() view returns(bool)
func (*IdentityCallerSession) GetLastClaimsRoot ¶
func (_Identity *IdentityCallerSession) GetLastClaimsRoot() (*big.Int, error)
GetLastClaimsRoot is a free data retrieval call binding the contract method 0xdbd97e23.
Solidity: function getLastClaimsRoot() view returns(uint256)
func (*IdentityCallerSession) GetLastRevocationsRoot ¶
func (_Identity *IdentityCallerSession) GetLastRevocationsRoot() (*big.Int, error)
GetLastRevocationsRoot is a free data retrieval call binding the contract method 0x43ffbcc5.
Solidity: function getLastRevocationsRoot() view returns(uint256)
func (*IdentityCallerSession) GetLastRootsRoot ¶
func (_Identity *IdentityCallerSession) GetLastRootsRoot() (*big.Int, error)
GetLastRootsRoot is a free data retrieval call binding the contract method 0x643accb3.
Solidity: function getLastRootsRoot() view returns(uint256)
func (*IdentityCallerSession) GetRevocationProof ¶
func (_Identity *IdentityCallerSession) GetRevocationProof(revocationNonce uint64) (SmtLibProof, error)
GetRevocationProof is a free data retrieval call binding the contract method 0x26485063.
Solidity: function getRevocationProof(uint64 revocationNonce) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetRevocationProofByRoot ¶
func (_Identity *IdentityCallerSession) GetRevocationProofByRoot(revocationNonce uint64, root *big.Int) (SmtLibProof, error)
GetRevocationProofByRoot is a free data retrieval call binding the contract method 0xe26ecb0b.
Solidity: function getRevocationProofByRoot(uint64 revocationNonce, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetRevocationStatus ¶
func (_Identity *IdentityCallerSession) GetRevocationStatus(nonce uint64) (IdentityBaseCredentialStatus, error)
GetRevocationStatus is a free data retrieval call binding the contract method 0xeb62ed0e.
Solidity: function getRevocationStatus(uint64 nonce) view returns(((uint256,uint256,uint256,uint256),(uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256)))
func (*IdentityCallerSession) GetRevocationsTreeRoot ¶
func (_Identity *IdentityCallerSession) GetRevocationsTreeRoot() (*big.Int, error)
GetRevocationsTreeRoot is a free data retrieval call binding the contract method 0x01c85c77.
Solidity: function getRevocationsTreeRoot() view returns(uint256)
func (*IdentityCallerSession) GetRootProof ¶
func (_Identity *IdentityCallerSession) GetRootProof(claimsTreeRoot *big.Int) (SmtLibProof, error)
GetRootProof is a free data retrieval call binding the contract method 0xc1e32733.
Solidity: function getRootProof(uint256 claimsTreeRoot) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetRootProofByRoot ¶
func (_Identity *IdentityCallerSession) GetRootProofByRoot(claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
GetRootProofByRoot is a free data retrieval call binding the contract method 0x2d5c4f25.
Solidity: function getRootProofByRoot(uint256 claimsTreeRoot, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentityCallerSession) GetRootsByState ¶
func (_Identity *IdentityCallerSession) GetRootsByState(state *big.Int) (OnChainIdentityRoots, error)
GetRootsByState is a free data retrieval call binding the contract method 0xb8db6871.
Solidity: function getRootsByState(uint256 state) view returns((uint256,uint256,uint256))
func (*IdentityCallerSession) GetRootsTreeRoot ¶
func (_Identity *IdentityCallerSession) GetRootsTreeRoot() (*big.Int, error)
GetRootsTreeRoot is a free data retrieval call binding the contract method 0xda68a0b1.
Solidity: function getRootsTreeRoot() view returns(uint256)
func (*IdentityCallerSession) GetSmtDepth ¶
func (_Identity *IdentityCallerSession) GetSmtDepth() (*big.Int, error)
GetSmtDepth is a free data retrieval call binding the contract method 0x3f0c6648.
Solidity: function getSmtDepth() pure returns(uint256)
func (*IdentityCallerSession) NewClaimData ¶
func (_Identity *IdentityCallerSession) NewClaimData() (ClaimBuilderClaimData, error)
NewClaimData is a free data retrieval call binding the contract method 0x5b9c895d.
Solidity: function newClaimData() pure returns((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256))
type IdentityFilterer ¶
type IdentityFilterer struct {
// contains filtered or unexported fields
}
IdentityFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIdentityFilterer ¶
func NewIdentityFilterer(address common.Address, filterer bind.ContractFilterer) (*IdentityFilterer, error)
NewIdentityFilterer creates a new log filterer instance of Identity, bound to a specific deployed contract.
func (*IdentityFilterer) FilterInitialized ¶
func (_Identity *IdentityFilterer) FilterInitialized(opts *bind.FilterOpts) (*IdentityInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IdentityFilterer) FilterOwnershipTransferred ¶
func (_Identity *IdentityFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IdentityOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IdentityFilterer) ParseInitialized ¶
func (_Identity *IdentityFilterer) ParseInitialized(log types.Log) (*IdentityInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IdentityFilterer) ParseOwnershipTransferred ¶
func (_Identity *IdentityFilterer) ParseOwnershipTransferred(log types.Log) (*IdentityOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IdentityFilterer) WatchInitialized ¶
func (_Identity *IdentityFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IdentityInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IdentityFilterer) WatchOwnershipTransferred ¶
func (_Identity *IdentityFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IdentityOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type IdentityInitialized ¶
type IdentityInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
IdentityInitialized represents a Initialized event raised by the Identity contract.
type IdentityInitializedIterator ¶
type IdentityInitializedIterator struct { Event *IdentityInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IdentityInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Identity contract.
func (*IdentityInitializedIterator) Close ¶
func (it *IdentityInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IdentityInitializedIterator) Error ¶
func (it *IdentityInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IdentityInitializedIterator) Next ¶
func (it *IdentityInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IdentityOwnershipTransferred ¶
type IdentityOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IdentityOwnershipTransferred represents a OwnershipTransferred event raised by the Identity contract.
type IdentityOwnershipTransferredIterator ¶
type IdentityOwnershipTransferredIterator struct { Event *IdentityOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IdentityOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Identity contract.
func (*IdentityOwnershipTransferredIterator) Close ¶
func (it *IdentityOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IdentityOwnershipTransferredIterator) Error ¶
func (it *IdentityOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IdentityOwnershipTransferredIterator) Next ¶
func (it *IdentityOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IdentityRaw ¶
type IdentityRaw struct {
Contract *Identity // Generic contract binding to access the raw methods on
}
IdentityRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IdentityRaw) Call ¶
func (_Identity *IdentityRaw) 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 (*IdentityRaw) Transact ¶
func (_Identity *IdentityRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IdentityRaw) Transfer ¶
func (_Identity *IdentityRaw) 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 IdentitySession ¶
type IdentitySession struct { Contract *Identity // 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 }
IdentitySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IdentitySession) AddClaim ¶
func (_Identity *IdentitySession) AddClaim(claim [8]*big.Int) (*types.Transaction, error)
AddClaim is a paid mutator transaction binding the contract method 0x5aa7396b.
Solidity: function addClaim(uint256[8] claim) returns()
func (*IdentitySession) AddClaimAndTransit ¶
func (_Identity *IdentitySession) AddClaimAndTransit(claim [8]*big.Int) (*types.Transaction, error)
AddClaimAndTransit is a paid mutator transaction binding the contract method 0x412363d3.
Solidity: function addClaimAndTransit(uint256[8] claim) returns()
func (*IdentitySession) AddClaimHash ¶
func (_Identity *IdentitySession) AddClaimHash(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHash is a paid mutator transaction binding the contract method 0x5584b091.
Solidity: function addClaimHash(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentitySession) AddClaimHashAndTransit ¶
func (_Identity *IdentitySession) AddClaimHashAndTransit(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHashAndTransit is a paid mutator transaction binding the contract method 0x961fc416.
Solidity: function addClaimHashAndTransit(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentitySession) BuildClaim ¶
func (_Identity *IdentitySession) BuildClaim(claimData ClaimBuilderClaimData) ([8]*big.Int, error)
BuildClaim is a free data retrieval call binding the contract method 0x73c08244.
Solidity: function buildClaim((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256) claimData) pure returns(uint256[8])
func (*IdentitySession) CalcIdentityState ¶
func (_Identity *IdentitySession) CalcIdentityState() (*big.Int, error)
CalcIdentityState is a free data retrieval call binding the contract method 0x4ddad0b3.
Solidity: function calcIdentityState() view returns(uint256)
func (*IdentitySession) GetClaimProof ¶
func (_Identity *IdentitySession) GetClaimProof(claimIndexHash *big.Int) (SmtLibProof, error)
GetClaimProof is a free data retrieval call binding the contract method 0xb57a40cb.
Solidity: function getClaimProof(uint256 claimIndexHash) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetClaimProofByRoot ¶
func (_Identity *IdentitySession) GetClaimProofByRoot(claimIndexHash *big.Int, root *big.Int) (SmtLibProof, error)
GetClaimProofByRoot is a free data retrieval call binding the contract method 0x310d0d5b.
Solidity: function getClaimProofByRoot(uint256 claimIndexHash, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetClaimsTreeRoot ¶
func (_Identity *IdentitySession) GetClaimsTreeRoot() (*big.Int, error)
GetClaimsTreeRoot is a free data retrieval call binding the contract method 0x3df432fc.
Solidity: function getClaimsTreeRoot() view returns(uint256)
func (*IdentitySession) GetId ¶
func (_Identity *IdentitySession) GetId() (*big.Int, error)
GetId is a free data retrieval call binding the contract method 0x5d1ca631.
Solidity: function getId() view returns(uint256)
func (*IdentitySession) GetIdentityLatestState ¶
func (_Identity *IdentitySession) GetIdentityLatestState() (*big.Int, error)
GetIdentityLatestState is a free data retrieval call binding the contract method 0x378c9d1a.
Solidity: function getIdentityLatestState() view returns(uint256)
func (*IdentitySession) GetIsOldStateGenesis ¶
func (_Identity *IdentitySession) GetIsOldStateGenesis() (bool, error)
GetIsOldStateGenesis is a free data retrieval call binding the contract method 0xf84c7c1e.
Solidity: function getIsOldStateGenesis() view returns(bool)
func (*IdentitySession) GetLastClaimsRoot ¶
func (_Identity *IdentitySession) GetLastClaimsRoot() (*big.Int, error)
GetLastClaimsRoot is a free data retrieval call binding the contract method 0xdbd97e23.
Solidity: function getLastClaimsRoot() view returns(uint256)
func (*IdentitySession) GetLastRevocationsRoot ¶
func (_Identity *IdentitySession) GetLastRevocationsRoot() (*big.Int, error)
GetLastRevocationsRoot is a free data retrieval call binding the contract method 0x43ffbcc5.
Solidity: function getLastRevocationsRoot() view returns(uint256)
func (*IdentitySession) GetLastRootsRoot ¶
func (_Identity *IdentitySession) GetLastRootsRoot() (*big.Int, error)
GetLastRootsRoot is a free data retrieval call binding the contract method 0x643accb3.
Solidity: function getLastRootsRoot() view returns(uint256)
func (*IdentitySession) GetRevocationProof ¶
func (_Identity *IdentitySession) GetRevocationProof(revocationNonce uint64) (SmtLibProof, error)
GetRevocationProof is a free data retrieval call binding the contract method 0x26485063.
Solidity: function getRevocationProof(uint64 revocationNonce) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetRevocationProofByRoot ¶
func (_Identity *IdentitySession) GetRevocationProofByRoot(revocationNonce uint64, root *big.Int) (SmtLibProof, error)
GetRevocationProofByRoot is a free data retrieval call binding the contract method 0xe26ecb0b.
Solidity: function getRevocationProofByRoot(uint64 revocationNonce, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetRevocationStatus ¶
func (_Identity *IdentitySession) GetRevocationStatus(nonce uint64) (IdentityBaseCredentialStatus, error)
GetRevocationStatus is a free data retrieval call binding the contract method 0xeb62ed0e.
Solidity: function getRevocationStatus(uint64 nonce) view returns(((uint256,uint256,uint256,uint256),(uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256)))
func (*IdentitySession) GetRevocationsTreeRoot ¶
func (_Identity *IdentitySession) GetRevocationsTreeRoot() (*big.Int, error)
GetRevocationsTreeRoot is a free data retrieval call binding the contract method 0x01c85c77.
Solidity: function getRevocationsTreeRoot() view returns(uint256)
func (*IdentitySession) GetRootProof ¶
func (_Identity *IdentitySession) GetRootProof(claimsTreeRoot *big.Int) (SmtLibProof, error)
GetRootProof is a free data retrieval call binding the contract method 0xc1e32733.
Solidity: function getRootProof(uint256 claimsTreeRoot) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetRootProofByRoot ¶
func (_Identity *IdentitySession) GetRootProofByRoot(claimsTreeRoot *big.Int, root *big.Int) (SmtLibProof, error)
GetRootProofByRoot is a free data retrieval call binding the contract method 0x2d5c4f25.
Solidity: function getRootProofByRoot(uint256 claimsTreeRoot, uint256 root) view returns((uint256,bool,uint256[],uint256,uint256,bool,uint256,uint256))
func (*IdentitySession) GetRootsByState ¶
func (_Identity *IdentitySession) GetRootsByState(state *big.Int) (OnChainIdentityRoots, error)
GetRootsByState is a free data retrieval call binding the contract method 0xb8db6871.
Solidity: function getRootsByState(uint256 state) view returns((uint256,uint256,uint256))
func (*IdentitySession) GetRootsTreeRoot ¶
func (_Identity *IdentitySession) GetRootsTreeRoot() (*big.Int, error)
GetRootsTreeRoot is a free data retrieval call binding the contract method 0xda68a0b1.
Solidity: function getRootsTreeRoot() view returns(uint256)
func (*IdentitySession) GetSmtDepth ¶
func (_Identity *IdentitySession) GetSmtDepth() (*big.Int, error)
GetSmtDepth is a free data retrieval call binding the contract method 0x3f0c6648.
Solidity: function getSmtDepth() pure returns(uint256)
func (*IdentitySession) Initialize ¶
func (_Identity *IdentitySession) Initialize(_stateContractAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _stateContractAddr) returns()
func (*IdentitySession) NewClaimData ¶
func (_Identity *IdentitySession) NewClaimData() (ClaimBuilderClaimData, error)
NewClaimData is a free data retrieval call binding the contract method 0x5b9c895d.
Solidity: function newClaimData() pure returns((uint256,uint8,bool,bool,uint8,uint32,uint256,uint64,uint64,uint256,uint256,uint256,uint256,uint256))
func (*IdentitySession) Owner ¶
func (_Identity *IdentitySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IdentitySession) RenounceOwnership ¶
func (_Identity *IdentitySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IdentitySession) RevokeClaim ¶
func (_Identity *IdentitySession) RevokeClaim(revocationNonce uint64) (*types.Transaction, error)
RevokeClaim is a paid mutator transaction binding the contract method 0x891eb608.
Solidity: function revokeClaim(uint64 revocationNonce) returns()
func (*IdentitySession) RevokeClaimAndTransit ¶
func (_Identity *IdentitySession) RevokeClaimAndTransit(revocationNonce uint64) (*types.Transaction, error)
RevokeClaimAndTransit is a paid mutator transaction binding the contract method 0xf2a8ed5a.
Solidity: function revokeClaimAndTransit(uint64 revocationNonce) returns()
func (*IdentitySession) TransferOwnership ¶
func (_Identity *IdentitySession) 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 (*IdentitySession) TransitState ¶
func (_Identity *IdentitySession) TransitState() (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x6c87e2fa.
Solidity: function transitState() returns()
type IdentityTransactor ¶
type IdentityTransactor struct {
// contains filtered or unexported fields
}
IdentityTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIdentityTransactor ¶
func NewIdentityTransactor(address common.Address, transactor bind.ContractTransactor) (*IdentityTransactor, error)
NewIdentityTransactor creates a new write-only instance of Identity, bound to a specific deployed contract.
func (*IdentityTransactor) AddClaim ¶
func (_Identity *IdentityTransactor) AddClaim(opts *bind.TransactOpts, claim [8]*big.Int) (*types.Transaction, error)
AddClaim is a paid mutator transaction binding the contract method 0x5aa7396b.
Solidity: function addClaim(uint256[8] claim) returns()
func (*IdentityTransactor) AddClaimAndTransit ¶
func (_Identity *IdentityTransactor) AddClaimAndTransit(opts *bind.TransactOpts, claim [8]*big.Int) (*types.Transaction, error)
AddClaimAndTransit is a paid mutator transaction binding the contract method 0x412363d3.
Solidity: function addClaimAndTransit(uint256[8] claim) returns()
func (*IdentityTransactor) AddClaimHash ¶
func (_Identity *IdentityTransactor) AddClaimHash(opts *bind.TransactOpts, hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHash is a paid mutator transaction binding the contract method 0x5584b091.
Solidity: function addClaimHash(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentityTransactor) AddClaimHashAndTransit ¶
func (_Identity *IdentityTransactor) AddClaimHashAndTransit(opts *bind.TransactOpts, hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHashAndTransit is a paid mutator transaction binding the contract method 0x961fc416.
Solidity: function addClaimHashAndTransit(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentityTransactor) Initialize ¶
func (_Identity *IdentityTransactor) Initialize(opts *bind.TransactOpts, _stateContractAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _stateContractAddr) returns()
func (*IdentityTransactor) RenounceOwnership ¶
func (_Identity *IdentityTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IdentityTransactor) RevokeClaim ¶
func (_Identity *IdentityTransactor) RevokeClaim(opts *bind.TransactOpts, revocationNonce uint64) (*types.Transaction, error)
RevokeClaim is a paid mutator transaction binding the contract method 0x891eb608.
Solidity: function revokeClaim(uint64 revocationNonce) returns()
func (*IdentityTransactor) RevokeClaimAndTransit ¶
func (_Identity *IdentityTransactor) RevokeClaimAndTransit(opts *bind.TransactOpts, revocationNonce uint64) (*types.Transaction, error)
RevokeClaimAndTransit is a paid mutator transaction binding the contract method 0xf2a8ed5a.
Solidity: function revokeClaimAndTransit(uint64 revocationNonce) returns()
func (*IdentityTransactor) TransferOwnership ¶
func (_Identity *IdentityTransactor) 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()
func (*IdentityTransactor) TransitState ¶
func (_Identity *IdentityTransactor) TransitState(opts *bind.TransactOpts) (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x6c87e2fa.
Solidity: function transitState() returns()
type IdentityTransactorRaw ¶
type IdentityTransactorRaw struct {
Contract *IdentityTransactor // Generic write-only contract binding to access the raw methods on
}
IdentityTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IdentityTransactorRaw) Transact ¶
func (_Identity *IdentityTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IdentityTransactorRaw) Transfer ¶
func (_Identity *IdentityTransactorRaw) 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 IdentityTransactorSession ¶
type IdentityTransactorSession struct { Contract *IdentityTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IdentityTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IdentityTransactorSession) AddClaim ¶
func (_Identity *IdentityTransactorSession) AddClaim(claim [8]*big.Int) (*types.Transaction, error)
AddClaim is a paid mutator transaction binding the contract method 0x5aa7396b.
Solidity: function addClaim(uint256[8] claim) returns()
func (*IdentityTransactorSession) AddClaimAndTransit ¶
func (_Identity *IdentityTransactorSession) AddClaimAndTransit(claim [8]*big.Int) (*types.Transaction, error)
AddClaimAndTransit is a paid mutator transaction binding the contract method 0x412363d3.
Solidity: function addClaimAndTransit(uint256[8] claim) returns()
func (*IdentityTransactorSession) AddClaimHash ¶
func (_Identity *IdentityTransactorSession) AddClaimHash(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHash is a paid mutator transaction binding the contract method 0x5584b091.
Solidity: function addClaimHash(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentityTransactorSession) AddClaimHashAndTransit ¶
func (_Identity *IdentityTransactorSession) AddClaimHashAndTransit(hashIndex *big.Int, hashValue *big.Int) (*types.Transaction, error)
AddClaimHashAndTransit is a paid mutator transaction binding the contract method 0x961fc416.
Solidity: function addClaimHashAndTransit(uint256 hashIndex, uint256 hashValue) returns()
func (*IdentityTransactorSession) Initialize ¶
func (_Identity *IdentityTransactorSession) Initialize(_stateContractAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _stateContractAddr) returns()
func (*IdentityTransactorSession) RenounceOwnership ¶
func (_Identity *IdentityTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IdentityTransactorSession) RevokeClaim ¶
func (_Identity *IdentityTransactorSession) RevokeClaim(revocationNonce uint64) (*types.Transaction, error)
RevokeClaim is a paid mutator transaction binding the contract method 0x891eb608.
Solidity: function revokeClaim(uint64 revocationNonce) returns()
func (*IdentityTransactorSession) RevokeClaimAndTransit ¶
func (_Identity *IdentityTransactorSession) RevokeClaimAndTransit(revocationNonce uint64) (*types.Transaction, error)
RevokeClaimAndTransit is a paid mutator transaction binding the contract method 0xf2a8ed5a.
Solidity: function revokeClaimAndTransit(uint64 revocationNonce) returns()
func (*IdentityTransactorSession) TransferOwnership ¶
func (_Identity *IdentityTransactorSession) 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 (*IdentityTransactorSession) TransitState ¶
func (_Identity *IdentityTransactorSession) TransitState() (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x6c87e2fa.
Solidity: function transitState() returns()