Gerardo Nardelli
a747842c95
Add validators amount limit ( #239 )
2019-07-16 23:25:35 +03:00
Gerardo Nardelli
786be68cd6
Improve revert pattern ( #235 )
2019-07-16 12:53:18 +03:00
Gerardo Nardelli
87d50dfc6f
Support zero fallback gas price in erc-to-erc mode ( #234 )
2019-07-16 12:50:33 +03:00
Gerardo Nardelli
df1fa67513
Fix missing required block confirmation check in ForeignBridgeNativeToErc ( #229 )
2019-07-12 18:49:41 +03:00
Gerardo Nardelli
155f2e4def
Improve contracts names ( #226 )
...
* Rename POSDAOHomeBridgeErcToErc
* Rename OwnedUpgradeability
* Rename IOwnedUpgradeabilityProxy
* Update flatten script
2019-07-05 17:35:18 +03:00
Gerardo Nardelli
85d5c22536
Remove address mask in parseMessage ( #227 )
2019-07-04 22:51:53 +03:00
Gerardo Nardelli
4ae49f1cba
Remove duplicated checks of contracts ( #225 )
2019-07-03 19:19:01 +03:00
Gerardo Nardelli
b65ae7572e
Remove redundant fallback method on HomeBridgeErcToErc ( #224 )
2019-07-03 18:16:30 +03:00
Gerardo Nardelli
27458bfc90
Remove duplicated logic on top of withinExecutionLimit ( #223 )
...
* Replace affirmationWithinLimits with withinExecutionLimit on BasicHomeBridge
* Replace messageWithinLimits with withinExecutionLimit on BasicForeignBridge
2019-07-03 18:14:06 +03:00
Gerardo Nardelli
90a7a80112
Use OpenZeppelin SafeMath ( #222 )
...
* Fix openzeppelin-solidity version
* Remove own SafeMath library in favor of openzeppelin
2019-07-03 14:10:21 +03:00
Gerardo Nardelli
cc47af2a79
Remove returns from internal initialize method on HomeBridgeErcToErc ( #221 )
2019-07-02 19:06:34 +03:00
Gerardo Nardelli
3881e14db8
Update ERC677BridgeToken transferFrom to call contractFallback ( #220 )
...
* Update ERC677BridgeToken transferFrom to call contractFallback
2019-07-02 16:59:01 +03:00
Gerardo Nardelli
79f8277347
Add claimTokensFromErc677 on erc20-to-erc20 contracts ( #219 )
...
* Fix claimTokensFromErc677 unit test
* Add claimTokensFromErc677 on HomeBridgeErcToErc
2019-07-01 22:41:23 +03:00
Gerardo Nardelli
5a92a57c8f
fix fixAssetsAboveLimits imbalance if feeManager used ( #218 )
2019-07-01 20:26:25 +03:00
Gerardo Nardelli
6166d237a1
Add unit test for incorrect length of signatures arrays ( #204 )
...
* Add unit test for signatures length
2019-06-29 13:38:10 +03:00
Gerardo Nardelli
e32ef6e1f2
Fix claimTokens to support all token transfers ( #213 )
...
* Add contract `Claimable` to contain functionality related ability to claim tokens
* The new contract is used in the bridge contracts and the erc677 token implementation
* Fix claimTokens to support all token transfers
2019-06-28 19:00:10 +03:00
Gerardo Nardelli
5e845af7c9
Add fee value check ( #209 )
...
* Add fee value check
2019-06-28 16:36:37 +03:00
Gerardo Nardelli
c28770b1f6
Refactoring as per comments received on the security audit ( #203 )
...
* Remove duplicate modifier on claimTokens method
* Fix multiple reads of totalBurntCoins
* Remove parameter on setInitialize
* Remove status parameter on setFixedAssets
* Remove unused fireEventOnTokenTransfer on HomeBridgeErcToNative
* Redefine empty block methods on BasicHomeBridge
* Simplify signature method on BasicHomeBridge
* Add abi.encodePacked to deployedAtBlock on validators contracts
* Extract fallback implementation into separate method on HomeBridgeErcToNative and HomeBridgeNativeToErc
2019-06-28 16:22:05 +03:00
Gerardo Nardelli
a1f64ca6c5
Remove proxyOwner method from proxy contract ( #198 )
...
* Remove proxyOwner method from proxy
* Rename onlyProxyOwner
* Remove upgradeabilityAdmin
* Rename onlyIfOwnerOfProxy to onlyIfUpgradeabilityOwner
2019-06-27 23:44:09 +03:00
Gerardo Nardelli
eb75d2d674
Ignore contract interfaces on test coverage report ( #200 )
...
* Move interfaces to separate folder
* Ignore interfaces folder on coverage report
2019-06-27 22:41:45 +03:00
Gerardo Nardelli
942e6c4513
Update setBlockRewardContract method validations ( #197 )
...
* Update setBlockReward checks
2019-06-19 18:41:03 +03:00
Gerardo Nardelli
964d104958
Apply contract changes from `develop-for-classic`
2019-05-08 09:09:10 -03:00
Gerardo Nardelli
fb6b0d7821
Fix merge
2019-05-03 14:04:23 -03:00
Gerardo Nardelli
786529ae9b
Merge branch 'develop' into 119-Epic-rewards-for-bridge-validators
...
# Conflicts:
# contracts/upgradeable_contracts/BasicHomeBridge.sol
# contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol
# contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErc.sol
# contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol
# deploy/.env.example
# deploy/src/erc_to_erc/foreign.js
# deploy/src/loadEnv.js
2019-05-03 13:13:17 -03:00
varasev
d51914ddfe
Update ERC677BridgeTokenRewardable.sol
...
Now the `mintReward` function ignores zero amount.
2019-05-03 10:34:56 +03:00
Alexander Kolotov
d0ad22eb3e
more common ERC677 type is used in ERC677Bridge
2019-05-02 20:47:40 +03:00
Gerardo Nardelli
5d54ffb20b
Refactor ForeignBridgeErc677ToErc677
2019-04-30 13:36:13 -03:00
Gerardo Nardelli
df9cd288bf
Add ForeignBridgeExtendedErcToErc
2019-04-29 15:48:28 -03:00
Gerardo Nardelli
91eeb64bd7
Merge branch '119-Epic-rewards-for-bridge-validators' into #159-fee-erc-native-posdao-chain
...
# Conflicts:
# deploy/.env.example
# deploy/src/erc_to_native/home.js
# deploy/src/loadEnv.js
2019-04-23 14:26:03 -03:00
Gerardo Nardelli
3f3457c278
Update FeeManagerNativeToErcBothDirections to extend ValidatorsFeeManager
2019-04-22 16:25:36 -03:00
Gerardo Nardelli
e3d7fb9896
Merge fix
2019-04-22 15:43:21 -03:00
Gerardo Nardelli
3ba8ea1d22
Merge branch '119-Epic-rewards-for-bridge-validators' into #138-fee-manager-POA-bridge
...
# Conflicts:
# contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol
# contracts/upgradeable_contracts/native_to_erc20/HomeBridgeNativeToErc.sol
2019-04-22 15:40:51 -03:00
Gerardo Nardelli
04069bbb7e
Update FeeManagerErcToNativePOSDAO to extend BlockRewardFeeManager
2019-04-22 13:49:17 -03:00
Gerardo Nardelli
1f57b24ef8
Merge branch '119-Epic-rewards-for-bridge-validators' into #159-fee-erc-native-posdao-chain
...
# Conflicts:
# contracts/IBlockReward.sol
# contracts/test/BlockReward.sol
# deploy/.env.example
2019-04-22 12:58:34 -03:00
Gerardo Nardelli
f7cb8d253e
Update getAmountToBurn method signature
2019-04-22 11:55:11 -03:00
Gerardo Nardelli
6b25ffb90c
Update fee events logic on HomeBridgeErcToErc
2019-04-22 11:09:54 -03:00
Gerardo Nardelli
3592024219
Merge branch '119-Epic-rewards-for-bridge-validators' into 160-fee-erc-erc-posdao-chain
2019-04-22 10:49:18 -03:00
Gerardo Nardelli
e605559f17
Add getAmountToBurn on erc-to-native fee manager
2019-04-18 12:44:18 -03:00
Alexander Kolotov
fd5086bb33
Fee distribution events moved to the RewardableBridge contract
2019-04-18 16:47:50 +03:00
Gerardo Nardelli
8ab76b9044
Add POSDAOHomeBridgeErcToErc
2019-04-17 11:22:33 -03:00
Alexander Kolotov
ffdd595747
Merge pull request #169 from poanetwork/update-rewardable-validator
...
Update RewardableValidators to be compatible with BridgeValidators
2019-04-16 23:41:24 +03:00
Gerardo Nardelli
63fbd12a65
Move ValidatorsFeeManager constants
2019-04-16 17:28:26 -03:00
Gerardo Nardelli
95f236205b
Fix _initialize on HomeBridgeErcToErc
2019-04-16 17:09:09 -03:00
Gerardo Nardelli
cf81b767ba
Refactor BaseFeeManager
2019-04-16 17:05:06 -03:00
Gerardo Nardelli
16be3f8229
Add event on fee distribution
2019-04-16 16:13:21 -03:00
Gerardo Nardelli
2bc4bd7d18
Merge branch '119-Epic-rewards-for-bridge-validators' into 160-fee-erc-erc-posdao-chain
...
# Conflicts:
# contracts/upgradeable_contracts/erc20_to_erc20/HomeBridgeErcToErc.sol
2019-04-16 15:14:24 -03:00
Gerardo Nardelli
9be3f38bdf
Move validator events to BaseBridgeValidators
2019-04-16 11:44:39 -03:00
Alexander Kolotov
8f551d1931
Merge pull request #171 from poanetwork/add-transfer-fee-events
...
Emit event on fee distribution from transfer
2019-04-16 09:54:24 +03:00
Gerardo Nardelli
4c8e664226
Emit event on fee distribution from transfer
2019-04-15 13:51:34 -03:00
Gerardo Nardelli
7581f1241a
Increase validator interface version
2019-04-15 09:10:40 -03:00
Gerardo Nardelli
d2f6b0ac3a
Update addValidator method and ValidatorAdded event
2019-04-12 14:11:42 -03:00
Gerardo Nardelli
745eeb0493
Add validatorList on BaseBridgeValidators
2019-04-11 12:10:23 -03:00
Gerardo Nardelli
4def1fdff7
Merge branch '119-Epic-rewards-for-bridge-validators' into 160-fee-erc-erc-posdao-chain
...
# Conflicts:
# deploy/src/erc_to_erc/home.js
# package-lock.json
# package.json
2019-04-03 11:56:17 -03:00
Gerardo Nardelli
905bac8cea
call onExecuteAffirmation if non zero value
2019-04-01 12:28:32 -03:00
Gerardo Nardelli
595315d6af
Avoid calling blockReward if zero value from foreign transfer on erc-to-native
2019-04-01 11:48:51 -03:00
Gerardo Nardelli
04ab82f62a
Add fee manager erc-to-erc
2019-03-26 17:03:53 -03:00
Gerardo Nardelli
b117b21728
Merge branch 'develop' into 119-Epic-rewards-for-bridge-validators
...
# Conflicts:
# deploy/.env.example
# deploy/src/loadEnv.js
# deploy/src/native_to_erc/foreign.js
2019-03-22 10:59:00 -03:00
Gerardo Nardelli
d2bdf62296
Add fee manager for erc-to-native in posdao chain
2019-03-15 16:06:49 -03:00
Vadim
4d50918a29
Rename ValidatorSet contract to Staking contract
2019-03-05 08:43:21 +03:00
Gerardo Nardelli
e414d6640a
Remove onRequestForSignature and onSignaturesCollected from FeeManager
2019-02-25 12:36:22 -03:00
Gerardo Nardelli
e245268d15
Add both-directions fee manager for native-to-erc
2019-02-19 16:24:40 -03:00
Vadim
27db88f489
Override `transfer` and `transferFrom` in `ERC677BridgeTokenRewardable`
...
To deny transfer tokens to ValidatorSet contract directly.
2019-02-11 10:39:34 +03:00
Gerardo Nardelli
5a69e97ffa
Fix rewardableInitialize methods
2019-02-04 15:33:05 -03:00
Gerardo Nardelli
78d6c3b632
Refactor RewardableBridge
2019-02-04 15:07:49 -03:00
Gerardo Nardelli
e1787e6309
Refactor fee into homeFee and foreignFee
2019-02-01 17:06:19 -03:00
Gerardo Nardelli
a90babf2de
Add getFeeManagerMode method
2019-02-01 10:08:48 -03:00
Gerardo Nardelli
8d995fb72b
Fix rewardableInitialize on NativeToErc contracts
2019-01-23 10:52:36 -03:00
Gerardo Nardelli
164c8e662f
Add Native-to-Erc fee manager
2019-01-23 10:25:15 -03:00
Gerardo Nardelli
0576f184e2
Add internal setFee method on RewardableBridge
2019-01-22 11:10:28 -03:00
Gerardo Nardelli
182a483436
Add rewardableInitialize on HomeBridgeErcToNative
2019-01-15 16:52:48 -03:00
Gerardo Nardelli
71870e0076
Add random fee distribution on remaining fee difference
2019-01-14 12:16:32 -03:00
Gerardo Nardelli
4b8f53a014
Refactor BaseFeeManager fee direction
2019-01-14 10:19:03 -03:00
Gerardo Nardelli
ee666a15f3
Update setFee modifier to onlyOwner
2019-01-14 09:42:19 -03:00
Gerardo Nardelli
6b9ce95bcc
Update getFee to use callcode
2019-01-14 09:34:09 -03:00
Gerardo Nardelli
98dfc8becf
Replace delegatecall with callcode on calculateFee
2019-01-11 12:31:24 -03:00
Gerardo Nardelli
51708637ac
Update send usage on onSignatureFeeDistribution
2019-01-11 11:46:25 -03:00
Gerardo Nardelli
faf9712db2
move reward logic to RewardableBridge
2019-01-11 11:27:36 -03:00
Gerardo Nardelli
1993efcf4c
Add onSignaturesCollected
2019-01-11 10:43:52 -03:00
Gerardo Nardelli
8876e15fff
Refactor getFee
2019-01-11 10:19:22 -03:00
Gerardo Nardelli
e752e94ec1
Fix fee related methods
2019-01-10 15:59:24 -03:00
Gerardo Nardelli
9ee9ce4a61
Fixes after merge
2019-01-10 09:37:36 -03:00
Gerardo Nardelli
6deecdafac
Merge branch '119-Epic-rewards-for-bridge-validators' into 122-create-feemanager-basic-contract-and-its-interface
...
# Conflicts:
# contracts/upgradeable_contracts/BasicHomeBridge.sol
# test/erc_to_native/home_bridge.test.js
2019-01-10 09:06:35 -03:00
Gerardo Nardelli
c48b650e29
Merge branch 'develop' into 119-Epic-rewards-for-bridge-validators
2019-01-10 09:01:38 -03:00
Gerardo Nardelli
fbf81a83b9
Fixes on Fee related methods
2019-01-10 08:44:40 -03:00
Gerardo Nardelli
8eb4809735
Remove unused import
2019-01-09 09:31:36 -03:00
Gerardo Nardelli
97d3759dc5
Remove unused files
2019-01-09 09:23:35 -03:00
Gerardo Nardelli
9bbaf56aa5
Fix rewardableValidatorContract method on BaseFeeManager
2019-01-09 09:11:23 -03:00
Gerardo Nardelli
515f23ac74
Update delegateCall usage on calculateFee method
2019-01-09 08:56:30 -03:00
Gerardo Nardelli
9a349739fb
Fix onExecuteAffirmation
2019-01-09 08:56:30 -03:00
Gerardo Nardelli
5991ef31eb
Update fee contract implementation
2019-01-09 08:56:30 -03:00
fernandomg
ceb8478528
Implement Fee Distribution for ERC20 to Native mode
2019-01-09 08:56:30 -03:00
fernandomg
e008b244fa
Create FeeManager related contracts
2019-01-09 08:56:30 -03:00
Gerardo Nardelli
5bf54405c9
Add zero address check for getNextValidator
2019-01-09 08:38:08 -03:00
Gerardo Nardelli
a3b947a507
Remove onlyOwner modifier on BaseBridgeValidators methods
2019-01-09 08:17:55 -03:00
Gerardo Nardelli
fa36918944
Move validatorList method to RewardableValidators
2019-01-08 17:24:08 -03:00
Gerardo Nardelli
212d796412
Add zero address check on getNextValidator usage
2019-01-08 14:36:52 -03:00
Gerardo Nardelli
6912fdcad9
Rename setValidator to setNextValidator
2019-01-08 14:08:31 -03:00
Gerardo Nardelli
b743602564
Refactor addValidator and RemoveValidator methods
2019-01-08 13:59:16 -03:00
Gerardo Nardelli
1d7456cf77
Add end of list check on removeValidator
2019-01-08 12:25:20 -03:00
Gerardo Nardelli
5c553e06eb
Update ValidatorAdded event on RewardableValidators
2019-01-07 15:42:38 -03:00
Gerardo Nardelli
4e9db7b626
Refactor BridgeValidators
2019-01-07 15:25:26 -03:00
Gerardo Nardelli
349bbbb355
Update BridgeValidators version
2019-01-07 11:03:49 -03:00
Vadim Arasev
40b4f89ad4
Merge branch 'master' into update-ERC677BridgeToken
2019-01-04 10:03:19 +03:00
Gerardo Nardelli
76d45e2861
Add validatorList method
2019-01-03 13:07:21 -03:00
Vadim Arasev
45a094f5dd
Extend poa20 tests
2018-12-28 16:37:20 +03:00
fernandomg
e25f0ffc2e
Extend BridgeValidators interface and make F_ADDR public
2018-12-27 15:12:42 -03:00
fernandomg
9d219727c6
Fix/Add `require`s for `validator` and `reward` addresses
2018-12-27 15:11:05 -03:00
fernandomg
058335f54c
Add `_reward` param to `addValidator` method
2018-12-27 15:09:23 -03:00
fernandomg
94947ebc3d
Update BridgeValidator to support linked-list
...
- Store validators as a linked-list
- Store reward address as a map [validator] -> rewardAddr
2018-12-26 17:19:14 -03:00
Vadim Arasev
60644ade3f
Add `ERC677BridgeTokenRewardable` contract
2018-12-26 18:10:58 +03:00
Vadim Arasev
87b7a780eb
Add `mintReward()`, `stake()`, `withdraw()` into ERC677BridgeToken
2018-12-26 14:34:57 +03:00
Gerardo Nardelli
06a9dcfe83
Add execution limits to NATIVE-TO-ERC20 mode
2018-12-21 10:28:11 -03:00
Gerardo Nardelli
8bf7c1ae73
Add OverdrawManagement to ERC20-TO-ERC20 contracts
2018-12-20 15:58:24 -03:00
Gerardo Nardelli
8ea03335e3
Fix incorrect storage reference on setExecutionMaxPerTx
2018-12-17 09:03:49 -03:00
Gerardo Nardelli
b25c25ccae
Update onlyProxyOwner modifier to onlyIfOwnerOfProxy
2018-12-14 11:44:02 -03:00
Gerardo Nardelli
ac0e671aeb
Refactor onlyProxyOwner modifier
2018-12-14 10:46:09 -03:00
Gerardo Nardelli
adb81cf1ca
Update claimTokens methods modifier to onlyProxyOwner
2018-12-11 11:17:43 -03:00
Gerardo Nardelli
6c7320de64
Remove Validatable from OverdrawManagement
2018-12-11 10:58:18 -03:00
Gerardo Nardelli
abbde316d0
Update owner roles on bridge contracts
2018-12-10 16:22:57 -03:00
Gerardo Nardelli
60695559b1
Fix OverdrawManagement inheritance
2018-12-10 11:10:41 -03:00
Gerardo Nardelli
4612b7ba86
Update contract version
2018-12-04 14:24:43 -03:00
Gerardo Nardelli
e4a3cf4d9d
Update fixAssetsAboveLimits modifier to onlyProxyOwner
2018-12-04 11:31:44 -03:00
Gerardo Nardelli
ab07c560c4
Fix on onFailedAffirmation method
2018-12-04 09:39:09 -03:00
Gerardo Nardelli
6ad631b02d
Refactor storage of out of limit values
2018-12-04 09:34:52 -03:00
Gerardo Nardelli
b7991b7495
Refactor overdraw management
2018-12-03 17:09:57 -03:00
Gerardo Nardelli
12d0422ca0
Add check on ErcToNative onFailedAffirmation method
2018-12-03 16:47:41 -03:00
Gerardo Nardelli
414e437b60
Fix compile warnings
2018-11-28 14:57:38 -03:00
Gerardo Nardelli
7c07cde46d
Refactor execution limits names
2018-11-28 14:42:33 -03:00
Gerardo Nardelli
aa2470a208
Add fixAssetsAboveLimits method
2018-11-28 14:30:32 -03:00
Gerardo Nardelli
42a87e631c
Add total executed per day
2018-11-26 15:43:22 -03:00
Gerardo Nardelli
5bd6f5d58e
Add opposite side limits WIP
2018-11-23 16:37:39 -03:00
Gerardo Nardelli
629044e9b5
Check token address is contract
2018-10-24 15:12:29 -03:00
Gerardo Nardelli
49997cf481
Check validatorContract is contract on initialize
2018-10-24 14:02:54 -03:00
Alexander Kolotov
0c2fe216b0
Merge pull request #101 from akolotov/flattening-for-erc-to-native
...
Flattening for erc20-to-native contracts
2018-10-23 16:53:03 +03:00
Alexander Kolotov
8605f8949f
README with a note to update the flattening script added
2018-10-20 09:50:00 +03:00
Gerardo Nardelli
2465bc82f8
Merge branch 'develop' into fix-interface-version-#92
...
# Conflicts:
# contracts/ERC677BridgeToken.sol
# contracts/upgradeable_contracts/BasicBridge.sol
2018-10-19 12:20:17 -03:00
Gerardo Nardelli
e4888ff3d9
Fix interface version methods
2018-10-19 10:49:14 -03:00
Alexander Kolotov
9c20897c8b
Merge pull request #91 from poanetwork/gasPrice-foreign-erc-erc-#86
...
Add gas price on initialization of Foreign erc-to-erc mode
2018-10-17 18:19:47 +03:00
Gerardo Nardelli
339bd4ab04
Add bridgesAllowedLength method check on setBlockRewardContract
2018-10-12 10:56:13 -03:00
Gerardo Nardelli
00b4976937
Revert "Add check for bridge address on setBlockRewardContract"
...
This reverts commit ad9ac7c
2018-10-12 10:29:00 -03:00
Gerardo Nardelli
ad9ac7c7a4
Add check for bridge address on setBlockRewardContract
2018-10-11 16:24:16 -03:00
Gerardo Nardelli
6d4c9939e8
Remove mintedTotallyByBridge check on HomeBridgeErcToNative
2018-10-11 14:31:21 -03:00
Gerardo Nardelli
a4beb53348
Remove revert reason ForeignBridgeErcToNative
2018-10-08 17:20:03 -03:00
Gerardo Nardelli
205a7c3d12
Remove revert reason ForeignBridgeErcToErc
2018-10-08 17:19:44 -03:00
Gerardo Nardelli
8b9858cd9b
Check amount of token available on fallback HomeBridgeErcToNative
2018-10-08 16:05:53 -03:00
Gerardo Nardelli
38565d2050
Add gas price on initialize foreign erc-to-erc
2018-10-03 14:08:51 -03:00
Gerardo Nardelli
7cf71cb1b3
Merge pull request #90 from poanetwork/fix-transfer-lock-#89
...
Fix ERC677BridgeToken Transfer lock
2018-10-01 11:25:17 -03:00
Franco Victorio
decc4fc839
Allow initializing bridge without block reward contract
2018-10-01 09:57:28 -03:00
Gerardo Nardelli
ae48ece332
Add ContractFallbackCallFailed event
2018-09-28 12:45:49 -03:00
Franco Victorio
2b7f2b855a
Remove gas price validation in home erc-to-native contract
2018-09-28 11:30:56 -03:00
Gerardo Nardelli
7b629ea7a3
Add bridge contract checks on ERC677BridgeToken
2018-09-28 10:28:33 -03:00
Gerardo Nardelli
45db0ff5ae
Revert token transfer if bridge method call fails
2018-09-27 17:22:30 -03:00
Gerardo Nardelli
ac473ca5dc
Add bridge contract reference on ERC677BridgeToken
2018-09-27 16:39:06 -03:00
Gerardo Nardelli
750d2e2b9f
Update mintedTotally method name on block reward contract
2018-09-25 15:50:58 -03:00
Gerardo Nardelli
353a429831
Add totalMintedCoins method on BlockReward contract
2018-09-25 14:59:11 -03:00
Franco Victorio
817d1c73c9
Add totalMintedCoins to IBlockReward
2018-09-25 13:06:45 -03:00
Gerardo Nardelli
2a5a199152
Add gasPrice on initialize foreign erc-to-native
2018-09-24 10:23:05 -03:00
Gerardo Nardelli
fdf9d39abd
Update BasicBridge version to 2.1.0
2018-09-24 09:09:53 -03:00
Gerardo Nardelli
c36af23bf2
Fix setBlockRewardContract method
2018-09-21 16:33:33 -03:00
Gerardo Nardelli
2c7db37a6d
Add erc20-to-native bridge mode method
2018-09-20 16:17:55 -03:00
Gerardo Nardelli
845dd82172
Add erc20-to-native contracts
2018-09-20 16:17:12 -03:00
Gerardo Nardelli
04a0e2a5dc
Add BlockReward test contract
2018-09-20 16:16:59 -03:00
Gerardo Nardelli
2cc71aa4b4
Update contract versions
2018-09-18 10:47:33 -03:00
Gerardo Nardelli
efd3796134
Rename Token version variable
2018-09-18 10:36:06 -03:00
Gerardo Nardelli
75af893dc8
Rename BridgeValidators version variable
2018-09-18 10:32:25 -03:00
Gerardo Nardelli
0e8f8b3f08
Remove unused var
2018-09-18 10:28:21 -03:00
Gerardo Nardelli
4bb8e9df21
Fix variable name on validators and token contract
2018-09-17 16:34:25 -03:00
Gerardo Nardelli
bfec92ae12
Remove bridge mode field from eternalStorage
2018-09-17 16:22:34 -03:00
Gerardo Nardelli
af7cc8dcbb
Add version field on bridge, validators and token contracts
2018-09-17 15:33:16 -03:00
Gerardo Nardelli
2c22760538
Add bridge mode field
2018-09-14 15:58:57 -03:00
Roman Storm
5d91e0f55f
1.Add requireBlockConfirmations to initialize ForeingBridgeErcToErc
...
2. Pass BRIDGEABLE_TOKEN_NAME, Symbol, Decimals as env vars to Native to erc mode
3. Update docs
4. Update tests
2018-08-20 22:47:27 -07:00
Franco Victorio
3edf7837a7
Add requiredMessageLength method to BasicHomeBridge contract
2018-08-16 15:03:55 -03:00
Roman Storm
57d16f2b81
Merge pull request #57 from rstormsf/double_spending
...
Double spending fix
2018-08-03 11:53:47 -07:00
Roman Storm
b74003c96e
add additional check for contract address
2018-07-31 16:01:42 -07:00
Roman Storm
1e237e16d4
Merge pull request #51 from rstormsf/patch234
...
Prevent an attack to send cross chain transfer using contract without payable fallback
2018-07-26 14:04:07 -07:00
Gerardo Nardelli
2c0e9dd2c2
Update BridgeValidators contract
2018-07-26 14:34:47 -03:00
Roman Storm
57dfe2285f
Double spending fix
2018-07-23 19:58:08 -07:00
Roman Storm
bb1611b468
remove code dublication
2018-07-11 13:12:48 -07:00
Roman Storm
0c01b48f46
audit request
2018-07-09 21:19:45 -07:00
Roman Storm
3e7560d08e
add feature on token transfer invoke contractFallback silently
2018-07-06 16:50:27 -07:00
Roman Storm
aeb2e1dd7e
Audit enhacements
2018-07-02 18:45:58 -07:00
Roman Storm
078014e499
Add more abstraction for ERC677Bridge
2018-06-18 21:05:47 -07:00
Roman Storm
1da503d7f0
fix npm run test build
2018-06-11 22:59:51 -07:00
Roman Storm
e9a4c8ec05
rename POA20
2018-06-11 22:36:29 -07:00
Roman Storm
0da0ade2fd
finish refactoring
2018-06-11 20:33:16 -07:00
Roman Storm
7d9065124f
refactor foreign bridge
2018-06-11 19:56:01 -07:00
Roman Storm
f34620e8ae
WIP: refactor v1
2018-06-11 18:56:07 -07:00
Roman Storm
362e9860c6
clean up
2018-05-21 20:14:51 -07:00
Roman Storm
91f501563d
Merge branch 'v2' of github.com:poanetwork/poa-parity-bridge-contracts into v2
2018-05-21 20:13:44 -07:00
Alexander Kolotov
87f6d54f87
changes applied under PR #40 propagated to submitSignature method
2018-05-21 16:57:46 +03:00
Alexander Kolotov
ed3db608cd
provide number of required signatures in CollectedSignatures event
...
CollectedSignatures event extended to provide number of signatures used to confirm a particular deposit transaction as so the bridge instance could use this number to fetch the corresponding number of signatures from the contract
2018-05-21 16:50:40 +03:00
Roman Storm
9de3aa03ab
Fixed #39 .
2018-05-19 21:09:51 -07:00
Roman Storm
6ba32e2866
hide requiredSignatures
2018-05-18 17:05:14 -07:00
Roman Storm
c7b3b1fe3e
shorten message length
2018-05-17 09:58:35 -07:00
Roman Storm
a49b1bd74c
make tests happy
2018-05-16 20:12:16 -07:00
Roman Storm
4cd20a7756
add some changes
2018-05-10 18:19:01 -04:00
Roman Storm
188357798c
dirty reverse bridge for v2
2018-05-10 16:53:19 -04:00
Roman Storm
4698f7c67c
remove unused return var
2018-05-08 11:05:37 -04:00
Roman Storm
564fdd9d85
0.4.23 bump and deployment logging optimization
2018-05-07 00:31:16 -07:00
Roman Storm
ff5b49753b
Merge branch 'proxy'
2018-05-06 11:38:26 -07:00