{"file_path":"src/AssetToken.sol","creation_status":"success","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\nimport {ERC20} from \"openzeppelin-contracts/contracts/token/ERC20/ERC20.sol\";\nimport {ERC20Burnable} from \"openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport {CoreRef} from \"./core/CoreRef.sol\";\nimport {IAssetToken} from \"./interfaces/IAssetToken.sol\";\n\ncontract AssetToken is IAssetToken, ERC20Burnable, CoreRef {\n    // solhint-disable-next-line var-name-mixedcase\n    bytes32 public DOMAIN_SEPARATOR;\n    // keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\n    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;\n    mapping(address => uint256) public nonces;\n\n    constructor(string memory name_, string memory symbol_, address core_) ERC20(name_, symbol_) CoreRef(core_) {\n        uint256 chainId;\n        // solhint-disable-next-line no-inline-assembly\n        assembly {\n            chainId := chainid()\n        }\n        DOMAIN_SEPARATOR = keccak256(\n            abi.encode(\n                keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n                keccak256(bytes(name())),\n                keccak256(bytes(\"1\")),\n                chainId,\n                address(this)\n            )\n        );\n    }\n\n    /**\n     * @notice mint new tokens\n     * @param account the address of the destination account\n     * @param amount the number of tokens to be minted\n     */\n    function mint(address account, uint256 amount) external override onlyMinter {\n        _mint(account, amount);\n        emit Minting(account, msg.sender, amount);\n    }\n\n    /**\n     * @notice burn asset tokens from caller\n     * @param amount the amount to burn\n     */\n    function burn(uint256 amount) public override(IAssetToken, ERC20Burnable) {\n        super.burn(amount);\n        emit Burning(msg.sender, msg.sender, amount);\n    }\n\n    /**\n     * @notice burn asset tokens from specified account\n     * @param account the account to burn from\n     * @param amount the amount to burn\n     */\n    function burnFrom(address account, uint256 amount) public override(IAssetToken, ERC20Burnable) onlyBurner {\n        _burn(account, amount);\n        emit Burning(account, msg.sender, amount);\n    }\n\n    /**\n     * @notice triggers an approval from owner to spends\n     * @param owner the address to approve from\n     * @param spender the address to be approved\n     * @param value the number of tokens that are approved (2^256-1 means infinite)\n     * @param deadline the time at which to expire the signature\n     * @param v the recovery byte of the signature\n     * @param r half of the ECDSA signature pair\n     * @param s half of the ECDSA signature pair\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external override {\n        require(deadline >= block.timestamp, \"Asset: EXPIRED\");\n        bytes32 digest = keccak256(\n            abi.encodePacked(\n                \"\\x19\\x01\",\n                DOMAIN_SEPARATOR,\n                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))\n            )\n        );\n        address recoveredAddress = ecrecover(digest, v, r, s);\n        require(recoveredAddress != address(0) && recoveredAddress == owner, \"Asset: INVALID_SIGNATURE\");\n        _approve(owner, spender, value);\n    }\n}\n","deployed_bytecode":"0x608060405234801561000f575f80fd5b5060043610610156575f3560e01c806379cc6790116100c1578063a9059cbb1161007a578063a9059cbb146103b2578063a9359d92146103e2578063caa6fea414610400578063d505accf1461041e578063dd62ed3e1461043a578063f2f4eb261461046a57610156565b806379cc6790146102f25780637ecebe001461030e578063800096301461033e57806395d89b411461035a57806397db7edb14610378578063a457c2d71461038257610156565b8063313ce56711610113578063313ce5671461021e5780633644e5151461023c578063395093511461025a57806340c10f191461028a57806342966c68146102a657806370a08231146102c257610156565b806306fdde031461015a578063095ea7b3146101785780630fb7e602146101a857806318160ddd146101b257806323b872dd146101d057806330adf81f14610200575b5f80fd5b610162610488565b60405161016f9190611ac4565b60405180910390f35b610192600480360381019061018d9190611b75565b610518565b60405161019f9190611bcd565b60405180910390f35b6101b061053a565b005b6101ba610707565b6040516101c79190611bf5565b60405180910390f35b6101ea60048036038101906101e59190611c0e565b610710565b6040516101f79190611bcd565b60405180910390f35b61020861073e565b6040516102159190611c76565b60405180910390f35b610226610764565b6040516102339190611caa565b60405180910390f35b61024461076c565b6040516102519190611c76565b60405180910390f35b610274600480360381019061026f9190611b75565b610772565b6040516102819190611bcd565b60405180910390f35b6102a4600480360381019061029f9190611b75565b6107a8565b005b6102c060048036038101906102bb9190611cc3565b6108f3565b005b6102dc60048036038101906102d79190611cee565b610964565b6040516102e99190611bf5565b60405180910390f35b61030c60048036038101906103079190611b75565b6109a9565b005b61032860048036038101906103239190611cee565b610af4565b6040516103359190611bf5565b60405180910390f35b61035860048036038101906103539190611cee565b610b09565b005b610362610c67565b60405161036f9190611ac4565b60405180910390f35b610380610cf7565b005b61039c60048036038101906103979190611b75565b610ec2565b6040516103a99190611bcd565b60405180910390f35b6103cc60048036038101906103c79190611b75565b610f37565b6040516103d99190611bcd565b60405180910390f35b6103ea610f59565b6040516103f79190611bcd565b60405180910390f35b610408610f6c565b6040516104159190611bcd565b60405180910390f35b61043860048036038101906104339190611d6d565b610f82565b005b610454600480360381019061044f9190611e0a565b6111a0565b6040516104619190611bf5565b60405180910390f35b610472611222565b60405161047f9190611ea3565b60405180910390f35b60606003805461049790611ee9565b80601f01602080910402602001604051908101604052809291908181526020018280546104c390611ee9565b801561050e5780601f106104e55761010080835404028352916020019161050e565b820191905f5260205f20905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b5f8061052261124a565b905061052f818585611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b81526004016105949190611f28565b602060405180830381865afa1580156105af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d39190611f6b565b80610673575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b81526004016106339190611f28565b602060405180830381865afa15801561064e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106729190611f6b565b5b6106b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a990612006565b60405180910390fd5b6001600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed860016040516106fd9190611bcd565b60405180910390a1565b5f600254905090565b5f8061071a61124a565b9050610727858285611414565b61073285858561149f565b60019150509392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b81565b5f6012905090565b60065481565b5f8061077c61124a565b905061079d81858561078e85896111a0565b6107989190612051565b611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aa271e1a336040518263ffffffff1660e01b81526004016108029190611f28565b602060405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108419190611f6b565b610880576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610877906120ce565b60405180910390fd5b61088a828261170b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fb1233017d63154bc561d57c16f7b6a55e2e1acd7fcac94045a9f35fb31a850ca836040516108e79190611bf5565b60405180910390a35050565b6108fc81611859565b3373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef836040516109599190611bf5565b60405180910390a350565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634334614a336040518263ffffffff1660e01b8152600401610a039190611f28565b602060405180830381865afa158015610a1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a429190611f6b565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890612136565b60405180910390fd5b610a8b828261186d565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef83604051610ae89190611bf5565b60405180910390a35050565b6007602052805f5260405f205f915090505481565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610b639190611f28565b602060405180830381865afa158015610b7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba29190611f6b565b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd8906121c4565b60405180910390fd5b8060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b60405160405180910390a250565b606060048054610c7690611ee9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca290611ee9565b8015610ced5780601f10610cc457610100808354040283529160200191610ced565b820191905f5260205f20905b815481529060010190602001808311610cd057829003601f168201915b5050505050905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610d519190611f28565b602060405180830381865afa158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d909190611f6b565b80610e30575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b8152600401610df09190611f28565b602060405180830381865afa158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f9190611f6b565b5b610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690612006565b60405180910390fd5b5f600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed85f604051610eb89190611bcd565b60405180910390a1565b5f80610ecc61124a565b90505f610ed982866111a0565b905083811015610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590612252565b60405180910390fd5b610f2b8286868403611251565b60019250505092915050565b5f80610f4161124a565b9050610f4e81858561149f565b600191505092915050565b600560149054906101000a900460ff1681565b5f600560149054906101000a900460ff16905090565b42841015610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906122ba565b60405180910390fd5b5f6006547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b89898960075f8e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061103c906122d8565b919050558a6040516020016110569695949392919061231f565b6040516020818303038152906040528051906020012060405160200161107d9291906123f2565b6040516020818303038152906040528051906020012090505f6001828686866040515f81526020016040526040516110b89493929190612428565b6020604051602081039080840390855afa1580156110d8573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561114b57508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906124b5565b60405180910390fd5b611195898989611251565b505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690612543565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361132d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611324906125d1565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114079190611bf5565b60405180910390a3505050565b5f61141f84846111a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611499578181101561148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290612639565b60405180910390fd5b6114988484848403611251565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611504906126c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361157b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157290612755565b60405180910390fd5b611586838383611a30565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611600906127e3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116f29190611bf5565b60405180910390a3611705848484611a35565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117709061284b565b60405180910390fd5b6117845f8383611a30565b8060025f8282546117959190612051565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118429190611bf5565b60405180910390a36118555f8383611a35565b5050565b61186a61186461124a565b8261186d565b50565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d2906128d9565b60405180910390fd5b6118e6825f83611a30565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090612967565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a189190611bf5565b60405180910390a3611a2b835f84611a35565b505050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611a71578082015181840152602081019050611a56565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611a9682611a3a565b611aa08185611a44565b9350611ab0818560208601611a54565b611ab981611a7c565b840191505092915050565b5f6020820190508181035f830152611adc8184611a8c565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611b1182611ae8565b9050919050565b611b2181611b07565b8114611b2b575f80fd5b50565b5f81359050611b3c81611b18565b92915050565b5f819050919050565b611b5481611b42565b8114611b5e575f80fd5b50565b5f81359050611b6f81611b4b565b92915050565b5f8060408385031215611b8b57611b8a611ae4565b5b5f611b9885828601611b2e565b9250506020611ba985828601611b61565b9150509250929050565b5f8115159050919050565b611bc781611bb3565b82525050565b5f602082019050611be05f830184611bbe565b92915050565b611bef81611b42565b82525050565b5f602082019050611c085f830184611be6565b92915050565b5f805f60608486031215611c2557611c24611ae4565b5b5f611c3286828701611b2e565b9350506020611c4386828701611b2e565b9250506040611c5486828701611b61565b9150509250925092565b5f819050919050565b611c7081611c5e565b82525050565b5f602082019050611c895f830184611c67565b92915050565b5f60ff82169050919050565b611ca481611c8f565b82525050565b5f602082019050611cbd5f830184611c9b565b92915050565b5f60208284031215611cd857611cd7611ae4565b5b5f611ce584828501611b61565b91505092915050565b5f60208284031215611d0357611d02611ae4565b5b5f611d1084828501611b2e565b91505092915050565b611d2281611c8f565b8114611d2c575f80fd5b50565b5f81359050611d3d81611d19565b92915050565b611d4c81611c5e565b8114611d56575f80fd5b50565b5f81359050611d6781611d43565b92915050565b5f805f805f805f60e0888a031215611d8857611d87611ae4565b5b5f611d958a828b01611b2e565b9750506020611da68a828b01611b2e565b9650506040611db78a828b01611b61565b9550506060611dc88a828b01611b61565b9450506080611dd98a828b01611d2f565b93505060a0611dea8a828b01611d59565b92505060c0611dfb8a828b01611d59565b91505092959891949750929550565b5f8060408385031215611e2057611e1f611ae4565b5b5f611e2d85828601611b2e565b9250506020611e3e85828601611b2e565b9150509250929050565b5f819050919050565b5f611e6b611e66611e6184611ae8565b611e48565b611ae8565b9050919050565b5f611e7c82611e51565b9050919050565b5f611e8d82611e72565b9050919050565b611e9d81611e83565b82525050565b5f602082019050611eb65f830184611e94565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611f0057607f821691505b602082108103611f1357611f12611ebc565b5b50919050565b611f2281611b07565b82525050565b5f602082019050611f3b5f830184611f19565b92915050565b611f4a81611bb3565b8114611f54575f80fd5b50565b5f81519050611f6581611f41565b92915050565b5f60208284031215611f8057611f7f611ae4565b5b5f611f8d84828501611f57565b91505092915050565b7f436f72655265663a2043616c6c6572206973206e6f74206120677561726469615f8201527f6e206f7220676f7665726e6f7200000000000000000000000000000000000000602082015250565b5f611ff0602d83611a44565b9150611ffb82611f96565b604082019050919050565b5f6020820190508181035f83015261201d81611fe4565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61205b82611b42565b915061206683611b42565b925082820190508082111561207e5761207d612024565b5b92915050565b7f436f72655265663a2043616c6c6572206973206e6f742061206d696e746572005f82015250565b5f6120b8601f83611a44565b91506120c382612084565b602082019050919050565b5f6020820190508181035f8301526120e5816120ac565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f742061206275726e6572005f82015250565b5f612120601f83611a44565b915061212b826120ec565b602082019050919050565b5f6020820190508181035f83015261214d81612114565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f5f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f6121ae602183611a44565b91506121b982612154565b604082019050919050565b5f6020820190508181035f8301526121db816121a2565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61223c602583611a44565b9150612247826121e2565b604082019050919050565b5f6020820190508181035f83015261226981612230565b9050919050565b7f41737365743a20455850495245440000000000000000000000000000000000005f82015250565b5f6122a4600e83611a44565b91506122af82612270565b602082019050919050565b5f6020820190508181035f8301526122d181612298565b9050919050565b5f6122e282611b42565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361231457612313612024565b5b600182019050919050565b5f60c0820190506123325f830189611c67565b61233f6020830188611f19565b61234c6040830187611f19565b6123596060830186611be6565b6123666080830185611be6565b61237360a0830184611be6565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f6123bc60028361237e565b91506123c782612388565b600282019050919050565b5f819050919050565b6123ec6123e782611c5e565b6123d2565b82525050565b5f6123fc826123b0565b915061240882856123db565b60208201915061241882846123db565b6020820191508190509392505050565b5f60808201905061243b5f830187611c67565b6124486020830186611c9b565b6124556040830185611c67565b6124626060830184611c67565b95945050505050565b7f41737365743a20494e56414c49445f5349474e415455524500000000000000005f82015250565b5f61249f601883611a44565b91506124aa8261246b565b602082019050919050565b5f6020820190508181035f8301526124cc81612493565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61252d602483611a44565b9150612538826124d3565b604082019050919050565b5f6020820190508181035f83015261255a81612521565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125bb602283611a44565b91506125c682612561565b604082019050919050565b5f6020820190508181035f8301526125e8816125af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612623601d83611a44565b915061262e826125ef565b602082019050919050565b5f6020820190508181035f83015261265081612617565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6126b1602583611a44565b91506126bc82612657565b604082019050919050565b5f6020820190508181035f8301526126de816126a5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61273f602383611a44565b915061274a826126e5565b604082019050919050565b5f6020820190508181035f83015261276c81612733565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6127cd602683611a44565b91506127d882612773565b604082019050919050565b5f6020820190508181035f8301526127fa816127c1565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612835601f83611a44565b915061284082612801565b602082019050919050565b5f6020820190508181035f83015261286281612829565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6128c3602183611a44565b91506128ce82612869565b604082019050919050565b5f6020820190508181035f8301526128f0816128b7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f612951602283611a44565b915061295c826128f7565b604082019050919050565b5f6020820190508181035f83015261297e81612945565b905091905056fea26469706673582212200f600e8fca99def9a3dac52d2ab2c7ed9860af3b648dc34a45876bdbb8b266f564736f6c63430008170033","optimization_enabled":false,"verified_twin_address_hash":null,"is_verified":true,"compiler_settings":{"evmVersion":"shanghai","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":false,"runs":200},"remappings":[":ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",":openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/"]},"optimization_runs":null,"sourcify_repo_url":"https://repo.sourcify.dev/contracts/full_match/1/0x4EA40dcee961675683e0a2e1721Bd49CB9bca913/","decoded_constructor_args":[["Ring USD",{"internalType":"string","name":"name_","type":"string"}],["USDR",{"internalType":"string","name":"symbol_","type":"string"}],["0xB2799ed78490EA642d2ECb23cB2cE9b8ACC087D4",{"internalType":"address","name":"core_","type":"address"}]],"compiler_version":"0.8.23+commit.f704f362","is_verified_via_verifier_alliance":false,"verified_at":"2025-09-12T11:24:56.757170Z","implementations":[],"proxy_type":null,"external_libraries":[],"creation_bytecode":"0x608060405234801562000010575f80fd5b50604051620031e7380380620031e78339818101604052810190620000369190620003d5565b80838381600390816200004a9190620006a3565b5080600490816200005c9190620006a3565b5050508060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505f4690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000d56200015760201b60201c565b805190602001206040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525080519060200120833060405160200162000131959493929190620007c3565b60405160208183030381529060405280519060200120600681905550505050506200081e565b6060600380546200016890620004a3565b80601f01602080910402602001604051908101604052809291908181526020018280546200019690620004a3565b8015620001e55780601f10620001bb57610100808354040283529160200191620001e5565b820191905f5260205f20905b815481529060010190602001808311620001c757829003601f168201915b5050505050905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620002508262000208565b810181811067ffffffffffffffff8211171562000272576200027162000218565b5b80604052505050565b5f62000286620001ef565b905062000294828262000245565b919050565b5f67ffffffffffffffff821115620002b657620002b562000218565b5b620002c18262000208565b9050602081019050919050565b5f5b83811015620002ed578082015181840152602081019050620002d0565b5f8484015250505050565b5f6200030e620003088462000299565b6200027b565b9050828152602081018484840111156200032d576200032c62000204565b5b6200033a848285620002ce565b509392505050565b5f82601f83011262000359576200035862000200565b5b81516200036b848260208601620002f8565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200039f8262000374565b9050919050565b620003b18162000393565b8114620003bc575f80fd5b50565b5f81519050620003cf81620003a6565b92915050565b5f805f60608486031215620003ef57620003ee620001f8565b5b5f84015167ffffffffffffffff8111156200040f576200040e620001fc565b5b6200041d8682870162000342565b935050602084015167ffffffffffffffff811115620004415762000440620001fc565b5b6200044f8682870162000342565b92505060406200046286828701620003bf565b9150509250925092565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620004bb57607f821691505b602082108103620004d157620004d062000476565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004f8565b620005418683620004f8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200058b620005856200057f8462000559565b62000562565b62000559565b9050919050565b5f819050919050565b620005a6836200056b565b620005be620005b58262000592565b84845462000504565b825550505050565b5f90565b620005d4620005c6565b620005e18184846200059b565b505050565b5b818110156200060857620005fc5f82620005ca565b600181019050620005e7565b5050565b601f82111562000657576200062181620004d7565b6200062c84620004e9565b810160208510156200063c578190505b620006546200064b85620004e9565b830182620005e6565b50505b505050565b5f82821c905092915050565b5f620006795f19846008026200065c565b1980831691505092915050565b5f62000693838362000668565b9150826002028217905092915050565b620006ae826200046c565b67ffffffffffffffff811115620006ca57620006c962000218565b5b620006d68254620004a3565b620006e38282856200060c565b5f60209050601f83116001811462000719575f841562000704578287015190505b62000710858262000686565b8655506200077f565b601f1984166200072986620004d7565b5f5b8281101562000752578489015182556001820191506020850194506020810190506200072b565b868310156200077257848901516200076e601f89168262000668565b8355505b6001600288020188555050505b505050505050565b5f819050919050565b6200079b8162000787565b82525050565b620007ac8162000559565b82525050565b620007bd8162000393565b82525050565b5f60a082019050620007d85f83018862000790565b620007e7602083018762000790565b620007f6604083018662000790565b620008056060830185620007a1565b620008146080830184620007b2565b9695505050505050565b6129bb806200082c5f395ff3fe608060405234801561000f575f80fd5b5060043610610156575f3560e01c806379cc6790116100c1578063a9059cbb1161007a578063a9059cbb146103b2578063a9359d92146103e2578063caa6fea414610400578063d505accf1461041e578063dd62ed3e1461043a578063f2f4eb261461046a57610156565b806379cc6790146102f25780637ecebe001461030e578063800096301461033e57806395d89b411461035a57806397db7edb14610378578063a457c2d71461038257610156565b8063313ce56711610113578063313ce5671461021e5780633644e5151461023c578063395093511461025a57806340c10f191461028a57806342966c68146102a657806370a08231146102c257610156565b806306fdde031461015a578063095ea7b3146101785780630fb7e602146101a857806318160ddd146101b257806323b872dd146101d057806330adf81f14610200575b5f80fd5b610162610488565b60405161016f9190611ac4565b60405180910390f35b610192600480360381019061018d9190611b75565b610518565b60405161019f9190611bcd565b60405180910390f35b6101b061053a565b005b6101ba610707565b6040516101c79190611bf5565b60405180910390f35b6101ea60048036038101906101e59190611c0e565b610710565b6040516101f79190611bcd565b60405180910390f35b61020861073e565b6040516102159190611c76565b60405180910390f35b610226610764565b6040516102339190611caa565b60405180910390f35b61024461076c565b6040516102519190611c76565b60405180910390f35b610274600480360381019061026f9190611b75565b610772565b6040516102819190611bcd565b60405180910390f35b6102a4600480360381019061029f9190611b75565b6107a8565b005b6102c060048036038101906102bb9190611cc3565b6108f3565b005b6102dc60048036038101906102d79190611cee565b610964565b6040516102e99190611bf5565b60405180910390f35b61030c60048036038101906103079190611b75565b6109a9565b005b61032860048036038101906103239190611cee565b610af4565b6040516103359190611bf5565b60405180910390f35b61035860048036038101906103539190611cee565b610b09565b005b610362610c67565b60405161036f9190611ac4565b60405180910390f35b610380610cf7565b005b61039c60048036038101906103979190611b75565b610ec2565b6040516103a99190611bcd565b60405180910390f35b6103cc60048036038101906103c79190611b75565b610f37565b6040516103d99190611bcd565b60405180910390f35b6103ea610f59565b6040516103f79190611bcd565b60405180910390f35b610408610f6c565b6040516104159190611bcd565b60405180910390f35b61043860048036038101906104339190611d6d565b610f82565b005b610454600480360381019061044f9190611e0a565b6111a0565b6040516104619190611bf5565b60405180910390f35b610472611222565b60405161047f9190611ea3565b60405180910390f35b60606003805461049790611ee9565b80601f01602080910402602001604051908101604052809291908181526020018280546104c390611ee9565b801561050e5780601f106104e55761010080835404028352916020019161050e565b820191905f5260205f20905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b5f8061052261124a565b905061052f818585611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b81526004016105949190611f28565b602060405180830381865afa1580156105af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d39190611f6b565b80610673575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b81526004016106339190611f28565b602060405180830381865afa15801561064e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106729190611f6b565b5b6106b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a990612006565b60405180910390fd5b6001600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed860016040516106fd9190611bcd565b60405180910390a1565b5f600254905090565b5f8061071a61124a565b9050610727858285611414565b61073285858561149f565b60019150509392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b81565b5f6012905090565b60065481565b5f8061077c61124a565b905061079d81858561078e85896111a0565b6107989190612051565b611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aa271e1a336040518263ffffffff1660e01b81526004016108029190611f28565b602060405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108419190611f6b565b610880576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610877906120ce565b60405180910390fd5b61088a828261170b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fb1233017d63154bc561d57c16f7b6a55e2e1acd7fcac94045a9f35fb31a850ca836040516108e79190611bf5565b60405180910390a35050565b6108fc81611859565b3373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef836040516109599190611bf5565b60405180910390a350565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634334614a336040518263ffffffff1660e01b8152600401610a039190611f28565b602060405180830381865afa158015610a1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a429190611f6b565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890612136565b60405180910390fd5b610a8b828261186d565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef83604051610ae89190611bf5565b60405180910390a35050565b6007602052805f5260405f205f915090505481565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610b639190611f28565b602060405180830381865afa158015610b7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba29190611f6b565b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd8906121c4565b60405180910390fd5b8060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b60405160405180910390a250565b606060048054610c7690611ee9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca290611ee9565b8015610ced5780601f10610cc457610100808354040283529160200191610ced565b820191905f5260205f20905b815481529060010190602001808311610cd057829003601f168201915b5050505050905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610d519190611f28565b602060405180830381865afa158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d909190611f6b565b80610e30575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b8152600401610df09190611f28565b602060405180830381865afa158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f9190611f6b565b5b610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690612006565b60405180910390fd5b5f600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed85f604051610eb89190611bcd565b60405180910390a1565b5f80610ecc61124a565b90505f610ed982866111a0565b905083811015610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590612252565b60405180910390fd5b610f2b8286868403611251565b60019250505092915050565b5f80610f4161124a565b9050610f4e81858561149f565b600191505092915050565b600560149054906101000a900460ff1681565b5f600560149054906101000a900460ff16905090565b42841015610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906122ba565b60405180910390fd5b5f6006547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b89898960075f8e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061103c906122d8565b919050558a6040516020016110569695949392919061231f565b6040516020818303038152906040528051906020012060405160200161107d9291906123f2565b6040516020818303038152906040528051906020012090505f6001828686866040515f81526020016040526040516110b89493929190612428565b6020604051602081039080840390855afa1580156110d8573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561114b57508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906124b5565b60405180910390fd5b611195898989611251565b505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690612543565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361132d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611324906125d1565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114079190611bf5565b60405180910390a3505050565b5f61141f84846111a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611499578181101561148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290612639565b60405180910390fd5b6114988484848403611251565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611504906126c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361157b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157290612755565b60405180910390fd5b611586838383611a30565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611600906127e3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116f29190611bf5565b60405180910390a3611705848484611a35565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117709061284b565b60405180910390fd5b6117845f8383611a30565b8060025f8282546117959190612051565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118429190611bf5565b60405180910390a36118555f8383611a35565b5050565b61186a61186461124a565b8261186d565b50565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d2906128d9565b60405180910390fd5b6118e6825f83611a30565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090612967565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a189190611bf5565b60405180910390a3611a2b835f84611a35565b505050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611a71578082015181840152602081019050611a56565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611a9682611a3a565b611aa08185611a44565b9350611ab0818560208601611a54565b611ab981611a7c565b840191505092915050565b5f6020820190508181035f830152611adc8184611a8c565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611b1182611ae8565b9050919050565b611b2181611b07565b8114611b2b575f80fd5b50565b5f81359050611b3c81611b18565b92915050565b5f819050919050565b611b5481611b42565b8114611b5e575f80fd5b50565b5f81359050611b6f81611b4b565b92915050565b5f8060408385031215611b8b57611b8a611ae4565b5b5f611b9885828601611b2e565b9250506020611ba985828601611b61565b9150509250929050565b5f8115159050919050565b611bc781611bb3565b82525050565b5f602082019050611be05f830184611bbe565b92915050565b611bef81611b42565b82525050565b5f602082019050611c085f830184611be6565b92915050565b5f805f60608486031215611c2557611c24611ae4565b5b5f611c3286828701611b2e565b9350506020611c4386828701611b2e565b9250506040611c5486828701611b61565b9150509250925092565b5f819050919050565b611c7081611c5e565b82525050565b5f602082019050611c895f830184611c67565b92915050565b5f60ff82169050919050565b611ca481611c8f565b82525050565b5f602082019050611cbd5f830184611c9b565b92915050565b5f60208284031215611cd857611cd7611ae4565b5b5f611ce584828501611b61565b91505092915050565b5f60208284031215611d0357611d02611ae4565b5b5f611d1084828501611b2e565b91505092915050565b611d2281611c8f565b8114611d2c575f80fd5b50565b5f81359050611d3d81611d19565b92915050565b611d4c81611c5e565b8114611d56575f80fd5b50565b5f81359050611d6781611d43565b92915050565b5f805f805f805f60e0888a031215611d8857611d87611ae4565b5b5f611d958a828b01611b2e565b9750506020611da68a828b01611b2e565b9650506040611db78a828b01611b61565b9550506060611dc88a828b01611b61565b9450506080611dd98a828b01611d2f565b93505060a0611dea8a828b01611d59565b92505060c0611dfb8a828b01611d59565b91505092959891949750929550565b5f8060408385031215611e2057611e1f611ae4565b5b5f611e2d85828601611b2e565b9250506020611e3e85828601611b2e565b9150509250929050565b5f819050919050565b5f611e6b611e66611e6184611ae8565b611e48565b611ae8565b9050919050565b5f611e7c82611e51565b9050919050565b5f611e8d82611e72565b9050919050565b611e9d81611e83565b82525050565b5f602082019050611eb65f830184611e94565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611f0057607f821691505b602082108103611f1357611f12611ebc565b5b50919050565b611f2281611b07565b82525050565b5f602082019050611f3b5f830184611f19565b92915050565b611f4a81611bb3565b8114611f54575f80fd5b50565b5f81519050611f6581611f41565b92915050565b5f60208284031215611f8057611f7f611ae4565b5b5f611f8d84828501611f57565b91505092915050565b7f436f72655265663a2043616c6c6572206973206e6f74206120677561726469615f8201527f6e206f7220676f7665726e6f7200000000000000000000000000000000000000602082015250565b5f611ff0602d83611a44565b9150611ffb82611f96565b604082019050919050565b5f6020820190508181035f83015261201d81611fe4565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61205b82611b42565b915061206683611b42565b925082820190508082111561207e5761207d612024565b5b92915050565b7f436f72655265663a2043616c6c6572206973206e6f742061206d696e746572005f82015250565b5f6120b8601f83611a44565b91506120c382612084565b602082019050919050565b5f6020820190508181035f8301526120e5816120ac565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f742061206275726e6572005f82015250565b5f612120601f83611a44565b915061212b826120ec565b602082019050919050565b5f6020820190508181035f83015261214d81612114565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f5f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f6121ae602183611a44565b91506121b982612154565b604082019050919050565b5f6020820190508181035f8301526121db816121a2565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61223c602583611a44565b9150612247826121e2565b604082019050919050565b5f6020820190508181035f83015261226981612230565b9050919050565b7f41737365743a20455850495245440000000000000000000000000000000000005f82015250565b5f6122a4600e83611a44565b91506122af82612270565b602082019050919050565b5f6020820190508181035f8301526122d181612298565b9050919050565b5f6122e282611b42565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361231457612313612024565b5b600182019050919050565b5f60c0820190506123325f830189611c67565b61233f6020830188611f19565b61234c6040830187611f19565b6123596060830186611be6565b6123666080830185611be6565b61237360a0830184611be6565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f6123bc60028361237e565b91506123c782612388565b600282019050919050565b5f819050919050565b6123ec6123e782611c5e565b6123d2565b82525050565b5f6123fc826123b0565b915061240882856123db565b60208201915061241882846123db565b6020820191508190509392505050565b5f60808201905061243b5f830187611c67565b6124486020830186611c9b565b6124556040830185611c67565b6124626060830184611c67565b95945050505050565b7f41737365743a20494e56414c49445f5349474e415455524500000000000000005f82015250565b5f61249f601883611a44565b91506124aa8261246b565b602082019050919050565b5f6020820190508181035f8301526124cc81612493565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61252d602483611a44565b9150612538826124d3565b604082019050919050565b5f6020820190508181035f83015261255a81612521565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125bb602283611a44565b91506125c682612561565b604082019050919050565b5f6020820190508181035f8301526125e8816125af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612623601d83611a44565b915061262e826125ef565b602082019050919050565b5f6020820190508181035f83015261265081612617565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6126b1602583611a44565b91506126bc82612657565b604082019050919050565b5f6020820190508181035f8301526126de816126a5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61273f602383611a44565b915061274a826126e5565b604082019050919050565b5f6020820190508181035f83015261276c81612733565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6127cd602683611a44565b91506127d882612773565b604082019050919050565b5f6020820190508181035f8301526127fa816127c1565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612835601f83611a44565b915061284082612801565b602082019050919050565b5f6020820190508181035f83015261286281612829565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6128c3602183611a44565b91506128ce82612869565b604082019050919050565b5f6020820190508181035f8301526128f0816128b7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f612951602283611a44565b915061295c826128f7565b604082019050919050565b5f6020820190508181035f83015261297e81612945565b905091905056fea26469706673582212200f600e8fca99def9a3dac52d2ab2c7ed9860af3b648dc34a45876bdbb8b266f564736f6c63430008170033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000b2799ed78490ea642d2ecb23cb2ce9b8acc087d4000000000000000000000000000000000000000000000000000000000000000852696e672055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445200000000000000000000000000000000000000000000000000000000","name":"AssetToken","is_blueprint":false,"license_type":"none","is_fully_verified":true,"is_verified_via_eth_bytecode_db":true,"language":"solidity","evm_version":"shanghai","can_be_visualized_via_sol2uml":true,"is_verified_via_sourcify":true,"additional_sources":[{"file_path":"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC20.sol\";\nimport \"./extensions/IERC20Metadata.sol\";\nimport \"../../utils/Context.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n * For a generic mechanism see {ERC20PresetMinterPauser}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC20\n * applications.\n *\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\n * This allows applications to reconstruct the allowance for all accounts just\n * by listening to said events. Other implementations of the EIP may not emit\n * these events, as it isn't required by the specification.\n *\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\n * functions have been added to mitigate the well-known issues around setting\n * allowances. See {IERC20-approve}.\n */\ncontract ERC20 is Context, IERC20, IERC20Metadata {\n    mapping(address => uint256) private _balances;\n\n    mapping(address => mapping(address => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual override returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual override returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual override returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual override returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual override returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `amount`.\n     */\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, amount);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 amount) public virtual override returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, amount);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Emits an {Approval} event indicating the updated allowance. This is not\n     * required by the EIP. See the note at the beginning of {ERC20}.\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `amount`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `amount`.\n     */\n    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, amount);\n        _transfer(from, to, amount);\n        return true;\n    }\n\n    /**\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\n        return true;\n    }\n\n    /**\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `spender` must have allowance for the caller of at least\n     * `subtractedValue`.\n     */\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\n        address owner = _msgSender();\n        uint256 currentAllowance = allowance(owner, spender);\n        require(currentAllowance >= subtractedValue, \"ERC20: decreased allowance below zero\");\n        unchecked {\n            _approve(owner, spender, currentAllowance - subtractedValue);\n        }\n\n        return true;\n    }\n\n    /**\n     * @dev Moves `amount` of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `from` must have a balance of at least `amount`.\n     */\n    function _transfer(address from, address to, uint256 amount) internal virtual {\n        require(from != address(0), \"ERC20: transfer from the zero address\");\n        require(to != address(0), \"ERC20: transfer to the zero address\");\n\n        _beforeTokenTransfer(from, to, amount);\n\n        uint256 fromBalance = _balances[from];\n        require(fromBalance >= amount, \"ERC20: transfer amount exceeds balance\");\n        unchecked {\n            _balances[from] = fromBalance - amount;\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\n            // decrementing then incrementing.\n            _balances[to] += amount;\n        }\n\n        emit Transfer(from, to, amount);\n\n        _afterTokenTransfer(from, to, amount);\n    }\n\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\n     * the total supply.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     */\n    function _mint(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: mint to the zero address\");\n\n        _beforeTokenTransfer(address(0), account, amount);\n\n        _totalSupply += amount;\n        unchecked {\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\n            _balances[account] += amount;\n        }\n        emit Transfer(address(0), account, amount);\n\n        _afterTokenTransfer(address(0), account, amount);\n    }\n\n    /**\n     * @dev Destroys `amount` tokens from `account`, reducing the\n     * total supply.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     * - `account` must have at least `amount` tokens.\n     */\n    function _burn(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: burn from the zero address\");\n\n        _beforeTokenTransfer(account, address(0), amount);\n\n        uint256 accountBalance = _balances[account];\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\n        unchecked {\n            _balances[account] = accountBalance - amount;\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\n            _totalSupply -= amount;\n        }\n\n        emit Transfer(account, address(0), amount);\n\n        _afterTokenTransfer(account, address(0), amount);\n    }\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     */\n    function _approve(address owner, address spender, uint256 amount) internal virtual {\n        require(owner != address(0), \"ERC20: approve from the zero address\");\n        require(spender != address(0), \"ERC20: approve to the zero address\");\n\n        _allowances[owner][spender] = amount;\n        emit Approval(owner, spender, amount);\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\n     *\n     * Does not update the allowance amount in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Might emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            require(currentAllowance >= amount, \"ERC20: insufficient allowance\");\n            unchecked {\n                _approve(owner, spender, currentAllowance - amount);\n            }\n        }\n    }\n\n    /**\n     * @dev Hook that is called before any transfer of tokens. This includes\n     * minting and burning.\n     *\n     * Calling conditions:\n     *\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n     * will be transferred to `to`.\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\n     * - `from` and `to` are never both zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}\n\n    /**\n     * @dev Hook that is called after any transfer of tokens. This includes\n     * minting and burning.\n     *\n     * Calling conditions:\n     *\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n     * has been transferred to `to`.\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\n     * - `from` and `to` are never both zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}\n}\n"},{"file_path":"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"},{"file_path":"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../ERC20.sol\";\nimport \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys `amount` tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 amount) public virtual {\n        _burn(_msgSender(), amount);\n    }\n\n    /**\n     * @dev Destroys `amount` tokens from `account`, deducting from the caller's\n     * allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `amount`.\n     */\n    function burnFrom(address account, uint256 amount) public virtual {\n        _spendAllowance(account, _msgSender(), amount);\n        _burn(account, amount);\n    }\n}\n"},{"file_path":"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},{"file_path":"lib/openzeppelin-contracts/contracts/utils/Context.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},{"file_path":"src/core/CoreRef.sol","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\nimport {ICore} from \"../core/ICore.sol\";\nimport {ICoreRef} from \"./ICoreRef.sol\";\n\n/// @title A Reference to Core\n/// @notice defines some modifiers and utilities around interacting with Core\nabstract contract CoreRef is ICoreRef {\n    ICore private _core;\n\n    // solhint-disable-next-line var-name-mixedcase\n    bool public EMERGENCY;\n\n    /// @notice CoreRef constructor\n    /// @param coreAddress Few Core to reference\n    constructor(address coreAddress) {\n        _core = ICore(coreAddress);\n    }\n\n    modifier onlyMinter() {\n        require(_core.isMinter(msg.sender), \"CoreRef: Caller is not a minter\");\n        _;\n    }\n\n    modifier onlyBurner() {\n        require(_core.isBurner(msg.sender), \"CoreRef: Caller is not a burner\");\n        _;\n    }\n\n    modifier onlyGovernor() {\n        require(_core.isGovernor(msg.sender), \"CoreRef: Caller is not a governor\");\n        _;\n    }\n\n    modifier onlyGuardianOrGovernor() {\n        require(\n            _core.isGovernor(msg.sender) || _core.isGuardian(msg.sender),\n            \"CoreRef: Caller is not a guardian or governor\"\n        );\n        _;\n    }\n\n    /// @notice set new Core reference address\n    /// @param coreAddress the new core address\n    function setCore(address coreAddress) external override onlyGovernor {\n        _core = ICore(coreAddress);\n        emit CoreUpdate(coreAddress);\n    }\n\n    function emergency() external view override returns (bool) {\n        return EMERGENCY;\n    }\n\n    function startEmergency() external override onlyGuardianOrGovernor {\n        EMERGENCY = true;\n        emit EmergencyUpdate(true);\n    }\n\n    function stopEmergency() external override onlyGuardianOrGovernor {\n        EMERGENCY = false;\n        emit EmergencyUpdate(false);\n    }\n\n    /// @notice address of the Core contract referenced\n    /// @return ICore implementation address\n    function core() public view override returns (ICore) {\n        return _core;\n    }\n}\n"},{"file_path":"src/core/ICore.sol","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\nimport {IPermissions} from \"./IPermissions.sol\";\n\n/// @title Core Interface\ninterface ICore is IPermissions {\n    function init() external;\n}\n"},{"file_path":"src/core/ICoreRef.sol","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\nimport {ICore} from \"../core/ICore.sol\";\n\n/// @title CoreRef interface\ninterface ICoreRef {\n    event CoreUpdate(address indexed _core);\n    event EmergencyUpdate(bool _emergency);\n    event MinterUpdate(address indexed _minter, bool _status);\n    event BurnerUpdate(address indexed _burner, bool _status);\n\n    function emergency() external view returns (bool);\n\n    function startEmergency() external;\n\n    function stopEmergency() external;\n\n    function setCore(address coreAddress) external;\n\n    function core() external view returns (ICore);\n}\n"},{"file_path":"src/core/IPermissions.sol","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\n/// @title Permissions interface\ninterface IPermissions {\n    // ----------- Governor only state changing api -----------\n\n    function createRole(bytes32 role, bytes32 adminRole) external;\n\n    function grantGovernor(address governor) external;\n\n    function grantGuardian(address guardian) external;\n\n    function grantMinter(address minter) external;\n\n    function grantBurner(address burner) external;\n\n    function revokeGovernor(address governor) external;\n\n    function revokeGuardian(address guardian) external;\n\n    function revokeMinter(address minter) external;\n\n    function revokeBurner(address burner) external;\n\n    // ----------- Revoker only state changing api -----------\n\n    function revokeOverride(bytes32 role, address account) external;\n\n    // ----------- Getters -----------\n\n    function isGovernor(address _address) external view returns (bool);\n\n    function isGuardian(address _address) external view returns (bool);\n\n    function isMinter(address _address) external view returns (bool);\n\n    function isBurner(address _address) external view returns (bool);\n}\n"},{"file_path":"src/interfaces/IAssetToken.sol","source_code":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.23;\n\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\n\ninterface IAssetToken is IERC20 {\n    event Minting(address indexed _to, address indexed _minter, uint256 _amount);\n    event Burning(address indexed _to, address indexed _burner, uint256 _amount);\n\n    function burn(uint256 amount) external;\n\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    function burnFrom(address account, uint256 amount) external;\n\n    function mint(address account, uint256 amount) external;\n}\n"}],"certified":false,"conflicting_implementations":null,"abi":[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"core_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"_burner","type":"address"},{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"BurnerUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"address","name":"_burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Burning","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_core","type":"address"}],"name":"CoreUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_emergency","type":"bool"}],"name":"EmergencyUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"MinterUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Minting","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMERGENCY","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","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":"amount","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":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract ICore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergency","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"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":"coreAddress","type":"address"}],"name":"setCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startEmergency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopEmergency","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":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"is_changed_bytecode":false,"is_partially_verified":false,"constructor_args":"0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000b2799ed78490ea642d2ecb23cb2ce9b8acc087d4000000000000000000000000000000000000000000000000000000000000000852696e672055534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445200000000000000000000000000000000000000000000000000000000"}