KIP Management
This is a special contract dedicated to KIP Protocol's business team for managing the ecosystem. It is used as the
KIP Ecosystem Governance
contract, which manages:The
Treasury
wallet that receives incoming fees.The payment acceptance token used in the ecosystem.
A list of special actors granted specific privileges in the ecosystem:
DEFAULT_ADMIN_ROLE
OPERATOR_ROLE
MINTER_ROLE
Deployed
KIPManagement
contract:Network
Sepolia Base
: 0xfb801502E5f12c6050C355C5595B0e7Cf8EE321B
Constant settings:
DEFAULT_ADMIN_ROLE
:OPERATOR_ROLE
:MINTER_ROLE
:
Contract Interfaces
Getter functions:
Purpose: Query the current address of the
Treasury
walletParameters:
None
Return:
Type:
address
Value: The address of the
Treasury
wallet
Purpose: Query the current address of the payment acceptance token in the ecosystem
Parameters:
None
Return:
Type:
address
Value: The address of the payment acceptance token
Purpose: Query the total number of members assigned to the
role
Parameter:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
Return:
Type:
uint256
Value: The total number of members assigned to the
role
Purpose: Query the address of the
role
member at the specifiedindex
in the listParameters:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
index
:Type:
uint256
Value: The index value to query
Return:
Type:
address
Value: The address of the
role
member
Purpose: Check whether
account
has been assignedrole
Parameters:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
account
:Type:
address
Value: The address to verify its
role
Return:
Type:
bool
Value:
true
orfalse
Setter functions:
Purpose: Set or Update the
Treasury
walletRequirements:
Caller must have
DEFAULT_ADMIN_ROLE
The new
Treasury
wallet address should not be0x0
Parameter:
newTreasury
:Type:
address
Value: The address of the new
Treasury
wallet
Purpose: Grant a special
role
toaccount
Requirement:
Caller must have
DEFAULT_ADMIN_ROLE
Parameters:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
account
:Type:
address
Value: The address that will be assigned the
role
Purpose: Revoke the assigned
role
fromaccount
Requirement:
Caller must have
DEFAULT_ADMIN_ROLE
Parameters:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
account
:Type:
address
Value: The address that will have its
role
revoked
Purpose: Renounce the assigned
role
fromaccount
Requirement:
Caller (
msg.sender
) must be the same ascallerConfirmation
Parameters:
role
:Type:
bytes32
Value: The unique ID assigned to the
role
Example:
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
callerConfirmation
:Type:
address
Value: The address of the
account
that will renounce itsrole
Last updated