@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.d249828.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 +18 -18
- package/build/contracts/AgreementLibrary.json +1272 -1183
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +211 -211
- package/build/contracts/BatchOperation.json +599 -599
- package/build/contracts/CFAv1Library.json +2282 -2282
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
- package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +599 -599
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +20 -20
- 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 +858 -858
- package/build/contracts/ERC777RecipientReverting.json +858 -858
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +2473 -2473
- package/build/contracts/FlowOperatorDefinitions.json +599 -599
- package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +567 -567
- package/build/contracts/IDAv1Library.json +2614 -2614
- 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 +640 -640
- package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +43 -43
- package/build/contracts/IPureSuperTokenCustom.json +43 -43
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +48 -48
- package/build/contracts/ISETHCustom.json +48 -48
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +192 -192
- package/build/contracts/ISuperToken.json +524 -524
- package/build/contracts/ISuperTokenFactory.json +161 -161
- package/build/contracts/ISuperfluid.json +1145 -1178
- package/build/contracts/ISuperfluidGovernance.json +243 -243
- package/build/contracts/ISuperfluidToken.json +389 -389
- package/build/contracts/ITOGAv1.json +1442 -1442
- package/build/contracts/ITOGAv2.json +1442 -1442
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
- package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
- 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 +109 -109
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +227 -227
- 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 +2472 -2472
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +748 -748
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +240 -240
- package/build/contracts/SuperAppDefinitions.json +599 -599
- package/build/contracts/SuperToken.json +4732 -4732
- package/build/contracts/SuperTokenFactory.json +750 -750
- package/build/contracts/SuperTokenFactoryBase.json +738 -738
- package/build/contracts/SuperTokenFactoryHelper.json +743 -743
- package/build/contracts/SuperUpgrader.json +440 -440
- package/build/contracts/Superfluid.json +15366 -16050
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
- package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
- package/build/contracts/SuperfluidGovernanceII.json +149 -149
- package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
- package/build/contracts/SuperfluidLoader.json +210 -210
- package/build/contracts/SuperfluidToken.json +2420 -2420
- package/build/contracts/TOGA.json +1461 -1461
- package/build/contracts/TestGovernance.json +248 -248
- 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 +4 -4
- package/contracts/agreements/AgreementLibrary.sol +39 -15
- package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
- package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
- package/contracts/mocks/AgreementMock.sol +2 -2
- package/contracts/mocks/CFAAppMocks.sol +1 -1
- package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
- package/contracts/mocks/SuperTokenMock.sol +2 -2
- package/contracts/mocks/SuperfluidMock.sol +9 -9
- package/contracts/superfluid/Superfluid.sol +34 -38
- package/contracts/superfluid/SuperfluidToken.sol +14 -14
- package/package.json +2 -2
- package/scripts/deploy-mfa.ts +27 -0
- package/utils/README.md +18 -0
- package/utils/mfa-tester.html +705 -0
|
@@ -657,18 +657,18 @@
|
|
|
657
657
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
|
|
658
658
|
"exportedSymbols": {
|
|
659
659
|
"ISuperAgreement": [
|
|
660
|
-
|
|
660
|
+
19002
|
|
661
661
|
],
|
|
662
662
|
"ISuperfluidToken": [
|
|
663
|
-
|
|
663
|
+
20450
|
|
664
664
|
]
|
|
665
665
|
},
|
|
666
|
-
"id":
|
|
666
|
+
"id": 20451,
|
|
667
667
|
"license": "AGPLv3",
|
|
668
668
|
"nodeType": "SourceUnit",
|
|
669
669
|
"nodes": [
|
|
670
670
|
{
|
|
671
|
-
"id":
|
|
671
|
+
"id": 20178,
|
|
672
672
|
"literals": [
|
|
673
673
|
"solidity",
|
|
674
674
|
">=",
|
|
@@ -681,20 +681,20 @@
|
|
|
681
681
|
{
|
|
682
682
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
|
|
683
683
|
"file": "./ISuperAgreement.sol",
|
|
684
|
-
"id":
|
|
684
|
+
"id": 20180,
|
|
685
685
|
"nameLocation": "-1:-1:-1",
|
|
686
686
|
"nodeType": "ImportDirective",
|
|
687
|
-
"scope":
|
|
688
|
-
"sourceUnit":
|
|
687
|
+
"scope": 20451,
|
|
688
|
+
"sourceUnit": 19003,
|
|
689
689
|
"src": "62:56:50",
|
|
690
690
|
"symbolAliases": [
|
|
691
691
|
{
|
|
692
692
|
"foreign": {
|
|
693
|
-
"id":
|
|
693
|
+
"id": 20179,
|
|
694
694
|
"name": "ISuperAgreement",
|
|
695
695
|
"nodeType": "Identifier",
|
|
696
696
|
"overloadedDeclarations": [],
|
|
697
|
-
"referencedDeclaration":
|
|
697
|
+
"referencedDeclaration": 19002,
|
|
698
698
|
"src": "71:15:50",
|
|
699
699
|
"typeDescriptions": {}
|
|
700
700
|
},
|
|
@@ -710,15 +710,15 @@
|
|
|
710
710
|
"contractDependencies": [],
|
|
711
711
|
"contractKind": "interface",
|
|
712
712
|
"documentation": {
|
|
713
|
-
"id":
|
|
713
|
+
"id": 20181,
|
|
714
714
|
"nodeType": "StructuredDocumentation",
|
|
715
715
|
"src": "121:66:50",
|
|
716
716
|
"text": " @title Superfluid token interface\n @author Superfluid"
|
|
717
717
|
},
|
|
718
718
|
"fullyImplemented": false,
|
|
719
|
-
"id":
|
|
719
|
+
"id": 20450,
|
|
720
720
|
"linearizedBaseContracts": [
|
|
721
|
-
|
|
721
|
+
20450
|
|
722
722
|
],
|
|
723
723
|
"name": "ISuperfluidToken",
|
|
724
724
|
"nameLocation": "198:16:50",
|
|
@@ -726,13 +726,13 @@
|
|
|
726
726
|
"nodes": [
|
|
727
727
|
{
|
|
728
728
|
"documentation": {
|
|
729
|
-
"id":
|
|
729
|
+
"id": 20182,
|
|
730
730
|
"nodeType": "StructuredDocumentation",
|
|
731
731
|
"src": "408:60:50",
|
|
732
732
|
"text": " @dev Get superfluid host contract address"
|
|
733
733
|
},
|
|
734
734
|
"functionSelector": "20bc4425",
|
|
735
|
-
"id":
|
|
735
|
+
"id": 20187,
|
|
736
736
|
"implemented": false,
|
|
737
737
|
"kind": "function",
|
|
738
738
|
"modifiers": [],
|
|
@@ -740,23 +740,23 @@
|
|
|
740
740
|
"nameLocation": "482:7:50",
|
|
741
741
|
"nodeType": "FunctionDefinition",
|
|
742
742
|
"parameters": {
|
|
743
|
-
"id":
|
|
743
|
+
"id": 20183,
|
|
744
744
|
"nodeType": "ParameterList",
|
|
745
745
|
"parameters": [],
|
|
746
746
|
"src": "489:2:50"
|
|
747
747
|
},
|
|
748
748
|
"returnParameters": {
|
|
749
|
-
"id":
|
|
749
|
+
"id": 20186,
|
|
750
750
|
"nodeType": "ParameterList",
|
|
751
751
|
"parameters": [
|
|
752
752
|
{
|
|
753
753
|
"constant": false,
|
|
754
|
-
"id":
|
|
754
|
+
"id": 20185,
|
|
755
755
|
"mutability": "mutable",
|
|
756
756
|
"name": "host",
|
|
757
757
|
"nameLocation": "522:4:50",
|
|
758
758
|
"nodeType": "VariableDeclaration",
|
|
759
|
-
"scope":
|
|
759
|
+
"scope": 20187,
|
|
760
760
|
"src": "514:12:50",
|
|
761
761
|
"stateVariable": false,
|
|
762
762
|
"storageLocation": "default",
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"typeString": "address"
|
|
766
766
|
},
|
|
767
767
|
"typeName": {
|
|
768
|
-
"id":
|
|
768
|
+
"id": 20184,
|
|
769
769
|
"name": "address",
|
|
770
770
|
"nodeType": "ElementaryTypeName",
|
|
771
771
|
"src": "514:7:50",
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
],
|
|
781
781
|
"src": "513:14:50"
|
|
782
782
|
},
|
|
783
|
-
"scope":
|
|
783
|
+
"scope": 20450,
|
|
784
784
|
"src": "473:55:50",
|
|
785
785
|
"stateMutability": "view",
|
|
786
786
|
"virtual": false,
|
|
@@ -788,16 +788,16 @@
|
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
790
|
"canonicalName": "ISuperfluidToken.LiquidationTypeData",
|
|
791
|
-
"id":
|
|
791
|
+
"id": 20192,
|
|
792
792
|
"members": [
|
|
793
793
|
{
|
|
794
794
|
"constant": false,
|
|
795
|
-
"id":
|
|
795
|
+
"id": 20189,
|
|
796
796
|
"mutability": "mutable",
|
|
797
797
|
"name": "version",
|
|
798
798
|
"nameLocation": "961:7:50",
|
|
799
799
|
"nodeType": "VariableDeclaration",
|
|
800
|
-
"scope":
|
|
800
|
+
"scope": 20192,
|
|
801
801
|
"src": "953:15:50",
|
|
802
802
|
"stateVariable": false,
|
|
803
803
|
"storageLocation": "default",
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
"typeString": "uint256"
|
|
807
807
|
},
|
|
808
808
|
"typeName": {
|
|
809
|
-
"id":
|
|
809
|
+
"id": 20188,
|
|
810
810
|
"name": "uint256",
|
|
811
811
|
"nodeType": "ElementaryTypeName",
|
|
812
812
|
"src": "953:7:50",
|
|
@@ -819,12 +819,12 @@
|
|
|
819
819
|
},
|
|
820
820
|
{
|
|
821
821
|
"constant": false,
|
|
822
|
-
"id":
|
|
822
|
+
"id": 20191,
|
|
823
823
|
"mutability": "mutable",
|
|
824
824
|
"name": "liquidationType",
|
|
825
825
|
"nameLocation": "984:15:50",
|
|
826
826
|
"nodeType": "VariableDeclaration",
|
|
827
|
-
"scope":
|
|
827
|
+
"scope": 20192,
|
|
828
828
|
"src": "978:21:50",
|
|
829
829
|
"stateVariable": false,
|
|
830
830
|
"storageLocation": "default",
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
"typeString": "uint8"
|
|
834
834
|
},
|
|
835
835
|
"typeName": {
|
|
836
|
-
"id":
|
|
836
|
+
"id": 20190,
|
|
837
837
|
"name": "uint8",
|
|
838
838
|
"nodeType": "ElementaryTypeName",
|
|
839
839
|
"src": "978:5:50",
|
|
@@ -848,19 +848,19 @@
|
|
|
848
848
|
"name": "LiquidationTypeData",
|
|
849
849
|
"nameLocation": "923:19:50",
|
|
850
850
|
"nodeType": "StructDefinition",
|
|
851
|
-
"scope":
|
|
851
|
+
"scope": 20450,
|
|
852
852
|
"src": "916:90:50",
|
|
853
853
|
"visibility": "public"
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
"documentation": {
|
|
857
|
-
"id":
|
|
857
|
+
"id": 20193,
|
|
858
858
|
"nodeType": "StructuredDocumentation",
|
|
859
859
|
"src": "1208:321:50",
|
|
860
860
|
"text": " @dev Calculate the real balance of a user, taking in consideration all agreements of the account\n @param account for the query\n @param timestamp Time of balance\n @return availableBalance Real-time balance\n @return deposit Account deposit\n @return owedDeposit Account owed Deposit"
|
|
861
861
|
},
|
|
862
862
|
"functionSelector": "eb3537cc",
|
|
863
|
-
"id":
|
|
863
|
+
"id": 20206,
|
|
864
864
|
"implemented": false,
|
|
865
865
|
"kind": "function",
|
|
866
866
|
"modifiers": [],
|
|
@@ -868,17 +868,17 @@
|
|
|
868
868
|
"nameLocation": "1543:17:50",
|
|
869
869
|
"nodeType": "FunctionDefinition",
|
|
870
870
|
"parameters": {
|
|
871
|
-
"id":
|
|
871
|
+
"id": 20198,
|
|
872
872
|
"nodeType": "ParameterList",
|
|
873
873
|
"parameters": [
|
|
874
874
|
{
|
|
875
875
|
"constant": false,
|
|
876
|
-
"id":
|
|
876
|
+
"id": 20195,
|
|
877
877
|
"mutability": "mutable",
|
|
878
878
|
"name": "account",
|
|
879
879
|
"nameLocation": "1577:7:50",
|
|
880
880
|
"nodeType": "VariableDeclaration",
|
|
881
|
-
"scope":
|
|
881
|
+
"scope": 20206,
|
|
882
882
|
"src": "1569:15:50",
|
|
883
883
|
"stateVariable": false,
|
|
884
884
|
"storageLocation": "default",
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
"typeString": "address"
|
|
888
888
|
},
|
|
889
889
|
"typeName": {
|
|
890
|
-
"id":
|
|
890
|
+
"id": 20194,
|
|
891
891
|
"name": "address",
|
|
892
892
|
"nodeType": "ElementaryTypeName",
|
|
893
893
|
"src": "1569:7:50",
|
|
@@ -901,12 +901,12 @@
|
|
|
901
901
|
},
|
|
902
902
|
{
|
|
903
903
|
"constant": false,
|
|
904
|
-
"id":
|
|
904
|
+
"id": 20197,
|
|
905
905
|
"mutability": "mutable",
|
|
906
906
|
"name": "timestamp",
|
|
907
907
|
"nameLocation": "1601:9:50",
|
|
908
908
|
"nodeType": "VariableDeclaration",
|
|
909
|
-
"scope":
|
|
909
|
+
"scope": 20206,
|
|
910
910
|
"src": "1593:17:50",
|
|
911
911
|
"stateVariable": false,
|
|
912
912
|
"storageLocation": "default",
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
"typeString": "uint256"
|
|
916
916
|
},
|
|
917
917
|
"typeName": {
|
|
918
|
-
"id":
|
|
918
|
+
"id": 20196,
|
|
919
919
|
"name": "uint256",
|
|
920
920
|
"nodeType": "ElementaryTypeName",
|
|
921
921
|
"src": "1593:7:50",
|
|
@@ -930,17 +930,17 @@
|
|
|
930
930
|
"src": "1560:56:50"
|
|
931
931
|
},
|
|
932
932
|
"returnParameters": {
|
|
933
|
-
"id":
|
|
933
|
+
"id": 20205,
|
|
934
934
|
"nodeType": "ParameterList",
|
|
935
935
|
"parameters": [
|
|
936
936
|
{
|
|
937
937
|
"constant": false,
|
|
938
|
-
"id":
|
|
938
|
+
"id": 20200,
|
|
939
939
|
"mutability": "mutable",
|
|
940
940
|
"name": "availableBalance",
|
|
941
941
|
"nameLocation": "1676:16:50",
|
|
942
942
|
"nodeType": "VariableDeclaration",
|
|
943
|
-
"scope":
|
|
943
|
+
"scope": 20206,
|
|
944
944
|
"src": "1669:23:50",
|
|
945
945
|
"stateVariable": false,
|
|
946
946
|
"storageLocation": "default",
|
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
"typeString": "int256"
|
|
950
950
|
},
|
|
951
951
|
"typeName": {
|
|
952
|
-
"id":
|
|
952
|
+
"id": 20199,
|
|
953
953
|
"name": "int256",
|
|
954
954
|
"nodeType": "ElementaryTypeName",
|
|
955
955
|
"src": "1669:6:50",
|
|
@@ -962,12 +962,12 @@
|
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
"constant": false,
|
|
965
|
-
"id":
|
|
965
|
+
"id": 20202,
|
|
966
966
|
"mutability": "mutable",
|
|
967
967
|
"name": "deposit",
|
|
968
968
|
"nameLocation": "1714:7:50",
|
|
969
969
|
"nodeType": "VariableDeclaration",
|
|
970
|
-
"scope":
|
|
970
|
+
"scope": 20206,
|
|
971
971
|
"src": "1706:15:50",
|
|
972
972
|
"stateVariable": false,
|
|
973
973
|
"storageLocation": "default",
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
"typeString": "uint256"
|
|
977
977
|
},
|
|
978
978
|
"typeName": {
|
|
979
|
-
"id":
|
|
979
|
+
"id": 20201,
|
|
980
980
|
"name": "uint256",
|
|
981
981
|
"nodeType": "ElementaryTypeName",
|
|
982
982
|
"src": "1706:7:50",
|
|
@@ -989,12 +989,12 @@
|
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
"constant": false,
|
|
992
|
-
"id":
|
|
992
|
+
"id": 20204,
|
|
993
993
|
"mutability": "mutable",
|
|
994
994
|
"name": "owedDeposit",
|
|
995
995
|
"nameLocation": "1743:11:50",
|
|
996
996
|
"nodeType": "VariableDeclaration",
|
|
997
|
-
"scope":
|
|
997
|
+
"scope": 20206,
|
|
998
998
|
"src": "1735:19:50",
|
|
999
999
|
"stateVariable": false,
|
|
1000
1000
|
"storageLocation": "default",
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
"typeString": "uint256"
|
|
1004
1004
|
},
|
|
1005
1005
|
"typeName": {
|
|
1006
|
-
"id":
|
|
1006
|
+
"id": 20203,
|
|
1007
1007
|
"name": "uint256",
|
|
1008
1008
|
"nodeType": "ElementaryTypeName",
|
|
1009
1009
|
"src": "1735:7:50",
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
],
|
|
1018
1018
|
"src": "1655:100:50"
|
|
1019
1019
|
},
|
|
1020
|
-
"scope":
|
|
1020
|
+
"scope": 20450,
|
|
1021
1021
|
"src": "1534:222:50",
|
|
1022
1022
|
"stateMutability": "view",
|
|
1023
1023
|
"virtual": false,
|
|
@@ -1025,13 +1025,13 @@
|
|
|
1025
1025
|
},
|
|
1026
1026
|
{
|
|
1027
1027
|
"documentation": {
|
|
1028
|
-
"id":
|
|
1028
|
+
"id": 20207,
|
|
1029
1029
|
"nodeType": "StructuredDocumentation",
|
|
1030
1030
|
"src": "1762:339:50",
|
|
1031
1031
|
"text": " @notice Calculate the realtime balance given the current host.getNow() value\n @dev realtimeBalanceOf with timestamp equals to block timestamp\n @param account for the query\n @return availableBalance Real-time balance\n @return deposit Account deposit\n @return owedDeposit Account owed Deposit"
|
|
1032
1032
|
},
|
|
1033
1033
|
"functionSelector": "2ec8eec7",
|
|
1034
|
-
"id":
|
|
1034
|
+
"id": 20220,
|
|
1035
1035
|
"implemented": false,
|
|
1036
1036
|
"kind": "function",
|
|
1037
1037
|
"modifiers": [],
|
|
@@ -1039,17 +1039,17 @@
|
|
|
1039
1039
|
"nameLocation": "2115:20:50",
|
|
1040
1040
|
"nodeType": "FunctionDefinition",
|
|
1041
1041
|
"parameters": {
|
|
1042
|
-
"id":
|
|
1042
|
+
"id": 20210,
|
|
1043
1043
|
"nodeType": "ParameterList",
|
|
1044
1044
|
"parameters": [
|
|
1045
1045
|
{
|
|
1046
1046
|
"constant": false,
|
|
1047
|
-
"id":
|
|
1047
|
+
"id": 20209,
|
|
1048
1048
|
"mutability": "mutable",
|
|
1049
1049
|
"name": "account",
|
|
1050
1050
|
"nameLocation": "2152:7:50",
|
|
1051
1051
|
"nodeType": "VariableDeclaration",
|
|
1052
|
-
"scope":
|
|
1052
|
+
"scope": 20220,
|
|
1053
1053
|
"src": "2144:15:50",
|
|
1054
1054
|
"stateVariable": false,
|
|
1055
1055
|
"storageLocation": "default",
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
"typeString": "address"
|
|
1059
1059
|
},
|
|
1060
1060
|
"typeName": {
|
|
1061
|
-
"id":
|
|
1061
|
+
"id": 20208,
|
|
1062
1062
|
"name": "address",
|
|
1063
1063
|
"nodeType": "ElementaryTypeName",
|
|
1064
1064
|
"src": "2144:7:50",
|
|
@@ -1074,17 +1074,17 @@
|
|
|
1074
1074
|
"src": "2135:30:50"
|
|
1075
1075
|
},
|
|
1076
1076
|
"returnParameters": {
|
|
1077
|
-
"id":
|
|
1077
|
+
"id": 20219,
|
|
1078
1078
|
"nodeType": "ParameterList",
|
|
1079
1079
|
"parameters": [
|
|
1080
1080
|
{
|
|
1081
1081
|
"constant": false,
|
|
1082
|
-
"id":
|
|
1082
|
+
"id": 20212,
|
|
1083
1083
|
"mutability": "mutable",
|
|
1084
1084
|
"name": "availableBalance",
|
|
1085
1085
|
"nameLocation": "2225:16:50",
|
|
1086
1086
|
"nodeType": "VariableDeclaration",
|
|
1087
|
-
"scope":
|
|
1087
|
+
"scope": 20220,
|
|
1088
1088
|
"src": "2218:23:50",
|
|
1089
1089
|
"stateVariable": false,
|
|
1090
1090
|
"storageLocation": "default",
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
"typeString": "int256"
|
|
1094
1094
|
},
|
|
1095
1095
|
"typeName": {
|
|
1096
|
-
"id":
|
|
1096
|
+
"id": 20211,
|
|
1097
1097
|
"name": "int256",
|
|
1098
1098
|
"nodeType": "ElementaryTypeName",
|
|
1099
1099
|
"src": "2218:6:50",
|
|
@@ -1106,12 +1106,12 @@
|
|
|
1106
1106
|
},
|
|
1107
1107
|
{
|
|
1108
1108
|
"constant": false,
|
|
1109
|
-
"id":
|
|
1109
|
+
"id": 20214,
|
|
1110
1110
|
"mutability": "mutable",
|
|
1111
1111
|
"name": "deposit",
|
|
1112
1112
|
"nameLocation": "2263:7:50",
|
|
1113
1113
|
"nodeType": "VariableDeclaration",
|
|
1114
|
-
"scope":
|
|
1114
|
+
"scope": 20220,
|
|
1115
1115
|
"src": "2255:15:50",
|
|
1116
1116
|
"stateVariable": false,
|
|
1117
1117
|
"storageLocation": "default",
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
"typeString": "uint256"
|
|
1121
1121
|
},
|
|
1122
1122
|
"typeName": {
|
|
1123
|
-
"id":
|
|
1123
|
+
"id": 20213,
|
|
1124
1124
|
"name": "uint256",
|
|
1125
1125
|
"nodeType": "ElementaryTypeName",
|
|
1126
1126
|
"src": "2255:7:50",
|
|
@@ -1133,12 +1133,12 @@
|
|
|
1133
1133
|
},
|
|
1134
1134
|
{
|
|
1135
1135
|
"constant": false,
|
|
1136
|
-
"id":
|
|
1136
|
+
"id": 20216,
|
|
1137
1137
|
"mutability": "mutable",
|
|
1138
1138
|
"name": "owedDeposit",
|
|
1139
1139
|
"nameLocation": "2292:11:50",
|
|
1140
1140
|
"nodeType": "VariableDeclaration",
|
|
1141
|
-
"scope":
|
|
1141
|
+
"scope": 20220,
|
|
1142
1142
|
"src": "2284:19:50",
|
|
1143
1143
|
"stateVariable": false,
|
|
1144
1144
|
"storageLocation": "default",
|
|
@@ -1147,7 +1147,7 @@
|
|
|
1147
1147
|
"typeString": "uint256"
|
|
1148
1148
|
},
|
|
1149
1149
|
"typeName": {
|
|
1150
|
-
"id":
|
|
1150
|
+
"id": 20215,
|
|
1151
1151
|
"name": "uint256",
|
|
1152
1152
|
"nodeType": "ElementaryTypeName",
|
|
1153
1153
|
"src": "2284:7:50",
|
|
@@ -1160,12 +1160,12 @@
|
|
|
1160
1160
|
},
|
|
1161
1161
|
{
|
|
1162
1162
|
"constant": false,
|
|
1163
|
-
"id":
|
|
1163
|
+
"id": 20218,
|
|
1164
1164
|
"mutability": "mutable",
|
|
1165
1165
|
"name": "timestamp",
|
|
1166
1166
|
"nameLocation": "2325:9:50",
|
|
1167
1167
|
"nodeType": "VariableDeclaration",
|
|
1168
|
-
"scope":
|
|
1168
|
+
"scope": 20220,
|
|
1169
1169
|
"src": "2317:17:50",
|
|
1170
1170
|
"stateVariable": false,
|
|
1171
1171
|
"storageLocation": "default",
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
"typeString": "uint256"
|
|
1175
1175
|
},
|
|
1176
1176
|
"typeName": {
|
|
1177
|
-
"id":
|
|
1177
|
+
"id": 20217,
|
|
1178
1178
|
"name": "uint256",
|
|
1179
1179
|
"nodeType": "ElementaryTypeName",
|
|
1180
1180
|
"src": "2317:7:50",
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
],
|
|
1189
1189
|
"src": "2204:131:50"
|
|
1190
1190
|
},
|
|
1191
|
-
"scope":
|
|
1191
|
+
"scope": 20450,
|
|
1192
1192
|
"src": "2106:230:50",
|
|
1193
1193
|
"stateMutability": "view",
|
|
1194
1194
|
"virtual": false,
|
|
@@ -1196,13 +1196,13 @@
|
|
|
1196
1196
|
},
|
|
1197
1197
|
{
|
|
1198
1198
|
"documentation": {
|
|
1199
|
-
"id":
|
|
1199
|
+
"id": 20221,
|
|
1200
1200
|
"nodeType": "StructuredDocumentation",
|
|
1201
1201
|
"src": "2342:309:50",
|
|
1202
1202
|
"text": " @notice Check if account is critical\n @dev A critical account is when availableBalance < 0\n @param account The account to check\n @param timestamp The time we'd like to check if the account is critical (should use future)\n @return isCritical Whether the account is critical"
|
|
1203
1203
|
},
|
|
1204
1204
|
"functionSelector": "d9d078d6",
|
|
1205
|
-
"id":
|
|
1205
|
+
"id": 20230,
|
|
1206
1206
|
"implemented": false,
|
|
1207
1207
|
"kind": "function",
|
|
1208
1208
|
"modifiers": [],
|
|
@@ -1210,17 +1210,17 @@
|
|
|
1210
1210
|
"nameLocation": "2665:17:50",
|
|
1211
1211
|
"nodeType": "FunctionDefinition",
|
|
1212
1212
|
"parameters": {
|
|
1213
|
-
"id":
|
|
1213
|
+
"id": 20226,
|
|
1214
1214
|
"nodeType": "ParameterList",
|
|
1215
1215
|
"parameters": [
|
|
1216
1216
|
{
|
|
1217
1217
|
"constant": false,
|
|
1218
|
-
"id":
|
|
1218
|
+
"id": 20223,
|
|
1219
1219
|
"mutability": "mutable",
|
|
1220
1220
|
"name": "account",
|
|
1221
1221
|
"nameLocation": "2700:7:50",
|
|
1222
1222
|
"nodeType": "VariableDeclaration",
|
|
1223
|
-
"scope":
|
|
1223
|
+
"scope": 20230,
|
|
1224
1224
|
"src": "2692:15:50",
|
|
1225
1225
|
"stateVariable": false,
|
|
1226
1226
|
"storageLocation": "default",
|
|
@@ -1229,7 +1229,7 @@
|
|
|
1229
1229
|
"typeString": "address"
|
|
1230
1230
|
},
|
|
1231
1231
|
"typeName": {
|
|
1232
|
-
"id":
|
|
1232
|
+
"id": 20222,
|
|
1233
1233
|
"name": "address",
|
|
1234
1234
|
"nodeType": "ElementaryTypeName",
|
|
1235
1235
|
"src": "2692:7:50",
|
|
@@ -1243,12 +1243,12 @@
|
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
1245
|
"constant": false,
|
|
1246
|
-
"id":
|
|
1246
|
+
"id": 20225,
|
|
1247
1247
|
"mutability": "mutable",
|
|
1248
1248
|
"name": "timestamp",
|
|
1249
1249
|
"nameLocation": "2725:9:50",
|
|
1250
1250
|
"nodeType": "VariableDeclaration",
|
|
1251
|
-
"scope":
|
|
1251
|
+
"scope": 20230,
|
|
1252
1252
|
"src": "2717:17:50",
|
|
1253
1253
|
"stateVariable": false,
|
|
1254
1254
|
"storageLocation": "default",
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
"typeString": "uint256"
|
|
1258
1258
|
},
|
|
1259
1259
|
"typeName": {
|
|
1260
|
-
"id":
|
|
1260
|
+
"id": 20224,
|
|
1261
1261
|
"name": "uint256",
|
|
1262
1262
|
"nodeType": "ElementaryTypeName",
|
|
1263
1263
|
"src": "2717:7:50",
|
|
@@ -1272,17 +1272,17 @@
|
|
|
1272
1272
|
"src": "2682:58:50"
|
|
1273
1273
|
},
|
|
1274
1274
|
"returnParameters": {
|
|
1275
|
-
"id":
|
|
1275
|
+
"id": 20229,
|
|
1276
1276
|
"nodeType": "ParameterList",
|
|
1277
1277
|
"parameters": [
|
|
1278
1278
|
{
|
|
1279
1279
|
"constant": false,
|
|
1280
|
-
"id":
|
|
1280
|
+
"id": 20228,
|
|
1281
1281
|
"mutability": "mutable",
|
|
1282
1282
|
"name": "isCritical",
|
|
1283
1283
|
"nameLocation": "2784:10:50",
|
|
1284
1284
|
"nodeType": "VariableDeclaration",
|
|
1285
|
-
"scope":
|
|
1285
|
+
"scope": 20230,
|
|
1286
1286
|
"src": "2779:15:50",
|
|
1287
1287
|
"stateVariable": false,
|
|
1288
1288
|
"storageLocation": "default",
|
|
@@ -1291,7 +1291,7 @@
|
|
|
1291
1291
|
"typeString": "bool"
|
|
1292
1292
|
},
|
|
1293
1293
|
"typeName": {
|
|
1294
|
-
"id":
|
|
1294
|
+
"id": 20227,
|
|
1295
1295
|
"name": "bool",
|
|
1296
1296
|
"nodeType": "ElementaryTypeName",
|
|
1297
1297
|
"src": "2779:4:50",
|
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
],
|
|
1306
1306
|
"src": "2778:17:50"
|
|
1307
1307
|
},
|
|
1308
|
-
"scope":
|
|
1308
|
+
"scope": 20450,
|
|
1309
1309
|
"src": "2656:140:50",
|
|
1310
1310
|
"stateMutability": "view",
|
|
1311
1311
|
"virtual": false,
|
|
@@ -1313,13 +1313,13 @@
|
|
|
1313
1313
|
},
|
|
1314
1314
|
{
|
|
1315
1315
|
"documentation": {
|
|
1316
|
-
"id":
|
|
1316
|
+
"id": 20231,
|
|
1317
1317
|
"nodeType": "StructuredDocumentation",
|
|
1318
1318
|
"src": "2802:239:50",
|
|
1319
1319
|
"text": " @notice Check if account is critical now (current host.getNow())\n @dev A critical account is when availableBalance < 0\n @param account The account to check\n @return isCritical Whether the account is critical"
|
|
1320
1320
|
},
|
|
1321
1321
|
"functionSelector": "79359f6f",
|
|
1322
|
-
"id":
|
|
1322
|
+
"id": 20238,
|
|
1323
1323
|
"implemented": false,
|
|
1324
1324
|
"kind": "function",
|
|
1325
1325
|
"modifiers": [],
|
|
@@ -1327,17 +1327,17 @@
|
|
|
1327
1327
|
"nameLocation": "3055:20:50",
|
|
1328
1328
|
"nodeType": "FunctionDefinition",
|
|
1329
1329
|
"parameters": {
|
|
1330
|
-
"id":
|
|
1330
|
+
"id": 20234,
|
|
1331
1331
|
"nodeType": "ParameterList",
|
|
1332
1332
|
"parameters": [
|
|
1333
1333
|
{
|
|
1334
1334
|
"constant": false,
|
|
1335
|
-
"id":
|
|
1335
|
+
"id": 20233,
|
|
1336
1336
|
"mutability": "mutable",
|
|
1337
1337
|
"name": "account",
|
|
1338
1338
|
"nameLocation": "3093:7:50",
|
|
1339
1339
|
"nodeType": "VariableDeclaration",
|
|
1340
|
-
"scope":
|
|
1340
|
+
"scope": 20238,
|
|
1341
1341
|
"src": "3085:15:50",
|
|
1342
1342
|
"stateVariable": false,
|
|
1343
1343
|
"storageLocation": "default",
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
"typeString": "address"
|
|
1347
1347
|
},
|
|
1348
1348
|
"typeName": {
|
|
1349
|
-
"id":
|
|
1349
|
+
"id": 20232,
|
|
1350
1350
|
"name": "address",
|
|
1351
1351
|
"nodeType": "ElementaryTypeName",
|
|
1352
1352
|
"src": "3085:7:50",
|
|
@@ -1362,17 +1362,17 @@
|
|
|
1362
1362
|
"src": "3075:31:50"
|
|
1363
1363
|
},
|
|
1364
1364
|
"returnParameters": {
|
|
1365
|
-
"id":
|
|
1365
|
+
"id": 20237,
|
|
1366
1366
|
"nodeType": "ParameterList",
|
|
1367
1367
|
"parameters": [
|
|
1368
1368
|
{
|
|
1369
1369
|
"constant": false,
|
|
1370
|
-
"id":
|
|
1370
|
+
"id": 20236,
|
|
1371
1371
|
"mutability": "mutable",
|
|
1372
1372
|
"name": "isCritical",
|
|
1373
1373
|
"nameLocation": "3150:10:50",
|
|
1374
1374
|
"nodeType": "VariableDeclaration",
|
|
1375
|
-
"scope":
|
|
1375
|
+
"scope": 20238,
|
|
1376
1376
|
"src": "3145:15:50",
|
|
1377
1377
|
"stateVariable": false,
|
|
1378
1378
|
"storageLocation": "default",
|
|
@@ -1381,7 +1381,7 @@
|
|
|
1381
1381
|
"typeString": "bool"
|
|
1382
1382
|
},
|
|
1383
1383
|
"typeName": {
|
|
1384
|
-
"id":
|
|
1384
|
+
"id": 20235,
|
|
1385
1385
|
"name": "bool",
|
|
1386
1386
|
"nodeType": "ElementaryTypeName",
|
|
1387
1387
|
"src": "3145:4:50",
|
|
@@ -1395,7 +1395,7 @@
|
|
|
1395
1395
|
],
|
|
1396
1396
|
"src": "3144:17:50"
|
|
1397
1397
|
},
|
|
1398
|
-
"scope":
|
|
1398
|
+
"scope": 20450,
|
|
1399
1399
|
"src": "3046:116:50",
|
|
1400
1400
|
"stateMutability": "view",
|
|
1401
1401
|
"virtual": false,
|
|
@@ -1403,13 +1403,13 @@
|
|
|
1403
1403
|
},
|
|
1404
1404
|
{
|
|
1405
1405
|
"documentation": {
|
|
1406
|
-
"id":
|
|
1406
|
+
"id": 20239,
|
|
1407
1407
|
"nodeType": "StructuredDocumentation",
|
|
1408
1408
|
"src": "3168:383:50",
|
|
1409
1409
|
"text": " @notice Check if account is solvent\n @dev An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\n @param account The account to check\n @param timestamp The time we'd like to check if the account is solvent (should use future)\n @return isSolvent True if the account is solvent, false otherwise"
|
|
1410
1410
|
},
|
|
1411
1411
|
"functionSelector": "b84cdd4a",
|
|
1412
|
-
"id":
|
|
1412
|
+
"id": 20248,
|
|
1413
1413
|
"implemented": false,
|
|
1414
1414
|
"kind": "function",
|
|
1415
1415
|
"modifiers": [],
|
|
@@ -1417,17 +1417,17 @@
|
|
|
1417
1417
|
"nameLocation": "3565:16:50",
|
|
1418
1418
|
"nodeType": "FunctionDefinition",
|
|
1419
1419
|
"parameters": {
|
|
1420
|
-
"id":
|
|
1420
|
+
"id": 20244,
|
|
1421
1421
|
"nodeType": "ParameterList",
|
|
1422
1422
|
"parameters": [
|
|
1423
1423
|
{
|
|
1424
1424
|
"constant": false,
|
|
1425
|
-
"id":
|
|
1425
|
+
"id": 20241,
|
|
1426
1426
|
"mutability": "mutable",
|
|
1427
1427
|
"name": "account",
|
|
1428
1428
|
"nameLocation": "3599:7:50",
|
|
1429
1429
|
"nodeType": "VariableDeclaration",
|
|
1430
|
-
"scope":
|
|
1430
|
+
"scope": 20248,
|
|
1431
1431
|
"src": "3591:15:50",
|
|
1432
1432
|
"stateVariable": false,
|
|
1433
1433
|
"storageLocation": "default",
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
"typeString": "address"
|
|
1437
1437
|
},
|
|
1438
1438
|
"typeName": {
|
|
1439
|
-
"id":
|
|
1439
|
+
"id": 20240,
|
|
1440
1440
|
"name": "address",
|
|
1441
1441
|
"nodeType": "ElementaryTypeName",
|
|
1442
1442
|
"src": "3591:7:50",
|
|
@@ -1450,12 +1450,12 @@
|
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
1452
1452
|
"constant": false,
|
|
1453
|
-
"id":
|
|
1453
|
+
"id": 20243,
|
|
1454
1454
|
"mutability": "mutable",
|
|
1455
1455
|
"name": "timestamp",
|
|
1456
1456
|
"nameLocation": "3624:9:50",
|
|
1457
1457
|
"nodeType": "VariableDeclaration",
|
|
1458
|
-
"scope":
|
|
1458
|
+
"scope": 20248,
|
|
1459
1459
|
"src": "3616:17:50",
|
|
1460
1460
|
"stateVariable": false,
|
|
1461
1461
|
"storageLocation": "default",
|
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
"typeString": "uint256"
|
|
1465
1465
|
},
|
|
1466
1466
|
"typeName": {
|
|
1467
|
-
"id":
|
|
1467
|
+
"id": 20242,
|
|
1468
1468
|
"name": "uint256",
|
|
1469
1469
|
"nodeType": "ElementaryTypeName",
|
|
1470
1470
|
"src": "3616:7:50",
|
|
@@ -1479,17 +1479,17 @@
|
|
|
1479
1479
|
"src": "3581:58:50"
|
|
1480
1480
|
},
|
|
1481
1481
|
"returnParameters": {
|
|
1482
|
-
"id":
|
|
1482
|
+
"id": 20247,
|
|
1483
1483
|
"nodeType": "ParameterList",
|
|
1484
1484
|
"parameters": [
|
|
1485
1485
|
{
|
|
1486
1486
|
"constant": false,
|
|
1487
|
-
"id":
|
|
1487
|
+
"id": 20246,
|
|
1488
1488
|
"mutability": "mutable",
|
|
1489
1489
|
"name": "isSolvent",
|
|
1490
1490
|
"nameLocation": "3683:9:50",
|
|
1491
1491
|
"nodeType": "VariableDeclaration",
|
|
1492
|
-
"scope":
|
|
1492
|
+
"scope": 20248,
|
|
1493
1493
|
"src": "3678:14:50",
|
|
1494
1494
|
"stateVariable": false,
|
|
1495
1495
|
"storageLocation": "default",
|
|
@@ -1498,7 +1498,7 @@
|
|
|
1498
1498
|
"typeString": "bool"
|
|
1499
1499
|
},
|
|
1500
1500
|
"typeName": {
|
|
1501
|
-
"id":
|
|
1501
|
+
"id": 20245,
|
|
1502
1502
|
"name": "bool",
|
|
1503
1503
|
"nodeType": "ElementaryTypeName",
|
|
1504
1504
|
"src": "3678:4:50",
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
],
|
|
1513
1513
|
"src": "3677:16:50"
|
|
1514
1514
|
},
|
|
1515
|
-
"scope":
|
|
1515
|
+
"scope": 20450,
|
|
1516
1516
|
"src": "3556:138:50",
|
|
1517
1517
|
"stateMutability": "view",
|
|
1518
1518
|
"virtual": false,
|
|
@@ -1520,13 +1520,13 @@
|
|
|
1520
1520
|
},
|
|
1521
1521
|
{
|
|
1522
1522
|
"documentation": {
|
|
1523
|
-
"id":
|
|
1523
|
+
"id": 20249,
|
|
1524
1524
|
"nodeType": "StructuredDocumentation",
|
|
1525
1525
|
"src": "3700:289:50",
|
|
1526
1526
|
"text": " @notice Check if account is solvent now\n @dev An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\n @param account The account to check\n @return isSolvent True if the account is solvent, false otherwise"
|
|
1527
1527
|
},
|
|
1528
1528
|
"functionSelector": "bb0d196e",
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 20256,
|
|
1530
1530
|
"implemented": false,
|
|
1531
1531
|
"kind": "function",
|
|
1532
1532
|
"modifiers": [],
|
|
@@ -1534,17 +1534,17 @@
|
|
|
1534
1534
|
"nameLocation": "4003:19:50",
|
|
1535
1535
|
"nodeType": "FunctionDefinition",
|
|
1536
1536
|
"parameters": {
|
|
1537
|
-
"id":
|
|
1537
|
+
"id": 20252,
|
|
1538
1538
|
"nodeType": "ParameterList",
|
|
1539
1539
|
"parameters": [
|
|
1540
1540
|
{
|
|
1541
1541
|
"constant": false,
|
|
1542
|
-
"id":
|
|
1542
|
+
"id": 20251,
|
|
1543
1543
|
"mutability": "mutable",
|
|
1544
1544
|
"name": "account",
|
|
1545
1545
|
"nameLocation": "4040:7:50",
|
|
1546
1546
|
"nodeType": "VariableDeclaration",
|
|
1547
|
-
"scope":
|
|
1547
|
+
"scope": 20256,
|
|
1548
1548
|
"src": "4032:15:50",
|
|
1549
1549
|
"stateVariable": false,
|
|
1550
1550
|
"storageLocation": "default",
|
|
@@ -1553,7 +1553,7 @@
|
|
|
1553
1553
|
"typeString": "address"
|
|
1554
1554
|
},
|
|
1555
1555
|
"typeName": {
|
|
1556
|
-
"id":
|
|
1556
|
+
"id": 20250,
|
|
1557
1557
|
"name": "address",
|
|
1558
1558
|
"nodeType": "ElementaryTypeName",
|
|
1559
1559
|
"src": "4032:7:50",
|
|
@@ -1569,17 +1569,17 @@
|
|
|
1569
1569
|
"src": "4022:31:50"
|
|
1570
1570
|
},
|
|
1571
1571
|
"returnParameters": {
|
|
1572
|
-
"id":
|
|
1572
|
+
"id": 20255,
|
|
1573
1573
|
"nodeType": "ParameterList",
|
|
1574
1574
|
"parameters": [
|
|
1575
1575
|
{
|
|
1576
1576
|
"constant": false,
|
|
1577
|
-
"id":
|
|
1577
|
+
"id": 20254,
|
|
1578
1578
|
"mutability": "mutable",
|
|
1579
1579
|
"name": "isSolvent",
|
|
1580
1580
|
"nameLocation": "4097:9:50",
|
|
1581
1581
|
"nodeType": "VariableDeclaration",
|
|
1582
|
-
"scope":
|
|
1582
|
+
"scope": 20256,
|
|
1583
1583
|
"src": "4092:14:50",
|
|
1584
1584
|
"stateVariable": false,
|
|
1585
1585
|
"storageLocation": "default",
|
|
@@ -1588,7 +1588,7 @@
|
|
|
1588
1588
|
"typeString": "bool"
|
|
1589
1589
|
},
|
|
1590
1590
|
"typeName": {
|
|
1591
|
-
"id":
|
|
1591
|
+
"id": 20253,
|
|
1592
1592
|
"name": "bool",
|
|
1593
1593
|
"nodeType": "ElementaryTypeName",
|
|
1594
1594
|
"src": "4092:4:50",
|
|
@@ -1602,7 +1602,7 @@
|
|
|
1602
1602
|
],
|
|
1603
1603
|
"src": "4091:16:50"
|
|
1604
1604
|
},
|
|
1605
|
-
"scope":
|
|
1605
|
+
"scope": 20450,
|
|
1606
1606
|
"src": "3994:114:50",
|
|
1607
1607
|
"stateMutability": "view",
|
|
1608
1608
|
"virtual": false,
|
|
@@ -1610,13 +1610,13 @@
|
|
|
1610
1610
|
},
|
|
1611
1611
|
{
|
|
1612
1612
|
"documentation": {
|
|
1613
|
-
"id":
|
|
1613
|
+
"id": 20257,
|
|
1614
1614
|
"nodeType": "StructuredDocumentation",
|
|
1615
1615
|
"src": "4114:277:50",
|
|
1616
1616
|
"text": " @notice Get a list of agreements that is active for the account\n @dev An active agreement is one that has state for the account\n @param account Account to query\n @return activeAgreements List of accounts that have non-zero states for the account"
|
|
1617
1617
|
},
|
|
1618
1618
|
"functionSelector": "386fa221",
|
|
1619
|
-
"id":
|
|
1619
|
+
"id": 20266,
|
|
1620
1620
|
"implemented": false,
|
|
1621
1621
|
"kind": "function",
|
|
1622
1622
|
"modifiers": [],
|
|
@@ -1624,17 +1624,17 @@
|
|
|
1624
1624
|
"nameLocation": "4405:26:50",
|
|
1625
1625
|
"nodeType": "FunctionDefinition",
|
|
1626
1626
|
"parameters": {
|
|
1627
|
-
"id":
|
|
1627
|
+
"id": 20260,
|
|
1628
1628
|
"nodeType": "ParameterList",
|
|
1629
1629
|
"parameters": [
|
|
1630
1630
|
{
|
|
1631
1631
|
"constant": false,
|
|
1632
|
-
"id":
|
|
1632
|
+
"id": 20259,
|
|
1633
1633
|
"mutability": "mutable",
|
|
1634
1634
|
"name": "account",
|
|
1635
1635
|
"nameLocation": "4440:7:50",
|
|
1636
1636
|
"nodeType": "VariableDeclaration",
|
|
1637
|
-
"scope":
|
|
1637
|
+
"scope": 20266,
|
|
1638
1638
|
"src": "4432:15:50",
|
|
1639
1639
|
"stateVariable": false,
|
|
1640
1640
|
"storageLocation": "default",
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
"typeString": "address"
|
|
1644
1644
|
},
|
|
1645
1645
|
"typeName": {
|
|
1646
|
-
"id":
|
|
1646
|
+
"id": 20258,
|
|
1647
1647
|
"name": "address",
|
|
1648
1648
|
"nodeType": "ElementaryTypeName",
|
|
1649
1649
|
"src": "4432:7:50",
|
|
@@ -1659,47 +1659,47 @@
|
|
|
1659
1659
|
"src": "4431:17:50"
|
|
1660
1660
|
},
|
|
1661
1661
|
"returnParameters": {
|
|
1662
|
-
"id":
|
|
1662
|
+
"id": 20265,
|
|
1663
1663
|
"nodeType": "ParameterList",
|
|
1664
1664
|
"parameters": [
|
|
1665
1665
|
{
|
|
1666
1666
|
"constant": false,
|
|
1667
|
-
"id":
|
|
1667
|
+
"id": 20264,
|
|
1668
1668
|
"mutability": "mutable",
|
|
1669
1669
|
"name": "activeAgreements",
|
|
1670
1670
|
"nameLocation": "4510:16:50",
|
|
1671
1671
|
"nodeType": "VariableDeclaration",
|
|
1672
|
-
"scope":
|
|
1672
|
+
"scope": 20266,
|
|
1673
1673
|
"src": "4485:41:50",
|
|
1674
1674
|
"stateVariable": false,
|
|
1675
1675
|
"storageLocation": "memory",
|
|
1676
1676
|
"typeDescriptions": {
|
|
1677
|
-
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$
|
|
1677
|
+
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$19002_$dyn_memory_ptr",
|
|
1678
1678
|
"typeString": "contract ISuperAgreement[]"
|
|
1679
1679
|
},
|
|
1680
1680
|
"typeName": {
|
|
1681
1681
|
"baseType": {
|
|
1682
|
-
"id":
|
|
1682
|
+
"id": 20262,
|
|
1683
1683
|
"nodeType": "UserDefinedTypeName",
|
|
1684
1684
|
"pathNode": {
|
|
1685
|
-
"id":
|
|
1685
|
+
"id": 20261,
|
|
1686
1686
|
"name": "ISuperAgreement",
|
|
1687
1687
|
"nodeType": "IdentifierPath",
|
|
1688
|
-
"referencedDeclaration":
|
|
1688
|
+
"referencedDeclaration": 19002,
|
|
1689
1689
|
"src": "4485:15:50"
|
|
1690
1690
|
},
|
|
1691
|
-
"referencedDeclaration":
|
|
1691
|
+
"referencedDeclaration": 19002,
|
|
1692
1692
|
"src": "4485:15:50",
|
|
1693
1693
|
"typeDescriptions": {
|
|
1694
|
-
"typeIdentifier": "t_contract$_ISuperAgreement_$
|
|
1694
|
+
"typeIdentifier": "t_contract$_ISuperAgreement_$19002",
|
|
1695
1695
|
"typeString": "contract ISuperAgreement"
|
|
1696
1696
|
}
|
|
1697
1697
|
},
|
|
1698
|
-
"id":
|
|
1698
|
+
"id": 20263,
|
|
1699
1699
|
"nodeType": "ArrayTypeName",
|
|
1700
1700
|
"src": "4485:17:50",
|
|
1701
1701
|
"typeDescriptions": {
|
|
1702
|
-
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$
|
|
1702
|
+
"typeIdentifier": "t_array$_t_contract$_ISuperAgreement_$19002_$dyn_storage_ptr",
|
|
1703
1703
|
"typeString": "contract ISuperAgreement[]"
|
|
1704
1704
|
}
|
|
1705
1705
|
},
|
|
@@ -1708,7 +1708,7 @@
|
|
|
1708
1708
|
],
|
|
1709
1709
|
"src": "4484:43:50"
|
|
1710
1710
|
},
|
|
1711
|
-
"scope":
|
|
1711
|
+
"scope": 20450,
|
|
1712
1712
|
"src": "4396:132:50",
|
|
1713
1713
|
"stateMutability": "view",
|
|
1714
1714
|
"virtual": false,
|
|
@@ -1716,13 +1716,13 @@
|
|
|
1716
1716
|
},
|
|
1717
1717
|
{
|
|
1718
1718
|
"documentation": {
|
|
1719
|
-
"id":
|
|
1719
|
+
"id": 20267,
|
|
1720
1720
|
"nodeType": "StructuredDocumentation",
|
|
1721
1721
|
"src": "4734:110:50",
|
|
1722
1722
|
"text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
1723
1723
|
},
|
|
1724
1724
|
"functionSelector": "12a6a3f8",
|
|
1725
|
-
"id":
|
|
1725
|
+
"id": 20275,
|
|
1726
1726
|
"implemented": false,
|
|
1727
1727
|
"kind": "function",
|
|
1728
1728
|
"modifiers": [],
|
|
@@ -1730,17 +1730,17 @@
|
|
|
1730
1730
|
"nameLocation": "4858:15:50",
|
|
1731
1731
|
"nodeType": "FunctionDefinition",
|
|
1732
1732
|
"parameters": {
|
|
1733
|
-
"id":
|
|
1733
|
+
"id": 20273,
|
|
1734
1734
|
"nodeType": "ParameterList",
|
|
1735
1735
|
"parameters": [
|
|
1736
1736
|
{
|
|
1737
1737
|
"constant": false,
|
|
1738
|
-
"id":
|
|
1738
|
+
"id": 20269,
|
|
1739
1739
|
"mutability": "mutable",
|
|
1740
1740
|
"name": "id",
|
|
1741
1741
|
"nameLocation": "4891:2:50",
|
|
1742
1742
|
"nodeType": "VariableDeclaration",
|
|
1743
|
-
"scope":
|
|
1743
|
+
"scope": 20275,
|
|
1744
1744
|
"src": "4883:10:50",
|
|
1745
1745
|
"stateVariable": false,
|
|
1746
1746
|
"storageLocation": "default",
|
|
@@ -1749,7 +1749,7 @@
|
|
|
1749
1749
|
"typeString": "bytes32"
|
|
1750
1750
|
},
|
|
1751
1751
|
"typeName": {
|
|
1752
|
-
"id":
|
|
1752
|
+
"id": 20268,
|
|
1753
1753
|
"name": "bytes32",
|
|
1754
1754
|
"nodeType": "ElementaryTypeName",
|
|
1755
1755
|
"src": "4883:7:50",
|
|
@@ -1762,12 +1762,12 @@
|
|
|
1762
1762
|
},
|
|
1763
1763
|
{
|
|
1764
1764
|
"constant": false,
|
|
1765
|
-
"id":
|
|
1765
|
+
"id": 20272,
|
|
1766
1766
|
"mutability": "mutable",
|
|
1767
1767
|
"name": "data",
|
|
1768
1768
|
"nameLocation": "4922:4:50",
|
|
1769
1769
|
"nodeType": "VariableDeclaration",
|
|
1770
|
-
"scope":
|
|
1770
|
+
"scope": 20275,
|
|
1771
1771
|
"src": "4903:23:50",
|
|
1772
1772
|
"stateVariable": false,
|
|
1773
1773
|
"storageLocation": "calldata",
|
|
@@ -1777,7 +1777,7 @@
|
|
|
1777
1777
|
},
|
|
1778
1778
|
"typeName": {
|
|
1779
1779
|
"baseType": {
|
|
1780
|
-
"id":
|
|
1780
|
+
"id": 20270,
|
|
1781
1781
|
"name": "bytes32",
|
|
1782
1782
|
"nodeType": "ElementaryTypeName",
|
|
1783
1783
|
"src": "4903:7:50",
|
|
@@ -1786,7 +1786,7 @@
|
|
|
1786
1786
|
"typeString": "bytes32"
|
|
1787
1787
|
}
|
|
1788
1788
|
},
|
|
1789
|
-
"id":
|
|
1789
|
+
"id": 20271,
|
|
1790
1790
|
"nodeType": "ArrayTypeName",
|
|
1791
1791
|
"src": "4903:9:50",
|
|
1792
1792
|
"typeDescriptions": {
|
|
@@ -1800,12 +1800,12 @@
|
|
|
1800
1800
|
"src": "4873:59:50"
|
|
1801
1801
|
},
|
|
1802
1802
|
"returnParameters": {
|
|
1803
|
-
"id":
|
|
1803
|
+
"id": 20274,
|
|
1804
1804
|
"nodeType": "ParameterList",
|
|
1805
1805
|
"parameters": [],
|
|
1806
1806
|
"src": "4949:0:50"
|
|
1807
1807
|
},
|
|
1808
|
-
"scope":
|
|
1808
|
+
"scope": 20450,
|
|
1809
1809
|
"src": "4849:101:50",
|
|
1810
1810
|
"stateMutability": "nonpayable",
|
|
1811
1811
|
"virtual": false,
|
|
@@ -1814,29 +1814,29 @@
|
|
|
1814
1814
|
{
|
|
1815
1815
|
"anonymous": false,
|
|
1816
1816
|
"documentation": {
|
|
1817
|
-
"id":
|
|
1817
|
+
"id": 20276,
|
|
1818
1818
|
"nodeType": "StructuredDocumentation",
|
|
1819
1819
|
"src": "4955:174:50",
|
|
1820
1820
|
"text": " @dev Agreement created event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
1821
1821
|
},
|
|
1822
1822
|
"eventSelector": "770ea40a13a4644573ed785e5c7116890709947918747febc5add46feb531e2d",
|
|
1823
|
-
"id":
|
|
1823
|
+
"id": 20285,
|
|
1824
1824
|
"name": "AgreementCreated",
|
|
1825
1825
|
"nameLocation": "5140:16:50",
|
|
1826
1826
|
"nodeType": "EventDefinition",
|
|
1827
1827
|
"parameters": {
|
|
1828
|
-
"id":
|
|
1828
|
+
"id": 20284,
|
|
1829
1829
|
"nodeType": "ParameterList",
|
|
1830
1830
|
"parameters": [
|
|
1831
1831
|
{
|
|
1832
1832
|
"constant": false,
|
|
1833
|
-
"id":
|
|
1833
|
+
"id": 20278,
|
|
1834
1834
|
"indexed": true,
|
|
1835
1835
|
"mutability": "mutable",
|
|
1836
1836
|
"name": "agreementClass",
|
|
1837
1837
|
"nameLocation": "5182:14:50",
|
|
1838
1838
|
"nodeType": "VariableDeclaration",
|
|
1839
|
-
"scope":
|
|
1839
|
+
"scope": 20285,
|
|
1840
1840
|
"src": "5166:30:50",
|
|
1841
1841
|
"stateVariable": false,
|
|
1842
1842
|
"storageLocation": "default",
|
|
@@ -1845,7 +1845,7 @@
|
|
|
1845
1845
|
"typeString": "address"
|
|
1846
1846
|
},
|
|
1847
1847
|
"typeName": {
|
|
1848
|
-
"id":
|
|
1848
|
+
"id": 20277,
|
|
1849
1849
|
"name": "address",
|
|
1850
1850
|
"nodeType": "ElementaryTypeName",
|
|
1851
1851
|
"src": "5166:7:50",
|
|
@@ -1859,13 +1859,13 @@
|
|
|
1859
1859
|
},
|
|
1860
1860
|
{
|
|
1861
1861
|
"constant": false,
|
|
1862
|
-
"id":
|
|
1862
|
+
"id": 20280,
|
|
1863
1863
|
"indexed": false,
|
|
1864
1864
|
"mutability": "mutable",
|
|
1865
1865
|
"name": "id",
|
|
1866
1866
|
"nameLocation": "5214:2:50",
|
|
1867
1867
|
"nodeType": "VariableDeclaration",
|
|
1868
|
-
"scope":
|
|
1868
|
+
"scope": 20285,
|
|
1869
1869
|
"src": "5206:10:50",
|
|
1870
1870
|
"stateVariable": false,
|
|
1871
1871
|
"storageLocation": "default",
|
|
@@ -1874,7 +1874,7 @@
|
|
|
1874
1874
|
"typeString": "bytes32"
|
|
1875
1875
|
},
|
|
1876
1876
|
"typeName": {
|
|
1877
|
-
"id":
|
|
1877
|
+
"id": 20279,
|
|
1878
1878
|
"name": "bytes32",
|
|
1879
1879
|
"nodeType": "ElementaryTypeName",
|
|
1880
1880
|
"src": "5206:7:50",
|
|
@@ -1887,13 +1887,13 @@
|
|
|
1887
1887
|
},
|
|
1888
1888
|
{
|
|
1889
1889
|
"constant": false,
|
|
1890
|
-
"id":
|
|
1890
|
+
"id": 20283,
|
|
1891
1891
|
"indexed": false,
|
|
1892
1892
|
"mutability": "mutable",
|
|
1893
1893
|
"name": "data",
|
|
1894
1894
|
"nameLocation": "5236:4:50",
|
|
1895
1895
|
"nodeType": "VariableDeclaration",
|
|
1896
|
-
"scope":
|
|
1896
|
+
"scope": 20285,
|
|
1897
1897
|
"src": "5226:14:50",
|
|
1898
1898
|
"stateVariable": false,
|
|
1899
1899
|
"storageLocation": "default",
|
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
},
|
|
1904
1904
|
"typeName": {
|
|
1905
1905
|
"baseType": {
|
|
1906
|
-
"id":
|
|
1906
|
+
"id": 20281,
|
|
1907
1907
|
"name": "bytes32",
|
|
1908
1908
|
"nodeType": "ElementaryTypeName",
|
|
1909
1909
|
"src": "5226:7:50",
|
|
@@ -1912,7 +1912,7 @@
|
|
|
1912
1912
|
"typeString": "bytes32"
|
|
1913
1913
|
}
|
|
1914
1914
|
},
|
|
1915
|
-
"id":
|
|
1915
|
+
"id": 20282,
|
|
1916
1916
|
"nodeType": "ArrayTypeName",
|
|
1917
1917
|
"src": "5226:9:50",
|
|
1918
1918
|
"typeDescriptions": {
|
|
@@ -1929,13 +1929,13 @@
|
|
|
1929
1929
|
},
|
|
1930
1930
|
{
|
|
1931
1931
|
"documentation": {
|
|
1932
|
-
"id":
|
|
1932
|
+
"id": 20286,
|
|
1933
1933
|
"nodeType": "StructuredDocumentation",
|
|
1934
1934
|
"src": "5253:184:50",
|
|
1935
1935
|
"text": " @dev Get data of the agreement\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @return data Data of the agreement"
|
|
1936
1936
|
},
|
|
1937
1937
|
"functionSelector": "6c2d9f2f",
|
|
1938
|
-
"id":
|
|
1938
|
+
"id": 20298,
|
|
1939
1939
|
"implemented": false,
|
|
1940
1940
|
"kind": "function",
|
|
1941
1941
|
"modifiers": [],
|
|
@@ -1943,17 +1943,17 @@
|
|
|
1943
1943
|
"nameLocation": "5451:16:50",
|
|
1944
1944
|
"nodeType": "FunctionDefinition",
|
|
1945
1945
|
"parameters": {
|
|
1946
|
-
"id":
|
|
1946
|
+
"id": 20293,
|
|
1947
1947
|
"nodeType": "ParameterList",
|
|
1948
1948
|
"parameters": [
|
|
1949
1949
|
{
|
|
1950
1950
|
"constant": false,
|
|
1951
|
-
"id":
|
|
1951
|
+
"id": 20288,
|
|
1952
1952
|
"mutability": "mutable",
|
|
1953
1953
|
"name": "agreementClass",
|
|
1954
1954
|
"nameLocation": "5485:14:50",
|
|
1955
1955
|
"nodeType": "VariableDeclaration",
|
|
1956
|
-
"scope":
|
|
1956
|
+
"scope": 20298,
|
|
1957
1957
|
"src": "5477:22:50",
|
|
1958
1958
|
"stateVariable": false,
|
|
1959
1959
|
"storageLocation": "default",
|
|
@@ -1962,7 +1962,7 @@
|
|
|
1962
1962
|
"typeString": "address"
|
|
1963
1963
|
},
|
|
1964
1964
|
"typeName": {
|
|
1965
|
-
"id":
|
|
1965
|
+
"id": 20287,
|
|
1966
1966
|
"name": "address",
|
|
1967
1967
|
"nodeType": "ElementaryTypeName",
|
|
1968
1968
|
"src": "5477:7:50",
|
|
@@ -1976,12 +1976,12 @@
|
|
|
1976
1976
|
},
|
|
1977
1977
|
{
|
|
1978
1978
|
"constant": false,
|
|
1979
|
-
"id":
|
|
1979
|
+
"id": 20290,
|
|
1980
1980
|
"mutability": "mutable",
|
|
1981
1981
|
"name": "id",
|
|
1982
1982
|
"nameLocation": "5517:2:50",
|
|
1983
1983
|
"nodeType": "VariableDeclaration",
|
|
1984
|
-
"scope":
|
|
1984
|
+
"scope": 20298,
|
|
1985
1985
|
"src": "5509:10:50",
|
|
1986
1986
|
"stateVariable": false,
|
|
1987
1987
|
"storageLocation": "default",
|
|
@@ -1990,7 +1990,7 @@
|
|
|
1990
1990
|
"typeString": "bytes32"
|
|
1991
1991
|
},
|
|
1992
1992
|
"typeName": {
|
|
1993
|
-
"id":
|
|
1993
|
+
"id": 20289,
|
|
1994
1994
|
"name": "bytes32",
|
|
1995
1995
|
"nodeType": "ElementaryTypeName",
|
|
1996
1996
|
"src": "5509:7:50",
|
|
@@ -2003,12 +2003,12 @@
|
|
|
2003
2003
|
},
|
|
2004
2004
|
{
|
|
2005
2005
|
"constant": false,
|
|
2006
|
-
"id":
|
|
2006
|
+
"id": 20292,
|
|
2007
2007
|
"mutability": "mutable",
|
|
2008
2008
|
"name": "dataLength",
|
|
2009
2009
|
"nameLocation": "5534:10:50",
|
|
2010
2010
|
"nodeType": "VariableDeclaration",
|
|
2011
|
-
"scope":
|
|
2011
|
+
"scope": 20298,
|
|
2012
2012
|
"src": "5529:15:50",
|
|
2013
2013
|
"stateVariable": false,
|
|
2014
2014
|
"storageLocation": "default",
|
|
@@ -2017,7 +2017,7 @@
|
|
|
2017
2017
|
"typeString": "uint256"
|
|
2018
2018
|
},
|
|
2019
2019
|
"typeName": {
|
|
2020
|
-
"id":
|
|
2020
|
+
"id": 20291,
|
|
2021
2021
|
"name": "uint",
|
|
2022
2022
|
"nodeType": "ElementaryTypeName",
|
|
2023
2023
|
"src": "5529:4:50",
|
|
@@ -2032,17 +2032,17 @@
|
|
|
2032
2032
|
"src": "5467:83:50"
|
|
2033
2033
|
},
|
|
2034
2034
|
"returnParameters": {
|
|
2035
|
-
"id":
|
|
2035
|
+
"id": 20297,
|
|
2036
2036
|
"nodeType": "ParameterList",
|
|
2037
2037
|
"parameters": [
|
|
2038
2038
|
{
|
|
2039
2039
|
"constant": false,
|
|
2040
|
-
"id":
|
|
2040
|
+
"id": 20296,
|
|
2041
2041
|
"mutability": "mutable",
|
|
2042
2042
|
"name": "data",
|
|
2043
2043
|
"nameLocation": "5606:4:50",
|
|
2044
2044
|
"nodeType": "VariableDeclaration",
|
|
2045
|
-
"scope":
|
|
2045
|
+
"scope": 20298,
|
|
2046
2046
|
"src": "5589:21:50",
|
|
2047
2047
|
"stateVariable": false,
|
|
2048
2048
|
"storageLocation": "memory",
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
},
|
|
2053
2053
|
"typeName": {
|
|
2054
2054
|
"baseType": {
|
|
2055
|
-
"id":
|
|
2055
|
+
"id": 20294,
|
|
2056
2056
|
"name": "bytes32",
|
|
2057
2057
|
"nodeType": "ElementaryTypeName",
|
|
2058
2058
|
"src": "5589:7:50",
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
"typeString": "bytes32"
|
|
2062
2062
|
}
|
|
2063
2063
|
},
|
|
2064
|
-
"id":
|
|
2064
|
+
"id": 20295,
|
|
2065
2065
|
"nodeType": "ArrayTypeName",
|
|
2066
2066
|
"src": "5589:9:50",
|
|
2067
2067
|
"typeDescriptions": {
|
|
@@ -2074,7 +2074,7 @@
|
|
|
2074
2074
|
],
|
|
2075
2075
|
"src": "5588:23:50"
|
|
2076
2076
|
},
|
|
2077
|
-
"scope":
|
|
2077
|
+
"scope": 20450,
|
|
2078
2078
|
"src": "5442:170:50",
|
|
2079
2079
|
"stateMutability": "view",
|
|
2080
2080
|
"virtual": false,
|
|
@@ -2082,13 +2082,13 @@
|
|
|
2082
2082
|
},
|
|
2083
2083
|
{
|
|
2084
2084
|
"documentation": {
|
|
2085
|
-
"id":
|
|
2085
|
+
"id": 20299,
|
|
2086
2086
|
"nodeType": "StructuredDocumentation",
|
|
2087
2087
|
"src": "5618:110:50",
|
|
2088
2088
|
"text": " @dev Create a new agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
2089
2089
|
},
|
|
2090
2090
|
"functionSelector": "a1b2bf8b",
|
|
2091
|
-
"id":
|
|
2091
|
+
"id": 20307,
|
|
2092
2092
|
"implemented": false,
|
|
2093
2093
|
"kind": "function",
|
|
2094
2094
|
"modifiers": [],
|
|
@@ -2096,17 +2096,17 @@
|
|
|
2096
2096
|
"nameLocation": "5742:19:50",
|
|
2097
2097
|
"nodeType": "FunctionDefinition",
|
|
2098
2098
|
"parameters": {
|
|
2099
|
-
"id":
|
|
2099
|
+
"id": 20305,
|
|
2100
2100
|
"nodeType": "ParameterList",
|
|
2101
2101
|
"parameters": [
|
|
2102
2102
|
{
|
|
2103
2103
|
"constant": false,
|
|
2104
|
-
"id":
|
|
2104
|
+
"id": 20301,
|
|
2105
2105
|
"mutability": "mutable",
|
|
2106
2106
|
"name": "id",
|
|
2107
2107
|
"nameLocation": "5779:2:50",
|
|
2108
2108
|
"nodeType": "VariableDeclaration",
|
|
2109
|
-
"scope":
|
|
2109
|
+
"scope": 20307,
|
|
2110
2110
|
"src": "5771:10:50",
|
|
2111
2111
|
"stateVariable": false,
|
|
2112
2112
|
"storageLocation": "default",
|
|
@@ -2115,7 +2115,7 @@
|
|
|
2115
2115
|
"typeString": "bytes32"
|
|
2116
2116
|
},
|
|
2117
2117
|
"typeName": {
|
|
2118
|
-
"id":
|
|
2118
|
+
"id": 20300,
|
|
2119
2119
|
"name": "bytes32",
|
|
2120
2120
|
"nodeType": "ElementaryTypeName",
|
|
2121
2121
|
"src": "5771:7:50",
|
|
@@ -2128,12 +2128,12 @@
|
|
|
2128
2128
|
},
|
|
2129
2129
|
{
|
|
2130
2130
|
"constant": false,
|
|
2131
|
-
"id":
|
|
2131
|
+
"id": 20304,
|
|
2132
2132
|
"mutability": "mutable",
|
|
2133
2133
|
"name": "data",
|
|
2134
2134
|
"nameLocation": "5810:4:50",
|
|
2135
2135
|
"nodeType": "VariableDeclaration",
|
|
2136
|
-
"scope":
|
|
2136
|
+
"scope": 20307,
|
|
2137
2137
|
"src": "5791:23:50",
|
|
2138
2138
|
"stateVariable": false,
|
|
2139
2139
|
"storageLocation": "calldata",
|
|
@@ -2143,7 +2143,7 @@
|
|
|
2143
2143
|
},
|
|
2144
2144
|
"typeName": {
|
|
2145
2145
|
"baseType": {
|
|
2146
|
-
"id":
|
|
2146
|
+
"id": 20302,
|
|
2147
2147
|
"name": "bytes32",
|
|
2148
2148
|
"nodeType": "ElementaryTypeName",
|
|
2149
2149
|
"src": "5791:7:50",
|
|
@@ -2152,7 +2152,7 @@
|
|
|
2152
2152
|
"typeString": "bytes32"
|
|
2153
2153
|
}
|
|
2154
2154
|
},
|
|
2155
|
-
"id":
|
|
2155
|
+
"id": 20303,
|
|
2156
2156
|
"nodeType": "ArrayTypeName",
|
|
2157
2157
|
"src": "5791:9:50",
|
|
2158
2158
|
"typeDescriptions": {
|
|
@@ -2166,12 +2166,12 @@
|
|
|
2166
2166
|
"src": "5761:59:50"
|
|
2167
2167
|
},
|
|
2168
2168
|
"returnParameters": {
|
|
2169
|
-
"id":
|
|
2169
|
+
"id": 20306,
|
|
2170
2170
|
"nodeType": "ParameterList",
|
|
2171
2171
|
"parameters": [],
|
|
2172
2172
|
"src": "5837:0:50"
|
|
2173
2173
|
},
|
|
2174
|
-
"scope":
|
|
2174
|
+
"scope": 20450,
|
|
2175
2175
|
"src": "5733:105:50",
|
|
2176
2176
|
"stateMutability": "nonpayable",
|
|
2177
2177
|
"virtual": false,
|
|
@@ -2180,29 +2180,29 @@
|
|
|
2180
2180
|
{
|
|
2181
2181
|
"anonymous": false,
|
|
2182
2182
|
"documentation": {
|
|
2183
|
-
"id":
|
|
2183
|
+
"id": 20308,
|
|
2184
2184
|
"nodeType": "StructuredDocumentation",
|
|
2185
2185
|
"src": "5843:174:50",
|
|
2186
2186
|
"text": " @dev Agreement updated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param data Agreement data"
|
|
2187
2187
|
},
|
|
2188
2188
|
"eventSelector": "0c4c547b3a4fcaa5be8353b3111472b124155bccc86de811d4a481c9e6e9faca",
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 20317,
|
|
2190
2190
|
"name": "AgreementUpdated",
|
|
2191
2191
|
"nameLocation": "6028:16:50",
|
|
2192
2192
|
"nodeType": "EventDefinition",
|
|
2193
2193
|
"parameters": {
|
|
2194
|
-
"id":
|
|
2194
|
+
"id": 20316,
|
|
2195
2195
|
"nodeType": "ParameterList",
|
|
2196
2196
|
"parameters": [
|
|
2197
2197
|
{
|
|
2198
2198
|
"constant": false,
|
|
2199
|
-
"id":
|
|
2199
|
+
"id": 20310,
|
|
2200
2200
|
"indexed": true,
|
|
2201
2201
|
"mutability": "mutable",
|
|
2202
2202
|
"name": "agreementClass",
|
|
2203
2203
|
"nameLocation": "6070:14:50",
|
|
2204
2204
|
"nodeType": "VariableDeclaration",
|
|
2205
|
-
"scope":
|
|
2205
|
+
"scope": 20317,
|
|
2206
2206
|
"src": "6054:30:50",
|
|
2207
2207
|
"stateVariable": false,
|
|
2208
2208
|
"storageLocation": "default",
|
|
@@ -2211,7 +2211,7 @@
|
|
|
2211
2211
|
"typeString": "address"
|
|
2212
2212
|
},
|
|
2213
2213
|
"typeName": {
|
|
2214
|
-
"id":
|
|
2214
|
+
"id": 20309,
|
|
2215
2215
|
"name": "address",
|
|
2216
2216
|
"nodeType": "ElementaryTypeName",
|
|
2217
2217
|
"src": "6054:7:50",
|
|
@@ -2225,13 +2225,13 @@
|
|
|
2225
2225
|
},
|
|
2226
2226
|
{
|
|
2227
2227
|
"constant": false,
|
|
2228
|
-
"id":
|
|
2228
|
+
"id": 20312,
|
|
2229
2229
|
"indexed": false,
|
|
2230
2230
|
"mutability": "mutable",
|
|
2231
2231
|
"name": "id",
|
|
2232
2232
|
"nameLocation": "6102:2:50",
|
|
2233
2233
|
"nodeType": "VariableDeclaration",
|
|
2234
|
-
"scope":
|
|
2234
|
+
"scope": 20317,
|
|
2235
2235
|
"src": "6094:10:50",
|
|
2236
2236
|
"stateVariable": false,
|
|
2237
2237
|
"storageLocation": "default",
|
|
@@ -2240,7 +2240,7 @@
|
|
|
2240
2240
|
"typeString": "bytes32"
|
|
2241
2241
|
},
|
|
2242
2242
|
"typeName": {
|
|
2243
|
-
"id":
|
|
2243
|
+
"id": 20311,
|
|
2244
2244
|
"name": "bytes32",
|
|
2245
2245
|
"nodeType": "ElementaryTypeName",
|
|
2246
2246
|
"src": "6094:7:50",
|
|
@@ -2253,13 +2253,13 @@
|
|
|
2253
2253
|
},
|
|
2254
2254
|
{
|
|
2255
2255
|
"constant": false,
|
|
2256
|
-
"id":
|
|
2256
|
+
"id": 20315,
|
|
2257
2257
|
"indexed": false,
|
|
2258
2258
|
"mutability": "mutable",
|
|
2259
2259
|
"name": "data",
|
|
2260
2260
|
"nameLocation": "6124:4:50",
|
|
2261
2261
|
"nodeType": "VariableDeclaration",
|
|
2262
|
-
"scope":
|
|
2262
|
+
"scope": 20317,
|
|
2263
2263
|
"src": "6114:14:50",
|
|
2264
2264
|
"stateVariable": false,
|
|
2265
2265
|
"storageLocation": "default",
|
|
@@ -2269,7 +2269,7 @@
|
|
|
2269
2269
|
},
|
|
2270
2270
|
"typeName": {
|
|
2271
2271
|
"baseType": {
|
|
2272
|
-
"id":
|
|
2272
|
+
"id": 20313,
|
|
2273
2273
|
"name": "bytes32",
|
|
2274
2274
|
"nodeType": "ElementaryTypeName",
|
|
2275
2275
|
"src": "6114:7:50",
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
"typeString": "bytes32"
|
|
2279
2279
|
}
|
|
2280
2280
|
},
|
|
2281
|
-
"id":
|
|
2281
|
+
"id": 20314,
|
|
2282
2282
|
"nodeType": "ArrayTypeName",
|
|
2283
2283
|
"src": "6114:9:50",
|
|
2284
2284
|
"typeDescriptions": {
|
|
@@ -2295,13 +2295,13 @@
|
|
|
2295
2295
|
},
|
|
2296
2296
|
{
|
|
2297
2297
|
"documentation": {
|
|
2298
|
-
"id":
|
|
2298
|
+
"id": 20318,
|
|
2299
2299
|
"nodeType": "StructuredDocumentation",
|
|
2300
2300
|
"src": "6141:73:50",
|
|
2301
2301
|
"text": " @dev Close the agreement\n @param id Agreement ID"
|
|
2302
2302
|
},
|
|
2303
2303
|
"functionSelector": "27048397",
|
|
2304
|
-
"id":
|
|
2304
|
+
"id": 20325,
|
|
2305
2305
|
"implemented": false,
|
|
2306
2306
|
"kind": "function",
|
|
2307
2307
|
"modifiers": [],
|
|
@@ -2309,17 +2309,17 @@
|
|
|
2309
2309
|
"nameLocation": "6228:18:50",
|
|
2310
2310
|
"nodeType": "FunctionDefinition",
|
|
2311
2311
|
"parameters": {
|
|
2312
|
-
"id":
|
|
2312
|
+
"id": 20323,
|
|
2313
2313
|
"nodeType": "ParameterList",
|
|
2314
2314
|
"parameters": [
|
|
2315
2315
|
{
|
|
2316
2316
|
"constant": false,
|
|
2317
|
-
"id":
|
|
2317
|
+
"id": 20320,
|
|
2318
2318
|
"mutability": "mutable",
|
|
2319
2319
|
"name": "id",
|
|
2320
2320
|
"nameLocation": "6264:2:50",
|
|
2321
2321
|
"nodeType": "VariableDeclaration",
|
|
2322
|
-
"scope":
|
|
2322
|
+
"scope": 20325,
|
|
2323
2323
|
"src": "6256:10:50",
|
|
2324
2324
|
"stateVariable": false,
|
|
2325
2325
|
"storageLocation": "default",
|
|
@@ -2328,7 +2328,7 @@
|
|
|
2328
2328
|
"typeString": "bytes32"
|
|
2329
2329
|
},
|
|
2330
2330
|
"typeName": {
|
|
2331
|
-
"id":
|
|
2331
|
+
"id": 20319,
|
|
2332
2332
|
"name": "bytes32",
|
|
2333
2333
|
"nodeType": "ElementaryTypeName",
|
|
2334
2334
|
"src": "6256:7:50",
|
|
@@ -2341,12 +2341,12 @@
|
|
|
2341
2341
|
},
|
|
2342
2342
|
{
|
|
2343
2343
|
"constant": false,
|
|
2344
|
-
"id":
|
|
2344
|
+
"id": 20322,
|
|
2345
2345
|
"mutability": "mutable",
|
|
2346
2346
|
"name": "dataLength",
|
|
2347
2347
|
"nameLocation": "6281:10:50",
|
|
2348
2348
|
"nodeType": "VariableDeclaration",
|
|
2349
|
-
"scope":
|
|
2349
|
+
"scope": 20325,
|
|
2350
2350
|
"src": "6276:15:50",
|
|
2351
2351
|
"stateVariable": false,
|
|
2352
2352
|
"storageLocation": "default",
|
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
"typeString": "uint256"
|
|
2356
2356
|
},
|
|
2357
2357
|
"typeName": {
|
|
2358
|
-
"id":
|
|
2358
|
+
"id": 20321,
|
|
2359
2359
|
"name": "uint",
|
|
2360
2360
|
"nodeType": "ElementaryTypeName",
|
|
2361
2361
|
"src": "6276:4:50",
|
|
@@ -2370,12 +2370,12 @@
|
|
|
2370
2370
|
"src": "6246:51:50"
|
|
2371
2371
|
},
|
|
2372
2372
|
"returnParameters": {
|
|
2373
|
-
"id":
|
|
2373
|
+
"id": 20324,
|
|
2374
2374
|
"nodeType": "ParameterList",
|
|
2375
2375
|
"parameters": [],
|
|
2376
2376
|
"src": "6314:0:50"
|
|
2377
2377
|
},
|
|
2378
|
-
"scope":
|
|
2378
|
+
"scope": 20450,
|
|
2379
2379
|
"src": "6219:96:50",
|
|
2380
2380
|
"stateMutability": "nonpayable",
|
|
2381
2381
|
"virtual": false,
|
|
@@ -2384,29 +2384,29 @@
|
|
|
2384
2384
|
{
|
|
2385
2385
|
"anonymous": false,
|
|
2386
2386
|
"documentation": {
|
|
2387
|
-
"id":
|
|
2387
|
+
"id": 20326,
|
|
2388
2388
|
"nodeType": "StructuredDocumentation",
|
|
2389
2389
|
"src": "6320:143:50",
|
|
2390
2390
|
"text": " @dev Agreement terminated event\n @param agreementClass Contract address of the agreement\n @param id Agreement ID"
|
|
2391
2391
|
},
|
|
2392
2392
|
"eventSelector": "71a63dc095de07aa5512ad57a7596a39516317e316981a1cd71000057be1537b",
|
|
2393
|
-
"id":
|
|
2393
|
+
"id": 20332,
|
|
2394
2394
|
"name": "AgreementTerminated",
|
|
2395
2395
|
"nameLocation": "6474:19:50",
|
|
2396
2396
|
"nodeType": "EventDefinition",
|
|
2397
2397
|
"parameters": {
|
|
2398
|
-
"id":
|
|
2398
|
+
"id": 20331,
|
|
2399
2399
|
"nodeType": "ParameterList",
|
|
2400
2400
|
"parameters": [
|
|
2401
2401
|
{
|
|
2402
2402
|
"constant": false,
|
|
2403
|
-
"id":
|
|
2403
|
+
"id": 20328,
|
|
2404
2404
|
"indexed": true,
|
|
2405
2405
|
"mutability": "mutable",
|
|
2406
2406
|
"name": "agreementClass",
|
|
2407
2407
|
"nameLocation": "6519:14:50",
|
|
2408
2408
|
"nodeType": "VariableDeclaration",
|
|
2409
|
-
"scope":
|
|
2409
|
+
"scope": 20332,
|
|
2410
2410
|
"src": "6503:30:50",
|
|
2411
2411
|
"stateVariable": false,
|
|
2412
2412
|
"storageLocation": "default",
|
|
@@ -2415,7 +2415,7 @@
|
|
|
2415
2415
|
"typeString": "address"
|
|
2416
2416
|
},
|
|
2417
2417
|
"typeName": {
|
|
2418
|
-
"id":
|
|
2418
|
+
"id": 20327,
|
|
2419
2419
|
"name": "address",
|
|
2420
2420
|
"nodeType": "ElementaryTypeName",
|
|
2421
2421
|
"src": "6503:7:50",
|
|
@@ -2429,13 +2429,13 @@
|
|
|
2429
2429
|
},
|
|
2430
2430
|
{
|
|
2431
2431
|
"constant": false,
|
|
2432
|
-
"id":
|
|
2432
|
+
"id": 20330,
|
|
2433
2433
|
"indexed": false,
|
|
2434
2434
|
"mutability": "mutable",
|
|
2435
2435
|
"name": "id",
|
|
2436
2436
|
"nameLocation": "6551:2:50",
|
|
2437
2437
|
"nodeType": "VariableDeclaration",
|
|
2438
|
-
"scope":
|
|
2438
|
+
"scope": 20332,
|
|
2439
2439
|
"src": "6543:10:50",
|
|
2440
2440
|
"stateVariable": false,
|
|
2441
2441
|
"storageLocation": "default",
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
"typeString": "bytes32"
|
|
2445
2445
|
},
|
|
2446
2446
|
"typeName": {
|
|
2447
|
-
"id":
|
|
2447
|
+
"id": 20329,
|
|
2448
2448
|
"name": "bytes32",
|
|
2449
2449
|
"nodeType": "ElementaryTypeName",
|
|
2450
2450
|
"src": "6543:7:50",
|
|
@@ -2462,13 +2462,13 @@
|
|
|
2462
2462
|
},
|
|
2463
2463
|
{
|
|
2464
2464
|
"documentation": {
|
|
2465
|
-
"id":
|
|
2465
|
+
"id": 20333,
|
|
2466
2466
|
"nodeType": "StructuredDocumentation",
|
|
2467
2467
|
"src": "6566:199:50",
|
|
2468
2468
|
"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"
|
|
2469
2469
|
},
|
|
2470
2470
|
"functionSelector": "090c415e",
|
|
2471
|
-
"id":
|
|
2471
|
+
"id": 20343,
|
|
2472
2472
|
"implemented": false,
|
|
2473
2473
|
"kind": "function",
|
|
2474
2474
|
"modifiers": [],
|
|
@@ -2476,17 +2476,17 @@
|
|
|
2476
2476
|
"nameLocation": "6779:24:50",
|
|
2477
2477
|
"nodeType": "FunctionDefinition",
|
|
2478
2478
|
"parameters": {
|
|
2479
|
-
"id":
|
|
2479
|
+
"id": 20341,
|
|
2480
2480
|
"nodeType": "ParameterList",
|
|
2481
2481
|
"parameters": [
|
|
2482
2482
|
{
|
|
2483
2483
|
"constant": false,
|
|
2484
|
-
"id":
|
|
2484
|
+
"id": 20335,
|
|
2485
2485
|
"mutability": "mutable",
|
|
2486
2486
|
"name": "account",
|
|
2487
2487
|
"nameLocation": "6821:7:50",
|
|
2488
2488
|
"nodeType": "VariableDeclaration",
|
|
2489
|
-
"scope":
|
|
2489
|
+
"scope": 20343,
|
|
2490
2490
|
"src": "6813:15:50",
|
|
2491
2491
|
"stateVariable": false,
|
|
2492
2492
|
"storageLocation": "default",
|
|
@@ -2495,7 +2495,7 @@
|
|
|
2495
2495
|
"typeString": "address"
|
|
2496
2496
|
},
|
|
2497
2497
|
"typeName": {
|
|
2498
|
-
"id":
|
|
2498
|
+
"id": 20334,
|
|
2499
2499
|
"name": "address",
|
|
2500
2500
|
"nodeType": "ElementaryTypeName",
|
|
2501
2501
|
"src": "6813:7:50",
|
|
@@ -2509,12 +2509,12 @@
|
|
|
2509
2509
|
},
|
|
2510
2510
|
{
|
|
2511
2511
|
"constant": false,
|
|
2512
|
-
"id":
|
|
2512
|
+
"id": 20337,
|
|
2513
2513
|
"mutability": "mutable",
|
|
2514
2514
|
"name": "slotId",
|
|
2515
2515
|
"nameLocation": "6846:6:50",
|
|
2516
2516
|
"nodeType": "VariableDeclaration",
|
|
2517
|
-
"scope":
|
|
2517
|
+
"scope": 20343,
|
|
2518
2518
|
"src": "6838:14:50",
|
|
2519
2519
|
"stateVariable": false,
|
|
2520
2520
|
"storageLocation": "default",
|
|
@@ -2523,7 +2523,7 @@
|
|
|
2523
2523
|
"typeString": "uint256"
|
|
2524
2524
|
},
|
|
2525
2525
|
"typeName": {
|
|
2526
|
-
"id":
|
|
2526
|
+
"id": 20336,
|
|
2527
2527
|
"name": "uint256",
|
|
2528
2528
|
"nodeType": "ElementaryTypeName",
|
|
2529
2529
|
"src": "6838:7:50",
|
|
@@ -2536,12 +2536,12 @@
|
|
|
2536
2536
|
},
|
|
2537
2537
|
{
|
|
2538
2538
|
"constant": false,
|
|
2539
|
-
"id":
|
|
2539
|
+
"id": 20340,
|
|
2540
2540
|
"mutability": "mutable",
|
|
2541
2541
|
"name": "slotData",
|
|
2542
2542
|
"nameLocation": "6881:8:50",
|
|
2543
2543
|
"nodeType": "VariableDeclaration",
|
|
2544
|
-
"scope":
|
|
2544
|
+
"scope": 20343,
|
|
2545
2545
|
"src": "6862:27:50",
|
|
2546
2546
|
"stateVariable": false,
|
|
2547
2547
|
"storageLocation": "calldata",
|
|
@@ -2551,7 +2551,7 @@
|
|
|
2551
2551
|
},
|
|
2552
2552
|
"typeName": {
|
|
2553
2553
|
"baseType": {
|
|
2554
|
-
"id":
|
|
2554
|
+
"id": 20338,
|
|
2555
2555
|
"name": "bytes32",
|
|
2556
2556
|
"nodeType": "ElementaryTypeName",
|
|
2557
2557
|
"src": "6862:7:50",
|
|
@@ -2560,7 +2560,7 @@
|
|
|
2560
2560
|
"typeString": "bytes32"
|
|
2561
2561
|
}
|
|
2562
2562
|
},
|
|
2563
|
-
"id":
|
|
2563
|
+
"id": 20339,
|
|
2564
2564
|
"nodeType": "ArrayTypeName",
|
|
2565
2565
|
"src": "6862:9:50",
|
|
2566
2566
|
"typeDescriptions": {
|
|
@@ -2574,12 +2574,12 @@
|
|
|
2574
2574
|
"src": "6803:92:50"
|
|
2575
2575
|
},
|
|
2576
2576
|
"returnParameters": {
|
|
2577
|
-
"id":
|
|
2577
|
+
"id": 20342,
|
|
2578
2578
|
"nodeType": "ParameterList",
|
|
2579
2579
|
"parameters": [],
|
|
2580
2580
|
"src": "6912:0:50"
|
|
2581
2581
|
},
|
|
2582
|
-
"scope":
|
|
2582
|
+
"scope": 20450,
|
|
2583
2583
|
"src": "6770:143:50",
|
|
2584
2584
|
"stateMutability": "nonpayable",
|
|
2585
2585
|
"virtual": false,
|
|
@@ -2588,29 +2588,29 @@
|
|
|
2588
2588
|
{
|
|
2589
2589
|
"anonymous": false,
|
|
2590
2590
|
"documentation": {
|
|
2591
|
-
"id":
|
|
2591
|
+
"id": 20344,
|
|
2592
2592
|
"nodeType": "StructuredDocumentation",
|
|
2593
2593
|
"src": "6918:214:50",
|
|
2594
2594
|
"text": " @dev Agreement account state updated event\n @param agreementClass Contract address of the agreement\n @param account Account updated\n @param slotId slot id of the agreement state"
|
|
2595
2595
|
},
|
|
2596
2596
|
"eventSelector": "30f416fa68fca014a0f334464c64b000ba53e99b6d2afdea9d5ca756372d5985",
|
|
2597
|
-
"id":
|
|
2597
|
+
"id": 20352,
|
|
2598
2598
|
"name": "AgreementStateUpdated",
|
|
2599
2599
|
"nameLocation": "7143:21:50",
|
|
2600
2600
|
"nodeType": "EventDefinition",
|
|
2601
2601
|
"parameters": {
|
|
2602
|
-
"id":
|
|
2602
|
+
"id": 20351,
|
|
2603
2603
|
"nodeType": "ParameterList",
|
|
2604
2604
|
"parameters": [
|
|
2605
2605
|
{
|
|
2606
2606
|
"constant": false,
|
|
2607
|
-
"id":
|
|
2607
|
+
"id": 20346,
|
|
2608
2608
|
"indexed": true,
|
|
2609
2609
|
"mutability": "mutable",
|
|
2610
2610
|
"name": "agreementClass",
|
|
2611
2611
|
"nameLocation": "7190:14:50",
|
|
2612
2612
|
"nodeType": "VariableDeclaration",
|
|
2613
|
-
"scope":
|
|
2613
|
+
"scope": 20352,
|
|
2614
2614
|
"src": "7174:30:50",
|
|
2615
2615
|
"stateVariable": false,
|
|
2616
2616
|
"storageLocation": "default",
|
|
@@ -2619,7 +2619,7 @@
|
|
|
2619
2619
|
"typeString": "address"
|
|
2620
2620
|
},
|
|
2621
2621
|
"typeName": {
|
|
2622
|
-
"id":
|
|
2622
|
+
"id": 20345,
|
|
2623
2623
|
"name": "address",
|
|
2624
2624
|
"nodeType": "ElementaryTypeName",
|
|
2625
2625
|
"src": "7174:7:50",
|
|
@@ -2633,13 +2633,13 @@
|
|
|
2633
2633
|
},
|
|
2634
2634
|
{
|
|
2635
2635
|
"constant": false,
|
|
2636
|
-
"id":
|
|
2636
|
+
"id": 20348,
|
|
2637
2637
|
"indexed": true,
|
|
2638
2638
|
"mutability": "mutable",
|
|
2639
2639
|
"name": "account",
|
|
2640
2640
|
"nameLocation": "7230:7:50",
|
|
2641
2641
|
"nodeType": "VariableDeclaration",
|
|
2642
|
-
"scope":
|
|
2642
|
+
"scope": 20352,
|
|
2643
2643
|
"src": "7214:23:50",
|
|
2644
2644
|
"stateVariable": false,
|
|
2645
2645
|
"storageLocation": "default",
|
|
@@ -2648,7 +2648,7 @@
|
|
|
2648
2648
|
"typeString": "address"
|
|
2649
2649
|
},
|
|
2650
2650
|
"typeName": {
|
|
2651
|
-
"id":
|
|
2651
|
+
"id": 20347,
|
|
2652
2652
|
"name": "address",
|
|
2653
2653
|
"nodeType": "ElementaryTypeName",
|
|
2654
2654
|
"src": "7214:7:50",
|
|
@@ -2662,13 +2662,13 @@
|
|
|
2662
2662
|
},
|
|
2663
2663
|
{
|
|
2664
2664
|
"constant": false,
|
|
2665
|
-
"id":
|
|
2665
|
+
"id": 20350,
|
|
2666
2666
|
"indexed": false,
|
|
2667
2667
|
"mutability": "mutable",
|
|
2668
2668
|
"name": "slotId",
|
|
2669
2669
|
"nameLocation": "7255:6:50",
|
|
2670
2670
|
"nodeType": "VariableDeclaration",
|
|
2671
|
-
"scope":
|
|
2671
|
+
"scope": 20352,
|
|
2672
2672
|
"src": "7247:14:50",
|
|
2673
2673
|
"stateVariable": false,
|
|
2674
2674
|
"storageLocation": "default",
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
"typeString": "uint256"
|
|
2678
2678
|
},
|
|
2679
2679
|
"typeName": {
|
|
2680
|
-
"id":
|
|
2680
|
+
"id": 20349,
|
|
2681
2681
|
"name": "uint256",
|
|
2682
2682
|
"nodeType": "ElementaryTypeName",
|
|
2683
2683
|
"src": "7247:7:50",
|
|
@@ -2695,13 +2695,13 @@
|
|
|
2695
2695
|
},
|
|
2696
2696
|
{
|
|
2697
2697
|
"documentation": {
|
|
2698
|
-
"id":
|
|
2698
|
+
"id": 20353,
|
|
2699
2699
|
"nodeType": "StructuredDocumentation",
|
|
2700
2700
|
"src": "7274:267:50",
|
|
2701
2701
|
"text": " @dev Get data of the slot of the state of an agreement\n @param agreementClass Contract address of the agreement\n @param account Account to query\n @param slotId slot id of the state\n @param dataLength length of the state data"
|
|
2702
2702
|
},
|
|
2703
2703
|
"functionSelector": "4b61cc33",
|
|
2704
|
-
"id":
|
|
2704
|
+
"id": 20367,
|
|
2705
2705
|
"implemented": false,
|
|
2706
2706
|
"kind": "function",
|
|
2707
2707
|
"modifiers": [],
|
|
@@ -2709,17 +2709,17 @@
|
|
|
2709
2709
|
"nameLocation": "7555:21:50",
|
|
2710
2710
|
"nodeType": "FunctionDefinition",
|
|
2711
2711
|
"parameters": {
|
|
2712
|
-
"id":
|
|
2712
|
+
"id": 20362,
|
|
2713
2713
|
"nodeType": "ParameterList",
|
|
2714
2714
|
"parameters": [
|
|
2715
2715
|
{
|
|
2716
2716
|
"constant": false,
|
|
2717
|
-
"id":
|
|
2717
|
+
"id": 20355,
|
|
2718
2718
|
"mutability": "mutable",
|
|
2719
2719
|
"name": "agreementClass",
|
|
2720
2720
|
"nameLocation": "7594:14:50",
|
|
2721
2721
|
"nodeType": "VariableDeclaration",
|
|
2722
|
-
"scope":
|
|
2722
|
+
"scope": 20367,
|
|
2723
2723
|
"src": "7586:22:50",
|
|
2724
2724
|
"stateVariable": false,
|
|
2725
2725
|
"storageLocation": "default",
|
|
@@ -2728,7 +2728,7 @@
|
|
|
2728
2728
|
"typeString": "address"
|
|
2729
2729
|
},
|
|
2730
2730
|
"typeName": {
|
|
2731
|
-
"id":
|
|
2731
|
+
"id": 20354,
|
|
2732
2732
|
"name": "address",
|
|
2733
2733
|
"nodeType": "ElementaryTypeName",
|
|
2734
2734
|
"src": "7586:7:50",
|
|
@@ -2742,12 +2742,12 @@
|
|
|
2742
2742
|
},
|
|
2743
2743
|
{
|
|
2744
2744
|
"constant": false,
|
|
2745
|
-
"id":
|
|
2745
|
+
"id": 20357,
|
|
2746
2746
|
"mutability": "mutable",
|
|
2747
2747
|
"name": "account",
|
|
2748
2748
|
"nameLocation": "7626:7:50",
|
|
2749
2749
|
"nodeType": "VariableDeclaration",
|
|
2750
|
-
"scope":
|
|
2750
|
+
"scope": 20367,
|
|
2751
2751
|
"src": "7618:15:50",
|
|
2752
2752
|
"stateVariable": false,
|
|
2753
2753
|
"storageLocation": "default",
|
|
@@ -2756,7 +2756,7 @@
|
|
|
2756
2756
|
"typeString": "address"
|
|
2757
2757
|
},
|
|
2758
2758
|
"typeName": {
|
|
2759
|
-
"id":
|
|
2759
|
+
"id": 20356,
|
|
2760
2760
|
"name": "address",
|
|
2761
2761
|
"nodeType": "ElementaryTypeName",
|
|
2762
2762
|
"src": "7618:7:50",
|
|
@@ -2770,12 +2770,12 @@
|
|
|
2770
2770
|
},
|
|
2771
2771
|
{
|
|
2772
2772
|
"constant": false,
|
|
2773
|
-
"id":
|
|
2773
|
+
"id": 20359,
|
|
2774
2774
|
"mutability": "mutable",
|
|
2775
2775
|
"name": "slotId",
|
|
2776
2776
|
"nameLocation": "7651:6:50",
|
|
2777
2777
|
"nodeType": "VariableDeclaration",
|
|
2778
|
-
"scope":
|
|
2778
|
+
"scope": 20367,
|
|
2779
2779
|
"src": "7643:14:50",
|
|
2780
2780
|
"stateVariable": false,
|
|
2781
2781
|
"storageLocation": "default",
|
|
@@ -2784,7 +2784,7 @@
|
|
|
2784
2784
|
"typeString": "uint256"
|
|
2785
2785
|
},
|
|
2786
2786
|
"typeName": {
|
|
2787
|
-
"id":
|
|
2787
|
+
"id": 20358,
|
|
2788
2788
|
"name": "uint256",
|
|
2789
2789
|
"nodeType": "ElementaryTypeName",
|
|
2790
2790
|
"src": "7643:7:50",
|
|
@@ -2797,12 +2797,12 @@
|
|
|
2797
2797
|
},
|
|
2798
2798
|
{
|
|
2799
2799
|
"constant": false,
|
|
2800
|
-
"id":
|
|
2800
|
+
"id": 20361,
|
|
2801
2801
|
"mutability": "mutable",
|
|
2802
2802
|
"name": "dataLength",
|
|
2803
2803
|
"nameLocation": "7672:10:50",
|
|
2804
2804
|
"nodeType": "VariableDeclaration",
|
|
2805
|
-
"scope":
|
|
2805
|
+
"scope": 20367,
|
|
2806
2806
|
"src": "7667:15:50",
|
|
2807
2807
|
"stateVariable": false,
|
|
2808
2808
|
"storageLocation": "default",
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
"typeString": "uint256"
|
|
2812
2812
|
},
|
|
2813
2813
|
"typeName": {
|
|
2814
|
-
"id":
|
|
2814
|
+
"id": 20360,
|
|
2815
2815
|
"name": "uint",
|
|
2816
2816
|
"nodeType": "ElementaryTypeName",
|
|
2817
2817
|
"src": "7667:4:50",
|
|
@@ -2826,17 +2826,17 @@
|
|
|
2826
2826
|
"src": "7576:112:50"
|
|
2827
2827
|
},
|
|
2828
2828
|
"returnParameters": {
|
|
2829
|
-
"id":
|
|
2829
|
+
"id": 20366,
|
|
2830
2830
|
"nodeType": "ParameterList",
|
|
2831
2831
|
"parameters": [
|
|
2832
2832
|
{
|
|
2833
2833
|
"constant": false,
|
|
2834
|
-
"id":
|
|
2834
|
+
"id": 20365,
|
|
2835
2835
|
"mutability": "mutable",
|
|
2836
2836
|
"name": "slotData",
|
|
2837
2837
|
"nameLocation": "7745:8:50",
|
|
2838
2838
|
"nodeType": "VariableDeclaration",
|
|
2839
|
-
"scope":
|
|
2839
|
+
"scope": 20367,
|
|
2840
2840
|
"src": "7728:25:50",
|
|
2841
2841
|
"stateVariable": false,
|
|
2842
2842
|
"storageLocation": "memory",
|
|
@@ -2846,7 +2846,7 @@
|
|
|
2846
2846
|
},
|
|
2847
2847
|
"typeName": {
|
|
2848
2848
|
"baseType": {
|
|
2849
|
-
"id":
|
|
2849
|
+
"id": 20363,
|
|
2850
2850
|
"name": "bytes32",
|
|
2851
2851
|
"nodeType": "ElementaryTypeName",
|
|
2852
2852
|
"src": "7728:7:50",
|
|
@@ -2855,7 +2855,7 @@
|
|
|
2855
2855
|
"typeString": "bytes32"
|
|
2856
2856
|
}
|
|
2857
2857
|
},
|
|
2858
|
-
"id":
|
|
2858
|
+
"id": 20364,
|
|
2859
2859
|
"nodeType": "ArrayTypeName",
|
|
2860
2860
|
"src": "7728:9:50",
|
|
2861
2861
|
"typeDescriptions": {
|
|
@@ -2868,7 +2868,7 @@
|
|
|
2868
2868
|
],
|
|
2869
2869
|
"src": "7727:27:50"
|
|
2870
2870
|
},
|
|
2871
|
-
"scope":
|
|
2871
|
+
"scope": 20450,
|
|
2872
2872
|
"src": "7546:209:50",
|
|
2873
2873
|
"stateMutability": "view",
|
|
2874
2874
|
"virtual": false,
|
|
@@ -2876,13 +2876,13 @@
|
|
|
2876
2876
|
},
|
|
2877
2877
|
{
|
|
2878
2878
|
"documentation": {
|
|
2879
|
-
"id":
|
|
2879
|
+
"id": 20368,
|
|
2880
2880
|
"nodeType": "StructuredDocumentation",
|
|
2881
2881
|
"src": "7761:320:50",
|
|
2882
2882
|
"text": " @notice Settle balance from an account by the agreement\n @dev The agreement needs to make sure that the balance delta is balanced afterwards\n @param account Account to query.\n @param delta Amount of balance delta to be settled\n @custom:modifiers \n - onlyAgreement"
|
|
2883
2883
|
},
|
|
2884
2884
|
"functionSelector": "cf97256d",
|
|
2885
|
-
"id":
|
|
2885
|
+
"id": 20375,
|
|
2886
2886
|
"implemented": false,
|
|
2887
2887
|
"kind": "function",
|
|
2888
2888
|
"modifiers": [],
|
|
@@ -2890,17 +2890,17 @@
|
|
|
2890
2890
|
"nameLocation": "8095:13:50",
|
|
2891
2891
|
"nodeType": "FunctionDefinition",
|
|
2892
2892
|
"parameters": {
|
|
2893
|
-
"id":
|
|
2893
|
+
"id": 20373,
|
|
2894
2894
|
"nodeType": "ParameterList",
|
|
2895
2895
|
"parameters": [
|
|
2896
2896
|
{
|
|
2897
2897
|
"constant": false,
|
|
2898
|
-
"id":
|
|
2898
|
+
"id": 20370,
|
|
2899
2899
|
"mutability": "mutable",
|
|
2900
2900
|
"name": "account",
|
|
2901
2901
|
"nameLocation": "8126:7:50",
|
|
2902
2902
|
"nodeType": "VariableDeclaration",
|
|
2903
|
-
"scope":
|
|
2903
|
+
"scope": 20375,
|
|
2904
2904
|
"src": "8118:15:50",
|
|
2905
2905
|
"stateVariable": false,
|
|
2906
2906
|
"storageLocation": "default",
|
|
@@ -2909,7 +2909,7 @@
|
|
|
2909
2909
|
"typeString": "address"
|
|
2910
2910
|
},
|
|
2911
2911
|
"typeName": {
|
|
2912
|
-
"id":
|
|
2912
|
+
"id": 20369,
|
|
2913
2913
|
"name": "address",
|
|
2914
2914
|
"nodeType": "ElementaryTypeName",
|
|
2915
2915
|
"src": "8118:7:50",
|
|
@@ -2923,12 +2923,12 @@
|
|
|
2923
2923
|
},
|
|
2924
2924
|
{
|
|
2925
2925
|
"constant": false,
|
|
2926
|
-
"id":
|
|
2926
|
+
"id": 20372,
|
|
2927
2927
|
"mutability": "mutable",
|
|
2928
2928
|
"name": "delta",
|
|
2929
2929
|
"nameLocation": "8150:5:50",
|
|
2930
2930
|
"nodeType": "VariableDeclaration",
|
|
2931
|
-
"scope":
|
|
2931
|
+
"scope": 20375,
|
|
2932
2932
|
"src": "8143:12:50",
|
|
2933
2933
|
"stateVariable": false,
|
|
2934
2934
|
"storageLocation": "default",
|
|
@@ -2937,7 +2937,7 @@
|
|
|
2937
2937
|
"typeString": "int256"
|
|
2938
2938
|
},
|
|
2939
2939
|
"typeName": {
|
|
2940
|
-
"id":
|
|
2940
|
+
"id": 20371,
|
|
2941
2941
|
"name": "int256",
|
|
2942
2942
|
"nodeType": "ElementaryTypeName",
|
|
2943
2943
|
"src": "8143:6:50",
|
|
@@ -2952,12 +2952,12 @@
|
|
|
2952
2952
|
"src": "8108:53:50"
|
|
2953
2953
|
},
|
|
2954
2954
|
"returnParameters": {
|
|
2955
|
-
"id":
|
|
2955
|
+
"id": 20374,
|
|
2956
2956
|
"nodeType": "ParameterList",
|
|
2957
2957
|
"parameters": [],
|
|
2958
2958
|
"src": "8178:0:50"
|
|
2959
2959
|
},
|
|
2960
|
-
"scope":
|
|
2960
|
+
"scope": 20450,
|
|
2961
2961
|
"src": "8086:93:50",
|
|
2962
2962
|
"stateMutability": "nonpayable",
|
|
2963
2963
|
"virtual": false,
|
|
@@ -2965,13 +2965,13 @@
|
|
|
2965
2965
|
},
|
|
2966
2966
|
{
|
|
2967
2967
|
"documentation": {
|
|
2968
|
-
"id":
|
|
2968
|
+
"id": 20376,
|
|
2969
2969
|
"nodeType": "StructuredDocumentation",
|
|
2970
2970
|
"src": "8185:1154:50",
|
|
2971
2971
|
"text": " @dev Make liquidation payouts (v2)\n @param id Agreement ID\n @param liquidationTypeData Data regarding the version of the liquidation schema and the type\n @param liquidatorAccount Address of the executor of the liquidation\n @param useDefaultRewardAccount Whether or not the default reward account receives the rewardAmount\n @param targetAccount Account 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"
|
|
2972
2972
|
},
|
|
2973
2973
|
"functionSelector": "1863e809",
|
|
2974
|
-
"id":
|
|
2974
|
+
"id": 20393,
|
|
2975
2975
|
"implemented": false,
|
|
2976
2976
|
"kind": "function",
|
|
2977
2977
|
"modifiers": [],
|
|
@@ -2979,17 +2979,17 @@
|
|
|
2979
2979
|
"nameLocation": "9353:24:50",
|
|
2980
2980
|
"nodeType": "FunctionDefinition",
|
|
2981
2981
|
"parameters": {
|
|
2982
|
-
"id":
|
|
2982
|
+
"id": 20391,
|
|
2983
2983
|
"nodeType": "ParameterList",
|
|
2984
2984
|
"parameters": [
|
|
2985
2985
|
{
|
|
2986
2986
|
"constant": false,
|
|
2987
|
-
"id":
|
|
2987
|
+
"id": 20378,
|
|
2988
2988
|
"mutability": "mutable",
|
|
2989
2989
|
"name": "id",
|
|
2990
2990
|
"nameLocation": "9400:2:50",
|
|
2991
2991
|
"nodeType": "VariableDeclaration",
|
|
2992
|
-
"scope":
|
|
2992
|
+
"scope": 20393,
|
|
2993
2993
|
"src": "9392:10:50",
|
|
2994
2994
|
"stateVariable": false,
|
|
2995
2995
|
"storageLocation": "default",
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
"typeString": "bytes32"
|
|
2999
2999
|
},
|
|
3000
3000
|
"typeName": {
|
|
3001
|
-
"id":
|
|
3001
|
+
"id": 20377,
|
|
3002
3002
|
"name": "bytes32",
|
|
3003
3003
|
"nodeType": "ElementaryTypeName",
|
|
3004
3004
|
"src": "9392:7:50",
|
|
@@ -3011,12 +3011,12 @@
|
|
|
3011
3011
|
},
|
|
3012
3012
|
{
|
|
3013
3013
|
"constant": false,
|
|
3014
|
-
"id":
|
|
3014
|
+
"id": 20380,
|
|
3015
3015
|
"mutability": "mutable",
|
|
3016
3016
|
"name": "liquidationTypeData",
|
|
3017
3017
|
"nameLocation": "9425:19:50",
|
|
3018
3018
|
"nodeType": "VariableDeclaration",
|
|
3019
|
-
"scope":
|
|
3019
|
+
"scope": 20393,
|
|
3020
3020
|
"src": "9412:32:50",
|
|
3021
3021
|
"stateVariable": false,
|
|
3022
3022
|
"storageLocation": "memory",
|
|
@@ -3025,7 +3025,7 @@
|
|
|
3025
3025
|
"typeString": "bytes"
|
|
3026
3026
|
},
|
|
3027
3027
|
"typeName": {
|
|
3028
|
-
"id":
|
|
3028
|
+
"id": 20379,
|
|
3029
3029
|
"name": "bytes",
|
|
3030
3030
|
"nodeType": "ElementaryTypeName",
|
|
3031
3031
|
"src": "9412:5:50",
|
|
@@ -3038,12 +3038,12 @@
|
|
|
3038
3038
|
},
|
|
3039
3039
|
{
|
|
3040
3040
|
"constant": false,
|
|
3041
|
-
"id":
|
|
3041
|
+
"id": 20382,
|
|
3042
3042
|
"mutability": "mutable",
|
|
3043
3043
|
"name": "liquidatorAccount",
|
|
3044
3044
|
"nameLocation": "9462:17:50",
|
|
3045
3045
|
"nodeType": "VariableDeclaration",
|
|
3046
|
-
"scope":
|
|
3046
|
+
"scope": 20393,
|
|
3047
3047
|
"src": "9454:25:50",
|
|
3048
3048
|
"stateVariable": false,
|
|
3049
3049
|
"storageLocation": "default",
|
|
@@ -3052,7 +3052,7 @@
|
|
|
3052
3052
|
"typeString": "address"
|
|
3053
3053
|
},
|
|
3054
3054
|
"typeName": {
|
|
3055
|
-
"id":
|
|
3055
|
+
"id": 20381,
|
|
3056
3056
|
"name": "address",
|
|
3057
3057
|
"nodeType": "ElementaryTypeName",
|
|
3058
3058
|
"src": "9454:7:50",
|
|
@@ -3066,12 +3066,12 @@
|
|
|
3066
3066
|
},
|
|
3067
3067
|
{
|
|
3068
3068
|
"constant": false,
|
|
3069
|
-
"id":
|
|
3069
|
+
"id": 20384,
|
|
3070
3070
|
"mutability": "mutable",
|
|
3071
3071
|
"name": "useDefaultRewardAccount",
|
|
3072
3072
|
"nameLocation": "9494:23:50",
|
|
3073
3073
|
"nodeType": "VariableDeclaration",
|
|
3074
|
-
"scope":
|
|
3074
|
+
"scope": 20393,
|
|
3075
3075
|
"src": "9489:28:50",
|
|
3076
3076
|
"stateVariable": false,
|
|
3077
3077
|
"storageLocation": "default",
|
|
@@ -3080,7 +3080,7 @@
|
|
|
3080
3080
|
"typeString": "bool"
|
|
3081
3081
|
},
|
|
3082
3082
|
"typeName": {
|
|
3083
|
-
"id":
|
|
3083
|
+
"id": 20383,
|
|
3084
3084
|
"name": "bool",
|
|
3085
3085
|
"nodeType": "ElementaryTypeName",
|
|
3086
3086
|
"src": "9489:4:50",
|
|
@@ -3093,12 +3093,12 @@
|
|
|
3093
3093
|
},
|
|
3094
3094
|
{
|
|
3095
3095
|
"constant": false,
|
|
3096
|
-
"id":
|
|
3096
|
+
"id": 20386,
|
|
3097
3097
|
"mutability": "mutable",
|
|
3098
3098
|
"name": "targetAccount",
|
|
3099
3099
|
"nameLocation": "9535:13:50",
|
|
3100
3100
|
"nodeType": "VariableDeclaration",
|
|
3101
|
-
"scope":
|
|
3101
|
+
"scope": 20393,
|
|
3102
3102
|
"src": "9527:21:50",
|
|
3103
3103
|
"stateVariable": false,
|
|
3104
3104
|
"storageLocation": "default",
|
|
@@ -3107,7 +3107,7 @@
|
|
|
3107
3107
|
"typeString": "address"
|
|
3108
3108
|
},
|
|
3109
3109
|
"typeName": {
|
|
3110
|
-
"id":
|
|
3110
|
+
"id": 20385,
|
|
3111
3111
|
"name": "address",
|
|
3112
3112
|
"nodeType": "ElementaryTypeName",
|
|
3113
3113
|
"src": "9527:7:50",
|
|
@@ -3121,12 +3121,12 @@
|
|
|
3121
3121
|
},
|
|
3122
3122
|
{
|
|
3123
3123
|
"constant": false,
|
|
3124
|
-
"id":
|
|
3124
|
+
"id": 20388,
|
|
3125
3125
|
"mutability": "mutable",
|
|
3126
3126
|
"name": "rewardAmount",
|
|
3127
3127
|
"nameLocation": "9566:12:50",
|
|
3128
3128
|
"nodeType": "VariableDeclaration",
|
|
3129
|
-
"scope":
|
|
3129
|
+
"scope": 20393,
|
|
3130
3130
|
"src": "9558:20:50",
|
|
3131
3131
|
"stateVariable": false,
|
|
3132
3132
|
"storageLocation": "default",
|
|
@@ -3135,7 +3135,7 @@
|
|
|
3135
3135
|
"typeString": "uint256"
|
|
3136
3136
|
},
|
|
3137
3137
|
"typeName": {
|
|
3138
|
-
"id":
|
|
3138
|
+
"id": 20387,
|
|
3139
3139
|
"name": "uint256",
|
|
3140
3140
|
"nodeType": "ElementaryTypeName",
|
|
3141
3141
|
"src": "9558:7:50",
|
|
@@ -3148,12 +3148,12 @@
|
|
|
3148
3148
|
},
|
|
3149
3149
|
{
|
|
3150
3150
|
"constant": false,
|
|
3151
|
-
"id":
|
|
3151
|
+
"id": 20390,
|
|
3152
3152
|
"mutability": "mutable",
|
|
3153
3153
|
"name": "targetAccountBalanceDelta",
|
|
3154
3154
|
"nameLocation": "9595:25:50",
|
|
3155
3155
|
"nodeType": "VariableDeclaration",
|
|
3156
|
-
"scope":
|
|
3156
|
+
"scope": 20393,
|
|
3157
3157
|
"src": "9588:32:50",
|
|
3158
3158
|
"stateVariable": false,
|
|
3159
3159
|
"storageLocation": "default",
|
|
@@ -3162,7 +3162,7 @@
|
|
|
3162
3162
|
"typeString": "int256"
|
|
3163
3163
|
},
|
|
3164
3164
|
"typeName": {
|
|
3165
|
-
"id":
|
|
3165
|
+
"id": 20389,
|
|
3166
3166
|
"name": "int256",
|
|
3167
3167
|
"nodeType": "ElementaryTypeName",
|
|
3168
3168
|
"src": "9588:6:50",
|
|
@@ -3177,12 +3177,12 @@
|
|
|
3177
3177
|
"src": "9382:244:50"
|
|
3178
3178
|
},
|
|
3179
3179
|
"returnParameters": {
|
|
3180
|
-
"id":
|
|
3180
|
+
"id": 20392,
|
|
3181
3181
|
"nodeType": "ParameterList",
|
|
3182
3182
|
"parameters": [],
|
|
3183
3183
|
"src": "9635:0:50"
|
|
3184
3184
|
},
|
|
3185
|
-
"scope":
|
|
3185
|
+
"scope": 20450,
|
|
3186
3186
|
"src": "9344:292:50",
|
|
3187
3187
|
"stateMutability": "nonpayable",
|
|
3188
3188
|
"virtual": false,
|
|
@@ -3191,29 +3191,29 @@
|
|
|
3191
3191
|
{
|
|
3192
3192
|
"anonymous": false,
|
|
3193
3193
|
"documentation": {
|
|
3194
|
-
"id":
|
|
3194
|
+
"id": 20394,
|
|
3195
3195
|
"nodeType": "StructuredDocumentation",
|
|
3196
3196
|
"src": "9641:1512:50",
|
|
3197
3197
|
"text": " @dev Agreement liquidation event v2 (including agent account)\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param liquidatorAccount Address of the executor of the liquidation\n @param targetAccount Account of the stream sender\n @param 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"
|
|
3198
3198
|
},
|
|
3199
3199
|
"eventSelector": "b8381a3ce157650e06186e3e8f4dd4dc29236f2688b6eed1893d0a60d7c6386f",
|
|
3200
|
-
"id":
|
|
3200
|
+
"id": 20412,
|
|
3201
3201
|
"name": "AgreementLiquidatedV2",
|
|
3202
3202
|
"nameLocation": "11164:21:50",
|
|
3203
3203
|
"nodeType": "EventDefinition",
|
|
3204
3204
|
"parameters": {
|
|
3205
|
-
"id":
|
|
3205
|
+
"id": 20411,
|
|
3206
3206
|
"nodeType": "ParameterList",
|
|
3207
3207
|
"parameters": [
|
|
3208
3208
|
{
|
|
3209
3209
|
"constant": false,
|
|
3210
|
-
"id":
|
|
3210
|
+
"id": 20396,
|
|
3211
3211
|
"indexed": true,
|
|
3212
3212
|
"mutability": "mutable",
|
|
3213
3213
|
"name": "agreementClass",
|
|
3214
3214
|
"nameLocation": "11211:14:50",
|
|
3215
3215
|
"nodeType": "VariableDeclaration",
|
|
3216
|
-
"scope":
|
|
3216
|
+
"scope": 20412,
|
|
3217
3217
|
"src": "11195:30:50",
|
|
3218
3218
|
"stateVariable": false,
|
|
3219
3219
|
"storageLocation": "default",
|
|
@@ -3222,7 +3222,7 @@
|
|
|
3222
3222
|
"typeString": "address"
|
|
3223
3223
|
},
|
|
3224
3224
|
"typeName": {
|
|
3225
|
-
"id":
|
|
3225
|
+
"id": 20395,
|
|
3226
3226
|
"name": "address",
|
|
3227
3227
|
"nodeType": "ElementaryTypeName",
|
|
3228
3228
|
"src": "11195:7:50",
|
|
@@ -3236,13 +3236,13 @@
|
|
|
3236
3236
|
},
|
|
3237
3237
|
{
|
|
3238
3238
|
"constant": false,
|
|
3239
|
-
"id":
|
|
3239
|
+
"id": 20398,
|
|
3240
3240
|
"indexed": false,
|
|
3241
3241
|
"mutability": "mutable",
|
|
3242
3242
|
"name": "id",
|
|
3243
3243
|
"nameLocation": "11243:2:50",
|
|
3244
3244
|
"nodeType": "VariableDeclaration",
|
|
3245
|
-
"scope":
|
|
3245
|
+
"scope": 20412,
|
|
3246
3246
|
"src": "11235:10:50",
|
|
3247
3247
|
"stateVariable": false,
|
|
3248
3248
|
"storageLocation": "default",
|
|
@@ -3251,7 +3251,7 @@
|
|
|
3251
3251
|
"typeString": "bytes32"
|
|
3252
3252
|
},
|
|
3253
3253
|
"typeName": {
|
|
3254
|
-
"id":
|
|
3254
|
+
"id": 20397,
|
|
3255
3255
|
"name": "bytes32",
|
|
3256
3256
|
"nodeType": "ElementaryTypeName",
|
|
3257
3257
|
"src": "11235:7:50",
|
|
@@ -3264,13 +3264,13 @@
|
|
|
3264
3264
|
},
|
|
3265
3265
|
{
|
|
3266
3266
|
"constant": false,
|
|
3267
|
-
"id":
|
|
3267
|
+
"id": 20400,
|
|
3268
3268
|
"indexed": true,
|
|
3269
3269
|
"mutability": "mutable",
|
|
3270
3270
|
"name": "liquidatorAccount",
|
|
3271
3271
|
"nameLocation": "11271:17:50",
|
|
3272
3272
|
"nodeType": "VariableDeclaration",
|
|
3273
|
-
"scope":
|
|
3273
|
+
"scope": 20412,
|
|
3274
3274
|
"src": "11255:33:50",
|
|
3275
3275
|
"stateVariable": false,
|
|
3276
3276
|
"storageLocation": "default",
|
|
@@ -3279,7 +3279,7 @@
|
|
|
3279
3279
|
"typeString": "address"
|
|
3280
3280
|
},
|
|
3281
3281
|
"typeName": {
|
|
3282
|
-
"id":
|
|
3282
|
+
"id": 20399,
|
|
3283
3283
|
"name": "address",
|
|
3284
3284
|
"nodeType": "ElementaryTypeName",
|
|
3285
3285
|
"src": "11255:7:50",
|
|
@@ -3293,13 +3293,13 @@
|
|
|
3293
3293
|
},
|
|
3294
3294
|
{
|
|
3295
3295
|
"constant": false,
|
|
3296
|
-
"id":
|
|
3296
|
+
"id": 20402,
|
|
3297
3297
|
"indexed": true,
|
|
3298
3298
|
"mutability": "mutable",
|
|
3299
3299
|
"name": "targetAccount",
|
|
3300
3300
|
"nameLocation": "11314:13:50",
|
|
3301
3301
|
"nodeType": "VariableDeclaration",
|
|
3302
|
-
"scope":
|
|
3302
|
+
"scope": 20412,
|
|
3303
3303
|
"src": "11298:29:50",
|
|
3304
3304
|
"stateVariable": false,
|
|
3305
3305
|
"storageLocation": "default",
|
|
@@ -3308,7 +3308,7 @@
|
|
|
3308
3308
|
"typeString": "address"
|
|
3309
3309
|
},
|
|
3310
3310
|
"typeName": {
|
|
3311
|
-
"id":
|
|
3311
|
+
"id": 20401,
|
|
3312
3312
|
"name": "address",
|
|
3313
3313
|
"nodeType": "ElementaryTypeName",
|
|
3314
3314
|
"src": "11298:7:50",
|
|
@@ -3322,13 +3322,13 @@
|
|
|
3322
3322
|
},
|
|
3323
3323
|
{
|
|
3324
3324
|
"constant": false,
|
|
3325
|
-
"id":
|
|
3325
|
+
"id": 20404,
|
|
3326
3326
|
"indexed": false,
|
|
3327
3327
|
"mutability": "mutable",
|
|
3328
3328
|
"name": "rewardAmountReceiver",
|
|
3329
3329
|
"nameLocation": "11345:20:50",
|
|
3330
3330
|
"nodeType": "VariableDeclaration",
|
|
3331
|
-
"scope":
|
|
3331
|
+
"scope": 20412,
|
|
3332
3332
|
"src": "11337:28:50",
|
|
3333
3333
|
"stateVariable": false,
|
|
3334
3334
|
"storageLocation": "default",
|
|
@@ -3337,7 +3337,7 @@
|
|
|
3337
3337
|
"typeString": "address"
|
|
3338
3338
|
},
|
|
3339
3339
|
"typeName": {
|
|
3340
|
-
"id":
|
|
3340
|
+
"id": 20403,
|
|
3341
3341
|
"name": "address",
|
|
3342
3342
|
"nodeType": "ElementaryTypeName",
|
|
3343
3343
|
"src": "11337:7:50",
|
|
@@ -3351,13 +3351,13 @@
|
|
|
3351
3351
|
},
|
|
3352
3352
|
{
|
|
3353
3353
|
"constant": false,
|
|
3354
|
-
"id":
|
|
3354
|
+
"id": 20406,
|
|
3355
3355
|
"indexed": false,
|
|
3356
3356
|
"mutability": "mutable",
|
|
3357
3357
|
"name": "rewardAmount",
|
|
3358
3358
|
"nameLocation": "11383:12:50",
|
|
3359
3359
|
"nodeType": "VariableDeclaration",
|
|
3360
|
-
"scope":
|
|
3360
|
+
"scope": 20412,
|
|
3361
3361
|
"src": "11375:20:50",
|
|
3362
3362
|
"stateVariable": false,
|
|
3363
3363
|
"storageLocation": "default",
|
|
@@ -3366,7 +3366,7 @@
|
|
|
3366
3366
|
"typeString": "uint256"
|
|
3367
3367
|
},
|
|
3368
3368
|
"typeName": {
|
|
3369
|
-
"id":
|
|
3369
|
+
"id": 20405,
|
|
3370
3370
|
"name": "uint256",
|
|
3371
3371
|
"nodeType": "ElementaryTypeName",
|
|
3372
3372
|
"src": "11375:7:50",
|
|
@@ -3379,13 +3379,13 @@
|
|
|
3379
3379
|
},
|
|
3380
3380
|
{
|
|
3381
3381
|
"constant": false,
|
|
3382
|
-
"id":
|
|
3382
|
+
"id": 20408,
|
|
3383
3383
|
"indexed": false,
|
|
3384
3384
|
"mutability": "mutable",
|
|
3385
3385
|
"name": "targetAccountBalanceDelta",
|
|
3386
3386
|
"nameLocation": "11412:25:50",
|
|
3387
3387
|
"nodeType": "VariableDeclaration",
|
|
3388
|
-
"scope":
|
|
3388
|
+
"scope": 20412,
|
|
3389
3389
|
"src": "11405:32:50",
|
|
3390
3390
|
"stateVariable": false,
|
|
3391
3391
|
"storageLocation": "default",
|
|
@@ -3394,7 +3394,7 @@
|
|
|
3394
3394
|
"typeString": "int256"
|
|
3395
3395
|
},
|
|
3396
3396
|
"typeName": {
|
|
3397
|
-
"id":
|
|
3397
|
+
"id": 20407,
|
|
3398
3398
|
"name": "int256",
|
|
3399
3399
|
"nodeType": "ElementaryTypeName",
|
|
3400
3400
|
"src": "11405:6:50",
|
|
@@ -3407,13 +3407,13 @@
|
|
|
3407
3407
|
},
|
|
3408
3408
|
{
|
|
3409
3409
|
"constant": false,
|
|
3410
|
-
"id":
|
|
3410
|
+
"id": 20410,
|
|
3411
3411
|
"indexed": false,
|
|
3412
3412
|
"mutability": "mutable",
|
|
3413
3413
|
"name": "liquidationTypeData",
|
|
3414
3414
|
"nameLocation": "11453:19:50",
|
|
3415
3415
|
"nodeType": "VariableDeclaration",
|
|
3416
|
-
"scope":
|
|
3416
|
+
"scope": 20412,
|
|
3417
3417
|
"src": "11447:25:50",
|
|
3418
3418
|
"stateVariable": false,
|
|
3419
3419
|
"storageLocation": "default",
|
|
@@ -3422,7 +3422,7 @@
|
|
|
3422
3422
|
"typeString": "bytes"
|
|
3423
3423
|
},
|
|
3424
3424
|
"typeName": {
|
|
3425
|
-
"id":
|
|
3425
|
+
"id": 20409,
|
|
3426
3426
|
"name": "bytes",
|
|
3427
3427
|
"nodeType": "ElementaryTypeName",
|
|
3428
3428
|
"src": "11447:5:50",
|
|
@@ -3441,29 +3441,29 @@
|
|
|
3441
3441
|
{
|
|
3442
3442
|
"anonymous": false,
|
|
3443
3443
|
"documentation": {
|
|
3444
|
-
"id":
|
|
3444
|
+
"id": 20413,
|
|
3445
3445
|
"nodeType": "StructuredDocumentation",
|
|
3446
3446
|
"src": "12291:435:50",
|
|
3447
3447
|
"text": " @dev Agreement liquidation event (DEPRECATED BY AgreementLiquidatedBy)\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param penaltyAccount Account of the agreement to be penalized\n @param rewardAccount Account that collect the reward\n @param rewardAmount Amount of liquidation reward\n @custom:deprecated Use AgreementLiquidatedV2 instead"
|
|
3448
3448
|
},
|
|
3449
3449
|
"eventSelector": "8505c3d8f1f184f032cf0bc4cd80ee61c8b9d94f8907c3281bf0101a2610fe80",
|
|
3450
|
-
"id":
|
|
3450
|
+
"id": 20425,
|
|
3451
3451
|
"name": "AgreementLiquidated",
|
|
3452
3452
|
"nameLocation": "12737:19:50",
|
|
3453
3453
|
"nodeType": "EventDefinition",
|
|
3454
3454
|
"parameters": {
|
|
3455
|
-
"id":
|
|
3455
|
+
"id": 20424,
|
|
3456
3456
|
"nodeType": "ParameterList",
|
|
3457
3457
|
"parameters": [
|
|
3458
3458
|
{
|
|
3459
3459
|
"constant": false,
|
|
3460
|
-
"id":
|
|
3460
|
+
"id": 20415,
|
|
3461
3461
|
"indexed": true,
|
|
3462
3462
|
"mutability": "mutable",
|
|
3463
3463
|
"name": "agreementClass",
|
|
3464
3464
|
"nameLocation": "12782:14:50",
|
|
3465
3465
|
"nodeType": "VariableDeclaration",
|
|
3466
|
-
"scope":
|
|
3466
|
+
"scope": 20425,
|
|
3467
3467
|
"src": "12766:30:50",
|
|
3468
3468
|
"stateVariable": false,
|
|
3469
3469
|
"storageLocation": "default",
|
|
@@ -3472,7 +3472,7 @@
|
|
|
3472
3472
|
"typeString": "address"
|
|
3473
3473
|
},
|
|
3474
3474
|
"typeName": {
|
|
3475
|
-
"id":
|
|
3475
|
+
"id": 20414,
|
|
3476
3476
|
"name": "address",
|
|
3477
3477
|
"nodeType": "ElementaryTypeName",
|
|
3478
3478
|
"src": "12766:7:50",
|
|
@@ -3486,13 +3486,13 @@
|
|
|
3486
3486
|
},
|
|
3487
3487
|
{
|
|
3488
3488
|
"constant": false,
|
|
3489
|
-
"id":
|
|
3489
|
+
"id": 20417,
|
|
3490
3490
|
"indexed": false,
|
|
3491
3491
|
"mutability": "mutable",
|
|
3492
3492
|
"name": "id",
|
|
3493
3493
|
"nameLocation": "12814:2:50",
|
|
3494
3494
|
"nodeType": "VariableDeclaration",
|
|
3495
|
-
"scope":
|
|
3495
|
+
"scope": 20425,
|
|
3496
3496
|
"src": "12806:10:50",
|
|
3497
3497
|
"stateVariable": false,
|
|
3498
3498
|
"storageLocation": "default",
|
|
@@ -3501,7 +3501,7 @@
|
|
|
3501
3501
|
"typeString": "bytes32"
|
|
3502
3502
|
},
|
|
3503
3503
|
"typeName": {
|
|
3504
|
-
"id":
|
|
3504
|
+
"id": 20416,
|
|
3505
3505
|
"name": "bytes32",
|
|
3506
3506
|
"nodeType": "ElementaryTypeName",
|
|
3507
3507
|
"src": "12806:7:50",
|
|
@@ -3514,13 +3514,13 @@
|
|
|
3514
3514
|
},
|
|
3515
3515
|
{
|
|
3516
3516
|
"constant": false,
|
|
3517
|
-
"id":
|
|
3517
|
+
"id": 20419,
|
|
3518
3518
|
"indexed": true,
|
|
3519
3519
|
"mutability": "mutable",
|
|
3520
3520
|
"name": "penaltyAccount",
|
|
3521
3521
|
"nameLocation": "12842:14:50",
|
|
3522
3522
|
"nodeType": "VariableDeclaration",
|
|
3523
|
-
"scope":
|
|
3523
|
+
"scope": 20425,
|
|
3524
3524
|
"src": "12826:30:50",
|
|
3525
3525
|
"stateVariable": false,
|
|
3526
3526
|
"storageLocation": "default",
|
|
@@ -3529,7 +3529,7 @@
|
|
|
3529
3529
|
"typeString": "address"
|
|
3530
3530
|
},
|
|
3531
3531
|
"typeName": {
|
|
3532
|
-
"id":
|
|
3532
|
+
"id": 20418,
|
|
3533
3533
|
"name": "address",
|
|
3534
3534
|
"nodeType": "ElementaryTypeName",
|
|
3535
3535
|
"src": "12826:7:50",
|
|
@@ -3543,13 +3543,13 @@
|
|
|
3543
3543
|
},
|
|
3544
3544
|
{
|
|
3545
3545
|
"constant": false,
|
|
3546
|
-
"id":
|
|
3546
|
+
"id": 20421,
|
|
3547
3547
|
"indexed": true,
|
|
3548
3548
|
"mutability": "mutable",
|
|
3549
3549
|
"name": "rewardAccount",
|
|
3550
3550
|
"nameLocation": "12882:13:50",
|
|
3551
3551
|
"nodeType": "VariableDeclaration",
|
|
3552
|
-
"scope":
|
|
3552
|
+
"scope": 20425,
|
|
3553
3553
|
"src": "12866:29:50",
|
|
3554
3554
|
"stateVariable": false,
|
|
3555
3555
|
"storageLocation": "default",
|
|
@@ -3558,7 +3558,7 @@
|
|
|
3558
3558
|
"typeString": "address"
|
|
3559
3559
|
},
|
|
3560
3560
|
"typeName": {
|
|
3561
|
-
"id":
|
|
3561
|
+
"id": 20420,
|
|
3562
3562
|
"name": "address",
|
|
3563
3563
|
"nodeType": "ElementaryTypeName",
|
|
3564
3564
|
"src": "12866:7:50",
|
|
@@ -3572,13 +3572,13 @@
|
|
|
3572
3572
|
},
|
|
3573
3573
|
{
|
|
3574
3574
|
"constant": false,
|
|
3575
|
-
"id":
|
|
3575
|
+
"id": 20423,
|
|
3576
3576
|
"indexed": false,
|
|
3577
3577
|
"mutability": "mutable",
|
|
3578
3578
|
"name": "rewardAmount",
|
|
3579
3579
|
"nameLocation": "12913:12:50",
|
|
3580
3580
|
"nodeType": "VariableDeclaration",
|
|
3581
|
-
"scope":
|
|
3581
|
+
"scope": 20425,
|
|
3582
3582
|
"src": "12905:20:50",
|
|
3583
3583
|
"stateVariable": false,
|
|
3584
3584
|
"storageLocation": "default",
|
|
@@ -3587,7 +3587,7 @@
|
|
|
3587
3587
|
"typeString": "uint256"
|
|
3588
3588
|
},
|
|
3589
3589
|
"typeName": {
|
|
3590
|
-
"id":
|
|
3590
|
+
"id": 20422,
|
|
3591
3591
|
"name": "uint256",
|
|
3592
3592
|
"nodeType": "ElementaryTypeName",
|
|
3593
3593
|
"src": "12905:7:50",
|
|
@@ -3606,29 +3606,29 @@
|
|
|
3606
3606
|
{
|
|
3607
3607
|
"anonymous": false,
|
|
3608
3608
|
"documentation": {
|
|
3609
|
-
"id":
|
|
3609
|
+
"id": 20426,
|
|
3610
3610
|
"nodeType": "StructuredDocumentation",
|
|
3611
3611
|
"src": "12938:276:50",
|
|
3612
3612
|
"text": " @dev System bailout occurred (DEPRECATED BY AgreementLiquidatedBy)\n @param bailoutAccount Account that bailout the penalty account\n @param bailoutAmount Amount of account bailout\n @custom:deprecated Use AgreementLiquidatedV2 instead"
|
|
3613
3613
|
},
|
|
3614
3614
|
"eventSelector": "d6c9a04afc81e8c614310bbee6c9e84f5abe15b82038bf8347014ce0852e6ffd",
|
|
3615
|
-
"id":
|
|
3615
|
+
"id": 20432,
|
|
3616
3616
|
"name": "Bailout",
|
|
3617
3617
|
"nameLocation": "13225:7:50",
|
|
3618
3618
|
"nodeType": "EventDefinition",
|
|
3619
3619
|
"parameters": {
|
|
3620
|
-
"id":
|
|
3620
|
+
"id": 20431,
|
|
3621
3621
|
"nodeType": "ParameterList",
|
|
3622
3622
|
"parameters": [
|
|
3623
3623
|
{
|
|
3624
3624
|
"constant": false,
|
|
3625
|
-
"id":
|
|
3625
|
+
"id": 20428,
|
|
3626
3626
|
"indexed": true,
|
|
3627
3627
|
"mutability": "mutable",
|
|
3628
3628
|
"name": "bailoutAccount",
|
|
3629
3629
|
"nameLocation": "13258:14:50",
|
|
3630
3630
|
"nodeType": "VariableDeclaration",
|
|
3631
|
-
"scope":
|
|
3631
|
+
"scope": 20432,
|
|
3632
3632
|
"src": "13242:30:50",
|
|
3633
3633
|
"stateVariable": false,
|
|
3634
3634
|
"storageLocation": "default",
|
|
@@ -3637,7 +3637,7 @@
|
|
|
3637
3637
|
"typeString": "address"
|
|
3638
3638
|
},
|
|
3639
3639
|
"typeName": {
|
|
3640
|
-
"id":
|
|
3640
|
+
"id": 20427,
|
|
3641
3641
|
"name": "address",
|
|
3642
3642
|
"nodeType": "ElementaryTypeName",
|
|
3643
3643
|
"src": "13242:7:50",
|
|
@@ -3651,13 +3651,13 @@
|
|
|
3651
3651
|
},
|
|
3652
3652
|
{
|
|
3653
3653
|
"constant": false,
|
|
3654
|
-
"id":
|
|
3654
|
+
"id": 20430,
|
|
3655
3655
|
"indexed": false,
|
|
3656
3656
|
"mutability": "mutable",
|
|
3657
3657
|
"name": "bailoutAmount",
|
|
3658
3658
|
"nameLocation": "13290:13:50",
|
|
3659
3659
|
"nodeType": "VariableDeclaration",
|
|
3660
|
-
"scope":
|
|
3660
|
+
"scope": 20432,
|
|
3661
3661
|
"src": "13282:21:50",
|
|
3662
3662
|
"stateVariable": false,
|
|
3663
3663
|
"storageLocation": "default",
|
|
@@ -3666,7 +3666,7 @@
|
|
|
3666
3666
|
"typeString": "uint256"
|
|
3667
3667
|
},
|
|
3668
3668
|
"typeName": {
|
|
3669
|
-
"id":
|
|
3669
|
+
"id": 20429,
|
|
3670
3670
|
"name": "uint256",
|
|
3671
3671
|
"nodeType": "ElementaryTypeName",
|
|
3672
3672
|
"src": "13282:7:50",
|
|
@@ -3685,29 +3685,29 @@
|
|
|
3685
3685
|
{
|
|
3686
3686
|
"anonymous": false,
|
|
3687
3687
|
"documentation": {
|
|
3688
|
-
"id":
|
|
3688
|
+
"id": 20433,
|
|
3689
3689
|
"nodeType": "StructuredDocumentation",
|
|
3690
3690
|
"src": "13316:1082:50",
|
|
3691
3691
|
"text": " @dev Agreement liquidation event (DEPRECATED BY AgreementLiquidatedV2)\n @param liquidatorAccount Account of the agent that performed the liquidation.\n @param agreementClass Contract address of the agreement\n @param id Agreement ID\n @param penaltyAccount Account of the agreement to be penalized\n @param bondAccount Account that collect the reward or bailout accounts\n @param rewardAmount Amount of liquidation reward\n @param bailoutAmount Amount of liquidation bailouot\n @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."
|
|
3692
3692
|
},
|
|
3693
3693
|
"eventSelector": "5f22b60e58b1d6de858bc27c48d5a4653e052da99e083c1d88bb8c58e1abc8ef",
|
|
3694
|
-
"id":
|
|
3694
|
+
"id": 20449,
|
|
3695
3695
|
"name": "AgreementLiquidatedBy",
|
|
3696
3696
|
"nameLocation": "14409:21:50",
|
|
3697
3697
|
"nodeType": "EventDefinition",
|
|
3698
3698
|
"parameters": {
|
|
3699
|
-
"id":
|
|
3699
|
+
"id": 20448,
|
|
3700
3700
|
"nodeType": "ParameterList",
|
|
3701
3701
|
"parameters": [
|
|
3702
3702
|
{
|
|
3703
3703
|
"constant": false,
|
|
3704
|
-
"id":
|
|
3704
|
+
"id": 20435,
|
|
3705
3705
|
"indexed": false,
|
|
3706
3706
|
"mutability": "mutable",
|
|
3707
3707
|
"name": "liquidatorAccount",
|
|
3708
3708
|
"nameLocation": "14448:17:50",
|
|
3709
3709
|
"nodeType": "VariableDeclaration",
|
|
3710
|
-
"scope":
|
|
3710
|
+
"scope": 20449,
|
|
3711
3711
|
"src": "14440:25:50",
|
|
3712
3712
|
"stateVariable": false,
|
|
3713
3713
|
"storageLocation": "default",
|
|
@@ -3716,7 +3716,7 @@
|
|
|
3716
3716
|
"typeString": "address"
|
|
3717
3717
|
},
|
|
3718
3718
|
"typeName": {
|
|
3719
|
-
"id":
|
|
3719
|
+
"id": 20434,
|
|
3720
3720
|
"name": "address",
|
|
3721
3721
|
"nodeType": "ElementaryTypeName",
|
|
3722
3722
|
"src": "14440:7:50",
|
|
@@ -3730,13 +3730,13 @@
|
|
|
3730
3730
|
},
|
|
3731
3731
|
{
|
|
3732
3732
|
"constant": false,
|
|
3733
|
-
"id":
|
|
3733
|
+
"id": 20437,
|
|
3734
3734
|
"indexed": true,
|
|
3735
3735
|
"mutability": "mutable",
|
|
3736
3736
|
"name": "agreementClass",
|
|
3737
3737
|
"nameLocation": "14491:14:50",
|
|
3738
3738
|
"nodeType": "VariableDeclaration",
|
|
3739
|
-
"scope":
|
|
3739
|
+
"scope": 20449,
|
|
3740
3740
|
"src": "14475:30:50",
|
|
3741
3741
|
"stateVariable": false,
|
|
3742
3742
|
"storageLocation": "default",
|
|
@@ -3745,7 +3745,7 @@
|
|
|
3745
3745
|
"typeString": "address"
|
|
3746
3746
|
},
|
|
3747
3747
|
"typeName": {
|
|
3748
|
-
"id":
|
|
3748
|
+
"id": 20436,
|
|
3749
3749
|
"name": "address",
|
|
3750
3750
|
"nodeType": "ElementaryTypeName",
|
|
3751
3751
|
"src": "14475:7:50",
|
|
@@ -3759,13 +3759,13 @@
|
|
|
3759
3759
|
},
|
|
3760
3760
|
{
|
|
3761
3761
|
"constant": false,
|
|
3762
|
-
"id":
|
|
3762
|
+
"id": 20439,
|
|
3763
3763
|
"indexed": false,
|
|
3764
3764
|
"mutability": "mutable",
|
|
3765
3765
|
"name": "id",
|
|
3766
3766
|
"nameLocation": "14523:2:50",
|
|
3767
3767
|
"nodeType": "VariableDeclaration",
|
|
3768
|
-
"scope":
|
|
3768
|
+
"scope": 20449,
|
|
3769
3769
|
"src": "14515:10:50",
|
|
3770
3770
|
"stateVariable": false,
|
|
3771
3771
|
"storageLocation": "default",
|
|
@@ -3774,7 +3774,7 @@
|
|
|
3774
3774
|
"typeString": "bytes32"
|
|
3775
3775
|
},
|
|
3776
3776
|
"typeName": {
|
|
3777
|
-
"id":
|
|
3777
|
+
"id": 20438,
|
|
3778
3778
|
"name": "bytes32",
|
|
3779
3779
|
"nodeType": "ElementaryTypeName",
|
|
3780
3780
|
"src": "14515:7:50",
|
|
@@ -3787,13 +3787,13 @@
|
|
|
3787
3787
|
},
|
|
3788
3788
|
{
|
|
3789
3789
|
"constant": false,
|
|
3790
|
-
"id":
|
|
3790
|
+
"id": 20441,
|
|
3791
3791
|
"indexed": true,
|
|
3792
3792
|
"mutability": "mutable",
|
|
3793
3793
|
"name": "penaltyAccount",
|
|
3794
3794
|
"nameLocation": "14551:14:50",
|
|
3795
3795
|
"nodeType": "VariableDeclaration",
|
|
3796
|
-
"scope":
|
|
3796
|
+
"scope": 20449,
|
|
3797
3797
|
"src": "14535:30:50",
|
|
3798
3798
|
"stateVariable": false,
|
|
3799
3799
|
"storageLocation": "default",
|
|
@@ -3802,7 +3802,7 @@
|
|
|
3802
3802
|
"typeString": "address"
|
|
3803
3803
|
},
|
|
3804
3804
|
"typeName": {
|
|
3805
|
-
"id":
|
|
3805
|
+
"id": 20440,
|
|
3806
3806
|
"name": "address",
|
|
3807
3807
|
"nodeType": "ElementaryTypeName",
|
|
3808
3808
|
"src": "14535:7:50",
|
|
@@ -3816,13 +3816,13 @@
|
|
|
3816
3816
|
},
|
|
3817
3817
|
{
|
|
3818
3818
|
"constant": false,
|
|
3819
|
-
"id":
|
|
3819
|
+
"id": 20443,
|
|
3820
3820
|
"indexed": true,
|
|
3821
3821
|
"mutability": "mutable",
|
|
3822
3822
|
"name": "bondAccount",
|
|
3823
3823
|
"nameLocation": "14591:11:50",
|
|
3824
3824
|
"nodeType": "VariableDeclaration",
|
|
3825
|
-
"scope":
|
|
3825
|
+
"scope": 20449,
|
|
3826
3826
|
"src": "14575:27:50",
|
|
3827
3827
|
"stateVariable": false,
|
|
3828
3828
|
"storageLocation": "default",
|
|
@@ -3831,7 +3831,7 @@
|
|
|
3831
3831
|
"typeString": "address"
|
|
3832
3832
|
},
|
|
3833
3833
|
"typeName": {
|
|
3834
|
-
"id":
|
|
3834
|
+
"id": 20442,
|
|
3835
3835
|
"name": "address",
|
|
3836
3836
|
"nodeType": "ElementaryTypeName",
|
|
3837
3837
|
"src": "14575:7:50",
|
|
@@ -3845,13 +3845,13 @@
|
|
|
3845
3845
|
},
|
|
3846
3846
|
{
|
|
3847
3847
|
"constant": false,
|
|
3848
|
-
"id":
|
|
3848
|
+
"id": 20445,
|
|
3849
3849
|
"indexed": false,
|
|
3850
3850
|
"mutability": "mutable",
|
|
3851
3851
|
"name": "rewardAmount",
|
|
3852
3852
|
"nameLocation": "14620:12:50",
|
|
3853
3853
|
"nodeType": "VariableDeclaration",
|
|
3854
|
-
"scope":
|
|
3854
|
+
"scope": 20449,
|
|
3855
3855
|
"src": "14612:20:50",
|
|
3856
3856
|
"stateVariable": false,
|
|
3857
3857
|
"storageLocation": "default",
|
|
@@ -3860,7 +3860,7 @@
|
|
|
3860
3860
|
"typeString": "uint256"
|
|
3861
3861
|
},
|
|
3862
3862
|
"typeName": {
|
|
3863
|
-
"id":
|
|
3863
|
+
"id": 20444,
|
|
3864
3864
|
"name": "uint256",
|
|
3865
3865
|
"nodeType": "ElementaryTypeName",
|
|
3866
3866
|
"src": "14612:7:50",
|
|
@@ -3873,13 +3873,13 @@
|
|
|
3873
3873
|
},
|
|
3874
3874
|
{
|
|
3875
3875
|
"constant": false,
|
|
3876
|
-
"id":
|
|
3876
|
+
"id": 20447,
|
|
3877
3877
|
"indexed": false,
|
|
3878
3878
|
"mutability": "mutable",
|
|
3879
3879
|
"name": "bailoutAmount",
|
|
3880
3880
|
"nameLocation": "14650:13:50",
|
|
3881
3881
|
"nodeType": "VariableDeclaration",
|
|
3882
|
-
"scope":
|
|
3882
|
+
"scope": 20449,
|
|
3883
3883
|
"src": "14642:21:50",
|
|
3884
3884
|
"stateVariable": false,
|
|
3885
3885
|
"storageLocation": "default",
|
|
@@ -3888,7 +3888,7 @@
|
|
|
3888
3888
|
"typeString": "uint256"
|
|
3889
3889
|
},
|
|
3890
3890
|
"typeName": {
|
|
3891
|
-
"id":
|
|
3891
|
+
"id": 20446,
|
|
3892
3892
|
"name": "uint256",
|
|
3893
3893
|
"nodeType": "ElementaryTypeName",
|
|
3894
3894
|
"src": "14642:7:50",
|
|
@@ -3905,7 +3905,7 @@
|
|
|
3905
3905
|
"src": "14403:267:50"
|
|
3906
3906
|
}
|
|
3907
3907
|
],
|
|
3908
|
-
"scope":
|
|
3908
|
+
"scope": 20451,
|
|
3909
3909
|
"src": "188:14484:50",
|
|
3910
3910
|
"usedErrors": []
|
|
3911
3911
|
}
|
|
@@ -3918,7 +3918,7 @@
|
|
|
3918
3918
|
},
|
|
3919
3919
|
"networks": {},
|
|
3920
3920
|
"schemaVersion": "3.4.8",
|
|
3921
|
-
"updatedAt": "2022-08-
|
|
3921
|
+
"updatedAt": "2022-08-15T13:14:01.739Z",
|
|
3922
3922
|
"devdoc": {
|
|
3923
3923
|
"author": "Superfluid",
|
|
3924
3924
|
"events": {
|