├── .example.env ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── contracts ├── Migrations.sol ├── Staking.sol └── test │ └── LocalFXCToken.sol ├── migrations ├── 1564352876_flexa_staking_wallet.js └── 1_initial_migration.js ├── package.json ├── solhint.json ├── test ├── staking-addWithdrawalRoot.js ├── staking-assumeOwnership.js ├── staking-authorizeOwnershipTransfer.js ├── staking-deposit.js ├── staking-modifyImmediatelyWithdrawableLimit.js ├── staking-refundPendingDeposit.js ├── staking-removeWithdrawalRoots.js ├── staking-renounceWithdrawalAuthorization.js ├── staking-resetFallbackMechanismDate.js ├── staking-setFallbackRoot.js ├── staking-setters.js ├── staking-withdraw.js ├── staking-withdrawFallback.js └── utils.js └── truffle-config.js /.example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/.example.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 100 3 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/Staking.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/contracts/Staking.sol -------------------------------------------------------------------------------- /contracts/test/LocalFXCToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/contracts/test/LocalFXCToken.sol -------------------------------------------------------------------------------- /migrations/1564352876_flexa_staking_wallet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/migrations/1564352876_flexa_staking_wallet.js -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/package.json -------------------------------------------------------------------------------- /solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/solhint.json -------------------------------------------------------------------------------- /test/staking-addWithdrawalRoot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-addWithdrawalRoot.js -------------------------------------------------------------------------------- /test/staking-assumeOwnership.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-assumeOwnership.js -------------------------------------------------------------------------------- /test/staking-authorizeOwnershipTransfer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-authorizeOwnershipTransfer.js -------------------------------------------------------------------------------- /test/staking-deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-deposit.js -------------------------------------------------------------------------------- /test/staking-modifyImmediatelyWithdrawableLimit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-modifyImmediatelyWithdrawableLimit.js -------------------------------------------------------------------------------- /test/staking-refundPendingDeposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-refundPendingDeposit.js -------------------------------------------------------------------------------- /test/staking-removeWithdrawalRoots.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-removeWithdrawalRoots.js -------------------------------------------------------------------------------- /test/staking-renounceWithdrawalAuthorization.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-renounceWithdrawalAuthorization.js -------------------------------------------------------------------------------- /test/staking-resetFallbackMechanismDate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-resetFallbackMechanismDate.js -------------------------------------------------------------------------------- /test/staking-setFallbackRoot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-setFallbackRoot.js -------------------------------------------------------------------------------- /test/staking-setters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-setters.js -------------------------------------------------------------------------------- /test/staking-withdraw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-withdraw.js -------------------------------------------------------------------------------- /test/staking-withdrawFallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/staking-withdrawFallback.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/test/utils.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexa/capacity-smart-contracts/HEAD/truffle-config.js --------------------------------------------------------------------------------