Last active
March 19, 2019 03:13
-
-
Save ben-chain/6ace67f0634dcf27bae52724efeee2a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function claimRedeemed(redeemedClaim: claim): | |
#length of sequential stateIDs claimed = start - end | |
redeemedAmount: uint = redeemedClaim.end - redeemedClaim.start | |
ERC20.transferFrom(self.address, redeemedClaim.state.owner, redeemedAmount) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment