p2pix-smart-contracts/docs/Reputation.md
2022-12-02 15:27:19 -03:00

1.4 KiB

Reputation

Methods

limiter

function limiter(uint256 _userCredit) external pure returns (uint256 _spendLimit)

Parameters

Name Type Description
_userCredit uint256 undefined

Returns

Name Type Description
_spendLimit uint256 undefined

magicValue

function magicValue() external view returns (uint256)

*Denominator's constant operand for the limiter fx. *

Returns

Name Type Description
_0 uint256 undefined

maxLimit

function maxLimit() external view returns (uint256)

Asymptote numerator constant value for the limiter fx.

Returns

Name Type Description
_0 uint256 undefined

owner

function owner() external view returns (address)

Returns

Name Type Description
_0 address undefined

setOwner

function setOwner(address newOwner) external nonpayable

Parameters

Name Type Description
newOwner address undefined

Events

OwnerUpdated

event OwnerUpdated(address indexed user, address indexed newOwner)

Parameters

Name Type Description
user indexed address undefined
newOwner indexed address undefined