UserManager
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
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
Balances ($0.00)
No balances found for "UserManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "UserManager"
ABI
ABI objects
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 account) view returns (bool)
getBorrowerAddresses(address account) view returns (address[])
getBorrowerAsset(address account, address borrower) view returns (uint256 trustAmount, uint256 vouchingAmount, uint256 lockedStake)
getCreditLimit(address borrower) view returns (int256)
getFrozenCoinAge(address staker, uint256 pastBlocks) view returns (uint256)
getLockedStake(address staker, address borrower) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStakerAddresses(address account) view returns (address[])
getStakerAsset(address account, address staker) view returns (uint256 trustAmount, uint256 vouchingAmount, uint256 lockedStake)
getStakerBalance(address account) view returns (uint256)
getTotalFrozenAmount(address staker) view returns (uint256)
getTotalLockedStake(address staker) view returns (uint256)
getVouchingAmount(address staker, address borrower) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isAdmin(address account) view returns (bool)
memberFrozen(address) view returns (uint256)
stakers(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events __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[] accounts, bool[] isOverdues)
cancelVouch(address staker, address borrower)
debtWriteOff(address borrower, uint256 amount)
grantRole(bytes32 role, address account)
pause()
registerMember(address newMember)
registerMemberWithPermit(address newMember, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
renounceAdmin()
renounceRole(bytes32 role, address account)
repayLoanOverdue(address account, address token, uint256 lastRepay)
revokeRole(bytes32 role, address account)
setCreditLimitModel(address newCreditLimitModel)
setGuardian(address account)
setMaxStakeAmount(uint256 maxStakeAmount_)
setNewMemberFee(uint256 amount)
setUToken(address uToken_)
stake(uint256 amount)
stakeWithERC20Permit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
stakeWithPermit(uint256 amount, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
unpause()
unstake(uint256 amount)
updateLockedData(address borrower, uint256 amount, bool isBorrow)
updateTotalFrozen(address account, bool isOverdue)
updateTrust(address borrower_, uint256 trustAmount)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdrawRewards()
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
LogAddMember(address member)
LogCancelVouch(address indexed account, address indexed borrower)
LogDebtWriteOff(address indexed staker, address indexed borrower, uint256 amount)
LogNewCreditLimitModel(address newCreditLimitModel)
LogRegisterMember(address indexed account, address indexed borrower)
LogSetMaxStakeAmount(uint256 oldMaxStakeAmount, uint256 newMaxStakeAmount)
LogSetNewMemberFee(uint256 oldMemberFee, uint256 newMemberFee)
LogSetUToken(address uToken)
LogStake(address indexed account, uint256 amount)
LogUnstake(address indexed account, uint256 amount)
LogUpdateTrust(address indexed staker, address indexed borrower, uint256 trustAmount)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AddressZero()
AmountZero()
AssetManagerDepositFailed()
AssetManagerWithdrawFailed()
AuthFailed()
ErrorData()
ErrorSelfVouching()
ErrorTotalStake()
ExceedsLocked()
ExceedsTotalFrozen()
ExceedsTotalStaked()
InsufficientBalance()
LengthNotMatch()
LockedStakeNonZero()
MaxTrustLimitReached()
NoExistingMember()
NotCreditLimitModel()
NotEnoughStakers()
NotOverdue()
StakeLimitReached()
TrustAmountTooLarge()