@superfluid-finance/ethereum-contracts 1.2.1-dev.90ccb01.0 → 1.2.2-dev.153bcd3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +450 -243
  6. package/build/contracts/BaseRelayRecipient.json +112 -112
  7. package/build/contracts/BatchLiquidator.json +181 -181
  8. package/build/contracts/BatchOperation.json +1138 -1138
  9. package/build/contracts/CFAv1Library.json +2534 -2534
  10. package/build/contracts/CallUtils.json +478 -478
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1524 -1524
  12. package/build/contracts/ConstantFlowAgreementV1.json +22881 -21905
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1138 -1138
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +31 -31
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +36 -36
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +660 -660
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1524 -1524
  30. package/build/contracts/FixedSizeData.json +405 -405
  31. package/build/contracts/FlowExchangeTestApp.json +1525 -1525
  32. package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +1051 -1153
  37. package/build/contracts/IDAv1Library.json +4183 -4183
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
  52. package/build/contracts/IMultiSigWallet.json +45 -45
  53. package/build/contracts/IPureSuperToken.json +69 -69
  54. package/build/contracts/IPureSuperTokenCustom.json +69 -69
  55. package/build/contracts/IRelayRecipient.json +49 -49
  56. package/build/contracts/IResolver.json +73 -73
  57. package/build/contracts/ISETH.json +79 -79
  58. package/build/contracts/ISETHCustom.json +79 -79
  59. package/build/contracts/ISuperAgreement.json +88 -88
  60. package/build/contracts/ISuperApp.json +351 -351
  61. package/build/contracts/ISuperToken.json +1008 -1008
  62. package/build/contracts/ISuperTokenFactory.json +280 -280
  63. package/build/contracts/ISuperfluid.json +1466 -1466
  64. package/build/contracts/ISuperfluidGovernance.json +404 -404
  65. package/build/contracts/ISuperfluidToken.json +774 -774
  66. package/build/contracts/ITOGAv1.json +1432 -1432
  67. package/build/contracts/ITOGAv2.json +1432 -1432
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
  70. package/build/contracts/Int96SafeMath.json +504 -504
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1525 -1525
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1524 -1524
  83. package/build/contracts/SlotsBitmapLibrary.json +794 -794
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +394 -394
  86. package/build/contracts/SuperAppDefinitions.json +1138 -1138
  87. package/build/contracts/SuperToken.json +2351 -2351
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +9812 -10169
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
  94. package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
  96. package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1451 -1451
  101. package/build/contracts/TestGovernance.json +2195 -2445
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +58 -58
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +3 -4
  110. package/contracts/agreements/AgreementLibrary.sol +1 -0
  111. package/contracts/agreements/ConstantFlowAgreementV1.sol +77 -45
  112. package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
  113. package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
  114. package/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol +3 -9
  115. package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
  116. package/contracts/mocks/SuperfluidMock.sol +2 -2
  117. package/contracts/superfluid/Superfluid.sol +5 -10
  118. package/package.json +5 -4
  119. package/scripts/gov-create-new-app-registration-key.js +26 -3
@@ -657,18 +657,18 @@
657
657
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
658
658
  "exportedSymbols": {
659
659
  "ISuperAgreement": [
660
- 18212
660
+ 17949
661
661
  ],
662
662
  "ISuperfluidToken": [
663
- 19662
663
+ 19399
664
664
  ]
665
665
  },
666
- "id": 19663,
666
+ "id": 19400,
667
667
  "license": "AGPLv3",
668
668
  "nodeType": "SourceUnit",
