MoCVendors
Structs
VendorDetails
struct VendorDetails {
bool isActive,
uint256 markup,
uint256 totalPaidInMoC,
uint256 staking
}Contract Members
contract IMoC internal moc;contract IMoCState internal mocState;VendorRegistered
Name
Type
Description
VendorUpdated
Name
Type
Description
VendorUnregistered
Name
Type
Description
VendorStakeAdded
Name
Type
Description
VendorStakeRemoved
Name
Type
Description
TotalPaidInMoCReset
Name
Type
Description
VendorGuardianAddressChanged
Name
Type
Description
VendorReceivedMarkup
Name
Type
Description
Modifiers
onlyActiveVendor
onlyVendorGuardian
Functions
initialize
Name
Type
Description
getVendorsCount
registerVendor
Name
Type
Description
unregisterVendor
Name
Type
Description
addStake
Name
Type
Description
removeStake
Name
Type
Description
updatePaidMarkup
Name
Type
Description
getIsActive
Name
Type
Description
getMarkup
Name
Type
Description
getTotalPaidInMoC
Name
Type
Description
getStaking
Name
Type
Description
resetTotalPaidInMoC
getVendorGuardianAddress
setVendorGuardianAddress
Name
Type
Description
initializeContracts
initializeValues
Name
Type
Description
setVendorGuardianAddressInternal
Name
Type
Description
Last updated