Pool Manager
Insurance Smart Contract
currency
Get the currency address.
[0]
address
The address of the currency.
poolId
Get the pool id.
[0]
string
The pool id.
poolName
Get the pool name.
[0]
string
The pool name.
decimals
Get the decimals of the pool.
[0]
uint8
The decimals of the pool.
verifier
Get the verifier address.
[0]
address
The address of the verifier that provides the verification service.
riskCarrierManager
Get the risk carrier manager address.
[0]
address
The address of the risk carrier manager.
upfrontManager
Get the upfront manager address.
[0]
address
The address of the upfront manager.
validatorManager
Get the validator manager address.
[0]
address
The address of the validator manager.
setCurrency
Set the currency address.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
CurrencyChanged
- Emitted when the currency address is changed successfully.
addr
address
The address of the currency.
CurrencyChanged
This event is emitted when the currency address is changed.
currency
address
The currency address.
setPoolName
Set the pool name.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
PoolNameChanged
- Emitted when the pool name is changed successfully.
poolName
string
The pool name.
PoolNameChanged
This event is emitted when the pool name is changed.
poolName
string
The pool name.
setPoolId
Set the pool id.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
PoolIdChanged
- Emitted when the pool id is changed successfully.
poolId
string
The pool id.
PoolIdChanged
This event is emitted when the pool id is changed.
poolId
string
The pool id.
setVerifier
Set the verifier address.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
VerifierChanged
- Emitted when the verifier address is changed successfully.
addr
address
The address of the verifier that provides the verification service.
VerifierChanged
This event is emitted when the verifier address is changed.
verifier
address
The verifier address.
setRiskCarrierManager
Set the risk carrier manager address.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
RiskCarrierManagerChanged
- Emitted when the risk carrier manager address is changed successfully.
addr
address
The address of the risk carrier manager.
RiskCarrierManagerChanged
This event is emitted when the risk carrier manager address is changed.
riskCarrierManager
address
The risk carrier manager address.
setUpfrontManager
Set the upfront manager address.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
UpfrontManagerChanged
- Emitted when the upfront manager address is changed successfully.
addr
address
The address of the upfront manager.
UpfrontManagerChanged
This event is emitted when the upfront manager address is changed.
upfrontManager
address
The upfront manager address.
setValidatorManager
Set the validator manager address.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
ValidatorManagerChanged
- Emitted when the validator manager address is changed successfully.
addr
address
The address of the validator manager.
ValidatorManagerChanged
This event is emitted when the validator manager address is changed.
validatorManager
address
The validator manager address.
Last updated