v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
7 changed files with 653 additions and 506 deletions
Showing only changes of commit 75f7e4571e - Show all commits

View File

@ -91,6 +91,8 @@ type Gateway interface {
Version(context.Context) (APIVersion, error) Version(context.Context) (APIVersion, error)
Discover(context.Context) (apitypes.OpenRPCDocument, error) Discover(context.Context) (apitypes.OpenRPCDocument, error)
EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error)
FilecoinAddressToEthAddress(ctx context.Context, filecoinAddress address.Address) (ethtypes.EthAddress, error)
EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error)
EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error)
EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error) EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error)

View File

@ -720,6 +720,8 @@ type GatewayMethods struct {
EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) `` EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) ``
EthAddressToFilecoinAddress func(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) ``
EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) `` EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) ``
EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `` EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) ``
@ -790,6 +792,8 @@ type GatewayMethods struct {
EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) `` EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) ``
FilecoinAddressToEthAddress func(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) ``
GasEstimateGasPremium func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) `` GasEstimateGasPremium func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) ``
GasEstimateMessageGas func(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) `` GasEstimateMessageGas func(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) ``
@ -4607,6 +4611,17 @@ func (s *GatewayStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, er
return *new([]ethtypes.EthAddress), ErrNotSupported return *new([]ethtypes.EthAddress), ErrNotSupported
} }
func (s *GatewayStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) {
if s.Internal.EthAddressToFilecoinAddress == nil {
return *new(address.Address), ErrNotSupported
}
return s.Internal.EthAddressToFilecoinAddress(p0, p1)
}
func (s *GatewayStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) {
return *new(address.Address), ErrNotSupported
}
func (s *GatewayStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error) { func (s *GatewayStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error) {
if s.Internal.EthBlockNumber == nil { if s.Internal.EthBlockNumber == nil {
return *new(ethtypes.EthUint64), ErrNotSupported return *new(ethtypes.EthUint64), ErrNotSupported
@ -4992,6 +5007,17 @@ func (s *GatewayStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscrip
return false, ErrNotSupported return false, ErrNotSupported
} }
func (s *GatewayStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) {
if s.Internal.FilecoinAddressToEthAddress == nil {
return *new(ethtypes.EthAddress), ErrNotSupported
}
return s.Internal.FilecoinAddressToEthAddress(p0, p1)
}
func (s *GatewayStub) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) {
return *new(ethtypes.EthAddress), ErrNotSupported
}
func (s *GatewayStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) { func (s *GatewayStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) {
if s.Internal.GasEstimateGasPremium == nil { if s.Internal.GasEstimateGasPremium == nil {
return *new(types.BigInt), ErrNotSupported return *new(types.BigInt), 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#L4412" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4416"
} }
}, },
{ {
@ -473,7 +473,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#L4423" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4427"
} }
}, },
{ {
@ -572,7 +572,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#L4434" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4438"
} }
}, },
{ {
@ -604,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#L4445" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4449"
} }
}, },
{ {
@ -710,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#L4456" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4460"
} }
}, },
{ {
@ -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#L4467" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4471"
} }
}, },
{ {
@ -887,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#L4478" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4482"
} }
}, },
{ {
@ -987,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#L4489" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4493"
} }
}, },
{ {
@ -1043,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#L4500" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4504"
} }
}, },
{ {
@ -1116,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#L4511" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4515"
} }
}, },
{ {
@ -1189,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#L4522" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4526"
} }
}, },
{ {
@ -1236,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#L4533" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4537"
} }
}, },
{ {
@ -1268,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#L4544" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4548"
} }
}, },
{ {
@ -1305,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#L4566" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4570"
} }
}, },
{ {
@ -1352,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#L4577" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4581"
} }
}, },
{ {
@ -1392,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#L4588" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4592"
} }
}, },
{ {
@ -1439,7 +1439,62 @@
"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#L4599" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4603"
}
},
{
"name": "Filecoin.EthAddressToFilecoinAddress",
"description": "```go\nfunc (s *GatewayStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) {\n\tif s.Internal.EthAddressToFilecoinAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.EthAddressToFilecoinAddress(p0, p1)\n}\n```",
"summary": "There are not yet any comments for this method.",
"paramStructure": "by-position",
"params": [
{
"name": "p1",
"description": "ethtypes.EthAddress",
"summary": "",
"schema": {
"examples": [
"0x5cbeecf99d3fdb3f25e309cc264f240bb0664031"
],
"items": [
{
"title": "number",
"description": "Number is a number",
"type": [
"number"
]
}
],
"maxItems": 20,
"minItems": 20,
"type": [
"array"
]
},
"required": true,
"deprecated": false
}
],
"result": {
"name": "address.Address",
"description": "address.Address",
"summary": "",
"schema": {
"examples": [
"f01234"
],
"additionalProperties": false,
"type": [
"object"
]
},
"required": true,
"deprecated": false
},
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4614"
} }
}, },
{ {
@ -1468,7 +1523,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#L4610" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4625"
} }
}, },
{ {
@ -1605,7 +1660,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#L4621" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4636"
} }
}, },
{ {
@ -1634,7 +1689,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#L4632" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4647"
} }
}, },
{ {
@ -1688,7 +1743,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#L4643" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4658"
} }
}, },
{ {
@ -1779,7 +1834,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#L4654" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4669"
} }
}, },
{ {
@ -1807,7 +1862,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#L4665" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4680"
} }
}, },
{ {
@ -1897,7 +1952,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#L4676" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4691"
} }
}, },
{ {
@ -2153,7 +2208,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#L4687" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4702"
} }
}, },
{ {
@ -2398,7 +2453,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#L4698" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4713"
} }
}, },
{ {
@ -2454,7 +2509,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#L4709" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4724"
} }
}, },
{ {
@ -2501,7 +2556,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#L4720" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4735"
} }
}, },
{ {
@ -2599,7 +2654,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#L4731" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4746"
} }
}, },
{ {
@ -2665,7 +2720,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#L4742" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4757"
} }
}, },
{ {
@ -2731,7 +2786,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#L4753" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4768"
} }
}, },
{ {
@ -2840,7 +2895,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#L4764" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4779"
} }
}, },
{ {
@ -2898,7 +2953,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#L4775" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4790"
} }
}, },
{ {
@ -3020,7 +3075,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#L4786" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4801"
} }
}, },
{ {
@ -3207,7 +3262,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#L4797" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4812"
} }
}, },
{ {
@ -3411,7 +3466,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#L4808" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4823"
} }
}, },
{ {
@ -3502,7 +3557,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#L4819" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4834"
} }
}, },
{ {
@ -3560,7 +3615,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#L4830" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4845"
} }
}, },
{ {
@ -3818,7 +3873,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#L4841" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4856"
} }
}, },
{ {
@ -4093,7 +4148,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#L4852" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4867"
} }
}, },
{ {
@ -4121,7 +4176,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#L4863" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4878"
} }
}, },
{ {
@ -4159,7 +4214,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#L4874" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4889"
} }
}, },
{ {
@ -4267,7 +4322,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#L4885" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4900"
} }
}, },
{ {
@ -4305,7 +4360,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#L4896" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4911"
} }
}, },
{ {
@ -4334,7 +4389,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#L4907" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4922"
} }
}, },
{ {
@ -4397,7 +4452,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#L4918" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4933"
} }
}, },
{ {
@ -4460,7 +4515,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#L4929" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4944"
} }
}, },
{ {
@ -4505,7 +4560,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#L4940" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4955"
} }
}, },
{ {
@ -4627,7 +4682,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#L4951" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4966"
} }
}, },
{ {
@ -4782,7 +4837,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#L4962" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4977"
} }
}, },
{ {
@ -4836,7 +4891,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#L4973" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4988"
} }
}, },
{ {
@ -4890,7 +4945,62 @@
"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#L4984" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4999"
}
},
{
"name": "Filecoin.FilecoinAddressToEthAddress",
"description": "```go\nfunc (s *GatewayStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) {\n\tif s.Internal.FilecoinAddressToEthAddress == nil {\n\t\treturn *new(ethtypes.EthAddress), ErrNotSupported\n\t}\n\treturn s.Internal.FilecoinAddressToEthAddress(p0, p1)\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
}
],
"result": {
"name": "ethtypes.EthAddress",
"description": "ethtypes.EthAddress",
"summary": "",
"schema": {
"examples": [
"0x5cbeecf99d3fdb3f25e309cc264f240bb0664031"
],
"items": [
{
"title": "number",
"description": "Number is a number",
"type": [
"number"
]
}
],
"maxItems": 20,
"minItems": 20,
"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#L5010"
} }
}, },
{ {
@ -4992,7 +5102,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#L4995" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5021"
} }
}, },
{ {
@ -5215,7 +5325,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#L5006" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5032"
} }
}, },
{ {
@ -5398,7 +5508,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#L5017" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5043"
} }
}, },
{ {
@ -5592,7 +5702,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#L5028" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5054"
} }
}, },
{ {
@ -5638,7 +5748,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#L5039" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5065"
} }
}, },
{ {
@ -5788,7 +5898,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#L5050" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5076"
} }
}, },
{ {
@ -5925,7 +6035,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#L5061" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5087"
} }
}, },
{ {
@ -5993,7 +6103,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#L5072" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5098"
} }
}, },
{ {
@ -6110,7 +6220,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#L5083" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5109"
} }
}, },
{ {
@ -6201,7 +6311,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#L5094" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5120"
} }
}, },
{ {
@ -6287,7 +6397,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#L5105" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5131"
} }
}, },
{ {
@ -6314,7 +6424,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#L5116" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5142"
} }
}, },
{ {
@ -6341,7 +6451,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#L5127" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5153"
} }
}, },
{ {
@ -6409,7 +6519,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#L5138" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5164"
} }
}, },
{ {
@ -6915,7 +7025,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#L5149" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5175"
} }
}, },
{ {
@ -7012,7 +7122,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#L5160" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5186"
} }
}, },
{ {
@ -7112,7 +7222,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#L5171" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5197"
} }
}, },
{ {
@ -7212,7 +7322,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#L5182" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5208"
} }
}, },
{ {
@ -7337,7 +7447,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#L5193" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5219"
} }
}, },
{ {
@ -7446,7 +7556,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#L5204" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5230"
} }
}, },
{ {
@ -7549,7 +7659,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#L5215" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5241"
} }
}, },
{ {
@ -7679,7 +7789,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#L5226" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5252"
} }
}, },
{ {
@ -7786,7 +7896,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#L5237" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5263"
} }
}, },
{ {
@ -7847,7 +7957,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#L5248" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5274"
} }
}, },
{ {
@ -7915,7 +8025,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#L5259" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5285"
} }
}, },
{ {
@ -7996,7 +8106,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#L5270" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5296"
} }
}, },
{ {
@ -8155,7 +8265,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#L5281" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5307"
} }
}, },
{ {
@ -8248,7 +8358,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#L5292" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5318"
} }
}, },
{ {
@ -8449,7 +8559,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#L5303" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5329"
} }
}, },
{ {
@ -8560,7 +8670,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#L5314" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5340"
} }
}, },
{ {
@ -8691,7 +8801,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#L5325" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5351"
} }
}, },
{ {
@ -8777,7 +8887,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#L5336" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5362"
} }
}, },
{ {
@ -8804,7 +8914,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#L5347" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5373"
} }
}, },
{ {
@ -8857,7 +8967,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#L5358" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5384"
} }
}, },
{ {
@ -8945,7 +9055,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#L5369" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5395"
} }
}, },
{ {
@ -9396,7 +9506,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#L5380" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5406"
} }
}, },
{ {
@ -9563,7 +9673,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#L5391" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5417"
} }
}, },
{ {
@ -9736,7 +9846,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#L5402" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5428"
} }
}, },
{ {
@ -9804,7 +9914,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#L5413" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5439"
} }
}, },
{ {
@ -9872,7 +9982,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#L5424" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5450"
} }
}, },
{ {
@ -10033,7 +10143,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#L5435" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5461"
} }
}, },
{ {
@ -10078,7 +10188,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#L5457" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5483"
} }
}, },
{ {
@ -10123,7 +10233,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#L5468" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5494"
} }
}, },
{ {
@ -10150,7 +10260,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#L5479" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5505"
} }
} }
] ]

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#L7305" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7331"
} }
}, },
{ {
@ -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#L7316" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7342"
} }
}, },
{ {
@ -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#L7327" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7353"
} }
}, },
{ {
@ -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#L7338" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7364"
} }
}, },
{ {
@ -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#L7349" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7375"
} }
}, },
{ {
@ -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#L7360" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7386"
} }
}, },
{ {
@ -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#L7371" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7397"
} }
}, },
{ {
@ -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#L7382" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7408"
} }
}, },
{ {
@ -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#L7393" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7419"
} }
}, },
{ {
@ -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#L7404" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7430"
} }
}, },
{ {
@ -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#L7415" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7441"
} }
}, },
{ {
@ -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#L7426" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7452"
} }
}, },
{ {
@ -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#L7437" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7463"
} }
}, },
{ {
@ -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#L7448" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7474"
} }
}, },
{ {
@ -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#L7459" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7485"
} }
}, },
{ {
@ -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#L7470" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7496"
} }
}, },
{ {
@ -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#L7481" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7507"
} }
}, },
{ {
@ -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#L7492" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7518"
} }
}, },
{ {
@ -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#L7503" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7529"
} }
}, },
{ {
@ -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#L7514" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7540"
} }
}, },
{ {
@ -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#L7525" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7551"
} }
}, },
{ {
@ -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#L7536" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7562"
} }
}, },
{ {
@ -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#L7547" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7573"
} }
}, },
{ {
@ -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#L7558" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7584"
} }
}, },
{ {
@ -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#L7569" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7595"
} }
}, },
{ {
@ -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#L7580" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7606"
} }
}, },
{ {
@ -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#L7591" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7617"
} }
}, },
{ {
@ -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#L7602" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7628"
} }
}, },
{ {
@ -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#L7613" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7639"
} }
}, },
{ {
@ -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#L7624" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7650"
} }
}, },
{ {
@ -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#L7635" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7661"
} }
}, },
{ {
@ -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#L7646" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7672"
} }
}, },
{ {
@ -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#L7657" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7683"
} }
}, },
{ {
@ -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#L7668" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7694"
} }
}, },
{ {
@ -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#L7679" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7705"
} }
}, },
{ {
@ -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#L7690" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7716"
} }
}, },
{ {
@ -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#L7701" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7727"
} }
} }
] ]

View File

@ -11,6 +11,7 @@ import (
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
"golang.org/x/xerrors" "golang.org/x/xerrors"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-jsonrpc" "github.com/filecoin-project/go-jsonrpc"
"github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big" "github.com/filecoin-project/go-state-types/big"
@ -26,6 +27,14 @@ func (gw *Node) EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error)
return []ethtypes.EthAddress{}, nil return []ethtypes.EthAddress{}, nil
} }
func (gw *Node) EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error) {
return gw.target.EthAddressToFilecoinAddress(ctx, ethAddress)
}
func (gw *Node) FilecoinAddressToEthAddress(ctx context.Context, filecoinAddress address.Address) (ethtypes.EthAddress, error) {
return gw.target.FilecoinAddressToEthAddress(ctx, filecoinAddress)
}
func (gw *Node) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) { func (gw *Node) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) {
if err := gw.limit(ctx, chainRateLimitTokens); err != nil { if err := gw.limit(ctx, chainRateLimitTokens); err != nil {
return 0, err return 0, err