0 txs
0 calls
constructor
constructor(address _fundsRedeemer, address _investToken, uint256 _launchStartTime, uint256 _saleDuration, uint256 _maxInvestAllowed, uint256 _minInvestAllowed, uint256 _maxRedeemableToIssue, uint256 _startingPrice)
functions
computePrice
viewfunction computePrice() view returns (uint256)
currentPrice
viewfunction currentPrice() view returns (uint256)
finalized
viewfunction finalized() view returns (bool)
finalPrice
viewfunction finalPrice() view returns (uint256)
fundsRedeemer
viewfunction fundsRedeemer() view returns (address)
hasSaleEnded
viewfunction hasSaleEnded() view returns (bool)
investorInfoMap
viewfunction investorInfoMap(address) view returns (uint256 totalInvested, uint256 totalRedeemed, uint256 totalInvestableExchanged, bool hasClaimed)
investorList
viewfunction investorList(uint256) view returns (address)
investToken
viewfunction investToken() view returns (address)
launchEndTime
viewfunction launchEndTime() view returns (uint256)
launchStartTime
viewfunction launchStartTime() view returns (uint256)
maxInvestAllowed
viewfunction maxInvestAllowed() view returns (uint256)
maxRedeemableToIssue
viewfunction maxRedeemableToIssue() view returns (uint256)
minInvestAllowed
viewfunction minInvestAllowed() view returns (uint256)
owner
viewfunction owner() view returns (address)
redeemableToken
viewfunction redeemableToken() view returns (address)
saleDuration
viewfunction saleDuration() view returns (uint256)
startingPrice
viewfunction startingPrice() view returns (uint256)
totalGlobalInvested
viewfunction totalGlobalInvested() view returns (uint256)
totalGlobalIssued
viewfunction totalGlobalIssued() view returns (uint256)
totalInvestors
viewfunction totalInvestors() view returns (uint256)
changeStartTime
nonpayablefunction changeStartTime(uint256 newTime)
claimRedeemable
nonpayablefunction claimRedeemable()
invest
nonpayablefunction invest(uint256 amountToInvest)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdrawInvestablePool
nonpayablefunction withdrawInvestablePool()
events
Invest
event Invest(address investor, uint256 amount, uint256 totalInvested, uint256 price)
IssueNRT
event IssueNRT(address investor, uint256 amount)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoveInvestment
event RemoveInvestment(address investor, uint256 amount, uint256 totalInvested, uint256 price)
errors
No errors.
creation bytecode
0x60806040523480156200001157600080fd5b5060405162001d1d38038062001d1d83398181016040526101008110156200003857600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959694959394929391929091620000763362000203565b6001600160a01b038816620000bd5760405162461bcd60e51b815260040180806020018281038252602181526020018062001cfc6021913960400191505060405180910390fd5b600180546001600160a01b03199081166001600160a01b038b81169190911790925560028054909116918916919091179055600a8690556200010c868662000253602090811b62000d8917901c565b600c55600b859055600484905560058390556006829055600d8190556040516009906200013990620002b5565b6020810191909152604080825260078183015266704b726f6e6f7360c81b60608301525190819003608001906000f0801580156200017b573d6000803e3d6000fd5b50600380546001600160a01b0319166001600160a01b03928316179081905560408051630e0cb96960e31b815233600482015290519190921691637065cb4891602480830192600092919082900301818387803b158015620001dc57600080fd5b505af1158015620001f1573d6000803e3d6000fd5b505050505050505050505050620002c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082820183811015620002ae576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6109d6806200132683390190565b61105380620002d36000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80638aa5b2c3116100f9578063b3f05b9711610097578063d6fbf20211610071578063d6fbf202146102e9578063f2fde38b146102f1578063f703f36f14610317578063ff6807cb14610365576101a9565b8063b3f05b97146102d1578063badf822b146102d9578063bc4c3bb3146102e1576101a9565b80639d1b464a116100d35780639d1b464a146102b1578063a4cea3b2146102b9578063a6b513ee146102c1578063b17253e6146102c9576101a9565b80638aa5b2c3146102845780638b65be08146102a15780638da5cb5b146102a9576101a9565b806338771754116101665780636bacc0fa116101405780636bacc0fa14610250578063715018a61461026c5780637bb501ec14610274578063884aa2001461027c576101a9565b8063387717541461023857806349a433a21461024057806369e1da2d14610248576101a9565b806311dc99b3146101ae57806312f9b48e146101d257806329b8caff146101ef5780632afcf48014610209578063336a2901146102285780633711d9fb14610230575b600080fd5b6101b661036d565b604080516001600160a01b039092168252519081900360200190f35b6101b6600480360360208110156101e857600080fd5b503561037c565b6101f76103a6565b60408051918252519081900360200190f35b6102266004803603602081101561021f57600080fd5b50356103ac565b005b6101b66106ec565b6101f76106fb565b6101f7610701565b6101f7610707565b61022661070d565b6102586108ab565b604080519115158252519081900360200190f35b6102266108cc565b6101f761092a565b6101f7610930565b6102266004803603602081101561029a57600080fd5b503561095c565b6101f7610a5b565b6101b6610a61565b6101f7610a70565b610226610a97565b6101f7610c86565b6101f7610c8c565b610258610c92565b6101b6610c9b565b6101f7610caa565b6101f7610cb0565b6102266004803603602081101561030757600080fd5b50356001600160a01b0316610cb6565b61033d6004803603602081101561032d57600080fd5b50356001600160a01b0316610d59565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6101f7610d83565b6003546001600160a01b031681565b6011818154811061038c57600080fd5b6000918252602090912001546001600160a01b0316905081565b60095481565b42600a5410610402576040805162461bcd60e51b815260206004820152601760248201527f53616c65206973206e6f7420656e61626c656420796574000000000000000000604482015290519081900360640190fd5b600a54421015610459576040805162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f742073746172746564207965740000000000000000604482015290519081900360640190fd5b6005548110156104b0576040805162461bcd60e51b815260206004820152601760248201527f496e7665737420616d6f756e7420746f6f20736d616c6c000000000000000000604482015290519081900360640190fd5b6104b86108ab565b15610502576040805162461bcd60e51b815260206004820152601560248201527414d85b19481c195c9a5bd9081a185cc8195b991959605a1b604482015290519081900360640190fd5b33600090815260106020526040902060045481546105209084610d89565b111561055d5760405162461bcd60e51b8152600401808060200182810382526021815260200180610fbc6021913960400191505060405180910390fd5b600254604080516323b872dd60e01b81523360048201523060248201526044810185905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156105b757600080fd5b505af11580156105cb573d6000803e3d6000fd5b505050506040513d60208110156105e157600080fd5b5051610626576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b8054610677576009805460019081019091556011805491820181556000527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b031916331790555b600281018054830190558054820181556007805483019055610697610a70565b600e819055600754604080513381526020810186905280820192909252606082019290925290517f4df9cbfa66cbbabb528375b3af00207b446225af5a96b8a4b5c413b18226fb959181900360800190a15050565b6001546001600160a01b031681565b600b5481565b60045481565b600c5481565b33610716610a61565b6001600160a01b03161461075f576040805162461bcd60e51b81526020600482018190526024820152600080516020610ffe833981519152604482015290519081900360640190fd5b600c5442116107aa576040805162461bcd60e51b815260206004820152601260248201527114d85b19481a185cc81b9bdd08195b99195960721b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d602081101561081f57600080fd5b50516002546001546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561087c57600080fd5b505af1158015610890573d6000803e3d6000fd5b505050506040513d60208110156108a657600080fd5b505050565b60006108c4600b54600a54610d8990919063ffffffff16565b421190505b90565b336108d5610a61565b6001600160a01b03161461091e576040805162461bcd60e51b81526020600482018190526024820152600080516020610ffe833981519152604482015290519081900360640190fd5b6109286000610dec565b565b600a5481565b6000610957600654610951633b9aca00600754610e3c90919063ffffffff16565b90610e95565b905090565b33610965610a61565b6001600160a01b0316146109ae576040805162461bcd60e51b81526020600482018190526024820152600080516020610ffe833981519152604482015290519081900360640190fd5b4281116109ec5760405162461bcd60e51b8152600401808060200182810382526021815260200180610f756021913960400191505060405180910390fd5b600a544210610a42576040805162461bcd60e51b815260206004820152601860248201527f53616c652068617320616c726561647920737461727465640000000000000000604482015290519081900360640190fd5b600a819055600b54610a55908290610d89565b600c5550565b60085481565b6000546001600160a01b031690565b600080610a7b610930565b9050600d548111610a90575050600d546108c9565b90506108c9565b600c54421015610aee576040805162461bcd60e51b815260206004820152601d60248201527f54696d6520746f20636c61696d20686173206e6f742061727269766564000000604482015290519081900360640190fd5b336000908152601060205260409020600481015460ff1615610b50576040805162461bcd60e51b8152602060048201526016602482015275151bdad95b9cc8185b1c9958591e4818db185a5b595960521b604482015290519081900360640190fd5b8054610b98576040805162461bcd60e51b81526020600482015260126024820152714e6f20696e766573746d656e74206d61646560701b604482015290519081900360640190fd5b600e548154600091610bb29161095190633b9aca00610e3c565b60048301805460ff191660019081179091558301819055600854909150610bd99082610d89565b6008556003546040805163219e412d60e21b81523360048201526024810184905290516001600160a01b039092169163867904b49160448082019260009290919082900301818387803b158015610c2f57600080fd5b505af1158015610c43573d6000803e3d6000fd5b5050604080513381526020810185905281517f3a4841c31c51a7c2deb56faab3917d3951589be071efadac552de6113babc65f9450908190039091019150a15050565b600e5481565b60055481565b600f5460ff1681565b6002546001600160a01b031681565b60075481565b600d5481565b33610cbf610a61565b6001600160a01b031614610d08576040805162461bcd60e51b81526020600482018190526024820152600080516020610ffe833981519152604482015290519081900360640190fd5b6001600160a01b038116610d4d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610f966026913960400191505060405180910390fd5b610d5681610dec565b50565b60106020526000908152604090208054600182015460028301546004909301549192909160ff1684565b60065481565b600082820183811015610de3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610e4b57506000610de6565b82820282848281610e5857fe5b0414610de35760405162461bcd60e51b8152600401808060200182810382526021815260200180610fdd6021913960400191505060405180910390fd5b6000610de383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060008183610f5e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f23578181015183820152602001610f0b565b50505050905090810190601f168015610f505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610f6a57fe5b049594505050505056fe53746172742074696d65206d75737420626520696e20746865206675747572652e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d617820696e646976696475616c20696e766573746d656e742072656163686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122093522eeb6ec4f9522a644e84fccb0e9eed5ecfdccc3ec4661b21343680bf9f1264736f6c63430007050033608060405234801561001057600080fd5b506040516109d63803806109d68339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b50604090815260209182015133600090815280845291909120805460ff1916600117905584519093506101159250600491850190610129565b5060035550600060018190556002556101ca565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261015f57600085556101a5565b82601f1061017857805160ff19168380011785556101a5565b828001600101855582156101a5579182015b828111156101a557825182559160200191906001019061018a565b506101b19291506101b5565b5090565b5b808211156101b157600081556001016101b6565b6107fd806101d96000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80637065cb48116100665780637065cb481461012257806370a0823114610148578063867904b41461016e57806395d89b411461019a578063caacafe21461021757610093565b80631e9a6950146100985780632f54bf6e146100c6578063313ce567146101005780636291f5721461011a575b600080fd5b6100c4600480360360408110156100ae57600080fd5b506001600160a01b03813516906020013561021f565b005b6100ec600480360360208110156100dc57600080fd5b50356001600160a01b03166103c4565b604080519115158252519081900360200190f35b6101086103e2565b60408051918252519081900360200190f35b6101086103e8565b6100c46004803603602081101561013857600080fd5b50356001600160a01b03166103ee565b6101086004803603602081101561015e57600080fd5b50356001600160a01b0316610489565b6100c46004803603604081101561018457600080fd5b506001600160a01b0381351690602001356104a4565b6101a26105f1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101dc5781810151838201526020016101c4565b50505050905090810190601f1680156102095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610108610687565b3360009081526020819052604090205460ff16610283576040805162461bcd60e51b815260206004820152601f60248201527f4f776e61626c653a2063616c6c6572206973206e6f7420616e206f776e657200604482015290519081900360640190fd5b6001600160a01b0382166102cd576040805162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015290519081900360640190fd5b6001600160a01b038216600090815260056020526040902054811115610330576040805162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b604482015290519081900360640190fd5b6001600160a01b038216600090815260056020526040902054610353908261068d565b6001600160a01b038316600090815260056020526040902055600254610379908261068d565b600255604080516001600160a01b03841681526020810183905281517f4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b9369929181900390910190a15050565b6001600160a01b031660009081526020819052604090205460ff1690565b60035490565b60015490565b3360009081526020819052604090205460ff16610452576040805162461bcd60e51b815260206004820152601f60248201527f4f776e61626c653a2063616c6c6572206973206e6f7420616e206f776e657200604482015290519081900360640190fd5b6001600160a01b03811661046557600080fd5b6001600160a01b03166000908152602081905260409020805460ff19166001179055565b6001600160a01b031660009081526005602052604090205490565b3360009081526020819052604090205460ff16610508576040805162461bcd60e51b815260206004820152601f60248201527f4f776e61626c653a2063616c6c6572206973206e6f7420616e206f776e657200604482015290519081900360640190fd5b6001600160a01b038216610552576040805162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015290519081900360640190fd5b60015461055f90826106d6565b60015560025461056f90826106d6565b6002556001600160a01b03821660009081526005602052604090205461059590826106d6565b6001600160a01b03831660008181526005602090815260409182902093909355805191825291810183905281517fa59f12e354e8cd10bb74c559844c2dd69a5458e31fe56c7594c62ca57480509a929181900390910190a15050565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561067d5780601f106106525761010080835404028352916020019161067d565b820191906000526020600020905b81548152906001019060200180831161066057829003601f168201915b5050505050905090565b60025490565b60006106cf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610730565b9392505050565b6000828201838110156106cf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081848411156107bf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561078457818101518382015260200161076c565b50505050905090810190601f1680156107b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea264697066735822122055d3a160afc0d6b64da0638bce059cc907baf03dcffa2a79141dcdd34f31460864736f6c6343000705003366756e647352656465656d65722061646472657373206973206e6f74207365742e000000000000000000000000b2fbfc11ad96b655158d73855898a663a7230844000000000000000000000000e9e7cea3dedca5984780bafc599bd69add087d56000000000000000000000000000000000000000000000000000000006241bf60000000000000000000000000000000000000000000000000000000000005460000000000000000000000000000000000000000000000043c33c1937564800000000000000000000000000000000000000000000000000002b5e3af16b188000000000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000de0b6b3a7640000