feat: add ChainGetEvents to the gateway API (#11724)

This commit is contained in:
Aayush Rajasekaran 2024-03-15 10:27:21 -04:00 committed by GitHub
parent 018b7662d5
commit b7faf23f89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 626 additions and 505 deletions

View File

@ -133,4 +133,5 @@ type Gateway interface {
GetActorEvents(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error) GetActorEvents(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
SubscribeActorEvents(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error) SubscribeActorEvents(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error)
ChainGetEvents(context.Context, cid.Cid) ([]types.Event, error)
} }

View File

@ -653,6 +653,8 @@ type GatewayMethods struct {
ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*BlockMessages, error) `` ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*BlockMessages, error) ``
ChainGetEvents func(p0 context.Context, p1 cid.Cid) ([]types.Event, error) ``
ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) `` ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) ``
ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, error) `` ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, error) ``
@ -4280,6 +4282,17 @@ func (s *GatewayStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*Bl
return nil, ErrNotSupported return nil, ErrNotSupported
} }
func (s *GatewayStruct) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error) {
if s.Internal.ChainGetEvents == nil {
return *new([]types.Event), ErrNotSupported
}
return s.Internal.ChainGetEvents(p0, p1)
}
func (s *GatewayStub) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error) {
return *new([]types.Event), ErrNotSupported
}
func (s *GatewayStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error) { func (s *GatewayStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error) {
if s.Internal.ChainGetGenesis == nil { if s.Internal.ChainGetGenesis == nil {
return nil, ErrNotSupported return nil, ErrNotSupported

File diff suppressed because it is too large Load Diff

View File

@ -242,7 +242,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4261" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4263"
} }
}, },
{ {
@ -473,7 +473,106 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4272" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4274"
}
},
{
"name": "Filecoin.ChainGetEvents",
"description": "```go\nfunc (s *GatewayStruct) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error) {\n\tif s.Internal.ChainGetEvents == nil {\n\t\treturn *new([]types.Event), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetEvents(p0, p1)\n}\n```",
"summary": "There are not yet any comments for this method.",
"paramStructure": "by-position",
"params": [
{
"name": "p1",
"description": "cid.Cid",
"summary": "",
"schema": {
"title": "Content Identifier",
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
"examples": [
{
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
}
],
"type": [
"string"
]
},
"required": true,
"deprecated": false
}
],
"result": {
"name": "[]types.Event",
"description": "[]types.Event",
"summary": "",
"schema": {
"examples": [
[
{
"Emitter": 1000,
"Entries": [
{
"Flags": 7,
"Key": "string value",
"Codec": 42,
"Value": "Ynl0ZSBhcnJheQ=="
}
]
}
]
],
"items": [
{
"additionalProperties": false,
"properties": {
"Emitter": {
"title": "number",
"type": "number"
},
"Entries": {
"items": {
"additionalProperties": false,
"properties": {
"Codec": {
"title": "number",
"type": "number"
},
"Flags": {
"title": "number",
"type": "number"
},
"Key": {
"type": "string"
},
"Value": {
"media": {
"binaryEncoding": "base64"
},
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": [
"object"
]
}
],
"type": [
"array"
]
},
"required": true,
"deprecated": false
},
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4285"
} }
}, },
{ {
@ -505,7 +604,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4283" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4296"
} }
}, },
{ {
@ -611,7 +710,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4294" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4307"
} }
}, },
{ {
@ -704,7 +803,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4305" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4318"
} }
}, },
{ {
@ -788,7 +887,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4316" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4329"
} }
}, },
{ {
@ -888,7 +987,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4327" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4340"
} }
}, },
{ {
@ -944,7 +1043,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4338" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4351"
} }
}, },
{ {
@ -1017,7 +1116,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4349" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4362"
} }
}, },
{ {
@ -1090,7 +1189,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4360" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4373"
} }
}, },
{ {
@ -1137,7 +1236,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4371" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4384"
} }
}, },
{ {
@ -1169,7 +1268,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4382" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4395"
} }
}, },
{ {
@ -1206,7 +1305,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4404" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4417"
} }
}, },
{ {
@ -1253,7 +1352,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4415" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4428"
} }
}, },
{ {
@ -1293,7 +1392,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4426" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4439"
} }
}, },
{ {
@ -1340,7 +1439,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4437" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4450"
} }
}, },
{ {
@ -1369,7 +1468,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4448" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4461"
} }
}, },
{ {
@ -1506,7 +1605,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4459" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4472"
} }
}, },
{ {
@ -1535,7 +1634,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4470" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4483"
} }
}, },
{ {
@ -1589,7 +1688,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4481" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4494"
} }
}, },
{ {
@ -1680,7 +1779,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4492" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4505"
} }
}, },
{ {
@ -1708,7 +1807,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4503" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4516"
} }
}, },
{ {
@ -1798,7 +1897,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4514" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4527"
} }
}, },
{ {
@ -2054,7 +2153,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4525" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4538"
} }
}, },
{ {
@ -2299,7 +2398,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4536" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4549"
} }
}, },
{ {
@ -2355,7 +2454,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4547" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4560"
} }
}, },
{ {
@ -2402,7 +2501,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4558" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4571"
} }
}, },
{ {
@ -2500,7 +2599,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4569" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4582"
} }
}, },
{ {
@ -2566,7 +2665,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4580" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4593"
} }
}, },
{ {
@ -2632,7 +2731,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4591" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4604"
} }
}, },
{ {
@ -2741,7 +2840,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4602" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4615"
} }
}, },
{ {
@ -2799,7 +2898,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4613" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4626"
} }
}, },
{ {
@ -2921,7 +3020,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4624" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4637"
} }
}, },
{ {
@ -3108,7 +3207,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4635" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4648"
} }
}, },
{ {
@ -3312,7 +3411,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4646" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4659"
} }
}, },
{ {
@ -3403,7 +3502,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4657" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4670"
} }
}, },
{ {
@ -3461,7 +3560,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4668" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4681"
} }
}, },
{ {
@ -3719,7 +3818,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4679" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4692"
} }
}, },
{ {
@ -3994,7 +4093,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4690" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4703"
} }
}, },
{ {
@ -4022,7 +4121,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4701" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4714"
} }
}, },
{ {
@ -4060,7 +4159,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4712" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4725"
} }
}, },
{ {
@ -4168,7 +4267,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4723" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4736"
} }
}, },
{ {
@ -4206,7 +4305,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4734" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4747"
} }
}, },
{ {
@ -4235,7 +4334,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4745" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4758"
} }
}, },
{ {
@ -4298,7 +4397,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4756" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4769"
} }
}, },
{ {
@ -4361,7 +4460,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4767" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4780"
} }
}, },
{ {
@ -4406,7 +4505,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4778" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4791"
} }
}, },
{ {
@ -4528,7 +4627,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4789" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4802"
} }
}, },
{ {
@ -4683,7 +4782,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4800" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4813"
} }
}, },
{ {
@ -4737,7 +4836,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4811" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4824"
} }
}, },
{ {
@ -4791,7 +4890,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4822" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4835"
} }
}, },
{ {
@ -4893,7 +4992,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4833" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4846"
} }
}, },
{ {
@ -5116,7 +5215,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4844" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4857"
} }
}, },
{ {
@ -5299,7 +5398,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4855" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4868"
} }
}, },
{ {
@ -5493,7 +5592,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4866" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4879"
} }
}, },
{ {
@ -5539,7 +5638,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4877" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4890"
} }
}, },
{ {
@ -5689,7 +5788,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4888" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4901"
} }
}, },
{ {
@ -5826,7 +5925,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4899" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4912"
} }
}, },
{ {
@ -5894,7 +5993,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4910" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4923"
} }
}, },
{ {
@ -6011,7 +6110,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4921" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4934"
} }
}, },
{ {
@ -6102,7 +6201,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4932" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4945"
} }
}, },
{ {
@ -6188,7 +6287,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4943" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4956"
} }
}, },
{ {
@ -6215,7 +6314,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4954" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4967"
} }
}, },
{ {
@ -6242,7 +6341,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4965" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4978"
} }
}, },
{ {
@ -6310,7 +6409,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4976" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4989"
} }
}, },
{ {
@ -6816,7 +6915,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4987" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5000"
} }
}, },
{ {
@ -6913,7 +7012,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4998" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5011"
} }
}, },
{ {
@ -7013,7 +7112,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5009" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5022"
} }
}, },
{ {
@ -7113,7 +7212,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5020" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5033"
} }
}, },
{ {
@ -7238,7 +7337,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5031" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5044"
} }
}, },
{ {
@ -7347,7 +7446,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5042" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5055"
} }
}, },
{ {
@ -7450,7 +7549,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5053" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5066"
} }
}, },
{ {
@ -7580,7 +7679,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5064" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5077"
} }
}, },
{ {
@ -7687,7 +7786,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5075" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5088"
} }
}, },
{ {
@ -7748,7 +7847,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5086" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5099"
} }
}, },
{ {
@ -7816,7 +7915,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5097" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5110"
} }
}, },
{ {
@ -7897,7 +7996,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5108" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5121"
} }
}, },
{ {
@ -8056,7 +8155,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5119" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5132"
} }
}, },
{ {
@ -8149,7 +8248,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5130" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5143"
} }
}, },
{ {
@ -8350,7 +8449,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5141" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5154"
} }
}, },
{ {
@ -8461,7 +8560,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5152" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5165"
} }
}, },
{ {
@ -8592,7 +8691,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5163" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5176"
} }
}, },
{ {
@ -8678,7 +8777,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5174" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5187"
} }
}, },
{ {
@ -8705,7 +8804,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5185" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5198"
} }
}, },
{ {
@ -8758,7 +8857,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5196" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5209"
} }
}, },
{ {
@ -8846,7 +8945,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5207" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5220"
} }
}, },
{ {
@ -9297,7 +9396,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5218" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5231"
} }
}, },
{ {
@ -9464,7 +9563,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5229" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5242"
} }
}, },
{ {
@ -9637,7 +9736,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5240" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5253"
} }
}, },
{ {
@ -9705,7 +9804,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5251" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5264"
} }
}, },
{ {
@ -9773,7 +9872,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5262" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5275"
} }
}, },
{ {
@ -9934,7 +10033,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5273" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5286"
} }
}, },
{ {
@ -9979,7 +10078,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5295" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5308"
} }
}, },
{ {
@ -10024,7 +10123,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5306" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5319"
} }
}, },
{ {
@ -10051,7 +10150,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5317" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5330"
} }
} }
] ]

