Events

Git Source

Author: Daniel Yamagata & Naveen Ailawadi

A library for all events emitted throughout the Mezzanine protocol

Events

UpgradeProposed

event UpgradeProposed(address newImplementation, uint256 pendingUpgradeSnapshot);

UpgradeCanceled

event UpgradeCanceled(address caller);

OwnershipTransferCanceled

event OwnershipTransferCanceled(address caller);

ProtocolStateSet

event ProtocolStateSet(DataTypes.ProtocolState state);

ProtocolFrozen

event ProtocolFrozen(address indexed freezer, uint256 freezeDuration, uint256 frozenSnapshot);

ImplementationFrozenStateSet

event ImplementationFrozenStateSet(address indexed implementation, bool frozen);

DeploymentFrozenStateSet

event DeploymentFrozenStateSet(address indexed freezer, address indexed deployment, bool frozen);

DocumentRegistrySet

event DocumentRegistrySet(address newDocumentRegistry);

MezzDeployerSet

event MezzDeployerSet(address newMezzDeployer);

FeeControllerSet

event FeeControllerSet(address newFeeController);

DenominationAssetAddedToWhitelist

event DenominationAssetAddedToWhitelist(address denominationAsset);

DenominationAssetRemovedFromWhitelist

event DenominationAssetRemovedFromWhitelist(address denominationAsset);

DefenderAdded

event DefenderAdded(address defender);

DefenderRemoved

event DefenderRemoved(address defender);

MezzInstanceDeployed

event MezzInstanceDeployed(
    address indexed creator,
    bytes32 indexed companyId,
    DataTypes.MezzInstance mezzInstance,
    address[] initialOwners,
    string name,
    string symbol
);

GuardDeployed

event GuardDeployed(
    address indexed creator, address indexed controlled, address indexed controller, bytes32 coreId, address newGuard
);

DepartmentDeployed

event DepartmentDeployed(address indexed creator, bytes32 coreId, address deployedDepartment);

ModuleDeployed

event ModuleDeployed(address indexed creator, bytes32 coreId, address deployedDepartment);

AssetDeployed

event AssetDeployed(address indexed creator, bytes32 coreId, address deployedAsset);

GovernorDeployed

event GovernorDeployed(address indexed creator, bytes32 coreId, address deployedGovernor);

GuardSelectorDefaultAdded

event GuardSelectorDefaultAdded(
    bytes32 indexed coreId, address indexed contractAddress, bytes4 indexed functionSelector
);

GuardSelectorDefaultRemoved

event GuardSelectorDefaultRemoved(
    bytes32 indexed coreId, address indexed contractAddress, bytes4 indexed functionSelector
);

GuardContractDefaultAdded

event GuardContractDefaultAdded(bytes32 indexed coreId, address indexed contractAddress);

GuardContractDefaultRemoved

event GuardContractDefaultRemoved(bytes32 indexed coreId, address indexed contractAddress);

NewCoreVersionSet

event NewCoreVersionSet(bytes32 indexed coreId, uint256 indexed version, address newImplementation);

ContractUpgraded

event ContractUpgraded(
    address indexed caller, bytes32 indexed coreId, uint256 indexed newVersion, address newImplementation
);

CoreVersionDeleted

event CoreVersionDeleted(bytes32 indexed coreId, uint256 indexed version, address implementation);

CoreVersionReset

event CoreVersionReset(bytes32 indexed coreId, uint256 indexed latestVersion, address priorImplementation);

ContractResetToPatchedVersion

event ContractResetToPatchedVersion(
    address indexed caller, bytes32 indexed coreId, uint256 indexed newVersion, address newImplementation
);

DocumentAdded

event DocumentAdded(
    address indexed documentOwner, uint256 indexed documentIndex, string indexed documentName, string documentUri
);

DocumentUpdated

event DocumentUpdated(
    address indexed documentOwner,
    uint256 indexed documentIndex,
    string indexed updatedDocumentName,
    string updatedDocumentUri,
    uint256 version
);

ImplementationFeeSet

event ImplementationFeeSet(address indexed implementationAddress, uint256 newFee);

FeesCollected

event FeesCollected(address indexed asset, address indexed hubOwner, uint256 collectionAmount);

