arc402 0.2.0__py3-none-any.whl
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.
- arc402/__init__.py +123 -0
- arc402/abis.py +2060 -0
- arc402/agent.py +156 -0
- arc402/agreement.py +337 -0
- arc402/bundler.py +155 -0
- arc402/capability.py +45 -0
- arc402/context.py +29 -0
- arc402/dispute_arbitration.py +253 -0
- arc402/exceptions.py +47 -0
- arc402/governance.py +43 -0
- arc402/intent.py +86 -0
- arc402/policy.py +135 -0
- arc402/reputation.py +66 -0
- arc402/session_channels.py +143 -0
- arc402/settlement.py +98 -0
- arc402/sponsorship.py +91 -0
- arc402/trust.py +143 -0
- arc402/types.py +615 -0
- arc402/wallet.py +147 -0
- arc402-0.2.0.dist-info/METADATA +260 -0
- arc402-0.2.0.dist-info/RECORD +22 -0
- arc402-0.2.0.dist-info/WHEEL +4 -0
arc402/__init__.py
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"""ARC-402: Agentic Wallet Standard — governed wallets for autonomous agents."""
|
|
2
|
+
|
|
3
|
+
from .agent import AgentInfo, AgentRegistryClient
|
|
4
|
+
from .agreement import ServiceAgreementClient
|
|
5
|
+
from .bundler import BundlerClient, UserOperation, build_user_op, DEFAULT_ENTRY_POINT, DEFAULT_BUNDLER_URL
|
|
6
|
+
from .dispute_arbitration import DisputeArbitrationClient
|
|
7
|
+
from .capability import CapabilityRegistryClient
|
|
8
|
+
from .context import ContextBinding as Context
|
|
9
|
+
from .exceptions import (
|
|
10
|
+
ARC402Error,
|
|
11
|
+
AttestationNotFound,
|
|
12
|
+
ContextAlreadyOpen,
|
|
13
|
+
ContextNotOpen,
|
|
14
|
+
NetworkNotSupported,
|
|
15
|
+
PolicyViolation,
|
|
16
|
+
TransactionFailed,
|
|
17
|
+
TrustInsufficient,
|
|
18
|
+
)
|
|
19
|
+
from .governance import ARC402GovernanceClient
|
|
20
|
+
from .intent import IntentAttestation as Intent
|
|
21
|
+
from .policy import PolicyClient as Policy
|
|
22
|
+
from .reputation import ReputationOracleClient
|
|
23
|
+
from .settlement import MultiAgentSettlement as Settlement
|
|
24
|
+
from .sponsorship import SponsorshipAttestationClient
|
|
25
|
+
from .trust import TrustClient as Trust
|
|
26
|
+
from .types import (
|
|
27
|
+
Agreement,
|
|
28
|
+
AgreementStatus,
|
|
29
|
+
ArbitratorBondState,
|
|
30
|
+
ArbitrationCase,
|
|
31
|
+
ArbitrationVote,
|
|
32
|
+
DisputeClass,
|
|
33
|
+
DisputeFeeState,
|
|
34
|
+
DisputeMode,
|
|
35
|
+
AttestationRecord,
|
|
36
|
+
CapabilitySlot,
|
|
37
|
+
DisputeCase,
|
|
38
|
+
DisputeEvidence,
|
|
39
|
+
DisputeOutcome,
|
|
40
|
+
EvidenceType,
|
|
41
|
+
GovernanceTransaction,
|
|
42
|
+
IdentityTier,
|
|
43
|
+
OperationalMetrics,
|
|
44
|
+
PolicyConfig,
|
|
45
|
+
ProviderResponseType,
|
|
46
|
+
RemediationCase,
|
|
47
|
+
RemediationFeedback,
|
|
48
|
+
RemediationResponse,
|
|
49
|
+
ReputationSignal,
|
|
50
|
+
ReputationSummary,
|
|
51
|
+
RootConfig,
|
|
52
|
+
SettlementProposal,
|
|
53
|
+
SignalType,
|
|
54
|
+
SponsorshipAttestationRecord,
|
|
55
|
+
TrustProfile,
|
|
56
|
+
TrustScore,
|
|
57
|
+
)
|
|
58
|
+
from .wallet import ARC402Wallet
|
|
59
|
+
|
|
60
|
+
ARC402Operator = ARC402Wallet
|
|
61
|
+
|
|
62
|
+
__all__ = [
|
|
63
|
+
"ARC402Wallet",
|
|
64
|
+
"ARC402Operator",
|
|
65
|
+
"Policy",
|
|
66
|
+
"Context",
|
|
67
|
+
"Trust",
|
|
68
|
+
"Intent",
|
|
69
|
+
"Settlement",
|
|
70
|
+
"AgentRegistryClient",
|
|
71
|
+
"AgentInfo",
|
|
72
|
+
"BundlerClient",
|
|
73
|
+
"UserOperation",
|
|
74
|
+
"build_user_op",
|
|
75
|
+
"DEFAULT_ENTRY_POINT",
|
|
76
|
+
"DEFAULT_BUNDLER_URL",
|
|
77
|
+
"ServiceAgreementClient",
|
|
78
|
+
"DisputeArbitrationClient",
|
|
79
|
+
"DisputeMode",
|
|
80
|
+
"DisputeClass",
|
|
81
|
+
"DisputeFeeState",
|
|
82
|
+
"ArbitratorBondState",
|
|
83
|
+
"CapabilityRegistryClient",
|
|
84
|
+
"ARC402GovernanceClient",
|
|
85
|
+
"ReputationOracleClient",
|
|
86
|
+
"SponsorshipAttestationClient",
|
|
87
|
+
"TrustScore",
|
|
88
|
+
"TrustProfile",
|
|
89
|
+
"CapabilitySlot",
|
|
90
|
+
"AttestationRecord",
|
|
91
|
+
"PolicyConfig",
|
|
92
|
+
"SettlementProposal",
|
|
93
|
+
"Agreement",
|
|
94
|
+
"AgreementStatus",
|
|
95
|
+
"ArbitrationCase",
|
|
96
|
+
"ArbitrationVote",
|
|
97
|
+
"ProviderResponseType",
|
|
98
|
+
"DisputeOutcome",
|
|
99
|
+
"EvidenceType",
|
|
100
|
+
"RemediationCase",
|
|
101
|
+
"RemediationFeedback",
|
|
102
|
+
"RemediationResponse",
|
|
103
|
+
"DisputeCase",
|
|
104
|
+
"DisputeEvidence",
|
|
105
|
+
"ReputationSignal",
|
|
106
|
+
"ReputationSummary",
|
|
107
|
+
"SignalType",
|
|
108
|
+
"SponsorshipAttestationRecord",
|
|
109
|
+
"IdentityTier",
|
|
110
|
+
"RootConfig",
|
|
111
|
+
"GovernanceTransaction",
|
|
112
|
+
"OperationalMetrics",
|
|
113
|
+
"ARC402Error",
|
|
114
|
+
"PolicyViolation",
|
|
115
|
+
"TrustInsufficient",
|
|
116
|
+
"ContextAlreadyOpen",
|
|
117
|
+
"ContextNotOpen",
|
|
118
|
+
"NetworkNotSupported",
|
|
119
|
+
"TransactionFailed",
|
|
120
|
+
"AttestationNotFound",
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
__version__ = "0.2.0"
|