OwnershipChangeEvent
Class: OwnershipChangeEvent
Properties overview
Defined in: packages/nft/src/interfaces/ownable.ts:29
Event emitted when the ownership of the contract changes.
Contains the old owner's and new owner's public keys.
Extends
- {
from
:PublicKey
;
to
:PublicKey
;
}
Constructors
new OwnershipChangeEvent()
new OwnershipChangeEvent(value: {
from: PublicKey;
to: PublicKey;
}): OwnershipChangeEvent
Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103
Parameters
value
from
PublicKey
= PublicKey
to
PublicKey
= PublicKey
Returns
Inherited from
Struct({
from: PublicKey,
to: PublicKey,
}).constructor
Properties
from
from: PublicKey = PublicKey;
Defined in: packages/nft/src/interfaces/ownable.ts:30
Inherited from
Struct({
from: PublicKey,
to: PublicKey,
}).from
to
to: PublicKey = PublicKey;
Defined in: packages/nft/src/interfaces/ownable.ts:31
Inherited from
Struct({
from: PublicKey,
to: PublicKey,
}).to
Updated 10 days ago