Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
2,000,000.00 YES

Holders:
5
Profile Summary
Blockchain:
Blast Sepolia (168587773)


Decimals:
18
Contract Source Code Verified (Exact Match)
Contract Name:
YES

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Created At:
Tue, 26 Mar 2024 19:25:46 GMT
YES.sol
contracts
mocks
YES.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "chainId_",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "src",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "guy",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": true,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes4",
        "name": "sig",
        "type": "bytes4"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "usr",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "arg1",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "arg2",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "bytes",
        "name": "data",
        "type": "bytes"
      }
    ],
    "name": "LogNote",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "src",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "dst",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "DOMAIN_SEPARATOR",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "PERMIT_TYPEHASH",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr",
        "type": "address"
      }
    ],
    "name": "addAuth",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_limit",
        "type": "uint256"
      }
    ],
    "name": "adjustDailyDAILimit",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account_",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "sender_",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr_",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad_",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "daiMintedToday",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "dailyYESLimit",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "deny",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "lastMintRestart",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "src",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "move",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "nonces",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "holder",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "nonce",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "expiry",
        "type": "uint256"
      },
      {
        "internalType": "bool",
        "name": "allowed",
        "type": "bool"
      },
      {
        "internalType": "uint8",
        "name": "v",
        "type": "uint8"
      },
      {
        "internalType": "bytes32",
        "name": "r",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "s",
        "type": "bytes32"
      }
    ],
    "name": "permit",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "pull",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "usr",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "push",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "rely",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "src",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "wad",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "version",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "wards",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]


