@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.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.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +28 -28
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +208 -208
- package/build/contracts/BatchOperation.json +784 -784
- package/build/contracts/CFAv1Forwarder.json +2299 -2473
- package/build/contracts/CFAv1Library.json +2279 -2279
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
- package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +784 -784
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1545 -1545
- package/build/contracts/FlowOperatorDefinitions.json +784 -784
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +608 -608
- package/build/contracts/IDAv1Library.json +2611 -2611
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +47 -47
- package/build/contracts/IPureSuperTokenCustom.json +47 -47
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +52 -52
- package/build/contracts/ISETHCustom.json +52 -52
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +544 -544
- package/build/contracts/ISuperTokenFactory.json +166 -166
- package/build/contracts/ISuperfluid.json +874 -874
- package/build/contracts/ISuperfluidGovernance.json +254 -254
- package/build/contracts/ISuperfluidToken.json +395 -395
- package/build/contracts/ITOGAv1.json +1441 -1441
- package/build/contracts/ITOGAv2.json +1441 -1441
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
- package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +745 -745
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +239 -239
- package/build/contracts/SuperAppDefinitions.json +784 -784
- package/build/contracts/SuperToken.json +2475 -2475
- package/build/contracts/SuperTokenFactory.json +774 -774
- package/build/contracts/SuperTokenFactoryBase.json +764 -764
- package/build/contracts/SuperTokenFactoryHelper.json +767 -767
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +5082 -5082
- package/build/contracts/SuperfluidErrors.json +784 -784
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
- package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1471 -1471
- package/build/contracts/TOGA.json +1457 -1457
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +1 -1
- package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
- package/contracts/utils/CFAv1Forwarder.sol +2 -6
- package/package.json +10 -6
- package/scripts/deploy-deterministically.js +35 -24
- package/scripts/deploy-framework.js +65 -38
- package/scripts/gov-upgrade-governance.js +87 -0
- package/scripts/info-print-contract-addresses.js +1 -1
- package/scripts/libs/common.js +2 -1
- package/scripts/libs/getConfig.js +1 -1
|
@@ -657,21 +657,21 @@
|
|
|
657
657
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
|
|
658
658
|
"exportedSymbols": {
|
|
659
659
|
"ISuperAgreement": [
|
|
660
|
-
|
|
660
|
+
19438
|
|
661
661
|
],
|
|
662
662
|
"ISuperfluidToken": [
|
|
663
|
-
|
|
663
|
+
20947
|
|
664
664
|
],
|
|
665
665
|
"SuperfluidErrors": [
|
|
666
|
-
|
|
666
|
+
19409
|
|
667
667
|
]
|
|
668
668
|
},
|
|
669
|
-
"id":
|
|
669
|
+
"id": 20948,
|
|
670
670
|
"license": "AGPLv3",
|
|
671
671
|
"nodeType": "SourceUnit",
|
|
672
672
|
"nodes": [
|
|
673
673
|
{
|
|
674
|
-
"id":
|
|
674
|
+
"id": 20673,
|
|
675
675
|
"literals": [
|
|
676
676
|
"solidity",
|
|
677
677
|
">=",
|
|
@@ -684,20 +684,20 @@
|
|
|
684
684
|
{
|
|
685
685
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
|
|
686
686
|
"file": "./ISuperAgreement.sol",
|
|
687
|
-
"id":
|
|
687
|
+
"id": 20675,
|
|
688
688
|
"nameLocation": "-1:-1:-1",
|
|
689
689
|
"nodeType": "ImportDirective",
|
|
690
|
-
"scope":
|
|
691
|
-
"sourceUnit":
|
|
690
|
+
"scope": 20948,
|
|
691
|
+
"sourceUnit": 19439,
|
|
692
692
|
"src": "62:56:50",
|
|
693
693
|
"symbolAliases": [
|
|
694
694
|
{
|
|
695
695
|
"foreign": {
|
|
696
|
-
"id":
|
|
696
|
+
"id": 20674,
|
|
697
697
|
"name": "ISuperAgreement",
|
|
698
698
|
"nodeType": "Identifier",
|
|
699
699
|
"overloadedDeclarations": [],
|
|
700
|
-
"referencedDeclaration":
|
|
700
|
+
"referencedDeclaration": 19438,
|
|
701
701
|
"src": "71:15:50",
|
|
702
702
|
"typeDescriptions": {}
|
|
703
703
|
},
|
|
@@ -709,20 +709,20 @@
|
|
|
709
709
|
{
|
|
710
710
|
"absolutePath": "project:/contracts/interfaces/superfluid/Definitions.sol",
|
|
711
711
|
"file": "./Definitions.sol",
|
|
712
|
-
"id":
|
|
712
|
+
"id": 20677,
|
|
713
713
|
"nameLocation": "-1:-1:-1",
|
|
714
714
|
"nodeType": "ImportDirective",
|
|
715
|
-
"scope":
|
|
716
|
-
"sourceUnit":
|
|
715
|
+
"scope": 20948,
|
|
716
|
+
"sourceUnit": 19410,
|
|
717
717
|
"src": "119:53:50",
|
|
718
718
|
"symbolAliases": [
|
|
719
719
|
{
|
|
720
720
|
"foreign": {
|
|
721
|
-
"id":
|
|
721
|
+
"id": 20676,
|
|
722
722
|
"name": "SuperfluidErrors",
|
|
723
723
|
"nodeType": "Identifier",
|
|
724
724
|
"overloadedDeclarations": [],
|
|
725
|
-
"referencedDeclaration":
|
|
725
|
+
"referencedDeclaration": 19409,
|
|
726
726
|
"src": "128:16:50",
|
|
727
727
|
"typeDescriptions": {}
|
|
728
728
|
},
|
|
@@ -738,15 +738,15 @@
|
|
|
738
738
|
"contractDependencies": [],
|
|
739
739
|
"contractKind": "interface",
|
|
740
740
|
"documentation": {
|
|
741
|
-
"id":
|
|
741
|
+
"id": 20678,
|
|
742
742
|
"nodeType": "StructuredDocumentation",
|
|
743
743
|
"src": "174:66:50",
|
|
744
744
|
"text": " @title Superfluid token interface\n @author Superfluid"
|
|
745
745
|
},
|
|
746
746
|
"fullyImplemented": false,
|
|
747
|
-
"id":
|
|
747
|
+
"id": 20947,
|
|
748
748
|
"linearizedBaseContracts": [
|
|
749
|
-
|
|
749
|
+
20947
|
|
750
750
|
],
|
|
751
751
|
"name": "ISuperfluidToken",
|
|
752
752
|
"nameLocation": "251:16:50",
|
|
@@ -754,13 +754,13 @@
|
|
|
754
754
|
"nodes": [
|
|
755
755
|
{
|
|
756
756
|
"documentation": {
|
|
757
|
-
"id":
|
|
757
|
+
"id": 20679,
|
|
758
758
|
"nodeType": "StructuredDocumentation",
|
|
759
759
|
"src": "460:60:50",
|
|
760
760
|
"text": " @dev Get superfluid host contract address"
|
|
761
761
|
},
|
|
762
762
|
"functionSelector": "20bc4425",
|
|
763
|
-
"id":
|
|
763
|
+
"id": 20684,
|
|
764
764
|
"implemented": false,
|
|
765
765
|
"kind": "function",
|
|
766
766
|
"modifiers": [],
|
|
@@ -768,23 +768,23 @@
|
|
|
768
768
|
"nameLocation": "534:7:50",
|
|
769
769
|
"nodeType": "FunctionDefinition",
|
|
770
770
|
"parameters": {
|
|
771
|
-
"id":
|
|
771
|
+
"id": 20680,
|
|
772
772
|
"nodeType": "ParameterList",
|
|
773
773
|
"parameters": [],
|
|
774
774
|
"src": "541:2:50"
|
|
775
775
|
},
|
|
776
776
|
"returnParameters": {
|
|
777
|
-
"id":
|
|
777
|
+
"id": 20683,
|
|
778
778
|
"nodeType": "ParameterList",
|
|
779
779
|
"parameters": [
|
|
780
780
|
{
|
|
781
781
|
"constant": false,
|
|
782
|
-
"id":
|
|
782
|
+
"id": 20682,
|
|
783
783
|
"mutability": "mutable",
|
|
784
784
|
"name": "host",
|
|
785
785
|
"nameLocation": "574:4:50",
|
|
786
786
|
"nodeType": "VariableDeclaration",
|
|
787
|
-
"scope":
|
|
787
|
+
"scope": 20684,
|
|
788
788
|
"src": "566:12:50",
|
|
789
789
|
"stateVariable": false,
|
|
790
790
|
"storageLocation": "default",
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
"typeString": "address"
|
|
794
794
|
},
|
|
795
795
|
"typeName": {
|
|
796
|
-
"id":
|
|
796
|
+
"id": 20681,
|
|
797
797
|
"name": "address",
|
|
798
798
|
"nodeType": "ElementaryTypeName",
|
|
799
799
|
"src": "566:7:50",
|
|
@@ -808,7 +808,7 @@
|
|
|
808
808
|
],
|
|
809
809
|
"src": "565:14:50"
|
|
810
810
|
},
|
|
811
|
-
"scope":
|
|
811
|
+
"scope": 20947,
|
|
812
812
|
"src": "525:55:50",
|
|
813
813
|
"stateMutability": "view",
|
|
814
814
|
"virtual": false,
|
|
@@ -816,16 +816,16 @@
|
|
|
816
816
|
},
|
|
817
817
|
{
|
|
818
818
|
"canonicalName": "ISuperfluidToken.LiquidationTypeData",
|
|
819
|
-
"id":
|
|
819
|
+
"id": 20689,
|
|
820
820
|
"members": [
|
|
821
821
|
{
|
|
822
822
|
"constant": false,
|
|
823
|
-
"id":
|
|
823
|
+
"id": 20686,
|
|
824
824
|
"mutability": "mutable",
|
|
825
825
|
"name": "version",
|
|
826
826
|
"nameLocation": "1013:7:50",
|
|
827
827
|
"nodeType": "VariableDeclaration",
|
|
828
|
-
"scope":
|
|
828
|
+
"scope": 20689,
|
|
829
829
|
"src": "1005:15:50",
|
|
830
830
|
"stateVariable": false,
|
|
831
831
|
"storageLocation": "default",
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
"typeString": "uint256"
|
|
835
835
|
},
|
|
836
836
|
"typeName": {
|
|
837
|
-
"id":
|
|
837
|
+
"id": 20685,
|
|
838
838
|
"name": "uint256",
|
|
839
839
|
"nodeType": "ElementaryTypeName",
|
|
840
840
|
"src": "1005:7:50",
|
|
@@ -847,12 +847,12 @@
|
|
|
847
847
|
},
|
|
848
848
|
{
|
|
849
849
|
"constant": false,
|
|
850
|
-
"id":
|
|
850
|
+
"id": 20688,
|
|
851
851
|
"mutability": "mutable",
|
|
852
852
|
"name": "liquidationType",
|
|
853
853
|
"nameLocation": "1036:15:50",
|
|
854
854
|
"nodeType": "VariableDeclaration",
|
|
855
|
-
"scope":
|
|
855
|
+
"scope": 20689,
|
|
856
856
|
"src": "1030:21:50",
|
|
857
857
|
"stateVariable": false,
|
|
858
858
|
"storageLocation": "default",
|
|
@@ -861,7 +861,7 @@
|
|
|
861
861
|
"typeString": "uint8"
|
|
862
862
|
},
|
|
863
863
|
"typeName": {
|
|
864
|
-
"id":
|
|
864
|
+
"id": 20687,
|
|
865
865
|
"name": "uint8",
|
|
866
866
|
"nodeType": "ElementaryTypeName",
|
|
867
867
|
"src": "1030:5:50",
|
|
@@ -876,19 +876,19 @@
|
|
|
876
876
|
"name": "LiquidationTypeData",
|
|
877
877
|
"nameLocation": "975:19:50",
|
|
878
878
|
"nodeType": "StructDefinition",
|
|
879
|
-
"scope":
|
|
879
|
+
"scope": 20947,
|
|
880
880
|
"src": "968:90:50",
|
|
881
881
|
"visibility": "public"
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
884
|
"documentation": {
|
|
885
|
-
"id":
|
|
885
|
+
"id": 20690,
|
|
886
886
|
"nodeType": "StructuredDocumentation",
|
|
887
887
|
"src": "1260:321:50",
|
|
888
888
|
"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"
|
|
889
889
|
},
|
|
890
890
|
"functionSelector": "eb3537cc",
|
|
891
|
-
"id":
|
|
891
|
+
"id": 20703,
|
|
892
892
|
"implemented": false,
|
|
893
893
|
"kind": "function",
|
|
894
894
|
"modifiers": [],
|
|
@@ -896,17 +896,17 @@
|
|
|
896
896
|
"nameLocation": "1595:17:50",
|
|
897
897
|
"nodeType": "FunctionDefinition",
|
|
898
898
|
"parameters": {
|
|
899
|
-
"id":
|
|
899
|
+
"id": 20695,
|
|
900
900
|
"nodeType": "ParameterList",
|
|
901
901
|
"parameters": [
|
|
902
902
|
{
|
|
903
903
|
"constant": false,
|
|
904
|
-
"id":
|
|
904
|
+
"id": 20692,
|
|
905
905
|
"mutability": "mutable",
|
|
906
906
|
"name": "account",
|
|
907
907
|
"nameLocation": "1629:7:50",
|
|
908
908
|
"nodeType": "VariableDeclaration",
|
|
909
|
-
"scope":
|
|
909
|
+
"scope": 20703,
|
|
910
910
|
"src": "1621:15:50",
|
|
911
911
|
"stateVariable": false,
|
|
912
912
|
"storageLocation": "default",
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
"typeString": "address"
|
|
916
916
|
},
|
|
917
917
|
"typeName": {
|
|
918
|
-
"id":
|
|
918
|
+
"id": 20691,
|
|
919
919
|
"name": "address",
|
|
920
920
|
"nodeType": "ElementaryTypeName",
|
|
921
921
|
"src": "1621:7:50",
|
|
@@ -929,12 +929,12 @@
|
|
|
929
929
|
},
|
|
930
930
|
{
|
|
931
931
|
"constant": false,
|
|
932
|
-
"id":
|
|
932
|
+
"id": 20694,
|
|
933
933
|
"mutability": "mutable",
|
|
934
934
|
"name": "timestamp",
|
|
935
935
|
"nameLocation": "1653:9:50",
|
|
936
936
|
"nodeType": "VariableDeclaration",
|
|
937
|
-
"scope":
|
|
937
|
+
"scope": 20703,
|
|
938
938
|
"src": "1645:17:50",
|
|
939
939
|
"stateVariable": false,
|
|
940
940
|
"storageLocation": "default",
|
|
@@ -943,7 +943,7 @@
|
|
|
943
943
|
"typeString": "uint256"
|
|
944
944
|
},
|
|
945
945
|
"typeName": {
|
|
946
|
-
"id":
|
|
946
|
+
"id": 20693,
|
|
947
947
|
"name": "uint256",
|
|
948
948
|
"nodeType": "ElementaryTypeName",
|
|
949
949
|
"src": "1645:7:50",
|
|
@@ -958,17 +958,17 @@
|
|
|
958
958
|
"src": "1612:56:50"
|
|
959
959
|
},
|
|
960
960
|
"returnParameters": {
|
|
961
|
-
"id":
|
|
961
|
+
"id": 20702,
|
|
962
962
|
"nodeType": "ParameterList",
|
|
963
963
|
"parameters": [
|
|
964
964
|
{
|
|
965
965
|
"constant": false,
|
|
966
|
-
"id":
|
|
966
|
+
"id": 20697,
|
|
967
967
|
"mutability": "mutable",
|
|
968
968
|
"name": "availableBalance",
|
|
969
969
|
"nameLocation": "1728:16:50",
|
|
970
970
|
"nodeType": "VariableDeclaration",
|
|
971
|
-
"scope":
|
|
971
|
+
"scope": 20703,
|
|
972
972
|
"src": "1721:23:50",
|
|
973
973
|
"stateVariable": false,
|
|
974
974
|
"storageLocation": "default",
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
"typeString": "int256"
|
|
978
978
|
},
|
|
979
979
|
"typeName": {
|
|
980
|
-
"id":
|
|
980
|
+
"id": 20696,
|
|
981
981
|
"name": "int256",
|
|
982
982
|
"nodeType": "ElementaryTypeName",
|
|
983
983
|
"src": "1721:6:50",
|
|
@@ -990,12 +990,12 @@
|
|
|
990
990
|
},
|
|
991
991
|
{
|
|
992
992
|
"constant": false,
|
|
993
|
-
"id":
|
|
993
|
+
"id": 20699,
|
|
994
994
|
"mutability": "mutable",
|
|
995
995
|
"name": "deposit",
|
|
996
996
|
"nameLocation": "1766:7:50",
|
|
997
997
|
"nodeType": "VariableDeclaration",
|
|
998
|
-
"scope":
|
|
998
|
+
"scope": 20703,
|
|
999
999
|
"src": "1758:15:50",
|
|
1000
1000
|
"stateVariable": false,
|
|
1001
1001
|
"storageLocation": "default",
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
"typeString": "uint256"
|
|
1005
1005
|
},
|
|
1006
1006
|
"typeName": {
|
|
1007
|
-
"id":
|
|
1007
|
+
"id": 20698,
|
|
1008
1008
|
"name": "uint256",
|
|
1009
1009
|
"nodeType": "ElementaryTypeName",
|
|
1010
1010
|
"src": "1758:7:50",
|
|
@@ -1017,12 +1017,12 @@
|
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
1019
|
"constant": false,
|
|
1020
|
-
"id":
|
|
1020
|
+
"id": 20701,
|
|
1021
1021
|
"mutability": "mutable",
|
|
1022
1022
|
"name": "owedDeposit",
|
|
1023
1023
|
"nameLocation": "1795:11:50",
|
|
1024
1024
|
"nodeType": "VariableDeclaration",
|
|
1025
|
-
"scope":
|
|
1025
|
+
"scope": 20703,
|
|
1026
1026
|
"src": "1787:19:50",
|
|
1027
1027
|
"stateVariable": false,
|
|
1028
1028
|
"storageLocation": "default",
|
|
@@ -1031,7 +1031,7 @@
|
|
|
1031
1031
|
"typeString": "uint256"
|
|
1032
1032
|
},
|
|
1033
1033
|
"typeName": {
|
|
1034
|
-
"id":
|
|
1034
|
+
"id": 20700,
|
|
1035
1035
|
"name": "uint256",
|
|
1036
1036
|
"nodeType": "ElementaryTypeName",
|
|
1037
1037
|
"src": "1787:7:50",
|
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
],
|
|
1046
1046
|
"src": "1707:100:50"
|
|
1047
1047
|
},
|
|
1048
|
-
"scope":
|
|
1048
|
+
"scope": 20947,
|
|
1049
1049
|
"src": "1586:222:50",
|
|
1050
1050
|
"stateMutability": "view",
|
|
1051
1051
|
"virtual": false,
|
|
@@ -1053,13 +1053,13 @@
|
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
1055
|
"documentation": {
|
|
1056
|
-
"id":
|
|
1056
|
+
"id": 20704,
|
|
1057
1057
|
"nodeType": "StructuredDocumentation",
|
|
1058
1058
|
"src": "1814:339:50",
|
|
1059
1059
|
"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"
|
|
1060
1060
|
},
|
|
1061
1061
|
"functionSelector": "2ec8eec7",
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 20717,
|
|
1063
1063
|
"implemented": false,
|
|
1064
1064
|
"kind": "function",
|
|
1065
1065
|
"modifiers": [],
|
|
@@ -1067,17 +1067,17 @@
|
|
|
1067
1067
|
"nameLocation": "2167:20:50",
|
|
1068
1068
|
"nodeType": "FunctionDefinition",
|
|
1069
1069
|
"parameters": {
|
|
1070
|
-
"id":
|
|
1070
|
+
"id": 20707,
|
|
1071
1071
|
"nodeType": "ParameterList",
|
|
1072
1072
|
"parameters": [
|
|
1073
1073
|
{
|
|
1074
1074
|
"constant": false,
|
|
1075
|
-
"id":
|
|
1075
|
+
"id": 20706,
|
|
1076
1076
|
"mutability": "mutable",
|
|
1077
1077
|
"name": "account",
|
|
1078
1078
|
"nameLocation": "2204:7:50",
|
|
1079
1079
|
"nodeType": "VariableDeclaration",
|
|
1080
|
-
"scope":
|
|
1080
|
+
"scope": 20717,
|
|
1081
1081
|
"src": "2196:15:50",
|
|
1082
1082
|
"stateVariable": false,
|
|
1083
1083
|
"storageLocation": "default",
|
|
@@ -1086,7 +1086,7 @@
|
|
|
1086
1086
|
"typeString": "address"
|
|
1087
1087
|
},
|
|
1088
1088
|
"typeName": {
|
|
1089
|
-
"id":
|
|
1089
|
+
"id": 20705,
|
|
1090
1090
|
"name": "address",
|
|
1091
1091
|
"nodeType": "ElementaryTypeName",
|
|
1092
1092
|
"src": "2196:7:50",
|
|
@@ -1102,17 +1102,17 @@
|
|
|
1102
1102
|
"src": "2187:30:50"
|
|
1103
1103
|
},
|
|
1104
1104
|
"returnParameters": {
|
|
1105
|
-
"id":
|
|
1105
|
+
"id": 20716,
|
|
1106
1106
|
"nodeType": "ParameterList",
|
|
1107
1107
|
"parameters": [
|
|
1108
1108
|
{
|
|
1109
1109
|
"constant": false,
|
|
1110
|
-
"id":
|
|
1110
|
+
"id": 20709,
|
|
1111
1111
|
"mutability": "mutable",
|
|
1112
1112
|
"name": "availableBalance",
|
|
1113
1113
|
"nameLocation": "2277:16:50",
|
|
1114
1114
|
"nodeType": "VariableDeclaration",
|
|
1115
|
-
"scope":
|
|
1115
|
+
"scope": 20717,
|
|
1116
1116
|
"src": "2270:23:50",
|
|
1117
1117
|
"stateVariable": false,
|
|
1118
1118
|
"storageLocation": "default",
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
"typeString": "int256"
|
|
1122
1122
|
},
|
|
1123
1123
|
"typeName": {
|
|
1124
|
-
"id":
|
|
1124
|
+
"id": 20708,
|
|
1125
1125
|
"name": "int256",
|
|
1126
1126
|
"nodeType": "ElementaryTypeName",
|
|
1127
1127
|
"src": "2270:6:50",
|
|
@@ -1134,12 +1134,12 @@
|
|
|
1134
1134
|
},
|
|
1135
1135
|
{
|
|
1136
1136
|
"constant": false,
|
|
1137
|
-
"id":
|
|
1137
|
+
"id": 20711,
|
|
1138
1138
|
"mutability": "mutable",
|
|
1139
1139
|
"name": "deposit",
|
|
1140
1140
|
"nameLocation": "2315:7:50",
|
|
1141
1141
|
"nodeType": "VariableDeclaration",
|
|
1142
|
-
"scope":
|
|
1142
|
+
"scope": 20717,
|
|
1143
1143
|
"src": "2307:15:50",
|
|
1144
1144
|
"stateVariable": false,
|
|
1145
1145
|
"storageLocation": "default",
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
"typeString": "uint256"
|
|
1149
1149
|
},
|
|
1150
1150
|
"typeName": {
|
|
1151
|
-
"id":
|
|
1151
|
+
"id": 20710,
|
|
1152
1152
|
"name": "uint256",
|
|
1153
1153
|
"nodeType": "ElementaryTypeName",
|
|
1154
1154
|
"src": "2307:7:50",
|
|
@@ -1161,12 +1161,12 @@
|
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
1163
|
"constant": false,
|
|
1164
|
-
"id":
|
|
1164
|
+
"id": 20713,
|
|
1165
1165
|
"mutability": "mutable",
|
|
1166
1166
|
"name": "owedDeposit",
|
|
1167
1167
|
"nameLocation": "2344:11:50",
|
|
1168
1168
|
"nodeType": "VariableDeclaration",
|
|
1169
|
-
"scope":
|
|
1169
|
+
"scope": 20717,
|
|
1170
1170
|
"src": "2336:19:50",
|
|
1171
1171
|
"stateVariable": false,
|
|
1172
1172
|
"storageLocation": "default",
|
|
@@ -1175,7 +1175,7 @@
|
|
|
1175
1175
|
"typeString": "uint256"
|
|
1176
1176
|
},
|
|
1177
1177
|
"typeName": {
|
|
1178
|
-
"id":
|
|
1178
|
+
"id": 20712,
|
|
1179
1179
|
"name": "uint256",
|
|
1180
1180
|
"nodeType": "ElementaryTypeName",
|
|
1181
1181
|
"src": "2336:7:50",
|
|
@@ -1188,12 +1188,12 @@
|
|
|
1188
1188
|
},
|
|
1189
1189
|
{
|
|
1190
1190
|
"constant": false,
|
|
1191
|
-
"id":
|
|
1191
|
+
"id": 20715,
|
|
1192
1192
|
"mutability": "mutable",
|
|
1193
1193
|
"name": "timestamp",
|
|
1194
1194
|
"nameLocation": "2377:9:50",
|
|
1195
1195
|
"nodeType": "VariableDeclaration",
|
|
1196
|
-
"scope":
|
|
1196
|
+
"scope": 20717,
|
|
1197
1197
|
"src": "2369:17:50",
|
|
1198
1198
|
"stateVariable": false,
|
|
1199
1199
|
"storageLocation": "default",
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
"typeString": "uint256"
|
|
1203
1203
|
},
|
|
1204
1204
|
"typeName": {
|
|
1205
|
-
"id":
|
|
1205
|
+
"id": 20714,
|
|
1206
1206
|
"name": "uint256",
|
|
1207
1207
|
"nodeType": "ElementaryTypeName",
|
|
1208
1208
|
"src": "2369:7:50",
|
|
@@ -1216,7 +1216,7 @@
|
|
|
1216
1216
|
],
|
|
1217
1217
|
"src": "2256:131:50"
|
|
1218
1218
|
},
|
|
1219
|
-
"scope":
|
|
1219
|
+
"scope": 20947,
|
|
1220
1220
|
"src": "2158:230:50",
|
|
1221
1221
|
"stateMutability": "view",
|
|
1222
1222
|
"virtual": false,
|
|
@@ -1224,13 +1224,13 @@
|
|
|
1224
1224
|
},
|
|
1225
1225
|
{
|
|
1226
1226
|
"documentation": {
|
|
1227
|
-
"id":
|
|
1227
|
+
"id": 20718,
|
|
1228
1228
|
"nodeType": "StructuredDocumentation",
|
|
1229
1229
|
"src": "2394:309:50",
|
|
1230
1230
|
"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"
|
|
1231
1231
|
},
|
|
1232
1232
|
"functionSelector": "d9d078d6",
|
|
1233
|
-
"id":
|
|
1233
|
+
"id": 20727,
|
|
1234
1234
|
"implemented": false,
|
|
1235
1235
|
"kind": "function",
|
|
1236
1236
|
"modifiers": [],
|
|
@@ -1238,17 +1238,17 @@
|
|
|
1238
1238
|
"nameLocation": "2717:17:50",
|
|
1239
1239
|
"nodeType": "FunctionDefinition",
|
|
1240
1240
|
"parameters": {
|
|
1241
|
-
"id":
|
|
1241
|
+
"id": 20723,
|
|
1242
1242
|
"nodeType": "ParameterList",
|
|
1243
1243
|
"parameters": [
|
|
1244
1244
|
{
|
|
1245
1245
|
"constant": false,
|
|
1246
|
-
"id":
|
|
1246
|
+
"id": 20720,
|
|
1247
1247
|
"mutability": "mutable",
|
|
1248
1248
|
"name": "account",
|
|
1249
1249
|
"nameLocation": "2752:7:50",
|
|
1250
1250
|
"nodeType": "VariableDeclaration",
|
|
1251
|
-
"scope":
|
|
1251
|
+
"scope": 20727,
|
|
1252
1252
|
"src": "2744:15:50",
|
|
1253
1253
|
"stateVariable": false,
|
|
1254
1254
|
"storageLocation": "default",
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
"typeString": "address"
|
|
1258
1258
|
},
|
|
1259
1259
|
"typeName": {
|
|
1260
|
-
"id":
|
|
1260
|
+
"id": 20719,
|
|
1261
1261
|
"name": "address",
|
|
1262
1262
|
"nodeType": "ElementaryTypeName",
|
|
1263
1263
|
"src": "2744:7:50",
|
|
@@ -1271,12 +1271,12 @@
|
|
|
1271
1271
|
},
|
|
1272
1272
|
{
|
|
1273
1273
|
"constant": false,
|
|
1274
|
-
"id":
|
|
1274
|
+
"id": 20722,
|
|
1275
1275
|
"mutability": "mutable",
|
|
1276
1276
|
"name": "timestamp",
|
|
1277
1277
|
"nameLocation": "2777:9:50",
|
|
1278
1278
|
"nodeType": "VariableDeclaration",
|
|
1279
|
-
"scope":
|
|
1279
|
+
"scope": 20727,
|
|
1280
1280
|
"src": "2769:17:50",
|
|
1281
1281
|
"stateVariable": false,
|
|
1282
1282
|
"storageLocation": "default",
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
"typeString": "uint256"
|
|
1286
1286
|
},
|
|
1287
1287
|
"typeName": {
|
|
1288
|
-
"id":
|
|
1288
|
+
"id": 20721,
|
|
1289
1289
|
"name": "uint256",
|
|
1290
1290
|
"nodeType": "ElementaryTypeName",
|
|
1291
1291
|
"src": "2769:7:50",
|
|
@@ -1300,17 +1300,17 @@
|
|
|
1300
1300
|
"src": "2734:58:50"
|
|
1301
1301
|
},
|
|
1302
1302
|
"returnParameters": {
|
|
1303
|
-
"id":
|
|
1303
|
+
"id": 20726,
|
|
1304
1304
|
"nodeType": "ParameterList",
|
|
1305
1305
|
"parameters": [
|
|
1306
1306
|
{
|
|
1307
1307
|
"constant": false,
|
|
1308
|
-
"id":
|
|
1308
|
+
"id": 20725,
|
|
1309
1309
|
"mutability": "mutable",
|
|
1310
1310
|
"name": "isCritical",
|
|
1311
1311
|
"nameLocation": "2836:10:50",
|
|
1312
1312
|
"nodeType": "VariableDeclaration",
|
|
1313
|
-
"scope":
|
|
1313
|
+
"scope": 20727,
|
|
1314
1314
|
"src": "2831:15:50",
|
|
1315
1315
|
"stateVariable": false,
|
|
1316
1316
|
"storageLocation": "default",
|
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
"typeString": "bool"
|
|
1320
1320
|
},
|
|
1321
1321
|
"typeName": {
|
|
1322
|
-
"id":
|
|
1322
|
+
"id": 20724,
|
|
1323
1323
|
"name": "bool",
|
|
1324
1324
|
"nodeType": "ElementaryTypeName",
|
|
1325
1325
|
"src": "2831:4:50",
|
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
],
|
|
1334
1334
|
"src": "2830:17:50"
|
|
1335
1335
|
},
|
|
1336
|
-
"scope":
|
|
1336
|
+
"scope": 20947,
|
|
1337
1337
|
"src": "2708:140:50",
|
|
1338
1338
|
"stateMutability": "view",
|
|
1339
1339
|
"virtual": false,
|
|
@@ -1341,13 +1341,13 @@
|
|
|
1341
1341
|
},
|
|
1342
1342
|
{
|
|
1343
1343
|
"documentation": {
|
|
1344
|
-
"id":
|
|
1344
|
+
"id": 20728,
|
|
1345
1345
|
"nodeType": "StructuredDocumentation",
|
|
1346
1346
|
"src": "2854:239:50",
|
|
1347
1347
|
"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"
|
|
1348
1348
|
},
|
|
1349
1349
|
"functionSelector": "79359f6f",
|
|
1350
|
-
"id":
|
|
1350
|
+
"id": 20735,
|
|
1351
1351
|
"implemented": false,
|
|
1352
1352
|
"kind": "function",
|
|
1353
1353
|
"modifiers": [],
|
|
@@ -1355,17 +1355,17 @@
|
|
|
1355
1355
|
"nameLocation": "3107:20:50",
|
|
1356
1356
|
"nodeType": "FunctionDefinition",
|
|
1357
1357
|
"parameters": {
|
|
1358
|
-
"id":
|
|
1358
|
+
"id": 20731,
|
|
1359
1359
|
"nodeType": "ParameterList",
|
|
1360
1360
|
"parameters": [
|
|
1361
1361
|
{
|
|
1362
1362
|
"constant": false,
|
|
1363
|
-
"id":
|
|
1363
|
+
"id": 20730,
|
|
1364
1364
|
"mutability": "mutable",
|
|
1365
1365
|
"name": "account",
|
|
1366
1366
|
"nameLocation": "3145:7:50",
|
|
1367
1367
|
"nodeType": "VariableDeclaration",
|
|
1368
|
-
"scope":
|
|
1368
|
+
"scope": 20735,
|
|
1369
1369
|
"src": "3137:15:50",
|
|
1370
1370
|
"stateVariable": false,
|
|
1371
1371
|
"storageLocation": "default",
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
"typeString": "address"
|
|
1375
1375
|
},
|
|
1376
1376
|
"typeName": {
|
|
1377
|
-
"id":
|
|
1377
|
+
"id": 20729,
|
|
1378
1378
|
"name": "address",
|
|
1379
1379
|
"nodeType": "ElementaryTypeName",
|
|
1380
1380
|
"src": "3137:7:50",
|
|
@@ -1390,17 +1390,17 @@
|
|
|
1390
1390
|
"src": "3127:31:50"
|
|
1391
1391
|
},
|
|
1392
1392
|
"returnParameters": {
|
|
1393
|
-
"id":
|
|
1393
|
+
"id": 20734,
|
|
1394
1394
|
"nodeType": "ParameterList",
|
|
1395
1395
|
"parameters": [
|
|
1396
1396
|
{
|
|
1397
1397
|
"constant": false,
|
|
1398
|
-
"id":
|
|
1398
|
+
"id": 20733,
|
|
1399
1399
|
"mutability": "mutable",
|
|
1400
1400
|
"name": "isCritical",
|
|
1401
1401
|
"nameLocation": "3202:10:50",
|
|
1402
1402
|
"nodeType": "VariableDeclaration",
|
|
1403
|
-
"scope":
|
|
1403
|
+
"scope": 20735,
|
|
1404
1404
|
"src": "3197:15:50",
|
|
1405
1405
|
"stateVariable": false,
|
|
1406
1406
|
"storageLocation": "default",
|
|
@@ -1409,7 +1409,7 @@
|
|
|
1409
1409
|
"typeString": "bool"
|
|
1410
1410
|
},
|
|
1411
1411
|
"typeName": {
|
|
1412
|
-
"id":
|
|
1412
|
+
"id": 20732,
|
|
1413
1413
|
"name": "bool",
|
|
1414
1414
|
"nodeType": "ElementaryTypeName",
|
|
1415
1415
|
"src": "3197:4:50",
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
],
|
|
1424
1424
|
"src": "3196:17:50"
|
|
1425
1425
|
},
|
|
1426
|
-
"scope":
|
|
1426
|
+
"scope": 20947,
|
|
1427
1427
|
"src": "3098:116:50",
|
|
1428
1428
|
"stateMutability": "view",
|
|
1429
1429
|
"virtual": false,
|
|
@@ -1431,13 +1431,13 @@
|
|
|
1431
1431
|
},
|
|
1432
1432
|
{
|
|
1433
1433
|
"documentation": {
|
|
1434
|
-
"id":
|
|
1434
|
+
"id": 20736,
|
|
1435
1435
|
"nodeType": "StructuredDocumentation",
|
|
1436
1436
|
"src": "3220:383:50",
|
|
1437
1437
|
"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 True if the account is solvent, false otherwise"
|
|
1438
1438
|
},
|
|
1439
1439
|
"functionSelector": "b84cdd4a",
|
|
1440
|
-
"id":
|
|
1440
|
+
"id": 20745,
|
|
1441
1441
|
"implemented": false,
|
|
1442
1442
|
"kind": "function",
|
|
1443
1443
|
"modifiers": [],
|
|
@@ -1445,17 +1445,17 @@
|
|
|
1445
1445
|
"nameLocation": "3617:16:50",
|
|
1446
1446
|
"nodeType": "FunctionDefinition",
|
|
1447
1447
|
"parameters": {
|
|
1448
|
-
"id":
|
|
1448
|
+
"id": 20741,
|
|
1449
1449
|
"nodeType": "ParameterList",
|
|
1450
1450
|
"parameters": [
|
|
1451
1451
|
{
|
|
1452
1452
|
"constant": false,
|
|
1453
|
-
"id":
|
|
1453
|
+
"id": 20738,
|
|
1454
1454
|
"mutability": "mutable",
|
|
1455
1455
|
"name": "account",
|
|
1456
1456
|
"nameLocation": "3651:7:50",
|
|
1457
1457
|
"nodeType": "VariableDeclaration",
|
|
1458
|
-
"scope":
|
|
1458
|
+
"scope": 20745,
|
|
1459
1459
|
"src": "3643:15:50",
|
|
1460
1460
|
"stateVariable": false,
|
|
1461
1461
|
"storageLocation": "default",
|
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
"typeString": "address"
|
|
1465
1465
|
},
|
|
1466
1466
|
"typeName": {
|
|
1467
|
-
"id":
|
|
1467
|
+
"id": 20737,
|
|
1468
1468
|
"name": "address",
|
|
1469
1469
|
"nodeType": "ElementaryTypeName",
|
|
1470
1470
|
"src": "3643:7:50",
|
|
@@ -1478,12 +1478,12 @@
|
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
1480
|
"constant": false,
|
|
1481
|
-
"id":
|
|
1481
|
+
"id": 20740,
|
|
1482
1482
|
"mutability": "mutable",
|
|
1483
1483
|
"name": "timestamp",
|
|
1484
1484
|
"nameLocation": "3676:9:50",
|
|
1485
1485
|
"nodeType": "VariableDeclaration",
|
|
1486
|
-
"scope":
|
|
1486
|
+
"scope": 20745,
|
|
1487
1487
|
"src": "3668:17:50",
|
|
1488
1488
|
"stateVariable": false,
|
|
1489
1489
|
"storageLocation": "default",
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
"typeString": "uint256"
|
|
1493
1493
|
},
|
|
1494
1494
|
"typeName": {
|
|
1495
|
-
"id":
|
|
1495
|
+
"id": 20739,
|
|
1496
1496
|
"name": "uint256",
|
|
1497
1497
|
"nodeType": "ElementaryTypeName",
|
|
1498
1498
|
"src": "3668:7:50",
|
|
@@ -1507,17 +1507,17 @@
|
|
|
1507
1507
|
"src": "3633:58:50"
|
|
1508
1508
|
},
|
|
1509
1509
|
"returnParameters": {
|
|
1510
|
-
"id":
|
|
1510
|
+
"id": 20744,
|
|
1511
1511
|
"nodeType": "ParameterList",
|
|
1512
1512
|
"parameters": [
|
|
1513
1513
|
{
|
|
1514
1514
|
"constant": false,
|
|
1515
|
-
"id":
|
|
1515
|
+
"id": 20743,
|
|
1516
1516
|
"mutability": "mutable",
|
|
1517
1517
|
"name": "isSolvent",
|
|
1518
1518
|
"nameLocation": "3735:9:50",
|
|
1519
1519
|
"nodeType": "VariableDeclaration",
|
|
1520
|
-
"scope":
|
|
1520
|
+
"scope": 20745,
|
|
1521
1521
|
"src": "3730:14:50",
|
|
1522
1522
|
"stateVariable": false,
|
|
1523
1523
|
"storageLocation": "default",
|
|
@@ -1526,7 +1526,7 @@
|
|
|
1526
1526
|
"typeString": "bool"
|
|
1527
1527
|
},
|
|
1528
1528
|
"typeName": {
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 20742,
|
|
1530
1530
|
"name": "bool",
|
|
1531
1531
|
"nodeType": "ElementaryTypeName",
|
|
1532
1532
|
"src": "3730:4:50",
|
|
@@ -1540,7 +1540,7 @@
|
|
|
1540
1540
|
],
|
|
1541
1541
|
"src": "3729:16:50"
|
|
1542
1542
|
},
|
|
1543
|
-
"scope":
|
|
1543
|
+
"scope": 20947,
|
|
1544
1544
|
"src": "3608:138:50",
|
|
1545
1545
|
"stateMutability": "view",
|
|
1546
1546
|
"virtual": false,
|
|
@@ -1548,13 +1548,13 @@
|
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
"documentation": {
|
|
1551
|
-
"id":
|
|
1551
|
+
"id": 20746,
|
|
1552
1552
|
"nodeType": "StructuredDocumentation",
|
|
1553
1553
|
"src": "3752:289:50",
|
|
1554
1554
|
"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 True if the account is solvent, false otherwise"
|
|
1555
1555
|
},
|
|
1556
1556
|
"functionSelector": "bb0d196e",
|
|
1557
|
-
"id":
|
|
1557
|
+
"id": 20753,
|
|
1558
1558
|
"implemented": false,
|
|
1559
1559
|
"kind": "function",
|
|
1560
1560
|
"modifiers": [],
|
|
@@ -1562,17 +1562,17 @@
|
|
|
1562
1562
|
"nameLocation": "4055:19:50",
|
|
1563
1563
|
"nodeType": "FunctionDefinition",
|
|
1564
1564
|
"parameters": {
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 20749,
|
|
1566
1566
|
"nodeType": "ParameterList",
|
|
1567
1567
|
"parameters": [
|
|
1568
1568
|
{
|
|
1569
1569
|
"constant": false,
|
|
1570
|
-
"id":
|
|
1570
|
+
"id": 20748,
|
|
1571
1571
|
"mutability": "mutable",
|
|
1572
1572
|
"name": "account",
|
|
1573
1573
|
"nameLocation": "4092:7:50",
|
|
1574
1574
|
"nodeType": "VariableDeclaration",
|
|
1575
|
-
"scope":
|
|
1575
|
+
"scope": 20753,
|
|
1576
1576
|
"src": "4084:15:50",
|
|
1577
1577
|
"stateVariable": false,
|
|
1578
1578
|
"storageLocation": "default",
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
"typeString": "address"
|
|
1582
1582
|
},
|
|
1583
1583
|
"typeName": {
|
|
1584
|
-
"id":
|
|
1584
|
+
"id": 20747,
|
|
1585
1585
|
"name": "address",
|
|
1586
1586
|
"nodeType": "ElementaryTypeName",
|
|
1587
1587
|
"src": "4084:7:50",
|
|
@@ -1597,17 +1597,17 @@
|
|
|
1597
1597
|
"src": "4074:31:50"
|
|
1598
1598
|
},
|
|
1599
1599
|
"returnParameters": {
|
|
1600
|
-
"id":
|
|
1600
|
+
"id": 20752,
|
|
1601
1601
|
"nodeType": "ParameterList",
|
|
1602
1602
|
"parameters": [
|
|
1603
1603
|
{
|
|
1604
1604
|
"constant": false,
|
|
1605
|
-
"id":
|
|
1605
|
+
"id": 20751,
|
|
1606
1606
|
"mutability": "mutable",
|
|
1607
1607
|
"name": "isSolvent",
|
|
1608
1608
|
"nameLocation": "4149:9:50",
|
|
1609
1609
|
"nodeType": "VariableDeclaration",
|
|
1610
|
-
"scope":
|
|
1610
|
+
"scope": 20753,
|
|
1611
1611
|
"src": "4144:14:50",
|
|
1612
1612
|
"stateVariable": false,
|
|
1613
1613
|
"storageLocation": "default",
|
|
@@ -1616,7 +1616,7 @@
|
|
|
1616
1616
|
"typeString": "bool"
|
|
1617
1617
|
},
|
|
1618
1618
|
"typeName": {
|
|
1619
|
-
"id":
|
|
1619
|
+
"id": 20750,
|
|
1620
1620
|
"name": "bool",
|
|
1621
1621
|
"nodeType": "ElementaryTypeName",
|
|
1622
1622
|
"src": "4144:4:50",
|
|
@@ -1630,7 +1630,7 @@
|
|
|
1630
1630
|
],
|
|
1631
1631
|
"src": "4143:16:50"
|
|
1632
1632
|
},
|
|
1633
|
-
"scope":
|
|
1633
|
+
"scope": 20947,
|
|
1634
1634
|
"src": "4046:114:50",
|
|
1635
1635
|
"stateMutability": "view",
|
|
1636
1636
|
"virtual": false,
|
|
@@ -1638,13 +1638,13 @@
|
|
|
1638
1638
|
},
|
|
1639
1639
|
{
|
|
1640
1640
|
"documentation": {
|
|
1641
|
-
"id":
|
|
1641
|
+
"id": 20754,
|
|
1642
1642
|
"nodeType": "StructuredDocumentation",
|
|
1643
1643
|
"src": "4166:277:50",
|
|
1644
1644
|
"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"
|
|
1645
1645
|
},
|
|
1646
1646
|
"functionSelector": "386fa221",
|
|
1647
|
-
"id":
|
|
1647
|
+
"id": 20763,
|
|
1648
1648
|
"implemented": false,
|
|
1649
1649
|
"kind": "function",
|
|
1650
1650
|
"modifiers": [],
|
|
@@ -1652,17 +1652,17 @@
|
|
|
1652
1652
|
"nameLocation": "4457:26:50",
|
|
1653
1653
|
"nodeType": "FunctionDefinition",
|
|
1654
1654
|
"parameters": {
|
|
1655
|
-
"id":
|
|
1655
|
+
"id": 20757,
|
|
1656
1656
|
"nodeType": "ParameterList",
|
|
1657
1657
|
"parameters": [
|
|
1658
1658
|
{
|
|
1659
1659
|
"constant": false,
|
|
1660
|
-
"id":
|
|
1660
|
+
"id": 20756,
|
|
1661
1661
|
"mutability": "mutable",
|
|
1662
1662
|
"name": "account",
|
|
1663
1663
|
"nameLocation": "4492:7:50",
|
|
1664
1664
|
"nodeType": "VariableDeclaration",
|
|
1665
|
-
"scope":
|
|
1665
|
+
"scope": 20763,
|
|
1666
1666
|
"src": "4484:15:50",
|
|
1667
1667
|
"stateVariable": false,
|
|
1668
1668
|
"storageLocation": "default",
|
|
@@ -1671,7 +1671,7 @@
|
|
|
1671
1671
|
"typeString": "address"
|
|
1672
1672
|
},
|
|
1673
1673
|
"typeName": {
|
|
1674
|
-
"id":
|
|
1674
|
+
"id": 20755,
|
|
1675
1675
|
"name": "address",
|
|
1676
1676
|
"nodeType": "ElementaryTypeName",
|
|
1677
1677
|
"src": "4484:7:50",
|
|
@@ -1687,50 +1687,50 @@
|
|
|
1687
1687
|
"src": "4483:17:50"
|
|
1688
1688
|
},
|
|
1689
1689
|
"returnParameters": {
|
|
1690
|
-
"id":
|
|
1690
|
+
"id": 20762,
|
|
1691
1691
|
"nodeType": "ParameterList",
|
|
1692
1692
|
"parameters": [
|
|
1693
1693
|
{
|
|
1694
1694
|
"constant": false,
|
|
1695
|
-
"id":
|
|
1695
|
+
"id": 20761,
|
|
1696
1696
|
"mutability": "mutable",
|
|
1697
1697
|
"name": "activeAgreements",
|
|
1698
1698
|
"nameLocation": "4562:16:50",
|
|
1699
1699
|
"nodeType": "VariableDeclaration",
|
|
1700
|
-
"scope":
|
|
1700
|
+
"scope": 20763,
|
|
1701
1701
|
"src": "4537:41:50",
|
|
1702
1702
|
"stateVariable": false,
|
|
1703
1703
|
"storageLocation": "memory",
|
|
1704
1704
|
"typeDescriptions": {
|
|
1705
|
-
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$
|
|
1705
|
+
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$19438_$dyn_memory_ptr",
|
|
1706
1706
|
"typeString": "contract ISuperAgreement[]"
|
|
1707
1707
|
},
|
|
1708
1708
|
"typeName": {
|
|
1709
1709
|
"baseType": {
|
|
1710
|
-
"id":
|
|
1710
|
+
"id": 20759,
|
|
1711
1711
|
"nodeType": "UserDefinedTypeName",
|
|
1712
1712
|
"pathNode": {
|
|
1713
|
-
"id":
|
|
1713
|
+
"id": 20758,
|
|
1714
1714
|
"name": "ISuperAgreement",
|
|
1715
1715
|
"nameLocations": [
|
|
1716
1716
|
"4537:15:50"
|
|
1717
1717
|
],
|
|
1718
1718
|
"nodeType": "IdentifierPath",
|
|
1719
|
-
"referencedDeclaration":
|
|
1719
|
+
"referencedDeclaration": 19438,
|
|
1720
1720
|
"src": "4537:15:50"
|
|
1721
1721
|
},
|
|
1722
|
-
"referencedDeclaration":
|
|
1722
|
+
"referencedDeclaration": 19438,
|
|
1723
1723
|
"src": "4537:15:50",
|
|
1724
1724
|
"typeDescriptions": {
|
|
1725
|
-
"typeIdentifier": "t_contract$_ISuperAgreement_$
|
|
1725
|
+
"typeIdentifier": "t_contract$_ISuperAgreement_$19438",
|
|
1726
1726
|
"typeString": "contract ISuperAgreement"
|
|
1727
1727
|
}
|
|
1728
1728
|
},
|
|
1729
|
-
"id":
|
|
1729
|
+
"id": 20760,
|
|
1730
1730
|
"nodeType": "ArrayTypeName",
|
|
1731
1731
|
"src": "4537:17:50",
|
|
1732
1732
|
"typeDescriptions": {
|
|
1733
|
-
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$
|
|
1733
|
+
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$19438_$dyn_storage_ptr",
|
|
1734
1734
|
"typeString": "contract ISuperAgreement[]"
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
@@ -1739,7 +1739,7 @@
|
|
|
1739
1739
|
],
|
|
1740
1740
|
"src": "4536:43:50"
|
|
1741
1741
|
},
|
|
1742
|
-
"scope":
|
|
1742
|
+
"scope": 20947,
|
|
1743
1743
|
"src": "4448:132:50",
|
|
1744
1744
|
"stateMutability": "view",
|
|
1745
1745
|
"virtual": false,
|
|
@@ -1747,13 +1747,13 @@
|
|
|
1747
1747
|
},
|
|
1748
1748
|
{
|
|
1749
1749
|
"documentation": {
|
|
1750
|
-
"id":
|
|
1750
|
+
"id": 20764,
|
|
1751
1751
|
"nodeType": "StructuredDocumentation",
|
|
1752
1752
|
"src": "4786:110:50",
|
|
1753
1753
|
"text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
1754
1754
|
},
|
|
1755
1755
|
"functionSelector": "12a6a3f8",
|
|
1756
|
-
"id":
|
|
1756
|
+
"id": 20772,
|
|
1757
1757
|
"implemented": false,
|
|
1758
1758
|
"kind": "function",
|
|
1759
1759
|
"modifiers": [],
|
|
@@ -1761,17 +1761,17 @@
|
|
|
1761
1761
|
"nameLocation": "4910:15:50",
|
|
1762
1762
|
"nodeType": "FunctionDefinition",
|
|
1763
1763
|
"parameters": {
|
|
1764
|
-
"id":
|
|
1764
|
+
"id": 20770,
|
|
1765
1765
|
"nodeType": "ParameterList",
|
|
1766
1766
|
"parameters": [
|
|
1767
1767
|
{
|
|
1768
1768
|
"constant": false,
|
|
1769
|
-
"id":
|
|
1769
|
+
"id": 20766,
|
|
1770
1770
|
"mutability": "mutable",
|
|
1771
1771
|
"name": "id",
|
|
1772
1772
|
"nameLocation": "4943:2:50",
|
|
1773
1773
|
"nodeType": "VariableDeclaration",
|
|
1774
|
-
"scope":
|
|
1774
|
+
"scope": 20772,
|
|
1775
1775
|
"src": "4935:10:50",
|
|
1776
1776
|
"stateVariable": false,
|
|
1777
1777
|
"storageLocation": "default",
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"typeString": "bytes32"
|
|
1781
1781
|
},
|
|
1782
1782
|
"typeName": {
|
|
1783
|
-
"id":
|
|
1783
|
+
"id": 20765,
|
|
1784
1784
|
"name": "bytes32",
|
|
1785
1785
|
"nodeType": "ElementaryTypeName",
|
|
1786
1786
|
"src": "4935:7:50",
|
|
@@ -1793,12 +1793,12 @@
|
|
|
1793
1793
|
},
|
|
1794
1794
|
{
|
|
1795
1795
|
"constant": false,
|
|
1796
|
-
"id":
|
|
1796
|
+
"id": 20769,
|
|
1797
1797
|
"mutability": "mutable",
|
|
1798
1798
|
"name": "data",
|
|
1799
1799
|
"nameLocation": "4974:4:50",
|
|
1800
1800
|
"nodeType": "VariableDeclaration",
|
|
1801
|
-
"scope":
|
|
1801
|
+
"scope": 20772,
|
|
1802
1802
|
"src": "4955:23:50",
|
|
1803
1803
|
"stateVariable": false,
|
|
1804
1804
|
"storageLocation": "calldata",
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
},
|
|
1809
1809
|
"typeName": {
|
|
1810
1810
|
"baseType": {
|
|
1811
|
-
"id":
|
|
1811
|
+
"id": 20767,
|
|
1812
1812
|
"name": "bytes32",
|
|
1813
1813
|
"nodeType": "ElementaryTypeName",
|
|
1814
1814
|
"src": "4955:7:50",
|
|
@@ -1817,7 +1817,7 @@
|
|
|
1817
1817
|
"typeString": "bytes32"
|
|
1818
1818
|
}
|
|
1819
1819
|
},
|
|
1820
|
-
"id":
|
|
1820
|
+
"id": 20768,
|
|
1821
1821
|
"nodeType": "ArrayTypeName",
|
|
1822
1822
|
"src": "4955:9:50",
|
|
1823
1823
|
"typeDescriptions": {
|
|
@@ -1831,12 +1831,12 @@
|
|
|
1831
1831
|
"src": "4925:59:50"
|
|
1832
1832
|
},
|
|
1833
1833
|
"returnParameters": {
|
|
1834
|
-
"id":
|
|
1834
|
+
"id": 20771,
|
|
1835
1835
|
"nodeType": "ParameterList",
|
|
1836
1836
|
"parameters": [],
|
|
1837
1837
|
"src": "5001:0:50"
|
|
1838
1838
|
},
|
|
1839
|
-
"scope":
|
|
1839
|
+
"scope": 20947,
|
|
1840
1840
|
"src": "4901:101:50",
|
|
1841
1841
|
"stateMutability": "nonpayable",
|
|
1842
1842
|
"virtual": false,
|
|
@@ -1845,29 +1845,29 @@
|
|
|
1845
1845
|
{
|
|
1846
1846
|
"anonymous": false,
|
|
1847
1847
|
"documentation": {
|
|
1848
|
-
"id":
|
|
1848
|
+
"id": 20773,
|
|
1849
1849
|
"nodeType": "StructuredDocumentation",
|
|
1850
1850
|
"src": "5007:174:50",
|
|
1851
1851
|
"text": " @dev Agreement created event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
1852
1852
|
},
|
|
1853
1853
|
"eventSelector": "770ea40a13a4644573ed785e5c7116890709947918747febc5add46feb531e2d",
|
|
1854
|
-
"id":
|
|
1854
|
+
"id": 20782,
|
|
1855
1855
|
"name": "AgreementCreated",
|
|
1856
1856
|
"nameLocation": "5192:16:50",
|
|
1857
1857
|
"nodeType": "EventDefinition",
|
|
1858
1858
|
"parameters": {
|
|
1859
|
-
"id":
|
|
1859
|
+
"id": 20781,
|
|
1860
1860
|
"nodeType": "ParameterList",
|
|
1861
1861
|
"parameters": [
|
|
1862
1862
|
{
|
|
1863
1863
|
"constant": false,
|
|
1864
|
-
"id":
|
|
1864
|
+
"id": 20775,
|
|
1865
1865
|
"indexed": true,
|
|
1866
1866
|
"mutability": "mutable",
|
|
1867
1867
|
"name": "agreementClass",
|
|
1868
1868
|
"nameLocation": "5234:14:50",
|
|
1869
1869
|
"nodeType": "VariableDeclaration",
|
|
1870
|
-
"scope":
|
|
1870
|
+
"scope": 20782,
|
|
1871
1871
|
"src": "5218:30:50",
|
|
1872
1872
|
"stateVariable": false,
|
|
1873
1873
|
"storageLocation": "default",
|
|
@@ -1876,7 +1876,7 @@
|
|
|
1876
1876
|
"typeString": "address"
|
|
1877
1877
|
},
|
|
1878
1878
|
"typeName": {
|
|
1879
|
-
"id":
|
|
1879
|
+
"id": 20774,
|
|
1880
1880
|
"name": "address",
|
|
1881
1881
|
"nodeType": "ElementaryTypeName",
|
|
1882
1882
|
"src": "5218:7:50",
|
|
@@ -1890,13 +1890,13 @@
|
|
|
1890
1890
|
},
|
|
1891
1891
|
{
|
|
1892
1892
|
"constant": false,
|
|
1893
|
-
"id":
|
|
1893
|
+
"id": 20777,
|
|
1894
1894
|
"indexed": false,
|
|
1895
1895
|
"mutability": "mutable",
|
|
1896
1896
|
"name": "id",
|
|
1897
1897
|
"nameLocation": "5266:2:50",
|
|
1898
1898
|
"nodeType": "VariableDeclaration",
|
|
1899
|
-
"scope":
|
|
1899
|
+
"scope": 20782,
|
|
1900
1900
|
"src": "5258:10:50",
|
|
1901
1901
|
"stateVariable": false,
|
|
1902
1902
|
"storageLocation": "default",
|
|
@@ -1905,7 +1905,7 @@
|
|
|
1905
1905
|
"typeString": "bytes32"
|
|
1906
1906
|
},
|
|
1907
1907
|
"typeName": {
|
|
1908
|
-
"id":
|
|
1908
|
+
"id": 20776,
|
|
1909
1909
|
"name": "bytes32",
|
|
1910
1910
|
"nodeType": "ElementaryTypeName",
|
|
1911
1911
|
"src": "5258:7:50",
|
|
@@ -1918,13 +1918,13 @@
|
|
|
1918
1918
|
},
|
|
1919
1919
|
{
|
|
1920
1920
|
"constant": false,
|
|
1921
|
-
"id":
|
|
1921
|
+
"id": 20780,
|
|
1922
1922
|
"indexed": false,
|
|
1923
1923
|
"mutability": "mutable",
|
|
1924
1924
|
"name": "data",
|
|
1925
1925
|
"nameLocation": "5288:4:50",
|
|
1926
1926
|
"nodeType": "VariableDeclaration",
|
|
1927
|
-
"scope":
|
|
1927
|
+
"scope": 20782,
|
|
1928
1928
|
"src": "5278:14:50",
|
|
1929
1929
|
"stateVariable": false,
|
|
1930
1930
|
"storageLocation": "default",
|
|
@@ -1934,7 +1934,7 @@
|
|
|
1934
1934
|
},
|
|
1935
1935
|
"typeName": {
|
|
1936
1936
|
"baseType": {
|
|
1937
|
-
"id":
|
|
1937
|
+
"id": 20778,
|
|
1938
1938
|
"name": "bytes32",
|
|
1939
1939
|
"nodeType": "ElementaryTypeName",
|
|
1940
1940
|
"src": "5278:7:50",
|
|
@@ -1943,7 +1943,7 @@
|
|
|
1943
1943
|
"typeString": "bytes32"
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
|
-
"id":
|
|
1946
|
+
"id": 20779,
|
|
1947
1947
|
"nodeType": "ArrayTypeName",
|
|
1948
1948
|
"src": "5278:9:50",
|
|
1949
1949
|
"typeDescriptions": {
|
|
@@ -1960,13 +1960,13 @@
|
|
|
1960
1960
|
},
|
|
1961
1961
|
{
|
|
1962
1962
|
"documentation": {
|
|
1963
|
-
"id":
|
|
1963
|
+
"id": 20783,
|
|
1964
1964
|
"nodeType": "StructuredDocumentation",
|
|
1965
1965
|
"src": "5305:184:50",
|
|
1966
1966
|
"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"
|
|
1967
1967
|
},
|
|
1968
1968
|
"functionSelector": "6c2d9f2f",
|
|
1969
|
-
"id":
|
|
1969
|
+
"id": 20795,
|
|
1970
1970
|
"implemented": false,
|
|
1971
1971
|
"kind": "function",
|
|
1972
1972
|
"modifiers": [],
|
|
@@ -1974,17 +1974,17 @@
|
|
|
1974
1974
|
"nameLocation": "5503:16:50",
|
|
1975
1975
|
"nodeType": "FunctionDefinition",
|
|
1976
1976
|
"parameters": {
|
|
1977
|
-
"id":
|
|
1977
|
+
"id": 20790,
|
|
1978
1978
|
"nodeType": "ParameterList",
|
|
1979
1979
|
"parameters": [
|
|
1980
1980
|
{
|
|
1981
1981
|
"constant": false,
|
|
1982
|
-
"id":
|
|
1982
|
+
"id": 20785,
|
|
1983
1983
|
"mutability": "mutable",
|
|
1984
1984
|
"name": "agreementClass",
|
|
1985
1985
|
"nameLocation": "5537:14:50",
|
|
1986
1986
|
"nodeType": "VariableDeclaration",
|
|
1987
|
-
"scope":
|
|
1987
|
+
"scope": 20795,
|
|
1988
1988
|
"src": "5529:22:50",
|
|
1989
1989
|
"stateVariable": false,
|
|
1990
1990
|
"storageLocation": "default",
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
"typeString": "address"
|
|
1994
1994
|
},
|
|
1995
1995
|
"typeName": {
|
|
1996
|
-
"id":
|
|
1996
|
+
"id": 20784,
|
|
1997
1997
|
"name": "address",
|
|
1998
1998
|
"nodeType": "ElementaryTypeName",
|
|
1999
1999
|
"src": "5529:7:50",
|
|
@@ -2007,12 +2007,12 @@
|
|
|
2007
2007
|
},
|
|
2008
2008
|
{
|
|
2009
2009
|
"constant": false,
|
|
2010
|
-
"id":
|
|
2010
|
+
"id": 20787,
|
|
2011
2011
|
"mutability": "mutable",
|
|
2012
2012
|
"name": "id",
|
|
2013
2013
|
"nameLocation": "5569:2:50",
|
|
2014
2014
|
"nodeType": "VariableDeclaration",
|
|
2015
|
-
"scope":
|
|
2015
|
+
"scope": 20795,
|
|
2016
2016
|
"src": "5561:10:50",
|
|
2017
2017
|
"stateVariable": false,
|
|
2018
2018
|
"storageLocation": "default",
|
|
@@ -2021,7 +2021,7 @@
|
|
|
2021
2021
|
"typeString": "bytes32"
|
|
2022
2022
|
},
|
|
2023
2023
|
"typeName": {
|
|
2024
|
-
"id":
|
|
2024
|
+
"id": 20786,
|
|
2025
2025
|
"name": "bytes32",
|
|
2026
2026
|
"nodeType": "ElementaryTypeName",
|
|
2027
2027
|
"src": "5561:7:50",
|
|
@@ -2034,12 +2034,12 @@
|
|
|
2034
2034
|
},
|
|
2035
2035
|
{
|
|
2036
2036
|
"constant": false,
|
|
2037
|
-
"id":
|
|
2037
|
+
"id": 20789,
|
|
2038
2038
|
"mutability": "mutable",
|
|
2039
2039
|
"name": "dataLength",
|
|
2040
2040
|
"nameLocation": "5586:10:50",
|
|
2041
2041
|
"nodeType": "VariableDeclaration",
|
|
2042
|
-
"scope":
|
|
2042
|
+
"scope": 20795,
|
|
2043
2043
|
"src": "5581:15:50",
|
|
2044
2044
|
"stateVariable": false,
|
|
2045
2045
|
"storageLocation": "default",
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
"typeString": "uint256"
|
|
2049
2049
|
},
|
|
2050
2050
|
"typeName": {
|
|
2051
|
-
"id":
|
|
2051
|
+
"id": 20788,
|
|
2052
2052
|
"name": "uint",
|
|
2053
2053
|
"nodeType": "ElementaryTypeName",
|
|
2054
2054
|
"src": "5581:4:50",
|
|
@@ -2063,17 +2063,17 @@
|
|
|
2063
2063
|
"src": "5519:83:50"
|
|
2064
2064
|
},
|
|
2065
2065
|
"returnParameters": {
|
|
2066
|
-
"id":
|
|
2066
|
+
"id": 20794,
|
|
2067
2067
|
"nodeType": "ParameterList",
|
|
2068
2068
|
"parameters": [
|
|
2069
2069
|
{
|
|
2070
2070
|
"constant": false,
|
|
2071
|
-
"id":
|
|
2071
|
+
"id": 20793,
|
|
2072
2072
|
"mutability": "mutable",
|
|
2073
2073
|
"name": "data",
|
|
2074
2074
|
"nameLocation": "5658:4:50",
|
|
2075
2075
|
"nodeType": "VariableDeclaration",
|
|
2076
|
-
"scope":
|
|
2076
|
+
"scope": 20795,
|
|
2077
2077
|
"src": "5641:21:50",
|
|
2078
2078
|
"stateVariable": false,
|
|
2079
2079
|
"storageLocation": "memory",
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
},
|
|
2084
2084
|
"typeName": {
|
|
2085
2085
|
"baseType": {
|
|
2086
|
-
"id":
|
|
2086
|
+
"id": 20791,
|
|
2087
2087
|
"name": "bytes32",
|
|
2088
2088
|
"nodeType": "ElementaryTypeName",
|
|
2089
2089
|
"src": "5641:7:50",
|
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
"typeString": "bytes32"
|
|
2093
2093
|
}
|
|
2094
2094
|
},
|
|
2095
|
-
"id":
|
|
2095
|
+
"id": 20792,
|
|
2096
2096
|
"nodeType": "ArrayTypeName",
|
|
2097
2097
|
"src": "5641:9:50",
|
|
2098
2098
|
"typeDescriptions": {
|
|
@@ -2105,7 +2105,7 @@
|
|
|
2105
2105
|
],
|
|
2106
2106
|
"src": "5640:23:50"
|
|
2107
2107
|
},
|
|
2108
|
-
"scope":
|
|
2108
|
+
"scope": 20947,
|
|
2109
2109
|
"src": "5494:170:50",
|
|
2110
2110
|
"stateMutability": "view",
|
|
2111
2111
|
"virtual": false,
|
|
@@ -2113,13 +2113,13 @@
|
|
|
2113
2113
|
},
|
|
2114
2114
|
{
|
|
2115
2115
|
"documentation": {
|
|
2116
|
-
"id":
|
|
2116
|
+
"id": 20796,
|
|
2117
2117
|
"nodeType": "StructuredDocumentation",
|
|
2118
2118
|
"src": "5670:110:50",
|
|
2119
2119
|
"text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
2120
2120
|
},
|
|
2121
2121
|
"functionSelector": "a1b2bf8b",
|
|
2122
|
-
"id":
|
|
2122
|
+
"id": 20804,
|
|
2123
2123
|
"implemented": false,
|
|
2124
2124
|
"kind": "function",
|
|
2125
2125
|
"modifiers": [],
|
|
@@ -2127,17 +2127,17 @@
|
|
|
2127
2127
|
"nameLocation": "5794:19:50",
|
|
2128
2128
|
"nodeType": "FunctionDefinition",
|
|
2129
2129
|
"parameters": {
|
|
2130
|
-
"id":
|
|
2130
|
+
"id": 20802,
|
|
2131
2131
|
"nodeType": "ParameterList",
|
|
2132
2132
|
"parameters": [
|
|
2133
2133
|
{
|
|
2134
2134
|
"constant": false,
|
|
2135
|
-
"id":
|
|
2135
|
+
"id": 20798,
|
|
2136
2136
|
"mutability": "mutable",
|
|
2137
2137
|
"name": "id",
|
|
2138
2138
|
"nameLocation": "5831:2:50",
|
|
2139
2139
|
"nodeType": "VariableDeclaration",
|
|
2140
|
-
"scope":
|
|
2140
|
+
"scope": 20804,
|
|
2141
2141
|
"src": "5823:10:50",
|
|
2142
2142
|
"stateVariable": false,
|
|
2143
2143
|
"storageLocation": "default",
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
"typeString": "bytes32"
|
|
2147
2147
|
},
|
|
2148
2148
|
"typeName": {
|
|
2149
|
-
"id":
|
|
2149
|
+
"id": 20797,
|
|
2150
2150
|
"name": "bytes32",
|
|
2151
2151
|
"nodeType": "ElementaryTypeName",
|
|
2152
2152
|
"src": "5823:7:50",
|
|
@@ -2159,12 +2159,12 @@
|
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
2161
|
"constant": false,
|
|
2162
|
-
"id":
|
|
2162
|
+
"id": 20801,
|
|
2163
2163
|
"mutability": "mutable",
|
|
2164
2164
|
"name": "data",
|
|
2165
2165
|
"nameLocation": "5862:4:50",
|
|
2166
2166
|
"nodeType": "VariableDeclaration",
|
|
2167
|
-
"scope":
|
|
2167
|
+
"scope": 20804,
|
|
2168
2168
|
"src": "5843:23:50",
|
|
2169
2169
|
"stateVariable": false,
|
|
2170
2170
|
"storageLocation": "calldata",
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
},
|
|
2175
2175
|
"typeName": {
|
|
2176
2176
|
"baseType": {
|
|
2177
|
-
"id":
|
|
2177
|
+
"id": 20799,
|
|
2178
2178
|
"name": "bytes32",
|
|
2179
2179
|
"nodeType": "ElementaryTypeName",
|
|
2180
2180
|
"src": "5843:7:50",
|
|
@@ -2183,7 +2183,7 @@
|
|
|
2183
2183
|
"typeString": "bytes32"
|
|
2184
2184
|
}
|
|
2185
2185
|
},
|
|
2186
|
-
"id":
|
|
2186
|
+
"id": 20800,
|
|
2187
2187
|
"nodeType": "ArrayTypeName",
|
|
2188
2188
|
"src": "5843:9:50",
|
|
2189
2189
|
"typeDescriptions": {
|
|
@@ -2197,12 +2197,12 @@
|
|
|
2197
2197
|
"src": "5813:59:50"
|
|
2198
2198
|
},
|
|
2199
2199
|
"returnParameters": {
|
|
2200
|
-
"id":
|
|
2200
|
+
"id": 20803,
|
|
2201
2201
|
"nodeType": "ParameterList",
|
|
2202
2202
|
"parameters": [],
|
|
2203
2203
|
"src": "5889:0:50"
|
|
2204
2204
|
},
|
|
2205
|
-
"scope":
|
|
2205
|
+
"scope": 20947,
|
|
2206
2206
|
"src": "5785:105:50",
|
|
2207
2207
|
"stateMutability": "nonpayable",
|
|
2208
2208
|
"virtual": false,
|
|
@@ -2211,29 +2211,29 @@
|
|
|
2211
2211
|
{
|
|
2212
2212
|
"anonymous": false,
|
|
2213
2213
|
"documentation": {
|
|
2214
|
-
"id":
|
|
2214
|
+
"id": 20805,
|
|
2215
2215
|
"nodeType": "StructuredDocumentation",
|
|
2216
2216
|
"src": "5895:174:50",
|
|
2217
2217
|
"text": " @dev Agreement updated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
2218
2218
|
},
|
|
2219
2219
|
"eventSelector": "0c4c547b3a4fcaa5be8353b3111472b124155bccc86de811d4a481c9e6e9faca",
|
|
2220
|
-
"id":
|
|
2220
|
+
"id": 20814,
|
|
2221
2221
|
"name": "AgreementUpdated",
|
|
2222
2222
|
"nameLocation": "6080:16:50",
|
|
2223
2223
|
"nodeType": "EventDefinition",
|
|
2224
2224
|
"parameters": {
|
|
2225
|
-
"id":
|
|
2225
|
+
"id": 20813,
|
|
2226
2226
|
"nodeType": "ParameterList",
|
|
2227
2227
|
"parameters": [
|
|
2228
2228
|
{
|
|
2229
2229
|
"constant": false,
|
|
2230
|
-
"id":
|
|
2230
|
+
"id": 20807,
|
|
2231
2231
|
"indexed": true,
|
|
2232
2232
|
"mutability": "mutable",
|
|
2233
2233
|
"name": "agreementClass",
|
|
2234
2234
|
"nameLocation": "6122:14:50",
|
|
2235
2235
|
"nodeType": "VariableDeclaration",
|
|
2236
|
-
"scope":
|
|
2236
|
+
"scope": 20814,
|
|
2237
2237
|
"src": "6106:30:50",
|
|
2238
2238
|
"stateVariable": false,
|
|
2239
2239
|
"storageLocation": "default",
|
|
@@ -2242,7 +2242,7 @@
|
|
|
2242
2242
|
"typeString": "address"
|
|
2243
2243
|
},
|
|
2244
2244
|
"typeName": {
|
|
2245
|
-
"id":
|
|
2245
|
+
"id": 20806,
|
|
2246
2246
|
"name": "address",
|
|
2247
2247
|
"nodeType": "ElementaryTypeName",
|
|
2248
2248
|
"src": "6106:7:50",
|
|
@@ -2256,13 +2256,13 @@
|
|
|
2256
2256
|
},
|
|
2257
2257
|
{
|
|
2258
2258
|
"constant": false,
|
|
2259
|
-
"id":
|
|
2259
|
+
"id": 20809,
|
|
2260
2260
|
"indexed": false,
|
|
2261
2261
|
"mutability": "mutable",
|
|
2262
2262
|
"name": "id",
|
|
2263
2263
|
"nameLocation": "6154:2:50",
|
|
2264
2264
|
"nodeType": "VariableDeclaration",
|
|
2265
|
-
"scope":
|
|
2265
|
+
"scope": 20814,
|
|
2266
2266
|
"src": "6146:10:50",
|
|
2267
2267
|
"stateVariable": false,
|
|
2268
2268
|
"storageLocation": "default",
|
|
@@ -2271,7 +2271,7 @@
|
|
|
2271
2271
|
"typeString": "bytes32"
|
|
2272
2272
|
},
|
|
2273
2273
|
"typeName": {
|
|
2274
|
-
"id":
|
|
2274
|
+
"id": 20808,
|
|
2275
2275
|
"name": "bytes32",
|
|
2276
2276
|
"nodeType": "ElementaryTypeName",
|
|
2277
2277
|
"src": "6146:7:50",
|
|
@@ -2284,13 +2284,13 @@
|
|
|
2284
2284
|
},
|
|
2285
2285
|
{
|
|
2286
2286
|
"constant": false,
|
|
2287
|
-
"id":
|
|
2287
|
+
"id": 20812,
|
|
2288
2288
|
"indexed": false,
|
|
2289
2289
|
"mutability": "mutable",
|
|
2290
2290
|
"name": "data",
|
|
2291
2291
|
"nameLocation": "6176:4:50",
|
|
2292
2292
|
"nodeType": "VariableDeclaration",
|
|
2293
|
-
"scope":
|
|
2293
|
+
"scope": 20814,
|
|
2294
2294
|
"src": "6166:14:50",
|
|
2295
2295
|
"stateVariable": false,
|
|
2296
2296
|
"storageLocation": "default",
|
|
@@ -2300,7 +2300,7 @@
|
|
|
2300
2300
|
},
|
|
2301
2301
|
"typeName": {
|
|
2302
2302
|
"baseType": {
|
|
2303
|
-
"id":
|
|
2303
|
+
"id": 20810,
|
|
2304
2304
|
"name": "bytes32",
|
|
2305
2305
|
"nodeType": "ElementaryTypeName",
|
|
2306
2306
|
"src": "6166:7:50",
|
|
@@ -2309,7 +2309,7 @@
|
|
|
2309
2309
|
"typeString": "bytes32"
|
|
2310
2310
|
}
|
|
2311
2311
|
},
|
|
2312
|
-
"id":
|
|
2312
|
+
"id": 20811,
|
|
2313
2313
|
"nodeType": "ArrayTypeName",
|
|
2314
2314
|
"src": "6166:9:50",
|
|
2315
2315
|
"typeDescriptions": {
|
|
@@ -2326,13 +2326,13 @@
|
|
|
2326
2326
|
},
|
|
2327
2327
|
{
|
|
2328
2328
|
"documentation": {
|
|
2329
|
-
"id":
|
|
2329
|
+
"id": 20815,
|
|
2330
2330
|
"nodeType": "StructuredDocumentation",
|
|
2331
2331
|
"src": "6193:73:50",
|
|
2332
2332
|
"text": " @dev Close the agreement\n @param id Agreement ID"
|
|
2333
2333
|
},
|
|
2334
2334
|
"functionSelector": "27048397",
|
|
2335
|
-
"id":
|
|
2335
|
+
"id": 20822,
|
|
2336
2336
|
"implemented": false,
|
|
2337
2337
|
"kind": "function",
|
|
2338
2338
|
"modifiers": [],
|
|
@@ -2340,17 +2340,17 @@
|
|
|
2340
2340
|
"nameLocation": "6280:18:50",
|
|
2341
2341
|
"nodeType": "FunctionDefinition",
|
|
2342
2342
|
"parameters": {
|
|
2343
|
-
"id":
|
|
2343
|
+
"id": 20820,
|
|
2344
2344
|
"nodeType": "ParameterList",
|
|
2345
2345
|
"parameters": [
|
|
2346
2346
|
{
|
|
2347
2347
|
"constant": false,
|
|
2348
|
-
"id":
|
|
2348
|
+
"id": 20817,
|
|
2349
2349
|
"mutability": "mutable",
|
|
2350
2350
|
"name": "id",
|
|
2351
2351
|
"nameLocation": "6316:2:50",
|
|
2352
2352
|
"nodeType": "VariableDeclaration",
|
|
2353
|
-
"scope":
|
|
2353
|
+
"scope": 20822,
|
|
2354
2354
|
"src": "6308:10:50",
|
|
2355
2355
|
"stateVariable": false,
|
|
2356
2356
|
"storageLocation": "default",
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
"typeString": "bytes32"
|
|
2360
2360
|
},
|
|
2361
2361
|
"typeName": {
|
|
2362
|
-
"id":
|
|
2362
|
+
"id": 20816,
|
|
2363
2363
|
"name": "bytes32",
|
|
2364
2364
|
"nodeType": "ElementaryTypeName",
|
|
2365
2365
|
"src": "6308:7:50",
|
|
@@ -2372,12 +2372,12 @@
|
|
|
2372
2372
|
},
|
|
2373
2373
|
{
|
|
2374
2374
|
"constant": false,
|
|
2375
|
-
"id":
|
|
2375
|
+
"id": 20819,
|
|
2376
2376
|
"mutability": "mutable",
|
|
2377
2377
|
"name": "dataLength",
|
|
2378
2378
|
"nameLocation": "6333:10:50",
|
|
2379
2379
|
"nodeType": "VariableDeclaration",
|
|
2380
|
-
"scope":
|
|
2380
|
+
"scope": 20822,
|
|
2381
2381
|
"src": "6328:15:50",
|
|
2382
2382
|
"stateVariable": false,
|
|
2383
2383
|
"storageLocation": "default",
|
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
"typeString": "uint256"
|
|
2387
2387
|
},
|
|
2388
2388
|
"typeName": {
|
|
2389
|
-
"id":
|
|
2389
|
+
"id": 20818,
|
|
2390
2390
|
"name": "uint",
|
|
2391
2391
|
"nodeType": "ElementaryTypeName",
|
|
2392
2392
|
"src": "6328:4:50",
|
|
@@ -2401,12 +2401,12 @@
|
|
|
2401
2401
|
"src": "6298:51:50"
|
|
2402
2402
|
},
|
|
2403
2403
|
"returnParameters": {
|
|
2404
|
-
"id":
|
|
2404
|
+
"id": 20821,
|
|
2405
2405
|
"nodeType": "ParameterList",
|
|
2406
2406
|
"parameters": [],
|
|
2407
2407
|
"src": "6366:0:50"
|
|
2408
2408
|
},
|
|
2409
|
-
"scope":
|
|
2409
|
+
"scope": 20947,
|
|
2410
2410
|
"src": "6271:96:50",
|
|
2411
2411
|
"stateMutability": "nonpayable",
|
|
2412
2412
|
"virtual": false,
|
|
@@ -2415,29 +2415,29 @@
|
|
|
2415
2415
|
{
|
|
2416
2416
|
"anonymous": false,
|
|
2417
2417
|
"documentation": {
|
|
2418
|
-
"id":
|
|
2418
|
+
"id": 20823,
|
|
2419
2419
|
"nodeType": "StructuredDocumentation",
|
|
2420
2420
|
"src": "6372:143:50",
|
|
2421
2421
|
"text": " @dev Agreement terminated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID"
|
|
2422
2422
|
},
|
|
2423
2423
|
"eventSelector": "71a63dc095de07aa5512ad57a7596a39516317e316981a1cd71000057be1537b",
|
|
2424
|
-
"id":
|
|
2424
|
+
"id": 20829,
|
|
2425
2425
|
"name": "AgreementTerminated",
|
|
2426
2426
|
"nameLocation": "6526:19:50",
|
|
2427
2427
|
"nodeType": "EventDefinition",
|
|
2428
2428
|
"parameters": {
|
|
2429
|
-
"id":
|
|
2429
|
+
"id": 20828,
|
|
2430
2430
|
"nodeType": "ParameterList",
|
|
2431
2431
|
"parameters": [
|
|
2432
2432
|
{
|
|
2433
2433
|
"constant": false,
|
|
2434
|
-
"id":
|
|
2434
|
+
"id": 20825,
|
|
2435
2435
|
"indexed": true,
|
|
2436
2436
|
"mutability": "mutable",
|
|
2437
2437
|
"name": "agreementClass",
|
|
2438
2438
|
"nameLocation": "6571:14:50",
|
|
2439
2439
|
"nodeType": "VariableDeclaration",
|
|
2440
|
-
"scope":
|
|
2440
|
+
"scope": 20829,
|
|
2441
2441
|
"src": "6555:30:50",
|
|
2442
2442
|
"stateVariable": false,
|
|
2443
2443
|
"storageLocation": "default",
|
|
@@ -2446,7 +2446,7 @@
|
|
|
2446
2446
|
"typeString": "address"
|
|
2447
2447
|
},
|
|
2448
2448
|
"typeName": {
|
|
2449
|
-
"id":
|
|
2449
|
+
"id": 20824,
|
|
2450
2450
|
"name": "address",
|
|
2451
2451
|
"nodeType": "ElementaryTypeName",
|
|
2452
2452
|
"src": "6555:7:50",
|
|
@@ -2460,13 +2460,13 @@
|
|
|
2460
2460
|
},
|
|
2461
2461
|
{
|
|
2462
2462
|
"constant": false,
|
|
2463
|
-
"id":
|
|
2463
|
+
"id": 20827,
|
|
2464
2464
|
"indexed": false,
|
|
2465
2465
|
"mutability": "mutable",
|
|
2466
2466
|
"name": "id",
|
|
2467
2467
|
"nameLocation": "6603:2:50",
|
|
2468
2468
|
"nodeType": "VariableDeclaration",
|
|
2469
|
-
"scope":
|
|
2469
|
+
"scope": 20829,
|
|
2470
2470
|
"src": "6595:10:50",
|
|
2471
2471
|
"stateVariable": false,
|
|
2472
2472
|
"storageLocation": "default",
|
|
@@ -2475,7 +2475,7 @@
|
|
|
2475
2475
|
"typeString": "bytes32"
|
|
2476
2476
|
},
|
|
2477
2477
|
"typeName": {
|
|
2478
|
-
"id":
|
|
2478
|
+
"id": 20826,
|
|
2479
2479
|
"name": "bytes32",
|
|
2480
2480
|
"nodeType": "ElementaryTypeName",
|
|
2481
2481
|
"src": "6595:7:50",
|
|
@@ -2493,13 +2493,13 @@
|
|
|
2493
2493
|
},
|
|
2494
2494
|
{
|
|
2495
2495
|
"documentation": {
|
|
2496
|
-
"id":
|
|
2496
|
+
"id": 20830,
|
|
2497
2497
|
"nodeType": "StructuredDocumentation",
|
|
2498
2498
|
"src": "6618:199:50",
|
|
2499
2499
|
"text": " @dev Update agreement state slot\n @param account Account to be updated\n @custom:note \n - To clear the storage out, provide zero-ed array of intended length"
|
|
2500
2500
|
},
|
|
2501
2501
|
"functionSelector": "090c415e",
|
|
2502
|
-
"id":
|
|
2502
|
+
"id": 20840,
|
|
2503
2503
|
"implemented": false,
|
|
2504
2504
|
"kind": "function",
|
|
2505
2505
|
"modifiers": [],
|
|
@@ -2507,17 +2507,17 @@
|
|
|
2507
2507
|
"nameLocation": "6831:24:50",
|
|
2508
2508
|
"nodeType": "FunctionDefinition",
|
|
2509
2509
|
"parameters": {
|
|
2510
|
-
"id":
|
|
2510
|
+
"id": 20838,
|
|
2511
2511
|
"nodeType": "ParameterList",
|
|
2512
2512
|
"parameters": [
|
|
2513
2513
|
{
|
|
2514
2514
|
"constant": false,
|
|
2515
|
-
"id":
|
|
2515
|
+
"id": 20832,
|
|
2516
2516
|
"mutability": "mutable",
|
|
2517
2517
|
"name": "account",
|
|
2518
2518
|
"nameLocation": "6873:7:50",
|
|
2519
2519
|
"nodeType": "VariableDeclaration",
|
|
2520
|
-
"scope":
|
|
2520
|
+
"scope": 20840,
|
|
2521
2521
|
"src": "6865:15:50",
|
|
2522
2522
|
"stateVariable": false,
|
|
2523
2523
|
"storageLocation": "default",
|
|
@@ -2526,7 +2526,7 @@
|
|
|
2526
2526
|
"typeString": "address"
|
|
2527
2527
|
},
|
|
2528
2528
|
"typeName": {
|
|
2529
|
-
"id":
|
|
2529
|
+
"id": 20831,
|
|
2530
2530
|
"name": "address",
|
|
2531
2531
|
"nodeType": "ElementaryTypeName",
|
|
2532
2532
|
"src": "6865:7:50",
|
|
@@ -2540,12 +2540,12 @@
|
|
|
2540
2540
|
},
|
|
2541
2541
|
{
|
|
2542
2542
|
"constant": false,
|
|
2543
|
-
"id":
|
|
2543
|
+
"id": 20834,
|
|
2544
2544
|
"mutability": "mutable",
|
|
2545
2545
|
"name": "slotId",
|
|
2546
2546
|
"nameLocation": "6898:6:50",
|
|
2547
2547
|
"nodeType": "VariableDeclaration",
|
|
2548
|
-
"scope":
|
|
2548
|
+
"scope": 20840,
|
|
2549
2549
|
"src": "6890:14:50",
|
|
2550
2550
|
"stateVariable": false,
|
|
2551
2551
|
"storageLocation": "default",
|
|
@@ -2554,7 +2554,7 @@
|
|
|
2554
2554
|
"typeString": "uint256"
|
|
2555
2555
|
},
|
|
2556
2556
|
"typeName": {
|
|
2557
|
-
"id":
|
|
2557
|
+
"id": 20833,
|
|
2558
2558
|
"name": "uint256",
|
|
2559
2559
|
"nodeType": "ElementaryTypeName",
|
|
2560
2560
|
"src": "6890:7:50",
|
|
@@ -2567,12 +2567,12 @@
|
|
|
2567
2567
|
},
|
|
2568
2568
|
{
|
|
2569
2569
|
"constant": false,
|
|
2570
|
-
"id":
|
|
2570
|
+
"id": 20837,
|
|
2571
2571
|
"mutability": "mutable",
|
|
2572
2572
|
"name": "slotData",
|
|
2573
2573
|
"nameLocation": "6933:8:50",
|
|
2574
2574
|
"nodeType": "VariableDeclaration",
|
|
2575
|
-
"scope":
|
|
2575
|
+
"scope": 20840,
|
|
2576
2576
|
"src": "6914:27:50",
|
|
2577
2577
|
"stateVariable": false,
|
|
2578
2578
|
"storageLocation": "calldata",
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
},
|
|
2583
2583
|
"typeName": {
|
|
2584
2584
|
"baseType": {
|
|
2585
|
-
"id":
|
|
2585
|
+
"id": 20835,
|
|
2586
2586
|
"name": "bytes32",
|
|
2587
2587
|
"nodeType": "ElementaryTypeName",
|
|
2588
2588
|
"src": "6914:7:50",
|
|
@@ -2591,7 +2591,7 @@
|
|
|
2591
2591
|
"typeString": "bytes32"
|
|
2592
2592
|
}
|
|
2593
2593
|
},
|
|
2594
|
-
"id":
|
|
2594
|
+
"id": 20836,
|
|
2595
2595
|
"nodeType": "ArrayTypeName",
|
|
2596
2596
|
"src": "6914:9:50",
|
|
2597
2597
|
"typeDescriptions": {
|
|
@@ -2605,12 +2605,12 @@
|
|
|
2605
2605
|
"src": "6855:92:50"
|
|
2606
2606
|
},
|
|
2607
2607
|
"returnParameters": {
|
|
2608
|
-
"id":
|
|
2608
|
+
"id": 20839,
|
|
2609
2609
|
"nodeType": "ParameterList",
|
|
2610
2610
|
"parameters": [],
|
|
2611
2611
|
"src": "6964:0:50"
|
|
2612
2612
|
},
|
|
2613
|
-
"scope":
|
|
2613
|
+
"scope": 20947,
|
|
2614
2614
|
"src": "6822:143:50",
|
|
2615
2615
|
"stateMutability": "nonpayable",
|
|
2616
2616
|
"virtual": false,
|
|
@@ -2619,29 +2619,29 @@
|
|
|
2619
2619
|
{
|
|
2620
2620
|
"anonymous": false,
|
|
2621
2621
|
"documentation": {
|
|
2622
|
-
"id":
|
|
2622
|
+
"id": 20841,
|
|
2623
2623
|
"nodeType": "StructuredDocumentation",
|
|
2624
2624
|
"src": "6970:214:50",
|
|
2625
2625
|
"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"
|
|
2626
2626
|
},
|
|
2627
2627
|
"eventSelector": "30f416fa68fca014a0f334464c64b000ba53e99b6d2afdea9d5ca756372d5985",
|
|
2628
|
-
"id":
|
|
2628
|
+
"id": 20849,
|
|
2629
2629
|
"name": "AgreementStateUpdated",
|
|
2630
2630
|
"nameLocation": "7195:21:50",
|
|
2631
2631
|
"nodeType": "EventDefinition",
|
|
2632
2632
|
"parameters": {
|
|
2633
|
-
"id":
|
|
2633
|
+
"id": 20848,
|
|
2634
2634
|
"nodeType": "ParameterList",
|
|
2635
2635
|
"parameters": [
|
|
2636
2636
|
{
|
|
2637
2637
|
"constant": false,
|
|
2638
|
-
"id":
|
|
2638
|
+
"id": 20843,
|
|
2639
2639
|
"indexed": true,
|
|
2640
2640
|
"mutability": "mutable",
|
|
2641
2641
|
"name": "agreementClass",
|
|
2642
2642
|
"nameLocation": "7242:14:50",
|
|
2643
2643
|
"nodeType": "VariableDeclaration",
|
|
2644
|
-
"scope":
|
|
2644
|
+
"scope": 20849,
|
|
2645
2645
|
"src": "7226:30:50",
|
|
2646
2646
|
"stateVariable": false,
|
|
2647
2647
|
"storageLocation": "default",
|
|
@@ -2650,7 +2650,7 @@
|
|
|
2650
2650
|
"typeString": "address"
|
|
2651
2651
|
},
|
|
2652
2652
|
"typeName": {
|
|
2653
|
-
"id":
|
|
2653
|
+
"id": 20842,
|
|
2654
2654
|
"name": "address",
|
|
2655
2655
|
"nodeType": "ElementaryTypeName",
|
|
2656
2656
|
"src": "7226:7:50",
|
|
@@ -2664,13 +2664,13 @@
|
|
|
2664
2664
|
},
|
|
2665
2665
|
{
|
|
2666
2666
|
"constant": false,
|
|
2667
|
-
"id":
|
|
2667
|
+
"id": 20845,
|
|
2668
2668
|
"indexed": true,
|
|
2669
2669
|
"mutability": "mutable",
|
|
2670
2670
|
"name": "account",
|
|
2671
2671
|
"nameLocation": "7282:7:50",
|
|
2672
2672
|
"nodeType": "VariableDeclaration",
|
|
2673
|
-
"scope":
|
|
2673
|
+
"scope": 20849,
|
|
2674
2674
|
"src": "7266:23:50",
|
|
2675
2675
|
"stateVariable": false,
|
|
2676
2676
|
"storageLocation": "default",
|
|
@@ -2679,7 +2679,7 @@
|
|
|
2679
2679
|
"typeString": "address"
|
|
2680
2680
|
},
|
|
2681
2681
|
"typeName": {
|
|
2682
|
-
"id":
|
|
2682
|
+
"id": 20844,
|
|
2683
2683
|
"name": "address",
|
|
2684
2684
|
"nodeType": "ElementaryTypeName",
|
|
2685
2685
|
"src": "7266:7:50",
|
|
@@ -2693,13 +2693,13 @@
|
|
|
2693
2693
|
},
|
|
2694
2694
|
{
|
|
2695
2695
|
"constant": false,
|
|
2696
|
-
"id":
|
|
2696
|
+
"id": 20847,
|
|
2697
2697
|
"indexed": false,
|
|
2698
2698
|
"mutability": "mutable",
|
|
2699
2699
|
"name": "slotId",
|
|
2700
2700
|
"nameLocation": "7307:6:50",
|
|
2701
2701
|
"nodeType": "VariableDeclaration",
|
|
2702
|
-
"scope":
|
|
2702
|
+
"scope": 20849,
|
|
2703
2703
|
"src": "7299:14:50",
|
|
2704
2704
|
"stateVariable": false,
|
|
2705
2705
|
"storageLocation": "default",
|
|
@@ -2708,7 +2708,7 @@
|
|
|
2708
2708
|
"typeString": "uint256"
|
|
2709
2709
|
},
|
|
2710
2710
|
"typeName": {
|
|
2711
|
-
"id":
|
|
2711
|
+
"id": 20846,
|
|
2712
2712
|
"name": "uint256",
|
|
2713
2713
|
"nodeType": "ElementaryTypeName",
|
|
2714
2714
|
"src": "7299:7:50",
|
|
@@ -2726,13 +2726,13 @@
|
|
|
2726
2726
|
},
|
|
2727
2727
|
{
|
|
2728
2728
|
"documentation": {
|
|
2729
|
-
"id":
|
|
2729
|
+
"id": 20850,
|
|
2730
2730
|
"nodeType": "StructuredDocumentation",
|
|
2731
2731
|
"src": "7326:267:50",
|
|
2732
2732
|
"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"
|
|
2733
2733
|
},
|
|
2734
2734
|
"functionSelector": "4b61cc33",
|
|
2735
|
-
"id":
|
|
2735
|
+
"id": 20864,
|
|
2736
2736
|
"implemented": false,
|
|
2737
2737
|
"kind": "function",
|
|
2738
2738
|
"modifiers": [],
|
|
@@ -2740,17 +2740,17 @@
|
|
|
2740
2740
|
"nameLocation": "7607:21:50",
|
|
2741
2741
|
"nodeType": "FunctionDefinition",
|
|
2742
2742
|
"parameters": {
|
|
2743
|
-
"id":
|
|
2743
|
+
"id": 20859,
|
|
2744
2744
|
"nodeType": "ParameterList",
|
|
2745
2745
|
"parameters": [
|
|
2746
2746
|
{
|
|
2747
2747
|
"constant": false,
|
|
2748
|
-
"id":
|
|
2748
|
+
"id": 20852,
|
|
2749
2749
|
"mutability": "mutable",
|
|
2750
2750
|
"name": "agreementClass",
|
|
2751
2751
|
"nameLocation": "7646:14:50",
|
|
2752
2752
|
"nodeType": "VariableDeclaration",
|
|
2753
|
-
"scope":
|
|
2753
|
+
"scope": 20864,
|
|
2754
2754
|
"src": "7638:22:50",
|
|
2755
2755
|
"stateVariable": false,
|
|
2756
2756
|
"storageLocation": "default",
|
|
@@ -2759,7 +2759,7 @@
|
|
|
2759
2759
|
"typeString": "address"
|
|
2760
2760
|
},
|
|
2761
2761
|
"typeName": {
|
|
2762
|
-
"id":
|
|
2762
|
+
"id": 20851,
|
|
2763
2763
|
"name": "address",
|
|
2764
2764
|
"nodeType": "ElementaryTypeName",
|
|
2765
2765
|
"src": "7638:7:50",
|
|
@@ -2773,12 +2773,12 @@
|
|
|
2773
2773
|
},
|
|
2774
2774
|
{
|
|
2775
2775
|
"constant": false,
|
|
2776
|
-
"id":
|
|
2776
|
+
"id": 20854,
|
|
2777
2777
|
"mutability": "mutable",
|
|
2778
2778
|
"name": "account",
|
|
2779
2779
|
"nameLocation": "7678:7:50",
|
|
2780
2780
|
"nodeType": "VariableDeclaration",
|
|
2781
|
-
"scope":
|
|
2781
|
+
"scope": 20864,
|
|
2782
2782
|
"src": "7670:15:50",
|
|
2783
2783
|
"stateVariable": false,
|
|
2784
2784
|
"storageLocation": "default",
|
|
@@ -2787,7 +2787,7 @@
|
|
|
2787
2787
|
"typeString": "address"
|
|
2788
2788
|
},
|
|
2789
2789
|
"typeName": {
|
|
2790
|
-
"id":
|
|
2790
|
+
"id": 20853,
|
|
2791
2791
|
"name": "address",
|
|
2792
2792
|
"nodeType": "ElementaryTypeName",
|
|
2793
2793
|
"src": "7670:7:50",
|
|
@@ -2801,12 +2801,12 @@
|
|
|
2801
2801
|
},
|
|
2802
2802
|
{
|
|
2803
2803
|
"constant": false,
|
|
2804
|
-
"id":
|
|
2804
|
+
"id": 20856,
|
|
2805
2805
|
"mutability": "mutable",
|
|
2806
2806
|
"name": "slotId",
|
|
2807
2807
|
"nameLocation": "7703:6:50",
|
|
2808
2808
|
"nodeType": "VariableDeclaration",
|
|
2809
|
-
"scope":
|
|
2809
|
+
"scope": 20864,
|
|
2810
2810
|
"src": "7695:14:50",
|
|
2811
2811
|
"stateVariable": false,
|
|
2812
2812
|
"storageLocation": "default",
|
|
@@ -2815,7 +2815,7 @@
|
|
|
2815
2815
|
"typeString": "uint256"
|
|
2816
2816
|
},
|
|
2817
2817
|
"typeName": {
|
|
2818
|
-
"id":
|
|
2818
|
+
"id": 20855,
|
|
2819
2819
|
"name": "uint256",
|
|
2820
2820
|
"nodeType": "ElementaryTypeName",
|
|
2821
2821
|
"src": "7695:7:50",
|
|
@@ -2828,12 +2828,12 @@
|
|
|
2828
2828
|
},
|
|
2829
2829
|
{
|
|
2830
2830
|
"constant": false,
|
|
2831
|
-
"id":
|
|
2831
|
+
"id": 20858,
|
|
2832
2832
|
"mutability": "mutable",
|
|
2833
2833
|
"name": "dataLength",
|
|
2834
2834
|
"nameLocation": "7724:10:50",
|
|
2835
2835
|
"nodeType": "VariableDeclaration",
|
|
2836
|
-
"scope":
|
|
2836
|
+
"scope": 20864,
|
|
2837
2837
|
"src": "7719:15:50",
|
|
2838
2838
|
"stateVariable": false,
|
|
2839
2839
|
"storageLocation": "default",
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
"typeString": "uint256"
|
|
2843
2843
|
},
|
|
2844
2844
|
"typeName": {
|
|
2845
|
-
"id":
|
|
2845
|
+
"id": 20857,
|
|
2846
2846
|
"name": "uint",
|
|
2847
2847
|
"nodeType": "ElementaryTypeName",
|
|
2848
2848
|
"src": "7719:4:50",
|
|
@@ -2857,17 +2857,17 @@
|
|
|
2857
2857
|
"src": "7628:112:50"
|
|
2858
2858
|
},
|
|
2859
2859
|
"returnParameters": {
|
|
2860
|
-
"id":
|
|
2860
|
+
"id": 20863,
|
|
2861
2861
|
"nodeType": "ParameterList",
|
|
2862
2862
|
"parameters": [
|
|
2863
2863
|
{
|
|
2864
2864
|
"constant": false,
|
|
2865
|
-
"id":
|
|
2865
|
+
"id": 20862,
|
|
2866
2866
|
"mutability": "mutable",
|
|
2867
2867
|
"name": "slotData",
|
|
2868
2868
|
"nameLocation": "7797:8:50",
|
|
2869
2869
|
"nodeType": "VariableDeclaration",
|
|
2870
|
-
"scope":
|
|
2870
|
+
"scope": 20864,
|
|
2871
2871
|
"src": "7780:25:50",
|
|
2872
2872
|
"stateVariable": false,
|
|
2873
2873
|
"storageLocation": "memory",
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
},
|
|
2878
2878
|
"typeName": {
|
|
2879
2879
|
"baseType": {
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 20860,
|
|
2881
2881
|
"name": "bytes32",
|
|
2882
2882
|
"nodeType": "ElementaryTypeName",
|
|
2883
2883
|
"src": "7780:7:50",
|
|
@@ -2886,7 +2886,7 @@
|
|
|
2886
2886
|
"typeString": "bytes32"
|
|
2887
2887
|
}
|
|
2888
2888
|
},
|
|
2889
|
-
"id":
|
|
2889
|
+
"id": 20861,
|
|
2890
2890
|
"nodeType": "ArrayTypeName",
|
|
2891
2891
|
"src": "7780:9:50",
|
|
2892
2892
|
"typeDescriptions": {
|
|
@@ -2899,7 +2899,7 @@
|
|
|
2899
2899
|
],
|
|
2900
2900
|
"src": "7779:27:50"
|
|
2901
2901
|
},
|
|
2902
|
-
"scope":
|
|
2902
|
+
"scope": 20947,
|
|
2903
2903
|
"src": "7598:209:50",
|
|
2904
2904
|
"stateMutability": "view",
|
|
2905
2905
|
"virtual": false,
|
|
@@ -2907,13 +2907,13 @@
|
|
|
2907
2907
|
},
|
|
2908
2908
|
{
|
|
2909
2909
|
"documentation": {
|
|
2910
|
-
"id":
|
|
2910
|
+
"id": 20865,
|
|
2911
2911
|
"nodeType": "StructuredDocumentation",
|
|
2912
2912
|
"src": "7813:320:50",
|
|
2913
2913
|
"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 @custom:modifiers \n - onlyAgreement"
|
|
2914
2914
|
},
|
|
2915
2915
|
"functionSelector": "cf97256d",
|
|
2916
|
-
"id":
|
|
2916
|
+
"id": 20872,
|
|
2917
2917
|
"implemented": false,
|
|
2918
2918
|
"kind": "function",
|
|
2919
2919
|
"modifiers": [],
|
|
@@ -2921,17 +2921,17 @@
|
|
|
2921
2921
|
"nameLocation": "8147:13:50",
|
|
2922
2922
|
"nodeType": "FunctionDefinition",
|
|
2923
2923
|
"parameters": {
|
|
2924
|
-
"id":
|
|
2924
|
+
"id": 20870,
|
|
2925
2925
|
"nodeType": "ParameterList",
|
|
2926
2926
|
"parameters": [
|
|
2927
2927
|
{
|
|
2928
2928
|
"constant": false,
|
|
2929
|
-
"id":
|
|
2929
|
+
"id": 20867,
|
|
2930
2930
|
"mutability": "mutable",
|
|
2931
2931
|
"name": "account",
|
|
2932
2932
|
"nameLocation": "8178:7:50",
|
|
2933
2933
|
"nodeType": "VariableDeclaration",
|
|
2934
|
-
"scope":
|
|
2934
|
+
"scope": 20872,
|
|
2935
2935
|
"src": "8170:15:50",
|
|
2936
2936
|
"stateVariable": false,
|
|
2937
2937
|
"storageLocation": "default",
|
|
@@ -2940,7 +2940,7 @@
|
|
|
2940
2940
|
"typeString": "address"
|
|
2941
2941
|
},
|
|
2942
2942
|
"typeName": {
|
|
2943
|
-
"id":
|
|
2943
|
+
"id": 20866,
|
|
2944
2944
|
"name": "address",
|
|
2945
2945
|
"nodeType": "ElementaryTypeName",
|
|
2946
2946
|
"src": "8170:7:50",
|
|
@@ -2954,12 +2954,12 @@
|
|
|
2954
2954
|
},
|
|
2955
2955
|
{
|
|
2956
2956
|
"constant": false,
|
|
2957
|
-
"id":
|
|
2957
|
+
"id": 20869,
|
|
2958
2958
|
"mutability": "mutable",
|
|
2959
2959
|
"name": "delta",
|
|
2960
2960
|
"nameLocation": "8202:5:50",
|
|
2961
2961
|
"nodeType": "VariableDeclaration",
|
|
2962
|
-
"scope":
|
|
2962
|
+
"scope": 20872,
|
|
2963
2963
|
"src": "8195:12:50",
|
|
2964
2964
|
"stateVariable": false,
|
|
2965
2965
|
"storageLocation": "default",
|
|
@@ -2968,7 +2968,7 @@
|
|
|
2968
2968
|
"typeString": "int256"
|
|
2969
2969
|
},
|
|
2970
2970
|
"typeName": {
|
|
2971
|
-
"id":
|
|
2971
|
+
"id": 20868,
|
|
2972
2972
|
"name": "int256",
|
|
2973
2973
|
"nodeType": "ElementaryTypeName",
|
|
2974
2974
|
"src": "8195:6:50",
|
|
@@ -2983,12 +2983,12 @@
|
|
|
2983
2983
|
"src": "8160:53:50"
|
|
2984
2984
|
},
|
|
2985
2985
|
"returnParameters": {
|
|
2986
|
-
"id":
|
|
2986
|
+
"id": 20871,
|
|
2987
2987
|
"nodeType": "ParameterList",
|
|
2988
2988
|
"parameters": [],
|
|
2989
2989
|
"src": "8230:0:50"
|
|
2990
2990
|
},
|
|
2991
|
-
"scope":
|
|
2991
|
+
"scope": 20947,
|
|
2992
2992
|
"src": "8138:93:50",
|
|
2993
2993
|
"stateMutability": "nonpayable",
|
|
2994
2994
|
"virtual": false,
|
|
@@ -2996,13 +2996,13 @@
|
|
|
2996
2996
|
},
|
|
2997
2997
|
{
|
|
2998
2998
|
"documentation": {
|
|
2999
|
-
"id":
|
|
2999
|
+
"id": 20873,
|
|
3000
3000
|
"nodeType": "StructuredDocumentation",
|
|
3001
3001
|
"src": "8237:1154:50",
|
|
3002
3002
|
"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 to be liquidated\n @param rewardAmount The amount the rewarded account will receive\n @param targetAccountBalanceDelta The delta amount the target account balance should change by\n @custom:note \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 @custom:modifiers \n - onlyAgreement"
|
|
3003
3003
|
},
|
|
3004
3004
|
"functionSelector": "1863e809",
|
|
3005
|
-
"id":
|
|
3005
|
+
"id": 20890,
|
|
3006
3006
|
"implemented": false,
|
|
3007
3007
|
"kind": "function",
|
|
3008
3008
|
"modifiers": [],
|
|
@@ -3010,17 +3010,17 @@
|
|
|
3010
3010
|
"nameLocation": "9405:24:50",
|
|
3011
3011
|
"nodeType": "FunctionDefinition",
|
|
3012
3012
|
"parameters": {
|
|
3013
|
-
"id":
|
|
3013
|
+
"id": 20888,
|
|
3014
3014
|
"nodeType": "ParameterList",
|
|
3015
3015
|
"parameters": [
|
|
3016
3016
|
{
|
|
3017
3017
|
"constant": false,
|
|
3018
|
-
"id":
|
|
3018
|
+
"id": 20875,
|
|
3019
3019
|
"mutability": "mutable",
|
|
3020
3020
|
"name": "id",
|
|
3021
3021
|
"nameLocation": "9452:2:50",
|
|
3022
3022
|
"nodeType": "VariableDeclaration",
|
|
3023
|
-
"scope":
|
|
3023
|
+
"scope": 20890,
|
|
3024
3024
|
"src": "9444:10:50",
|
|
3025
3025
|
"stateVariable": false,
|
|
3026
3026
|
"storageLocation": "default",
|
|
@@ -3029,7 +3029,7 @@
|
|
|
3029
3029
|
"typeString": "bytes32"
|
|
3030
3030
|
},
|
|
3031
3031
|
"typeName": {
|
|
3032
|
-
"id":
|
|
3032
|
+
"id": 20874,
|
|
3033
3033
|
"name": "bytes32",
|
|
3034
3034
|
"nodeType": "ElementaryTypeName",
|
|
3035
3035
|
"src": "9444:7:50",
|
|
@@ -3042,12 +3042,12 @@
|
|
|
3042
3042
|
},
|
|
3043
3043
|
{
|
|
3044
3044
|
"constant": false,
|
|
3045
|
-
"id":
|
|
3045
|
+
"id": 20877,
|
|
3046
3046
|
"mutability": "mutable",
|
|
3047
3047
|
"name": "liquidationTypeData",
|
|
3048
3048
|
"nameLocation": "9477:19:50",
|
|
3049
3049
|
"nodeType": "VariableDeclaration",
|
|
3050
|
-
"scope":
|
|
3050
|
+
"scope": 20890,
|
|
3051
3051
|
"src": "9464:32:50",
|
|
3052
3052
|
"stateVariable": false,
|
|
3053
3053
|
"storageLocation": "memory",
|
|
@@ -3056,7 +3056,7 @@
|
|
|
3056
3056
|
"typeString": "bytes"
|
|
3057
3057
|
},
|
|
3058
3058
|
"typeName": {
|
|
3059
|
-
"id":
|
|
3059
|
+
"id": 20876,
|
|
3060
3060
|
"name": "bytes",
|
|
3061
3061
|
"nodeType": "ElementaryTypeName",
|
|
3062
3062
|
"src": "9464:5:50",
|
|
@@ -3069,12 +3069,12 @@
|
|
|
3069
3069
|
},
|
|
3070
3070
|
{
|
|
3071
3071
|
"constant": false,
|
|
3072
|
-
"id":
|
|
3072
|
+
"id": 20879,
|
|
3073
3073
|
"mutability": "mutable",
|
|
3074
3074
|
"name": "liquidatorAccount",
|
|
3075
3075
|
"nameLocation": "9514:17:50",
|
|
3076
3076
|
"nodeType": "VariableDeclaration",
|
|
3077
|
-
"scope":
|
|
3077
|
+
"scope": 20890,
|
|
3078
3078
|
"src": "9506:25:50",
|
|
3079
3079
|
"stateVariable": false,
|
|
3080
3080
|
"storageLocation": "default",
|
|
@@ -3083,7 +3083,7 @@
|
|
|
3083
3083
|
"typeString": "address"
|
|
3084
3084
|
},
|
|
3085
3085
|
"typeName": {
|
|
3086
|
-
"id":
|
|
3086
|
+
"id": 20878,
|
|
3087
3087
|
"name": "address",
|
|
3088
3088
|
"nodeType": "ElementaryTypeName",
|
|
3089
3089
|
"src": "9506:7:50",
|
|
@@ -3097,12 +3097,12 @@
|
|
|
3097
3097
|
},
|
|
3098
3098
|
{
|
|
3099
3099
|
"constant": false,
|
|
3100
|
-
"id":
|
|
3100
|
+
"id": 20881,
|
|
3101
3101
|
"mutability": "mutable",
|
|
3102
3102
|
"name": "useDefaultRewardAccount",
|
|
3103
3103
|
"nameLocation": "9546:23:50",
|
|
3104
3104
|
"nodeType": "VariableDeclaration",
|
|
3105
|
-
"scope":
|
|
3105
|
+
"scope": 20890,
|
|
3106
3106
|
"src": "9541:28:50",
|
|
3107
3107
|
"stateVariable": false,
|
|
3108
3108
|
"storageLocation": "default",
|
|
@@ -3111,7 +3111,7 @@
|
|
|
3111
3111
|
"typeString": "bool"
|
|
3112
3112
|
},
|
|
3113
3113
|
"typeName": {
|
|
3114
|
-
"id":
|
|
3114
|
+
"id": 20880,
|
|
3115
3115
|
"name": "bool",
|
|
3116
3116
|
"nodeType": "ElementaryTypeName",
|
|
3117
3117
|
"src": "9541:4:50",
|
|
@@ -3124,12 +3124,12 @@
|
|
|
3124
3124
|
},
|
|
3125
3125
|
{
|
|
3126
3126
|
"constant": false,
|
|
3127
|
-
"id":
|
|
3127
|
+
"id": 20883,
|
|
3128
3128
|
"mutability": "mutable",
|
|
3129
3129
|
"name": "targetAccount",
|
|
3130
3130
|
"nameLocation": "9587:13:50",
|
|
3131
3131
|
"nodeType": "VariableDeclaration",
|
|
3132
|
-
"scope":
|
|
3132
|
+
"scope": 20890,
|
|
3133
3133
|
"src": "9579:21:50",
|
|
3134
3134
|
"stateVariable": false,
|
|
3135
3135
|
"storageLocation": "default",
|
|
@@ -3138,7 +3138,7 @@
|
|
|
3138
3138
|
"typeString": "address"
|
|
3139
3139
|
},
|
|
3140
3140
|
"typeName": {
|
|
3141
|
-
"id":
|
|
3141
|
+
"id": 20882,
|
|
3142
3142
|
"name": "address",
|
|
3143
3143
|
"nodeType": "ElementaryTypeName",
|
|
3144
3144
|
"src": "9579:7:50",
|
|
@@ -3152,12 +3152,12 @@
|
|
|
3152
3152
|
},
|
|
3153
3153
|
{
|
|
3154
3154
|
"constant": false,
|
|
3155
|
-
"id":
|
|
3155
|
+
"id": 20885,
|
|
3156
3156
|
"mutability": "mutable",
|
|
3157
3157
|
"name": "rewardAmount",
|
|
3158
3158
|
"nameLocation": "9618:12:50",
|
|
3159
3159
|
"nodeType": "VariableDeclaration",
|
|
3160
|
-
"scope":
|
|
3160
|
+
"scope": 20890,
|
|
3161
3161
|
"src": "9610:20:50",
|
|
3162
3162
|
"stateVariable": false,
|
|
3163
3163
|
"storageLocation": "default",
|
|
@@ -3166,7 +3166,7 @@
|
|
|
3166
3166
|
"typeString": "uint256"
|
|
3167
3167
|
},
|
|
3168
3168
|
"typeName": {
|
|
3169
|
-
"id":
|
|
3169
|
+
"id": 20884,
|
|
3170
3170
|
"name": "uint256",
|
|
3171
3171
|
"nodeType": "ElementaryTypeName",
|
|
3172
3172
|
"src": "9610:7:50",
|
|
@@ -3179,12 +3179,12 @@
|
|
|
3179
3179
|
},
|
|
3180
3180
|
{
|
|
3181
3181
|
"constant": false,
|
|
3182
|
-
"id":
|
|
3182
|
+
"id": 20887,
|
|
3183
3183
|
"mutability": "mutable",
|
|
3184
3184
|
"name": "targetAccountBalanceDelta",
|
|
3185
3185
|
"nameLocation": "9647:25:50",
|
|
3186
3186
|
"nodeType": "VariableDeclaration",
|
|
3187
|
-
"scope":
|
|
3187
|
+
"scope": 20890,
|
|
3188
3188
|
"src": "9640:32:50",
|
|
3189
3189
|
"stateVariable": false,
|
|
3190
3190
|
"storageLocation": "default",
|
|
@@ -3193,7 +3193,7 @@
|
|
|
3193
3193
|
"typeString": "int256"
|
|
3194
3194
|
},
|
|
3195
3195
|
"typeName": {
|
|
3196
|
-
"id":
|
|
3196
|
+
"id": 20886,
|
|
3197
3197
|
"name": "int256",
|
|
3198
3198
|
"nodeType": "ElementaryTypeName",
|
|
3199
3199
|
"src": "9640:6:50",
|
|
@@ -3208,12 +3208,12 @@
|
|
|
3208
3208
|
"src": "9434:244:50"
|
|
3209
3209
|
},
|
|
3210
3210
|
"returnParameters": {
|
|
3211
|
-
"id":
|
|
3211
|
+
"id": 20889,
|
|
3212
3212
|
"nodeType": "ParameterList",
|
|
3213
3213
|
"parameters": [],
|
|
3214
3214
|
"src": "9687:0:50"
|
|
3215
3215
|
},
|
|
3216
|
-
"scope":
|
|
3216
|
+
"scope": 20947,
|
|
3217
3217
|
"src": "9396:292:50",
|
|
3218
3218
|
"stateMutability": "nonpayable",
|
|
3219
3219
|
"virtual": false,
|
|
@@ -3222,29 +3222,29 @@
|
|
|
3222
3222
|
{
|
|
3223
3223
|
"anonymous": false,
|
|
3224
3224
|
"documentation": {
|
|
3225
|
-
"id":
|
|
3225
|
+
"id": 20891,
|
|
3226
3226
|
"nodeType": "StructuredDocumentation",
|
|
3227
3227
|
"src": "9693:1512:50",
|
|
3228
3228
|
"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 rewardAmountReceiver 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 @custom:note \n Reward account rule:\n - if the agreement is liquidated during the PIC period\n - the rewardAmountReceiver 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 rewardAmountReceiver 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 default reward account (governance) will pay for both the rewardAmount and bailoutAmount\n - the targetAccount will receive the bailoutAmount"
|
|
3229
3229
|
},
|
|
3230
3230
|
"eventSelector": "b8381a3ce157650e06186e3e8f4dd4dc29236f2688b6eed1893d0a60d7c6386f",
|
|
3231
|
-
"id":
|
|
3231
|
+
"id": 20909,
|
|
3232
3232
|
"name": "AgreementLiquidatedV2",
|
|
3233
3233
|
"nameLocation": "11216:21:50",
|
|
3234
3234
|
"nodeType": "EventDefinition",
|
|
3235
3235
|
"parameters": {
|
|
3236
|
-
"id":
|
|
3236
|
+
"id": 20908,
|
|
3237
3237
|
"nodeType": "ParameterList",
|
|
3238
3238
|
"parameters": [
|
|
3239
3239
|
{
|
|
3240
3240
|
"constant": false,
|
|
3241
|
-
"id":
|
|
3241
|
+
"id": 20893,
|
|
3242
3242
|
"indexed": true,
|
|
3243
3243
|
"mutability": "mutable",
|
|
3244
3244
|
"name": "agreementClass",
|
|
3245
3245
|
"nameLocation": "11263:14:50",
|
|
3246
3246
|
"nodeType": "VariableDeclaration",
|
|
3247
|
-
"scope":
|
|
3247
|
+
"scope": 20909,
|
|
3248
3248
|
"src": "11247:30:50",
|
|
3249
3249
|
"stateVariable": false,
|
|
3250
3250
|
"storageLocation": "default",
|
|
@@ -3253,7 +3253,7 @@
|
|
|
3253
3253
|
"typeString": "address"
|
|
3254
3254
|
},
|
|
3255
3255
|
"typeName": {
|
|
3256
|
-
"id":
|
|
3256
|
+
"id": 20892,
|
|
3257
3257
|
"name": "address",
|
|
3258
3258
|
"nodeType": "ElementaryTypeName",
|
|
3259
3259
|
"src": "11247:7:50",
|
|
@@ -3267,13 +3267,13 @@
|
|
|
3267
3267
|
},
|
|
3268
3268
|
{
|
|
3269
3269
|
"constant": false,
|
|
3270
|
-
"id":
|
|
3270
|
+
"id": 20895,
|
|
3271
3271
|
"indexed": false,
|
|
3272
3272
|
"mutability": "mutable",
|
|
3273
3273
|
"name": "id",
|
|
3274
3274
|
"nameLocation": "11295:2:50",
|
|
3275
3275
|
"nodeType": "VariableDeclaration",
|
|
3276
|
-
"scope":
|
|
3276
|
+
"scope": 20909,
|
|
3277
3277
|
"src": "11287:10:50",
|
|
3278
3278
|
"stateVariable": false,
|
|
3279
3279
|
"storageLocation": "default",
|
|
@@ -3282,7 +3282,7 @@
|
|
|
3282
3282
|
"typeString": "bytes32"
|
|
3283
3283
|
},
|
|
3284
3284
|
"typeName": {
|
|
3285
|
-
"id":
|
|
3285
|
+
"id": 20894,
|
|
3286
3286
|
"name": "bytes32",
|
|
3287
3287
|
"nodeType": "ElementaryTypeName",
|
|
3288
3288
|
"src": "11287:7:50",
|
|
@@ -3295,13 +3295,13 @@
|
|
|
3295
3295
|
},
|
|
3296
3296
|
{
|
|
3297
3297
|
"constant": false,
|
|
3298
|
-
"id":
|
|
3298
|
+
"id": 20897,
|
|
3299
3299
|
"indexed": true,
|
|
3300
3300
|
"mutability": "mutable",
|
|
3301
3301
|
"name": "liquidatorAccount",
|
|
3302
3302
|
"nameLocation": "11323:17:50",
|
|
3303
3303
|
"nodeType": "VariableDeclaration",
|
|
3304
|
-
"scope":
|
|
3304
|
+
"scope": 20909,
|
|
3305
3305
|
"src": "11307:33:50",
|
|
3306
3306
|
"stateVariable": false,
|
|
3307
3307
|
"storageLocation": "default",
|
|
@@ -3310,7 +3310,7 @@
|
|
|
3310
3310
|
"typeString": "address"
|
|
3311
3311
|
},
|
|
3312
3312
|
"typeName": {
|
|
3313
|
-
"id":
|
|
3313
|
+
"id": 20896,
|
|
3314
3314
|
"name": "address",
|
|
3315
3315
|
"nodeType": "ElementaryTypeName",
|
|
3316
3316
|
"src": "11307:7:50",
|
|
@@ -3324,13 +3324,13 @@
|
|
|
3324
3324
|
},
|
|
3325
3325
|
{
|
|
3326
3326
|
"constant": false,
|
|
3327
|
-
"id":
|
|
3327
|
+
"id": 20899,
|
|
3328
3328
|
"indexed": true,
|
|
3329
3329
|
"mutability": "mutable",
|
|
3330
3330
|
"name": "targetAccount",
|
|
3331
3331
|
"nameLocation": "11366:13:50",
|
|
3332
3332
|
"nodeType": "VariableDeclaration",
|
|
3333
|
-
"scope":
|
|
3333
|
+
"scope": 20909,
|
|
3334
3334
|
"src": "11350:29:50",
|
|
3335
3335
|
"stateVariable": false,
|
|
3336
3336
|
"storageLocation": "default",
|
|
@@ -3339,7 +3339,7 @@
|
|
|
3339
3339
|
"typeString": "address"
|
|
3340
3340
|
},
|
|
3341
3341
|
"typeName": {
|
|
3342
|
-
"id":
|
|
3342
|
+
"id": 20898,
|
|
3343
3343
|
"name": "address",
|
|
3344
3344
|
"nodeType": "ElementaryTypeName",
|
|
3345
3345
|
"src": "11350:7:50",
|
|
@@ -3353,13 +3353,13 @@
|
|
|
3353
3353
|
},
|
|
3354
3354
|
{
|
|
3355
3355
|
"constant": false,
|
|
3356
|
-
"id":
|
|
3356
|
+
"id": 20901,
|
|
3357
3357
|
"indexed": false,
|
|
3358
3358
|
"mutability": "mutable",
|
|
3359
3359
|
"name": "rewardAmountReceiver",
|
|
3360
3360
|
"nameLocation": "11397:20:50",
|
|
3361
3361
|
"nodeType": "VariableDeclaration",
|
|
3362
|
-
"scope":
|
|
3362
|
+
"scope": 20909,
|
|
3363
3363
|
"src": "11389:28:50",
|
|
3364
3364
|
"stateVariable": false,
|
|
3365
3365
|
"storageLocation": "default",
|
|
@@ -3368,7 +3368,7 @@
|
|
|
3368
3368
|
"typeString": "address"
|
|
3369
3369
|
},
|
|
3370
3370
|
"typeName": {
|
|
3371
|
-
"id":
|
|
3371
|
+
"id": 20900,
|
|
3372
3372
|
"name": "address",
|
|
3373
3373
|
"nodeType": "ElementaryTypeName",
|
|
3374
3374
|
"src": "11389:7:50",
|
|
@@ -3382,13 +3382,13 @@
|
|
|
3382
3382
|
},
|
|
3383
3383
|
{
|
|
3384
3384
|
"constant": false,
|
|
3385
|
-
"id":
|
|
3385
|
+
"id": 20903,
|
|
3386
3386
|
"indexed": false,
|
|
3387
3387
|
"mutability": "mutable",
|
|
3388
3388
|
"name": "rewardAmount",
|
|
3389
3389
|
"nameLocation": "11435:12:50",
|
|
3390
3390
|
"nodeType": "VariableDeclaration",
|
|
3391
|
-
"scope":
|
|
3391
|
+
"scope": 20909,
|
|
3392
3392
|
"src": "11427:20:50",
|
|
3393
3393
|
"stateVariable": false,
|
|
3394
3394
|
"storageLocation": "default",
|
|
@@ -3397,7 +3397,7 @@
|
|
|
3397
3397
|
"typeString": "uint256"
|
|
3398
3398
|
},
|
|
3399
3399
|
"typeName": {
|
|
3400
|
-
"id":
|
|
3400
|
+
"id": 20902,
|
|
3401
3401
|
"name": "uint256",
|
|
3402
3402
|
"nodeType": "ElementaryTypeName",
|
|
3403
3403
|
"src": "11427:7:50",
|
|
@@ -3410,13 +3410,13 @@
|
|
|
3410
3410
|
},
|
|
3411
3411
|
{
|
|
3412
3412
|
"constant": false,
|
|
3413
|
-
"id":
|
|
3413
|
+
"id": 20905,
|
|
3414
3414
|
"indexed": false,
|
|
3415
3415
|
"mutability": "mutable",
|
|
3416
3416
|
"name": "targetAccountBalanceDelta",
|
|
3417
3417
|
"nameLocation": "11464:25:50",
|
|
3418
3418
|
"nodeType": "VariableDeclaration",
|
|
3419
|
-
"scope":
|
|
3419
|
+
"scope": 20909,
|
|
3420
3420
|
"src": "11457:32:50",
|
|
3421
3421
|
"stateVariable": false,
|
|
3422
3422
|
"storageLocation": "default",
|
|
@@ -3425,7 +3425,7 @@
|
|
|
3425
3425
|
"typeString": "int256"
|
|
3426
3426
|
},
|
|
3427
3427
|
"typeName": {
|
|
3428
|
-
"id":
|
|
3428
|
+
"id": 20904,
|
|
3429
3429
|
"name": "int256",
|
|
3430
3430
|
"nodeType": "ElementaryTypeName",
|
|
3431
3431
|
"src": "11457:6:50",
|
|
@@ -3438,13 +3438,13 @@
|
|
|
3438
3438
|
},
|
|
3439
3439
|
{
|
|
3440
3440
|
"constant": false,
|
|
3441
|
-
"id":
|
|
3441
|
+
"id": 20907,
|
|
3442
3442
|
"indexed": false,
|
|
3443
3443
|
"mutability": "mutable",
|
|
3444
3444
|
"name": "liquidationTypeData",
|
|
3445
3445
|
"nameLocation": "11505:19:50",
|
|
3446
3446
|
"nodeType": "VariableDeclaration",
|
|
3447
|
-
"scope":
|
|
3447
|
+
"scope": 20909,
|
|
3448
3448
|
"src": "11499:25:50",
|
|
3449
3449
|
"stateVariable": false,
|
|
3450
3450
|
"storageLocation": "default",
|
|
@@ -3453,7 +3453,7 @@
|
|
|
3453
3453
|
"typeString": "bytes"
|
|
3454
3454
|
},
|
|
3455
3455
|
"typeName": {
|
|
3456
|
-
"id":
|
|
3456
|
+
"id": 20906,
|
|
3457
3457
|
"name": "bytes",
|
|
3458
3458
|
"nodeType": "ElementaryTypeName",
|
|
3459
3459
|
"src": "11499:5:50",
|
|
@@ -3472,29 +3472,29 @@
|
|
|
3472
3472
|
{
|
|
3473
3473
|
"anonymous": false,
|
|
3474
3474
|
"documentation": {
|
|
3475
|
-
"id":
|
|
3475
|
+
"id": 20910,
|
|
3476
3476
|
"nodeType": "StructuredDocumentation",
|
|
3477
3477
|
"src": "12343:435:50",
|
|
3478
3478
|
"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 @custom:deprecated Use AgreementLiquidatedV2 instead"
|
|
3479
3479
|
},
|
|
3480
3480
|
"eventSelector": "8505c3d8f1f184f032cf0bc4cd80ee61c8b9d94f8907c3281bf0101a2610fe80",
|
|
3481
|
-
"id":
|
|
3481
|
+
"id": 20922,
|
|
3482
3482
|
"name": "AgreementLiquidated",
|
|
3483
3483
|
"nameLocation": "12789:19:50",
|
|
3484
3484
|
"nodeType": "EventDefinition",
|
|
3485
3485
|
"parameters": {
|
|
3486
|
-
"id":
|
|
3486
|
+
"id": 20921,
|
|
3487
3487
|
"nodeType": "ParameterList",
|
|
3488
3488
|
"parameters": [
|
|
3489
3489
|
{
|
|
3490
3490
|
"constant": false,
|
|
3491
|
-
"id":
|
|
3491
|
+
"id": 20912,
|
|
3492
3492
|
"indexed": true,
|
|
3493
3493
|
"mutability": "mutable",
|
|
3494
3494
|
"name": "agreementClass",
|
|
3495
3495
|
"nameLocation": "12834:14:50",
|
|
3496
3496
|
"nodeType": "VariableDeclaration",
|
|
3497
|
-
"scope":
|
|
3497
|
+
"scope": 20922,
|
|
3498
3498
|
"src": "12818:30:50",
|
|
3499
3499
|
"stateVariable": false,
|
|
3500
3500
|
"storageLocation": "default",
|
|
@@ -3503,7 +3503,7 @@
|
|
|
3503
3503
|
"typeString": "address"
|
|
3504
3504
|
},
|
|
3505
3505
|
"typeName": {
|
|
3506
|
-
"id":
|
|
3506
|
+
"id": 20911,
|
|
3507
3507
|
"name": "address",
|
|
3508
3508
|
"nodeType": "ElementaryTypeName",
|
|
3509
3509
|
"src": "12818:7:50",
|
|
@@ -3517,13 +3517,13 @@
|
|
|
3517
3517
|
},
|
|
3518
3518
|
{
|
|
3519
3519
|
"constant": false,
|
|
3520
|
-
"id":
|
|
3520
|
+
"id": 20914,
|
|
3521
3521
|
"indexed": false,
|
|
3522
3522
|
"mutability": "mutable",
|
|
3523
3523
|
"name": "id",
|
|
3524
3524
|
"nameLocation": "12866:2:50",
|
|
3525
3525
|
"nodeType": "VariableDeclaration",
|
|
3526
|
-
"scope":
|
|
3526
|
+
"scope": 20922,
|
|
3527
3527
|
"src": "12858:10:50",
|
|
3528
3528
|
"stateVariable": false,
|
|
3529
3529
|
"storageLocation": "default",
|
|
@@ -3532,7 +3532,7 @@
|
|
|
3532
3532
|
"typeString": "bytes32"
|
|
3533
3533
|
},
|
|
3534
3534
|
"typeName": {
|
|
3535
|
-
"id":
|
|
3535
|
+
"id": 20913,
|
|
3536
3536
|
"name": "bytes32",
|
|
3537
3537
|
"nodeType": "ElementaryTypeName",
|
|
3538
3538
|
"src": "12858:7:50",
|
|
@@ -3545,13 +3545,13 @@
|
|
|
3545
3545
|
},
|
|
3546
3546
|
{
|
|
3547
3547
|
"constant": false,
|
|
3548
|
-
"id":
|
|
3548
|
+
"id": 20916,
|
|
3549
3549
|
"indexed": true,
|
|
3550
3550
|
"mutability": "mutable",
|
|
3551
3551
|
"name": "penaltyAccount",
|
|
3552
3552
|
"nameLocation": "12894:14:50",
|
|
3553
3553
|
"nodeType": "VariableDeclaration",
|
|
3554
|
-
"scope":
|
|
3554
|
+
"scope": 20922,
|
|
3555
3555
|
"src": "12878:30:50",
|
|
3556
3556
|
"stateVariable": false,
|
|
3557
3557
|
"storageLocation": "default",
|
|
@@ -3560,7 +3560,7 @@
|
|
|
3560
3560
|
"typeString": "address"
|
|
3561
3561
|
},
|
|
3562
3562
|
"typeName": {
|
|
3563
|
-
"id":
|
|
3563
|
+
"id": 20915,
|
|
3564
3564
|
"name": "address",
|
|
3565
3565
|
"nodeType": "ElementaryTypeName",
|
|
3566
3566
|
"src": "12878:7:50",
|
|
@@ -3574,13 +3574,13 @@
|
|
|
3574
3574
|
},
|
|
3575
3575
|
{
|
|
3576
3576
|
"constant": false,
|
|
3577
|
-
"id":
|
|
3577
|
+
"id": 20918,
|
|
3578
3578
|
"indexed": true,
|
|
3579
3579
|
"mutability": "mutable",
|
|
3580
3580
|
"name": "rewardAccount",
|
|
3581
3581
|
"nameLocation": "12934:13:50",
|
|
3582
3582
|
"nodeType": "VariableDeclaration",
|
|
3583
|
-
"scope":
|
|
3583
|
+
"scope": 20922,
|
|
3584
3584
|
"src": "12918:29:50",
|
|
3585
3585
|
"stateVariable": false,
|
|
3586
3586
|
"storageLocation": "default",
|
|
@@ -3589,7 +3589,7 @@
|
|
|
3589
3589
|
"typeString": "address"
|
|
3590
3590
|
},
|
|
3591
3591
|
"typeName": {
|
|
3592
|
-
"id":
|
|
3592
|
+
"id": 20917,
|
|
3593
3593
|
"name": "address",
|
|
3594
3594
|
"nodeType": "ElementaryTypeName",
|
|
3595
3595
|
"src": "12918:7:50",
|
|
@@ -3603,13 +3603,13 @@
|
|
|
3603
3603
|
},
|
|
3604
3604
|
{
|
|
3605
3605
|
"constant": false,
|
|
3606
|
-
"id":
|
|
3606
|
+
"id": 20920,
|
|
3607
3607
|
"indexed": false,
|
|
3608
3608
|
"mutability": "mutable",
|
|
3609
3609
|
"name": "rewardAmount",
|
|
3610
3610
|
"nameLocation": "12965:12:50",
|
|
3611
3611
|
"nodeType": "VariableDeclaration",
|
|
3612
|
-
"scope":
|
|
3612
|
+
"scope": 20922,
|
|
3613
3613
|
"src": "12957:20:50",
|
|
3614
3614
|
"stateVariable": false,
|
|
3615
3615
|
"storageLocation": "default",
|
|
@@ -3618,7 +3618,7 @@
|
|
|
3618
3618
|
"typeString": "uint256"
|
|
3619
3619
|
},
|
|
3620
3620
|
"typeName": {
|
|
3621
|
-
"id":
|
|
3621
|
+
"id": 20919,
|
|
3622
3622
|
"name": "uint256",
|
|
3623
3623
|
"nodeType": "ElementaryTypeName",
|
|
3624
3624
|
"src": "12957:7:50",
|
|
@@ -3637,29 +3637,29 @@
|
|
|
3637
3637
|
{
|
|
3638
3638
|
"anonymous": false,
|
|
3639
3639
|
"documentation": {
|
|
3640
|
-
"id":
|
|
3640
|
+
"id": 20923,
|
|
3641
3641
|
"nodeType": "StructuredDocumentation",
|
|
3642
3642
|
"src": "12990:276:50",
|
|
3643
3643
|
"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 @custom:deprecated Use AgreementLiquidatedV2 instead"
|
|
3644
3644
|
},
|
|
3645
3645
|
"eventSelector": "d6c9a04afc81e8c614310bbee6c9e84f5abe15b82038bf8347014ce0852e6ffd",
|
|
3646
|
-
"id":
|
|
3646
|
+
"id": 20929,
|
|
3647
3647
|
"name": "Bailout",
|
|
3648
3648
|
"nameLocation": "13277:7:50",
|
|
3649
3649
|
"nodeType": "EventDefinition",
|
|
3650
3650
|
"parameters": {
|
|
3651
|
-
"id":
|
|
3651
|
+
"id": 20928,
|
|
3652
3652
|
"nodeType": "ParameterList",
|
|
3653
3653
|
"parameters": [
|
|
3654
3654
|
{
|
|
3655
3655
|
"constant": false,
|
|
3656
|
-
"id":
|
|
3656
|
+
"id": 20925,
|
|
3657
3657
|
"indexed": true,
|
|
3658
3658
|
"mutability": "mutable",
|
|
3659
3659
|
"name": "bailoutAccount",
|
|
3660
3660
|
"nameLocation": "13310:14:50",
|
|
3661
3661
|
"nodeType": "VariableDeclaration",
|
|
3662
|
-
"scope":
|
|
3662
|
+
"scope": 20929,
|
|
3663
3663
|
"src": "13294:30:50",
|
|
3664
3664
|
"stateVariable": false,
|
|
3665
3665
|
"storageLocation": "default",
|
|
@@ -3668,7 +3668,7 @@
|
|
|
3668
3668
|
"typeString": "address"
|
|
3669
3669
|
},
|
|
3670
3670
|
"typeName": {
|
|
3671
|
-
"id":
|
|
3671
|
+
"id": 20924,
|
|
3672
3672
|
"name": "address",
|
|
3673
3673
|
"nodeType": "ElementaryTypeName",
|
|
3674
3674
|
"src": "13294:7:50",
|
|
@@ -3682,13 +3682,13 @@
|
|
|
3682
3682
|
},
|
|
3683
3683
|
{
|
|
3684
3684
|
"constant": false,
|
|
3685
|
-
"id":
|
|
3685
|
+
"id": 20927,
|
|
3686
3686
|
"indexed": false,
|
|
3687
3687
|
"mutability": "mutable",
|
|
3688
3688
|
"name": "bailoutAmount",
|
|
3689
3689
|
"nameLocation": "13342:13:50",
|
|
3690
3690
|
"nodeType": "VariableDeclaration",
|
|
3691
|
-
"scope":
|
|
3691
|
+
"scope": 20929,
|
|
3692
3692
|
"src": "13334:21:50",
|
|
3693
3693
|
"stateVariable": false,
|
|
3694
3694
|
"storageLocation": "default",
|
|
@@ -3697,7 +3697,7 @@
|
|
|
3697
3697
|
"typeString": "uint256"
|
|
3698
3698
|
},
|
|
3699
3699
|
"typeName": {
|
|
3700
|
-
"id":
|
|
3700
|
+
"id": 20926,
|
|
3701
3701
|
"name": "uint256",
|
|
3702
3702
|
"nodeType": "ElementaryTypeName",
|
|
3703
3703
|
"src": "13334:7:50",
|
|
@@ -3716,29 +3716,29 @@
|
|
|
3716
3716
|
{
|
|
3717
3717
|
"anonymous": false,
|
|
3718
3718
|
"documentation": {
|
|
3719
|
-
"id":
|
|
3719
|
+
"id": 20930,
|
|
3720
3720
|
"nodeType": "StructuredDocumentation",
|
|
3721
3721
|
"src": "13368:1082:50",
|
|
3722
3722
|
"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 @custom:deprecated Use AgreementLiquidatedV2 instead\n @custom: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."
|
|
3723
3723
|
},
|
|
3724
3724
|
"eventSelector": "5f22b60e58b1d6de858bc27c48d5a4653e052da99e083c1d88bb8c58e1abc8ef",
|
|
3725
|
-
"id":
|
|
3725
|
+
"id": 20946,
|
|
3726
3726
|
"name": "AgreementLiquidatedBy",
|
|
3727
3727
|
"nameLocation": "14461:21:50",
|
|
3728
3728
|
"nodeType": "EventDefinition",
|
|
3729
3729
|
"parameters": {
|
|
3730
|
-
"id":
|
|
3730
|
+
"id": 20945,
|
|
3731
3731
|
"nodeType": "ParameterList",
|
|
3732
3732
|
"parameters": [
|
|
3733
3733
|
{
|
|
3734
3734
|
"constant": false,
|
|
3735
|
-
"id":
|
|
3735
|
+
"id": 20932,
|
|
3736
3736
|
"indexed": false,
|
|
3737
3737
|
"mutability": "mutable",
|
|
3738
3738
|
"name": "liquidatorAccount",
|
|
3739
3739
|
"nameLocation": "14500:17:50",
|
|
3740
3740
|
"nodeType": "VariableDeclaration",
|
|
3741
|
-
"scope":
|
|
3741
|
+
"scope": 20946,
|
|
3742
3742
|
"src": "14492:25:50",
|
|
3743
3743
|
"stateVariable": false,
|
|
3744
3744
|
"storageLocation": "default",
|
|
@@ -3747,7 +3747,7 @@
|
|
|
3747
3747
|
"typeString": "address"
|
|
3748
3748
|
},
|
|
3749
3749
|
"typeName": {
|
|
3750
|
-
"id":
|
|
3750
|
+
"id": 20931,
|
|
3751
3751
|
"name": "address",
|
|
3752
3752
|
"nodeType": "ElementaryTypeName",
|
|
3753
3753
|
"src": "14492:7:50",
|
|
@@ -3761,13 +3761,13 @@
|
|
|
3761
3761
|
},
|
|
3762
3762
|
{
|
|
3763
3763
|
"constant": false,
|
|
3764
|
-
"id":
|
|
3764
|
+
"id": 20934,
|
|
3765
3765
|
"indexed": true,
|
|
3766
3766
|
"mutability": "mutable",
|
|
3767
3767
|
"name": "agreementClass",
|
|
3768
3768
|
"nameLocation": "14543:14:50",
|
|
3769
3769
|
"nodeType": "VariableDeclaration",
|
|
3770
|
-
"scope":
|
|
3770
|
+
"scope": 20946,
|
|
3771
3771
|
"src": "14527:30:50",
|
|
3772
3772
|
"stateVariable": false,
|
|
3773
3773
|
"storageLocation": "default",
|
|
@@ -3776,7 +3776,7 @@
|
|
|
3776
3776
|
"typeString": "address"
|
|
3777
3777
|
},
|
|
3778
3778
|
"typeName": {
|
|
3779
|
-
"id":
|
|
3779
|
+
"id": 20933,
|
|
3780
3780
|
"name": "address",
|
|
3781
3781
|
"nodeType": "ElementaryTypeName",
|
|
3782
3782
|
"src": "14527:7:50",
|
|
@@ -3790,13 +3790,13 @@
|
|
|
3790
3790
|
},
|
|
3791
3791
|
{
|
|
3792
3792
|
"constant": false,
|
|
3793
|
-
"id":
|
|
3793
|
+
"id": 20936,
|
|
3794
3794
|
"indexed": false,
|
|
3795
3795
|
"mutability": "mutable",
|
|
3796
3796
|
"name": "id",
|
|
3797
3797
|
"nameLocation": "14575:2:50",
|
|
3798
3798
|
"nodeType": "VariableDeclaration",
|
|
3799
|
-
"scope":
|
|
3799
|
+
"scope": 20946,
|
|
3800
3800
|
"src": "14567:10:50",
|
|
3801
3801
|
"stateVariable": false,
|
|
3802
3802
|
"storageLocation": "default",
|
|
@@ -3805,7 +3805,7 @@
|
|
|
3805
3805
|
"typeString": "bytes32"
|
|
3806
3806
|
},
|
|
3807
3807
|
"typeName": {
|
|
3808
|
-
"id":
|
|
3808
|
+
"id": 20935,
|
|
3809
3809
|
"name": "bytes32",
|
|
3810
3810
|
"nodeType": "ElementaryTypeName",
|
|
3811
3811
|
"src": "14567:7:50",
|
|
@@ -3818,13 +3818,13 @@
|
|
|
3818
3818
|
},
|
|
3819
3819
|
{
|
|
3820
3820
|
"constant": false,
|
|
3821
|
-
"id":
|
|
3821
|
+
"id": 20938,
|
|
3822
3822
|
"indexed": true,
|
|
3823
3823
|
"mutability": "mutable",
|
|
3824
3824
|
"name": "penaltyAccount",
|
|
3825
3825
|
"nameLocation": "14603:14:50",
|
|
3826
3826
|
"nodeType": "VariableDeclaration",
|
|
3827
|
-
"scope":
|
|
3827
|
+
"scope": 20946,
|
|
3828
3828
|
"src": "14587:30:50",
|
|
3829
3829
|
"stateVariable": false,
|
|
3830
3830
|
"storageLocation": "default",
|
|
@@ -3833,7 +3833,7 @@
|
|
|
3833
3833
|
"typeString": "address"
|
|
3834
3834
|
},
|
|
3835
3835
|
"typeName": {
|
|
3836
|
-
"id":
|
|
3836
|
+
"id": 20937,
|
|
3837
3837
|
"name": "address",
|
|
3838
3838
|
"nodeType": "ElementaryTypeName",
|
|
3839
3839
|
"src": "14587:7:50",
|
|
@@ -3847,13 +3847,13 @@
|
|
|
3847
3847
|
},
|
|
3848
3848
|
{
|
|
3849
3849
|
"constant": false,
|
|
3850
|
-
"id":
|
|
3850
|
+
"id": 20940,
|
|
3851
3851
|
"indexed": true,
|
|
3852
3852
|
"mutability": "mutable",
|
|
3853
3853
|
"name": "bondAccount",
|
|
3854
3854
|
"nameLocation": "14643:11:50",
|
|
3855
3855
|
"nodeType": "VariableDeclaration",
|
|
3856
|
-
"scope":
|
|
3856
|
+
"scope": 20946,
|
|
3857
3857
|
"src": "14627:27:50",
|
|
3858
3858
|
"stateVariable": false,
|
|
3859
3859
|
"storageLocation": "default",
|
|
@@ -3862,7 +3862,7 @@
|
|
|
3862
3862
|
"typeString": "address"
|
|
3863
3863
|
},
|
|
3864
3864
|
"typeName": {
|
|
3865
|
-
"id":
|
|
3865
|
+
"id": 20939,
|
|
3866
3866
|
"name": "address",
|
|
3867
3867
|
"nodeType": "ElementaryTypeName",
|
|
3868
3868
|
"src": "14627:7:50",
|
|
@@ -3876,13 +3876,13 @@
|
|
|
3876
3876
|
},
|
|
3877
3877
|
{
|
|
3878
3878
|
"constant": false,
|
|
3879
|
-
"id":
|
|
3879
|
+
"id": 20942,
|
|
3880
3880
|
"indexed": false,
|
|
3881
3881
|
"mutability": "mutable",
|
|
3882
3882
|
"name": "rewardAmount",
|
|
3883
3883
|
"nameLocation": "14672:12:50",
|
|
3884
3884
|
"nodeType": "VariableDeclaration",
|
|
3885
|
-
"scope":
|
|
3885
|
+
"scope": 20946,
|
|
3886
3886
|
"src": "14664:20:50",
|
|
3887
3887
|
"stateVariable": false,
|
|
3888
3888
|
"storageLocation": "default",
|
|
@@ -3891,7 +3891,7 @@
|
|
|
3891
3891
|
"typeString": "uint256"
|
|
3892
3892
|
},
|
|
3893
3893
|
"typeName": {
|
|
3894
|
-
"id":
|
|
3894
|
+
"id": 20941,
|
|
3895
3895
|
"name": "uint256",
|
|
3896
3896
|
"nodeType": "ElementaryTypeName",
|
|
3897
3897
|
"src": "14664:7:50",
|
|
@@ -3904,13 +3904,13 @@
|
|
|
3904
3904
|
},
|
|
3905
3905
|
{
|
|
3906
3906
|
"constant": false,
|
|
3907
|
-
"id":
|
|
3907
|
+
"id": 20944,
|
|
3908
3908
|
"indexed": false,
|
|
3909
3909
|
"mutability": "mutable",
|
|
3910
3910
|
"name": "bailoutAmount",
|
|
3911
3911
|
"nameLocation": "14702:13:50",
|
|
3912
3912
|
"nodeType": "VariableDeclaration",
|
|
3913
|
-
"scope":
|
|
3913
|
+
"scope": 20946,
|
|
3914
3914
|
"src": "14694:21:50",
|
|
3915
3915
|
"stateVariable": false,
|
|
3916
3916
|
"storageLocation": "default",
|
|
@@ -3919,7 +3919,7 @@
|
|
|
3919
3919
|
"typeString": "uint256"
|
|
3920
3920
|
},
|
|
3921
3921
|
"typeName": {
|
|
3922
|
-
"id":
|
|
3922
|
+
"id": 20943,
|
|
3923
3923
|
"name": "uint256",
|
|
3924
3924
|
"nodeType": "ElementaryTypeName",
|
|
3925
3925
|
"src": "14694:7:50",
|
|
@@ -3936,7 +3936,7 @@
|
|
|
3936
3936
|
"src": "14455:267:50"
|
|
3937
3937
|
}
|
|
3938
3938
|
],
|
|
3939
|
-
"scope":
|
|
3939
|
+
"scope": 20948,
|
|
3940
3940
|
"src": "241:14483:50",
|
|
3941
3941
|
"usedErrors": []
|
|
3942
3942
|
}
|
|
@@ -3949,7 +3949,7 @@
|
|
|
3949
3949
|
},
|
|
3950
3950
|
"networks": {},
|
|
3951
3951
|
"schemaVersion": "3.4.9",
|
|
3952
|
-
"updatedAt": "2022-09-
|
|
3952
|
+
"updatedAt": "2022-09-21T11:06:18.150Z",
|
|
3953
3953
|
"devdoc": {
|
|
3954
3954
|
"author": "Superfluid",
|
|
3955
3955
|
"events": {
|