InvoiceSent

event InvoiceSent(
    address indexed seller,
    address indexed billableParty,
    bytes32 indexed categoryId,
    bytes32 invoiceId,
    address denominationAsset,
    uint256 amount,
    uint256 dueDate,
    string description
);

InvoicePaid

event InvoicePaid(
    address indexed seller,
    address indexed billableParty,
    bytes32 indexed categoryId,
    bytes32 invoiceId,
    address payer,
    address denominationAsset,
    uint256 amountPaid,
    uint256 invoiceAmount
);

InvoiceCanceled

event InvoiceCanceled(
    address indexed seller,
    address indexed billableParty,
    bytes32 indexed categoryId,
    bytes32 invoiceId,
    address denominationAsset,
    uint256 amount,
    uint256 dueDate,
    uint256 documentIndex
);

InvoiceDocumentUpdated

event InvoiceDocumentUpdated(bytes32 indexed invoiceId, uint256 invoiceDocumentIndex, uint256 newDocumentVersion);

AdminAdded

event AdminAdded(address admin);

AdminRemoved

event AdminRemoved(address admin);

ChildInserted

event ChildInserted(address indexed child);

ChildRemoved

event ChildRemoved(address indexed child);

AncestorAddedOwner

event AncestorAddedOwner(address indexed ancestor, address indexed newOwner);

AncestorRemovedOwner

event AncestorRemovedOwner(address indexed ancestor, address indexed removedOwner);

AncestorSwappedGuard

event AncestorSwappedGuard(address indexed ancestor, bytes32 newGuardCoreId, address newGuard);

AncestorChangedThreshold

event AncestorChangedThreshold(address indexed ancestor, uint256 newThreshold);

Spent

event Spent(address indexed asset, uint256 amount, uint256 amountReceived);

SharesIssued

event SharesIssued(address indexed to, uint256 value);

SharesAuthorized

event SharesAuthorized(uint256 amount);

SharesBurned

event SharesBurned(address indexed from, uint256 amount);

DelegateVotesChanged

event DelegateVotesChanged(address indexed delegate, uint256 previousVotes, uint256 newVotes);

AssetAddedToCapitalStack

event AssetAddedToCapitalStack(address indexed asset, uint256 senioirtyLevelIndex, uint256 assetDocumentIndex);

AssetRemovedFromCapitalStack

event AssetRemovedFromCapitalStack(address indexed asset);

ShareClassAdded

event ShareClassAdded(address indexed shares);

ShareClassRemoved

event ShareClassRemoved(address indexed shares);

GovernorChanged

event GovernorChanged(bytes32 indexed governorCoreId, address newGovernor);

PayrollSpent

event PayrollSpent(address indexed asset, uint256 amount, uint256 amountPaid);

ChildSpent

event ChildSpent(address indexed asset, uint256 amount, uint256 fee);

SharesVested

event SharesVested(address indexed owner, address indexed shares, uint256 indexed tokenId, uint256 amountVested);

SharesVestingCompleted

event SharesVestingCompleted(
    address indexed owner, address indexed shares, uint256 indexed tokenId, uint256 totalAmountReleased
);

SharesVestingCanceledAtTimepoint

event SharesVestingCanceledAtTimepoint(
    address indexed owner,
    address indexed shares,
    uint256 indexed tokenId,
    address cancelor,
    uint256 amountCanceled,
    uint256 timepoint
);

SharesVestingCanceled

event SharesVestingCanceled(
    address indexed owner, address indexed shares, uint256 indexed tokenId, address cancelor, uint256 amountCanceled
);

SharesVestingDurationExtended

event SharesVestingDurationExtended(address indexed owner, uint256 indexed tokenId, uint256 durationExtension);

SharesVestingAmountIncreased

event SharesVestingAmountIncreased(
    address indexed owner, address indexed shares, uint256 indexed tokenId, address sender, uint256 equityExtension
);

SharesReleased

event SharesReleased(address indexed owner, address indexed shares, uint256 indexed tokenId, uint256 amountReleased);

DelegateVotesChanged

event DelegateVotesChanged(address indexed delegate, address shares, uint256 previousVotes, uint256 newVotes);

