Course Token Event

Emits all Events for ONGAESHI DAO for NFT mint, loan, repair, talent match and contract parameter updates.

onlyExecutor

modifier onlyExecutor()

executors

mapping(address => bool) executors

CourseDeployed

event CourseDeployed(address courseAddress, address sender)

TokenMint

event TokenMint(address destAddress, address courseAddress, uint256 tokenId, uint256 price)

PriceUpdated

event PriceUpdated(address courseAddress, uint256 oldPrice, uint256 newPrice)

FeeUpdated

event FeeUpdated(address courseAddress, uint256 oldFee, uint256 newFee)

TreasuryUpdated

event TreasuryUpdated(address courseAddress, address oldTreasury, address newTreasury)

SupplyLimitUpdated

TeacherPaid

TeacherAdded

TalentMatchAdded

TalentMatchConfirmed

TalentMatchUpdated

TalentMatchDeleted

ShareSchemeUpdated

NeedRepair

Repaired

TokenLended

constructor

initialize

ShareSchemeUpdatedEvent

TalentMatchAddedEvent

TalentMatchConfirmedEvent

TalentMatchDeletedEvent

TalentMatchUpdatedEvent

TokenMintEvent

PriceUpdatedEvent

FeeUpdatedEvent

TreasuryUpdatedEvent

SupplyLimitUpdatedEvent

CourseDeployedEvent

TeacherPaidEvent

TeacherAddedEvent

NeedRepairEvent

RepairedEvent

TokenLendedEvent

setExecutor

Set executor status to any contract, caller must be an Executor

Parameters

Name
Type
Description

_address

address

Address to set executor status

_allow

bool

Executor status, true to give access, false to revoke

Last updated