Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. Solver time: 241.97637271881104
  2. ==== Exception State ====
  3. SWC ID: 110
  4. Severity: Low
  5. Contract: RToken
  6. Function name: getHatByAddress(address)
  7. PC address: 2271
  8. Estimated Gas Usage: 1602 - 2265
  9. A reachable exception has been detected.
  10. It is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit assert() should only be used to check invariants. Use require() for regular input checking.
  11. --------------------
  12. In file: RToken.sol:254
  13.  
  14. hats[hatID]
  15.  
  16. --------------------
  17. Initial State:
  18.  
  19. Account: [CREATOR], balance: 0x1, nonce:0, storage:{}
  20. Account: [ATTACKER], balance: 0x40000000000000, nonce:0, storage:{}
  21. Account: [SOMEGUY], balance: 0x620fb137, nonce:0, storage:{}
  22.  
  23. Transaction Sequence:
  24.  
  25. Caller: [CREATOR], data: [CONTRACT CREATION], value: 0x0
  26. Caller: [ATTACKER], function: changeHat(uint256), txdata: 0x2f2ba8148000000000000000000000800008000000000000000000000000000000000000, value: 0x0
  27. Caller: [CREATOR], function: getHatByAddress(address), txdata: 0x054ab01a000000000000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeef, value: 0x0
  28.  
  29. ==== Exception State ====
  30. SWC ID: 110
  31. Severity: Low
  32. Contract: RToken
  33. Function name: getHatByID(uint256)
  34. PC address: 3272
  35. Estimated Gas Usage: 1067 - 1540
  36. A reachable exception has been detected.
  37. It is possible to trigger an exception (opcode 0xfe). Exceptions can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. Note that explicit assert() should only be used to check invariants. Use require() for regular input checking.
  38. --------------------
  39. In file: RToken.sol:268
  40.  
  41. hats[hatID]
  42.  
  43. --------------------
  44. Initial State:
  45.  
  46. Account: [CREATOR], balance: 0x1, nonce:0, storage:{}
  47. Account: [ATTACKER], balance: 0x0, nonce:0, storage:{}
  48. Account: [SOMEGUY], balance: 0x141099902, nonce:0, storage:{}
  49.  
  50. Transaction Sequence:
  51.  
  52. Caller: [CREATOR], data: [CONTRACT CREATION], value: 0x0
  53. Caller: [CREATOR], function: approve(address,uint256), txdata: 0x095ea7b300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, value: 0x0
  54. Caller: [SOMEGUY], function: getHatByID(uint256), txdata: 0x1cda95d58000000000000000000000000000000000000000000000000000000000000000, value: 0x0
  55.  
  56. ==== External Call To Fixed Address ====
  57. SWC ID: 107
  58. Severity: Low
  59. Contract: RToken
  60. Function name: transferFrom(address,address,uint256)
  61. PC address: 8963
  62. Estimated Gas Usage: 8221 - 29117
  63. The contract executes an external message call.
  64. An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully.
  65. --------------------
  66. In file: RToken.sol:794
  67.  
  68. ias.accrueInterest()
  69.  
  70. --------------------
  71. Initial State:
  72.  
  73. Account: [CREATOR], balance: 0x1, nonce:0, storage:{}
  74. Account: [ATTACKER], balance: 0x0, nonce:0, storage:{}
  75. Account: [SOMEGUY], balance: 0x4e010102667b, nonce:0, storage:{}
  76.  
  77. Transaction Sequence:
  78.  
  79. Caller: [CREATOR], data: [CONTRACT CREATION], value: 0x0
  80. Caller: [CREATOR], function: approve(address,uint256), txdata: 0x095ea7b300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, value: 0x0
  81. Caller: [ATTACKER], function: transferFrom(address,address,uint256), txdata: 0x23b872dd000000000000000000000000020202020202020202020202020202020202020200000000000000000000000001010101010101010101010101010101010101010000000000000000000000000000000000000000000000000000000000000000, value: 0x0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement