Nicolás Venturo
8fd072cf8e
Escrows ( #1014 )
...
* Added basic Escrow
* PullPayment now uses an Escrow, removing all trust from the contract
* Abstracted the Escrow tests to a behaviour
* Added ConditionalEscrow
* Added RefundableEscrow.
* RefundableCrowdsale now uses a RefundEscrow, removed RefundVault.
* Renaming after code review.
* Added log test helper.
* Now allowing empty deposits and withdrawals.
* Style fixes.
* Minor review comments.
* Add Deposited and Withdrawn events, removed Refunded
* The base Escrow is now Ownable, users of it (owners) must provide methods to access it.
7 years ago
Alex Beregszaszi
c2ad8c3f57
Update the use of call() with selector only. ( #1033 )
7 years ago
Francisco Giordano
fd253d6b8d
Fix dependency warnings ( #1053 )
...
* update package-lock generated by npm
* run npm audit fix
7 years ago
Paul Barclay
7d8e3ca8b2
Align ERC721 Receiver with current ERC721 standard. ( #1047 )
...
* Align ERC721 Receiver with current ERC721 standard.
Adds a second address field to onERC721Received
onERC721Received(address,address,uint256,bytes)
Updates the function signature to 0x150b7a02 from 0xf0b9e5ba
* Add _operator to onERC721Received
* Fix error caused by formatOnSave
* Fixed comments on ERC721Receiver
Removed "Must use 50,000 gas or less"
Corrected the function signature
7 years ago
Maciej Górski
6b37ba36a1
Remove ERC827 token. ( #1045 )
...
Implementing this token is unsafe as per comments here:
https://github.com/ethereum/EIPs/issues/827#issuecomment-397857455
7 years ago
Amir Bandeali
dc1e352cc4
Don't emit Approval event when approval is cleared on transfer ( #1039 )
7 years ago
Matt Condon
f18c3bc438
feat: initial implementation of ERC1046 ( #933 )
...
* feat: initial implementation of ERC1046
7 years ago
Francisco Giordano
0047e79681
ignore truffle generated file ( #1019 )
7 years ago
Doug Crescenzi
74a62a1314
using SafeERC20 to implement safeTransfer in Crowdsale ( #1006 )
...
* introduced safeTransfer to Crowdsale
* Removed .node-xmlhttprequest-sync-7601
7 years ago
Matt Condon
92b695f2fb
Fix/whitelisted crowdsale ( #981 )
...
* fix: swithc WhitelistedCrowdsale to use Whitelist.sol
* feat: refactor whitelist.sol, rbac.sol and whitelistedcrowdsale.sol
* feat: add event arg assets and update whitelist
* fix: update modifier comment and also test isWhitelisted
* fix: remove onlyWhitelisted backwards compat attempt, fix explicit inheritance
* fix: remove underscore prefix from event args
* fix: user access/Whitelist
7 years ago
Rob
ee78f67985
fixing comment - changing '_to' to '_spender' ( #1007 )
7 years ago
Arun Kumar
07020e9544
Remove redundant @dev tags ( #995 )
...
* Remove redundant @dev tags
* Remove redundant @notice tags
7 years ago
chriseth
b4406d385f
Use abi.encodeWithSignature together with raw call() ( #1008 )
7 years ago
Alex Beregszaszi
78e39aa2ad
Do not use implicit type conversion for address literals ( #1002 )
...
Uses the explicit address(0) for the zero address
7 years ago
Doug Crescenzi
e4ed8f0705
Added explicit integer sizes to uint variables in StandardToken ( #1004 )
7 years ago
artiebits
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
7 years ago
Matt Condon
e1dc1411fc
WIP: Fix/erc721 ( #993 )
...
* fix: defer lookup-specific info to implementations
* fix: change inheritance order, fix import
7 years ago
Arun Kumar
9f1d294ba4
Move Whitelist contract to access directory ( #994 )
7 years ago
Adam Flesher
9951acf6d8
Added aflesher as an author to SignatureBouncer.sol ( #996 )
7 years ago
Leo Arias
72792a724d
ownable: add a notice on renounceOwnership ( #937 )
...
* ownable: add a notice on renounceOwnership
* Apply the suggestion by @shrugs
7 years ago
Adam Flesher
b0292cf628
Add `isValidSignatureAndData` to Bouncer to verify method calls ( #973 )
7 years ago
Doug Crescenzi
39385f9f4e
Addressed unchecked return value in AllowanceCrowdsale #945 using SafeERC20 ( #946 )
...
* addressed unchecked return value in AllowanceCrowdsale #945 using SafeERC20
7 years ago
Gal Bracha
7a61371b19
Updated documentation Uppercasing function name for ERC02 basic token ( #720 )
7 years ago
Matt Condon
259b9da3e6
add 165 to 721 ( #972 )
...
* make _tokenId indexed in Transfer and Approval events
via: https://github.com/ethereum/EIPs/pull/1124/files
* fix: make name() and symbol() external instead of public
* feat: implement ERC721's ERC165
* feat: erc165 tests
* fix: don't use chai-as-promised in direct await
* fix: reorganize to /introspection
* feat: abstract all erc165 tests to a behavior
* feat: disallow registering 0xffffffff
7 years ago
Alen
5326e7c36e
Removed redundant modifiers from CappedToken. ( #969 )
7 years ago
Francisco Giordano
feb665136c
1.10.0
7 years ago
Patricio Mosse
7fb84b42d5
Refactoring Superuser contract to allow Owners to transfer ownership … ( #978 )
...
* Refactoring Superuser contract to allow Owners to transfer ownership when they are not superusers #50
* Refactoring tests to create a contract instance for each of them #50
7 years ago
Doug Crescenzi
5db0d7d1a0
included command to add upstream ( #959 )
7 years ago
Vittorio Minacori
512e8218ca
Add a comment on Detailed ERC20 token #953 ( #960 )
...
* add a comment on detailed erc20 token #953
7 years ago
Doug Crescenzi
9d6ffae8cb
removed mentions of 'development' branch in Contribution Guidelines ( #966 )
7 years ago
Tsuyoshi Maeda
2a997a8e92
Fixed wrong variable name in SampleCrowdsale.test.js. ( #916 )
7 years ago
Nicolás Venturo
5651538045
Clarified the rationaly behind the mul branch test. ( #970 )
7 years ago
Francisco Giordano
10e84aecaf
Fix Node 10 compatibility ( #949 )
...
* update sha3 1.2.0 -> 1.2.2 for node 10 compatibility
* update nan 2.6.2 -> 2.10.0 for node 10 compatibility
* commit new package-lock.json format generated by npm 6
7 years ago
Matt Condon
2637bd89be
fix: add comment about rbacwithadmin being rather powerful ( #936 )
...
* fix: add comment about rbacwithadmin being rather powerful
* fix: move RBACWithAdmin to examples
7 years ago
Iuri Matias
32ec8b5398
Add Status Embark to README ( #956 )
...
* Update README.md
* update embark import to use the v1.9.0 tag instead of master
* Update README.md
7 years ago
Patricio Mosse
a0c03ee61c
Adding new Superuser contract with test ( #952 )
...
* Adding new Superuser contract + tests
7 years ago
Matt Condon
e3f866c982
fix: remove daylimit.sol, closes #925 ( #964 )
7 years ago
Yong
5ab9024b6a
update balance syntax for solidity 0.4.23 ( #940 )
7 years ago
Doug Crescenzi
d5f06ab32f
addressed TokenVesting contstructor natspec updates in #742 ( #935 )
7 years ago
Leo Arias
746673a94f
style: use the max-len solidity rule ( #944 )
7 years ago
Leo Arias
ba4cf03da7
contracts mocks: replace deprecated constant with view ( #931 )
7 years ago
Vittorio Minacori
39370ff690
Adding RBAC Mintable token ( #923 )
...
* added the RBACMintableToken
* added MintedCrowdsale with RBACMintableToken test
* added a mintable behaviour for tests
* moved minting tests in behaviour
* created a minted crowdsale behaviour to be tested with both mintable and rbacmintable token
7 years ago
John Shutt
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
7 years ago
Paweł Winnicki
20b85be6aa
Ownable behavior ( #929 )
...
* added function to renounce ownership
* Provide an Ownable behavior for testing (#905 )
* Fix indentation
* Convert to use should assertions
7 years ago
Matt Condon
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
7 years ago
Kazuki YAMAGUCHI
f0eea31bdf
Fix ERC721Token.sol code indent ( #909 )
7 years ago
Daniel Que
ce0a928a6c
Fix typos in ERC721BasicToken comments ( #889 )
7 years ago
Schneider Jakob
85f079ee89
Removing more asserts in favor of require ( #834 )
...
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
7 years ago
Paweł Winnicki
7e44204d9b
added function to renounce ownership ( #907 )
7 years ago
Francisco Giordano
4a10f727c4
1.9.0
7 years ago