669
669
  "nodes": [
670
670
  {
671
- "id": 19390,
671
+ "id": 19127,
672
672
  "literals": [
673
673
  "solidity",
674
674
  ">=",
@@ -676,26 +676,26 @@
676
676
  ".0"
677
677
  ],
678
678
  "nodeType": "PragmaDirective",
679
- "src": "35:25:54"
679
+ "src": "35:25:53"
680
680
  },
681
681
  {
682
682
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
683
683
  "file": "./ISuperAgreement.sol",
684
- "id": 19392,
684
+ "id": 19129,
685
685
  "nameLocation": "-1:-1:-1",
686
686
  "nodeType": "ImportDirective",
687
- "scope": 19663,
688
- "sourceUnit": 18213,
689
- "src": "62:56:54",
687
+ "scope": 19400,
688
+ "sourceUnit": 17950,
689
+ "src": "62:56:53",
690
690
  "symbolAliases": [
691
691
  {
692
692
  "foreign": {
693
- "id": 19391,
693
+ "id": 19128,
694
694
  "name": "ISuperAgreement",
695
695
  "nodeType": "Identifier",
696
696
  "overloadedDeclarations": [],
697
- "referencedDeclaration": 18212,
698
- "src": "71:15:54",
697
+ "referencedDeclaration": 17949,
698
+ "src": "71:15:53",
699
699
  "typeDescriptions": {}
700
700
  },
701
701
  "nameLocation": "-1:-1:-1"
@@ -710,54 +710,54 @@
710
710
  "contractDependencies": [],
711
711
  "contractKind": "interface",
712
712
  "documentation": {
713
- "id": 19393,
713
+ "id": 19130,
714
714
  "nodeType": "StructuredDocumentation",
715
- "src": "121:66:54",
715
+ "src": "121:66:53",
716
716
  "text": " @title Superfluid token interface\n @author Superfluid"
717
717
  },
718
718
  "fullyImplemented": false,
719
- "id": 19662,
719
+ "id": 19399,
720
720
  "linearizedBaseContracts": [
721
- 19662
721
+ 19399
722
722
  ],
723
723
  "name": "ISuperfluidToken",
724
- "nameLocation": "198:16:54",
724
+ "nameLocation": "198:16:53",
725
725
  "nodeType": "ContractDefinition",
726
726
  "nodes": [
727
727
  {
728
728
  "documentation": {
729
- "id": 19394,
729
+ "id": 19131,
730
730
  "nodeType": "StructuredDocumentation",
731
- "src": "408:60:54",
731
+ "src": "408:60:53",
732
732
  "text": " @dev Get superfluid host contract address"
733
733
  },
734
734
  "functionSelector": "20bc4425",
735
- "id": 19399,
735
+ "id": 19136,
736
736
  "implemented": false,
737
737
  "kind": "function",
738
738
  "modifiers": [],
739
739
  "name": "getHost",
740
- "nameLocation": "482:7:54",
740
+ "nameLocation": "482:7:53",
741
741
  "nodeType": "FunctionDefinition",
742
742
  "parameters": {
743
- "id": 19395,
743
+ "id": 19132,
744
744
  "nodeType": "ParameterList",
745
745
  "parameters": [],
746
- "src": "489:2:54"
746
+ "src": "489:2:53"
747
747
  },
748
748
  "returnParameters": {
749
- "id": 19398,
749
+ "id": 19135,
750
750
  "nodeType": "ParameterList",
751
751
  "parameters": [
752
752
  {
753
753
  "constant": false,
754
- "id": 19397,
754
+ "id": 19134,
755
755
  "mutability": "mutable",
756
756
  "name": "host",
757
- "nameLocation": "522:4:54",
757
+ "nameLocation": "522:4:53",
758
758
  "nodeType": "VariableDeclaration",
759
- "scope": 19399,
760
- "src": "514:12:54",
759
+ "scope": 19136,
760
+ "src": "514:12:53",
761
761
  "stateVariable": false,
762
762
  "storageLocation": "default",
763
763
  "typeDescriptions": {
@@ -765,10 +765,10 @@
765
765
  "typeString": "address"
766
766
  },
767
767
  "typeName": {
768
- "id": 19396,
768
+ "id": 19133,
769
769
  "name": "address",
770
770
  "nodeType": "ElementaryTypeName",
771
- "src": "514:7:54",
771
+ "src": "514:7:53",
772
772
  "stateMutability": "nonpayable",
773
773
  "typeDescriptions": {
774
774
  "typeIdentifier": "t_address",
@@ -778,27 +778,27 @@
778
778
  "visibility": "internal"
779
779
  }
780
780
  ],
781
- "src": "513:14:54"
781
+ "src": "513:14:53"
782
782
  },
783
- "scope": 19662,
784
- "src": "473:55:54",
783
+ "scope": 19399,
784
+ "src": "473:55:53",
785
785
  "stateMutability": "view",
786
786
  "virtual": false,
787
787
  "visibility": "external"
788
788
  },
789
789
  {
790
790
  "canonicalName": "ISuperfluidToken.LiquidationTypeData",
791
- "id": 19404,
791
+ "id": 19141,
792
792
  "members": [
793
793
  {
794
794
  "constant": false,
795
- "id": 19401,
795
+ "id": 19138,
796
796
  "mutability": "mutable",
797
797
  "name": "version",
798
- "nameLocation": "953:7:54",
798
+ "nameLocation": "953:7:53",
799
799
  "nodeType": "VariableDeclaration",
800
- "scope": 19404,
801
- "src": "945:15:54",
800
+ "scope": 19141,
801
+ "src": "945:15:53",
802
802
  "stateVariable": false,
803
803
  "storageLocation": "default",
804
804
  "typeDescriptions": {
@@ -806,10 +806,10 @@
806
806
  "typeString": "uint256"
807
807
  },
808
808
  "typeName": {
809
- "id": 19400,
809
+ "id": 19137,
810
810
  "name": "uint256",
811
811
  "nodeType": "ElementaryTypeName",
812
- "src": "945:7:54",
812
+ "src": "945:7:53",
813
813
  "typeDescriptions": {
814
814
  "typeIdentifier": "t_uint256",
815
815
  "typeString": "uint256"
@@ -819,13 +819,13 @@
819
819
  },
820
820
  {
821
821
  "constant": false,
822
- "id": 19403,
822
+ "id": 19140,
823
823
  "mutability": "mutable",
824
824
  "name": "liquidationType",
825
- "nameLocation": "976:15:54",
825
+ "nameLocation": "976:15:53",
826
826
  "nodeType": "VariableDeclaration",
827
- "scope": 19404,
828
- "src": "970:21:54",
827
+ "scope": 19141,
828
+ "src": "970:21:53",
829
829
  "stateVariable": false,
830
830
  "storageLocation": "default",
831
831
  "typeDescriptions": {
@@ -833,10 +833,10 @@
833
833
  "typeString": "uint8"
834
834
  },
835
835
  "typeName": {
836
- "id": 19402,
836
+ "id": 19139,
837
837
  "name": "uint8",
838
838
  "nodeType": "ElementaryTypeName",
839
- "src": "970:5:54",
839
+ "src": "970:5:53",
840
840
  "typeDescriptions": {
841
841
  "typeIdentifier": "t_uint8",
842
842
  "typeString": "uint8"
@@ -846,40 +846,40 @@
846
846
  }
847
847
  ],
848
848
  "name": "LiquidationTypeData",
849
- "nameLocation": "915:19:54",
849
+ "nameLocation": "915:19:53",
850
850
  "nodeType": "StructDefinition",
851
- "scope": 19662,
852
- "src": "908:90:54",
851
+ "scope": 19399,
852
+ "src": "908:90:53",
853
853
  "visibility": "public"
854
854
  },
855
855
  {
856
856
  "documentation": {
857
- "id": 19405,
857
+ "id": 19142,
858
858
  "nodeType": "StructuredDocumentation",
859
- "src": "1200:321:54",
859
+ "src": "1200:321:53",
860
860
  "text": " @dev Calculate the real balance of a user, taking in consideration all agreements of the account\n @param account for the query\n @param timestamp Time of balance\n @return availableBalance Real-time balance\n @return deposit Account deposit\n @return owedDeposit Account owed Deposit"
861
861
  },
862
862
  "functionSelector": "eb3537cc",
863
- "id": 19418,
863
+ "id": 19155,
864
864
  "implemented": false,
865
865
  "kind": "function",
866
866
  "modifiers": [],
867
867
  "name": "realtimeBalanceOf",
868
- "nameLocation": "1535:17:54",
868
+ "nameLocation": "1535:17:53",
869
869
  "nodeType": "FunctionDefinition",
870
870
  "parameters": {
871
- "id": 19410,
871
+ "id": 19147,
872
872
  "nodeType": "ParameterList",
873
873
  "parameters": [
874
874
  {
875
875
  "constant": false,
876
- "id": 19407,
876
+ "id": 19144,
877
877
  "mutability": "mutable",
878
878
  "name": "account",
879
- "nameLocation": "1569:7:54",
879
+ "nameLocation": "1569:7:53",
880
880
  "nodeType": "VariableDeclaration",
881
- "scope": 19418,
882
- "src": "1561:15:54",
881
+ "scope": 19155,
882
+ "src": "1561:15:53",
883
883
  "stateVariable": false,
884
884
  "storageLocation": "default",
885
885
  "typeDescriptions": {
@@ -887,10 +887,10 @@
887
887
  "typeString": "address"
888
888
  },
889
889
  "typeName": {
890
- "id": 19406,
890
+ "id": 19143,
891
891
  "name": "address",
892
892
  "nodeType": "ElementaryTypeName",
893
- "src": "1561:7:54",
893
+ "src": "1561:7:53",
894
894
  "stateMutability": "nonpayable",
895
895
  "typeDescriptions": {
896
896
  "typeIdentifier": "t_address",
@@ -901,13 +901,13 @@
901
901
  },
902
902
  {
903
903
  "constant": false,
904
- "id": 19409,
904
+ "id": 19146,
905
905
  "mutability": "mutable",
906
906
  "name": "timestamp",
907
- "nameLocation": "1593:9:54",
907
+ "nameLocation": "1593:9:53",
908
908
  "nodeType": "VariableDeclaration",
909
- "scope": 19418,
910
- "src": "1585:17:54",
909
+ "scope": 19155,
910
+ "src": "1585:17:53",
911
911
  "stateVariable": false,
912
912
  "storageLocation": "default",
913
913
  "typeDescriptions": {
@@ -915,10 +915,10 @@
915
915
  "typeString": "uint256"
916
916
  },
917
917
  "typeName": {
918
- "id": 19408,
918
+ "id": 19145,
919
919
  "name": "uint256",
920
920
  "nodeType": "ElementaryTypeName",
921
- "src": "1585:7:54",
921
+ "src": "1585:7:53",
922
922
  "typeDescriptions": {
923
923
  "typeIdentifier": "t_uint256",
924
924
  "typeString": "uint256"
@@ -927,21 +927,21 @@
927
927
  "visibility": "internal"
928
928
  }
929
929
  ],
930
- "src": "1552:56:54"
930
+ "src": "1552:56:53"
931
931
  },
932
932
  "returnParameters": {
933
- "id": 19417,
933
+ "id": 19154,
934
934
  "nodeType": "ParameterList",
935
935
  "parameters": [
936
936
  {
937
937
  "constant": false,
938
- "id": 19412,
938
+ "id": 19149,
939
939
  "mutability": "mutable",
940
940
  "name": "availableBalance",
941
- "nameLocation": "1668:16:54",
941
+ "nameLocation": "1668:16:53",
942
942
  "nodeType": "VariableDeclaration",
943
- "scope": 19418,
944
- "src": "1661:23:54",
943
+ "scope": 19155,
944
+ "src": "1661:23:53",
945
945
  "stateVariable": false,
946
946
  "storageLocation": "default",
947
947
  "typeDescriptions": {
@@ -949,10 +949,10 @@
949
949
  "typeString": "int256"
950
950
  },
951
951
  "typeName": {
952
- "id": 19411,
952
+ "id": 19148,
953
953
  "name": "int256",
954
954
  "nodeType": "ElementaryTypeName",
955
- "src": "1661:6:54",
955
+ "src": "1661:6:53",
956
956
  "typeDescriptions": {
957
957
  "typeIdentifier": "t_int256",
958
958
  "typeString": "int256"
@@ -962,13 +962,13 @@
962
962
  },
963
963
  {
964
964
  "constant": false,
965
- "id": 19414,
965
+ "id": 19151,
966
966
  "mutability": "mutable",
967
967
  "name": "deposit",
968
- "nameLocation": "1706:7:54",
968
+ "nameLocation": "1706:7:53",
969
969
  "nodeType": "VariableDeclaration",
970
- "scope": 19418,
971
- "src": "1698:15:54",
970
+ "scope": 19155,
971
+ "src": "1698:15:53",
972
972
  "stateVariable": false,
973
973
  "storageLocation": "default",
974
974
  "typeDescriptions": {
@@ -976,10 +976,10 @@
976
976
  "typeString": "uint256"
977
977
  },
978
978
  "typeName": {
979
- "id": 19413,
979
+ "id": 19150,
980
980
  "name": "uint256",
981
981
  "nodeType": "ElementaryTypeName",
982
- "src": "1698:7:54",
982
+ "src": "1698:7:53",
983
983
  "typeDescriptions": {
984
984
  "typeIdentifier": "t_uint256",
985
985
  "typeString": "uint256"
@@ -989,13 +989,13 @@
989
989
  },
990
990
  {
991
991
  "constant": false,
992
- "id": 19416,
992
+ "id": 19153,
993
993
  "mutability": "mutable",
994
994
  "name": "owedDeposit",
995
- "nameLocation": "1735:11:54",
995
+ "nameLocation": "1735:11:53",
996
996
  "nodeType": "VariableDeclaration",
997
- "scope": 19418,
998
- "src": "1727:19:54",
997
+ "scope": 19155,
998
+ "src": "1727:19:53",
999
999
  "stateVariable": false,
1000
1000
  "storageLocation": "default",
1001
1001
  "typeDescriptions": {
@@ -1003,10 +1003,10 @@
1003
1003
  "typeString": "uint256"
1004
1004
  },
1005
1005
  "typeName": {
1006
- "id": 19415,
1006
+ "id": 19152,
1007
1007
  "name": "uint256",
1008
1008
  "nodeType": "ElementaryTypeName",
1009
- "src": "1727:7:54",
1009
+ "src": "1727:7:53",
1010
1010
  "typeDescriptions": {
1011
1011
  "typeIdentifier": "t_uint256",
1012
1012
  "typeString": "uint256"
@@ -1015,42 +1015,42 @@
1015
1015
  "visibility": "internal"
1016
1016
  }
1017
1017
  ],
1018
- "src": "1647:100:54"
1018
+ "src": "1647:100:53"
1019
1019
  },
1020
- "scope": 19662,
1021
- "src": "1526:222:54",
1020
+ "scope": 19399,
1021
+ "src": "1526:222:53",
1022
1022
  "stateMutability": "view",
1023
1023
  "virtual": false,
1024
1024
  "visibility": "external"
1025
1025
  },
1026
1026
  {
1027
1027
  "documentation": {
1028
- "id": 19419,
1028
+ "id": 19156,
1029
1029
  "nodeType": "StructuredDocumentation",
1030
- "src": "1754:339:54",
1030
+ "src": "1754:339:53",
1031
1031
  "text": " @notice Calculate the realtime balance given the current host.getNow() value\n @dev realtimeBalanceOf with timestamp equals to block timestamp\n @param account for the query\n @return availableBalance Real-time balance\n @return deposit Account deposit\n @return owedDeposit Account owed Deposit"
1032
1032
  },
1033
1033
  "functionSelector": "2ec8eec7",
1034
- "id": 19432,
1034
+ "id": 19169,
1035
1035
  "implemented": false,
1036
1036
  "kind": "function",
1037
1037
  "modifiers": [],
1038
1038
  "name": "realtimeBalanceOfNow",
1039
- "nameLocation": "2107:20:54",
1039
+ "nameLocation": "2107:20:53",
1040
1040
  "nodeType": "FunctionDefinition",
1041
1041
  "parameters": {
1042
- "id": 19422,
1042
+ "id": 19159,
1043
1043
  "nodeType": "ParameterList",
1044
1044
  "parameters": [
1045
1045
  {
1046
1046
  "constant": false,
1047
- "id": 19421,
1047
+ "id": 19158,
1048
1048
  "mutability": "mutable",
1049
1049
  "name": "account",
1050
- "nameLocation": "2144:7:54",
1050
+ "nameLocation": "2144:7:53",
1051
1051
  "nodeType": "VariableDeclaration",
1052
- "scope": 19432,
1053
- "src": "2136:15:54",
1052
+ "scope": 19169,
1053
+ "src": "2136:15:53",
1054
1054
  "stateVariable": false,
1055
1055
  "storageLocation": "default",
1056
1056
  "typeDescriptions": {
@@ -1058,10 +1058,10 @@
1058
1058
  "typeString": "address"
1059
1059
  },
1060
1060
  "typeName": {
1061
- "id": 19420,
1061
+ "id": 19157,
1062
1062
  "name": "address",
1063
1063
  "nodeType": "ElementaryTypeName",
1064
- "src": "2136:7:54",
1064
+ "src": "2136:7:53",
1065
1065
  "stateMutability": "nonpayable",
1066
1066
  "typeDescriptions": {
1067
1067
  "typeIdentifier": "t_address",
@@ -1071,21 +1071,21 @@
1071
1071
  "visibility": "internal"
1072
1072
  }
1073
1073
  ],
1074
- "src": "2127:30:54"
1074
+ "src": "2127:30:53"
1075
1075
  },
1076
1076
  "returnParameters": {
1077
- "id": 19431,
1077
+ "id": 19168,
1078
1078
  "nodeType": "ParameterList",
1079
1079
  "parameters": [
1080
1080
  {
1081
1081
  "constant": false,
1082
- "id": 19424,
1082
+ "id": 19161,
1083
1083
  "mutability": "mutable",
1084
1084
  "name": "availableBalance",
1085
- "nameLocation": "2217:16:54",
1085
+ "nameLocation": "2217:16:53",
1086
1086
  "nodeType": "VariableDeclaration",
1087
- "scope": 19432,
1088
- "src": "2210:23:54",
1087
+ "scope": 19169,
1088
+ "src": "2210:23:53",
1089
1089
  "stateVariable": false,
1090
1090
  "storageLocation": "default",
1091
1091
  "typeDescriptions": {
@@ -1093,10 +1093,10 @@
1093
1093
  "typeString": "int256"
1094
1094
  },
1095
1095
  "typeName": {
1096
- "id": 19423,
1096
+ "id": 19160,
1097
1097
  "name": "int256",
1098
1098
  "nodeType": "ElementaryTypeName",
1099
- "src": "2210:6:54",
1099
+ "src": "2210:6:53",
1100
1100
  "typeDescriptions": {
1101
1101
  "typeIdentifier": "t_int256",
1102
1102
  "typeString": "int256"
@@ -1106,13 +1106,13 @@
1106
1106
  },
1107
1107
  {
1108
1108
  "constant": false,
1109
- "id": 19426,
1109
+ "id": 19163,
1110
1110
  "mutability": "mutable",
1111
1111
  "name": "deposit",
1112
- "nameLocation": "2255:7:54",
1112
+ "nameLocation": "2255:7:53",
1113
1113
  "nodeType": "VariableDeclaration",
1114
- "scope": 19432,
1115
- "src": "2247:15:54",
1114
+ "scope": 19169,
1115
+ "src": "2247:15:53",
1116
1116
  "stateVariable": false,
1117
1117
  "storageLocation": "default",
1118
1118
  "typeDescriptions": {
@@ -1120,10 +1120,10 @@
1120
1120
  "typeString": "uint256"
1121
1121
  },
1122
1122
  "typeName": {
1123
- "id": 19425,
1123
+ "id": 19162,
1124
1124
  "name": "uint256",
1125
1125
  "nodeType": "ElementaryTypeName",
1126
- "src": "2247:7:54",
1126
+ "src": "2247:7:53",
1127
1127
  "typeDescriptions": {
1128
1128
  "typeIdentifier": "t_uint256",
1129
1129
  "typeString": "uint256"
@@ -1133,13 +1133,13 @@
1133
1133
  },
1134
1134
  {
1135
1135
  "constant": false,
1136
- "id": 19428,
1136
+ "id": 19165,
1137
1137
  "mutability": "mutable",
1138
1138
  "name": "owedDeposit",
1139
- "nameLocation": "2284:11:54",
1139
+ "nameLocation": "2284:11:53",
1140
1140
  "nodeType": "VariableDeclaration",
1141
- "scope": 19432,
1142
- "src": "2276:19:54",
1141
+ "scope": 19169,
1142
+ "src": "2276:19:53",
1143
1143
  "stateVariable": false,
1144
1144
  "storageLocation": "default",
1145
1145
  "typeDescriptions": {
@@ -1147,10 +1147,10 @@
1147
1147
  "typeString": "uint256"
1148
1148
  },
1149
1149
  "typeName": {
1150
- "id": 19427,
1150
+ "id": 19164,
1151
1151
  "name": "uint256",
1152
1152
  "nodeType": "ElementaryTypeName",
1153
- "src": "2276:7:54",
1153
+ "src": "2276:7:53",
1154
1154
  "typeDescriptions": {
1155
1155
  "typeIdentifier": "t_uint256",
1156
1156
  "typeString": "uint256"
@@ -1160,13 +1160,13 @@
1160
1160
  },
1161
1161
  {
1162
1162
  "constant": false,
1163
- "id": 19430,
1163
+ "id": 19167,
1164
1164
  "mutability": "mutable",
1165
1165
  "name": "timestamp",
1166
- "nameLocation": "2317:9:54",
1166
+ "nameLocation": "2317:9:53",
1167
1167
  "nodeType": "VariableDeclaration",
1168
- "scope": 19432,
1169
- "src": "2309:17:54",
1168
+ "scope": 19169,
1169
+ "src": "2309:17:53",
1170
1170
  "stateVariable": false,
1171
1171
  "storageLocation": "default",
1172
1172
  "typeDescriptions": {
@@ -1174,10 +1174,10 @@
1174
1174
  "typeString": "uint256"
1175
1175
  },
1176
1176
  "typeName": {
1177
- "id": 19429,
1177
+ "id": 19166,
1178
1178
  "name": "uint256",
1179
1179
  "nodeType": "ElementaryTypeName",
1180
- "src": "2309:7:54",
1180
+ "src": "2309:7:53",
1181
1181
  "typeDescriptions": {
1182
1182
  "typeIdentifier": "t_uint256",
1183
1183
  "typeString": "uint256"
@@ -1186,42 +1186,42 @@
1186
1186
  "visibility": "internal"
1187
1187
  }
1188
1188
  ],
1189
- "src": "2196:131:54"
1189
+ "src": "2196:131:53"
1190
1190
  },
1191
- "scope": 19662,
1192
- "src": "2098:230:54",
1191
+ "scope": 19399,
1192
+ "src": "2098:230:53",
1193
1193
  "stateMutability": "view",
1194
1194
  "virtual": false,
1195
1195
  "visibility": "external"
1196
1196
  },
1197
1197
  {
1198
1198
  "documentation": {
1199
- "id": 19433,
1199
+ "id": 19170,
1200
1200
  "nodeType": "StructuredDocumentation",
1201
- "src": "2334:309:54",
1201
+ "src": "2334:309:53",
1202
1202
  "text": " @notice Check if account is critical\n @dev A critical account is when availableBalance < 0\n @param account The account to check\n @param timestamp The time we'd like to check if the account is critical (should use future)\n @return isCritical Whether the account is critical"
1203
1203
  },
1204
1204
  "functionSelector": "d9d078d6",
1205
- "id": 19442,
1205
+ "id": 19179,
1206
1206
  "implemented": false,
1207
1207
  "kind": "function",
1208
1208
  "modifiers": [],
1209
1209
  "name": "isAccountCritical",
1210
- "nameLocation": "2657:17:54",
1210
+ "nameLocation": "2657:17:53",
1211
1211
  "nodeType": "FunctionDefinition",
1212
1212
  "parameters": {
1213
- "id": 19438,
1213
+ "id": 19175,
1214
1214
  "nodeType": "ParameterList",
1215
1215
  "parameters": [
1216
1216
  {
1217
1217
  "constant": false,
1218
- "id": 19435,
1218
+ "id": 19172,
1219
1219
  "mutability": "mutable",
1220
1220
  "name": "account",
1221
- "nameLocation": "2692:7:54",
1221
+ "nameLocation": "2692:7:53",
1222
1222
  "nodeType": "VariableDeclaration",
1223
- "scope": 19442,
1224
- "src": "2684:15:54",
1223
+ "scope": 19179,
1224
+ "src": "2684:15:53",
1225
1225
  "stateVariable": false,
1226
1226
  "storageLocation": "default",
1227
1227
  "typeDescriptions": {
@@ -1229,10 +1229,10 @@
1229
1229
  "typeString": "address"
1230
1230
  },
1231
1231
  "typeName": {
1232
- "id": 19434,
1232
+ "id": 19171,
1233
1233
  "name": "address",
1234
1234
  "nodeType": "ElementaryTypeName",
1235
- "src": "2684:7:54",
1235
+ "src": "2684:7:53",
1236
1236
  "stateMutability": "nonpayable",
1237
1237
  "typeDescriptions": {
1238
1238
  "typeIdentifier": "t_address",
@@ -1243,13 +1243,13 @@
1243
1243
  },
1244
1244
  {
1245
1245
  "constant": false,
1246
- "id": 19437,
1246
+ "id": 19174,
1247
1247
  "mutability": "mutable",
1248
1248
  "name": "timestamp",
1249
- "nameLocation": "2717:9:54",
1249
+ "nameLocation": "2717:9:53",
1250
1250
  "nodeType": "VariableDeclaration",
1251
- "scope": 19442,
1252
- "src": "2709:17:54",
1251
+ "scope": 19179,
1252
+ "src": "2709:17:53",
1253
1253
  "stateVariable": false,
1254
1254
  "storageLocation": "default",
1255
1255
  "typeDescriptions": {
@@ -1257,10 +1257,10 @@
1257
1257
  "typeString": "uint256"
1258
1258
  },
1259
1259
  "typeName": {
1260
- "id": 19436,
1260
+ "id": 19173,
1261
1261
  "name": "uint256",
1262
1262
  "nodeType": "ElementaryTypeName",
1263
- "src": "2709:7:54",
1263
+ "src": "2709:7:53",
1264
1264
  "typeDescriptions": {
1265
1265
  "typeIdentifier": "t_uint256",
1266
1266
  "typeString": "uint256"
@@ -1269,21 +1269,21 @@
1269
1269
  "visibility": "internal"
1270
1270
  }
1271
1271
  ],
1272
- "src": "2674:58:54"
1272
+ "src": "2674:58:53"
1273
1273
  },
1274
1274
  "returnParameters": {
1275
- "id": 19441,
1275
+ "id": 19178,
1276
1276
  "nodeType": "ParameterList",
1277
1277
  "parameters": [
1278
1278
  {
1279
1279
  "constant": false,
1280
- "id": 19440,
1280
+ "id": 19177,
1281
1281
  "mutability": "mutable",
1282
1282
  "name": "isCritical",
1283
- "nameLocation": "2776:10:54",
1283
+ "nameLocation": "2776:10:53",
1284
1284
  "nodeType": "VariableDeclaration",
1285
- "scope": 19442,
1286
- "src": "2771:15:54",
1285
+ "scope": 19179,
1286
+ "src": "2771:15:53",
1287
1287
  "stateVariable": false,
1288
1288
  "storageLocation": "default",
1289
1289
  "typeDescriptions": {
@@ -1291,10 +1291,10 @@
1291
1291
  "typeString": "bool"
1292
1292
  },
1293
1293
  "typeName": {
1294
- "id": 19439,
1294
+ "id": 19176,
1295
1295
  "name": "bool",
1296
1296
  "nodeType": "ElementaryTypeName",
1297
- "src": "2771:4:54",
1297
+ "src": "2771:4:53",
1298
1298
  "typeDescriptions": {
1299
1299
  "typeIdentifier": "t_bool",
1300
1300
  "typeString": "bool"
@@ -1303,42 +1303,42 @@
1303
1303
  "visibility": "internal"
1304
1304
  }
1305
1305
  ],
1306
- "src": "2770:17:54"
1306
+ "src": "2770:17:53"
1307
1307
  },
1308
- "scope": 19662,
1309
- "src": "2648:140:54",
1308
+ "scope": 19399,
1309
+ "src": "2648:140:53",
1310
1310
  "stateMutability": "view",
1311
1311
  "virtual": false,
1312
1312
  "visibility": "external"
1313
1313
  },
1314
1314
  {
1315
1315
  "documentation": {
1316
- "id": 19443,
1316
+ "id": 19180,
1317
1317
  "nodeType": "StructuredDocumentation",
1318
- "src": "2794:239:54",
1318
+ "src": "2794:239:53",
1319
1319
  "text": " @notice Check if account is critical now (current host.getNow())\n @dev A critical account is when availableBalance < 0\n @param account The account to check\n @return isCritical Whether the account is critical"
1320
1320
  },
1321
1321
  "functionSelector": "79359f6f",
1322
- "id": 19450,
1322
+ "id": 19187,
1323
1323
  "implemented": false,
1324
1324
  "kind": "function",
1325
1325
  "modifiers": [],
1326
1326
  "name": "isAccountCriticalNow",
1327
- "nameLocation": "3047:20:54",
1327
+ "nameLocation": "3047:20:53",
1328
1328
  "nodeType": "FunctionDefinition",
1329
1329
  "parameters": {
1330
- "id": 19446,
1330
+ "id": 19183,
1331
1331
  "nodeType": "ParameterList",
1332
1332
  "parameters": [
1333
1333
  {
1334
1334
  "constant": false,
1335
- "id": 19445,
1335
+ "id": 19182,
1336
1336
  "mutability": "mutable",
1337
1337
  "name": "account",
1338
- "nameLocation": "3085:7:54",
1338
+ "nameLocation": "3085:7:53",
1339
1339
  "nodeType": "VariableDeclaration",
1340
- "scope": 19450,
1341
- "src": "3077:15:54",
1340
+ "scope": 19187,
1341
+ "src": "3077:15:53",
1342
1342
  "stateVariable": false,
1343
1343
  "storageLocation": "default",
1344
1344
  "typeDescriptions": {
@@ -1346,10 +1346,10 @@
1346
1346
  "typeString": "address"
1347
1347
  },
1348
1348
  "typeName": {
1349
- "id": 19444,
1349
+ "id": 19181,
1350
1350
  "name": "address",
1351
1351
  "nodeType": "ElementaryTypeName",
1352
- "src": "3077:7:54",
1352
+ "src": "3077:7:53",
1353
1353
  "stateMutability": "nonpayable",
1354
1354
  "typeDescriptions": {
1355
1355
  "typeIdentifier": "t_address",
@@ -1359,21 +1359,21 @@
1359
1359
  "visibility": "internal"
1360
1360
  }
1361
1361
  ],
1362
- "src": "3067:31:54"
1362
+ "src": "3067:31:53"
1363
1363
  },
1364
1364
  "returnParameters": {
1365
- "id": 19449,
1365
+ "id": 19186,
1366
1366
  "nodeType": "ParameterList",
1367
1367
  "parameters": [
1368
1368
  {
1369
1369
  "constant": false,
1370
- "id": 19448,
1370
+ "id": 19185,
1371
1371
  "mutability": "mutable",
1372
1372
  "name": "isCritical",
1373
- "nameLocation": "3142:10:54",
1373
+ "nameLocation": "3142:10:53",
1374
1374
  "nodeType": "VariableDeclaration",
1375
- "scope": 19450,
1376
- "src": "3137:15:54",
1375
+ "scope": 19187,
1376
+ "src": "3137:15:53",
1377
1377
  "stateVariable": false,
1378
1378
  "storageLocation": "default",
1379
1379
  "typeDescriptions": {
@@ -1381,10 +1381,10 @@
1381
1381
  "typeString": "bool"
1382
1382
  },
1383
1383
  "typeName": {
1384
- "id": 19447,
1384
+ "id": 19184,
1385
1385
  "name": "bool",
1386
1386
  "nodeType": "ElementaryTypeName",
1387
- "src": "3137:4:54",
1387
+ "src": "3137:4:53",
1388
1388
  "typeDescriptions": {
1389
1389
  "typeIdentifier": "t_bool",
1390
1390
  "typeString": "bool"
@@ -1393,42 +1393,42 @@
1393
1393
  "visibility": "internal"
1394
1394
  }
1395
1395
  ],
1396
- "src": "3136:17:54"
1396
+ "src": "3136:17:53"
1397
1397
  },
1398
- "scope": 19662,
1399
- "src": "3038:116:54",
1398
+ "scope": 19399,
1399
+ "src": "3038:116:53",
1400
1400
  "stateMutability": "view",
1401
1401
  "virtual": false,
1402
1402
  "visibility": "external"
1403
1403
  },
1404
1404
  {
1405
1405
  "documentation": {
1406
- "id": 19451,
1406
+ "id": 19188,
1407
1407
  "nodeType": "StructuredDocumentation",
1408
- "src": "3160:335:54",
1408
+ "src": "3160:335:53",
1409
1409
  "text": " @notice Check if account is solvent\n @dev An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\n @param account The account to check\n @param timestamp The time we'd like to check if the account is solvent (should use future)\n @return isSolvent"
1410
1410
  },
1411
1411
  "functionSelector": "b84cdd4a",
1412
- "id": 19460,
1412
+ "id": 19197,
1413
1413
  "implemented": false,
1414
1414
  "kind": "function",
1415
1415
  "modifiers": [],
1416
1416
  "name": "isAccountSolvent",
1417
- "nameLocation": "3509:16:54",
1417
+ "nameLocation": "3509:16:53",
1418
1418
  "nodeType": "FunctionDefinition",
1419
1419
  "parameters": {
1420
- "id": 19456,
1420
+ "id": 19193,
1421
1421
  "nodeType": "ParameterList",
1422
1422
  "parameters": [
1423
1423
  {
1424
1424
  "constant": false,
1425
- "id": 19453,
1425
+ "id": 19190,
1426
1426
  "mutability": "mutable",
1427
1427
  "name": "account",
1428
- "nameLocation": "3543:7:54",
1428
+ "nameLocation": "3543:7:53",
1429
1429
  "nodeType": "VariableDeclaration",
1430
- "scope": 19460,
1431
- "src": "3535:15:54",
1430
+ "scope": 19197,
1431
+ "src": "3535:15:53",
1432
1432
  "stateVariable": false,
1433
1433
  "storageLocation": "default",
1434
1434
  "typeDescriptions": {
@@ -1436,10 +1436,10 @@
1436
1436
  "typeString": "address"
1437
1437
  },
1438
1438
  "typeName": {
1439
- "id": 19452,
1439
+ "id": 19189,
1440
1440
  "name": "address",
1441
1441
  "nodeType": "ElementaryTypeName",
1442
- "src": "3535:7:54",
1442
+ "src": "3535:7:53",
1443
1443
  "stateMutability": "nonpayable",
1444
1444
  "typeDescriptions": {
1445
1445
  "typeIdentifier": "t_address",
@@ -1450,13 +1450,13 @@
1450
1450
  },
1451
1451
  {
1452
1452
  "constant": false,
1453
- "id": 19455,
1453
+ "id": 19192,
1454
1454
  "mutability": "mutable",
1455
1455
  "name": "timestamp",
1456
- "nameLocation": "3568:9:54",
1456
+ "nameLocation": "3568:9:53",
1457
1457
  "nodeType": "VariableDeclaration",
1458
- "scope": 19460,
1459
- "src": "3560:17:54",
1458
+ "scope": 19197,
1459
+ "src": "3560:17:53",
1460
1460
  "stateVariable": false,
1461
1461
  "storageLocation": "default",
1462
1462
  "typeDescriptions": {
@@ -1464,10 +1464,10 @@
1464
1464
  "typeString": "uint256"
1465
1465
  },
1466
1466
  "typeName": {
1467
- "id": 19454,
1467
+ "id": 19191,
1468
1468
  "name": "uint256",
1469
1469
  "nodeType": "ElementaryTypeName",
1470
- "src": "3560:7:54",
1470
+ "src": "3560:7:53",
1471
1471
  "typeDescriptions": {
1472
1472
  "typeIdentifier": "t_uint256",
1473
1473
  "typeString": "uint256"
@@ -1476,21 +1476,21 @@
1476
1476
  "visibility": "internal"
1477
1477
  }
1478
1478
  ],
1479
- "src": "3525:58:54"
1479
+ "src": "3525:58:53"
1480
1480
  },
1481
1481
  "returnParameters": {
1482
- "id": 19459,
1482
+ "id": 19196,
1483
1483
  "nodeType": "ParameterList",
1484
1484
  "parameters": [
1485
1485
  {
1486
1486
  "constant": false,
1487
- "id": 19458,
1487
+ "id": 19195,
1488
1488
  "mutability": "mutable",
1489
1489
  "name": "isSolvent",
1490
- "nameLocation": "3627:9:54",
1490
+ "nameLocation": "3627:9:53",
1491
1491
  "nodeType": "VariableDeclaration",
1492
- "scope": 19460,
1493
- "src": "3622:14:54",
1492
+ "scope": 19197,
1493
+ "src": "3622:14:53",
1494
1494
  "stateVariable": false,
1495
1495
  "storageLocation": "default",
1496
1496
  "typeDescriptions": {
@@ -1498,10 +1498,10 @@
1498
1498
  "typeString": "bool"
1499
1499
  },
1500
1500
  "typeName": {
1501
- "id": 19457,
1501
+ "id": 19194,
1502
1502
  "name": "bool",
1503
1503
  "nodeType": "ElementaryTypeName",
1504
- "src": "3622:4:54",
1504
+ "src": "3622:4:53",
1505
1505
  "typeDescriptions": {
1506
1506
  "typeIdentifier": "t_bool",
1507
1507
  "typeString": "bool"
@@ -1510,42 +1510,42 @@
1510
1510
  "visibility": "internal"
1511
1511
  }
1512
1512
  ],
1513
- "src": "3621:16:54"
1513
+ "src": "3621:16:53"
1514
1514
  },
1515
- "scope": 19662,
1516
- "src": "3500:138:54",
1515
+ "scope": 19399,
1516
+ "src": "3500:138:53",
1517
1517
  "stateMutability": "view",
1518
1518
  "virtual": false,
1519
1519
  "visibility": "external"
1520
1520
  },
1521
1521
  {
1522
1522
  "documentation": {
1523
- "id": 19461,
1523
+ "id": 19198,
1524
1524
  "nodeType": "StructuredDocumentation",
1525
- "src": "3644:241:54",
1525
+ "src": "3644:241:53",
1526
1526
  "text": " @notice Check if account is solvent now\n @dev An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\n @param account The account to check\n @return isSolvent"
1527
1527
  },
1528
1528
  "functionSelector": "bb0d196e",
1529
- "id": 19468,
1529
+ "id": 19205,
1530
1530
  "implemented": false,
1531
1531
  "kind": "function",
1532
1532
  "modifiers": [],
1533
1533
  "name": "isAccountSolventNow",
1534
- "nameLocation": "3899:19:54",
1534
+ "nameLocation": "3899:19:53",
1535
1535
  "nodeType": "FunctionDefinition",
1536
1536
  "parameters": {
1537
- "id": 19464,
1537
+ "id": 19201,
1538
1538
  "nodeType": "ParameterList",
1539
1539
  "parameters": [
1540
1540
  {
1541
1541
  "constant": false,
1542
- "id": 19463,
1542
+ "id": 19200,
1543
1543
  "mutability": "mutable",
1544
1544
  "name": "account",
1545
- "nameLocation": "3936:7:54",
1545
+ "nameLocation": "3936:7:53",
1546
1546
  "nodeType": "VariableDeclaration",
1547
- "scope": 19468,
1548
- "src": "3928:15:54",
1547
+ "scope": 19205,
1548
+ "src": "3928:15:53",
1549
1549
  "stateVariable": false,
1550
1550
  "storageLocation": "default",
1551
1551
  "typeDescriptions": {
@@ -1553,10 +1553,10 @@
1553
1553
  "typeString": "address"
1554
1554
  },
1555
1555
  "typeName": {
1556
- "id": 19462,
1556
+ "id": 19199,
1557
1557
  "name": "address",
1558
1558
  "nodeType": "ElementaryTypeName",
1559
- "src": "3928:7:54",
1559
+ "src": "3928:7:53",
1560
1560
  "stateMutability": "nonpayable",
1561
1561
  "typeDescriptions": {
1562
1562
  "typeIdentifier": "t_address",
@@ -1566,21 +1566,21 @@
1566
1566
  "visibility": "internal"
1567
1567
  }
1568
1568
  ],
1569
- "src": "3918:31:54"
1569
+ "src": "3918:31:53"
1570
1570
  },
1571
1571
  "returnParameters": {
1572
- "id": 19467,
1572
+ "id": 19204,
1573
1573
  "nodeType": "ParameterList",
1574
1574
  "parameters": [
1575
1575
  {
1576
1576
  "constant": false,
1577
- "id": 19466,
1577
+ "id": 19203,
1578
1578
  "mutability": "mutable",
1579
1579
  "name": "isSolvent",
1580
- "nameLocation": "3993:9:54",
1580
+ "nameLocation": "3993:9:53",
1581
1581
  "nodeType": "VariableDeclaration",
1582
- "scope": 19468,
1583
- "src": "3988:14:54",
1582
+ "scope": 19205,
1583
+ "src": "3988:14:53",
1584
1584
  "stateVariable": false,
1585
1585
  "storageLocation": "default",
1586
1586
  "typeDescriptions": {
@@ -1588,10 +1588,10 @@
1588
1588
  "typeString": "bool"
1589
1589
  },
1590
1590
  "typeName": {
1591
- "id": 19465,
1591
+ "id": 19202,
1592
1592
  "name": "bool",
1593
1593
  "nodeType": "ElementaryTypeName",
1594
- "src": "3988:4:54",
1594
+ "src": "3988:4:53",
1595
1595
  "typeDescriptions": {
1596
1596
  "typeIdentifier": "t_bool",
1597
1597
  "typeString": "bool"
@@ -1600,42 +1600,42 @@
1600
1600
  "visibility": "internal"
1601
1601
  }
1602
1602
  ],
1603
- "src": "3987:16:54"
1603
+ "src": "3987:16:53"
1604
1604
  },
1605
- "scope": 19662,
1606
- "src": "3890:114:54",
1605
+ "scope": 19399,
1606
+ "src": "3890:114:53",
1607
1607
  "stateMutability": "view",
1608
1608
  "virtual": false,
1609
1609
  "visibility": "external"
1610
1610
  },
1611
1611
  {
1612
1612
  "documentation": {
1613
- "id": 19469,
1613
+ "id": 19206,
1614
1614
  "nodeType": "StructuredDocumentation",
1615
- "src": "4010:277:54",
1615
+ "src": "4010:277:53",
1616
1616
  "text": " @notice Get a list of agreements that is active for the account\n @dev An active agreement is one that has state for the account\n @param account Account to query\n @return activeAgreements List of accounts that have non-zero states for the account"
1617
1617
  },
1618
1618
  "functionSelector": "386fa221",
1619
- "id": 19478,
1619
+ "id": 19215,
1620
1620
  "implemented": false,
1621
1621
  "kind": "function",
1622
1622
  "modifiers": [],
1623
1623
  "name": "getAccountActiveAgreements",
1624
- "nameLocation": "4301:26:54",
1624
+ "nameLocation": "4301:26:53",
1625
1625
  "nodeType": "FunctionDefinition",
1626
1626
  "parameters": {
1627
- "id": 19472,
1627
+ "id": 19209,
1628
1628
  "nodeType": "ParameterList",
1629
1629
  "parameters": [
1630
1630
  {
1631
1631
  "constant": false,
1632
- "id": 19471,
1632
+ "id": 19208,
1633
1633
  "mutability": "mutable",
1634
1634
  "name": "account",
1635
- "nameLocation": "4336:7:54",
1635
+ "nameLocation": "4336:7:53",
1636
1636
  "nodeType": "VariableDeclaration",
1637
- "scope": 19478,
1638
- "src": "4328:15:54",
1637
+ "scope": 19215,
1638
+ "src": "4328:15:53",
1639
1639
  "stateVariable": false,
1640
1640
  "storageLocation": "default",
1641
1641
  "typeDescriptions": {
@@ -1643,10 +1643,10 @@
1643
1643
  "typeString": "address"
1644
1644
  },
1645
1645
  "typeName": {
1646
- "id": 19470,
1646
+ "id": 19207,
1647
1647
  "name": "address",
1648
1648
  "nodeType": "ElementaryTypeName",
1649
- "src": "4328:7:54",
1649
+ "src": "4328:7:53",
1650
1650
  "stateMutability": "nonpayable",
1651
1651
  "typeDescriptions": {
1652
1652
  "typeIdentifier": "t_address",
@@ -1656,92 +1656,92 @@
1656
1656
  "visibility": "internal"
1657
1657
  }
1658
1658
  ],
1659
- "src": "4327:17:54"
1659
+ "src": "4327:17:53"
1660
1660
  },
1661
1661
  "returnParameters": {
1662
- "id": 19477,
1662
+ "id": 19214,
1663
1663
  "nodeType": "ParameterList",
1664
1664
  "parameters": [
1665
1665
  {
1666
1666
  "constant": false,
1667
- "id": 19476,
1667
+ "id": 19213,
1668
1668
  "mutability": "mutable",
1669
1669
  "name": "activeAgreements",
1670
- "nameLocation": "4406:16:54",
1670
+ "nameLocation": "4406:16:53",
1671
1671
  "nodeType": "VariableDeclaration",
1672
- "scope": 19478,
1673
- "src": "4381:41:54",
1672
+ "scope": 19215,
1673
+ "src": "4381:41:53",
1674
1674
  "stateVariable": false,
1675
1675
  "storageLocation": "memory",
1676
1676
  "typeDescriptions": {
1677
- "typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$18212_$dyn_memory_ptr",
1677
+ "typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$17949_$dyn_memory_ptr",
1678
1678
  "typeString": "contract ISuperAgreement[]"
1679
1679
  },
1680
1680
  "typeName": {
1681
1681
  "baseType": {
1682
- "id": 19474,
1682
+ "id": 19211,
1683
1683
  "nodeType": "UserDefinedTypeName",
1684
1684
  "pathNode": {
1685
- "id": 19473,
1685
+ "id": 19210,
1686
1686
  "name": "ISuperAgreement",
1687
1687
  "nodeType": "IdentifierPath",
1688
- "referencedDeclaration": 18212,
1689
- "src": "4381:15:54"
1688
+ "referencedDeclaration": 17949,
1689
+ "src": "4381:15:53"
1690
1690
  },
1691
- "referencedDeclaration": 18212,
1692
- "src": "4381:15:54",
1691
+ "referencedDeclaration": 17949,
1692
+ "src": "4381:15:53",
1693
1693
  "typeDescriptions": {
1694
- "typeIdentifier": "t_contract$_ISuperAgreement_$18212",
1694
+ "typeIdentifier": "t_contract$_ISuperAgreement_$17949",
1695
1695
  "typeString": "contract ISuperAgreement"
1696
1696
  }
1697
1697
  },
1698
- "id": 19475,
1698
+ "id": 19212,
1699
1699
  "nodeType": "ArrayTypeName",
1700
- "src": "4381:17:54",
1700
+ "src": "4381:17:53",
1701
1701
  "typeDescriptions": {
1702
- "typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$18212_$dyn_storage_ptr",
1702
+ "typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$17949_$dyn_storage_ptr",
1703
1703
  "typeString": "contract ISuperAgreement[]"
1704
1704
  }
1705
1705
  },
1706
1706
  "visibility": "internal"
1707
1707
  }
1708
1708
  ],
1709
- "src": "4380:43:54"
1709
+ "src": "4380:43:53"
1710
1710
  },
1711
- "scope": 19662,
1712
- "src": "4292:132:54",
1711
+ "scope": 19399,
1712
+ "src": "4292:132:53",
1713
1713
  "stateMutability": "view",
1714
1714
  "virtual": false,
1715
1715
  "visibility": "external"
1716
1716
  },
1717
1717
  {
1718
1718
  "documentation": {
1719
- "id": 19479,
1719
+ "id": 19216,
1720
1720
  "nodeType": "StructuredDocumentation",
1721
- "src": "4630:110:54",
1721
+ "src": "4630:110:53",
1722
1722
  "text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
1723
1723
  },
1724
1724
  "functionSelector": "12a6a3f8",
1725
- "id": 19487,
1725
+ "id": 19224,
1726
1726
  "implemented": false,
1727
1727
  "kind": "function",
1728
1728
  "modifiers": [],
1729
1729
  "name": "createAgreement",
1730
- "nameLocation": "4754:15:54",
1730
+ "nameLocation": "4754:15:53",
1731
1731
  "nodeType": "FunctionDefinition",
1732
1732
  "parameters": {
1733
- "id": 19485,
1733
+ "id": 19222,
1734
1734
  "nodeType": "ParameterList",
1735
1735
  "parameters": [
1736
1736
  {
1737
1737
  "constant": false,
1738
- "id": 19481,
1738
+ "id": 19218,
1739
1739
  "mutability": "mutable",
1740
1740
  "name": "id",
1741
- "nameLocation": "4787:2:54",
1741
+ "nameLocation": "4787:2:53",
1742
1742
  "nodeType": "VariableDeclaration",
1743
- "scope": 19487,
1744
- "src": "4779:10:54",
1743
+ "scope": 19224,
1744
+ "src": "4779:10:53",
1745
1745
  "stateVariable": false,
1746
1746
  "storageLocation": "default",
1747
1747
  "typeDescriptions": {
@@ -1749,10 +1749,10 @@
1749
1749
  "typeString": "bytes32"
1750
1750
  },
1751
1751
  "typeName": {
1752
- "id": 19480,
1752
+ "id": 19217,
1753
1753
  "name": "bytes32",
1754
1754
  "nodeType": "ElementaryTypeName",
1755
- "src": "4779:7:54",
1755
+ "src": "4779:7:53",
1756
1756
  "typeDescriptions": {
1757
1757
  "typeIdentifier": "t_bytes32",
1758
1758
  "typeString": "bytes32"
@@ -1762,13 +1762,13 @@
1762
1762
  },
1763
1763
  {
1764
1764
  "constant": false,
1765
- "id": 19484,
1765
+ "id": 19221,
1766
1766
  "mutability": "mutable",
1767
1767
  "name": "data",
1768
- "nameLocation": "4818:4:54",
1768
+ "nameLocation": "4818:4:53",
1769
1769
  "nodeType": "VariableDeclaration",
1770
- "scope": 19487,
1771
- "src": "4799:23:54",
1770
+ "scope": 19224,
1771
+ "src": "4799:23:53",
1772
1772
  "stateVariable": false,
1773
1773
  "storageLocation": "calldata",
1774
1774
  "typeDescriptions": {
@@ -1777,18 +1777,18 @@
1777
1777
  },
1778
1778
  "typeName": {
1779
1779
  "baseType": {
1780
- "id": 19482,
1780
+ "id": 19219,
1781
1781
  "name": "bytes32",
1782
1782
  "nodeType": "ElementaryTypeName",
1783
- "src": "4799:7:54",
1783
+ "src": "4799:7:53",
1784
1784
  "typeDescriptions": {
1785
1785
  "typeIdentifier": "t_bytes32",
1786
1786
  "typeString": "bytes32"
1787
1787
  }
1788
1788
  },
1789
- "id": 19483,
1789
+ "id": 19220,
1790
1790
  "nodeType": "ArrayTypeName",
1791
- "src": "4799:9:54",
1791
+ "src": "4799:9:53",
1792
1792
  "typeDescriptions": {
1793
1793
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
1794
1794
  "typeString": "bytes32[]"
@@ -1797,16 +1797,16 @@
1797
1797
  "visibility": "internal"
1798
1798
  }
1799
1799
  ],
1800
- "src": "4769:59:54"
1800
+ "src": "4769:59:53"
1801
1801
  },
1802
1802
  "returnParameters": {
1803
- "id": 19486,
1803
+ "id": 19223,
1804
1804
  "nodeType": "ParameterList",
1805
1805
  "parameters": [],
1806
- "src": "4845:0:54"
1806
+ "src": "4845:0:53"
1807
1807
  },
1808
- "scope": 19662,
1809
- "src": "4745:101:54",
1808
+ "scope": 19399,
1809
+ "src": "4745:101:53",
1810
1810
  "stateMutability": "nonpayable",
1811
1811
  "virtual": false,
1812
1812
  "visibility": "external"
@@ -1814,30 +1814,30 @@
1814
1814
  {
1815
1815
  "anonymous": false,
1816
1816
  "documentation": {
1817
- "id": 19488,
1817
+ "id": 19225,
1818
1818
  "nodeType": "StructuredDocumentation",
1819
- "src": "4851:174:54",
1819
+ "src": "4851:174:53",
1820
1820
  "text": " @dev Agreement created event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
1821
1821
  },
1822
1822
  "eventSelector": "770ea40a13a4644573ed785e5c7116890709947918747febc5add46feb531e2d",
1823
- "id": 19497,
1823
+ "id": 19234,
1824
1824
  "name": "AgreementCreated",
1825
- "nameLocation": "5036:16:54",
1825
+ "nameLocation": "5036:16:53",
1826
1826
  "nodeType": "EventDefinition",
1827
1827
  "parameters": {
1828
- "id": 19496,
1828
+ "id": 19233,
1829
1829
  "nodeType": "ParameterList",
1830
1830
  "parameters": [
1831
1831
  {
1832
1832
  "constant": false,
1833
- "id": 19490,
1833
+ "id": 19227,
1834
1834
  "indexed": true,
1835
1835
  "mutability": "mutable",
1836
1836
  "name": "agreementClass",
1837
- "nameLocation": "5078:14:54",
1837
+ "nameLocation": "5078:14:53",
1838
1838
  "nodeType": "VariableDeclaration",
1839
- "scope": 19497,
1840
- "src": "5062:30:54",
1839
+ "scope": 19234,
1840
+ "src": "5062:30:53",
1841
1841
  "stateVariable": false,
1842
1842
  "storageLocation": "default",
1843
1843
  "typeDescriptions": {
@@ -1845,10 +1845,10 @@
1845
1845
  "typeString": "address"
1846
1846
  },
1847
1847
  "typeName": {
1848
- "id": 19489,
1848
+ "id": 19226,
1849
1849
  "name": "address",
1850
1850
  "nodeType": "ElementaryTypeName",
1851
- "src": "5062:7:54",
1851
+ "src": "5062:7:53",
1852
1852
  "stateMutability": "nonpayable",
1853
1853
  "typeDescriptions": {
1854
1854
  "typeIdentifier": "t_address",
@@ -1859,14 +1859,14 @@
1859
1859
  },
1860
1860
  {
1861
1861
  "constant": false,
1862
- "id": 19492,
1862
+ "id": 19229,
1863
1863
  "indexed": false,
1864
1864
  "mutability": "mutable",
1865
1865
  "name": "id",
1866
- "nameLocation": "5110:2:54",
1866
+ "nameLocation": "5110:2:53",
1867
1867
  "nodeType": "VariableDeclaration",
1868
- "scope": 19497,
1869
- "src": "5102:10:54",
1868
+ "scope": 19234,
1869
+ "src": "5102:10:53",
1870
1870
  "stateVariable": false,
1871
1871
  "storageLocation": "default",
1872
1872
  "typeDescriptions": {
@@ -1874,10 +1874,10 @@
1874
1874
  "typeString": "bytes32"
1875
1875
  },
1876
1876
  "typeName": {
1877
- "id": 19491,
1877
+ "id": 19228,
1878
1878
  "name": "bytes32",
1879
1879
  "nodeType": "ElementaryTypeName",
1880
- "src": "5102:7:54",
1880
+ "src": "5102:7:53",
1881
1881
  "typeDescriptions": {
1882
1882
  "typeIdentifier": "t_bytes32",
1883
1883
  "typeString": "bytes32"
@@ -1887,14 +1887,14 @@
1887
1887
  },
1888
1888
  {
1889
1889
  "constant": false,
1890
- "id": 19495,
1890
+ "id": 19232,
1891
1891
  "indexed": false,
1892
1892
  "mutability": "mutable",
1893
1893
  "name": "data",
1894
- "nameLocation": "5132:4:54",
1894
+ "nameLocation": "5132:4:53",
1895
1895
  "nodeType": "VariableDeclaration",
1896
- "scope": 19497,
1897
- "src": "5122:14:54",
1896
+ "scope": 19234,
1897
+ "src": "5122:14:53",
1898
1898
  "stateVariable": false,
1899
1899
  "storageLocation": "default",
1900
1900
  "typeDescriptions": {
@@ -1903,18 +1903,18 @@
1903
1903
  },
1904
1904
  "typeName": {
1905
1905
  "baseType": {
1906
- "id": 19493,
1906
+ "id": 19230,
1907
1907
  "name": "bytes32",
1908
1908
  "nodeType": "ElementaryTypeName",
1909
- "src": "5122:7:54",
1909
+ "src": "5122:7:53",
1910
1910
  "typeDescriptions": {
1911
1911
  "typeIdentifier": "t_bytes32",
1912
1912
  "typeString": "bytes32"
1913
1913
  }
1914
1914
  },
1915
- "id": 19494,
1915
+ "id": 19231,
1916
1916
  "nodeType": "ArrayTypeName",
1917
- "src": "5122:9:54",
1917
+ "src": "5122:9:53",
1918
1918
  "typeDescriptions": {
1919
1919
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
1920
1920
  "typeString": "bytes32[]"
@@ -1923,38 +1923,38 @@
1923
1923
  "visibility": "internal"
1924
1924
  }
1925
1925
  ],
1926
- "src": "5052:90:54"
1926
+ "src": "5052:90:53"
1927
1927
  },
1928
- "src": "5030:113:54"
1928
+ "src": "5030:113:53"
1929
1929
  },
1930
1930
  {
1931
1931
  "documentation": {
1932
- "id": 19498,
1932
+ "id": 19235,
1933
1933
  "nodeType": "StructuredDocumentation",
1934
- "src": "5149:184:54",
1934
+ "src": "5149:184:53",
1935
1935
  "text": " @dev Get data of the agreement\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @return data Data of the agreement"
1936
1936
  },
1937
1937
  "functionSelector": "6c2d9f2f",
1938
- "id": 19510,
1938
+ "id": 19247,
1939
1939
  "implemented": false,
1940
1940
  "kind": "function",
1941
1941
  "modifiers": [],
1942
1942
  "name": "getAgreementData",
1943
- "nameLocation": "5347:16:54",
1943
+ "nameLocation": "5347:16:53",
1944
1944
  "nodeType": "FunctionDefinition",
1945
1945
  "parameters": {
1946
- "id": 19505,
1946
+ "id": 19242,
1947
1947
  "nodeType": "ParameterList",
1948
1948
  "parameters": [
1949
1949
  {
1950
1950
  "constant": false,
1951
- "id": 19500,
1951
+ "id": 19237,
1952
1952
  "mutability": "mutable",
1953
1953
  "name": "agreementClass",
1954
- "nameLocation": "5381:14:54",
1954
+ "nameLocation": "5381:14:53",
1955
1955
  "nodeType": "VariableDeclaration",
1956
- "scope": 19510,
1957
- "src": "5373:22:54",
1956
+ "scope": 19247,
1957
+ "src": "5373:22:53",
1958
1958
  "stateVariable": false,
1959
1959
  "storageLocation": "default",
1960
1960
  "typeDescriptions": {
@@ -1962,10 +1962,10 @@
1962
1962
  "typeString": "address"
1963
1963
  },
1964
1964
  "typeName": {
1965
- "id": 19499,
1965
+ "id": 19236,
1966
1966
  "name": "address",
1967
1967
  "nodeType": "ElementaryTypeName",
1968
- "src": "5373:7:54",
1968
+ "src": "5373:7:53",
1969
1969
  "stateMutability": "nonpayable",
1970
1970
  "typeDescriptions": {
1971
1971
  "typeIdentifier": "t_address",
@@ -1976,13 +1976,13 @@
1976
1976
  },
1977
1977
  {
1978
1978
  "constant": false,
1979
- "id": 19502,
1979
+ "id": 19239,
1980
1980
  "mutability": "mutable",
1981
1981
  "name": "id",
1982
- "nameLocation": "5413:2:54",
1982
+ "nameLocation": "5413:2:53",
1983
1983
  "nodeType": "VariableDeclaration",
1984
- "scope": 19510,
1985
- "src": "5405:10:54",
1984
+ "scope": 19247,
1985
+ "src": "5405:10:53",
1986
1986
  "stateVariable": false,
1987
1987
  "storageLocation": "default",
1988
1988
  "typeDescriptions": {
@@ -1990,10 +1990,10 @@
1990
1990
  "typeString": "bytes32"
1991
1991
  },
1992
1992
  "typeName": {
1993
- "id": 19501,
1993
+ "id": 19238,
1994
1994
  "name": "bytes32",
1995
1995
  "nodeType": "ElementaryTypeName",
1996
- "src": "5405:7:54",
1996
+ "src": "5405:7:53",
1997
1997
  "typeDescriptions": {
1998
1998
  "typeIdentifier": "t_bytes32",
1999
1999
  "typeString": "bytes32"
@@ -2003,13 +2003,13 @@
2003
2003
  },
2004
2004
  {
2005
2005
  "constant": false,
2006
- "id": 19504,
2006
+ "id": 19241,
2007
2007
  "mutability": "mutable",
2008
2008
  "name": "dataLength",
2009
- "nameLocation": "5430:10:54",
2009
+ "nameLocation": "5430:10:53",
2010
2010
  "nodeType": "VariableDeclaration",
2011
- "scope": 19510,
2012
- "src": "5425:15:54",
2011
+ "scope": 19247,
2012
+ "src": "5425:15:53",
2013
2013
  "stateVariable": false,
2014
2014
  "storageLocation": "default",
2015
2015
  "typeDescriptions": {
@@ -2017,10 +2017,10 @@
2017
2017
  "typeString": "uint256"
2018
2018
  },
2019
2019
  "typeName": {
2020
- "id": 19503,
2020
+ "id": 19240,
2021
2021
  "name": "uint",
2022
2022
  "nodeType": "ElementaryTypeName",
2023
- "src": "5425:4:54",
2023
+ "src": "5425:4:53",
2024
2024
  "typeDescriptions": {
2025
2025
  "typeIdentifier": "t_uint256",
2026
2026
  "typeString": "uint256"
@@ -2029,21 +2029,21 @@
2029
2029
  "visibility": "internal"
2030
2030
  }
2031
2031
  ],
2032
- "src": "5363:83:54"
2032
+ "src": "5363:83:53"
2033
2033
  },
2034
2034
  "returnParameters": {
2035
- "id": 19509,
2035
+ "id": 19246,
2036
2036
  "nodeType": "ParameterList",
2037
2037
  "parameters": [
2038
2038
  {
2039
2039
  "constant": false,
2040
- "id": 19508,
2040
+ "id": 19245,
2041
2041
  "mutability": "mutable",
2042
2042
  "name": "data",
2043
- "nameLocation": "5502:4:54",
2043
+ "nameLocation": "5502:4:53",
2044
2044
  "nodeType": "VariableDeclaration",
2045
- "scope": 19510,
2046
- "src": "5485:21:54",
2045
+ "scope": 19247,
2046
+ "src": "5485:21:53",
2047
2047
  "stateVariable": false,
2048
2048
  "storageLocation": "memory",
2049
2049
  "typeDescriptions": {
@@ -2052,18 +2052,18 @@
2052
2052
  },
2053
2053
  "typeName": {
2054
2054
  "baseType": {
2055
- "id": 19506,
2055
+ "id": 19243,
2056
2056
  "name": "bytes32",
2057
2057
  "nodeType": "ElementaryTypeName",
2058
- "src": "5485:7:54",
2058
+ "src": "5485:7:53",
2059
2059
  "typeDescriptions": {
2060
2060
  "typeIdentifier": "t_bytes32",
2061
2061
  "typeString": "bytes32"
2062
2062
  }
2063
2063
  },
2064
- "id": 19507,
2064
+ "id": 19244,
2065
2065
  "nodeType": "ArrayTypeName",
2066
- "src": "5485:9:54",
2066
+ "src": "5485:9:53",
2067
2067
  "typeDescriptions": {
2068
2068
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
2069
2069
  "typeString": "bytes32[]"
@@ -2072,42 +2072,42 @@
2072
2072
  "visibility": "internal"
2073
2073
  }
2074
2074
  ],
2075
- "src": "5484:23:54"
2075
+ "src": "5484:23:53"
2076
2076
  },
2077
- "scope": 19662,
2078
- "src": "5338:170:54",
2077
+ "scope": 19399,
2078
+ "src": "5338:170:53",
2079
2079
  "stateMutability": "view",
2080
2080
  "virtual": false,
2081
2081
  "visibility": "external"
2082
2082
  },
2083
2083
  {
2084
2084
  "documentation": {
2085
- "id": 19511,
2085
+ "id": 19248,
2086
2086
  "nodeType": "StructuredDocumentation",
2087
- "src": "5514:110:54",
2087
+ "src": "5514:110:53",
2088
2088
  "text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
2089
2089
  },
2090
2090
  "functionSelector": "a1b2bf8b",
2091
- "id": 19519,
2091
+ "id": 19256,
2092
2092
  "implemented": false,
2093
2093
  "kind": "function",
2094
2094
  "modifiers": [],
2095
2095
  "name": "updateAgreementData",
2096
- "nameLocation": "5638:19:54",
2096
+ "nameLocation": "5638:19:53",
2097
2097
  "nodeType": "FunctionDefinition",
2098
2098
  "parameters": {
2099
- "id": 19517,
2099
+ "id": 19254,
2100
2100
  "nodeType": "ParameterList",
2101
2101
  "parameters": [
2102
2102
  {
2103
2103
  "constant": false,
2104
- "id": 19513,
2104
+ "id": 19250,
2105
2105
  "mutability": "mutable",
2106
2106
  "name": "id",
2107
- "nameLocation": "5675:2:54",
2107
+ "nameLocation": "5675:2:53",
2108
2108
  "nodeType": "VariableDeclaration",
2109
- "scope": 19519,
2110
- "src": "5667:10:54",
2109
+ "scope": 19256,
2110
+ "src": "5667:10:53",
2111
2111
  "stateVariable": false,
2112
2112
  "storageLocation": "default",
2113
2113
  "typeDescriptions": {
@@ -2115,10 +2115,10 @@
2115
2115
  "typeString": "bytes32"
2116
2116
  },
2117
2117
  "typeName": {
2118
- "id": 19512,
2118
+ "id": 19249,
2119
2119
  "name": "bytes32",
2120
2120
  "nodeType": "ElementaryTypeName",
2121
- "src": "5667:7:54",
2121
+ "src": "5667:7:53",
2122
2122
  "typeDescriptions": {
2123
2123
  "typeIdentifier": "t_bytes32",
2124
2124
  "typeString": "bytes32"
@@ -2128,13 +2128,13 @@
2128
2128
  },
2129
2129
  {
2130
2130
  "constant": false,
2131
- "id": 19516,
2131
+ "id": 19253,
2132
2132
  "mutability": "mutable",
2133
2133
  "name": "data",
2134
- "nameLocation": "5706:4:54",
2134
+ "nameLocation": "5706:4:53",
2135
2135
  "nodeType": "VariableDeclaration",
2136
- "scope": 19519,
2137
- "src": "5687:23:54",
2136
+ "scope": 19256,
2137
+ "src": "5687:23:53",
2138
2138
  "stateVariable": false,
2139
2139
  "storageLocation": "calldata",
2140
2140
  "typeDescriptions": {
@@ -2143,18 +2143,18 @@
2143
2143
  },
2144
2144
  "typeName": {
2145
2145
  "baseType": {
2146
- "id": 19514,
2146
+ "id": 19251,
2147
2147
  "name": "bytes32",
2148
2148
  "nodeType": "ElementaryTypeName",
2149
- "src": "5687:7:54",
2149
+ "src": "5687:7:53",
2150
2150
  "typeDescriptions": {
2151
2151
  "typeIdentifier": "t_bytes32",
2152
2152
  "typeString": "bytes32"
2153
2153
  }
2154
2154
  },
2155
- "id": 19515,
2155
+ "id": 19252,
2156
2156
  "nodeType": "ArrayTypeName",
2157
- "src": "5687:9:54",
2157
+ "src": "5687:9:53",
2158
2158
  "typeDescriptions": {
2159
2159
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
2160
2160
  "typeString": "bytes32[]"
@@ -2163,16 +2163,16 @@
2163
2163
  "visibility": "internal"
2164
2164
  }
2165
2165
  ],
2166
- "src": "5657:59:54"
2166
+ "src": "5657:59:53"
2167
2167
  },
2168
2168
  "returnParameters": {
2169
- "id": 19518,
2169
+ "id": 19255,
2170
2170
  "nodeType": "ParameterList",
2171
2171
  "parameters": [],
2172
- "src": "5733:0:54"
2172
+ "src": "5733:0:53"
2173
2173
  },
2174
- "scope": 19662,
2175
- "src": "5629:105:54",
2174
+ "scope": 19399,
2175
+ "src": "5629:105:53",
2176
2176
  "stateMutability": "nonpayable",
2177
2177
  "virtual": false,
2178
2178
  "visibility": "external"
@@ -2180,30 +2180,30 @@
2180
2180
  {
2181
2181
  "anonymous": false,
2182
2182
  "documentation": {
2183
- "id": 19520,
2183
+ "id": 19257,
2184
2184
  "nodeType": "StructuredDocumentation",
2185
- "src": "5739:174:54",
2185
+ "src": "5739:174:53",
2186
2186
  "text": " @dev Agreement updated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
2187
2187
  },
2188
2188
  "eventSelector": "0c4c547b3a4fcaa5be8353b3111472b124155bccc86de811d4a481c9e6e9faca",
2189
- "id": 19529,
2189
+ "id": 19266,
2190
2190
  "name": "AgreementUpdated",
2191
- "nameLocation": "5924:16:54",
2191
+ "nameLocation": "5924:16:53",
2192
2192
  "nodeType": "EventDefinition",
2193
2193
  "parameters": {
2194
- "id": 19528,
2194
+ "id": 19265,
2195
2195
  "nodeType": "ParameterList",
2196
2196
  "parameters": [
2197
2197
  {
2198
2198
  "constant": false,
2199
- "id": 19522,
2199
+ "id": 19259,
2200
2200
  "indexed": true,
2201
2201
  "mutability": "mutable",
2202
2202
  "name": "agreementClass",
2203
- "nameLocation": "5966:14:54",
2203
+ "nameLocation": "5966:14:53",
2204
2204
  "nodeType": "VariableDeclaration",
2205
- "scope": 19529,
2206
- "src": "5950:30:54",
2205
+ "scope": 19266,
2206
+ "src": "5950:30:53",
2207
2207
  "stateVariable": false,
2208
2208
  "storageLocation": "default",
2209
2209
  "typeDescriptions": {
@@ -2211,10 +2211,10 @@
2211
2211
  "typeString": "address"
2212
2212
  },
2213
2213
  "typeName": {
2214
- "id": 19521,
2214
+ "id": 19258,
2215
2215
  "name": "address",
2216
2216
  "nodeType": "ElementaryTypeName",
2217
- "src": "5950:7:54",
2217
+ "src": "5950:7:53",
2218
2218
  "stateMutability": "nonpayable",
2219
2219
  "typeDescriptions": {
2220
2220
  "typeIdentifier": "t_address",
@@ -2225,14 +2225,14 @@
2225
2225
  },
2226
2226
  {
2227
2227
  "constant": false,
2228
- "id": 19524,
2228
+ "id": 19261,
2229
2229
  "indexed": false,
2230
2230
  "mutability": "mutable",
2231
2231
  "name": "id",
2232
- "nameLocation": "5998:2:54",
2232
+ "nameLocation": "5998:2:53",
2233
2233
  "nodeType": "VariableDeclaration",
2234
- "scope": 19529,
2235
- "src": "5990:10:54",
2234
+ "scope": 19266,
2235
+ "src": "5990:10:53",
2236
2236
  "stateVariable": false,
2237
2237
  "storageLocation": "default",
2238
2238
  "typeDescriptions": {
@@ -2240,10 +2240,10 @@
2240
2240
  "typeString": "bytes32"
2241
2241
  },
2242
2242
  "typeName": {
2243
- "id": 19523,
2243
+ "id": 19260,
2244
2244
  "name": "bytes32",
2245
2245
  "nodeType": "ElementaryTypeName",
2246
- "src": "5990:7:54",
2246
+ "src": "5990:7:53",
2247
2247
  "typeDescriptions": {
2248
2248
  "typeIdentifier": "t_bytes32",
2249
2249
  "typeString": "bytes32"
@@ -2253,14 +2253,14 @@
2253
2253
  },
2254
2254
  {
2255
2255
  "constant": false,
2256
- "id": 19527,
2256
+ "id": 19264,
2257
2257
  "indexed": false,
2258
2258
  "mutability": "mutable",
2259
2259
  "name": "data",
2260
- "nameLocation": "6020:4:54",
2260
+ "nameLocation": "6020:4:53",
2261
2261
  "nodeType": "VariableDeclaration",
2262
- "scope": 19529,
2263
- "src": "6010:14:54",
2262
+ "scope": 19266,
2263
+ "src": "6010:14:53",
2264
2264
  "stateVariable": false,
2265
2265
  "storageLocation": "default",
2266
2266
  "typeDescriptions": {
@@ -2269,18 +2269,18 @@
2269
2269
  },
2270
2270
  "typeName": {
2271
2271
  "baseType": {
2272
- "id": 19525,
2272
+ "id": 19262,
2273
2273
  "name": "bytes32",
2274
2274
  "nodeType": "ElementaryTypeName",
2275
- "src": "6010:7:54",
2275
+ "src": "6010:7:53",
2276
2276
  "typeDescriptions": {
2277
2277
  "typeIdentifier": "t_bytes32",
2278
2278
  "typeString": "bytes32"
2279
2279
  }
2280
2280
  },
2281
- "id": 19526,
2281
+ "id": 19263,
2282
2282
  "nodeType": "ArrayTypeName",
2283
- "src": "6010:9:54",
2283
+ "src": "6010:9:53",
2284
2284
  "typeDescriptions": {
2285
2285
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
2286
2286
  "typeString": "bytes32[]"
@@ -2289,38 +2289,38 @@
2289
2289
  "visibility": "internal"
2290
2290
  }
2291
2291
  ],
2292
- "src": "5940:90:54"
2292
+ "src": "5940:90:53"
2293
2293
  },
2294
- "src": "5918:113:54"
2294
+ "src": "5918:113:53"
2295
2295
  },
2296
2296
  {
2297
2297
  "documentation": {
2298
- "id": 19530,
2298
+ "id": 19267,
2299
2299
  "nodeType": "StructuredDocumentation",
2300
- "src": "6037:73:54",
2300
+ "src": "6037:73:53",
2301
2301
  "text": " @dev Close the agreement\n @param id Agreement ID"
2302
2302
  },
2303
2303
  "functionSelector": "27048397",
2304
- "id": 19537,
2304
+ "id": 19274,
2305
2305
  "implemented": false,
2306
2306
  "kind": "function",
2307
2307
  "modifiers": [],
2308
2308
  "name": "terminateAgreement",
2309
- "nameLocation": "6124:18:54",
2309
+ "nameLocation": "6124:18:53",
2310
2310
  "nodeType": "FunctionDefinition",
2311
2311
  "parameters": {
2312
- "id": 19535,
2312
+ "id": 19272,
2313
2313
  "nodeType": "ParameterList",
2314
2314
  "parameters": [
2315
2315
  {
2316
2316
  "constant": false,
2317
- "id": 19532,
2317
+ "id": 19269,
2318
2318
  "mutability": "mutable",
2319
2319
  "name": "id",
2320
- "nameLocation": "6160:2:54",
2320
+ "nameLocation": "6160:2:53",
2321
2321
  "nodeType": "VariableDeclaration",
2322
- "scope": 19537,
2323
- "src": "6152:10:54",
2322
+ "scope": 19274,
2323
+ "src": "6152:10:53",
2324
2324
  "stateVariable": false,
2325
2325
  "storageLocation": "default",
2326
2326
  "typeDescriptions": {
@@ -2328,10 +2328,10 @@
2328
2328
  "typeString": "bytes32"
2329
2329
  },
2330
2330
  "typeName": {
2331
- "id": 19531,
2331
+ "id": 19268,
2332
2332
  "name": "bytes32",
2333
2333
  "nodeType": "ElementaryTypeName",
2334
- "src": "6152:7:54",
2334
+ "src": "6152:7:53",
2335
2335
  "typeDescriptions": {
2336
2336
  "typeIdentifier": "t_bytes32",
2337
2337
  "typeString": "bytes32"
@@ -2341,13 +2341,13 @@
2341
2341
  },
2342
2342
  {
2343
2343
  "constant": false,
2344
- "id": 19534,
2344
+ "id": 19271,
2345
2345
  "mutability": "mutable",
2346
2346
  "name": "dataLength",
2347
- "nameLocation": "6177:10:54",
2347
+ "nameLocation": "6177:10:53",
2348
2348
  "nodeType": "VariableDeclaration",
2349
- "scope": 19537,
2350
- "src": "6172:15:54",
2349
+ "scope": 19274,
2350
+ "src": "6172:15:53",
2351
2351
  "stateVariable": false,
2352
2352
  "storageLocation": "default",
2353
2353
  "typeDescriptions": {
@@ -2355,10 +2355,10 @@
2355
2355
  "typeString": "uint256"
2356
2356
  },
2357
2357
  "typeName": {
2358
- "id": 19533,
2358
+ "id": 19270,
2359
2359
  "name": "uint",
2360
2360
  "nodeType": "ElementaryTypeName",
2361
- "src": "6172:4:54",
2361
+ "src": "6172:4:53",
2362
2362
  "typeDescriptions": {
2363
2363
  "typeIdentifier": "t_uint256",
2364
2364
  "typeString": "uint256"
@@ -2367,16 +2367,16 @@
2367
2367
  "visibility": "internal"
2368
2368
  }
2369
2369
  ],
2370
- "src": "6142:51:54"
2370
+ "src": "6142:51:53"
2371
2371
  },
2372
2372
  "returnParameters": {
2373
- "id": 19536,
2373
+ "id": 19273,
2374
2374
  "nodeType": "ParameterList",
2375
2375
  "parameters": [],
2376
- "src": "6210:0:54"
2376
+ "src": "6210:0:53"
2377
2377
  },
2378
- "scope": 19662,
2379
- "src": "6115:96:54",
2378
+ "scope": 19399,
2379
+ "src": "6115:96:53",
2380
2380
  "stateMutability": "nonpayable",
2381
2381
  "virtual": false,
2382
2382
  "visibility": "external"
@@ -2384,30 +2384,30 @@
2384
2384
  {
2385
2385
  "anonymous": false,
2386
2386
  "documentation": {
2387
- "id": 19538,
2387
+ "id": 19275,
2388
2388
  "nodeType": "StructuredDocumentation",
2389
- "src": "6216:143:54",
2389
+ "src": "6216:143:53",
2390
2390
  "text": " @dev Agreement terminated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID"
2391
2391
  },
2392
2392
  "eventSelector": "71a63dc095de07aa5512ad57a7596a39516317e316981a1cd71000057be1537b",
2393
- "id": 19544,
2393
+ "id": 19281,
2394
2394
  "name": "AgreementTerminated",
2395
- "nameLocation": "6370:19:54",
2395
+ "nameLocation": "6370:19:53",
2396
2396
  "nodeType": "EventDefinition",
2397
2397
  "parameters": {
2398
- "id": 19543,
2398
+ "id": 19280,
2399
2399
  "nodeType": "ParameterList",
2400
2400
  "parameters": [
2401
2401
  {
2402
2402
  "constant": false,
2403
- "id": 19540,
2403
+ "id": 19277,
2404
2404
  "indexed": true,
2405
2405
  "mutability": "mutable",
2406
2406
  "name": "agreementClass",
2407
- "nameLocation": "6415:14:54",
2407
+ "nameLocation": "6415:14:53",
2408
2408
  "nodeType": "VariableDeclaration",
2409
- "scope": 19544,
2410
- "src": "6399:30:54",
2409
+ "scope": 19281,
2410
+ "src": "6399:30:53",
2411
2411
  "stateVariable": false,
2412
2412
  "storageLocation": "default",
2413
2413
  "typeDescriptions": {
@@ -2415,10 +2415,10 @@
2415
2415
  "typeString": "address"
2416
2416
  },
2417
2417
  "typeName": {
2418
- "id": 19539,
2418
+ "id": 19276,
2419
2419
  "name": "address",
2420
2420
  "nodeType": "ElementaryTypeName",
2421
- "src": "6399:7:54",
2421
+ "src": "6399:7:53",
2422
2422
  "stateMutability": "nonpayable",
2423
2423
  "typeDescriptions": {
2424
2424
  "typeIdentifier": "t_address",
@@ -2429,14 +2429,14 @@
2429
2429
  },
2430
2430
  {
2431
2431
  "constant": false,
2432
- "id": 19542,
2432
+ "id": 19279,
2433
2433
  "indexed": false,
2434
2434
  "mutability": "mutable",
2435
2435
  "name": "id",
2436
- "nameLocation": "6447:2:54",
2436
+ "nameLocation": "6447:2:53",
2437
2437
  "nodeType": "VariableDeclaration",
2438
- "scope": 19544,
2439
- "src": "6439:10:54",
2438
+ "scope": 19281,
2439
+ "src": "6439:10:53",
2440
2440
  "stateVariable": false,
2441
2441
  "storageLocation": "default",
2442
2442
  "typeDescriptions": {
@@ -2444,10 +2444,10 @@
2444
2444
  "typeString": "bytes32"
2445
2445
  },
2446
2446
  "typeName": {
2447
- "id": 19541,
2447
+ "id": 19278,
2448
2448
  "name": "bytes32",
2449
2449
  "nodeType": "ElementaryTypeName",
2450
- "src": "6439:7:54",
2450
+ "src": "6439:7:53",
2451
2451
  "typeDescriptions": {
2452
2452
  "typeIdentifier": "t_bytes32",
2453
2453
  "typeString": "bytes32"
@@ -2456,38 +2456,38 @@
2456
2456
  "visibility": "internal"
2457
2457
  }
2458
2458
  ],
2459
- "src": "6389:66:54"
2459
+ "src": "6389:66:53"
2460
2460
  },
2461
- "src": "6364:92:54"
2461
+ "src": "6364:92:53"
2462
2462
  },
2463
2463
  {
2464
2464
  "documentation": {
2465
- "id": 19545,
2465
+ "id": 19282,
2466
2466
  "nodeType": "StructuredDocumentation",
2467
- "src": "6462:190:54",
2467
+ "src": "6462:190:53",
2468
2468
  "text": " @dev Update agreement state slot\n @param account Account to be updated\n NOTE\n - To clear the storage out, provide zero-ed array of intended length"
2469
2469
  },
2470
2470
  "functionSelector": "090c415e",
2471
- "id": 19555,
2471
+ "id": 19292,
2472
2472
  "implemented": false,
2473
2473
  "kind": "function",
2474
2474
  "modifiers": [],
2475
2475
  "name": "updateAgreementStateSlot",
2476
- "nameLocation": "6666:24:54",
2476
+ "nameLocation": "6666:24:53",
2477
2477
  "nodeType": "FunctionDefinition",
2478
2478
  "parameters": {
2479
- "id": 19553,
2479
+ "id": 19290,
2480
2480
  "nodeType": "ParameterList",
2481
2481
  "parameters": [
2482
2482
  {
2483
2483
  "constant": false,
2484
- "id": 19547,
2484
+ "id": 19284,
2485
2485
  "mutability": "mutable",
2486
2486
  "name": "account",
2487
- "nameLocation": "6708:7:54",
2487
+ "nameLocation": "6708:7:53",
2488
2488
  "nodeType": "VariableDeclaration",
2489
- "scope": 19555,
2490
- "src": "6700:15:54",
2489
+ "scope": 19292,
2490
+ "src": "6700:15:53",
2491
2491
  "stateVariable": false,
2492
2492
  "storageLocation": "default",
2493
2493
  "typeDescriptions": {
@@ -2495,10 +2495,10 @@
2495
2495
  "typeString": "address"
2496
2496
  },
2497
2497
  "typeName": {
2498
- "id": 19546,
2498
+ "id": 19283,
2499
2499
  "name": "address",
2500
2500
  "nodeType": "ElementaryTypeName",
2501
- "src": "6700:7:54",
2501
+ "src": "6700:7:53",
2502
2502
  "stateMutability": "nonpayable",
2503
2503
  "typeDescriptions": {
2504
2504
  "typeIdentifier": "t_address",
@@ -2509,13 +2509,13 @@
2509
2509
  },
2510
2510
  {
2511
2511
  "constant": false,
2512
- "id": 19549,
2512
+ "id": 19286,
2513
2513
  "mutability": "mutable",
2514
2514
  "name": "slotId",
2515
- "nameLocation": "6733:6:54",
2515
+ "nameLocation": "6733:6:53",
2516
2516
  "nodeType": "VariableDeclaration",
2517
- "scope": 19555,
2518
- "src": "6725:14:54",
2517
+ "scope": 19292,
2518
+ "src": "6725:14:53",
2519
2519
  "stateVariable": false,
2520
2520
  "storageLocation": "default",
2521
2521
  "typeDescriptions": {
@@ -2523,10 +2523,10 @@
2523
2523
  "typeString": "uint256"
2524
2524
  },
2525
2525
  "typeName": {
2526
- "id": 19548,
2526
+ "id": 19285,
2527
2527
  "name": "uint256",
2528
2528
  "nodeType": "ElementaryTypeName",
2529
- "src": "6725:7:54",
2529
+ "src": "6725:7:53",
2530
2530
  "typeDescriptions": {
2531
2531
  "typeIdentifier": "t_uint256",
2532
2532
  "typeString": "uint256"
@@ -2536,13 +2536,13 @@
2536
2536
  },
2537
2537
  {
2538
2538
  "constant": false,
2539
- "id": 19552,
2539
+ "id": 19289,
2540
2540
  "mutability": "mutable",
2541
2541
  "name": "slotData",
2542
- "nameLocation": "6768:8:54",
2542
+ "nameLocation": "6768:8:53",
2543
2543
  "nodeType": "VariableDeclaration",
2544
- "scope": 19555,
2545
- "src": "6749:27:54",
2544
+ "scope": 19292,
2545
+ "src": "6749:27:53",
2546
2546
  "stateVariable": false,
2547
2547
  "storageLocation": "calldata",
2548
2548
  "typeDescriptions": {
@@ -2551,18 +2551,18 @@
2551
2551
  },
2552
2552
  "typeName": {
2553
2553
  "baseType": {
2554
- "id": 19550,
2554
+ "id": 19287,
2555
2555
  "name": "bytes32",
2556
2556
  "nodeType": "ElementaryTypeName",
2557
- "src": "6749:7:54",
2557
+ "src": "6749:7:53",
2558
2558
  "typeDescriptions": {
2559
2559
  "typeIdentifier": "t_bytes32",
2560
2560
  "typeString": "bytes32"
2561
2561
  }
2562
2562
  },
2563
- "id": 19551,
2563
+ "id": 19288,
2564
2564
  "nodeType": "ArrayTypeName",
2565
- "src": "6749:9:54",
2565
+ "src": "6749:9:53",
2566
2566
  "typeDescriptions": {
2567
2567
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
2568
2568
  "typeString": "bytes32[]"
@@ -2571,16 +2571,16 @@
2571
2571
  "visibility": "internal"
2572
2572
  }
2573
2573
  ],
2574
- "src": "6690:92:54"
2574
+ "src": "6690:92:53"
2575
2575
  },
2576
2576
  "returnParameters": {
2577
- "id": 19554,
2577
+ "id": 19291,
2578
2578
  "nodeType": "ParameterList",
2579
2579
  "parameters": [],
2580
- "src": "6799:0:54"
2580
+ "src": "6799:0:53"
2581
2581
  },
2582
- "scope": 19662,
2583
- "src": "6657:143:54",
2582
+ "scope": 19399,
2583
+ "src": "6657:143:53",
2584
2584
  "stateMutability": "nonpayable",
2585
2585
  "virtual": false,
2586
2586
  "visibility": "external"
@@ -2588,30 +2588,30 @@
2588
2588
  {
2589
2589
  "anonymous": false,
2590
2590
  "documentation": {
2591
- "id": 19556,
2591
+ "id": 19293,
2592
2592
  "nodeType": "StructuredDocumentation",
2593
- "src": "6805:214:54",
2593
+ "src": "6805:214:53",
2594
2594
  "text": " @dev Agreement account state updated event\n @param agreementClass Contract address of the agreement\n @param account Account updated\n @param slotId slot id of the agreement state"
2595
2595
  },
2596
2596
  "eventSelector": "30f416fa68fca014a0f334464c64b000ba53e99b6d2afdea9d5ca756372d5985",
2597
- "id": 19564,
2597
+ "id": 19301,
2598
2598
  "name": "AgreementStateUpdated",
2599
- "nameLocation": "7030:21:54",
2599
+ "nameLocation": "7030:21:53",
2600
2600
  "nodeType": "EventDefinition",
2601
2601
  "parameters": {
2602
- "id": 19563,
2602
+ "id": 19300,
2603
2603
  "nodeType": "ParameterList",
2604
2604
  "parameters": [
2605
2605
  {
2606
2606
  "constant": false,
2607
- "id": 19558,
2607
+ "id": 19295,
2608
2608
  "indexed": true,
2609
2609
  "mutability": "mutable",
2610
2610
  "name": "agreementClass",
2611
- "nameLocation": "7077:14:54",
2611
+ "nameLocation": "7077:14:53",
2612
2612
  "nodeType": "VariableDeclaration",
2613
- "scope": 19564,
2614
- "src": "7061:30:54",
2613
+ "scope": 19301,
2614
+ "src": "7061:30:53",
2615
2615
  "stateVariable": false,
2616
2616
  "storageLocation": "default",
2617
2617
  "typeDescriptions": {
@@ -2619,10 +2619,10 @@
2619
2619
  "typeString": "address"
2620
2620
  },
2621
2621
  "typeName": {
2622
- "id": 19557,
2622
+ "id": 19294,
2623
2623
  "name": "address",
2624
2624
  "nodeType": "ElementaryTypeName",
2625
- "src": "7061:7:54",
2625
+ "src": "7061:7:53",
2626
2626
  "stateMutability": "nonpayable",
2627
2627
  "typeDescriptions": {
2628
2628
  "typeIdentifier": "t_address",
@@ -2633,14 +2633,14 @@
2633
2633
  },
2634
2634
  {
2635
2635
  "constant": false,
2636
- "id": 19560,
2636
+ "id": 19297,
2637
2637
  "indexed": true,
2638
2638
  "mutability": "mutable",
2639
2639
  "name": "account",
2640
- "nameLocation": "7117:7:54",
2640
+ "nameLocation": "7117:7:53",
2641
2641
  "nodeType": "VariableDeclaration",
2642
- "scope": 19564,
2643
- "src": "7101:23:54",
2642
+ "scope": 19301,
2643
+ "src": "7101:23:53",
2644
2644
  "stateVariable": false,
2645
2645
  "storageLocation": "default",
2646
2646
  "typeDescriptions": {
@@ -2648,10 +2648,10 @@
2648
2648
  "typeString": "address"
2649
2649
  },
2650
2650
  "typeName": {
2651
- "id": 19559,
2651
+ "id": 19296,
2652
2652
  "name": "address",
2653
2653
  "nodeType": "ElementaryTypeName",
2654
- "src": "7101:7:54",
2654
+ "src": "7101:7:53",
2655
2655
  "stateMutability": "nonpayable",
2656
2656
  "typeDescriptions": {
2657
2657
  "typeIdentifier": "t_address",
@@ -2662,14 +2662,14 @@
2662
2662
  },
2663
2663
  {
2664
2664
  "constant": false,
2665
- "id": 19562,
2665
+ "id": 19299,
2666
2666
  "indexed": false,
2667
2667
  "mutability": "mutable",
2668
2668
  "name": "slotId",
2669
- "nameLocation": "7142:6:54",
2669
+ "nameLocation": "7142:6:53",
2670
2670
  "nodeType": "VariableDeclaration",
2671
- "scope": 19564,
2672
- "src": "7134:14:54",
2671
+ "scope": 19301,
2672
+ "src": "7134:14:53",
2673
2673
  "stateVariable": false,
2674
2674
  "storageLocation": "default",
2675
2675
  "typeDescriptions": {
@@ -2677,10 +2677,10 @@
2677
2677
  "typeString": "uint256"
2678
2678
  },
2679
2679
  "typeName": {
2680
- "id": 19561,
2680
+ "id": 19298,
2681
2681
  "name": "uint256",
2682
2682
  "nodeType": "ElementaryTypeName",
2683
- "src": "7134:7:54",
2683
+ "src": "7134:7:53",
2684
2684
  "typeDescriptions": {
2685
2685
  "typeIdentifier": "t_uint256",
2686
2686
  "typeString": "uint256"
@@ -2689,38 +2689,38 @@
2689
2689
  "visibility": "internal"
2690
2690
  }
2691
2691
  ],
2692
- "src": "7051:103:54"
2692
+ "src": "7051:103:53"
2693
2693
  },
2694
- "src": "7024:131:54"
2694
+ "src": "7024:131:53"
2695
2695
  },
2696
2696
  {
2697
2697
  "documentation": {
2698
- "id": 19565,
2698
+ "id": 19302,
2699
2699
  "nodeType": "StructuredDocumentation",
2700
- "src": "7161:267:54",
2700
+ "src": "7161:267:53",
2701
2701
  "text": " @dev Get data of the slot of the state of an agreement\n @param agreementClass Contract address of the agreement\n @param account Account to query\n @param slotId slot id of the state\n @param dataLength length of the state data"
2702
2702
  },
2703
2703
  "functionSelector": "4b61cc33",
2704
- "id": 19579,
2704
+ "id": 19316,
2705
2705
  "implemented": false,
2706
2706
  "kind": "function",
2707
2707
  "modifiers": [],
2708
2708
  "name": "getAgreementStateSlot",
2709
- "nameLocation": "7442:21:54",
2709
+ "nameLocation": "7442:21:53",
2710
2710
  "nodeType": "FunctionDefinition",
2711
2711
  "parameters": {
2712
- "id": 19574,
2712
+ "id": 19311,
2713
2713
  "nodeType": "ParameterList",
2714
2714
  "parameters": [
2715
2715
  {
2716
2716
  "constant": false,
2717
- "id": 19567,
2717
+ "id": 19304,
2718
2718
  "mutability": "mutable",
2719
2719
  "name": "agreementClass",
2720
- "nameLocation": "7481:14:54",
2720
+ "nameLocation": "7481:14:53",
2721
2721
  "nodeType": "VariableDeclaration",
2722
- "scope": 19579,
2723
- "src": "7473:22:54",
2722
+ "scope": 19316,
2723
+ "src": "7473:22:53",
2724
2724
  "stateVariable": false,
2725
2725
  "storageLocation": "default",
2726
2726
  "typeDescriptions": {
@@ -2728,10 +2728,10 @@
2728
2728
  "typeString": "address"
2729
2729
  },
2730
2730
  "typeName": {
2731
- "id": 19566,
2731
+ "id": 19303,
2732
2732
  "name": "address",
2733
2733
  "nodeType": "ElementaryTypeName",
2734
- "src": "7473:7:54",
2734
+ "src": "7473:7:53",
2735
2735
  "stateMutability": "nonpayable",
2736
2736
  "typeDescriptions": {
2737
2737
  "typeIdentifier": "t_address",
@@ -2742,13 +2742,13 @@
2742
2742
  },
2743
2743
  {
2744
2744
  "constant": false,
2745
- "id": 19569,
2745
+ "id": 19306,
2746
2746
  "mutability": "mutable",
2747
2747
  "name": "account",
2748
- "nameLocation": "7513:7:54",
2748
+ "nameLocation": "7513:7:53",
2749
2749
  "nodeType": "VariableDeclaration",
2750
- "scope": 19579,
2751
- "src": "7505:15:54",
2750
+ "scope": 19316,
2751
+ "src": "7505:15:53",
2752
2752
  "stateVariable": false,
2753
2753
  "storageLocation": "default",
2754
2754
  "typeDescriptions": {
@@ -2756,10 +2756,10 @@
2756
2756
  "typeString": "address"
2757
2757
  },
2758
2758
  "typeName": {
2759
- "id": 19568,
2759
+ "id": 19305,
2760
2760
  "name": "address",
2761
2761
  "nodeType": "ElementaryTypeName",
2762
- "src": "7505:7:54",
2762
+ "src": "7505:7:53",
2763
2763
  "stateMutability": "nonpayable",
2764
2764
  "typeDescriptions": {
2765
2765
  "typeIdentifier": "t_address",
@@ -2770,13 +2770,13 @@
2770
2770
  },
2771
2771
  {
2772
2772
  "constant": false,
2773
- "id": 19571,
2773
+ "id": 19308,
2774
2774
  "mutability": "mutable",
2775
2775
  "name": "slotId",
2776
- "nameLocation": "7538:6:54",
2776
+ "nameLocation": "7538:6:53",
2777
2777
  "nodeType": "VariableDeclaration",
2778
- "scope": 19579,
2779
- "src": "7530:14:54",
2778
+ "scope": 19316,
2779
+ "src": "7530:14:53",
2780
2780
  "stateVariable": false,
2781
2781
  "storageLocation": "default",
2782
2782
  "typeDescriptions": {
@@ -2784,10 +2784,10 @@
2784
2784
  "typeString": "uint256"
2785
2785
  },
2786
2786
  "typeName": {
2787
- "id": 19570,
2787
+ "id": 19307,
2788
2788
  "name": "uint256",
2789
2789
  "nodeType": "ElementaryTypeName",
2790
- "src": "7530:7:54",
2790
+ "src": "7530:7:53",
2791
2791
  "typeDescriptions": {
2792
2792
  "typeIdentifier": "t_uint256",
2793
2793
  "typeString": "uint256"
@@ -2797,13 +2797,13 @@
2797
2797
  },
2798
2798
  {
2799
2799
  "constant": false,
2800
- "id": 19573,
2800
+ "id": 19310,
2801
2801
  "mutability": "mutable",
2802
2802
  "name": "dataLength",
2803
- "nameLocation": "7559:10:54",
2803
+ "nameLocation": "7559:10:53",
2804
2804
  "nodeType": "VariableDeclaration",
2805
- "scope": 19579,
2806
- "src": "7554:15:54",
2805
+ "scope": 19316,
2806
+ "src": "7554:15:53",
2807
2807
  "stateVariable": false,
2808
2808
  "storageLocation": "default",
2809
2809
  "typeDescriptions": {
@@ -2811,10 +2811,10 @@
2811
2811
  "typeString": "uint256"
2812
2812
  },
2813
2813
  "typeName": {
2814
- "id": 19572,
2814
+ "id": 19309,
2815
2815
  "name": "uint",
2816
2816
  "nodeType": "ElementaryTypeName",
2817
- "src": "7554:4:54",
2817
+ "src": "7554:4:53",
2818
2818
  "typeDescriptions": {
2819
2819
  "typeIdentifier": "t_uint256",
2820
2820
  "typeString": "uint256"
@@ -2823,21 +2823,21 @@
2823
2823
  "visibility": "internal"
2824
2824
  }
2825
2825
  ],
2826
- "src": "7463:112:54"
2826
+ "src": "7463:112:53"
2827
2827
  },
2828
2828
  "returnParameters": {
2829
- "id": 19578,
2829
+ "id": 19315,
2830
2830
  "nodeType": "ParameterList",
2831
2831
  "parameters": [
2832
2832
  {
2833
2833
  "constant": false,
2834
- "id": 19577,
2834
+ "id": 19314,
2835
2835
  "mutability": "mutable",
2836
2836
  "name": "slotData",
2837
- "nameLocation": "7632:8:54",
2837
+ "nameLocation": "7632:8:53",
2838
2838
  "nodeType": "VariableDeclaration",
2839
- "scope": 19579,
2840
- "src": "7615:25:54",
2839
+ "scope": 19316,
2840
+ "src": "7615:25:53",
2841
2841
  "stateVariable": false,
2842
2842
  "storageLocation": "memory",
2843
2843
  "typeDescriptions": {
@@ -2846,18 +2846,18 @@
2846
2846
  },
2847
2847
  "typeName": {
2848
2848
  "baseType": {
2849
- "id": 19575,
2849
+ "id": 19312,
2850
2850
  "name": "bytes32",
2851
2851
  "nodeType": "ElementaryTypeName",
2852
- "src": "7615:7:54",
2852
+ "src": "7615:7:53",
2853
2853
  "typeDescriptions": {
2854
2854
  "typeIdentifier": "t_bytes32",
2855
2855
  "typeString": "bytes32"
2856
2856
  }
2857
2857
  },
2858
- "id": 19576,
2858
+ "id": 19313,
2859
2859
  "nodeType": "ArrayTypeName",
2860
- "src": "7615:9:54",
2860
+ "src": "7615:9:53",
2861
2861
  "typeDescriptions": {
2862
2862
  "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
2863
2863
  "typeString": "bytes32[]"
@@ -2866,42 +2866,42 @@
2866
2866
  "visibility": "internal"
2867
2867
  }
2868
2868
  ],
2869
- "src": "7614:27:54"
2869
+ "src": "7614:27:53"
2870
2870
  },
2871
- "scope": 19662,
2872
- "src": "7433:209:54",
2871
+ "scope": 19399,
2872
+ "src": "7433:209:53",
2873
2873
  "stateMutability": "view",
2874
2874
  "virtual": false,
2875
2875
  "visibility": "external"
2876
2876
  },
2877
2877
  {
2878
2878
  "documentation": {
2879
- "id": 19580,
2879
+ "id": 19317,
2880
2880
  "nodeType": "StructuredDocumentation",
2881
- "src": "7648:312:54",
2881
+ "src": "7648:312:53",
2882
2882
  "text": " @notice Settle balance from an account by the agreement\n @dev The agreement needs to make sure that the balance delta is balanced afterwards\n @param account Account to query.\n @param delta Amount of balance delta to be settled\n Modifiers:\n - onlyAgreement"
2883
2883
  },
2884
2884
  "functionSelector": "cf97256d",
2885
- "id": 19587,
2885
+ "id": 19324,
2886
2886
  "implemented": false,
2887
2887
  "kind": "function",
2888
2888
  "modifiers": [],
2889
2889
  "name": "settleBalance",
2890
- "nameLocation": "7974:13:54",
2890
+ "nameLocation": "7974:13:53",
2891
2891
  "nodeType": "FunctionDefinition",
2892
2892
  "parameters": {
2893
- "id": 19585,
2893
+ "id": 19322,
2894
2894
  "nodeType": "ParameterList",
2895
2895
  "parameters": [
2896
2896
  {
2897
2897
  "constant": false,
2898
- "id": 19582,
2898
+ "id": 19319,
2899
2899
  "mutability": "mutable",
2900
2900
  "name": "account",
2901
- "nameLocation": "8005:7:54",
2901
+ "nameLocation": "8005:7:53",
2902
2902
  "nodeType": "VariableDeclaration",
2903
- "scope": 19587,
2904
- "src": "7997:15:54",
2903
+ "scope": 19324,
2904
+ "src": "7997:15:53",
2905
2905
  "stateVariable": false,
2906
2906
  "storageLocation": "default",
2907
2907
  "typeDescriptions": {
@@ -2909,10 +2909,10 @@
2909
2909
  "typeString": "address"
2910
2910
  },
2911
2911
  "typeName": {
2912
- "id": 19581,
2912
+ "id": 19318,
2913
2913
  "name": "address",
2914
2914
  "nodeType": "ElementaryTypeName",
2915
- "src": "7997:7:54",
2915
+ "src": "7997:7:53",
2916
2916
  "stateMutability": "nonpayable",
2917
2917
  "typeDescriptions": {
2918
2918
  "typeIdentifier": "t_address",
@@ -2923,13 +2923,13 @@
2923
2923
  },
2924
2924
  {
2925
2925
  "constant": false,
2926
- "id": 19584,
2926
+ "id": 19321,
2927
2927
  "mutability": "mutable",
2928
2928
  "name": "delta",
2929
- "nameLocation": "8029:5:54",
2929
+ "nameLocation": "8029:5:53",
2930
2930
  "nodeType": "VariableDeclaration",
2931
- "scope": 19587,
2932
- "src": "8022:12:54",
2931
+ "scope": 19324,
2932
+ "src": "8022:12:53",
2933
2933
  "stateVariable": false,
2934
2934
  "storageLocation": "default",
2935
2935
  "typeDescriptions": {
@@ -2937,10 +2937,10 @@
2937
2937
  "typeString": "int256"
2938
2938
  },
2939
2939
  "typeName": {
2940
- "id": 19583,
2940
+ "id": 19320,
2941
2941
  "name": "int256",
2942
2942
  "nodeType": "ElementaryTypeName",
2943
- "src": "8022:6:54",
2943
+ "src": "8022:6:53",
2944
2944
  "typeDescriptions": {
2945
2945
  "typeIdentifier": "t_int256",
2946
2946
  "typeString": "int256"
@@ -2949,48 +2949,48 @@
2949
2949
  "visibility": "internal"
2950
2950
  }
2951
2951
  ],
2952
- "src": "7987:53:54"
2952
+ "src": "7987:53:53"
2953
2953
  },
2954
2954
  "returnParameters": {
2955
- "id": 19586,
2955
+ "id": 19323,
2956
2956
  "nodeType": "ParameterList",
2957
2957
  "parameters": [],
2958
- "src": "8057:0:54"
2958
+ "src": "8057:0:53"
2959
2959
  },
2960
- "scope": 19662,
2961
- "src": "7965:93:54",
2960
+ "scope": 19399,
2961
+ "src": "7965:93:53",
2962
2962
  "stateMutability": "nonpayable",
2963
2963
  "virtual": false,
2964
2964
  "visibility": "external"
2965
2965
  },
2966
2966
  {
2967
2967
  "documentation": {
2968
- "id": 19588,
2968
+ "id": 19325,
2969
2969
  "nodeType": "StructuredDocumentation",
2970
- "src": "8064:1131:54",
2970
+ "src": "8064:1131:53",
2971
2971
  "text": " @dev Make liquidation payouts (v2)\n @param id Agreement ID\n @param liquidationTypeData Data regarding the version of the liquidation schema and the type\n @param liquidatorAccount Address of the executor of the liquidation\n @param useDefaultRewardAccount Whether or not the default reward account receives the rewardAmount\n @param targetAccount Account of the stream sender\n @param rewardAmount The amount the reward recepient account will receive\n @param targetAccountBalanceDelta The amount the sender account balance should change by\n - If a bailout is required (bailoutAmount > 0)\n - the actual reward (single deposit) goes to the executor,\n - while the reward account becomes the bailout account\n - total bailout include: bailout amount + reward amount\n - the targetAccount will be bailed out\n - If a bailout is not required\n - the targetAccount will pay the rewardAmount\n - the liquidator (reward account in PIC period) will receive the rewardAmount\n Modifiers:\n - onlyAgreement"
2972
2972
  },
2973
2973
  "functionSelector": "1863e809",
2974
- "id": 19605,
2974
+ "id": 19342,
2975
2975
  "implemented": false,
2976
2976
  "kind": "function",
2977
2977
  "modifiers": [],
2978
2978
  "name": "makeLiquidationPayoutsV2",
2979
- "nameLocation": "9209:24:54",
2979
+ "nameLocation": "9209:24:53",
2980
2980
  "nodeType": "FunctionDefinition",
2981
2981
  "parameters": {
2982
- "id": 19603,
2982
+ "id": 19340,
2983
2983
  "nodeType": "ParameterList",
2984
2984
  "parameters": [
2985
2985
  {
2986
2986
  "constant": false,
2987
- "id": 19590,
2987
+ "id": 19327,
2988
2988
  "mutability": "mutable",
2989
2989
  "name": "id",
2990
- "nameLocation": "9256:2:54",
2990
+ "nameLocation": "9256:2:53",
2991
2991
  "nodeType": "VariableDeclaration",
2992
- "scope": 19605,
2993
- "src": "9248:10:54",
2992
+ "scope": 19342,
2993
+ "src": "9248:10:53",
2994
2994
  "stateVariable": false,
2995
2995
  "storageLocation": "default",
2996
2996
  "typeDescriptions": {
@@ -2998,10 +2998,10 @@
2998
2998
  "typeString": "bytes32"
2999
2999
  },
3000
3000
  "typeName": {
3001
- "id": 19589,
3001
+ "id": 19326,
3002
3002
  "name": "bytes32",
3003
3003
  "nodeType": "ElementaryTypeName",
3004
- "src": "9248:7:54",
3004
+ "src": "9248:7:53",
3005
3005
  "typeDescriptions": {
3006
3006
  "typeIdentifier": "t_bytes32",
3007
3007
  "typeString": "bytes32"
@@ -3011,13 +3011,13 @@
3011
3011
  },
3012
3012
  {
3013
3013
  "constant": false,
3014
- "id": 19592,
3014
+ "id": 19329,
3015
3015
  "mutability": "mutable",
3016
3016
  "name": "liquidationTypeData",
3017
- "nameLocation": "9281:19:54",
3017
+ "nameLocation": "9281:19:53",
3018
3018
  "nodeType": "VariableDeclaration",
3019
- "scope": 19605,
3020
- "src": "9268:32:54",
3019
+ "scope": 19342,
3020
+ "src": "9268:32:53",
3021
3021
  "stateVariable": false,
3022
3022
  "storageLocation": "memory",
3023
3023
  "typeDescriptions": {
@@ -3025,10 +3025,10 @@
3025
3025
  "typeString": "bytes"
3026
3026
  },
3027
3027
  "typeName": {
3028
- "id": 19591,
3028
+ "id": 19328,
3029
3029
  "name": "bytes",
3030
3030
  "nodeType": "ElementaryTypeName",
3031
- "src": "9268:5:54",
3031
+ "src": "9268:5:53",
3032
3032
  "typeDescriptions": {
3033
3033
  "typeIdentifier": "t_bytes_storage_ptr",
3034
3034
  "typeString": "bytes"
@@ -3038,13 +3038,13 @@
3038
3038
  },
3039
3039
  {
3040
3040
  "constant": false,
3041
- "id": 19594,
3041
+ "id": 19331,
3042
3042
  "mutability": "mutable",
3043
3043
  "name": "liquidatorAccount",
3044
- "nameLocation": "9318:17:54",
3044
+ "nameLocation": "9318:17:53",
3045
3045
  "nodeType": "VariableDeclaration",
3046
- "scope": 19605,
3047
- "src": "9310:25:54",
3046
+ "scope": 19342,
3047
+ "src": "9310:25:53",
3048
3048
  "stateVariable": false,
3049
3049
  "storageLocation": "default",
3050
3050
  "typeDescriptions": {
@@ -3052,10 +3052,10 @@
3052
3052
  "typeString": "address"
3053
3053
  },
3054
3054
  "typeName": {
3055
- "id": 19593,
3055
+ "id": 19330,
3056
3056
  "name": "address",
3057
3057
  "nodeType": "ElementaryTypeName",
3058
- "src": "9310:7:54",
3058
+ "src": "9310:7:53",
3059
3059
  "stateMutability": "nonpayable",
3060
3060
  "typeDescriptions": {
3061
3061
  "typeIdentifier": "t_address",
@@ -3066,13 +3066,13 @@
3066
3066
  },
3067
3067
  {
3068
3068
  "constant": false,
3069
- "id": 19596,
3069
+ "id": 19333,
3070
3070
  "mutability": "mutable",
3071
3071
  "name": "useDefaultRewardAccount",
3072
- "nameLocation": "9350:23:54",
3072
+ "nameLocation": "9350:23:53",
3073
3073
  "nodeType": "VariableDeclaration",
3074
- "scope": 19605,
3075
- "src": "9345:28:54",
3074
+ "scope": 19342,
3075
+ "src": "9345:28:53",
3076
3076
  "stateVariable": false,
3077
3077
  "storageLocation": "default",
3078
3078
  "typeDescriptions": {
@@ -3080,10 +3080,10 @@
3080
3080
  "typeString": "bool"
3081
3081
  },
3082
3082
  "typeName": {
3083
- "id": 19595,
3083
+ "id": 19332,
3084
3084
  "name": "bool",
3085
3085
  "nodeType": "ElementaryTypeName",
3086
- "src": "9345:4:54",
3086
+ "src": "9345:4:53",
3087
3087
  "typeDescriptions": {
3088
3088
  "typeIdentifier": "t_bool",
3089
3089
  "typeString": "bool"
@@ -3093,13 +3093,13 @@
3093
3093
  },
3094
3094
  {
3095
3095
  "constant": false,
3096
- "id": 19598,
3096
+ "id": 19335,
3097
3097
  "mutability": "mutable",
3098
3098
  "name": "targetAccount",
3099
- "nameLocation": "9391:13:54",
3099
+ "nameLocation": "9391:13:53",
3100
3100
  "nodeType": "VariableDeclaration",
3101
- "scope": 19605,
3102
- "src": "9383:21:54",
3101
+ "scope": 19342,
3102
+ "src": "9383:21:53",
3103
3103
  "stateVariable": false,
3104
3104
  "storageLocation": "default",
3105
3105
  "typeDescriptions": {
@@ -3107,10 +3107,10 @@
3107
3107
  "typeString": "address"
3108
3108
  },
3109
3109
  "typeName": {
3110
- "id": 19597,
3110
+ "id": 19334,
3111
3111
  "name": "address",
3112
3112
  "nodeType": "ElementaryTypeName",
3113
- "src": "9383:7:54",
3113
+ "src": "9383:7:53",
3114
3114
  "stateMutability": "nonpayable",
3115
3115
  "typeDescriptions": {
3116
3116
  "typeIdentifier": "t_address",
@@ -3121,13 +3121,13 @@
3121
3121
  },
3122
3122
  {
3123
3123
  "constant": false,
3124
- "id": 19600,
3124
+ "id": 19337,
3125
3125
  "mutability": "mutable",
3126
3126
  "name": "rewardAmount",
3127
- "nameLocation": "9422:12:54",
3127
+ "nameLocation": "9422:12:53",
3128
3128
  "nodeType": "VariableDeclaration",
3129
- "scope": 19605,
3130
- "src": "9414:20:54",
3129
+ "scope": 19342,
3130
+ "src": "9414:20:53",
3131
3131
  "stateVariable": false,
3132
3132
  "storageLocation": "default",
3133
3133
  "typeDescriptions": {
@@ -3135,10 +3135,10 @@
3135
3135
  "typeString": "uint256"
3136
3136
  },
3137
3137
  "typeName": {
3138
- "id": 19599,
3138
+ "id": 19336,
3139
3139
  "name": "uint256",
3140
3140
  "nodeType": "ElementaryTypeName",
3141
- "src": "9414:7:54",
3141
+ "src": "9414:7:53",
3142
3142
  "typeDescriptions": {
3143
3143
  "typeIdentifier": "t_uint256",
3144
3144
  "typeString": "uint256"
@@ -3148,13 +3148,13 @@
3148
3148
  },
3149
3149
  {
3150
3150
  "constant": false,
3151
- "id": 19602,
3151
+ "id": 19339,
3152
3152
  "mutability": "mutable",
3153
3153
  "name": "targetAccountBalanceDelta",
3154
- "nameLocation": "9451:25:54",
3154
+ "nameLocation": "9451:25:53",
3155
3155
  "nodeType": "VariableDeclaration",
3156
- "scope": 19605,
3157
- "src": "9444:32:54",
3156
+ "scope": 19342,
3157
+ "src": "9444:32:53",
3158
3158
  "stateVariable": false,
3159
3159
  "storageLocation": "default",
3160
3160
  "typeDescriptions": {
@@ -3162,10 +3162,10 @@
3162
3162
  "typeString": "int256"
3163
3163
  },
3164
3164
  "typeName": {
3165
- "id": 19601,
3165
+ "id": 19338,
3166
3166
  "name": "int256",
3167
3167
  "nodeType": "ElementaryTypeName",
3168
- "src": "9444:6:54",
3168
+ "src": "9444:6:53",
3169
3169
  "typeDescriptions": {
3170
3170
  "typeIdentifier": "t_int256",
3171
3171
  "typeString": "int256"
@@ -3174,16 +3174,16 @@
3174
3174
  "visibility": "internal"
3175
3175
  }
3176
3176
  ],
3177
- "src": "9238:244:54"
3177
+ "src": "9238:244:53"
3178
3178
  },
3179
3179
  "returnParameters": {
3180
- "id": 19604,
3180
+ "id": 19341,
3181
3181
  "nodeType": "ParameterList",
3182
3182
  "parameters": [],
3183
- "src": "9491:0:54"
3183
+ "src": "9491:0:53"
3184
3184
  },
3185
- "scope": 19662,
3186
- "src": "9200:292:54",
3185
+ "scope": 19399,
3186
+ "src": "9200:292:53",
3187
3187
  "stateMutability": "nonpayable",
3188
3188
  "virtual": false,
3189
3189
  "visibility": "external"
@@ -3191,30 +3191,30 @@
3191
3191
  {
3192
3192
  "anonymous": false,
3193
3193
  "documentation": {
3194
- "id": 19606,
3194
+ "id": 19343,
3195
3195
  "nodeType": "StructuredDocumentation",
3196
- "src": "9497:1465:54",
3196
+ "src": "9497:1465:53",
3197
3197
  "text": " @dev Agreement liquidation event v2 (including agent account)\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param liquidatorAccount Address of the executor of the liquidation\n @param targetAccount Account of the stream sender\n @param rewardAccount Account that collects the reward or bails out insolvent accounts\n @param rewardAmount The amount the reward recipient account balance should change by\n @param targetAccountBalanceDelta The amount the sender account balance should change by\n @param liquidationTypeData The encoded liquidation type data including the version (how to decode)\n NOTE:\n Reward account rule:\n - if the agreement is liquidated during the PIC period\n - the rewardAccount will get the rewardAmount (remaining deposit), regardless of the liquidatorAccount\n - the targetAccount will pay for the rewardAmount\n - if the agreement is liquidated after the PIC period AND the targetAccount is solvent\n - the liquidatorAccount will get the rewardAmount (remaining deposit)\n - the targetAccount will pay for the rewardAmount\n - if the targetAccount is insolvent\n - the liquidatorAccount will get the rewardAmount (single deposit)\n - the rewardAccount will pay for both the rewardAmount and bailoutAmount\n - the targetAccount will receive the bailoutAmount"
3198
3198
  },
3199
3199
  "eventSelector": "b8381a3ce157650e06186e3e8f4dd4dc29236f2688b6eed1893d0a60d7c6386f",
3200
- "id": 19624,
3200
+ "id": 19361,
3201
3201
  "name": "AgreementLiquidatedV2",
3202
- "nameLocation": "10973:21:54",
3202
+ "nameLocation": "10973:21:53",
3203
3203
  "nodeType": "EventDefinition",
3204
3204
  "parameters": {
3205
- "id": 19623,
3205
+ "id": 19360,
3206
3206
  "nodeType": "ParameterList",
3207
3207
  "parameters": [
3208
3208
  {
3209
3209
  "constant": false,
3210
- "id": 19608,
3210
+ "id": 19345,
3211
3211
  "indexed": true,
3212
3212
  "mutability": "mutable",
3213
3213
  "name": "agreementClass",
3214
- "nameLocation": "11020:14:54",
3214
+ "nameLocation": "11020:14:53",
3215
3215
  "nodeType": "VariableDeclaration",
3216
- "scope": 19624,
3217
- "src": "11004:30:54",
3216
+ "scope": 19361,
3217
+ "src": "11004:30:53",
3218
3218
  "stateVariable": false,
3219
3219
  "storageLocation": "default",
3220
3220
  "typeDescriptions": {
@@ -3222,10 +3222,10 @@
3222
3222
  "typeString": "address"
3223
3223
  },
3224
3224
  "typeName": {
3225
- "id": 19607,
3225
+ "id": 19344,
3226
3226
  "name": "address",
3227
3227
  "nodeType": "ElementaryTypeName",
3228
- "src": "11004:7:54",
3228
+ "src": "11004:7:53",
3229
3229
  "stateMutability": "nonpayable",
3230
3230
  "typeDescriptions": {
3231
3231
  "typeIdentifier": "t_address",
@@ -3236,14 +3236,14 @@
3236
3236
  },
3237
3237
  {
3238
3238
  "constant": false,
3239
- "id": 19610,
3239
+ "id": 19347,
3240
3240
  "indexed": false,
3241
3241
  "mutability": "mutable",
3242
3242
  "name": "id",
3243
- "nameLocation": "11052:2:54",
3243
+ "nameLocation": "11052:2:53",
3244
3244
  "nodeType": "VariableDeclaration",
3245
- "scope": 19624,
3246
- "src": "11044:10:54",
3245
+ "scope": 19361,
3246
+ "src": "11044:10:53",
3247
3247
  "stateVariable": false,
3248
3248
  "storageLocation": "default",
3249
3249
  "typeDescriptions": {
@@ -3251,10 +3251,10 @@
3251
3251
  "typeString": "bytes32"
3252
3252
  },
3253
3253
  "typeName": {
3254
- "id": 19609,
3254
+ "id": 19346,
3255
3255
  "name": "bytes32",
3256
3256
  "nodeType": "ElementaryTypeName",
3257
- "src": "11044:7:54",
3257
+ "src": "11044:7:53",
3258
3258
  "typeDescriptions": {
3259
3259
  "typeIdentifier": "t_bytes32",
3260
3260
  "typeString": "bytes32"
@@ -3264,14 +3264,14 @@
3264
3264
  },
3265
3265
  {
3266
3266
  "constant": false,
3267
- "id": 19612,
3267
+ "id": 19349,
3268
3268
  "indexed": true,
3269
3269
  "mutability": "mutable",
3270
3270
  "name": "liquidatorAccount",
3271
- "nameLocation": "11080:17:54",
3271
+ "nameLocation": "11080:17:53",
3272
3272
  "nodeType": "VariableDeclaration",
3273
- "scope": 19624,
3274
- "src": "11064:33:54",
3273
+ "scope": 19361,
3274
+ "src": "11064:33:53",
3275
3275
  "stateVariable": false,
3276
3276
  "storageLocation": "default",
3277
3277
  "typeDescriptions": {
@@ -3279,10 +3279,10 @@
3279
3279
  "typeString": "address"
3280
3280
  },
3281
3281
  "typeName": {
3282
- "id": 19611,
3282
+ "id": 19348,
3283
3283
  "name": "address",
3284
3284
  "nodeType": "ElementaryTypeName",
3285
- "src": "11064:7:54",
3285
+ "src": "11064:7:53",
3286
3286
  "stateMutability": "nonpayable",
3287
3287
  "typeDescriptions": {
3288
3288
  "typeIdentifier": "t_address",
@@ -3293,14 +3293,14 @@
3293
3293
  },
3294
3294
  {
3295
3295
  "constant": false,
3296
- "id": 19614,
3296
+ "id": 19351,
3297
3297
  "indexed": true,
3298
3298
  "mutability": "mutable",
3299
3299
  "name": "targetAccount",
3300
- "nameLocation": "11123:13:54",
3300
+ "nameLocation": "11123:13:53",
3301
3301
  "nodeType": "VariableDeclaration",
3302
- "scope": 19624,
3303
- "src": "11107:29:54",
3302
+ "scope": 19361,
3303
+ "src": "11107:29:53",
3304
3304
  "stateVariable": false,
3305
3305
  "storageLocation": "default",
3306
3306
  "typeDescriptions": {
@@ -3308,10 +3308,10 @@
3308
3308
  "typeString": "address"
3309
3309
  },
3310
3310
  "typeName": {
3311
- "id": 19613,
3311
+ "id": 19350,
3312
3312
  "name": "address",
3313
3313
  "nodeType": "ElementaryTypeName",
3314
- "src": "11107:7:54",
3314
+ "src": "11107:7:53",
3315
3315
  "stateMutability": "nonpayable",
3316
3316
  "typeDescriptions": {
3317
3317
  "typeIdentifier": "t_address",
@@ -3322,14 +3322,14 @@
3322
3322
  },
3323
3323
  {
3324
3324
  "constant": false,
3325
- "id": 19616,
3325
+ "id": 19353,
3326
3326
  "indexed": false,
3327
3327
  "mutability": "mutable",
3328
3328
  "name": "rewardAccount",
3329
- "nameLocation": "11154:13:54",
3329
+ "nameLocation": "11154:13:53",
3330
3330
  "nodeType": "VariableDeclaration",
3331
- "scope": 19624,
3332
- "src": "11146:21:54",
3331
+ "scope": 19361,
3332
+ "src": "11146:21:53",
3333
3333
  "stateVariable": false,
3334
3334
  "storageLocation": "default",
3335
3335
  "typeDescriptions": {
@@ -3337,10 +3337,10 @@
3337
3337
  "typeString": "address"
3338
3338
  },
3339
3339
  "typeName": {
3340
- "id": 19615,
3340
+ "id": 19352,
3341
3341
  "name": "address",
3342
3342
  "nodeType": "ElementaryTypeName",
3343
- "src": "11146:7:54",
3343
+ "src": "11146:7:53",
3344
3344
  "stateMutability": "nonpayable",
3345
3345
  "typeDescriptions": {
3346
3346
  "typeIdentifier": "t_address",
@@ -3351,14 +3351,14 @@
3351
3351
  },
3352
3352
  {
3353
3353
  "constant": false,
3354
- "id": 19618,
3354
+ "id": 19355,
3355
3355
  "indexed": false,
3356
3356
  "mutability": "mutable",
3357
3357
  "name": "rewardAmount",
3358
- "nameLocation": "11185:12:54",
3358
+ "nameLocation": "11185:12:53",
3359
3359
  "nodeType": "VariableDeclaration",
3360
- "scope": 19624,
3361
- "src": "11177:20:54",
3360
+ "scope": 19361,
3361
+ "src": "11177:20:53",
3362
3362
  "stateVariable": false,
3363
3363
  "storageLocation": "default",
3364
3364
  "typeDescriptions": {
@@ -3366,10 +3366,10 @@
3366
3366
  "typeString": "uint256"
3367
3367
  },
3368
3368
  "typeName": {
3369
- "id": 19617,
3369
+ "id": 19354,
3370
3370
  "name": "uint256",
3371
3371
  "nodeType": "ElementaryTypeName",
3372
- "src": "11177:7:54",
3372
+ "src": "11177:7:53",
3373
3373
  "typeDescriptions": {
3374
3374
  "typeIdentifier": "t_uint256",
3375
3375
  "typeString": "uint256"
@@ -3379,14 +3379,14 @@
3379
3379
  },
3380
3380
  {
3381
3381
  "constant": false,
3382
- "id": 19620,
3382
+ "id": 19357,
3383
3383
  "indexed": false,
3384
3384
  "mutability": "mutable",
3385
3385
  "name": "targetAccountBalanceDelta",
3386
- "nameLocation": "11214:25:54",
3386
+ "nameLocation": "11214:25:53",
3387
3387
  "nodeType": "VariableDeclaration",
3388
- "scope": 19624,
3389
- "src": "11207:32:54",
3388
+ "scope": 19361,
3389
+ "src": "11207:32:53",
3390
3390
  "stateVariable": false,
3391
3391
  "storageLocation": "default",
3392
3392
  "typeDescriptions": {
@@ -3394,10 +3394,10 @@
3394
3394
  "typeString": "int256"
3395
3395
  },
3396
3396
  "typeName": {
3397
- "id": 19619,
3397
+ "id": 19356,
3398
3398
  "name": "int256",
3399
3399
  "nodeType": "ElementaryTypeName",
3400
- "src": "11207:6:54",
3400
+ "src": "11207:6:53",
3401
3401
  "typeDescriptions": {
3402
3402
  "typeIdentifier": "t_int256",
3403
3403
  "typeString": "int256"
@@ -3407,14 +3407,14 @@
3407
3407
  },
3408
3408
  {
3409
3409
  "constant": false,
3410
- "id": 19622,
3410
+ "id": 19359,
3411
3411
  "indexed": false,
3412
3412
  "mutability": "mutable",
3413
3413
  "name": "liquidationTypeData",
3414
- "nameLocation": "11255:19:54",
3414
+ "nameLocation": "11255:19:53",
3415
3415
  "nodeType": "VariableDeclaration",
3416
- "scope": 19624,
3417
- "src": "11249:25:54",
3416
+ "scope": 19361,
3417
+ "src": "11249:25:53",
3418
3418
  "stateVariable": false,
3419
3419
  "storageLocation": "default",
3420
3420
  "typeDescriptions": {
@@ -3422,10 +3422,10 @@
3422
3422
  "typeString": "bytes"
3423
3423
  },
3424
3424
  "typeName": {
3425
- "id": 19621,
3425
+ "id": 19358,
3426
3426
  "name": "bytes",
3427
3427
  "nodeType": "ElementaryTypeName",
3428
- "src": "11249:5:54",
3428
+ "src": "11249:5:53",
3429
3429
  "typeDescriptions": {
3430
3430
  "typeIdentifier": "t_bytes_storage_ptr",
3431
3431
  "typeString": "bytes"
@@ -3434,37 +3434,37 @@
3434
3434
  "visibility": "internal"
3435
3435
  }
3436
3436
  ],
3437
- "src": "10994:286:54"
3437
+ "src": "10994:286:53"
3438
3438
  },
3439
- "src": "10967:314:54"
3439
+ "src": "10967:314:53"
3440
3440
  },
3441
3441
  {
3442
3442
  "anonymous": false,
3443
3443
  "documentation": {
3444
- "id": 19625,
3444
+ "id": 19362,
3445
3445
  "nodeType": "StructuredDocumentation",
3446
- "src": "12093:449:54",
3446
+ "src": "12093:449:53",
3447
3447
  "text": " @dev Agreement liquidation event (DEPRECATED BY AgreementLiquidatedBy)\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param penaltyAccount Account of the agreement to be penalized\n @param rewardAccount Account that collect the reward\n @param rewardAmount Amount of liquidation reward\n NOTE:\n [DEPRECATED] Use AgreementLiquidatedV2 instead"
3448
3448
  },
3449
3449
  "eventSelector": "8505c3d8f1f184f032cf0bc4cd80ee61c8b9d94f8907c3281bf0101a2610fe80",
3450
- "id": 19637,
3450
+ "id": 19374,
3451
3451
  "name": "AgreementLiquidated",
3452
- "nameLocation": "12553:19:54",
3452
+ "nameLocation": "12553:19:53",
3453
3453
  "nodeType": "EventDefinition",
3454
3454
  "parameters": {
3455
- "id": 19636,
3455
+ "id": 19373,
3456
3456
  "nodeType": "ParameterList",
3457
3457
  "parameters": [
3458
3458
  {
3459
3459
  "constant": false,
3460
- "id": 19627,
3460
+ "id": 19364,
3461
3461
  "indexed": true,
3462
3462
  "mutability": "mutable",
3463
3463
  "name": "agreementClass",
3464
- "nameLocation": "12598:14:54",
3464
+ "nameLocation": "12598:14:53",
3465
3465
  "nodeType": "VariableDeclaration",
3466
- "scope": 19637,
3467
- "src": "12582:30:54",
3466
+ "scope": 19374,
3467
+ "src": "12582:30:53",
3468
3468
  "stateVariable": false,
3469
3469
  "storageLocation": "default",
3470
3470
  "typeDescriptions": {
@@ -3472,10 +3472,10 @@
3472
3472
  "typeString": "address"
3473
3473
  },
3474
3474
  "typeName": {
3475
- "id": 19626,
3475
+ "id": 19363,
3476
3476
  "name": "address",
3477
3477
  "nodeType": "ElementaryTypeName",
3478
- "src": "12582:7:54",
3478
+ "src": "12582:7:53",
3479
3479
  "stateMutability": "nonpayable",
3480
3480
  "typeDescriptions": {
3481
3481
  "typeIdentifier": "t_address",
@@ -3486,14 +3486,14 @@
3486
3486
  },
3487
3487
  {
3488
3488
  "constant": false,
3489
- "id": 19629,
3489
+ "id": 19366,
3490
3490
  "indexed": false,
3491
3491
  "mutability": "mutable",
3492
3492
  "name": "id",
3493
- "nameLocation": "12630:2:54",
3493
+ "nameLocation": "12630:2:53",
3494
3494
  "nodeType": "VariableDeclaration",
3495
- "scope": 19637,
3496
- "src": "12622:10:54",
3495
+ "scope": 19374,
3496
+ "src": "12622:10:53",
3497
3497
  "stateVariable": false,
3498
3498
  "storageLocation": "default",
3499
3499
  "typeDescriptions": {
@@ -3501,10 +3501,10 @@
3501
3501
  "typeString": "bytes32"
3502
3502
  },
3503
3503
  "typeName": {
3504
- "id": 19628,
3504
+ "id": 19365,
3505
3505
  "name": "bytes32",
3506
3506
  "nodeType": "ElementaryTypeName",
3507
- "src": "12622:7:54",
3507
+ "src": "12622:7:53",
3508
3508
  "typeDescriptions": {
3509
3509
  "typeIdentifier": "t_bytes32",
3510
3510
  "typeString": "bytes32"
@@ -3514,14 +3514,14 @@
3514
3514
  },
3515
3515
  {
3516
3516
  "constant": false,
3517
- "id": 19631,
3517
+ "id": 19368,
3518
3518
  "indexed": true,
3519
3519
  "mutability": "mutable",
3520
3520
  "name": "penaltyAccount",
3521
- "nameLocation": "12658:14:54",
3521
+ "nameLocation": "12658:14:53",
3522
3522
  "nodeType": "VariableDeclaration",
3523
- "scope": 19637,
3524
- "src": "12642:30:54",
3523
+ "scope": 19374,
3524
+ "src": "12642:30:53",
3525
3525
  "stateVariable": false,
3526
3526
  "storageLocation": "default",
3527
3527
  "typeDescriptions": {
@@ -3529,10 +3529,10 @@
3529
3529
  "typeString": "address"
3530
3530
  },
3531
3531
  "typeName": {
3532
- "id": 19630,
3532
+ "id": 19367,
3533
3533
  "name": "address",
3534
3534
  "nodeType": "ElementaryTypeName",
3535
- "src": "12642:7:54",
3535
+ "src": "12642:7:53",
3536
3536
  "stateMutability": "nonpayable",
3537
3537
  "typeDescriptions": {
3538
3538
  "typeIdentifier": "t_address",
@@ -3543,14 +3543,14 @@
3543
3543
  },
3544
3544
  {
3545
3545
  "constant": false,
3546
- "id": 19633,
3546
+ "id": 19370,
3547
3547
  "indexed": true,
3548
3548
  "mutability": "mutable",
3549
3549
  "name": "rewardAccount",
3550
- "nameLocation": "12698:13:54",
3550
+ "nameLocation": "12698:13:53",
3551
3551
  "nodeType": "VariableDeclaration",
3552
- "scope": 19637,
3553
- "src": "12682:29:54",
3552
+ "scope": 19374,
3553
+ "src": "12682:29:53",
3554
3554
  "stateVariable": false,
3555
3555
  "storageLocation": "default",
3556
3556
  "typeDescriptions": {
@@ -3558,10 +3558,10 @@
3558
3558
  "typeString": "address"
3559
3559
  },
3560
3560
  "typeName": {
3561
- "id": 19632,
3561
+ "id": 19369,
3562
3562
  "name": "address",
3563
3563
  "nodeType": "ElementaryTypeName",
3564
- "src": "12682:7:54",
3564
+ "src": "12682:7:53",
3565
3565
  "stateMutability": "nonpayable",
3566
3566
  "typeDescriptions": {
3567
3567
  "typeIdentifier": "t_address",
@@ -3572,14 +3572,14 @@
3572
3572
  },
3573
3573
  {
3574
3574
  "constant": false,
3575
- "id": 19635,
3575
+ "id": 19372,
3576
3576
  "indexed": false,
3577
3577
  "mutability": "mutable",
3578
3578
  "name": "rewardAmount",
3579
- "nameLocation": "12729:12:54",
3579
+ "nameLocation": "12729:12:53",
3580
3580
  "nodeType": "VariableDeclaration",
3581
- "scope": 19637,
3582
- "src": "12721:20:54",
3581
+ "scope": 19374,
3582
+ "src": "12721:20:53",
3583
3583
  "stateVariable": false,
3584
3584
  "storageLocation": "default",
3585
3585
  "typeDescriptions": {
@@ -3587,10 +3587,10 @@
3587
3587
  "typeString": "uint256"
3588
3588
  },
3589
3589
  "typeName": {
3590
- "id": 19634,
3590
+ "id": 19371,
3591
3591
  "name": "uint256",
3592
3592
  "nodeType": "ElementaryTypeName",
3593
- "src": "12721:7:54",
3593
+ "src": "12721:7:53",
3594
3594
  "typeDescriptions": {
3595
3595
  "typeIdentifier": "t_uint256",
3596
3596
  "typeString": "uint256"
@@ -3599,37 +3599,37 @@
3599
3599
  "visibility": "internal"
3600
3600
  }
3601
3601
  ],
3602
- "src": "12572:175:54"
3602
+ "src": "12572:175:53"
3603
3603
  },
3604
- "src": "12547:201:54"
3604
+ "src": "12547:201:53"
3605
3605
  },
3606
3606
  {
3607
3607
  "anonymous": false,
3608
3608
  "documentation": {
3609
- "id": 19638,
3609
+ "id": 19375,
3610
3610
  "nodeType": "StructuredDocumentation",
3611
- "src": "12754:290:54",
3611
+ "src": "12754:290:53",
3612
3612
  "text": " @dev System bailout occurred (DEPRECATED BY AgreementLiquidatedBy)\n @param bailoutAccount Account that bailout the penalty account\n @param bailoutAmount Amount of account bailout\n NOTE:\n [DEPRECATED] Use AgreementLiquidatedV2 instead"
3613
3613
  },
3614
3614
  "eventSelector": "d6c9a04afc81e8c614310bbee6c9e84f5abe15b82038bf8347014ce0852e6ffd",
3615
- "id": 19644,
3615
+ "id": 19381,
3616
3616
  "name": "Bailout",
3617
- "nameLocation": "13055:7:54",
3617
+ "nameLocation": "13055:7:53",
3618
3618
  "nodeType": "EventDefinition",
3619
3619
  "parameters": {
3620
- "id": 19643,
3620
+ "id": 19380,
3621
3621
  "nodeType": "ParameterList",
3622
3622
  "parameters": [
3623
3623
  {
3624
3624
  "constant": false,
3625
- "id": 19640,
3625
+ "id": 19377,
3626
3626
  "indexed": true,
3627
3627
  "mutability": "mutable",
3628
3628
  "name": "bailoutAccount",
3629
- "nameLocation": "13088:14:54",
3629
+ "nameLocation": "13088:14:53",
3630
3630
  "nodeType": "VariableDeclaration",
3631
- "scope": 19644,
3632
- "src": "13072:30:54",
3631
+ "scope": 19381,
3632
+ "src": "13072:30:53",
3633
3633
  "stateVariable": false,
3634
3634
  "storageLocation": "default",
3635
3635
  "typeDescriptions": {
@@ -3637,10 +3637,10 @@
3637
3637
  "typeString": "address"
3638
3638
  },
3639
3639
  "typeName": {
3640
- "id": 19639,
3640
+ "id": 19376,
3641
3641
  "name": "address",
3642
3642
  "nodeType": "ElementaryTypeName",
3643
- "src": "13072:7:54",
3643
+ "src": "13072:7:53",
3644
3644
  "stateMutability": "nonpayable",
3645
3645
  "typeDescriptions": {
3646
3646
  "typeIdentifier": "t_address",
@@ -3651,14 +3651,14 @@
3651
3651
  },
3652
3652
  {
3653
3653
  "constant": false,
3654
- "id": 19642,
3654
+ "id": 19379,
3655
3655
  "indexed": false,
3656
3656
  "mutability": "mutable",
3657
3657
  "name": "bailoutAmount",
3658
- "nameLocation": "13120:13:54",
3658
+ "nameLocation": "13120:13:53",
3659
3659
  "nodeType": "VariableDeclaration",
3660
- "scope": 19644,
3661
- "src": "13112:21:54",
3660
+ "scope": 19381,
3661
+ "src": "13112:21:53",
3662
3662
  "stateVariable": false,
3663
3663
  "storageLocation": "default",
3664
3664
  "typeDescriptions": {
@@ -3666,10 +3666,10 @@
3666
3666
  "typeString": "uint256"
3667
3667
  },
3668
3668
  "typeName": {
3669
- "id": 19641,
3669
+ "id": 19378,
3670
3670
  "name": "uint256",
3671
3671
  "nodeType": "ElementaryTypeName",
3672
- "src": "13112:7:54",
3672
+ "src": "13112:7:53",
3673
3673
  "typeDescriptions": {
3674
3674
  "typeIdentifier": "t_uint256",
3675
3675
  "typeString": "uint256"
@@ -3678,37 +3678,37 @@
3678
3678
  "visibility": "internal"
3679
3679
  }
3680
3680
  ],
3681
- "src": "13062:77:54"
3681
+ "src": "13062:77:53"
3682
3682
  },
3683
- "src": "13049:91:54"
3683
+ "src": "13049:91:53"
3684
3684
  },
3685
3685
  {
3686
3686
  "anonymous": false,
3687
3687
  "documentation": {
3688
- "id": 19645,
3688
+ "id": 19382,
3689
3689
  "nodeType": "StructuredDocumentation",
3690
- "src": "13146:1007:54",
3690
+ "src": "13146:1007:53",
3691
3691
  "text": " @dev Agreement liquidation event (DEPRECATED BY AgreementLiquidatedV2)\n @param liquidatorAccount Account of the agent that performed the liquidation.\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param penaltyAccount Account of the agreement to be penalized\n @param bondAccount Account that collect the reward or bailout accounts\n @param rewardAmount Amount of liquidation reward\n @param bailoutAmount Amount of liquidation bailouot\n NOTE:\n Reward account rule:\n - if bailout is equal to 0, then\n - the bondAccount will get the rewardAmount,\n - the penaltyAccount will pay for the rewardAmount.\n - if bailout is larger than 0, then\n - the liquidatorAccount will get the rewardAmouont,\n - the bondAccount will pay for both the rewardAmount and bailoutAmount,\n - the penaltyAccount will pay for the rewardAmount while get the bailoutAmount."
3692
3692
  },
3693
3693
  "eventSelector": "5f22b60e58b1d6de858bc27c48d5a4653e052da99e083c1d88bb8c58e1abc8ef",
3694
- "id": 19661,
3694
+ "id": 19398,
3695
3695
  "name": "AgreementLiquidatedBy",
3696
- "nameLocation": "14164:21:54",
3696
+ "nameLocation": "14164:21:53",
3697
3697
  "nodeType": "EventDefinition",
3698
3698
  "parameters": {
3699
- "id": 19660,
3699
+ "id": 19397,
3700
3700
  "nodeType": "ParameterList",
3701
3701
  "parameters": [
3702
3702
  {
3703
3703
  "constant": false,
3704
- "id": 19647,
3704
+ "id": 19384,
3705
3705
  "indexed": false,
3706
3706
  "mutability": "mutable",
3707
3707
  "name": "liquidatorAccount",
3708
- "nameLocation": "14203:17:54",
3708
+ "nameLocation": "14203:17:53",
3709
3709
  "nodeType": "VariableDeclaration",
3710
- "scope": 19661,
3711
- "src": "14195:25:54",
3710
+ "scope": 19398,
3711
+ "src": "14195:25:53",
3712
3712
  "stateVariable": false,
3713
3713
  "storageLocation": "default",
3714
3714
  "typeDescriptions": {
@@ -3716,10 +3716,10 @@
3716
3716
  "typeString": "address"
3717
3717
  },
3718
3718
  "typeName": {
3719
- "id": 19646,
3719
+ "id": 19383,
3720
3720
  "name": "address",
3721
3721
  "nodeType": "ElementaryTypeName",
3722
- "src": "14195:7:54",
3722
+ "src": "14195:7:53",
3723
3723
  "stateMutability": "nonpayable",
3724
3724
  "typeDescriptions": {
3725
3725
  "typeIdentifier": "t_address",
@@ -3730,14 +3730,14 @@
3730
3730
  },
3731
3731
  {
3732
3732
  "constant": false,
3733
- "id": 19649,
3733
+ "id": 19386,
3734
3734
  "indexed": true,
3735
3735
  "mutability": "mutable",
3736
3736
  "name": "agreementClass",
3737
- "nameLocation": "14246:14:54",
3737
+ "nameLocation": "14246:14:53",
3738
3738
  "nodeType": "VariableDeclaration",
3739
- "scope": 19661,
3740
- "src": "14230:30:54",
3739
+ "scope": 19398,
3740
+ "src": "14230:30:53",
3741
3741
  "stateVariable": false,
3742
3742
  "storageLocation": "default",
3743
3743
  "typeDescriptions": {
@@ -3745,10 +3745,10 @@
3745
3745
  "typeString": "address"
3746
3746
  },
3747
3747
  "typeName": {
3748
- "id": 19648,
3748
+ "id": 19385,
3749
3749
  "name": "address",
3750
3750
  "nodeType": "ElementaryTypeName",
3751
- "src": "14230:7:54",
3751
+ "src": "14230:7:53",
3752
3752
  "stateMutability": "nonpayable",
3753
3753
  "typeDescriptions": {
3754
3754
  "typeIdentifier": "t_address",
@@ -3759,14 +3759,14 @@
3759
3759
  },
3760
3760
  {
3761
3761
  "constant": false,
3762
- "id": 19651,
3762
+ "id": 19388,
3763
3763
  "indexed": false,
3764
3764
  "mutability": "mutable",
3765
3765
  "name": "id",
3766
- "nameLocation": "14278:2:54",
3766
+ "nameLocation": "14278:2:53",
3767
3767
  "nodeType": "VariableDeclaration",
3768
- "scope": 19661,
3769
- "src": "14270:10:54",
3768
+ "scope": 19398,
3769
+ "src": "14270:10:53",
3770
3770
  "stateVariable": false,
3771
3771
  "storageLocation": "default",
3772
3772
  "typeDescriptions": {
@@ -3774,10 +3774,10 @@
3774
3774
  "typeString": "bytes32"
3775
3775
  },
3776
3776
  "typeName": {
3777
- "id": 19650,
3777
+ "id": 19387,
3778
3778
  "name": "bytes32",
3779
3779
  "nodeType": "ElementaryTypeName",
3780
- "src": "14270:7:54",
3780
+ "src": "14270:7:53",
3781
3781
  "typeDescriptions": {
3782
3782
  "typeIdentifier": "t_bytes32",
3783
3783
  "typeString": "bytes32"
@@ -3787,14 +3787,14 @@
3787
3787
  },
3788
3788
  {
3789
3789
  "constant": false,
3790
- "id": 19653,
3790
+ "id": 19390,
3791
3791
  "indexed": true,
3792
3792
  "mutability": "mutable",
3793
3793
  "name": "penaltyAccount",
3794
- "nameLocation": "14306:14:54",
3794
+ "nameLocation": "14306:14:53",
3795
3795
  "nodeType": "VariableDeclaration",
3796
- "scope": 19661,
3797
- "src": "14290:30:54",
3796
+ "scope": 19398,
3797
+ "src": "14290:30:53",
3798
3798
  "stateVariable": false,
3799
3799
  "storageLocation": "default",
3800
3800
  "typeDescriptions": {
@@ -3802,10 +3802,10 @@
3802
3802
  "typeString": "address"
3803
3803
  },
3804
3804
  "typeName": {
3805
- "id": 19652,
3805
+ "id": 19389,
3806
3806
  "name": "address",
3807
3807
  "nodeType": "ElementaryTypeName",
3808
- "src": "14290:7:54",
3808
+ "src": "14290:7:53",
3809
3809
  "stateMutability": "nonpayable",
3810
3810
  "typeDescriptions": {
3811
3811
  "typeIdentifier": "t_address",
@@ -3816,14 +3816,14 @@
3816
3816
  },
3817
3817
  {
3818
3818
  "constant": false,
3819
- "id": 19655,
3819
+ "id": 19392,
3820
3820
  "indexed": true,
3821
3821
  "mutability": "mutable",
3822
3822
  "name": "bondAccount",
3823
- "nameLocation": "14346:11:54",
3823
+ "nameLocation": "14346:11:53",
3824
3824
  "nodeType": "VariableDeclaration",
3825
- "scope": 19661,
3826
- "src": "14330:27:54",
3825
+ "scope": 19398,
3826
+ "src": "14330:27:53",
3827
3827
  "stateVariable": false,
3828
3828
  "storageLocation": "default",
3829
3829
  "typeDescriptions": {
@@ -3831,10 +3831,10 @@
3831
3831
  "typeString": "address"
3832
3832
  },
3833
3833
  "typeName": {
3834
- "id": 19654,
3834
+ "id": 19391,
3835
3835
  "name": "address",
3836
3836
  "nodeType": "ElementaryTypeName",
3837
- "src": "14330:7:54",
3837
+ "src": "14330:7:53",
3838
3838
  "stateMutability": "nonpayable",
3839
3839
  "typeDescriptions": {
3840
3840
  "typeIdentifier": "t_address",
@@ -3845,14 +3845,14 @@
3845
3845
  },
3846
3846
  {
3847
3847
  "constant": false,
3848
- "id": 19657,
3848
+ "id": 19394,
3849
3849
  "indexed": false,
3850
3850
  "mutability": "mutable",
3851
3851
  "name": "rewardAmount",
3852
- "nameLocation": "14375:12:54",
3852
+ "nameLocation": "14375:12:53",
3853
3853
  "nodeType": "VariableDeclaration",
3854
- "scope": 19661,
3855
- "src": "14367:20:54",
3854
+ "scope": 19398,
3855
+ "src": "14367:20:53",
3856
3856
  "stateVariable": false,
3857
3857
  "storageLocation": "default",
3858
3858
  "typeDescriptions": {
@@ -3860,10 +3860,10 @@
3860
3860
  "typeString": "uint256"
3861
3861
  },
3862
3862
  "typeName": {
3863
- "id": 19656,
3863
+ "id": 19393,
3864
3864
  "name": "uint256",
3865
3865
  "nodeType": "ElementaryTypeName",
3866
- "src": "14367:7:54",
3866
+ "src": "14367:7:53",
3867
3867
  "typeDescriptions": {
3868
3868
  "typeIdentifier": "t_uint256",
3869
3869
  "typeString": "uint256"
@@ -3873,14 +3873,14 @@
3873
3873
  },
3874
3874
  {
3875
3875
  "constant": false,
3876
- "id": 19659,
3876
+ "id": 19396,
3877
3877
  "indexed": false,
3878
3878
  "mutability": "mutable",
3879
3879
  "name": "bailoutAmount",
3880
- "nameLocation": "14405:13:54",
3880
+ "nameLocation": "14405:13:53",
3881
3881
  "nodeType": "VariableDeclaration",
3882
- "scope": 19661,
3883
- "src": "14397:21:54",
3882
+ "scope": 19398,
3883
+ "src": "14397:21:53",
3884
3884
  "stateVariable": false,
3885
3885
  "storageLocation": "default",
3886
3886
  "typeDescriptions": {
@@ -3888,10 +3888,10 @@
3888
3888
  "typeString": "uint256"
3889
3889
  },
3890
3890
  "typeName": {
3891
- "id": 19658,
3891
+ "id": 19395,
3892
3892
  "name": "uint256",
3893
3893
  "nodeType": "ElementaryTypeName",
3894
- "src": "14397:7:54",
3894
+ "src": "14397:7:53",
3895
3895
  "typeDescriptions": {
3896
3896
  "typeIdentifier": "t_uint256",
3897
3897
  "typeString": "uint256"
@@ -3900,17 +3900,17 @@
3900
3900
  "visibility": "internal"
3901
3901
  }
3902
3902
  ],
3903
- "src": "14185:239:54"
3903
+ "src": "14185:239:53"
3904
3904
  },
3905
- "src": "14158:267:54"
3905
+ "src": "14158:267:53"
3906
3906
  }
3907
3907
  ],
3908
- "scope": 19663,
3909
- "src": "188:14239:54",
3908
+ "scope": 19400,
3909
+ "src": "188:14239:53",
3910
3910
  "usedErrors": []
3911
3911
  }
3912
3912
  ],
3913
- "src": "35:14393:54"
3913
+ "src": "35:14393:53"
3914
3914
  },
3915
3915
  "compiler": {
3916
3916
  "name": "solc",
@@ -3918,7 +3918,7 @@
3918
3918
  },
3919
3919
  "networks": {},
3920
3920
  "schemaVersion": "3.4.7",
3921
- "updatedAt": "2022-04-29T12:22:58.681Z",
3921
+ "updatedAt": "2022-05-06T17:19:48.266Z",
3922
3922
  "devdoc": {
3923
3923
  "author": "Superfluid",
3924
3924
  "events": {