├── .github └── workflows │ ├── main.yaml │ ├── publish.yaml │ └── security.yaml ├── .gitignore ├── .gitmodules ├── .prettierrc ├── LICENSE ├── Makefile ├── README.md ├── bin └── .gitkeep ├── contracts └── v0.8 │ ├── AccountAPI.sol │ ├── DataCapAPI.sol │ ├── MarketAPI.sol │ ├── MinerAPI.sol │ ├── PowerAPI.sol │ ├── PrecompilesAPI.sol │ ├── SendAPI.sol │ ├── Utils.sol │ ├── VerifRegAPI.sol │ ├── cbor │ ├── AccountCbor.sol │ ├── BigIntCbor.sol │ ├── BytesCbor.sol │ ├── DataCapCbor.sol │ ├── FilecoinCbor.sol │ ├── IntCbor.sol │ ├── MarketCbor.sol │ ├── MinerCbor.sol │ ├── PowerCbor.sol │ └── VerifRegCbor.sol │ ├── mocks │ ├── MarketMockAPI.sol │ ├── MinerMockAPI.sol │ ├── tests │ │ ├── market.test.sol │ │ └── miner.test.sol │ └── types │ │ └── MockTypes.sol │ ├── tests │ ├── account.test.sol │ ├── address.test.sol │ ├── bigints.test.sol │ ├── cbor.decode.test.sol │ ├── datacap.test.sol │ ├── deserializeparams.test.sol │ ├── leb128.generated1.test.sol │ ├── leb128.generated10.test.sol │ ├── leb128.generated11.test.sol │ ├── leb128.generated12.test.sol │ ├── leb128.generated13.test.sol │ ├── leb128.generated14.test.sol │ ├── leb128.generated2.test.sol │ ├── leb128.generated3.test.sol │ ├── leb128.generated4.test.sol │ ├── leb128.generated5.test.sol │ ├── leb128.generated6.test.sol │ ├── leb128.generated7.test.sol │ ├── leb128.generated8.test.sol │ ├── leb128.generated9.test.sol │ ├── leb128.test.sol │ ├── market.test.sol │ ├── marketcbor.test.sol │ ├── miner.test.sol │ ├── power.test.sol │ ├── precompiles.test.sol │ ├── send.test.sol │ └── verifreg.test.sol │ ├── types │ ├── AccountTypes.sol │ ├── CommonTypes.sol │ ├── DataCapTypes.sol │ ├── MarketTypes.sol │ ├── MinerTypes.sol │ ├── PowerTypes.sol │ └── VerifRegTypes.sol │ └── utils │ ├── Actor.sol │ ├── BigInts.sol │ ├── CborDecode.sol │ ├── FilAddresses.sol │ ├── Leb128.sol │ └── Misc.sol ├── docs ├── api │ ├── _category_.json │ ├── actors │ │ ├── Account.md │ │ ├── DataCap.md │ │ ├── Market.md │ │ ├── Miner.md │ │ ├── Power.md │ │ ├── VerifRegistry.md │ │ └── _category_.json │ ├── api.md │ └── use-it.md ├── assets │ ├── fil_foundation.png │ ├── hyperspace │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ ├── 6.png │ │ ├── 7.png │ │ └── 8.png │ ├── remix │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ └── 4.png │ ├── zondax_dark.png │ └── zondax_light.png ├── deploy-it.md ├── index.md ├── introduction │ ├── _category_.json │ ├── assumptions.md │ ├── introduction.md │ └── tech-involved.md ├── mocks │ ├── _category_.json │ ├── deals.md │ ├── mocks.md │ └── use-it.md └── report │ ├── _category_.json │ ├── milestone_1.md │ └── milestone_2.md ├── foundry.toml ├── hardhat ├── .env.local ├── .gitattributes ├── .gitignore ├── .gitpod.yml ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .solcover.js ├── .solhint.json ├── .solhintignore ├── contracts │ └── SimpleCoin.sol ├── deploy │ ├── market.js │ ├── miner.js │ ├── power.js │ ├── simple_coin.js │ └── verifReg.js ├── hardhat.config.js ├── package.json ├── tasks │ ├── get-address.js │ ├── index.js │ ├── market-api │ │ └── withdraw-balance.js │ ├── miner-api │ │ └── change-beneficiary.js │ └── simple-coin │ │ ├── get-balance.js │ │ └── send-coin.js └── yarn.lock ├── package.json ├── remappings.txt ├── scripts ├── generate.py └── u_case.txt ├── testing ├── Cargo.lock ├── Cargo.toml ├── examples │ ├── methodnum.rs │ └── serializeParams.rs ├── src │ ├── helpers.rs │ ├── lib.rs │ └── setup.rs └── tests │ ├── account.rs │ ├── address.rs │ ├── bigints.rs │ ├── cborDecode.rs │ ├── datacap.rs │ ├── deserializeParams.rs │ ├── leb128.rs │ ├── market.rs │ ├── marketCbor.rs │ ├── miner.rs │ ├── power.rs │ ├── precompiles.rs │ ├── send.rs │ └── verifreg.rs └── yarn.lock /.github/workflows/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.github/workflows/main.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.github/workflows/security.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.github/workflows/security.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.gitmodules -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/README.md -------------------------------------------------------------------------------- /bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contracts/v0.8/AccountAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/AccountAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/DataCapAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/DataCapAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/MarketAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/MarketAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/MinerAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/MinerAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/PowerAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/PowerAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/PrecompilesAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/PrecompilesAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/SendAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/SendAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/Utils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/Utils.sol -------------------------------------------------------------------------------- /contracts/v0.8/VerifRegAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/VerifRegAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/AccountCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/AccountCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/BigIntCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/BigIntCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/BytesCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/BytesCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/DataCapCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/DataCapCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/FilecoinCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/FilecoinCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/IntCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/IntCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/MarketCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/MarketCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/MinerCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/MinerCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/PowerCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/PowerCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/cbor/VerifRegCbor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/cbor/VerifRegCbor.sol -------------------------------------------------------------------------------- /contracts/v0.8/mocks/MarketMockAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/mocks/MarketMockAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/mocks/MinerMockAPI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/mocks/MinerMockAPI.sol -------------------------------------------------------------------------------- /contracts/v0.8/mocks/tests/market.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/mocks/tests/market.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/mocks/tests/miner.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/mocks/tests/miner.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/mocks/types/MockTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/mocks/types/MockTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/account.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/account.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/address.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/address.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/bigints.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/bigints.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/cbor.decode.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/cbor.decode.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/datacap.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/datacap.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/deserializeparams.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/deserializeparams.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated1.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated1.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated10.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated10.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated11.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated11.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated12.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated12.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated13.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated13.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated14.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated14.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated2.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated2.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated3.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated3.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated4.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated4.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated5.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated5.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated6.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated6.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated7.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated7.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated8.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated8.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.generated9.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.generated9.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/leb128.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/leb128.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/market.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/market.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/marketcbor.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/marketcbor.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/miner.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/miner.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/power.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/power.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/precompiles.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/precompiles.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/send.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/send.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/tests/verifreg.test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/tests/verifreg.test.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/AccountTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/AccountTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/CommonTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/CommonTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/DataCapTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/DataCapTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/MarketTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/MarketTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/MinerTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/MinerTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/PowerTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/PowerTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/types/VerifRegTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/types/VerifRegTypes.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/Actor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/Actor.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/BigInts.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/BigInts.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/CborDecode.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/CborDecode.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/FilAddresses.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/FilAddresses.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/Leb128.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/Leb128.sol -------------------------------------------------------------------------------- /contracts/v0.8/utils/Misc.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/contracts/v0.8/utils/Misc.sol -------------------------------------------------------------------------------- /docs/api/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/_category_.json -------------------------------------------------------------------------------- /docs/api/actors/Account.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/Account.md -------------------------------------------------------------------------------- /docs/api/actors/DataCap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/DataCap.md -------------------------------------------------------------------------------- /docs/api/actors/Market.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/Market.md -------------------------------------------------------------------------------- /docs/api/actors/Miner.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/Miner.md -------------------------------------------------------------------------------- /docs/api/actors/Power.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/Power.md -------------------------------------------------------------------------------- /docs/api/actors/VerifRegistry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/VerifRegistry.md -------------------------------------------------------------------------------- /docs/api/actors/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/actors/_category_.json -------------------------------------------------------------------------------- /docs/api/api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/api.md -------------------------------------------------------------------------------- /docs/api/use-it.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/api/use-it.md -------------------------------------------------------------------------------- /docs/assets/fil_foundation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/fil_foundation.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/1.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/2.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/3.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/4.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/5.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/6.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/7.png -------------------------------------------------------------------------------- /docs/assets/hyperspace/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/hyperspace/8.png -------------------------------------------------------------------------------- /docs/assets/remix/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/remix/1.png -------------------------------------------------------------------------------- /docs/assets/remix/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/remix/2.png -------------------------------------------------------------------------------- /docs/assets/remix/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/remix/3.png -------------------------------------------------------------------------------- /docs/assets/remix/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/remix/4.png -------------------------------------------------------------------------------- /docs/assets/zondax_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/zondax_dark.png -------------------------------------------------------------------------------- /docs/assets/zondax_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/assets/zondax_light.png -------------------------------------------------------------------------------- /docs/deploy-it.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/deploy-it.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/introduction/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/introduction/_category_.json -------------------------------------------------------------------------------- /docs/introduction/assumptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/introduction/assumptions.md -------------------------------------------------------------------------------- /docs/introduction/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/introduction/introduction.md -------------------------------------------------------------------------------- /docs/introduction/tech-involved.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/introduction/tech-involved.md -------------------------------------------------------------------------------- /docs/mocks/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/mocks/_category_.json -------------------------------------------------------------------------------- /docs/mocks/deals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/mocks/deals.md -------------------------------------------------------------------------------- /docs/mocks/mocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/mocks/mocks.md -------------------------------------------------------------------------------- /docs/mocks/use-it.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/mocks/use-it.md -------------------------------------------------------------------------------- /docs/report/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/report/_category_.json -------------------------------------------------------------------------------- /docs/report/milestone_1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/report/milestone_1.md -------------------------------------------------------------------------------- /docs/report/milestone_2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/docs/report/milestone_2.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/foundry.toml -------------------------------------------------------------------------------- /hardhat/.env.local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.env.local -------------------------------------------------------------------------------- /hardhat/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.gitattributes -------------------------------------------------------------------------------- /hardhat/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.gitignore -------------------------------------------------------------------------------- /hardhat/.gitpod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.gitpod.yml -------------------------------------------------------------------------------- /hardhat/.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /hardhat/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.prettierignore -------------------------------------------------------------------------------- /hardhat/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.prettierrc -------------------------------------------------------------------------------- /hardhat/.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.solcover.js -------------------------------------------------------------------------------- /hardhat/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/.solhint.json -------------------------------------------------------------------------------- /hardhat/.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test -------------------------------------------------------------------------------- /hardhat/contracts/SimpleCoin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/contracts/SimpleCoin.sol -------------------------------------------------------------------------------- /hardhat/deploy/market.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/deploy/market.js -------------------------------------------------------------------------------- /hardhat/deploy/miner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/deploy/miner.js -------------------------------------------------------------------------------- /hardhat/deploy/power.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/deploy/power.js -------------------------------------------------------------------------------- /hardhat/deploy/simple_coin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/deploy/simple_coin.js -------------------------------------------------------------------------------- /hardhat/deploy/verifReg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/deploy/verifReg.js -------------------------------------------------------------------------------- /hardhat/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/hardhat.config.js -------------------------------------------------------------------------------- /hardhat/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/package.json -------------------------------------------------------------------------------- /hardhat/tasks/get-address.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/get-address.js -------------------------------------------------------------------------------- /hardhat/tasks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/index.js -------------------------------------------------------------------------------- /hardhat/tasks/market-api/withdraw-balance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/market-api/withdraw-balance.js -------------------------------------------------------------------------------- /hardhat/tasks/miner-api/change-beneficiary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/miner-api/change-beneficiary.js -------------------------------------------------------------------------------- /hardhat/tasks/simple-coin/get-balance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/simple-coin/get-balance.js -------------------------------------------------------------------------------- /hardhat/tasks/simple-coin/send-coin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/tasks/simple-coin/send-coin.js -------------------------------------------------------------------------------- /hardhat/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/hardhat/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/remappings.txt -------------------------------------------------------------------------------- /scripts/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/scripts/generate.py -------------------------------------------------------------------------------- /scripts/u_case.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/scripts/u_case.txt -------------------------------------------------------------------------------- /testing/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/Cargo.lock -------------------------------------------------------------------------------- /testing/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/Cargo.toml -------------------------------------------------------------------------------- /testing/examples/methodnum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/examples/methodnum.rs -------------------------------------------------------------------------------- /testing/examples/serializeParams.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/examples/serializeParams.rs -------------------------------------------------------------------------------- /testing/src/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/src/helpers.rs -------------------------------------------------------------------------------- /testing/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/src/lib.rs -------------------------------------------------------------------------------- /testing/src/setup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/src/setup.rs -------------------------------------------------------------------------------- /testing/tests/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/account.rs -------------------------------------------------------------------------------- /testing/tests/address.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/address.rs -------------------------------------------------------------------------------- /testing/tests/bigints.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/bigints.rs -------------------------------------------------------------------------------- /testing/tests/cborDecode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/cborDecode.rs -------------------------------------------------------------------------------- /testing/tests/datacap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/datacap.rs -------------------------------------------------------------------------------- /testing/tests/deserializeParams.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/deserializeParams.rs -------------------------------------------------------------------------------- /testing/tests/leb128.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/leb128.rs -------------------------------------------------------------------------------- /testing/tests/market.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/market.rs -------------------------------------------------------------------------------- /testing/tests/marketCbor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/marketCbor.rs -------------------------------------------------------------------------------- /testing/tests/miner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/miner.rs -------------------------------------------------------------------------------- /testing/tests/power.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/power.rs -------------------------------------------------------------------------------- /testing/tests/precompiles.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/precompiles.rs -------------------------------------------------------------------------------- /testing/tests/send.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/send.rs -------------------------------------------------------------------------------- /testing/tests/verifreg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/testing/tests/verifreg.rs -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zondax/filecoin-solidity/HEAD/yarn.lock --------------------------------------------------------------------------------