9df4f7971e
Design tweaks to documentation template ( #1937 )
...
* switch index to show arg names
* add index separators
* add classes to style variable type and name
* add class for inherited part of index
* use inheritedItems in contracts template
* refactor template to use explicit if and each
(cherry picked from commit 5d6a040fc3 )
2019-10-29 17:18:26 -03:00
f5fe378cc6
update solidity-docgen
...
(cherry picked from commit e557a54ce7 )
2019-10-29 17:18:26 -03:00
5183c6a307
Show visibility ( #1945 )
...
(cherry picked from commit 77ae18f12f )
2019-10-29 17:13:03 -03:00
80125a1be5
fix gsn api links
...
(cherry picked from commit c866522833 )
2019-10-29 17:12:07 -03:00
4f4d305784
Fix the GSNBouncerERC20Fee token decimals to 18 ( #1929 )
...
* fix erc20 fee token decimals to 18
* lint
* Update contracts/GSN/bouncers/GSNBouncerERC20Fee.sol
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com >
* change location of hardcoded decimals for clarity
* remove mention of decimals from docs
* remove trailing whitespace from guide
(cherry picked from commit b8ccf8e0f1 )
2019-10-29 17:11:26 -03:00
8026a8ae2e
GSNSignatureBouncer fix ( #1920 )
...
* GSNSignatureBoucer does not accept zero address
* Linting code.
* Update contracts/GSN/bouncers/GSNBouncerSignature.sol
Makes sense!
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com >
* Update test/GSN/GSNBouncerSignature.test.js
ok!
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com >
* Add zero address constant from OZ test Helpers
* revert prettier formatting
(cherry picked from commit f9a94788fb )
2019-10-29 17:11:14 -03:00
f9f0eec359
abcoathup GSN Bouncers review ( #1916 )
...
* Fix typo
* Replace pseudo code contracts with sample code
* Update GSN Bouncers text
* More text changes
* Update with latest code and remove reference to allowance
* Capitalize Custom Bouncer
* Update docs/modules/ROOT/pages/gsn-bouncers.adoc
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* Update gsn-bouncers.adoc with Antora cross reference
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* Revert to handling msg.sender msg.data differently
* Change by default to simplest implementation
* Change signing to include signature for GSNBouncerSignature
* Reword summary of what is in the guide
* Remove "The" from before `GSNBouncer...`
* Fix code snippet markdown
* Change to API references to xref:api
* Remove code from How it works sections
* Explain 1:1 exchange rate
* Change transaction request to relayed call
* Minor fixes
* Add info to Custom Bouncers
* Typo
* Minor fixes
* reorder sentence based on review gsn-bouncers.adoc
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* Improve wording of signing of relayed call parameters by trusted signer
(cherry picked from commit 18473d0100 )
2019-10-29 17:11:04 -03:00
53edc70ab6
Remove extra parenthesis ( #1919 )
...
(cherry picked from commit 54182bf31c )
2019-10-29 17:10:52 -03:00
f615fd1a46
Fix bouncer signature tests ( #1915 )
...
* Fix bouncer signature tests
* Update GSNBouncerSignature.test.js
(cherry picked from commit 19a41980a1 )
2019-10-29 17:09:30 -03:00
dd2094b86e
Make _msgSender() payable ( #1913 )
...
(cherry picked from commit 52dc14c368 )
2019-10-29 17:08:19 -03:00
c247a21cb5
Make ERC1820 address constant ( #1912 )
...
(cherry picked from commit 6148abb1b1 )
2019-10-29 17:08:11 -03:00
a3603b9098
Remove SignatureBouncer contract
...
(cherry picked from commit c876254457 )
2019-10-29 17:07:58 -03:00
7d1c5eb71b
Improve IRelayRecipient no-impl note
...
(cherry picked from commit e855ca450a )
2019-10-29 17:07:21 -03:00
dba4d5023d
Merge GSNContext into GSNRecipient ( #1906 )
...
* Merge GSNContext into GSNRecipient
* Update GSNRecipient.test.js
* Update GSNRecipient.sol
* Make GSNRecipient inherit from Context
(cherry picked from commit 1efa9f6281 )
2019-10-29 17:07:06 -03:00
5f1d8e19da
Improve GSN documentation ( #1900 )
...
* Improve IRelayRecipient docs
* Fix link
* Update IRelayHub docs to the docsite format
* Update IRelayRecipient docs to the dociste format
* Fix typo
* Improve GSN readme
* Fix link
* Update GSNRecipient docs
* Apply suggestions from code review
Co-Authored-By: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com >
* Apply suggestions from code review
Co-Authored-By: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com >
* Apply suggestions from code review
Co-Authored-By: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com >
(cherry picked from commit d864228624 )
2019-10-29 17:06:59 -03:00
89a90fda4c
fix strikethrough style in docs
...
(cherry picked from commit 5274b3d84c )
2019-10-29 17:06:50 -03:00
a71047952d
Replace confirmRelayedCall with approveRelayedCall ( #1904 )
...
* Replace confirmRelayedCall with approveRelayedCall
* Update gsn-bouncers.adoc
* Update deprecated enums
(cherry picked from commit 9c733a7bf8 )
2019-10-29 17:06:40 -03:00
23dc15898f
Bump required compiler version for Address ( #1898 )
...
(cherry picked from commit 4e527a20a5 )
2019-10-29 17:06:21 -03:00
bd51db5bf0
Syncing naming of value and amount. ( #1895 )
...
(cherry picked from commit 5d183d0efe )
2019-10-29 17:06:06 -03:00
25b82b0db8
Update Context.sol ( #1892 )
...
Fix typos in instructions
(cherry picked from commit 2836b066c9 )
2019-10-29 17:05:37 -03:00
a0e74cd756
Fix links to bouncers guide
...
(cherry picked from commit d8a25d17aa )
2019-10-29 17:05:25 -03:00
99dca07f5f
Fix link to basic guide
...
(cherry picked from commit 5ec7204948 )
2019-10-29 17:05:12 -03:00
00947dee3d
fix link
...
(cherry picked from commit 1e42749847 )
2019-10-29 17:05:00 -03:00
2d30415373
move changelog entry to new features section
2019-10-29 16:58:39 -03:00
9113335cb3
added feature availability info to documentation
2019-10-29 16:58:17 -03:00
76a1d7a3cd
make PullPayment.withdrawPaymentsWithGas external
2019-10-29 16:40:18 -03:00
d6e10ab786
Forward all gas on PullPayment withdrawal ( #1976 )
...
* Add withdrawWithGas
* Improve docs
* Add changelog entry
* Update contracts/payment/PullPayment.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* Remove repeated comment
* Update changelog entry
* Fix inline docs
* Fix changelog formatting
2019-10-28 20:06:02 -03:00
eaee98f227
fix script for preparing contracts package
2019-10-28 19:31:21 -03:00
4757f1c1c9
Bump @openzeppelin/gsn-helpers from 0.2.0 to 0.2.1 ( #1974 )
...
Bumps [@openzeppelin/gsn-helpers](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers/releases )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 17:17:20 -03:00
c58d5cdfed
Bump @openzeppelin/gsn-provider from 0.1.8 to 0.1.9 ( #1973 )
...
Bumps [@openzeppelin/gsn-provider](https://github.com/OpenZeppelin/openzeppelin-gsn-provider ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-gsn-provider/releases )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-gsn-provider/commits/v0.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 15:05:25 -03:00
5c8fa0f0cf
Update access-control.adoc ( #1968 )
...
Fixed:
-DetailedERC20 in the constructor
-minters should be _minters
-New example instead of rename function
2019-10-28 13:35:26 -03:00
fcd77a4a37
Fixes dead link in Readme. ( #1969 )
2019-10-28 13:22:01 -03:00
5702a84429
fix pr reference number for Address.sendValue
2019-10-28 13:20:17 -03:00
91992eed0a
Bump truffle from 5.0.41 to 5.0.42 ( #1971 )
...
Bumps [truffle](https://github.com/trufflesuite/truffle ) from 5.0.41 to 5.0.42.
- [Release notes](https://github.com/trufflesuite/truffle/releases )
- [Commits](https://github.com/trufflesuite/truffle/compare/truffle@5.0.41...truffle@5.0.42 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 13:12:09 -03:00
f6f918c64c
Bump eslint-config-standard from 11.0.0 to 14.1.0 ( #1975 )
...
Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard ) from 11.0.0 to 14.1.0.
- [Release notes](https://github.com/standard/eslint-config-standard/releases )
- [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/standard/eslint-config-standard/compare/v11.0.0...v14.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 11:47:36 -03:00
8d166f3e35
Transfer replacement ( #1962 )
...
* Add Address.sendEther
* Add documentation to sendEther
* Add changelog entry
* Rename sendEther to sendValue
2019-10-25 15:53:16 -03:00
aae95db4e0
GSN renaming ( #1963 )
...
* Merge GSNBouncerBase into GSNRecipient
* Remove emtpy implementations for _pre and _post
* Rename bouncers to recipients
* Rename bouncers documentation to strategies
* Rewrite guides and docstrings to use the strategy naming scheme
* Address review comments
* Apply suggestions from code review
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* change wording of docs
2019-10-25 13:36:56 -03:00
9e19d90cd9
Improve PullPayment docs ( #1965 )
...
* Improve PullPayment docs
* Reword escrow note
* Update contracts/payment/PullPayment.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
2019-10-24 19:04:50 -03:00
53f1b11668
Remove SignatureBouncer from draft docs ( #1964 )
2019-10-24 17:42:06 -03:00
3e1519ac1e
Delete unused function ( #1961 )
2019-10-22 19:39:20 -03:00
2c11ed59fa
Safe Casting Library from uint256 to uintXX ( #1926 )
...
* Include Safe Casting Library with complete and exhaustive test-suite.
* linting test file.
* Typo in SafeCast import statement
* Update test/utils/SafeCast.test.js
* Rename `castUXX` to `toUintXX` from suggestion
* Tackling the quick and easy suggestions regarding error string improvements etc.
* typo and changelog update.
* Improve SafeCast tests
* Update test/utils/SafeCast.test.js
* Update test/utils/SafeCast.test.js
* incorrect import
* add SafeCast to docs site
* Update CHANGELOG.md
* Update SafeCast.sol
2019-10-22 13:59:11 -03:00
bfca6bd379
Bump eslint-plugin-node from 8.0.1 to 10.0.0 ( #1958 )
...
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node ) from 8.0.1 to 10.0.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases )
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.1...v10.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 14:59:36 -03:00
85a081ff36
Bump eslint-plugin-standard from 3.1.0 to 4.0.1 ( #1957 )
...
Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard ) from 3.1.0 to 4.0.1.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases )
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v3.1.0...v4.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 14:54:32 -03:00
566519fd6b
Bump nodemon from 1.19.3 to 1.19.4 ( #1959 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.19.3 to 1.19.4.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.19.3...v1.19.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 14:37:40 -03:00
8077ae890e
Bump @openzeppelin/test-helpers from 0.5.1 to 0.5.3 ( #1960 )
...
Bumps [@openzeppelin/test-helpers](https://github.com/OpenZeppelin/openzeppelin-test-helpers ) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-test-helpers/releases )
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-test-helpers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-test-helpers/compare/v0.5.1...v0.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 14:29:01 -03:00
13b85c6848
change 'visibility' class to 'item-kind' in docs template
2019-10-18 14:57:15 -03:00
eda29e06b2
add indicators for events and modifiers ( #1954 )
2019-10-17 21:01:29 -03:00
5d6a040fc3
Design tweaks to documentation template ( #1937 )
...
* switch index to show arg names
* add index separators
* add classes to style variable type and name
* add class for inherited part of index
* use inheritedItems in contracts template
* refactor template to use explicit if and each
2019-10-17 18:42:31 -03:00
e557a54ce7
update solidity-docgen
2019-10-17 18:24:32 -03:00
b62c677420
Update truffle ( #1953 )
2019-10-17 17:22:42 -03:00