(Aragon 1) Reference implementation for aragonOS: a Solidity framework for building complex dApps and protocols
GPL-3.0 License
Bot releases are visible (Hide)
IAragonApp
interface (#597) @sohkai @bingenPublished by release-drafter[bot] about 4 years ago
Published by release-drafter[bot] about 4 years ago
Published by facuspagnuolo about 4 years ago
Published by facuspagnuolo about 4 years ago
IAragonApp
interface (#597) @bingenPublished by release-drafter[bot] about 4 years ago
getDisputableInfo()
(#595) @sohkaiPublished by release-drafter[bot] over 4 years ago
Published by facuspagnuolo over 4 years ago
Published by facuspagnuolo over 4 years ago
Published by release-drafter[bot] over 4 years ago
Special thanks to @willjgriff for detecting the ACL issue on Istanbul chains and helping make this release possible!
This release only includes a hotfix to the ACL to remove the limited gas (30,000) sent when checking an ACL oracle's canPerform()
. On Istanbul, with EIP-1884 increasing the cost of SLOADs, the limited gas made even trial state checks in ACL oracles (e.g. fetching a token's balance) difficult to perform.
To reduce the amount of differences from the previous ACL
base contract deployed on mainnet (0x81f7564e413586f1f99fde55740ac52b43ca99c9
), this fix was backported into the v4.0 stream as v4.0.2.
Published by release-drafter[bot] about 5 years ago
This release updates DepositableDelegateProxy
for Istanbul contexts.
Due to EIP-1884's gas increases, previous versions of the proxies will no longer accept direct ETH transfers from contracts using .transfer()
or .send()
.
DepositableDelegateProxy
for EIP-1884 (#551) @izquiSafeERC20
(#543) @facuspagnuoloPublished by sohkai over 5 years ago
Special thanks to @haythem96 for helping make this release possible 🎉
This is a patch release to include a new forwarding interface, IForwarderFee
.
IForwarderFee
: allowing forwarders to declare they require feesIForwarderFee
is an optional interface that can be implemented by Forwarders (IForwarder
) to declare that their forwarding action requires a fee be paid.
This is used by frontends to assess whether a forwarding path has additional requirements to succeed:
Changes:
Published by sohkai over 5 years ago
Special thanks to @gregzaitsev for helping make this release possible 🎉
ReentrancyGuard
: making sure your function can't re-enterThis release includes a generic ReentrancyGuard
that comes available with AragonApp
. You can safely upgrade to using it, because it utilizes unstructured storage under the hood.
Using the new reentrancy guard is as simple as:
contract App is AragonApp {
function appLogic() external nonReentrant {
}
}
ConversionHelpers
: know when you live dangerouslyConversionHelpers
has been exposed as a generic utility for some of the more dangerous casts you may perform. Most of the time you don't want these, or they're already handled internally by aragonOS, but maybe you just want to live on the edge.
It currently exposes two conversions: uint256[] memory
to bytes memory
and back. These modify the memory in-place, so you should never re-use the old variable once you've done the cast. They're named dangerously (dangerouslyCastUintArrayToBytes()
and dangerouslyCastBytesToUintArray()
), to help you spot these!
Changes:
bytes
, and ensuring all returned bytes
are in allocated memory (d92e53f, 446653d, b6823b5, 009e0f5)Published by sohkai over 5 years ago
🎊 Special thanks to @ianbrt and @gregzaitsev for helping make this release possible 🎉
SafeERC20
: helping you work with tokens, even when Solidity doesn't want toInteracting with token contracts can be a tricky process when you can't trust their implementation. A number of buggy tokens have been identified on the Ethereum mainnet, with especially high-profile ones deployed having the "no return" bug.
SafeERC20
smooths out interactions with these buggy or otherwise potentially malicious tokens.
A set of "safe" functions, safeTransfer()
, safeTransferFrom()
, safeApprove()
, are available that handle the "no return" bug and enforce boolean returns (such that no reverts are ever thrown).
A further set of staticcall
utilities, staticBalanceOf()
and staticAllowance()
, are available to enforce the view
guarantees of these interfaces on Solidity pragmas pre-0.5.
Using SafeERC20
is as simple as:
contract TokenInteraction {
using SafeERC20 for ERC20;
function transferTo(ERC20 _token, address _to, uint256 _amount) external {
require(_token.safeTransfer(_to, _amount));
}
}
Changes:
Published by sohkai over 5 years ago
aragonOS 4.0.0 has completed audits from two independent security firms and is now being used by hundreds of Aragon organizations on the Ethereum mainnet.
See the release blog post and migration guide for all the new features and concepts.
Published by bingen almost 6 years ago
Inject web3 to deploy scripts so they can be used from outside.
Published by sohkai almost 6 years ago
The first release candidate of aragonOS 4.0!
Several changes have been made since beta.2, related to findings from audits, deployments, and improvements from general use.
We do not anticipate any further changes to the contracts.
🚨aragonOS 4.0 introduces several breaking changes in storage from aragonOS 3.0, so deployed contracts cannot be safely upgraded.
Published by sohkai about 6 years ago
Second beta release of aragonOS 4.0.
This is a candidate for audits.
🚨aragonOS 4.0 introduces several breaking changes in storage from aragonOS 3.0, so deployed contracts cannot be safely upgraded.
Published by sohkai about 6 years ago
First beta release of aragonOS 4.0.
This is a candidate for audits (see beta.2 instead)
🚨aragonOS 4.0 introduces several breaking changes in storage from aragonOS 3.0, so deployed contracts cannot be safely upgraded.