File diff suppressed because it is too large Load Diff

View File

@ -161,7 +161,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7253" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7266"
} }
}, },
{ {
@ -252,7 +252,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7264" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7277"
} }
}, },
{ {
@ -420,7 +420,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7275" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7288"
} }
}, },
{ {
@ -447,7 +447,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7286" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7299"
} }
}, },
{ {
@ -597,7 +597,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7297" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7310"
} }
}, },
{ {
@ -700,7 +700,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7308" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7321"
} }
}, },
{ {
@ -803,7 +803,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7319" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7332"
} }
}, },
{ {
@ -925,7 +925,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7330" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7343"
} }
}, },
{ {
@ -1135,7 +1135,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7341" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7354"
} }
}, },
{ {
@ -1306,7 +1306,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7352" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7365"
} }
}, },
{ {
@ -3350,7 +3350,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7363" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7376"
} }
}, },
{ {
@ -3470,7 +3470,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7374" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7387"
} }
}, },
{ {
@ -3531,7 +3531,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7385" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7398"
} }
}, },
{ {
@ -3569,7 +3569,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7396" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7409"
} }
}, },
{ {
@ -3729,7 +3729,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7407" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7420"
} }
}, },
{ {
@ -3913,7 +3913,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7418" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7431"
} }
}, },
{ {
@ -4054,7 +4054,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7429" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7442"
} }
}, },
{ {
@ -4107,7 +4107,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7440" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7453"
} }
}, },
{ {
@ -4250,7 +4250,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7451" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7464"
} }
}, },
{ {
@ -4474,7 +4474,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7462" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7475"
} }
}, },
{ {
@ -4601,7 +4601,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7473" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7486"
} }
}, },
{ {
@ -4768,7 +4768,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7484" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7497"
} }
}, },
{ {
@ -4895,7 +4895,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7495" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7508"
} }
}, },
{ {
@ -4933,7 +4933,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7506" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7519"
} }
}, },
{ {
@ -4972,7 +4972,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7517" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7530"
} }
}, },
{ {
@ -4995,7 +4995,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7528" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7541"
} }
}, },
{ {
@ -5034,7 +5034,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7539" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7552"
} }
}, },
{ {
@ -5057,7 +5057,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7550" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7563"
} }
}, },
{ {
@ -5096,7 +5096,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7561" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7574"
} }
}, },
{ {
@ -5130,7 +5130,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7572" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7585"
} }
}, },
{ {
@ -5184,7 +5184,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7583" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7596"
} }
}, },
{ {
@ -5223,7 +5223,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7594" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7607"
} }
}, },
{ {
@ -5262,7 +5262,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7605" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7618"
} }
}, },
{ {
@ -5297,7 +5297,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7616" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7629"
} }
}, },
{ {
@ -5477,7 +5477,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7627" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7640"
} }
}, },
{ {
@ -5506,7 +5506,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7638" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7651"
} }
}, },
{ {
@ -5529,7 +5529,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7649" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7662"
} }
} }
] ]

View File

@ -149,6 +149,7 @@ type TargetAPI interface {
GetActorEvents(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error) GetActorEvents(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
SubscribeActorEvents(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error) SubscribeActorEvents(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error)
ChainGetEvents(ctx context.Context, eventsRoot cid.Cid) ([]types.Event, error)
} }
var _ TargetAPI = *new(api.FullNode) // gateway depends on latest var _ TargetAPI = *new(api.FullNode) // gateway depends on latest

View File

@ -461,6 +461,13 @@ func (gw *Node) SubscribeActorEvents(ctx context.Context, filter *types.ActorEve
return gw.target.SubscribeActorEvents(ctx, filter) return gw.target.SubscribeActorEvents(ctx, filter)
} }
func (gw *Node) ChainGetEvents(ctx context.Context, eventsRoot cid.Cid) ([]types.Event, error) {
if err := gw.limit(ctx, chainRateLimitTokens); err != nil {
return nil, err
}
return gw.target.ChainGetEvents(ctx, eventsRoot)
}
func (gw *Node) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error) { func (gw *Node) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error) {
if err := gw.limit(ctx, stateRateLimitTokens); err != nil { if err := gw.limit(ctx, stateRateLimitTokens); err != nil {
return nil, err return nil, err