ExternalDeveloperHub
ExternalDeveloperHub__ChainIsNotSupported
ExternalDeveloperHub__IsNotOwner
ExternalDeveloperHub__ProtocolNotRegistered
ExternalDeveloperHub__ExternalDeveloperNotApproved
ExternalDeveloperHub__AddrTooBig
ExternalDeveloperHub__ProtocolAlreadyExists
ExternalDeveloperHub__DuplicateTransmitter
ExternalDeveloperHub__ZeroAmount
ExternalDeveloperHub__ZeroOwner
ExternalDeveloperHub__ZeroAddress
ExternalDeveloperHub__InvalidAddress
ExternalDeveloperHub__NoTransmittersAllowed
ExternalDeveloperHub__InsufficientFunds
ExternalDeveloperHub__InvalidConsensusTargetRate
ExternalDeveloperHub__ManualTransmittersLimitExceeded
ExternalDeveloperHub__MaxTransmittersLimitTooHigh
ADMIN
APPROVE
BET_MANAGER
ROUND_MANAGER
ApproveExternalDeveloper
BanExternalDeveloper
SetMaxTransmitterLimitByAdmin
SetMaxTransmitterLimit
SetMinProtocolBalance
SetProtocolFee
RegisterProtocol
SetProtocolOwner
SetDAOProtocolOwner
Deposit
SetManualTransmitters
SetConsensusTargetRate
SetMinDelegateAmount
SetMinPersonalAmount
AddAllowedProtocolAddress
RemoveAllowedProtocolAddress
AddAllowedProposerAddress
RemoveAllowedProposerAddress
AddExecutor
RemoveExecutor
ProtocolParams
ProtocolInfo
isInit
setContracts init marker
approvedExternalDevelopers
externalDevelopers that are KYB verified.
maxTransmittersLimitByAdmin
manual max transmitters limit
protocolInfo
activeParams
Active params for current round.
realtimeParams
Params that will be updated on next round turn.
protocols
protocol list
masterSmartContract
stakingManager
ngl
globalConfig
minProtocolBalance
Minimum balance in stake for specified protocol or it'll be paused
allowedChainIds
allowed chains
_protocolOwnerInternal
protocolOwner
allowedChainId
initialize
Initialize
Parameters
setContracts
Set contracts addresses
Parameters
_authorizeUpgrade
approveExternalDeveloper
Approve externalDeveloper after KYB process
Parameters
banExternalDeveloper
Remove externalDeveloper from approved list
Parameters
setMaxTransmitterLimitByAdmin
Change maximum allowed number of transmitters for protocol (enforced only on next param change by externalDeveloper)
Parameters
setMinProtocolBalance
Change minimum balance for protocol
Parameters
setProtocolFee
Change change protocol fee for specified protocol
Parameters
getActiveProtocols
Protocols that have minimum balance and not paused
requireParamsValid
Check if all protocol params are valid (should be called after each param setter)
Parameters
initGovProtocol
Gov protocol (added by Entangle) initialization
Parameters
addGovProtocolAddress
set govProtocol address by admin (only once per deploy)
Parameters
registerProtocol
register new protocol (by externalDeveloper)
Parameters
deduceChangeParamsFee
Deduce fee from externalDeveloper on each function that changes protocol params
setProtocolOwner
Transfer ownership to new externalDeveloper address
Parameters
setMinPersonalAmount
Set minimum personal stake amount for transmitters that can participate in protocol
Parameters
setMinDelegateAmount
Set minimum delegate amount for transmitters to participate in protocol
Parameters
setMaxTransmitterLimit
Set maximum number of transmitters that can participate in protocol
Parameters
setProtocolParams
Set protocol bet and reward params
Parameters
deposit
Deposit NGL to protocol balance
Parameters
setManualTransmitters
Set manual transmitter list
Parameters
addAllowedProtocolAddress
Set protocol contract address
Parameters
removeAllowedProtocolAddress
Remove protocol contract address
Parameters
addAllowedProposerAddress
Set address that can propose new operations on EndPoint
Parameters
removeAllowedProposerAddress
Remove address that can propose new operations on EndPoint
Parameters
addExecutor
Add executor address (which can call executeOperation on EndPoint with protocols operations)
Parameters
removeExecutor
Remove executor address
Parameters
minDelegateAmount
Minimum delegate amount for transmitters that can participate in protocol
Parameters
minPersonalAmount
Minimum personal stake amount for transmitters that can participate in protocol
Parameters
maxTransmitters
Maximum number of transmitters that can participate in protocol
Parameters
protocolFee
Protocol fee deduced from protocol balance on each operation
Parameters
getMinProtocolBalance
Get protocol min balance
Parameters
checkProtocolBalance
Check if protocol balance is above minimum of (global minProtocolBalance or protocol specific min balance)
Parameters
Return Values
betAmount
Get required bet amount for protocol for given bet type
Parameters
rewardAmount
Get reward amount credited to each participating transmitter after operation is executed
Parameters
getProtocolOwner
Get protocol owner
Parameters
protocolBalance
Get current protocol balance
Parameters
manualTransmitters
Get list of transmitters added by externalDeveloper
Parameters
isManualTransmitter
Check if transmitter is static and added by externalDeveloper
Parameters
getProtocols
Get protocol list
turnRound
Update active params from realtime params for each protocol
deduceFee
Either deduce fee or pause protocol if no funds left
Parameters
Last updated