feat: add StateMinerDeadlines to gateway (#11700)

Add StateMinerDeadlines to gateway.

fixes #11693
This commit is contained in:
qwdsds 2024-03-15 03:12:02 +08:00 committed by GitHub
parent 277cbf9229
commit b909db394e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 611 additions and 504 deletions

View File

@ -77,6 +77,7 @@ type Gateway interface {
StateMarketBalance(ctx context.Context, addr address.Address, tsk types.TipSetKey) (MarketBalance, error)
StateMarketStorageDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*MarketDeal, error)
StateMinerInfo(ctx context.Context, actor address.Address, tsk types.TipSetKey) (MinerInfo, error)
StateMinerDeadlines(context.Context, address.Address, types.TipSetKey) ([]Deadline, error)
StateMinerProvingDeadline(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*dline.Info, error)
StateMinerPower(context.Context, address.Address, types.TipSetKey) (*MinerPower, error)
StateNetworkName(context.Context) (dtypes.NetworkName, error)

View File

@ -807,6 +807,8 @@ type GatewayMethods struct {
StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error) ``
StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) ``
StateMinerInfo func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error) ``
StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error) ``
@ -5125,6 +5127,17 @@ func (s *GatewayStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID,
return nil, ErrNotSupported
}
func (s *GatewayStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) {
if s.Internal.StateMinerDeadlines == nil {
return *new([]Deadline), ErrNotSupported
}
return s.Internal.StateMinerDeadlines(p0, p1, p2)
}
func (s *GatewayStub) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) {
return *new([]Deadline), ErrNotSupported
}
func (s *GatewayStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error) {
if s.Internal.StateMinerInfo == nil {
return *new(MinerInfo), ErrNotSupported

File diff suppressed because it is too large Load Diff

View File

@ -242,7 +242,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4259"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4261"
}
},
{
@ -473,7 +473,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4270"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4272"
}
},
{
@ -505,7 +505,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4281"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4283"
}
},
{
@ -611,7 +611,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4292"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4294"
}
},
{
@ -704,7 +704,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4303"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4305"
}
},
{
@ -788,7 +788,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4314"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4316"
}
},
{
@ -888,7 +888,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4325"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4327"
}
},
{
@ -944,7 +944,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4336"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4338"
}
},
{
@ -1017,7 +1017,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4347"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4349"
}
},
{
@ -1090,7 +1090,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4358"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4360"
}
},
{
@ -1137,7 +1137,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4369"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4371"
}
},
{
@ -1169,7 +1169,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4380"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4382"
}
},
{
@ -1206,7 +1206,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4402"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4404"
}
},
{
@ -1253,7 +1253,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4413"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4415"
}
},
{
@ -1293,7 +1293,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4424"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4426"
}
},
{
@ -1340,7 +1340,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4435"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4437"
}
},
{
@ -1369,7 +1369,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4446"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4448"
}
},
{
@ -1506,7 +1506,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4457"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4459"
}
},
{
@ -1535,7 +1535,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4468"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4470"
}
},
{
@ -1589,7 +1589,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4479"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4481"
}
},
{
@ -1680,7 +1680,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4490"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4492"
}
},
{
@ -1708,7 +1708,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4501"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4503"
}
},
{
@ -1798,7 +1798,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4512"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4514"
}
},
{
@ -2054,7 +2054,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4523"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4525"
}
},
{
@ -2299,7 +2299,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4534"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4536"
}
},
{
@ -2355,7 +2355,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4545"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4547"
}
},
{
@ -2402,7 +2402,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4556"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4558"
}
},
{
@ -2500,7 +2500,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4567"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4569"
}
},
{
@ -2566,7 +2566,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4578"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4580"
}
},
{
@ -2632,7 +2632,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4589"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4591"
}
},
{
@ -2741,7 +2741,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4600"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4602"
}
},
{
@ -2799,7 +2799,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4611"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4613"
}
},
{
@ -2921,7 +2921,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4622"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4624"
}
},
{
@ -3108,7 +3108,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4633"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4635"
}
},
{
@ -3312,7 +3312,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4644"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4646"
}
},
{
@ -3403,7 +3403,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4655"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4657"
}
},
{
@ -3461,7 +3461,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4666"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4668"
}
},
{
@ -3719,7 +3719,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4677"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4679"
}
},
{
@ -3994,7 +3994,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4688"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4690"
}
},
{
@ -4022,7 +4022,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4699"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4701"
}
},
{
@ -4060,7 +4060,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4710"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4712"
}
},
{
@ -4168,7 +4168,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4721"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4723"
}
},
{
@ -4206,7 +4206,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4732"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4734"
}
},
{
@ -4235,7 +4235,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4743"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4745"
}
},
{
@ -4298,7 +4298,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4754"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4756"
}
},
{
@ -4361,7 +4361,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4765"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4767"
}
},
{
@ -4406,7 +4406,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4776"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4778"
}
},
{
@ -4528,7 +4528,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4787"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4789"
}
},
{
@ -4683,7 +4683,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4798"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4800"
}
},
{
@ -4737,7 +4737,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4809"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4811"
}
},
{
@ -4791,7 +4791,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4820"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4822"
}
},
{
@ -4893,7 +4893,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4831"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4833"
}
},
{
@ -5116,7 +5116,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4842"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4844"
}
},
{
@ -5299,7 +5299,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4853"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4855"
}
},
{
@ -5493,7 +5493,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4864"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4866"
}
},
{
@ -5539,7 +5539,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4875"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4877"
}
},
{
@ -5689,7 +5689,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4886"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4888"
}
},
{
@ -5826,7 +5826,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4897"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4899"
}
},
{
@ -5894,7 +5894,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4908"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4910"
}
},
{
@ -6011,7 +6011,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4919"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4921"
}
},
{
@ -6102,7 +6102,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4930"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4932"
}
},
{
@ -6188,7 +6188,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4941"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4943"
}
},
{
@ -6215,7 +6215,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4952"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4954"
}
},
{
@ -6242,7 +6242,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4963"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4965"
}
},
{
@ -6310,7 +6310,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4974"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4976"
}
},
{
@ -6816,7 +6816,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4985"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4987"
}
},
{
@ -6913,7 +6913,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4996"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4998"
}
},
{
@ -7013,7 +7013,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5007"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5009"
}
},
{
@ -7113,7 +7113,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5018"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5020"
}
},
{
@ -7238,7 +7238,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5029"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5031"
}
},
{
@ -7347,7 +7347,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5040"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5042"
}
},
{
@ -7450,7 +7450,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5051"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5053"
}
},
{
@ -7580,7 +7580,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5062"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5064"
}
},
{
@ -7687,7 +7687,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5073"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5075"
}
},
{
@ -7748,7 +7748,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5084"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5086"
}
},
{
@ -7816,7 +7816,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5095"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5097"
}
},
{
@ -7897,7 +7897,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5106"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5108"
}
},
{
@ -8056,7 +8056,100 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5117"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5119"
}
},
{
"name": "Filecoin.StateMinerDeadlines",
"description": "```go\nfunc (s *GatewayStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) {\n\tif s.Internal.StateMinerDeadlines == nil {\n\t\treturn *new([]Deadline), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerDeadlines(p0, p1, p2)\n}\n```",
"summary": "There are not yet any comments for this method.",
"paramStructure": "by-position",
"params": [
{
"name": "p1",
"description": "address.Address",
"summary": "",
"schema": {
"examples": [
"f01234"
],
"additionalProperties": false,
"type": [
"object"
]
},
"required": true,
"deprecated": false
},
{
"name": "p2",
"description": "types.TipSetKey",
"summary": "",
"schema": {
"examples": [
[
{
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
},
{
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
}
]
],
"additionalProperties": false,
"type": [
"object"
]
},
"required": true,
"deprecated": false
}
],
"result": {
"name": "[]Deadline",
"description": "[]Deadline",
"summary": "",
"schema": {
"examples": [
[
{
"PostSubmissions": [
5,
1
],
"DisputableProofCount": 42
}
]
],
"items": [
{
"additionalProperties": false,
"properties": {
"DisputableProofCount": {
"title": "number",
"type": "number"
},
"PostSubmissions": {
"additionalProperties": false,
"type": "object"
}
},
"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#L5130"
}
},
{
@ -8257,7 +8350,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5128"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5141"
}
},
{
@ -8368,7 +8461,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5139"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5152"
}
},
{
@ -8499,7 +8592,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5150"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5163"
}
},
{
@ -8585,7 +8678,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5161"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5174"
}
},
{
@ -8612,7 +8705,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5172"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5185"
}
},
{
@ -8665,7 +8758,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5183"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5196"
}
},
{
@ -8753,7 +8846,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5194"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5207"
}
},
{
@ -9204,7 +9297,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5205"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5218"
}
},
{
@ -9371,7 +9464,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5216"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5229"
}
},
{
@ -9544,7 +9637,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5227"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5240"
}
},
{
@ -9612,7 +9705,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5238"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5251"
}
},
{
@ -9680,7 +9773,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5249"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5262"
}
},
{
@ -9841,7 +9934,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5260"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5273"
}
},
{
@ -9886,7 +9979,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5282"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5295"
}
},
{
@ -9931,7 +10024,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5293"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5306"
}
},
{
@ -9958,7 +10051,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5304"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5317"
}
}
]

