├── .env.sample ├── .eslintrc.js ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── backlog-item.md │ ├── bug_report.md │ └── feature-request-or-epic.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ ├── lint.yml │ ├── pr.yml │ ├── publish-contracts.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .solhint.json ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── assets └── full-logo.png ├── audits ├── haechi-06-09-2022.pdf ├── least-authority-17-05-2023.pdf └── veridise-24-08-2024.pdf ├── codechecks.yml ├── contracts ├── Bridge.sol ├── ERC1155Safe.sol ├── ERC20Safe.sol ├── ERC721MinterBurnerPauser.sol ├── ERC721Safe.sol ├── FROSTKeygen.sol ├── Forwarder.sol ├── Migrations.sol ├── Retry.sol ├── TestContracts.sol ├── XC20Safe.sol ├── XERC20 │ ├── XERC20.sol │ ├── XERC20Factory.sol │ ├── XERC20Lockbox.sol │ └── interfaces │ │ ├── IXERC20.sol │ │ ├── IXERC20Factory.sol │ │ └── IXERC20Lockbox.sol ├── adapters │ ├── GmpTransferAdapter.sol │ ├── interfaces │ │ └── IGmpTransferAdapter.sol │ └── nativeTokens │ │ └── NativeTokenAdapter.sol ├── handlers │ ├── DefaultMessageReceiver.sol │ ├── DepositDataHelper.sol │ ├── ERC1155Handler.sol │ ├── ERC20Handler.sol │ ├── ERC721Handler.sol │ ├── ERCHandlerHelpers.sol │ ├── FeeHandlerRouter.sol │ ├── GmpHandler.sol │ ├── NativeTokenHandler.sol │ ├── XC20Handler.sol │ └── fee │ │ ├── BasicFeeHandler.sol │ │ ├── PercentageERC20FeeHandler.sol │ │ └── dynamic │ │ ├── DynamicGenericFeeHandler.sol │ │ ├── TwapERC20NativeFeeHandler.sol │ │ ├── TwapFeeHandler.sol │ │ ├── TwapNativeTokenFeeHandler.sol │ │ └── TwapOracle.sol ├── interfaces │ ├── IAccessControlSegregator.sol │ ├── IBasicFeeHandler.sol │ ├── IBridge.sol │ ├── IERC20Plus.sol │ ├── IERCHandler.sol │ ├── IFeeHandler.sol │ ├── IHandler.sol │ └── ISygmaMessageReceiver.sol └── utils │ ├── AccessControl.sol │ ├── AccessControlSegregator.sol │ ├── ExcessivelySafeCall.sol │ ├── FullMath.sol │ ├── Pausable.sol │ ├── SanityChecks.sol │ └── TickMath.sol ├── docs ├── Home.md ├── decimals.md ├── migrations.md └── resources │ └── decimals_conversion.png ├── migrations ├── 10_retry.js ├── 1_initial_migration.js ├── 2_deploy_contracts.js ├── 3_deploy_gmpHandler.js ├── 4_deploy_xc20_contracts.js ├── 5_deploy_erc1155.js ├── 6_register_routes.js ├── 7_redeploy_token_handlers.js ├── 8_renounceAdmin.js ├── 9_deploy_frostKeygen.js ├── devnet.json ├── local.json ├── mainnet.json ├── testnet.json └── utils.js ├── package.json ├── rollup.config.js ├── scripts ├── .solcover.js ├── compileAbiBin.js ├── create_bindings.sh ├── generateFuncSignatures.js ├── geth │ ├── genesis.json │ ├── keystore │ │ ├── UTC--2020-04-07T13-50-35.447Z--ff93b45308fd417df303d6515ab04d9e89a750ca │ │ ├── UTC--2020-04-07T13-52-12.564Z--8e0a907331554af72563bd8d43051c2e64be5d35 │ │ ├── UTC--2020-04-07T13-53-49.003Z--24962717f8fa5ba3b931bacaf9ac03924eb475a0 │ │ ├── UTC--2020-04-07T13-55-20.258Z--148ffb2074a9e59ed58142822b3eb3fcbffb0cd7 │ │ └── UTC--2020-04-07T13-56-44.768Z--4ceef6139f00f9f4535ad19640ff7a0137708485 │ ├── password.txt │ ├── run_geth.sh │ ├── start_geth.sh │ └── start_geth2.sh ├── header.txt ├── install_deps.sh └── start_ganache.sh ├── src └── index.ts ├── test ├── adapters │ └── native │ │ ├── collectFee.js │ │ ├── decimalConversion.js │ │ ├── deposit.js │ │ ├── distributeFee.js │ │ ├── executeProposal.js │ │ └── optionalContractCall │ │ ├── collectFee.js │ │ ├── decimalConversion.js │ │ ├── deposit.js │ │ ├── distributeFee.js │ │ └── executeProposal.js ├── contractBridge │ ├── admin.js │ ├── depositERC1155.js │ ├── depositERC20.js │ ├── depositERC721.js │ ├── depositXC20.js │ ├── executeProposalERC20.js │ ├── executeProposalXC20.js │ ├── executeProposals.js │ └── executeWithFailedHandler.js ├── defaultMessageReceiver │ ├── direct.js │ └── executeProposal.js ├── e2e │ ├── erc1155 │ │ ├── differentChainsMock.js │ │ └── sameChain.js │ ├── erc20 │ │ ├── decimals │ │ │ ├── bothChainsNot18Decimals.js │ │ │ ├── oneChainNot18Decimals.js │ │ │ ├── oneChainWith0Decimals.js │ │ │ └── roundingLoss.js │ │ ├── differentChainsMock.js │ │ └── sameChain.js │ └── erc721 │ │ ├── differentChainsMock.js │ │ └── sameChain.js ├── forwarder │ └── forwarder.js ├── frostKeygen │ └── frostKeygen.js ├── gasBenchmarks │ ├── deployments.js │ ├── deposits.js │ └── executeProposal.js ├── gmpTransferAdapter │ ├── erc20Transfer │ │ ├── deposit.js │ │ ├── executeProposalDifferentAddresses.js │ │ └── executeProposalSameAddresses.js │ ├── fees │ │ └── collectFee.js │ └── nativeTransfer │ │ ├── deposit.js │ │ └── executeProposal.js ├── handlers │ ├── erc1155 │ │ ├── deposit.js │ │ ├── depositBurn.js │ │ └── isBurnable.js │ ├── erc20 │ │ ├── constructor.js │ │ ├── decimals.js │ │ ├── deposit.js │ │ ├── depositBurn.js │ │ ├── isBurnable.js │ │ ├── isWhitelisted.js │ │ ├── optionalContracCall │ │ │ ├── collectFee.js │ │ │ ├── decimalConversion.js │ │ │ ├── deposit.js │ │ │ ├── distributeFee.js │ │ │ └── executeProposal.js │ │ └── setResourceIDAndContractAddress.js │ ├── erc721 │ │ ├── deposit.js │ │ ├── depositBurn.js │ │ └── isBurnable.js │ ├── fee │ │ ├── basic │ │ │ ├── admin.js │ │ │ ├── calculateFee.js │ │ │ ├── changeFee.js │ │ │ ├── collectFee.js │ │ │ └── distributeFee.js │ │ ├── handlerRouter.js │ │ └── percentage │ │ │ ├── admin.js │ │ │ ├── calculateFee.js │ │ │ ├── changeFee.js │ │ │ ├── collectFee.js │ │ │ └── distributeFee.js │ ├── generic │ │ ├── permissionlessDeposit.js │ │ └── permissionlessExecuteProposal.js │ └── xc20 │ │ ├── constructor.js │ │ ├── deposit.js │ │ ├── depositBurn.js │ │ ├── isBurnable.js │ │ ├── isWhitelisted.js │ │ └── setResourceIDAndContractAddress.js ├── helpers.js ├── retry │ └── retry.js └── utils │ └── accessControlSegregator │ ├── constructor.js │ └── grantAccess.js ├── testUnderForked ├── admin.js ├── calculateFeeERC20EVM.js ├── collectFeeERC20EVM.js ├── collectFeeGenericEVM.js └── optionalContractCall │ └── calculateFeeERC20EVM.js ├── truffle-config.js ├── tsconfig.json └── yarn.lock /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.env.sample -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/backlog-item.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/ISSUE_TEMPLATE/backlog-item.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request-or-epic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/ISSUE_TEMPLATE/feature-request-or-epic.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.github/workflows/publish-contracts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/workflows/publish-contracts.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.gitignore -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/.solhint.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/README.md -------------------------------------------------------------------------------- /assets/full-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/assets/full-logo.png -------------------------------------------------------------------------------- /audits/haechi-06-09-2022.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/audits/haechi-06-09-2022.pdf -------------------------------------------------------------------------------- /audits/least-authority-17-05-2023.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/audits/least-authority-17-05-2023.pdf -------------------------------------------------------------------------------- /audits/veridise-24-08-2024.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/audits/veridise-24-08-2024.pdf -------------------------------------------------------------------------------- /codechecks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/codechecks.yml -------------------------------------------------------------------------------- /contracts/Bridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/Bridge.sol -------------------------------------------------------------------------------- /contracts/ERC1155Safe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/ERC1155Safe.sol -------------------------------------------------------------------------------- /contracts/ERC20Safe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/ERC20Safe.sol -------------------------------------------------------------------------------- /contracts/ERC721MinterBurnerPauser.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/ERC721MinterBurnerPauser.sol -------------------------------------------------------------------------------- /contracts/ERC721Safe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/ERC721Safe.sol -------------------------------------------------------------------------------- /contracts/FROSTKeygen.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/FROSTKeygen.sol -------------------------------------------------------------------------------- /contracts/Forwarder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/Forwarder.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/Retry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/Retry.sol -------------------------------------------------------------------------------- /contracts/TestContracts.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/TestContracts.sol -------------------------------------------------------------------------------- /contracts/XC20Safe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XC20Safe.sol -------------------------------------------------------------------------------- /contracts/XERC20/XERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/XERC20.sol -------------------------------------------------------------------------------- /contracts/XERC20/XERC20Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/XERC20Factory.sol -------------------------------------------------------------------------------- /contracts/XERC20/XERC20Lockbox.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/XERC20Lockbox.sol -------------------------------------------------------------------------------- /contracts/XERC20/interfaces/IXERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/interfaces/IXERC20.sol -------------------------------------------------------------------------------- /contracts/XERC20/interfaces/IXERC20Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/interfaces/IXERC20Factory.sol -------------------------------------------------------------------------------- /contracts/XERC20/interfaces/IXERC20Lockbox.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/XERC20/interfaces/IXERC20Lockbox.sol -------------------------------------------------------------------------------- /contracts/adapters/GmpTransferAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/adapters/GmpTransferAdapter.sol -------------------------------------------------------------------------------- /contracts/adapters/interfaces/IGmpTransferAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/adapters/interfaces/IGmpTransferAdapter.sol -------------------------------------------------------------------------------- /contracts/adapters/nativeTokens/NativeTokenAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/adapters/nativeTokens/NativeTokenAdapter.sol -------------------------------------------------------------------------------- /contracts/handlers/DefaultMessageReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/DefaultMessageReceiver.sol -------------------------------------------------------------------------------- /contracts/handlers/DepositDataHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/DepositDataHelper.sol -------------------------------------------------------------------------------- /contracts/handlers/ERC1155Handler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/ERC1155Handler.sol -------------------------------------------------------------------------------- /contracts/handlers/ERC20Handler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/ERC20Handler.sol -------------------------------------------------------------------------------- /contracts/handlers/ERC721Handler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/ERC721Handler.sol -------------------------------------------------------------------------------- /contracts/handlers/ERCHandlerHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/ERCHandlerHelpers.sol -------------------------------------------------------------------------------- /contracts/handlers/FeeHandlerRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/FeeHandlerRouter.sol -------------------------------------------------------------------------------- /contracts/handlers/GmpHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/GmpHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/NativeTokenHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/NativeTokenHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/XC20Handler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/XC20Handler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/BasicFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/BasicFeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/PercentageERC20FeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/PercentageERC20FeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/dynamic/DynamicGenericFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/dynamic/DynamicGenericFeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/dynamic/TwapERC20NativeFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/dynamic/TwapERC20NativeFeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/dynamic/TwapFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/dynamic/TwapFeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/dynamic/TwapNativeTokenFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/dynamic/TwapNativeTokenFeeHandler.sol -------------------------------------------------------------------------------- /contracts/handlers/fee/dynamic/TwapOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/handlers/fee/dynamic/TwapOracle.sol -------------------------------------------------------------------------------- /contracts/interfaces/IAccessControlSegregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IAccessControlSegregator.sol -------------------------------------------------------------------------------- /contracts/interfaces/IBasicFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IBasicFeeHandler.sol -------------------------------------------------------------------------------- /contracts/interfaces/IBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IBridge.sol -------------------------------------------------------------------------------- /contracts/interfaces/IERC20Plus.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IERC20Plus.sol -------------------------------------------------------------------------------- /contracts/interfaces/IERCHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IERCHandler.sol -------------------------------------------------------------------------------- /contracts/interfaces/IFeeHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IFeeHandler.sol -------------------------------------------------------------------------------- /contracts/interfaces/IHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/IHandler.sol -------------------------------------------------------------------------------- /contracts/interfaces/ISygmaMessageReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/interfaces/ISygmaMessageReceiver.sol -------------------------------------------------------------------------------- /contracts/utils/AccessControl.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/AccessControl.sol -------------------------------------------------------------------------------- /contracts/utils/AccessControlSegregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/AccessControlSegregator.sol -------------------------------------------------------------------------------- /contracts/utils/ExcessivelySafeCall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/ExcessivelySafeCall.sol -------------------------------------------------------------------------------- /contracts/utils/FullMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/FullMath.sol -------------------------------------------------------------------------------- /contracts/utils/Pausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/Pausable.sol -------------------------------------------------------------------------------- /contracts/utils/SanityChecks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/SanityChecks.sol -------------------------------------------------------------------------------- /contracts/utils/TickMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/contracts/utils/TickMath.sol -------------------------------------------------------------------------------- /docs/Home.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/decimals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/docs/decimals.md -------------------------------------------------------------------------------- /docs/migrations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/docs/migrations.md -------------------------------------------------------------------------------- /docs/resources/decimals_conversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/docs/resources/decimals_conversion.png -------------------------------------------------------------------------------- /migrations/10_retry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/10_retry.js -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /migrations/3_deploy_gmpHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/3_deploy_gmpHandler.js -------------------------------------------------------------------------------- /migrations/4_deploy_xc20_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/4_deploy_xc20_contracts.js -------------------------------------------------------------------------------- /migrations/5_deploy_erc1155.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/5_deploy_erc1155.js -------------------------------------------------------------------------------- /migrations/6_register_routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/6_register_routes.js -------------------------------------------------------------------------------- /migrations/7_redeploy_token_handlers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/7_redeploy_token_handlers.js -------------------------------------------------------------------------------- /migrations/8_renounceAdmin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/8_renounceAdmin.js -------------------------------------------------------------------------------- /migrations/9_deploy_frostKeygen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/9_deploy_frostKeygen.js -------------------------------------------------------------------------------- /migrations/devnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/devnet.json -------------------------------------------------------------------------------- /migrations/local.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/local.json -------------------------------------------------------------------------------- /migrations/mainnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/mainnet.json -------------------------------------------------------------------------------- /migrations/testnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/testnet.json -------------------------------------------------------------------------------- /migrations/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/migrations/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/.solcover.js -------------------------------------------------------------------------------- /scripts/compileAbiBin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/compileAbiBin.js -------------------------------------------------------------------------------- /scripts/create_bindings.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/create_bindings.sh -------------------------------------------------------------------------------- /scripts/generateFuncSignatures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/generateFuncSignatures.js -------------------------------------------------------------------------------- /scripts/geth/genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/genesis.json -------------------------------------------------------------------------------- /scripts/geth/keystore/UTC--2020-04-07T13-50-35.447Z--ff93b45308fd417df303d6515ab04d9e89a750ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/keystore/UTC--2020-04-07T13-50-35.447Z--ff93b45308fd417df303d6515ab04d9e89a750ca -------------------------------------------------------------------------------- /scripts/geth/keystore/UTC--2020-04-07T13-52-12.564Z--8e0a907331554af72563bd8d43051c2e64be5d35: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/keystore/UTC--2020-04-07T13-52-12.564Z--8e0a907331554af72563bd8d43051c2e64be5d35 -------------------------------------------------------------------------------- /scripts/geth/keystore/UTC--2020-04-07T13-53-49.003Z--24962717f8fa5ba3b931bacaf9ac03924eb475a0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/keystore/UTC--2020-04-07T13-53-49.003Z--24962717f8fa5ba3b931bacaf9ac03924eb475a0 -------------------------------------------------------------------------------- /scripts/geth/keystore/UTC--2020-04-07T13-55-20.258Z--148ffb2074a9e59ed58142822b3eb3fcbffb0cd7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/keystore/UTC--2020-04-07T13-55-20.258Z--148ffb2074a9e59ed58142822b3eb3fcbffb0cd7 -------------------------------------------------------------------------------- /scripts/geth/keystore/UTC--2020-04-07T13-56-44.768Z--4ceef6139f00f9f4535ad19640ff7a0137708485: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/keystore/UTC--2020-04-07T13-56-44.768Z--4ceef6139f00f9f4535ad19640ff7a0137708485 -------------------------------------------------------------------------------- /scripts/geth/password.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/password.txt -------------------------------------------------------------------------------- /scripts/geth/run_geth.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/run_geth.sh -------------------------------------------------------------------------------- /scripts/geth/start_geth.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/start_geth.sh -------------------------------------------------------------------------------- /scripts/geth/start_geth2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/geth/start_geth2.sh -------------------------------------------------------------------------------- /scripts/header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/header.txt -------------------------------------------------------------------------------- /scripts/install_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/install_deps.sh -------------------------------------------------------------------------------- /scripts/start_ganache.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/scripts/start_ganache.sh -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./ethers"; 2 | -------------------------------------------------------------------------------- /test/adapters/native/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/collectFee.js -------------------------------------------------------------------------------- /test/adapters/native/decimalConversion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/decimalConversion.js -------------------------------------------------------------------------------- /test/adapters/native/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/deposit.js -------------------------------------------------------------------------------- /test/adapters/native/distributeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/distributeFee.js -------------------------------------------------------------------------------- /test/adapters/native/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/executeProposal.js -------------------------------------------------------------------------------- /test/adapters/native/optionalContractCall/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/optionalContractCall/collectFee.js -------------------------------------------------------------------------------- /test/adapters/native/optionalContractCall/decimalConversion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/optionalContractCall/decimalConversion.js -------------------------------------------------------------------------------- /test/adapters/native/optionalContractCall/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/optionalContractCall/deposit.js -------------------------------------------------------------------------------- /test/adapters/native/optionalContractCall/distributeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/optionalContractCall/distributeFee.js -------------------------------------------------------------------------------- /test/adapters/native/optionalContractCall/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/adapters/native/optionalContractCall/executeProposal.js -------------------------------------------------------------------------------- /test/contractBridge/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/admin.js -------------------------------------------------------------------------------- /test/contractBridge/depositERC1155.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/depositERC1155.js -------------------------------------------------------------------------------- /test/contractBridge/depositERC20.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/depositERC20.js -------------------------------------------------------------------------------- /test/contractBridge/depositERC721.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/depositERC721.js -------------------------------------------------------------------------------- /test/contractBridge/depositXC20.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/depositXC20.js -------------------------------------------------------------------------------- /test/contractBridge/executeProposalERC20.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/executeProposalERC20.js -------------------------------------------------------------------------------- /test/contractBridge/executeProposalXC20.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/executeProposalXC20.js -------------------------------------------------------------------------------- /test/contractBridge/executeProposals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/executeProposals.js -------------------------------------------------------------------------------- /test/contractBridge/executeWithFailedHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/contractBridge/executeWithFailedHandler.js -------------------------------------------------------------------------------- /test/defaultMessageReceiver/direct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/defaultMessageReceiver/direct.js -------------------------------------------------------------------------------- /test/defaultMessageReceiver/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/defaultMessageReceiver/executeProposal.js -------------------------------------------------------------------------------- /test/e2e/erc1155/differentChainsMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc1155/differentChainsMock.js -------------------------------------------------------------------------------- /test/e2e/erc1155/sameChain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc1155/sameChain.js -------------------------------------------------------------------------------- /test/e2e/erc20/decimals/bothChainsNot18Decimals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/decimals/bothChainsNot18Decimals.js -------------------------------------------------------------------------------- /test/e2e/erc20/decimals/oneChainNot18Decimals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/decimals/oneChainNot18Decimals.js -------------------------------------------------------------------------------- /test/e2e/erc20/decimals/oneChainWith0Decimals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/decimals/oneChainWith0Decimals.js -------------------------------------------------------------------------------- /test/e2e/erc20/decimals/roundingLoss.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/decimals/roundingLoss.js -------------------------------------------------------------------------------- /test/e2e/erc20/differentChainsMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/differentChainsMock.js -------------------------------------------------------------------------------- /test/e2e/erc20/sameChain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc20/sameChain.js -------------------------------------------------------------------------------- /test/e2e/erc721/differentChainsMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc721/differentChainsMock.js -------------------------------------------------------------------------------- /test/e2e/erc721/sameChain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/e2e/erc721/sameChain.js -------------------------------------------------------------------------------- /test/forwarder/forwarder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/forwarder/forwarder.js -------------------------------------------------------------------------------- /test/frostKeygen/frostKeygen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/frostKeygen/frostKeygen.js -------------------------------------------------------------------------------- /test/gasBenchmarks/deployments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gasBenchmarks/deployments.js -------------------------------------------------------------------------------- /test/gasBenchmarks/deposits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gasBenchmarks/deposits.js -------------------------------------------------------------------------------- /test/gasBenchmarks/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gasBenchmarks/executeProposal.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/erc20Transfer/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/erc20Transfer/deposit.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/erc20Transfer/executeProposalDifferentAddresses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/erc20Transfer/executeProposalDifferentAddresses.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/erc20Transfer/executeProposalSameAddresses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/erc20Transfer/executeProposalSameAddresses.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/fees/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/fees/collectFee.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/nativeTransfer/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/nativeTransfer/deposit.js -------------------------------------------------------------------------------- /test/gmpTransferAdapter/nativeTransfer/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/gmpTransferAdapter/nativeTransfer/executeProposal.js -------------------------------------------------------------------------------- /test/handlers/erc1155/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc1155/deposit.js -------------------------------------------------------------------------------- /test/handlers/erc1155/depositBurn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc1155/depositBurn.js -------------------------------------------------------------------------------- /test/handlers/erc1155/isBurnable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc1155/isBurnable.js -------------------------------------------------------------------------------- /test/handlers/erc20/constructor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/constructor.js -------------------------------------------------------------------------------- /test/handlers/erc20/decimals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/decimals.js -------------------------------------------------------------------------------- /test/handlers/erc20/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/deposit.js -------------------------------------------------------------------------------- /test/handlers/erc20/depositBurn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/depositBurn.js -------------------------------------------------------------------------------- /test/handlers/erc20/isBurnable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/isBurnable.js -------------------------------------------------------------------------------- /test/handlers/erc20/isWhitelisted.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/isWhitelisted.js -------------------------------------------------------------------------------- /test/handlers/erc20/optionalContracCall/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/optionalContracCall/collectFee.js -------------------------------------------------------------------------------- /test/handlers/erc20/optionalContracCall/decimalConversion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/optionalContracCall/decimalConversion.js -------------------------------------------------------------------------------- /test/handlers/erc20/optionalContracCall/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/optionalContracCall/deposit.js -------------------------------------------------------------------------------- /test/handlers/erc20/optionalContracCall/distributeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/optionalContracCall/distributeFee.js -------------------------------------------------------------------------------- /test/handlers/erc20/optionalContracCall/executeProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/optionalContracCall/executeProposal.js -------------------------------------------------------------------------------- /test/handlers/erc20/setResourceIDAndContractAddress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc20/setResourceIDAndContractAddress.js -------------------------------------------------------------------------------- /test/handlers/erc721/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc721/deposit.js -------------------------------------------------------------------------------- /test/handlers/erc721/depositBurn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc721/depositBurn.js -------------------------------------------------------------------------------- /test/handlers/erc721/isBurnable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/erc721/isBurnable.js -------------------------------------------------------------------------------- /test/handlers/fee/basic/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/basic/admin.js -------------------------------------------------------------------------------- /test/handlers/fee/basic/calculateFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/basic/calculateFee.js -------------------------------------------------------------------------------- /test/handlers/fee/basic/changeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/basic/changeFee.js -------------------------------------------------------------------------------- /test/handlers/fee/basic/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/basic/collectFee.js -------------------------------------------------------------------------------- /test/handlers/fee/basic/distributeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/basic/distributeFee.js -------------------------------------------------------------------------------- /test/handlers/fee/handlerRouter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/handlerRouter.js -------------------------------------------------------------------------------- /test/handlers/fee/percentage/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/percentage/admin.js -------------------------------------------------------------------------------- /test/handlers/fee/percentage/calculateFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/percentage/calculateFee.js -------------------------------------------------------------------------------- /test/handlers/fee/percentage/changeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/percentage/changeFee.js -------------------------------------------------------------------------------- /test/handlers/fee/percentage/collectFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/percentage/collectFee.js -------------------------------------------------------------------------------- /test/handlers/fee/percentage/distributeFee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/fee/percentage/distributeFee.js -------------------------------------------------------------------------------- /test/handlers/generic/permissionlessDeposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/generic/permissionlessDeposit.js -------------------------------------------------------------------------------- /test/handlers/generic/permissionlessExecuteProposal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/generic/permissionlessExecuteProposal.js -------------------------------------------------------------------------------- /test/handlers/xc20/constructor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/constructor.js -------------------------------------------------------------------------------- /test/handlers/xc20/deposit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/deposit.js -------------------------------------------------------------------------------- /test/handlers/xc20/depositBurn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/depositBurn.js -------------------------------------------------------------------------------- /test/handlers/xc20/isBurnable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/isBurnable.js -------------------------------------------------------------------------------- /test/handlers/xc20/isWhitelisted.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/isWhitelisted.js -------------------------------------------------------------------------------- /test/handlers/xc20/setResourceIDAndContractAddress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/handlers/xc20/setResourceIDAndContractAddress.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/retry/retry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/retry/retry.js -------------------------------------------------------------------------------- /test/utils/accessControlSegregator/constructor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/utils/accessControlSegregator/constructor.js -------------------------------------------------------------------------------- /test/utils/accessControlSegregator/grantAccess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/test/utils/accessControlSegregator/grantAccess.js -------------------------------------------------------------------------------- /testUnderForked/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/testUnderForked/admin.js -------------------------------------------------------------------------------- /testUnderForked/calculateFeeERC20EVM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/testUnderForked/calculateFeeERC20EVM.js -------------------------------------------------------------------------------- /testUnderForked/collectFeeERC20EVM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/testUnderForked/collectFeeERC20EVM.js -------------------------------------------------------------------------------- /testUnderForked/collectFeeGenericEVM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/testUnderForked/collectFeeGenericEVM.js -------------------------------------------------------------------------------- /testUnderForked/optionalContractCall/calculateFeeERC20EVM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/testUnderForked/optionalContractCall/calculateFeeERC20EVM.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/truffle-config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sprintertech/sygma-solidity/HEAD/yarn.lock --------------------------------------------------------------------------------