SeniorityLevelAdded

event SeniorityLevelAdded(
    uint256 indexed seniorityLevelIndex,
    uint8 indexed assetClass,
    uint256 previousSeniorityLevelIndex,
    uint256 nextSeniorityLevelIndex
);

SeniorityLevelRemoved

event SeniorityLevelRemoved(
    uint256 indexed seniorityLevelIndex,
    uint8 indexed assetClass,
    uint256 previousSeniorityLevelIndex,
    uint256 nextSeniorityLevelIndex
);

AssetAdded

event AssetAdded(uint256 indexed seniorityLevelIndex, address indexed asset, uint256 documentIndex);

AssetRemoved

event AssetRemoved(uint256 indexed seniorityLevelIndex, address indexed asset, uint256 documentIndex);

AssetDocumentUpdated

event AssetDocumentUpdated(address indexed asset, uint256 indexed documentIndex, uint256 newDocumentVersion);

DelegateChanged

event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

EmployeeHired

event EmployeeHired(
    address indexed employee,
    uint256 indexed tokenId,
    address indexed hirer,
    uint256 startDate,
    uint256 annualCash,
    uint256 equityAmount,
    uint256 vestingDuration
);

CashPaid

event CashPaid(
    address indexed employee,
    uint256 indexed tokenId,
    address indexed recipient,
    address executor,
    address cashAsset,
    uint256 cashToTransfer,
    uint256 cashPaid,
    bytes32 encodedPaymentDetails
);

EquityPaid

event EquityPaid(
    address indexed employee,
    uint256 indexed tokenId,
    address indexed recipient,
    address executor,
    uint256 equityToTransfer,
    bytes32 encodedPaymentDetails
);

EmployeeTerminated

event EmployeeTerminated(address indexed employee, uint256 tokenId);

UnpaidTimeOffIncreased

event UnpaidTimeOffIncreased(address indexed employee, uint256 indexed tokenId, uint256 unpaidTimeOff);

EmployeeResigned

event EmployeeResigned(address indexed employee, uint256 tokenId, uint256 endDate);

EmployeeRecipientChanged

event EmployeeRecipientChanged(address indexed employee, uint256 indexed tokenId, address newRecipient);

ActionProposed

event ActionProposed(bytes32 indexed actionId, address indexed proposer);

CashSalaryChangeProposed

event CashSalaryChangeProposed(bytes32 indexed actionId, uint256 indexed tokenId, uint256 newCashSalary);

CashPaymentProposed

event CashPaymentProposed(
    bytes32 indexed actionId, uint256 indexed tokenId, uint256 cashPaymentAmount, bytes32 encodedPaymentDetails
);

EquityPaymentProposed

event EquityPaymentProposed(
    bytes32 indexed actionId, uint256 indexed tokenId, uint256 equityPaymentAmount, bytes32 encodedPaymentDetails
);

EquityPaymentsExtensionProposed

event EquityPaymentsExtensionProposed(
    bytes32 indexed actionId, uint256 indexed tokenId, uint256 equityExtension, uint256 durationExtension
);

NewEquityPaymentsProposed

event NewEquityPaymentsProposed(
    bytes32 indexed actionId,
    uint256 indexed tokenId,
    uint256 equityAmount,
    uint256 startDate,
    uint256 vestingDuration,
    uint256 vestingCliff,
    uint256 vestingInitialUnlock
);

PendingActionCanceled

event PendingActionCanceled(bytes32 indexed actionId, address indexed canceler);

CashSalaryChanged

event CashSalaryChanged(
    address indexed employee, uint256 indexed tokenId, bytes32 indexed actionId, uint256 newCashSalary
);

ExtendedEquityPayments

event ExtendedEquityPayments(
    address indexed employee,
    uint256 indexed tokenId,
    bytes32 indexed actionId,
    uint256 equityExtension,
    uint256 durationExtension
);

NewEquityPaymentsSet

event NewEquityPaymentsSet(
    address indexed employee,
    uint256 indexed tokenId,
    bytes32 indexed actionId,
    uint256 equityAmount,
    uint256 startDate,
    uint256 vestingDuration,
    uint256 vestingCliff,
    uint256 vestingInitialUnlock
);