File diff suppressed because it is too large Load Diff

View File

@ -161,7 +161,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7240"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7253"
}
},
{
@ -252,7 +252,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7251"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7264"
}
},
{
@ -420,7 +420,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7262"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7275"
}
},
{
@ -447,7 +447,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7273"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7286"
}
},
{
@ -597,7 +597,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7284"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7297"
}
},
{
@ -700,7 +700,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7295"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7308"
}
},
{
@ -803,7 +803,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7306"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7319"
}
},
{
@ -925,7 +925,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7317"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7330"
}
},
{
@ -1135,7 +1135,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7328"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7341"
}
},
{
@ -1306,7 +1306,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7339"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7352"
}
},
{
@ -3350,7 +3350,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7350"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7363"
}
},
{
@ -3470,7 +3470,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7361"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7374"
}
},
{
@ -3531,7 +3531,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7372"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7385"
}
},
{
@ -3569,7 +3569,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7383"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7396"
}
},
{
@ -3729,7 +3729,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7394"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7407"
}
},
{
@ -3913,7 +3913,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7405"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7418"
}
},
{
@ -4054,7 +4054,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7416"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7429"
}
},
{
@ -4107,7 +4107,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7427"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7440"
}
},
{
@ -4250,7 +4250,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7438"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7451"
}
},
{
@ -4474,7 +4474,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7449"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7462"
}
},
{
@ -4601,7 +4601,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7460"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7473"
}
},
{
@ -4768,7 +4768,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7471"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7484"
}
},
{
@ -4895,7 +4895,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7482"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7495"
}
},
{
@ -4933,7 +4933,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7493"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7506"
}
},
{
@ -4972,7 +4972,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7504"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7517"
}
},
{
@ -4995,7 +4995,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7515"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7528"
}
},
{
@ -5034,7 +5034,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7526"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7539"
}
},
{
@ -5057,7 +5057,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7537"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7550"
}
},
{
@ -5096,7 +5096,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7548"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7561"
}
},
{
@ -5130,7 +5130,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7559"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7572"
}
},
{
@ -5184,7 +5184,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7570"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7583"
}
},
{
@ -5223,7 +5223,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7581"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7594"
}
},
{
@ -5262,7 +5262,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7592"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7605"
}
},
{
@ -5297,7 +5297,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7603"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7616"
}
},
{
@ -5477,7 +5477,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7614"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7627"
}
},
{
@ -5506,7 +5506,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7625"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7638"
}
},
{
@ -5529,7 +5529,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7636"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7649"
}
}
]