[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_ticker", "type": "string" }, { "internalType": "address", "name": "_issuer", "type": "address" }, { "internalType": "uint256", "name": "_totalSupply", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "uint256", "name": "_totalSupply", "type": "uint256" } ], "name": "FriggToken__ExceedsTotalSupply", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_underwritersLength", "type": "uint256" }, { "internalType": "uint256", "name": "_amountsLength", "type": "uint256" } ], "name": "FriggToken__InvalidMintParameters", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "_caller", "type": "address" } ], "name": "FriggToken__WrongCaller", "type": "error" }, { "inputs": [ { "internalType": "enum FriggToken.Phase", "name": "_phase", "type": "uint8" } ], "name": "FriggToken__WrongPhase", "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getIssuerAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "_underwriters", "type": "address[]" }, { "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "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" } ]
60e06040523480156200001157600080fd5b5060405162000e6238038062000e62833981016040819052620000349162000143565b8383600362000044838262000265565b50600462000053828262000265565b505033608052506001600160a01b039190911660a05260c05250506005805460ff1916905562000331565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000a657600080fd5b81516001600160401b0380821115620000c357620000c36200007e565b604051601f8301601f19908116603f01168101908282118183101715620000ee57620000ee6200007e565b816040528381526020925086838588010111156200010b57600080fd5b600091505b838210156200012f578582018301518183018401529082019062000110565b600093810190920192909252949350505050565b600080600080608085870312156200015a57600080fd5b84516001600160401b03808211156200017257600080fd5b620001808883890162000094565b955060208701519150808211156200019757600080fd5b50620001a68782880162000094565b604087015190945090506001600160a01b0381168114620001c657600080fd5b6060959095015193969295505050565b600181811c90821680620001eb57607f821691505b6020821081036200020c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026057600081815260208120601f850160051c810160208610156200023b5750805b601f850160051c820191505b818110156200025c5782815560010162000247565b5050505b505050565b81516001600160401b038111156200028157620002816200007e565b6200029981620002928454620001d6565b8462000212565b602080601f831160018114620002d15760008415620002b85750858301515b600019600386901b1c1916600185901b1785556200025c565b600085815260208120601f198616915b828110156200030257888601518255948401946001909101908401620002e1565b5085821015620003215787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c051610afa62000368600039600081816103ef015261042b01526000610130015260006102dc0152610afa6000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806332e71ead1161007157806332e71ead1461012357806370a082311461015a57806395d89b4114610183578063a9059cbb1461018b578063dd62ed3e1461019e578063e467f7e0146101d757600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101ec565b6040516100c39190610838565b60405180910390f35b6100df6100da3660046108a2565b61027e565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046108cc565b610298565b604051600081526020016100c3565b6040516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001681526020016100c3565b6100f3610168366004610908565b6001600160a01b031660009081526020819052604090205490565b6100b66102bc565b6100df6101993660046108a2565b6102cb565b6100f36101ac36600461092a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101ea6101e53660046109a9565b6102d9565b005b6060600380546101fb90610a15565b80601f016020809104026020016040519081016040528092919081815260200182805461022790610a15565b80156102745780601f1061024957610100808354040283529160200191610274565b820191906000526020600020905b81548152906001019060200180831161025757829003601f168201915b5050505050905090565b60003361028c8185856104cb565b60019150505b92915050565b6000336102a68582856104dd565b6102b185858561055b565b506001949350505050565b6060600480546101fb90610a15565b60003361028c81858561055b565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681146103335760405163fe70e7d960e01b81526001600160a01b03821660048201526024015b60405180910390fd5b60008060055460ff16600181111561034d5761034d610a4f565b1461036d578060405163227edf7d60e11b815260040161032a9190610a65565b848381158061037a575080155b806103855750808214155b156103ad5760405163e6272aaf60e01b8152600481018390526024810182905260440161032a565b60006103eb8787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506105ba92505050565b90507f0000000000000000000000000000000000000000000000000000000000000000811115610457576040516355b265c760e01b8152600481018290527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161032a565b60005b838110156104b2576104aa8a8a8381811061047757610477610a8d565b905060200201602081019061048c9190610908565b89898481811061049e5761049e610a8d565b905060200201356105ff565b60010161045a565b50506005805460ff191660011790555050505050505050565b6104d88383836001610639565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610555578181101561054657604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161032a565b61055584848484036000610639565b50505050565b6001600160a01b03831661058557604051634b637e8f60e11b81526000600482015260240161032a565b6001600160a01b0382166105af5760405163ec442f0560e01b81526000600482015260240161032a565b6104d883838361070e565b8051600090815b818110156105f8578381815181106105db576105db610a8d565b6020026020010151836105ee9190610aa3565b92506001016105c1565b5050919050565b6001600160a01b0382166106295760405163ec442f0560e01b81526000600482015260240161032a565b6106356000838361070e565b5050565b6001600160a01b0384166106635760405163e602df0560e01b81526000600482015260240161032a565b6001600160a01b03831661068d57604051634a1406b160e11b81526000600482015260240161032a565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561055557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161070091815260200190565b60405180910390a350505050565b6001600160a01b03831661073957806002600082825461072e9190610aa3565b909155506107ab9050565b6001600160a01b0383166000908152602081905260409020548181101561078c5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161032a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166107c7576002805482900390556107e6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161082b91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561086557858101830151858201604001528201610849565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461089d57600080fd5b919050565b600080604083850312156108b557600080fd5b6108be83610886565b946020939093013593505050565b6000806000606084860312156108e157600080fd5b6108ea84610886565b92506108f860208501610886565b9150604084013590509250925092565b60006020828403121561091a57600080fd5b61092382610886565b9392505050565b6000806040838503121561093d57600080fd5b61094683610886565b915061095460208401610886565b90509250929050565b60008083601f84011261096f57600080fd5b50813567ffffffffffffffff81111561098757600080fd5b6020830191508360208260051b85010111156109a257600080fd5b9250929050565b600080600080604085870312156109bf57600080fd5b843567ffffffffffffffff808211156109d757600080fd5b6109e38883890161095d565b909650945060208701359150808211156109fc57600080fd5b50610a098782880161095d565b95989497509550505050565b600181811c90821680610a2957607f821691505b602082108103610a4957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b6020810160028310610a8757634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052603260045260246000fd5b8082018082111561029257634e487b7160e01b600052601160045260246000fdfea2646970667358221220cdf54f7b66df9f0d749f1b0835eee1969f14f6623c02d7efcbb2c51dd8f1c27064736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e438ffc5692d2cb9d77e28176a5a15dcbedbb121000000000000000000000000000000000000000000000000000000000004b01e000000000000000000000000000000000000000000000000000000000000001d4c616d20486f6e672053696e67204c6f6e67204c6f616e20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000004464c4f4c00000000000000000000000000000000000000000000000000000000
0x000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e438ffc5692d2cb9d77e28176a5a15dcbedbb121000000000000000000000000000000000000000000000000000000000004b01e000000000000000000000000000000000000000000000000000000000000001d4c616d20486f6e672053696e67204c6f6e67204c6f616e20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000004464c4f4c00000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : _name (string): Lam Hong Sing Long Loan TokenArg [1] : _ticker (string): FLOLArg [2] : _issuer (address): 0xE438FfC5692D2CB9d77E28176a5A15dcbeDbb121Arg [3] : _totalSupply (uint256): 307230
----Encoded View------------Arg [0] : 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d4c616d20486f6e672053696e67204c6f6e67204c6f616e20546f6b656e000000Arg [1] : 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004464c4f4c00000000000000000000000000000000000000000000000000000000Arg [2] : 0x000000000000000000000000e438ffc5692d2cb9d77e28176a5a15dcbedbb121Arg [3] : 0x000000000000000000000000000000000000000000000000000000000004b01e