0x5f98805a4e8be255a32880fdec7f6728c6568ba0
Solidity v0.6.11+commit.5ef660b1
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected mintable controls from the verified ABI.
概览
读取函数
Block #25,493,687 · 37s agoReturns the remaining token allowance that owner granted to spender.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address that owns the tokens.✨ AI |
| spender | address | Address allowed to spend the owner's tokens.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining number of tokens spender is allowed to transfer from owner.✨ AI |
Returns the LUSD token balance of the given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address whose LUSD token balance is returned.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The token balance of the account in the token's smallest unit (uint256).✨ AI |
Returns the current BorrowerOperations contract address used by this token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Address of the BorrowerOperations contract associated with the LUSDToken.✨ AI |
Return the number of decimal places the token uses.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | Number of decimals (uint8) the token uses for display and arithmetic✨ AI |
Return the contract's EIP-712 domain separator used to verify typed signatures.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The EIP-712 domain separator (bytes32) used to construct and verify typed signatures such as permits.✨ AI |
Returns the ERC-20 token's human-readable name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token's human-readable name string (e.g., "LUSD").✨ AI |
Returns the current nonce for an owner used to validate off-chain permit signatures.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address whose nonce is queried.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current uint256 nonce for the owner, used to ensure each permit/signature is unique.✨ AI |
Returns the EIP-712 permit type hash used to build the permit signature digest.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The keccak256 type hash (bytes32) for the permit struct as used in EIP-712 signing and verification.✨ AI |
Returns the address of the Stability Pool associated with this LUSD token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The Stability Pool contract address linked to this token.✨ AI |
Returns the token's short symbol used in user interfaces.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (for example "LUSD").✨ AI |
Returns the total supply of LUSD tokens.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The total supply of LUSD tokens as a uint256.✨ AI |
Returns the address of the TroveManager contract used by this token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The TroveManager contract address used for trove management, liquidation, and collateral tracking.✨ AI |
Returns the token contract's version string.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The contract version or release identifier (human-readable string).✨ AI |
写入函数
Set the caller's allowance for spender to amount, enabling the spender to transfer up to that many tokens.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address authorized to spend tokens from the caller's balance.✨ AI |
| amount | uint256 | Maximum number of tokens the spender is permitted to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully set.✨ AI |
Burns tokens from an account, reducing the token balance and total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _account | address | Address whose tokens will be burned.✨ AI |
| _amount | uint256 | Number of tokens to burn, in the token's smallest unit.✨ AI |
Decrease the allowance previously granted to a spender by a specified amount.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address that is allowed to spend tokens on behalf of the caller.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance for the spender.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Increase the caller's token allowance for a specified spender by the given amount.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address that will be allowed to spend the caller's tokens.✨ AI |
| addedValue | uint256 | Amount to add to the existing allowance for the spender.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was increased successfully, otherwise false.✨ AI |
Mints new LUSD tokens and assigns them to the specified account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _account | address | Address that will receive the newly minted tokens.✨ AI |
| _amount | uint256 | Amount of tokens to mint, expressed in the token's smallest unit.✨ AI |
Permit lets an owner approve a spender using an off-chain signature so no separate on-chain approve call is needed.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address granting the approval.✨ AI |
| spender | address | Address receiving the allowance.✨ AI |
| amount | uint256 | Amount of tokens to allow.✨ AI |
| deadline | uint256 | Unix timestamp when the signature expires.✨ AI |
| v | uint8 | Signature recovery byte.✨ AI |
| r | bytes32 | Signature r value.✨ AI |
| s | bytes32 | Signature s value.✨ AI |
Transfer LUSD tokens from the specified pool address back to the receiver.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _poolAddress | address | Address of the pool from which tokens are returned.✨ AI |
| _receiver | address | Address that will receive the returned LUSD tokens.✨ AI |
| _amount | uint256 | Amount of LUSD tokens to return (in the token's smallest units).✨ AI |
Transfers tokens from the specified sender to the given pool address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _sender | address | Address that provides the tokens.✨ AI |
| _poolAddress | address | Pool contract address that receives the tokens.✨ AI |
| _amount | uint256 | Amount of tokens to transfer, expressed in the token's smallest units.✨ AI |
Transfer tokens from the caller to a recipient address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| recipient | address | Address to receive the tokens.✨ AI |
| amount | uint256 | Number of tokens to transfer (in the token's smallest unit).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeds.✨ AI |
Transfer tokens from sender to recipient using the caller's allowance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| sender | address | Address to transfer tokens from.✨ AI |
| recipient | address | Address to receive the tokens.✨ AI |
| amount | uint256 | Amount of tokens to transfer, in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded and the caller's allowance was decreased accordingly.✨ AI |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _newBorrowerOperationsAddress | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _user | address | ||
| _amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _newStabilityPoolAddress | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _troveManagerAddress | address |