Contract Creation Code
608060405234801561001057600080fd5b506040516112863803806112868339818101604052602081101561003357600080fd5b5051336000908152602081815260409182902060019081905582518084018452600381526259455360e81b9083015282518084018452908152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f5950ebe73a617667a66f67d525282c827c82ef4d89ae8dcd8336d013773b6b7f818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101939093523060a0808501919091528251808503909101815260c0909301909152815191012060085569021e19e0c9bab2400000600255611156806101306000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806370a08231116100f95780639dc29fac11610097578063bb35783b11610071578063bb35783b14610506578063bf353dbb1461053c578063dd62ed3e14610562578063f2d5d56b14610590576101a9565b80639dc29fac14610482578063a9059cbb146104ae578063b753a98c146104da576101a9565b80638fcbaf0c116100d35780638fcbaf0c146103dc57806392bc513c1461043657806395d89b41146101ae5780639c52a7f11461045c576101a9565b806370a082311461036a578063798247ae146103905780637ecebe00146103b6576101a9565b8063313ce5671161016657806340c10f191161014057806340c10f19146103105780635422224e1461033c57806354fd4d501461036257806365fae35e1461033c576101a9565b8063313ce567146102cb57806333b3cfc6146102e95780633644e51514610308576101a9565b806306fdde03146101ae578063095ea7b31461022b57806318160ddd1461026b57806323b872dd1461028557806329a95014146102bb57806330adf81f146102c3575b600080fd5b6101b66105bc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b0381351690602001356105db565b604080519115158252519081900360200190f35b6102736105f0565b60408051918252519081900360200190f35b6102576004803603606081101561029b57600080fd5b506001600160a01b038135811691602081013590911690604001356105f6565b6102736107d0565b6102736107d6565b6102d36107fa565b6040805160ff9092168252519081900360200190f35b610306600480360360208110156102ff57600080fd5b50356107ff565b005b61027361085d565b6103066004803603604081101561032657600080fd5b506001600160a01b038135169060200135610863565b6103066004803603602081101561035257600080fd5b50356001600160a01b0316610a18565b6101b6610a8e565b6102736004803603602081101561038057600080fd5b50356001600160a01b0316610aab565b610273600480360360208110156103a657600080fd5b50356001600160a01b0316610abd565b610273600480360360208110156103cc57600080fd5b50356001600160a01b0316610acf565b61030660048036036101008110156103f357600080fd5b506001600160a01b038135811691602081013590911690604081013590606081013590608081013515159060ff60a0820135169060c08101359060e00135610ae1565b6102736004803603602081101561044c57600080fd5b50356001600160a01b0316610ddb565b6103066004803603602081101561047257600080fd5b50356001600160a01b0316610ded565b6103066004803603604081101561049857600080fd5b506001600160a01b038135169060200135610e60565b610257600480360360408110156104c457600080fd5b506001600160a01b038135169060200135611018565b610306600480360360408110156104f057600080fd5b506001600160a01b038135169060200135611025565b6103066004803603606081101561051c57600080fd5b506001600160a01b03813581169160208101359091169060400135611035565b6102736004803603602081101561055257600080fd5b50356001600160a01b0316611046565b6102736004803603604081101561057857600080fd5b506001600160a01b0381358116916020013516611058565b610306600480360360408110156105a657600080fd5b506001600160a01b038135169060200135611064565b6040518060400160405280600381526020016259455360e81b81525081565b60006105e7838361106f565b90505b92915050565b60015481565b6001600160a01b03831660009081526003602052604081205482111561065e576040805162461bcd60e51b81526020600482015260186024820152775965732f696e73756666696369656e742d62616c616e636560401b604482015290519081900360640190fd5b6001600160a01b0384163314801590610682575060001961067f85336110d5565b14155b1561071d578161069285336110d5565b10156106e5576040805162461bcd60e51b815260206004820152601a60248201527f5965732f696e73756666696369656e742d616c6c6f77616e6365000000000000604482015290519081900360640190fd5b6106f86106f285336110d5565b83611100565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b6001600160a01b0384166000908152600360205260409020546107409083611100565b6001600160a01b03808616600090815260036020526040808220939093559085168152205461076f9083611110565b6001600160a01b0380851660008181526003602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025481565b7fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb81565b601281565b33600090815260208190526040902054600114610858576040805162461bcd60e51b815260206004820152601260248201527116595ccbdb9bdd0b585d5d1a1bdc9a5e995960721b604482015290519081900360640190fd5b600255565b60085481565b336000908152602081905260409020546109875760025433600090815260076020526040902054610895908390611110565b1115806108cc575033600090815260066020526040902054611964906108bc904390611100565b101580156108cc57506002548111155b610914576040805162461bcd60e51b815260206004820152601460248201527313dd995c8819185a5b1e4811105248131a5b5a5d60621b604482015290519081900360640190fd5b3360009081526006602052604090205461196490610933904390611100565b1061095c5733600090815260076020908152604080832084905560069091529020439055610987565b336000908152600760205260409020546109769082611110565b336000908152600760205260409020555b6001600160a01b0382166000908152600360205260409020546109aa9082611110565b6001600160a01b0383166000908152600360205260409020556001546109d09082611110565b6001556040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b33600090815260208190526040902054600114610a71576040805162461bcd60e51b815260206004820152601260248201527116595ccbdb9bdd0b585d5d1a1bdc9a5e995960721b604482015290519081900360640190fd5b6001600160a01b0316600090815260208190526040902060019055565b604051806040016040528060018152602001603160f81b81525081565b60036020526000908152604090205481565b60066020526000908152604090205481565b60056020526000908152604090205481565b600854604080517fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb6020808301919091526001600160a01b03808d16838501819052908c166060840152608083018b905260a083018a905288151560c0808501919091528451808503909101815260e08401855280519083012061190160f01b61010085015261010284019590955261012280840195909552835180840390950185526101429092019092528251929091019190912090610be1576040805162461bcd60e51b815260206004820152601560248201527405965732f696e76616c69642d616464726573732d3605c1b604482015290519081900360640190fd5b60018185858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610c3b573d6000803e3d6000fd5b505050602060405103516001600160a01b0316896001600160a01b031614610c9f576040805162461bcd60e51b815260206004820152601260248201527116595ccbda5b9d985b1a590b5c195c9b5a5d60721b604482015290519081900360640190fd5b851580610cac5750854211155b610cf2576040805162461bcd60e51b815260206004820152601260248201527116595ccbdc195c9b5a5d0b595e1c1a5c995960721b604482015290519081900360640190fd5b6001600160a01b03891660009081526005602052604090208054600181019091558714610d5a576040805162461bcd60e51b81526020600482015260116024820152705965732f696e76616c69642d6e6f6e636560781b604482015290519081900360640190fd5b600085610d68576000610d6c565b6000195b6001600160a01b03808c166000818152600460209081526040808320948f168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a350505050505050505050565b60076020526000908152604090205481565b33600090815260208190526040902054600114610e46576040805162461bcd60e51b815260206004820152601260248201527116595ccbdb9bdd0b585d5d1a1bdc9a5e995960721b604482015290519081900360640190fd5b6001600160a01b0316600090815260208190526040812055565b6001600160a01b038216600090815260036020526040902054811115610ec8576040805162461bcd60e51b81526020600482015260186024820152775965732f696e73756666696369656e742d62616c616e636560401b604482015290519081900360640190fd5b6001600160a01b0382163314801590610eec5750600019610ee983336110d5565b14155b15610f875780610efc83336110d5565b1015610f4f576040805162461bcd60e51b815260206004820152601a60248201527f5965732f696e73756666696369656e742d616c6c6f77616e6365000000000000604482015290519081900360640190fd5b610f62610f5c83336110d5565b82611100565b6001600160a01b03831660009081526004602090815260408083203384529091529020555b6001600160a01b038216600090815260036020526040902054610faa9082611100565b6001600160a01b038316600090815260036020526040902055600154610fd09082611100565b6001556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006105e73384846105f6565b6110303383836105f6565b505050565b6110408383836105f6565b50505050565b60006020819052908152604090205481565b60006105e783836110d5565b6110308233836105f6565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b808203828111156105ea57600080fd5b808201828110156105ea57600080fdfea26469706673582212208b49873760583939a392e9d035ba2c0c5617c8c4d65d51a513e1ae4a17add57d64736f6c63430007050033000000000000000000000000000000000000000000000000000000000a0c71fd
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0x000000000000000000000000000000000000000000000000000000000a0c71fd

----Decoded View------------Arg [0] : chainId_ (uint256): 168587773

----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000000000000000000000a0c71fd