Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Abracadabra-money/magic-internet-money
https://github.com/Abracadabra-money/magic-internet-money
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Abracadabra-money/magic-internet-money
- Owner: Abracadabra-money
- Archived: true
- Created: 2021-04-30T10:08:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T06:03:03.000Z (over 1 year ago)
- Last Synced: 2024-04-14T16:18:40.914Z (3 months ago)
- Language: Solidity
- Size: 4.82 MB
- Stars: 209
- Watchers: 21
- Forks: 79
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Lists
- awesome-solidity - Abracadabra-money/magic-internet-money - Magic Internet Money (MIM) contracts. (Resources)
- awesome-solidity - Abracadabra-money/magic-internet-money - Magic Internet Money (MIM) contracts. (Resources)
- awesome-solidity - Abracadabra-money/magic-internet-money - Magic Internet Money (MIM) contracts. (Resources)
- awesome-solidity - Abracadabra-money/magic-internet-money - Magic Internet Money (MIM) contracts. (Resources)
README
# Magic Internet Money
It's magic!
# Testing
```
yarn test
```# License
The Kashi code is licensed from BoringCrypto and is licensed only to Abracadabra.
# Troubleshooting
## CauldronV2MultiChain Master Contract Deployment
Deploying `contracts\CauldronV2MultiChain.sol` seems to cause problem once it's time to verify the source code on etherscan-alike with solc-input. Sending solc-input has the advantage of not requiring sending the whole source code for verification.
But it fails at the verification process, `etherscan-verify` mention older solidity version might cause the issue: https://github.com/ethereum/solidity/issues/9573
At this stage, `etherscan-verify` then tries to submit the whole source but also fails as the source code is too large to be sent for verification.
A workaround is to use the CauldronV2Multichain version in `contracts-flat` folder and use the following `solc` parameter when compiling:
```
"contracts/CauldronV2Multichain.sol": {
version: "0.6.12",
settings: {
optimizer: {
enabled: true,
runs: 999999,
},
},
},
```This might also be caused by `pragma experimental ABIEncoderV2;` which is present in unflatten `CauldronV2MultiChain` but not in the flatten version, but further experimentation would be require to confirm it.