986 lines
25 KiB
JSON
986 lines
25 KiB
JSON
{
|
||
"compiler": {
|
||
"version": "0.8.26+commit.8a97fa7a"
|
||
},
|
||
"language": "Solidity",
|
||
"output": {
|
||
"abi": [
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "string",
|
||
"name": "name",
|
||
"type": "string"
|
||
},
|
||
{
|
||
"internalType": "string",
|
||
"name": "symbol",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"stateMutability": "nonpayable",
|
||
"type": "constructor"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "AccessControlBadConfirmation",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "neededRole",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"name": "AccessControlUnauthorizedAccount",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "spender",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "allowance",
|
||
"type": "uint256"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "needed",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "ERC20InsufficientAllowance",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "sender",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "balance",
|
||
"type": "uint256"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "needed",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "ERC20InsufficientBalance",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "approver",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "ERC20InvalidApprover",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "receiver",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "ERC20InvalidReceiver",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "sender",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "ERC20InvalidSender",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "spender",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "ERC20InvalidSpender",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "EnforcedPause",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "ExpectedPause",
|
||
"type": "error"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "owner",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "spender",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": false,
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "Approval",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": false,
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "Paused",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": true,
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "bytes32",
|
||
"name": "previousAdminRole",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "bytes32",
|
||
"name": "newAdminRole",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"name": "RoleAdminChanged",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": true,
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "sender",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "RoleGranted",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": true,
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "sender",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "RoleRevoked",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "from",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": true,
|
||
"internalType": "address",
|
||
"name": "to",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"indexed": false,
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "Transfer",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"anonymous": false,
|
||
"inputs": [
|
||
{
|
||
"indexed": false,
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "Unpaused",
|
||
"type": "event"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "DEFAULT_ADMIN_ROLE",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "MINTER_ROLE",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "PAUSER_ROLE",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "owner",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "spender",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "allowance",
|
||
"outputs": [
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "spender",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "approve",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "balanceOf",
|
||
"outputs": [
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "burn",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "burnFrom",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "decimals",
|
||
"outputs": [
|
||
{
|
||
"internalType": "uint8",
|
||
"name": "",
|
||
"type": "uint8"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"name": "getRoleAdmin",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "",
|
||
"type": "bytes32"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "grantRole",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "hasRole",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "to",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "amount",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "mint",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "name",
|
||
"outputs": [
|
||
{
|
||
"internalType": "string",
|
||
"name": "",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "pause",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "paused",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "callerConfirmation",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "renounceRole",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes32",
|
||
"name": "role",
|
||
"type": "bytes32"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "account",
|
||
"type": "address"
|
||
}
|
||
],
|
||
"name": "revokeRole",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "bytes4",
|
||
"name": "interfaceId",
|
||
"type": "bytes4"
|
||
}
|
||
],
|
||
"name": "supportsInterface",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "symbol",
|
||
"outputs": [
|
||
{
|
||
"internalType": "string",
|
||
"name": "",
|
||
"type": "string"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "totalSupply",
|
||
"outputs": [
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"stateMutability": "view",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "to",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "transfer",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [
|
||
{
|
||
"internalType": "address",
|
||
"name": "from",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "address",
|
||
"name": "to",
|
||
"type": "address"
|
||
},
|
||
{
|
||
"internalType": "uint256",
|
||
"name": "value",
|
||
"type": "uint256"
|
||
}
|
||
],
|
||
"name": "transferFrom",
|
||
"outputs": [
|
||
{
|
||
"internalType": "bool",
|
||
"name": "",
|
||
"type": "bool"
|
||
}
|
||
],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
},
|
||
{
|
||
"inputs": [],
|
||
"name": "unpause",
|
||
"outputs": [],
|
||
"stateMutability": "nonpayable",
|
||
"type": "function"
|
||
}
|
||
],
|
||
"devdoc": {
|
||
"details": "{ERC20} token, including: - ability for holders to burn (destroy) their tokens - a minter role that allows for token minting (creation) - a pauser role that allows to stop all token transfers This contract uses {AccessControl} to lock permissioned functions using the different roles - head to its documentation for details. The account that deploys the contract will be granted the minter and pauser roles, as well as the default admin role, which will let it grant both minter and pauser roles to other accounts.",
|
||
"errors": {
|
||
"AccessControlBadConfirmation()": [
|
||
{
|
||
"details": "The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."
|
||
}
|
||
],
|
||
"AccessControlUnauthorizedAccount(address,bytes32)": [
|
||
{
|
||
"details": "The `account` is missing a role."
|
||
}
|
||
],
|
||
"ERC20InsufficientAllowance(address,uint256,uint256)": [
|
||
{
|
||
"details": "Indicates a failure with the `spender`’s `allowance`. Used in transfers.",
|
||
"params": {
|
||
"allowance": "Amount of tokens a `spender` is allowed to operate with.",
|
||
"needed": "Minimum amount required to perform a transfer.",
|
||
"spender": "Address that may be allowed to operate on tokens without being their owner."
|
||
}
|
||
}
|
||
],
|
||
"ERC20InsufficientBalance(address,uint256,uint256)": [
|
||
{
|
||
"details": "Indicates an error related to the current `balance` of a `sender`. Used in transfers.",
|
||
"params": {
|
||
"balance": "Current balance for the interacting account.",
|
||
"needed": "Minimum amount required to perform a transfer.",
|
||
"sender": "Address whose tokens are being transferred."
|
||
}
|
||
}
|
||
],
|
||
"ERC20InvalidApprover(address)": [
|
||
{
|
||
"details": "Indicates a failure with the `approver` of a token to be approved. Used in approvals.",
|
||
"params": {
|
||
"approver": "Address initiating an approval operation."
|
||
}
|
||
}
|
||
],
|
||
"ERC20InvalidReceiver(address)": [
|
||
{
|
||
"details": "Indicates a failure with the token `receiver`. Used in transfers.",
|
||
"params": {
|
||
"receiver": "Address to which tokens are being transferred."
|
||
}
|
||
}
|
||
],
|
||
"ERC20InvalidSender(address)": [
|
||
{
|
||
"details": "Indicates a failure with the token `sender`. Used in transfers.",
|
||
"params": {
|
||
"sender": "Address whose tokens are being transferred."
|
||
}
|
||
}
|
||
],
|
||
"ERC20InvalidSpender(address)": [
|
||
{
|
||
"details": "Indicates a failure with the `spender` to be approved. Used in approvals.",
|
||
"params": {
|
||
"spender": "Address that may be allowed to operate on tokens without being their owner."
|
||
}
|
||
}
|
||
],
|
||
"EnforcedPause()": [
|
||
{
|
||
"details": "The operation failed because the contract is paused."
|
||
}
|
||
],
|
||
"ExpectedPause()": [
|
||
{
|
||
"details": "The operation failed because the contract is not paused."
|
||
}
|
||
]
|
||
},
|
||
"events": {
|
||
"Approval(address,address,uint256)": {
|
||
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
|
||
},
|
||
"Paused(address)": {
|
||
"details": "Emitted when the pause is triggered by `account`."
|
||
},
|
||
"RoleAdminChanged(bytes32,bytes32,bytes32)": {
|
||
"details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this."
|
||
},
|
||
"RoleGranted(bytes32,address,address)": {
|
||
"details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}."
|
||
},
|
||
"RoleRevoked(bytes32,address,address)": {
|
||
"details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)"
|
||
},
|
||
"Transfer(address,address,uint256)": {
|
||
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
|
||
},
|
||
"Unpaused(address)": {
|
||
"details": "Emitted when the pause is lifted by `account`."
|
||
}
|
||
},
|
||
"kind": "dev",
|
||
"methods": {
|
||
"allowance(address,address)": {
|
||
"details": "See {IERC20-allowance}."
|
||
},
|
||
"approve(address,uint256)": {
|
||
"details": "See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."
|
||
},
|
||
"balanceOf(address)": {
|
||
"details": "See {IERC20-balanceOf}."
|
||
},
|
||
"burn(uint256)": {
|
||
"details": "Destroys a `value` amount of tokens from the caller. See {ERC20-_burn}."
|
||
},
|
||
"burnFrom(address,uint256)": {
|
||
"details": "Destroys a `value` amount of tokens from `account`, deducting from the caller's allowance. See {ERC20-_burn} and {ERC20-allowance}. Requirements: - the caller must have allowance for ``accounts``'s tokens of at least `value`."
|
||
},
|
||
"constructor": {
|
||
"details": "Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the account that deploys the contract. See {ERC20-constructor}."
|
||
},
|
||
"decimals()": {
|
||
"details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."
|
||
},
|
||
"getRoleAdmin(bytes32)": {
|
||
"details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."
|
||
},
|
||
"grantRole(bytes32,address)": {
|
||
"details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event."
|
||
},
|
||
"hasRole(bytes32,address)": {
|
||
"details": "Returns `true` if `account` has been granted `role`."
|
||
},
|
||
"mint(address,uint256)": {
|
||
"details": "Creates `amount` new tokens for `to`. See {ERC20-_mint}. Requirements: - the caller must have the `MINTER_ROLE`."
|
||
},
|
||
"name()": {
|
||
"details": "Returns the name of the token."
|
||
},
|
||
"pause()": {
|
||
"details": "Pauses all token transfers. See {ERC20Pausable} and {Pausable-_pause}. Requirements: - the caller must have the `PAUSER_ROLE`."
|
||
},
|
||
"paused()": {
|
||
"details": "Returns true if the contract is paused, and false otherwise."
|
||
},
|
||
"renounceRole(bytes32,address)": {
|
||
"details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."
|
||
},
|
||
"revokeRole(bytes32,address)": {
|
||
"details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."
|
||
},
|
||
"supportsInterface(bytes4)": {
|
||
"details": "See {IERC165-supportsInterface}."
|
||
},
|
||
"symbol()": {
|
||
"details": "Returns the symbol of the token, usually a shorter version of the name."
|
||
},
|
||
"totalSupply()": {
|
||
"details": "See {IERC20-totalSupply}."
|
||
},
|
||
"transfer(address,uint256)": {
|
||
"details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."
|
||
},
|
||
"transferFrom(address,address,uint256)": {
|
||
"details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."
|
||
},
|
||
"unpause()": {
|
||
"details": "Unpauses all token transfers. See {ERC20Pausable} and {Pausable-_unpause}. Requirements: - the caller must have the `PAUSER_ROLE`."
|
||
}
|
||
},
|
||
"version": 1
|
||
},
|
||
"userdoc": {
|
||
"kind": "user",
|
||
"methods": {},
|
||
"version": 1
|
||
}
|
||
},
|
||
"settings": {
|
||
"compilationTarget": {
|
||
"contracts/bridges/ERC20PresetMinterPauser.sol": "ERC20PresetMinterPauser"
|
||
},
|
||
"evmVersion": "cancun",
|
||
"libraries": {},
|
||
"metadata": {
|
||
"bytecodeHash": "ipfs"
|
||
},
|
||
"optimizer": {
|
||
"enabled": false,
|
||
"runs": 200
|
||
},
|
||
"remappings": []
|
||
},
|
||
"sources": {
|
||
"@openzeppelin/contracts/access/AccessControl.sol": {
|
||
"keccak256": "0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80",
|
||
"dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/access/IAccessControl.sol": {
|
||
"keccak256": "0xb6b36edd6a2999fd243ff226d6cbf84bd71af2432bbd0dfe19392996a1d9cb41",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://1fd2f35495652e57e3f99bc6c510bc5f7dd398a176ea2e72d8ed730aebc6ca26",
|
||
"dweb:/ipfs/QmTQV6X4gkikTib49cho5iDX3JvSQbdsoEChoDwrk3CbbH"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/interfaces/draft-IERC6093.sol": {
|
||
"keccak256": "0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://ea290300e0efc4d901244949dc4d877fd46e6c5e43dc2b26620e8efab3ab803f",
|
||
"dweb:/ipfs/QmcLLJppxKeJWqHxE2CUkcfhuRTgHSn8J4kijcLa5MYhSt"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/token/ERC20/ERC20.sol": {
|
||
"keccak256": "0xc3e1fa9d1987f8d349dfb4d6fe93bf2ca014b52ba335cfac30bfe71e357e6f80",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://c5703ccdeb7b1d685e375ed719117e9edf2ab4bc544f24f23b0d50ec82257229",
|
||
"dweb:/ipfs/QmTdwkbQq7owpCiyuzE7eh5LrD2ddrBCZ5WHVsWPi1RrTS"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/token/ERC20/IERC20.sol": {
|
||
"keccak256": "0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c",
|
||
"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol": {
|
||
"keccak256": "0x2659248df25e34000ed214b3dc8da2160bc39874c992b477d9e2b1b3283dc073",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://c345af1b0e7ea28d1216d6a04ab28f5534a5229b9edf9ca3cd0e84950ae58d26",
|
||
"dweb:/ipfs/QmY63jtSrYpLRe8Gj1ep2vMDCKxGNNG3hnNVKBVnrs2nmA"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
|
||
"keccak256": "0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://0ad7c8d4d08938c8dfc43d75a148863fb324b80cf53e0a36f7e5a4ac29008850",
|
||
"dweb:/ipfs/QmcrhfPgVNf5mkdhQvy1pMv51TFokD3Y4Wa5WZhFqVh8UV"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/utils/Context.sol": {
|
||
"keccak256": "0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12",
|
||
"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/utils/Pausable.sol": {
|
||
"keccak256": "0xb2e5f50762c27fb4b123e3619c3c02bdcba5e515309382e5bfb6f7d6486510bd",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://1a4b83328c98d518a2699c2cbe9e9b055e78aa57fa8639f1b88deb8b3750b5dc",
|
||
"dweb:/ipfs/QmXdcYj5v7zQxXFPULShHkR5p4Wa2zYuupbHnFdV3cHYtc"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/utils/introspection/ERC165.sol": {
|
||
"keccak256": "0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8",
|
||
"dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA"
|
||
]
|
||
},
|
||
"@openzeppelin/contracts/utils/introspection/IERC165.sol": {
|
||
"keccak256": "0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df",
|
||
"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"
|
||
]
|
||
},
|
||
"contracts/bridges/ERC20PresetMinterPauser.sol": {
|
||
"keccak256": "0xe0c1daeca62cc353eaf4313c9da56e09c801499dc674b3ce9d4996e5af24eeef",
|
||
"license": "MIT",
|
||
"urls": [
|
||
"bzz-raw://543744e2cc1ea76d3721a73a7b6fbfaee49128798d14fff86b12de93c2896814",
|
||
"dweb:/ipfs/QmTvFCj6eABDpcXmJxqV3CMx9Fpzx8aYwwsq1Je9AABZyR"
|
||
]
|
||
}
|
||
},
|
||
"version": 1
|
||
} |