UserManager

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x3ecec740 at 15134205
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
7 additional variables

No balances found for "UserManager"

No transactions found for "UserManager"


Functions
Getter at block 20904146
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ROLE_ADMIN(view returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
assetManager(view returns (address)
0x0000000000000000000000000000000000000000
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
creditLimitModel(view returns (address)
0x0000000000000000000000000000000000000000
maxStakeAmount(view returns (uint256)
0
newMemberFee(view returns (uint256)
0
pauseGuardian(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
stakingToken(view returns (address)
0x0000000000000000000000000000000000000000
totalFrozen(view returns (uint256)
0
totalStaked(view returns (uint256)
0
uToken(view returns (address)
0x0000000000000000000000000000000000000000
unionToken(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
checkIsMember(address accountview returns (bool)
getBorrowerAddresses(address accountview returns (address[])
getBorrowerAsset(address accountaddress borrowerview returns (uint256 trustAmountuint256 vouchingAmountuint256 lockedStake)
getCreditLimit(address borrowerview returns (int256)
getFrozenCoinAge(address stakeruint256 pastBlocksview returns (uint256)
getLockedStake(address stakeraddress borrowerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakerAddresses(address accountview returns (address[])
getStakerAsset(address accountaddress stakerview returns (uint256 trustAmountuint256 vouchingAmountuint256 lockedStake)
getStakerBalance(address accountview returns (uint256)
getTotalFrozenAmount(address stakerview returns (uint256)
getTotalLockedStake(address stakerview returns (uint256)
getVouchingAmount(address stakeraddress borrowerview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address accountview returns (bool)
memberFrozen(addressview returns (uint256)
stakers(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
__Controller_init(address admin_
__UserManager_init(address assetManager_address unionToken_address stakingToken_address creditLimitModel_address comptroller_address admin_
addAdmin(address account
addMember(address account
batchUpdateTotalFrozen(address[] accountsbool[] isOverdues
cancelVouch(address stakeraddress borrower
debtWriteOff(address borroweruint256 amount
grantRole(bytes32 roleaddress account
pause(
registerMember(address newMember
registerMemberWithPermit(address newMemberuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
renounceAdmin(
renounceRole(bytes32 roleaddress account
repayLoanOverdue(address accountaddress tokenuint256 lastRepay
revokeRole(bytes32 roleaddress account
setCreditLimitModel(address newCreditLimitModel
setGuardian(address account
setMaxStakeAmount(uint256 maxStakeAmount_
setNewMemberFee(uint256 amount
setUToken(address uToken_
stake(uint256 amount
stakeWithERC20Permit(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
stakeWithPermit(uint256 amountuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 s
unpause(
unstake(uint256 amount
updateLockedData(address borroweruint256 amountbool isBorrow
updateTotalFrozen(address accountbool isOverdue
updateTrust(address borrower_uint256 trustAmount
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdrawRewards(
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
LogAddMember(address member
LogCancelVouch(address indexed accountaddress indexed borrower
LogDebtWriteOff(address indexed stakeraddress indexed borroweruint256 amount
LogNewCreditLimitModel(address newCreditLimitModel
LogRegisterMember(address indexed accountaddress indexed borrower
LogSetMaxStakeAmount(uint256 oldMaxStakeAmountuint256 newMaxStakeAmount
LogSetNewMemberFee(uint256 oldMemberFeeuint256 newMemberFee
LogSetUToken(address uToken
LogStake(address indexed accountuint256 amount
LogUnstake(address indexed accountuint256 amount
LogUpdateTrust(address indexed stakeraddress indexed borroweruint256 trustAmount
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressZero(
AmountZero(
AssetManagerDepositFailed(
AssetManagerWithdrawFailed(
AuthFailed(
ErrorData(
ErrorSelfVouching(
ErrorTotalStake(
ExceedsLocked(
ExceedsTotalFrozen(
ExceedsTotalStaked(
InsufficientBalance(
LengthNotMatch(
LockedStakeNonZero(
MaxTrustLimitReached(
NoExistingMember(
NotCreditLimitModel(
NotEnoughStakers(
NotOverdue(
StakeLimitReached(
TrustAmountTooLarge(