Simplify Makers Interactions with Staking Pools.
- No longer an upper limit on how many makers can be in a pool. - No longer a handshake for a maker to join a pool. - No longer any special powers given to makers. - Pool Id starts at 1 and increments by 1.
This commit is contained in:
@@ -61,11 +61,11 @@ export class InsufficientBalanceError extends RevertError {
|
||||
}
|
||||
}
|
||||
|
||||
export class OnlyCallableByPoolOperatorOrMakerError extends RevertError {
|
||||
export class OnlyCallableByPoolOperatorError extends RevertError {
|
||||
constructor(senderAddress?: string, poolId?: string) {
|
||||
super(
|
||||
'OnlyCallableByPoolOperatorOrMakerError',
|
||||
'OnlyCallableByPoolOperatorOrMakerError(address senderAddress, bytes32 poolId)',
|
||||
'OnlyCallableByPoolOperatorError',
|
||||
'OnlyCallableByPoolOperatorError(address senderAddress, bytes32 poolId)',
|
||||
{ senderAddress, poolId },
|
||||
);
|
||||
}
|
||||
@@ -194,7 +194,7 @@ const types = [
|
||||
InvalidParamValueError,
|
||||
MakerPoolAssignmentError,
|
||||
OnlyCallableByExchangeError,
|
||||
OnlyCallableByPoolOperatorOrMakerError,
|
||||
OnlyCallableByPoolOperatorError,
|
||||
OnlyCallableByStakingContractError,
|
||||
OnlyCallableIfInCatastrophicFailureError,
|
||||
OnlyCallableIfNotInCatastrophicFailureError,
|
||||
|
Reference in New Issue
Block a user