[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "address", "name": "bridgeContract", "type": "address" }, { "internalType": "uint256", "name": "initialSupply", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" } ], "name": "AccessControlUnauthorizedAccount", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [], "name": "EnforcedPause", "type": "error" }, { "inputs": [], "name": "ExpectedPause", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": false, "internalType": "address", "name": "bridgeAddress", "type": "address" } ], "name": "BridgeContractChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "inputs": [], "name": "BRIDGE_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getBridgeContract", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "callerConfirmation", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridgeContract", "type": "address" } ], "name": "setBridgeContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b506040516200168c3803806200168c833981016040819052620000349162000493565b3384846003620000458382620005b4565b506004620000548282620005b4565b50506005805460ff19169055506001600160a01b0381166200009157604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200009c816200010d565b50620000a9338262000167565b600780546001600160a01b0319166001600160a01b038416908117909155620000f4907f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f90620001a5565b5062000102600033620001a5565b5050505050620006a2565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001935760405163ec442f0560e01b81526000600482015260240162000088565b620001a16000838362000258565b5050565b60008281526006602090815260408083206001600160a01b038516845290915281205460ff166200024e5760008381526006602090815260408083206001600160a01b03861684529091529020805460ff19166001179055620002053390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000252565b5060005b92915050565b6200026262000274565b6200026f8383836200029b565b505050565b60055460ff1615620002995760405163d93c066560e01b815260040160405180910390fd5b565b6001600160a01b038316620002ca578060026000828254620002be919062000680565b909155506200033e9050565b6001600160a01b038316600090815260208190526040902054818110156200031f5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000088565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200035c576002805482900390556200037b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003c191815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003f657600080fd5b81516001600160401b0380821115620004135762000413620003ce565b604051601f8301601f19908116603f011681019082821181831017156200043e576200043e620003ce565b816040528381526020925086838588010111156200045b57600080fd5b600091505b838210156200047f578582018301518183018401529082019062000460565b600093810190920192909252949350505050565b60008060008060808587031215620004aa57600080fd5b84516001600160401b0380821115620004c257600080fd5b620004d088838901620003e4565b95506020870151915080821115620004e757600080fd5b50620004f687828801620003e4565b604087015190945090506001600160a01b03811681146200051657600080fd5b6060959095015193969295505050565b600181811c908216806200053b57607f821691505b6020821081036200055c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026f57600081815260208120601f850160051c810160208610156200058b5750805b601f850160051c820191505b81811015620005ac5782815560010162000597565b505050505050565b81516001600160401b03811115620005d057620005d0620003ce565b620005e881620005e1845462000526565b8462000562565b602080601f831160018114620006205760008415620006075750858301515b600019600386901b1c1916600185901b178555620005ac565b600085815260208120601f198616915b82811015620006515788860151825594840194600190910190840162000630565b5085821015620006705787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200025257634e487b7160e01b600052601160045260246000fd5b610fda80620006b26000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063605f40cd116100f95780639dc29fac11610097578063b5bfddea11610071578063b5bfddea14610373578063d547741f1461039a578063dd62ed3e146103ad578063f2fde38b146103e657600080fd5b80639dc29fac14610345578063a217fddf14610358578063a9059cbb1461036057600080fd5b80638456cb59116100d35780638456cb591461030c5780638da5cb5b1461031457806391d148541461032a57806395d89b411461033d57600080fd5b8063605f40cd146102b657806370a08231146102db578063715018a61461030457600080fd5b8063248a9ca31161016657806336568abe1161014057806336568abe1461027d5780633f4ba83a1461029057806340c10f19146102985780635c975abb146102ab57600080fd5b8063248a9ca3146102385780632f2ff15d1461025b578063313ce5671461026e57600080fd5b806301ffc9a7146101ae57806306fdde03146101d6578063095ea7b3146101eb5780630b26cf66146101fe57806318160ddd1461021357806323b872dd14610225575b600080fd5b6101c16101bc366004610dbe565b6103f9565b60405190151581526020015b60405180910390f35b6101de610430565b6040516101cd9190610def565b6101c16101f9366004610e59565b6104c2565b61021161020c366004610e83565b6104da565b005b6002545b6040519081526020016101cd565b6101c1610233366004610e9e565b610540565b610217610246366004610eda565b60009081526006602052604090206001015490565b610211610269366004610ef3565b610564565b604051600881526020016101cd565b61021161028b366004610ef3565b61058f565b6102116105c7565b6102116102a6366004610e59565b6105d9565b60055460ff166101c1565b6007546001600160a01b03165b6040516001600160a01b0390911681526020016101cd565b6102176102e9366004610e83565b6001600160a01b031660009081526020819052604090205490565b610211610665565b610211610677565b60055461010090046001600160a01b03166102c3565b6101c1610338366004610ef3565b610687565b6101de6106b2565b610211610353366004610e59565b6106c1565b610217600081565b6101c161036e366004610e59565b610744565b6102177f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f81565b6102116103a8366004610ef3565b610752565b6102176103bb366004610f1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102116103f4366004610e83565b610777565b60006001600160e01b03198216637965db0b60e01b148061042a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461043f90610f49565b80601f016020809104026020016040519081016040528092919081815260200182805461046b90610f49565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b6000336104d08185856107b5565b5060019392505050565b6104e26107c2565b6104ea6107f5565b600780546001600160a01b0319166001600160a01b03831690811790915560405190815233907f6bc3d5f48e77b5ff80e5e6583401d7b5bc6f5b5023984f33ff6d04fed1e839e69060200160405180910390a250565b60003361054e858285610819565b610559858585610891565b506001949350505050565b60008281526006602052604090206001015461057f816108f0565b61058983836108fa565b50505050565b6001600160a01b03811633146105b85760405163334bd91960e11b815260040160405180910390fd5b6105c2828261098e565b505050565b6105cf6107c2565b6105d76109fb565b565b6106037f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f33610687565b61064f5760405162461bcd60e51b815260206004820152601860248201527710d85b1b195c881a5cc81b9bdd08185d5d1a1bdc9a5e995960421b60448201526064015b60405180910390fd5b6106576107f5565b6106618282610a4d565b5050565b61066d6107c2565b6105d76000610a83565b61067f6107c2565b6105d7610add565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461043f90610f49565b6106eb7f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f33610687565b6107325760405162461bcd60e51b815260206004820152601860248201527710d85b1b195c881a5cc81b9bdd08185d5d1a1bdc9a5e995960421b6044820152606401610646565b61073a6107f5565b6106618282610b1a565b6000336104d0818585610891565b60008281526006602052604090206001015461076d816108f0565b610589838361098e565b61077f6107c2565b6001600160a01b0381166107a957604051631e4fbdf760e01b815260006004820152602401610646565b6107b281610a83565b50565b6105c28383836001610b50565b6005546001600160a01b036101009091041633146105d75760405163118cdaa760e01b8152336004820152602401610646565b60055460ff16156105d75760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610589578181101561088257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610646565b61058984848484036000610b50565b6001600160a01b0383166108bb57604051634b637e8f60e11b815260006004820152602401610646565b6001600160a01b0382166108e55760405163ec442f0560e01b815260006004820152602401610646565b6105c2838383610c25565b6107b28133610c38565b60006109068383610687565b6109865760008381526006602090815260408083206001600160a01b03861684529091529020805460ff1916600117905561093e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161042a565b50600061042a565b600061099a8383610687565b156109865760008381526006602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161042a565b610a03610c71565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610a775760405163ec442f0560e01b815260006004820152602401610646565b61066160008383610c25565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ae56107f5565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a303390565b6001600160a01b038216610b4457604051634b637e8f60e11b815260006004820152602401610646565b61066182600083610c25565b6001600160a01b038416610b7a5760405163e602df0560e01b815260006004820152602401610646565b6001600160a01b038316610ba457604051634a1406b160e11b815260006004820152602401610646565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561058957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c1791815260200190565b60405180910390a350505050565b610c2d6107f5565b6105c2838383610c94565b610c428282610687565b6106615760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610646565b60055460ff166105d757604051638dfc202b60e01b815260040160405180910390fd5b6001600160a01b038316610cbf578060026000828254610cb49190610f83565b90915550610d319050565b6001600160a01b03831660009081526020819052604090205481811015610d125760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610646565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610d4d57600280548290039055610d6c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610db191815260200190565b60405180910390a3505050565b600060208284031215610dd057600080fd5b81356001600160e01b031981168114610de857600080fd5b9392505050565b600060208083528351808285015260005b81811015610e1c57858101830151858201604001528201610e00565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610e5457600080fd5b919050565b60008060408385031215610e6c57600080fd5b610e7583610e3d565b946020939093013593505050565b600060208284031215610e9557600080fd5b610de882610e3d565b600080600060608486031215610eb357600080fd5b610ebc84610e3d565b9250610eca60208501610e3d565b9150604084013590509250925092565b600060208284031215610eec57600080fd5b5035919050565b60008060408385031215610f0657600080fd5b82359150610f1660208401610e3d565b90509250929050565b60008060408385031215610f3257600080fd5b610f3b83610e3d565b9150610f1660208401610e3d565b600181811c90821680610f5d57607f821691505b602082108103610f7d57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561042a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220a84cbf745e1fae1fd19df01d2fc1477783f6f17207a5ef2e2ef733eaa280d85864736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000067a5aa90efb317e0ca2c1a68abf5e67c1fb4822c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013547269636f726e2077726170706564204254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047442544300000000000000000000000000000000000000000000000000000000
0x000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000067a5aa90efb317e0ca2c1a68abf5e67c1fb4822c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013547269636f726e2077726170706564204254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047442544300000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : name (string): Tricorn wrapped BTCArg [1] : symbol (string): tBTCArg [2] : bridgeContract (address): 0x67a5Aa90EFB317e0cA2c1A68abF5e67C1FB4822cArg [3] : initialSupply (uint256): 0
----Encoded View------------Arg [0] : 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013547269636f726e20777261707065642042544300000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000047442544300000000000000000000000000000000000000000000000000000000Arg [2] : 0x00000000000000000000000067a5aa90efb317e0ca2c1a68abf5e67c1fb4822cArg [3] : 0x0000000000000000000000000000000000000000000000000000000000000000