@gala-chain/chaincode ∙ API
API > PublicKeyContract
- Extends
- Constructors
- Methods
- GetChaincodeVersion()
- GetContractAPI()
- GetMyProfile()
- GetObjectByKey()
- GetObjectHistory()
- GetPublicKey()
- RegisterEthUser()
- RegisterUser()
- UpdatePublicKey()
- VerifySignature()
- afterTransaction()
- aroundTransaction()
- beforeTransaction()
- createContext()
- getName()
- getVersion()
- registerUser()
- unknownTransaction()
- _isContract()
new PublicKeyContract():
PublicKeyContract
chaincode/src/contracts/PublicKeyContract.ts:56
GetChaincodeVersion(
ctx
):Promise
<GalaChainResponse
<string
>>
▪ ctx: GalaChainContext
GalaContract
.GetChaincodeVersion
chaincode/src/contracts/GalaContract.ts:84
GetContractAPI(
ctx
):Promise
<GalaChainResponse
<ContractAPI
>>
▪ ctx: GalaChainContext
chaincode/src/contracts/GalaContract.ts:93
GetMyProfile(
ctx
,dto
):Promise
<GalaChainResponse
<UserProfile
>>
▪ ctx: GalaChainContext
▪ dto: GetMyProfileDto
chaincode/src/contracts/PublicKeyContract.ts:99
GetObjectByKey(
ctx
,dto
):Promise
<GalaChainResponse
<Record
<string
,unknown
>>>
▪ ctx: GalaChainContext
▪ dto: GetObjectDto
chaincode/src/contracts/GalaContract.ts:104
GetObjectHistory(
ctx
,dto
):Promise
<GalaChainResponse
<Record
<string
,unknown
>>>
▪ ctx: GalaChainContext
▪ dto: GetObjectHistoryDto
chaincode/src/contracts/GalaContract.ts:116
GetPublicKey(
ctx
,dto
):Promise
<GalaChainResponse
<PublicKey
>>
▪ ctx: GalaChainContext
▪ dto: GetPublicKeyDto
chaincode/src/contracts/PublicKeyContract.ts:181
RegisterEthUser(
ctx
,dto
):Promise
<GalaChainResponse
<string
>>
▪ ctx: GalaChainContext
▪ dto: RegisterEthUserDto
chaincode/src/contracts/PublicKeyContract.ts:150
RegisterUser(
ctx
,dto
):Promise
<GalaChainResponse
<string
>>
▪ ctx: GalaChainContext
▪ dto: RegisterUserDto
chaincode/src/contracts/PublicKeyContract.ts:129
UpdatePublicKey(
ctx
,dto
):Promise
<GalaChainResponse
<void
>>
▪ ctx: GalaChainContext
▪ dto: UpdatePublicKeyDto
chaincode/src/contracts/PublicKeyContract.ts:167
VerifySignature(
ctx
,dto
):Promise
<GalaChainResponse
<void
>>
▪ ctx: GalaChainContext
▪ dto: ChainCallDTO
chaincode/src/contracts/PublicKeyContract.ts:202
afterTransaction(
ctx
,result
):Promise
<void
>
▪ ctx: GalaChainContext
▪ result: unknown
chaincode/src/contracts/GalaContract.ts:62
aroundTransaction(
ctx
,fn
,parameters
):Promise
<void
>
▪ ctx: GalaChainContext
▪ fn: Function
▪ parameters: unknown
GalaContract
.aroundTransaction
chaincode/src/contracts/GalaContract.ts:57
beforeTransaction(
ctx
):Promise
<void
>
▪ ctx: GalaChainContext
GalaContract
.beforeTransaction
chaincode/src/contracts/GalaContract.ts:52
createContext():
GalaChainContext
chaincode/src/contracts/GalaContract.ts:48
getName():
string
node_modules/fabric-contract-api/types/index.d.ts:33
getVersion():
string
chaincode/src/contracts/GalaContract.ts:44
private
registerUser(ctx
,providedPkHex
,ethAddress
,userAlias
):Promise
<GalaChainResponse
<string
>>
▪ ctx: GalaChainContext
▪ providedPkHex: string
▪ ethAddress: string
▪ userAlias: string
chaincode/src/contracts/PublicKeyContract.ts:60
unknownTransaction(
ctx
):Promise
<void
>
▪ ctx: Context
GalaContract
.unknownTransaction
node_modules/fabric-contract-api/types/index.d.ts:30
static
_isContract():boolean
node_modules/fabric-contract-api/types/index.d.ts:24