EmployeeDocumentUpdated

event EmployeeDocumentUpdated(
    address indexed employee, uint256 indexed tokenId, uint256 documentIndex, uint256 newDocumentVersion
);

VotingDelaySet

event VotingDelaySet(uint256 newVotingDelay);

VotingPeriodSet

event VotingPeriodSet(uint256 newVotingPeriod);

ProposalThresholdPercentageSet

event ProposalThresholdPercentageSet(uint256 newProposalThresholdPercentage);

QuorumPercentageSet

event QuorumPercentageSet(uint256 newQuorumPercentage);

ProposalCanceled

event ProposalCanceled(uint256 proposalId, address canceler);

ProposalExecuted

event ProposalExecuted(uint256 proposalId, address executor);

VoteCast

event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason);

VoteCastWithParams

event VoteCastWithParams(
    address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason, bytes params
);

Executed

event Executed(
    address indexed target, bytes4 indexed functionSelector, address indexed executor, uint256 value, bytes data
);

ProposalCreated

event ProposalCreated(
    address indexed proposer,
    address indexed shareClass,
    uint256 proposalId,
    bytes4 action,
    uint256 voteStart,
    uint256 voteEnd,
    string description
);

GovernorChangedTreasuryThreshold

event GovernorChangedTreasuryThreshold(uint256 newTreasuryThreshold, uint256 oldThreshold);

ShareClassBoardSeatsIncreased

event ShareClassBoardSeatsIncreased(address indexed shareClass, uint256 newBoardSeats, uint256 increaseAmount);

ShareClassBoardMemberAdded

event ShareClassBoardMemberAdded(address indexed shareClass, address indexed boardMember);

ShareClassBoardMemberRemoved

event ShareClassBoardMemberRemoved(address indexed shareClass, address indexed boardMember);

SelectorAddedToList

event SelectorAddedToList(address indexed contractAddress, bytes4 indexed selector);

SelectorRemovedFromList

event SelectorRemovedFromList(address indexed contractAddress, bytes4 indexed selector);

ContractAddedToList

event ContractAddedToList(address indexed contractAddress);

ContractRemovedFromList

event ContractRemovedFromList(address indexed contractAddress);

PricedRoundOpened

event PricedRoundOpened(
    uint256 indexed newPricedRoundIndex,
    address pricedRoundAddress,
    uint256 totalSharesForRound,
    uint256 pricePerShare,
    uint256 targetRaise,
    uint256 minimumRaise
);

InvestorAllocationSet

event InvestorAllocationSet(address indexed investor, uint128 numberOfShares, int128 discountOrPremium);

InvestorShareAllocationIncreased

event InvestorShareAllocationIncreased(address indexed investor, uint128 amount, uint128 newShareAllocation);

InvestorShareAllocationDecreased

event InvestorShareAllocationDecreased(address indexed investor, uint128 amount, uint128 newShareAllocation);

RoundOpened

event RoundOpened(
    address owner,
    address treasury,
    address denominationAsset,
    address shares,
    uint128 minimumRaise,
    uint128 targetRaise
);

MinimumRaiseIncreased

event MinimumRaiseIncreased(uint128 minimumRaiseExtension, uint128 newMinimumRaise);

RoundExtended

event RoundExtended(
    uint128 targetRaiseExtension, uint128 totalSharesExtension, uint128 newTargetRaise, uint128 newTotalSharesForRound
);

RoundCanceled

event RoundCanceled(uint128 totalRaised, uint128 minimumRaise, uint128 targetRaise, uint128 totalSharesForRound);

RoundClosed

event RoundClosed(uint256 totalRaised, uint128 allottedShares);

InvestedInRound

event InvestedInRound(address indexed investor, uint128 investmentAmount, uint128 sharesOwed);

InvestmentRevoked

event InvestmentRevoked(address indexed investor, uint128 investmentAmount, uint128 sharesOwed);

InvestmentRecouped

event InvestmentRecouped(address indexed investor, uint128 investmentAmount, uint128 sharesOwed);

SharesClaimed

event SharesClaimed(address indexed investor, uint128 sharesClaimed, uint256 tokenTimelockTokenId);

Last updated