I hereby claim:
- I am hackingbeauty on github.
- I am markmuskardin (https://keybase.io/markmuskardin) on keybase.
- I have a public key ASDfxFH28621ppjKGpS9To4RuKxc_E4w4wXgjQXN0FADjgo
To claim this, I am signing this object:
| pragma solidity ^0.6.10; | |
| import './DAOWallet.sol'; | |
| contract ReentrancyAttack { | |
| DAOWallet public daoWallet; | |
| constructor(address _daoWalletAddress) public { | |
| daoWallet = DAOWallet(_daoWalletAddress); | |
| } |
| pragma solidity ^0.6.10; | |
| contract DAOWallet { | |
| mapping(address => uint) public balances; | |
| bool internal locked; | |
| function deposit() public payable { | |
| balances[msg.sender] += msg.value; | |
| } | |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "rules": { | |
| "users": { | |
| ".write": "auth != null", | |
| "$user_id" : { | |
| ".read": true, | |
| ".write": "$user_id === auth.uid" | |
| } | |
| }, | |
| "publicRecordings": { |
| ... | |
| export default withStyles(widthBreakpoints)( | |
| withRouter(connect(mapStateToProps, mapDispatchToProps)(PublishedRecordingView)) | |
| ) | |
| ... |
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types' | |
| import { styles } from './styles.scss' | |
| import { Modal as ReactBootstrapModal } from 'react-bootstrap' | |
| class ModalBody extends Component { | |
| constructor(props) { | |
| super(props) | |
| } |
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types' | |
| import { modalHeaderStyles } from './styles.scss' | |
| import { Modal as ReactBootstrapModal } from 'react-bootstrap' | |
| class ModalHeader extends Component { | |
| constructor(props) { | |
| super(props) | |
| } |
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types' | |
| import { modalStyles } from './styles.scss' | |
| import { Modal as ReactBootstrapModal } from 'react-bootstrap' | |
| class Modal extends Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { | |
| show: false |
| /* In src/core/utils create a file called routing.js and add this code (I'm assuming you're using hash-based URLs) */ | |
| import { createHashHistory } from 'history' | |
| export default createHashHistory() | |
| /* Then, in your Action Creators, import this file and you can use React-Router to navigate programatically */ | |
| import history from 'core/utils/routing' |